ShopPayConfiguration
constructor(shopId: String, billingAddressRequired: Boolean = true, emailRequired: Boolean = true, shippingAddressRequired: Boolean, allowedShippingCountries: List<String>, lineItems: List<PaymentSheet.ShopPayConfiguration.LineItem>, shippingRates: List<PaymentSheet.ShopPayConfiguration.ShippingRate>)
Parameters
shopId
The corresponding store's shopId.
billingAddressRequired
Whether or not billing address is required. Defaults to true.
emailRequired
Whether or not email is required. Defaults to true.
shippingAddressRequired
Whether or not to collect the customer's shipping address.
shippingRates
A list of ShippingRate objects. The first shipping rate listed appears in the payment interface as the default option.