ShippingAddressParameters
data class ShippingAddressParameters(var allowedCountryCodes: List<String?>? = null, var isPhoneNumberRequired: Boolean = false) : ModelObject
Pass this object to GooglePayConfiguration.shippingAddressParameters to the required shipping address details. This object is a mapping of the ShippingAddressParameters object from the Google Pay SDK.
Parameters
allowedCountryCodes
A list of ISO 3166-1 alpha-2 country code values where shipping is allowed.
isPhoneNumberRequired
Set to true if a phone number is required for the shipping address.