Package com.stripe.param.v2.billing
Class CadenceCreateParams.Payer.Builder
java.lang.Object
com.stripe.param.v2.billing.CadenceCreateParams.Payer.Builder
- Enclosing class:
- CadenceCreateParams.Payer
-
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.setBillingProfile
(String billingProfile) The ID of the Billing Profile object which determines how a bill will be paid.setCustomer
(String customer) The ID of the Customer object.A string identifying the type of the payer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingProfile
The ID of the Billing Profile object which determines how a bill will be paid. If provided, the created cadence will be associated with the provided Billing Profile. If not provided, a new Billing Profile will be created and associated with the cadence. -
setCustomer
The ID of the Customer object. -
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. SeeCadenceCreateParams.Payer.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. SeeCadenceCreateParams.Payer.extraParams
for the field documentation. -
setType
A string identifying the type of the payer. Currently the only supported value iscustomer
.
-