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.

Constructors

Link copied to clipboard
constructor(allowedCountryCodes: List<String?>? = null, isPhoneNumberRequired: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)