Package com.stripe.param.v2.billing
Class ProfileUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.ProfileUpdateParams.Builder
- Enclosing class:
- ProfileUpdateParams
-
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, Object> 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, EmptyParam value) Add a key/value pair to `metadata` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setDefaultPaymentMethod
(EmptyParam defaultPaymentMethod) The ID of the payment method object.setDefaultPaymentMethod
(String defaultPaymentMethod) The ID of the payment method object.setDisplayName
(EmptyParam displayName) A customer-facing name for the billing profile.setDisplayName
(String displayName) A customer-facing name for the billing profile.setLookupKey
(EmptyParam lookupKey) An internal key you can use to search for a particular 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. -
setDefaultPaymentMethod
The ID of the payment method object. -
setDefaultPaymentMethod
The ID of the payment method object. -
setDisplayName
A customer-facing name for the billing profile. Maximum length of 250 characters. To remove the display_name from the object, set it to null in the request. -
setDisplayName
A customer-facing name for the billing profile. Maximum length of 250 characters. To remove the display_name from the object, set it to null in the request. -
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. SeeProfileUpdateParams.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. SeeProfileUpdateParams.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. To remove the lookup_key from the object, set it to null in the request. -
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. To remove the lookup_key from the object, set it to null in the request. -
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. SeeProfileUpdateParams.metadata
for the field documentation. -
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. SeeProfileUpdateParams.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. Map values can only be one of the following types: `String`, `EmptyParam`. SeeProfileUpdateParams.metadata
for the field documentation.
-