public static class Storefront.MailingAddressQuery extends Query<Storefront.MailingAddressQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.MailingAddressQuery.FormattedArguments |
static interface |
Storefront.MailingAddressQuery.FormattedArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.MailingAddressQuery |
address1()
The first line of the address.
|
Storefront.MailingAddressQuery |
address2()
The second line of the address.
|
Storefront.MailingAddressQuery |
city()
The name of the city, district, village, or town.
|
Storefront.MailingAddressQuery |
company()
The name of the customer's company or organization.
|
Storefront.MailingAddressQuery |
country()
The name of the country.
|
Storefront.MailingAddressQuery |
countryCode()
Deprecated.
Use `countryCodeV2` instead.
|
Storefront.MailingAddressQuery |
countryCodeV2()
The two-letter code for the country of the address.
|
Storefront.MailingAddressQuery |
firstName()
The first name of the customer.
|
Storefront.MailingAddressQuery |
formatted()
A formatted version of the address, customized by the provided arguments.
|
Storefront.MailingAddressQuery |
formatted(Storefront.MailingAddressQuery.FormattedArgumentsDefinition argsDef)
A formatted version of the address, customized by the provided arguments.
|
Storefront.MailingAddressQuery |
formattedArea()
A comma-separated list of the values for city, province, and country.
|
Storefront.MailingAddressQuery |
lastName()
The last name of the customer.
|
Storefront.MailingAddressQuery |
latitude()
The latitude coordinate of the customer address.
|
Storefront.MailingAddressQuery |
longitude()
The longitude coordinate of the customer address.
|
Storefront.MailingAddressQuery |
name()
The full name of the customer, based on firstName and lastName.
|
Storefront.MailingAddressQuery |
phone()
A unique phone number for the customer.
|
Storefront.MailingAddressQuery |
province()
The region of the address, such as the province, state, or district.
|
Storefront.MailingAddressQuery |
provinceCode()
The alphanumeric code for the region.
|
Storefront.MailingAddressQuery |
zip()
The zip or postal code of the address.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.MailingAddressQuery address1()
public Storefront.MailingAddressQuery address2()
public Storefront.MailingAddressQuery city()
public Storefront.MailingAddressQuery company()
public Storefront.MailingAddressQuery country()
@Deprecated public Storefront.MailingAddressQuery countryCode()
public Storefront.MailingAddressQuery countryCodeV2()
public Storefront.MailingAddressQuery firstName()
public Storefront.MailingAddressQuery formatted()
public Storefront.MailingAddressQuery formatted(Storefront.MailingAddressQuery.FormattedArgumentsDefinition argsDef)
public Storefront.MailingAddressQuery formattedArea()
public Storefront.MailingAddressQuery lastName()
public Storefront.MailingAddressQuery latitude()
public Storefront.MailingAddressQuery longitude()
public Storefront.MailingAddressQuery name()
public Storefront.MailingAddressQuery phone()
public Storefront.MailingAddressQuery province()
public Storefront.MailingAddressQuery provinceCode()
public Storefront.MailingAddressQuery zip()