Package com.stripe.param.v2.billing
Class RateCardSubscriptionCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.RateCardSubscriptionCreateParams.Builder
- Enclosing class:
- RateCardSubscriptionCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setBillingCadence
(String billingCadence) Required. The ID of the Billing Cadence.setRateCard
(String rateCard) Required. The ID of the Rate Card.setRateCardVersion
(String rateCardVersion) The ID of the Rate Card Version.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingCadence
Required. The ID of the Billing Cadence. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRateCardSubscriptionCreateParams.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRateCardSubscriptionCreateParams.extraParams
for the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRateCardSubscriptionCreateParams.metadata
for the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRateCardSubscriptionCreateParams.metadata
for the field documentation. -
setRateCard
Required. The ID of the Rate Card. -
setRateCardVersion
The ID of the Rate Card Version. If not specified, defaults to the "live_version" of the Rate Card at the time of creation.
-