public static class SubscriptionScheduleUpdateParams.Phase.Plan.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
public SubscriptionScheduleUpdateParams.Phase.Plan build()
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setBillingThresholds(SubscriptionScheduleUpdateParams.Phase.Plan.BillingThresholds billingThresholds)
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setBillingThresholds(EmptyParam billingThresholds)
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder putExtraParam(java.lang.String key, java.lang.Object value)
SubscriptionScheduleUpdateParams.Phase.Plan.extraParams for the field
documentation.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SubscriptionScheduleUpdateParams.Phase.Plan.extraParams for the field
documentation.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setPlan(java.lang.String plan)
plan and price.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setPlan(EmptyParam plan)
plan and price.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setPrice(java.lang.String price)
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setPrice(EmptyParam price)
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setPriceData(SubscriptionScheduleUpdateParams.Phase.Plan.PriceData priceData)
public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setQuantity(java.lang.Long quantity)
usage_type is licensed and not metered.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder addTaxRate(java.lang.String element)
SubscriptionScheduleUpdateParams.Phase.Plan.taxRates for the field documentation.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder addAllTaxRate(java.util.List<java.lang.String> elements)
SubscriptionScheduleUpdateParams.Phase.Plan.taxRates for the field documentation.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setTaxRates(EmptyParam taxRates)
default_tax_rates on the Subscription. When updating, pass an empty string to remove
previously-defined tax rates.public SubscriptionScheduleUpdateParams.Phase.Plan.Builder setTaxRates(java.util.List<java.lang.String> taxRates)
default_tax_rates on the Subscription. When updating, pass an empty string to remove
previously-defined tax rates.