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

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

Describes shipping contact updates Shop Pay should make within its UI

Link copied to clipboard
fun interface ShippingMethodHandler

This handler is called when the user selects a new shipping option.

Link copied to clipboard

Describes shipping rate updates Shop Pay should within its UI