public static class Storefront.CartLineEstimatedCost extends AbstractResponse<Storefront.CartLineEstimatedCost>
optimisticData, responseData| Constructor and Description |
|---|
CartLineEstimatedCost() |
CartLineEstimatedCost(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.MoneyV2 |
getAmount()
The amount of the merchandise line.
|
Storefront.MoneyV2 |
getCompareAtAmount()
The compare at amount of the merchandise line.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.MoneyV2 |
getSubtotalAmount()
The estimated cost of the merchandise line before discounts.
|
Storefront.MoneyV2 |
getTotalAmount()
The estimated total cost of the merchandise line.
|
Storefront.CartLineEstimatedCost |
setAmount(Storefront.MoneyV2 arg) |
Storefront.CartLineEstimatedCost |
setCompareAtAmount(Storefront.MoneyV2 arg) |
Storefront.CartLineEstimatedCost |
setSubtotalAmount(Storefront.MoneyV2 arg) |
Storefront.CartLineEstimatedCost |
setTotalAmount(Storefront.MoneyV2 arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CartLineEstimatedCost()
public CartLineEstimatedCost(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MoneyV2 getAmount()
public Storefront.CartLineEstimatedCost setAmount(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getCompareAtAmount()
public Storefront.CartLineEstimatedCost setCompareAtAmount(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getSubtotalAmount()
public Storefront.CartLineEstimatedCost setSubtotalAmount(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getTotalAmount()
public Storefront.CartLineEstimatedCost setTotalAmount(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CartLineEstimatedCost>