public static class Storefront.SubmitAlreadyAccepted extends AbstractResponse<Storefront.SubmitAlreadyAccepted> implements Storefront.CartSubmitForCompletionResult
optimisticData, responseData| Constructor and Description |
|---|
SubmitAlreadyAccepted() |
SubmitAlreadyAccepted(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttemptId()
The ID of the cart completion attempt that will be used for polling for the result.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.SubmitAlreadyAccepted |
setAttemptId(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SubmitAlreadyAccepted()
public SubmitAlreadyAccepted(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.CartSubmitForCompletionResultpublic java.lang.String getAttemptId()
public Storefront.SubmitAlreadyAccepted setAttemptId(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SubmitAlreadyAccepted>