ShopPayHandlers
class ShopPayHandlers(val shippingMethodUpdateHandler: ShopPayHandlers.ShippingMethodHandler, val shippingContactHandler: ShopPayHandlers.ShippingContactHandler)
Handler blocks for Shop Pay.
Constructors
Link copied to clipboard
constructor(shippingMethodUpdateHandler: ShopPayHandlers.ShippingMethodHandler, shippingContactHandler: ShopPayHandlers.ShippingContactHandler)
Types
Link copied to clipboard
class SelectedAddress(val city: String, val state: String, val postalCode: String, val country: String) : Parcelable
Describes the address selected by the customer.
Link copied to clipboard
class SelectedShippingRate(val shippingRate: PaymentSheet.ShopPayConfiguration.ShippingRate) : Parcelable
The shipping rate selected by the customer.
Link copied to clipboard
This handler is called when the user selects a new shipping address.
Link copied to clipboard
class ShippingContactUpdate(val lineItems: List<PaymentSheet.ShopPayConfiguration.LineItem>, val shippingRates: List<PaymentSheet.ShopPayConfiguration.ShippingRate>) : Parcelable
Describes shipping contact updates Shop Pay should make within its UI
Link copied to clipboard
This handler is called when the user selects a new shipping option.
Link copied to clipboard
class ShippingRateUpdate(val lineItems: List<PaymentSheet.ShopPayConfiguration.LineItem>, val shippingRates: List<PaymentSheet.ShopPayConfiguration.ShippingRate>) : Parcelable
Describes shipping rate updates Shop Pay should within its UI