public class CustomerAddressQuery extends AbstractQuery<CustomerAddressQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
CustomerAddressQuery |
addFragmentReference(Fragment<CustomerAddressQuery> fragment)
Adds a
CustomerAddressQuery fragment reference at the current position of the query. |
CustomerAddressQuery |
city()
The city or town
|
CustomerAddressQuery |
company()
The customer's company
|
CustomerAddressQuery |
countryCode()
The customer's country
|
CustomerAddressQuery |
countryId()
Deprecated.
Use `country_code` instead.
|
static Fragment<CustomerAddressQuery> |
createFragment(String name,
CustomerAddressQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
CustomerAddressQuery |
customAttributes(CustomerAddressAttributeQueryDefinition queryDef)
Deprecated.
Custom attributes should not be put into container
|
CustomerAddressQuery |
customerId()
Deprecated.
customer_id is not needed as part of CustomerAddress, address ID (id) is unique identifier for the addresses.
|
CustomerAddressQuery |
defaultBilling()
Indicates whether the address is the default billing address
|
CustomerAddressQuery |
defaultShipping()
Indicates whether the address is the default shipping address
|
CustomerAddressQuery |
extensionAttributes(CustomerAddressAttributeQueryDefinition queryDef)
Address extension attributes
|
CustomerAddressQuery |
fax()
The fax number
|
CustomerAddressQuery |
firstname()
The first name of the person associated with the shipping/billing address
|
CustomerAddressQuery |
id()
The ID assigned to the address object
|
CustomerAddressQuery |
lastname()
The family name of the person associated with the shipping/billing address
|
CustomerAddressQuery |
middlename()
The middle name of the person associated with the shipping/billing address
|
CustomerAddressQuery |
postcode()
The customer's ZIP or postal code
|
CustomerAddressQuery |
prefix()
An honorific, such as Dr., Mr., or Mrs.
|
CustomerAddressQuery |
region(CustomerAddressRegionQueryDefinition queryDef)
An object containing the region name, region code, and region ID
|
CustomerAddressQuery |
regionId()
The unique ID for a pre-defined region
|
CustomerAddressQuery |
street()
An array of strings that define the street number and name
|
CustomerAddressQuery |
suffix()
A value such as Sr., Jr., or III
|
CustomerAddressQuery |
telephone()
The telephone number
|
CustomerAddressQuery |
vatId()
The customer's Value-added tax (VAT) number (for corporate customers)
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic CustomerAddressQuery city()
public CustomerAddressQuery company()
public CustomerAddressQuery countryCode()
@Deprecated public CustomerAddressQuery countryId()
@Deprecated public CustomerAddressQuery customAttributes(CustomerAddressAttributeQueryDefinition queryDef)
@Deprecated public CustomerAddressQuery customerId()
public CustomerAddressQuery defaultBilling()
public CustomerAddressQuery defaultShipping()
public CustomerAddressQuery extensionAttributes(CustomerAddressAttributeQueryDefinition queryDef)
public CustomerAddressQuery fax()
public CustomerAddressQuery firstname()
public CustomerAddressQuery id()
public CustomerAddressQuery lastname()
public CustomerAddressQuery middlename()
public CustomerAddressQuery postcode()
public CustomerAddressQuery prefix()
public CustomerAddressQuery region(CustomerAddressRegionQueryDefinition queryDef)
public CustomerAddressQuery regionId()
public CustomerAddressQuery street()
public CustomerAddressQuery suffix()
public CustomerAddressQuery telephone()
public CustomerAddressQuery vatId()
public static Fragment<CustomerAddressQuery> createFragment(String name, CustomerAddressQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public CustomerAddressQuery addFragmentReference(Fragment<CustomerAddressQuery> fragment)
CustomerAddressQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.