public static class Storefront.CustomerAddressCreatePayload extends AbstractResponse<Storefront.CustomerAddressCreatePayload>
optimisticData, responseData| Constructor and Description |
|---|
CustomerAddressCreatePayload() |
CustomerAddressCreatePayload(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.MailingAddress |
getCustomerAddress()
The new customer address object.
|
java.util.List<Storefront.CustomerUserError> |
getCustomerUserErrors()
The list of errors that occurred from executing the mutation.
|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.UserError> |
getUserErrors()
Deprecated.
Use `customerUserErrors` instead.
|
Storefront.CustomerAddressCreatePayload |
setCustomerAddress(Storefront.MailingAddress arg) |
Storefront.CustomerAddressCreatePayload |
setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg) |
Storefront.CustomerAddressCreatePayload |
setUserErrors(java.util.List<Storefront.UserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CustomerAddressCreatePayload()
public CustomerAddressCreatePayload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MailingAddress getCustomerAddress()
public Storefront.CustomerAddressCreatePayload setCustomerAddress(Storefront.MailingAddress arg)
public java.util.List<Storefront.CustomerUserError> getCustomerUserErrors()
public Storefront.CustomerAddressCreatePayload setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg)
public java.util.List<Storefront.UserError> getUserErrors()
public Storefront.CustomerAddressCreatePayload setUserErrors(java.util.List<Storefront.UserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CustomerAddressCreatePayload>