public static class BillToAddress.Builder extends Object
Constructor and Description |
---|
Builder() |
public BillToAddress.Builder contactName(String contactName)
Name of the contact person
contactName
- the value to setpublic BillToAddress.Builder companyName(String companyName)
Name of the customer company
companyName
- the value to setpublic BillToAddress.Builder addressLine1(String addressLine1)
Address line 1
addressLine1
- the value to setpublic BillToAddress.Builder addressLine2(String addressLine2)
Address line 2
addressLine2
- the value to setpublic BillToAddress.Builder addressLine3(String addressLine3)
Address line 3
addressLine3
- the value to setpublic BillToAddress.Builder addressLine4(String addressLine4)
Address line 4
addressLine4
- the value to setpublic BillToAddress.Builder streetName(String streetName)
Street name
streetName
- the value to setpublic BillToAddress.Builder streetNumber(String streetNumber)
House no
streetNumber
- the value to setpublic BillToAddress.Builder city(String city)
Name of the city
city
- the value to setpublic BillToAddress.Builder country(Country country)
public BillToAddress.Builder county(String county)
County name
county
- the value to setpublic BillToAddress.Builder state(String state)
Name of the state
state
- the value to setpublic BillToAddress.Builder postalCode(String postalCode)
ZIP no
postalCode
- the value to setpublic BillToAddress.Builder province(String province)
Name of the province
province
- the value to setpublic BillToAddress build()
public BillToAddress.Builder copy(BillToAddress model)
Copyright © 2016–2024. All rights reserved.