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