public static class Storefront.SellingPlanAllocation extends AbstractResponse<Storefront.SellingPlanAllocation>
optimisticData, responseData| Constructor and Description |
|---|
SellingPlanAllocation() |
SellingPlanAllocation(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.MoneyV2 |
getCheckoutChargeAmount()
The checkout charge amount due for the purchase.
|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.SellingPlanAllocationPriceAdjustment> |
getPriceAdjustments()
A list of price adjustments, with a maximum of two.
|
Storefront.MoneyV2 |
getRemainingBalanceChargeAmount()
The remaining balance charge amount due for the purchase.
|
Storefront.SellingPlan |
getSellingPlan()
A representation of how products and variants can be sold and purchased.
|
Storefront.SellingPlanAllocation |
setCheckoutChargeAmount(Storefront.MoneyV2 arg) |
Storefront.SellingPlanAllocation |
setPriceAdjustments(java.util.List<Storefront.SellingPlanAllocationPriceAdjustment> arg) |
Storefront.SellingPlanAllocation |
setRemainingBalanceChargeAmount(Storefront.MoneyV2 arg) |
Storefront.SellingPlanAllocation |
setSellingPlan(Storefront.SellingPlan arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SellingPlanAllocation()
public SellingPlanAllocation(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MoneyV2 getCheckoutChargeAmount()
public Storefront.SellingPlanAllocation setCheckoutChargeAmount(Storefront.MoneyV2 arg)
public java.util.List<Storefront.SellingPlanAllocationPriceAdjustment> getPriceAdjustments()
public Storefront.SellingPlanAllocation setPriceAdjustments(java.util.List<Storefront.SellingPlanAllocationPriceAdjustment> arg)
public Storefront.MoneyV2 getRemainingBalanceChargeAmount()
public Storefront.SellingPlanAllocation setRemainingBalanceChargeAmount(Storefront.MoneyV2 arg)
public Storefront.SellingPlan getSellingPlan()
public Storefront.SellingPlanAllocation setSellingPlan(Storefront.SellingPlan arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SellingPlanAllocation>