Package com.stripe.param.v2.billing
Class IntentCreateParams.CadenceData.Payer.BillingProfileData.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.CadenceData.Payer.BillingProfileData.Builder
- Enclosing class:
- IntentCreateParams.CadenceData.Payer.BillingProfileData
-
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.setCustomer(String customer) Required. The customer to associate with the profile.setDefaultPaymentMethod(String defaultPaymentMethod) The default payment method to use when billing this profile.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomer
Required. The customer to associate with the profile. -
setDefaultPaymentMethod
public IntentCreateParams.CadenceData.Payer.BillingProfileData.Builder setDefaultPaymentMethod(String defaultPaymentMethod) The default payment method to use when billing this profile. If left blank, thePaymentMethodfrom thePaymentIntentprovided on commit will be used to create the profile. -
putExtraParam
public IntentCreateParams.CadenceData.Payer.BillingProfileData.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.CadenceData.Payer.BillingProfileData.extraParamsfor the field documentation. -
putAllExtraParam
public IntentCreateParams.CadenceData.Payer.BillingProfileData.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.CadenceData.Payer.BillingProfileData.extraParamsfor the field documentation.
-