public static class Storefront.CustomerResetPayload extends AbstractResponse<Storefront.CustomerResetPayload>
optimisticData, responseData| Constructor and Description |
|---|
CustomerResetPayload() |
CustomerResetPayload(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.Customer |
getCustomer()
The customer object which was reset.
|
Storefront.CustomerAccessToken |
getCustomerAccessToken()
A newly created customer access token object for the customer.
|
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.CustomerResetPayload |
setCustomer(Storefront.Customer arg) |
Storefront.CustomerResetPayload |
setCustomerAccessToken(Storefront.CustomerAccessToken arg) |
Storefront.CustomerResetPayload |
setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg) |
Storefront.CustomerResetPayload |
setUserErrors(java.util.List<Storefront.UserError> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CustomerResetPayload()
public CustomerResetPayload(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.Customer getCustomer()
public Storefront.CustomerResetPayload setCustomer(Storefront.Customer arg)
public Storefront.CustomerAccessToken getCustomerAccessToken()
public Storefront.CustomerResetPayload setCustomerAccessToken(Storefront.CustomerAccessToken arg)
public java.util.List<Storefront.CustomerUserError> getCustomerUserErrors()
public Storefront.CustomerResetPayload setCustomerUserErrors(java.util.List<Storefront.CustomerUserError> arg)
public java.util.List<Storefront.UserError> getUserErrors()
public Storefront.CustomerResetPayload setUserErrors(java.util.List<Storefront.UserError> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CustomerResetPayload>