public class OrderAddressQuery extends AbstractQuery<OrderAddressQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
OrderAddressQuery |
addFragmentReference(Fragment<OrderAddressQuery> fragment)
Adds a
OrderAddressQuery fragment reference at the current position of the query. |
OrderAddressQuery |
city()
The city or town
|
OrderAddressQuery |
company()
The customer's company
|
OrderAddressQuery |
countryCode()
The customer's country
|
static Fragment<OrderAddressQuery> |
createFragment(String name,
OrderAddressQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
OrderAddressQuery |
fax()
The fax number
|
OrderAddressQuery |
firstname()
The first name of the person associated with the shipping/billing address
|
OrderAddressQuery |
lastname()
The family name of the person associated with the shipping/billing address
|
OrderAddressQuery |
middlename()
The middle name of the person associated with the shipping/billing address
|
OrderAddressQuery |
postcode()
The customer's order ZIP or postal code
|
OrderAddressQuery |
prefix()
An honorific, such as Dr., Mr., or Mrs.
|
OrderAddressQuery |
region()
The state or province name
|
OrderAddressQuery |
regionId()
The unique ID for a `Region` object of a pre-defined region
|
OrderAddressQuery |
street()
An array of strings that define the street number and name
|
OrderAddressQuery |
suffix()
A value such as Sr., Jr., or III
|
OrderAddressQuery |
telephone()
The telephone number
|
OrderAddressQuery |
vatId()
The customer's Value-added tax (VAT) number (for corporate customers)
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic OrderAddressQuery city()
public OrderAddressQuery company()
public OrderAddressQuery countryCode()
public OrderAddressQuery fax()
public OrderAddressQuery firstname()
public OrderAddressQuery lastname()
public OrderAddressQuery middlename()
public OrderAddressQuery postcode()
public OrderAddressQuery prefix()
public OrderAddressQuery region()
public OrderAddressQuery regionId()
public OrderAddressQuery street()
public OrderAddressQuery suffix()
public OrderAddressQuery telephone()
public OrderAddressQuery vatId()
public static Fragment<OrderAddressQuery> createFragment(String name, OrderAddressQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public OrderAddressQuery addFragmentReference(Fragment<OrderAddressQuery> fragment)
OrderAddressQuery 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.