public static class Storefront.CustomerAddressUpdatePayload extends AbstractResponse<Storefront.CustomerAddressUpdatePayload>
optimisticData, responseData| Constructor and Description |
|---|
CustomerAddressUpdatePayload() |
CustomerAddressUpdatePayload(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.MailingAddress |
getCustomerAddress()
The customer’s updated mailing address.
|
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.CustomerAddressUpdatePayload |
setCustomerAddress(Storefront.MailingAddress arg) |
Storefront.CustomerAddressUpdatePayload |
setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg) |
Storefront.CustomerAddressUpdatePayload |
setUserErrors(java.util.List<Storefront.UserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CustomerAddressUpdatePayload()
public CustomerAddressUpdatePayload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MailingAddress getCustomerAddress()
public Storefront.CustomerAddressUpdatePayload setCustomerAddress(Storefront.MailingAddress arg)
public java.util.List<Storefront.CustomerUserError> getCustomerUserErrors()
public Storefront.CustomerAddressUpdatePayload setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg)
public java.util.List<Storefront.UserError> getUserErrors()
public Storefront.CustomerAddressUpdatePayload setUserErrors(java.util.List<Storefront.UserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CustomerAddressUpdatePayload>