public static class Storefront.CartCost extends AbstractResponse<Storefront.CartCost>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
Storefront.MoneyV2 |
getCheckoutChargeAmount()
The estimated amount, before taxes and discounts, for the customer to pay at checkout.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.MoneyV2 |
getSubtotalAmount()
The amount, before taxes and cart-level discounts, for the customer to pay.
|
java.lang.Boolean |
getSubtotalAmountEstimated()
Whether the subtotal amount is estimated.
|
Storefront.MoneyV2 |
getTotalAmount()
The total amount for the customer to pay.
|
java.lang.Boolean |
getTotalAmountEstimated()
Whether the total amount is estimated.
|
Storefront.MoneyV2 |
getTotalDutyAmount()
The duty amount for the customer to pay at checkout.
|
java.lang.Boolean |
getTotalDutyAmountEstimated()
Whether the total duty amount is estimated.
|
Storefront.MoneyV2 |
getTotalTaxAmount()
The tax amount for the customer to pay at checkout.
|
java.lang.Boolean |
getTotalTaxAmountEstimated()
Whether the total tax amount is estimated.
|
Storefront.CartCost |
setCheckoutChargeAmount(Storefront.MoneyV2 arg) |
Storefront.CartCost |
setSubtotalAmount(Storefront.MoneyV2 arg) |
Storefront.CartCost |
setSubtotalAmountEstimated(java.lang.Boolean arg) |
Storefront.CartCost |
setTotalAmount(Storefront.MoneyV2 arg) |
Storefront.CartCost |
setTotalAmountEstimated(java.lang.Boolean arg) |
Storefront.CartCost |
setTotalDutyAmount(Storefront.MoneyV2 arg) |
Storefront.CartCost |
setTotalDutyAmountEstimated(java.lang.Boolean arg) |
Storefront.CartCost |
setTotalTaxAmount(Storefront.MoneyV2 arg) |
Storefront.CartCost |
setTotalTaxAmountEstimated(java.lang.Boolean arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic CartCost()
public CartCost(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MoneyV2 getCheckoutChargeAmount()
public Storefront.CartCost setCheckoutChargeAmount(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getSubtotalAmount()
public Storefront.CartCost setSubtotalAmount(Storefront.MoneyV2 arg)
public java.lang.Boolean getSubtotalAmountEstimated()
public Storefront.CartCost setSubtotalAmountEstimated(java.lang.Boolean arg)
public Storefront.MoneyV2 getTotalAmount()
public Storefront.CartCost setTotalAmount(Storefront.MoneyV2 arg)
public java.lang.Boolean getTotalAmountEstimated()
public Storefront.CartCost setTotalAmountEstimated(java.lang.Boolean arg)
public Storefront.MoneyV2 getTotalDutyAmount()
public Storefront.CartCost setTotalDutyAmount(Storefront.MoneyV2 arg)
public java.lang.Boolean getTotalDutyAmountEstimated()
public Storefront.CartCost setTotalDutyAmountEstimated(java.lang.Boolean arg)
public Storefront.MoneyV2 getTotalTaxAmount()
public Storefront.CartCost setTotalTaxAmount(Storefront.MoneyV2 arg)
public java.lang.Boolean getTotalTaxAmountEstimated()
public Storefront.CartCost setTotalTaxAmountEstimated(java.lang.Boolean arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.CartCost>