public static class ShippingAddress.Builder extends Object
Constructor and Description |
---|
Builder() |
public ShippingAddress.Builder addressee(String addressee)
Addressee in shipping address.
addressee
- the value to setpublic ShippingAddress.Builder careOf(String careOf)
CareOf for shipping address.
careOf
- the value to setpublic ShippingAddress.Builder address1(String address1)
Address line 1.
address1
- the value to setpublic ShippingAddress.Builder address2(String address2)
Address line 2.
address2
- the value to setpublic ShippingAddress.Builder address3(String address3)
Address line 3.
address3
- the value to setpublic ShippingAddress.Builder address4(String address4)
Address line 4.
address4
- the value to setpublic ShippingAddress.Builder cityOrLocality(String cityOrLocality)
city or locality for shipping address.
cityOrLocality
- the value to setpublic ShippingAddress.Builder stateOrRegion(String stateOrRegion)
state or region for shipping address.
stateOrRegion
- the value to setpublic ShippingAddress.Builder zipcode(String zipcode)
zipcode for shipping address.
zipcode
- the value to setpublic ShippingAddress.Builder country(String country)
country for shipping address.
country
- the value to setpublic ShippingAddress.Builder phoneNumber(String phoneNumber)
recipient phone number.
phoneNumber
- the value to setpublic ShippingAddress.Builder email(String email)
recipient email address.
email
- the value to setpublic ShippingAddress build()
public ShippingAddress.Builder copy(ShippingAddress model)
Copyright © 2016–2024. All rights reserved.