PaymentHandlerResponse Class

The response of a payment handler (https://w3c.github.io/web-based-payment-handler/#paymenthandlerresponse-dictionary).

public sealed class PaymentHandlerResponse

Constructors

NameDescription
PaymentHandlerResponse()

PaymentHandlerResponse()

public PaymentHandlerResponse()

No documentation is available.

Properties

NameDescription
DetailsGets the response of the payment method, an object serialized to JSON for the merchant.
MethodNameGets the payment method used by the payment handler.
PayerEmailGets the email address of the payer.
PayerNameGets the name of the payer.
PayerPhoneGets the phone number of the payer.
ShippingAddressGets the shipping address.
ShippingOptionGets the identifier of the selected shipping option.

Gets the response of the payment method, an object serialized to JSON for the merchant.

public object? Details { get; init; }

Gets the payment method used by the payment handler.

public string? MethodName { get; init; }

Gets the email address of the payer.

public string? PayerEmail { get; init; }

Gets the name of the payer.

public string? PayerName { get; init; }

Gets the phone number of the payer.

public string? PayerPhone { get; init; }

ShippingAddress

PaymentHandler.cs

Gets the shipping address.

public AddressInit? ShippingAddress { get; init; }

ShippingOption

PaymentHandler.cs

Gets the identifier of the selected shipping option.

public string? ShippingOption { get; init; }