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