Class ComponentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.pricingplans.ComponentCreateParams.Builder
- Enclosing class:
- ComponentCreateParams
-
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.setLicenseFee(ComponentCreateParams.LicenseFee licenseFee) Details if this component is a License Fee.setLookupKey(String lookupKey) An identifier that can be used to find this component.setRateCard(ComponentCreateParams.RateCard rateCard) Details if this component is a Rate Card.setServiceAction(ComponentCreateParams.ServiceAction serviceAction) Details if this component is a Service Action.Required. The type of the PricingPlanComponent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeComponentCreateParams.extraParamsfor 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. SeeComponentCreateParams.extraParamsfor the field documentation. -
setLicenseFee
Details if this component is a License Fee. -
setLookupKey
An identifier that can be used to find this component. -
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. SeeComponentCreateParams.metadatafor 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. SeeComponentCreateParams.metadatafor the field documentation. -
setRateCard
Details if this component is a Rate Card. -
setServiceAction
public ComponentCreateParams.Builder setServiceAction(ComponentCreateParams.ServiceAction serviceAction) Details if this component is a Service Action. -
setType
Required. The type of the PricingPlanComponent.
-