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