Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Subscribe.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Subscribe.Builder
- Enclosing class:
- IntentCreateParams.Action.Subscribe
-
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.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setBillingDetails
(IntentCreateParams.Action.Subscribe.BillingDetails billingDetails) Configuration for the billing details.When the subscribe action will take effect.setPricingPlanSubscriptionDetails
(IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails pricingPlanSubscriptionDetails) Details for subscribing to a pricing plan.Required. Type of the action details.setV1SubscriptionDetails
(IntentCreateParams.Action.Subscribe.V1SubscriptionDetails v1SubscriptionDetails) Details for subscribing to a v1 subscription.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingDetails
public IntentCreateParams.Action.Subscribe.Builder setBillingDetails(IntentCreateParams.Action.Subscribe.BillingDetails billingDetails) Configuration for the billing details. If not specified, see the default behavior for individual attributes. -
setEffectiveAt
public IntentCreateParams.Action.Subscribe.Builder setEffectiveAt(IntentCreateParams.Action.Subscribe.EffectiveAt effectiveAt) When the subscribe action will take effect. If not specified, the default behavior is on_reserve. -
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. SeeIntentCreateParams.Action.Subscribe.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. SeeIntentCreateParams.Action.Subscribe.extraParams
for the field documentation. -
setPricingPlanSubscriptionDetails
public IntentCreateParams.Action.Subscribe.Builder setPricingPlanSubscriptionDetails(IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails pricingPlanSubscriptionDetails) Details for subscribing to a pricing plan. -
setType
public IntentCreateParams.Action.Subscribe.Builder setType(IntentCreateParams.Action.Subscribe.Type type) Required. Type of the action details. -
setV1SubscriptionDetails
public IntentCreateParams.Action.Subscribe.Builder setV1SubscriptionDetails(IntentCreateParams.Action.Subscribe.V1SubscriptionDetails v1SubscriptionDetails) Details for subscribing to a v1 subscription.
-