Package com.stripe.param
Class SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder
- Enclosing class:
- SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions
public static class SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder
extends Object
-
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.Amount to be charged for future payments.setAmountType(SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType amountType) One offixedormaximum.setDescription(EmptyParam description) A description of the mandate or subscription that is meant to be displayed to the customer.setDescription(String description) A description of the mandate or subscription that is meant to be displayed to the customer.setEndDate(Long endDate) End date of the mandate or subscription.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder setAmount(Long amount) Amount to be charged for future payments. -
setAmountType
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder setAmountType(SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType amountType) One offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. -
setDescription
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder setDescription(String description) A description of the mandate or subscription that is meant to be displayed to the customer. -
setDescription
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder setDescription(EmptyParam description) A description of the mandate or subscription that is meant to be displayed to the customer. -
setEndDate
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.Builder setEndDate(Long endDate) End date of the mandate or subscription. -
putExtraParam
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.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. SeeSetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.extraParamsfor the field documentation. -
putAllExtraParam
public SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.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. SeeSetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.extraParamsfor the field documentation.
-