public static class Storefront.SellingPlanRecurringDeliveryPolicy extends AbstractResponse<Storefront.SellingPlanRecurringDeliveryPolicy> implements Storefront.SellingPlanDeliveryPolicy
optimisticData, responseData| Constructor and Description |
|---|
SellingPlanRecurringDeliveryPolicy() |
SellingPlanRecurringDeliveryPolicy(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
Storefront.SellingPlanInterval |
getInterval()
The delivery frequency, it can be either: day, week, month or year.
|
java.lang.Integer |
getIntervalCount()
The number of intervals between deliveries.
|
Storefront.SellingPlanRecurringDeliveryPolicy |
setInterval(Storefront.SellingPlanInterval arg) |
Storefront.SellingPlanRecurringDeliveryPolicy |
setIntervalCount(java.lang.Integer arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SellingPlanRecurringDeliveryPolicy()
public SellingPlanRecurringDeliveryPolicy(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.SellingPlanDeliveryPolicypublic Storefront.SellingPlanInterval getInterval()
public Storefront.SellingPlanRecurringDeliveryPolicy setInterval(Storefront.SellingPlanInterval arg)
public java.lang.Integer getIntervalCount()
public Storefront.SellingPlanRecurringDeliveryPolicy setIntervalCount(java.lang.Integer arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SellingPlanRecurringDeliveryPolicy>