Builder to create a ShippingAddressRequirements.
| ShippingAddressRequirements.Builder |
addAllowedCountryCode(String
allowedCountryCode)
Adds a country code of the country to which shipping is allowed in this
transaction.
|
| ShippingAddressRequirements.Builder |
addAllowedCountryCodes(Collection<String>
allowedCountryCodes)
Adds a collection of country codes of the countries to which shipping is
allowed in this transaction.
|
| ShippingAddressRequirements |
build()
Returns the actual
ShippingAddressRequirements created using the data passed to the
Builder object.
|
Adds a country code of the country to which shipping is allowed in this transaction.
If not specified here nor via
addAllowedCountryCodes(Collection), all countries are considered to be
allowed.
| allowedCountryCode | an ISO 3166-1 alpha-2 formatted country code (e.g., "US", "CA", "JP"). |
|---|
Adds a collection of country codes of the countries to which shipping is allowed in
this transaction. If not specified here nor via
addAllowedCountryCode(String), all countries are considered to be
allowed.
| allowedCountryCodes | a collection of ISO 3166-1 alpha-2 formatted country code (e.g., "US", "CA", "JP"). |
|---|
Returns the actual ShippingAddressRequirements
created using the data passed to the Builder object.