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