Package com.stripe.param.v2.billing
Class PricingPlanUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.PricingPlanUpdateParams.Builder
- Enclosing class:
- PricingPlanUpdateParams
-
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.Whether the PricingPlan is active.setDescription
(EmptyParam description) Description of pricing plan subscription.setDescription
(String description) Description of pricing plan subscription.setDisplayName
(EmptyParam displayName) Display name of the PricingPlan.setDisplayName
(String displayName) Display name of the PricingPlan.setLiveVersion
(EmptyParam liveVersion) The ID of the live version of the PricingPlan.setLiveVersion
(String liveVersion) The ID of the live version of the PricingPlan.setLookupKey
(EmptyParam lookupKey) An internal key you can use to search for a particular PricingPlan.setLookupKey
(String lookupKey) An internal key you can use to search for a particular PricingPlan.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setActive
Whether the PricingPlan is active. -
setDescription
Description of pricing plan subscription. -
setDescription
Description of pricing plan subscription. -
setDisplayName
Display name of the PricingPlan. Maximum 250 characters. -
setDisplayName
Display name of the PricingPlan. Maximum 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. SeePricingPlanUpdateParams.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. SeePricingPlanUpdateParams.extraParams
for the field documentation. -
setLiveVersion
The ID of the live version of the PricingPlan. -
setLiveVersion
The ID of the live version of the PricingPlan. -
setLookupKey
An internal key you can use to search for a particular PricingPlan. Maximum length of 200 characters. -
setLookupKey
An internal key you can use to search for a particular PricingPlan. 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. SeePricingPlanUpdateParams.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. SeePricingPlanUpdateParams.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`. SeePricingPlanUpdateParams.metadata
for the field documentation.
-