public static class Storefront.SellingPlan extends AbstractResponse<Storefront.SellingPlan>
optimisticData, responseData| Constructor and Description |
|---|
SellingPlan() |
SellingPlan(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.SellingPlanCheckoutCharge |
getCheckoutCharge()
The initial payment due for the purchase.
|
java.lang.String |
getDescription()
The description of the selling plan.
|
java.lang.String |
getGraphQlTypeName() |
ID |
getId()
A globally-unique identifier.
|
java.lang.String |
getName()
The name of the selling plan.
|
java.util.List<Storefront.SellingPlanOption> |
getOptions()
The selling plan options available in the drop-down list in the storefront.
|
java.util.List<Storefront.SellingPlanPriceAdjustment> |
getPriceAdjustments()
The price adjustments that a selling plan makes when a variant is purchased with a selling plan.
|
java.lang.Boolean |
getRecurringDeliveries()
Whether purchasing the selling plan will result in multiple deliveries.
|
Storefront.SellingPlan |
setCheckoutCharge(Storefront.SellingPlanCheckoutCharge arg) |
Storefront.SellingPlan |
setDescription(java.lang.String arg) |
Storefront.SellingPlan |
setId(ID arg) |
Storefront.SellingPlan |
setName(java.lang.String arg) |
Storefront.SellingPlan |
setOptions(java.util.List<Storefront.SellingPlanOption> arg) |
Storefront.SellingPlan |
setPriceAdjustments(java.util.List<Storefront.SellingPlanPriceAdjustment> arg) |
Storefront.SellingPlan |
setRecurringDeliveries(java.lang.Boolean arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SellingPlan()
public SellingPlan(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.SellingPlanCheckoutCharge getCheckoutCharge()
public Storefront.SellingPlan setCheckoutCharge(Storefront.SellingPlanCheckoutCharge arg)
public java.lang.String getDescription()
public Storefront.SellingPlan setDescription(java.lang.String arg)
public ID getId()
public Storefront.SellingPlan setId(ID arg)
public java.lang.String getName()
public Storefront.SellingPlan setName(java.lang.String arg)
public java.util.List<Storefront.SellingPlanOption> getOptions()
public Storefront.SellingPlan setOptions(java.util.List<Storefront.SellingPlanOption> arg)
public java.util.List<Storefront.SellingPlanPriceAdjustment> getPriceAdjustments()
public Storefront.SellingPlan setPriceAdjustments(java.util.List<Storefront.SellingPlanPriceAdjustment> arg)
public java.lang.Boolean getRecurringDeliveries()
public Storefront.SellingPlan setRecurringDeliveries(java.lang.Boolean arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SellingPlan>