public static class Storefront.SellingPlanFixedPriceAdjustment extends AbstractResponse<Storefront.SellingPlanFixedPriceAdjustment> implements Storefront.SellingPlanPriceAdjustmentValue
optimisticData, responseData| Constructor and Description |
|---|
SellingPlanFixedPriceAdjustment() |
SellingPlanFixedPriceAdjustment(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
Storefront.MoneyV2 |
getPrice()
A new price of the variant when it's purchased with the selling plan.
|
Storefront.SellingPlanFixedPriceAdjustment |
setPrice(Storefront.MoneyV2 arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SellingPlanFixedPriceAdjustment()
public SellingPlanFixedPriceAdjustment(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.SellingPlanPriceAdjustmentValuepublic Storefront.MoneyV2 getPrice()
public Storefront.SellingPlanFixedPriceAdjustment setPrice(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SellingPlanFixedPriceAdjustment>