PaymentHandlerResponse Class
The response of a payment handler (https://w3c.github.io/web-based-payment-handler/#paymenthandlerresponse-dictionary).
public sealed class PaymentHandlerResponseConstructors
| Name | Description |
|---|---|
| PaymentHandlerResponse() |
PaymentHandlerResponse()
public PaymentHandlerResponse()No documentation is available.
Properties
| Name | Description |
|---|---|
| Details | Gets the response of the payment method, an object serialized to JSON for the merchant. |
| MethodName | Gets the payment method used by the payment handler. |
| PayerEmail | Gets the email address of the payer. |
| PayerName | Gets the name of the payer. |
| PayerPhone | Gets the phone number of the payer. |
| ShippingAddress | Gets the shipping address. |
| ShippingOption | Gets the identifier of the selected shipping option. |
Details
PaymentHandler.csGets the response of the payment method, an object serialized to JSON for the merchant.
public object? Details { get; init; }MethodName
PaymentHandler.csGets the payment method used by the payment handler.
public string? MethodName { get; init; }PayerEmail
PaymentHandler.csGets the email address of the payer.
public string? PayerEmail { get; init; }PayerName
PaymentHandler.csGets the name of the payer.
public string? PayerName { get; init; }PayerPhone
PaymentHandler.csGets the phone number of the payer.
public string? PayerPhone { get; init; }ShippingAddress
PaymentHandler.csGets the shipping address.
public AddressInit? ShippingAddress { get; init; }ShippingOption
PaymentHandler.csGets the identifier of the selected shipping option.
public string? ShippingOption { get; init; }