public static class AddressRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddressRule.Builder |
address(AddressTypeRule address) |
AddressRule |
build() |
AddressRule.Builder |
contact(ContactTypeRule contact) |
AddressRule.Builder |
copy(AddressRule model) |
AddressRule.Builder |
countryCode(String countryCode)
Country code for the address rule in ISO-3166-1 2-letter format
|
AddressRule.Builder |
tax(TaxTypeRule tax) |
public AddressRule.Builder countryCode(String countryCode)
Country code for the address rule in ISO-3166-1 2-letter format
countryCode
- the value to setpublic AddressRule.Builder address(AddressTypeRule address)
public AddressRule.Builder contact(ContactTypeRule contact)
public AddressRule.Builder tax(TaxTypeRule tax)
public AddressRule build()
public AddressRule.Builder copy(AddressRule model)
Copyright © 2016–2024. All rights reserved.