Package com.stripe.param.v2.billing
Class RateCardUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.RateCardUpdateParams.Builder
- Enclosing class:
- RateCardUpdateParams
-
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, Object> 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, EmptyParam value) Add a key/value pair to `metadata` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.Sets whether the RateCard is active.setDisplayName
(EmptyParam displayName) A customer-facing name for the RateCard.setDisplayName
(String displayName) A customer-facing name for the RateCard.setLiveVersion
(EmptyParam liveVersion) Changes the version that new RateCard activations will use.setLiveVersion
(String liveVersion) Changes the version that new RateCard activations will use.setLookupKey
(EmptyParam lookupKey) An internal key you can use to search for a particular RateCard.setLookupKey
(String lookupKey) An internal key you can use to search for a particular RateCard.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setActive
Sets whether the RateCard is active. Inactive RateCards cannot be used in new activations or have new rates added. -
setDisplayName
A customer-facing name for the RateCard. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. Maximum length of 250 characters. -
setDisplayName
A customer-facing name for the RateCard. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. Maximum length of 250 characters. -
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. SeeRateCardUpdateParams.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. SeeRateCardUpdateParams.extraParams
for the field documentation. -
setLiveVersion
Changes the version that new RateCard activations will use. Providinglive_version = "latest"
will set the RateCard'slive_version
to its latest version. -
setLiveVersion
Changes the version that new RateCard activations will use. Providinglive_version = "latest"
will set the RateCard'slive_version
to its latest version. -
setLookupKey
An internal key you can use to search for a particular RateCard. Maximum length of 200 characters. -
setLookupKey
An internal key you can use to search for a particular RateCard. Maximum length of 200 characters. -
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. SeeRateCardUpdateParams.metadata
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. SeeRateCardUpdateParams.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. Map values can only be one of the following types: `String`, `EmptyParam`. SeeRateCardUpdateParams.metadata
for the field documentation.
-