public static class SubscriptionScheduleUpdateParams.Phase.Item.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public SubscriptionScheduleUpdateParams.Phase.Item build()
public SubscriptionScheduleUpdateParams.Phase.Item.Builder setBillingThresholds(SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds billingThresholds)
public SubscriptionScheduleUpdateParams.Phase.Item.Builder setBillingThresholds(EmptyParam billingThresholds)
public SubscriptionScheduleUpdateParams.Phase.Item.Builder putExtraParam(java.lang.String key, java.lang.Object value)
SubscriptionScheduleUpdateParams.Phase.Item.extraParams
for the field
documentation.public SubscriptionScheduleUpdateParams.Phase.Item.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SubscriptionScheduleUpdateParams.Phase.Item.extraParams
for the field
documentation.public SubscriptionScheduleUpdateParams.Phase.Item.Builder setPlan(java.lang.String plan)
plan
and price
.public SubscriptionScheduleUpdateParams.Phase.Item.Builder setPlan(EmptyParam plan)
plan
and price
.public SubscriptionScheduleUpdateParams.Phase.Item.Builder setPrice(java.lang.String price)
public SubscriptionScheduleUpdateParams.Phase.Item.Builder setPrice(EmptyParam price)
public SubscriptionScheduleUpdateParams.Phase.Item.Builder setPriceData(SubscriptionScheduleUpdateParams.Phase.Item.PriceData priceData)
public SubscriptionScheduleUpdateParams.Phase.Item.Builder setQuantity(java.lang.Long quantity)
usage_type
is licensed
and not metered
.public SubscriptionScheduleUpdateParams.Phase.Item.Builder addTaxRate(java.lang.String element)
SubscriptionScheduleUpdateParams.Phase.Item.taxRates
for the field documentation.public SubscriptionScheduleUpdateParams.Phase.Item.Builder addAllTaxRate(java.util.List<java.lang.String> elements)
SubscriptionScheduleUpdateParams.Phase.Item.taxRates
for the field documentation.public SubscriptionScheduleUpdateParams.Phase.Item.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.Item.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.