Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Apply.SpendModifierRule.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Apply.SpendModifierRule.Builder
- Enclosing class:
- IntentCreateParams.Action.Apply.SpendModifierRule
-
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.Required. What the spend modifier applies to.setMaxBillingPeriodSpend(IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend maxBillingPeriodSpend) Details for max billing period spend modifier.Required. Type of the spend modifier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAppliesTo
public IntentCreateParams.Action.Apply.SpendModifierRule.Builder setAppliesTo(IntentCreateParams.Action.Apply.SpendModifierRule.AppliesTo appliesTo) Required. What the spend modifier applies to. -
putExtraParam
public IntentCreateParams.Action.Apply.SpendModifierRule.Builder putExtraParam(String key, Object value) 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.Apply.SpendModifierRule.extraParamsfor the field documentation. -
putAllExtraParam
public IntentCreateParams.Action.Apply.SpendModifierRule.Builder putAllExtraParam(Map<String, Object> map) 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.Apply.SpendModifierRule.extraParamsfor the field documentation. -
setMaxBillingPeriodSpend
public IntentCreateParams.Action.Apply.SpendModifierRule.Builder setMaxBillingPeriodSpend(IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend maxBillingPeriodSpend) Details for max billing period spend modifier. Only present if type is max_billing_period_spend. -
setType
public IntentCreateParams.Action.Apply.SpendModifierRule.Builder setType(IntentCreateParams.Action.Apply.SpendModifierRule.Type type) Required. Type of the spend modifier.
-