public class CustomerAddress extends AbstractResponse<CustomerAddress>
optimisticData, responseData| Constructor and Description |
|---|
CustomerAddress() |
CustomerAddress(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
The city or town
|
String |
getCompany()
The customer's company
|
CountryCodeEnum |
getCountryCode()
The customer's country
|
String |
getCountryId()
Deprecated.
Use `country_code` instead.
|
List<CustomerAddressAttribute> |
getCustomAttributes()
Deprecated.
Custom attributes should not be put into container
|
Integer |
getCustomerId()
Deprecated.
customer_id is not needed as part of CustomerAddress, address ID (id) is unique identifier for the addresses.
|
Boolean |
getDefaultBilling()
Indicates whether the address is the default billing address
|
Boolean |
getDefaultShipping()
Indicates whether the address is the default shipping address
|
List<CustomerAddressAttribute> |
getExtensionAttributes()
Address extension attributes
|
String |
getFax()
The fax number
|
String |
getFirstname()
The first name of the person associated with the shipping/billing address
|
String |
getGraphQlTypeName() |
Integer |
getId()
The ID assigned to the address object
|
String |
getLastname()
The family name of the person associated with the shipping/billing address
|
String |
getMiddlename()
The middle name of the person associated with the shipping/billing address
|
String |
getPostcode()
The customer's ZIP or postal code
|
String |
getPrefix()
An honorific, such as Dr., Mr., or Mrs.
|
CustomerAddressRegion |
getRegion()
An object containing the region name, region code, and region ID
|
Integer |
getRegionId()
The unique ID for a pre-defined region
|
List<String> |
getStreet()
An array of strings that define the street number and name
|
String |
getSuffix()
A value such as Sr., Jr., or III
|
String |
getTelephone()
The telephone number
|
String |
getVatId()
The customer's Value-added tax (VAT) number (for corporate customers)
|
CustomerAddress |
setCity(String arg) |
CustomerAddress |
setCompany(String arg) |
CustomerAddress |
setCountryCode(CountryCodeEnum arg) |
CustomerAddress |
setCountryId(String arg) |
CustomerAddress |
setCustomAttributes(List<CustomerAddressAttribute> arg) |
CustomerAddress |
setCustomerId(Integer arg) |
CustomerAddress |
setDefaultBilling(Boolean arg) |
CustomerAddress |
setDefaultShipping(Boolean arg) |
CustomerAddress |
setExtensionAttributes(List<CustomerAddressAttribute> arg) |
CustomerAddress |
setFax(String arg) |
CustomerAddress |
setFirstname(String arg) |
CustomerAddress |
setId(Integer arg) |
CustomerAddress |
setLastname(String arg) |
CustomerAddress |
setMiddlename(String arg) |
CustomerAddress |
setPostcode(String arg) |
CustomerAddress |
setPrefix(String arg) |
CustomerAddress |
setRegion(CustomerAddressRegion arg) |
CustomerAddress |
setRegionId(Integer arg) |
CustomerAddress |
setStreet(List<String> arg) |
CustomerAddress |
setSuffix(String arg) |
CustomerAddress |
setTelephone(String arg) |
CustomerAddress |
setVatId(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CustomerAddress()
public CustomerAddress(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getCity()
public CustomerAddress setCity(String arg)
public String getCompany()
public CustomerAddress setCompany(String arg)
public CountryCodeEnum getCountryCode()
public CustomerAddress setCountryCode(CountryCodeEnum arg)
@Deprecated public String getCountryId()
public CustomerAddress setCountryId(String arg)
@Deprecated public List<CustomerAddressAttribute> getCustomAttributes()
public CustomerAddress setCustomAttributes(List<CustomerAddressAttribute> arg)
@Deprecated public Integer getCustomerId()
public CustomerAddress setCustomerId(Integer arg)
public Boolean getDefaultBilling()
public CustomerAddress setDefaultBilling(Boolean arg)
public Boolean getDefaultShipping()
public CustomerAddress setDefaultShipping(Boolean arg)
public List<CustomerAddressAttribute> getExtensionAttributes()
public CustomerAddress setExtensionAttributes(List<CustomerAddressAttribute> arg)
public String getFax()
public CustomerAddress setFax(String arg)
public String getFirstname()
public CustomerAddress setFirstname(String arg)
public Integer getId()
public CustomerAddress setId(Integer arg)
public String getLastname()
public CustomerAddress setLastname(String arg)
public String getMiddlename()
public CustomerAddress setMiddlename(String arg)
public String getPostcode()
public CustomerAddress setPostcode(String arg)
public String getPrefix()
public CustomerAddress setPrefix(String arg)
public CustomerAddressRegion getRegion()
public CustomerAddress setRegion(CustomerAddressRegion arg)
public Integer getRegionId()
public CustomerAddress setRegionId(Integer arg)
public List<String> getStreet()
public CustomerAddress setStreet(List<String> arg)
public String getSuffix()
public CustomerAddress setSuffix(String arg)
public String getTelephone()
public CustomerAddress setTelephone(String arg)
public String getVatId()
public CustomerAddress setVatId(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CustomerAddress>Copyright © 2022 Adobe. All rights reserved.