Use an object based on PaymentOptions
to specify how to configure the payment sheet that appears to the customer.
PaymentOptions
provides data for a PaymentRequest.
Property | Type | Description | Required |
---|---|---|---|
| boolean | Indicates whether to request an email address from the customer. | Yes |
| boolean | Indicates whether to request a phone number from the customer. | Yes |
| boolean | Indicates whether to request a shipping address from the customer. | Yes |
| boolean | Indicates whether to request the billing address from the customer. | Yes |
| boolean | Indicates whether to request the pickup name from the customer. | No |
| boolean | Indicates whether to request the pickup email from the customer. | No |
| boolean | Indicates whether to request the pickup phone from the customer. | No |
| boolean | Indicates whether to allow the customer to enter offer codes. | Yes |
| Indicates whether the customer wants to pay or continue shopping. The default is | No | |
[deprecated]
| The fulfillment method for the order. The default is NOTE: This field is now deprecated. Please use | No | |
| The fulfillment method for the order. The default is | No | |
| The amount of information required for the billing address. The default is | No |