Package com.stripe.param.v2.billing
Class ProfileCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.ProfileCreateParams.Builder
- Enclosing class:
- ProfileCreateParams
-
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.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setCustomer
(String customer) Required. The ID of the customer object.setDefaultPaymentMethod
(String defaultPaymentMethod) The ID of the payment method object.setDisplayName
(String displayName) A customer-facing name for the billing profile.setLookupKey
(String lookupKey) An internal key you can use to search for a particular billing profile.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomer
Required. The ID of the customer object. -
setDefaultPaymentMethod
The ID of the payment method object. -
setDisplayName
A customer-facing name for the billing profile. Maximum length of 250 characters. -
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. SeeProfileCreateParams.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. SeeProfileCreateParams.extraParams
for the field documentation. -
setLookupKey
An internal key you can use to search for a particular billing profile. It must be unique among billing profiles for a given customer. Maximum length of 200 characters. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeProfileCreateParams.metadata
for the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeProfileCreateParams.metadata
for the field documentation.
-