Package com.stripe.param.threedsecure
Class AuthenticationCreateParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.threedsecure.AuthenticationCreateParams.PaymentMethodData.Builder
- Enclosing class:
- AuthenticationCreateParams.PaymentMethodData
-
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.Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.Required.Required. The type of the PaymentMethod.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingDetails
public AuthenticationCreateParams.PaymentMethodData.Builder setBillingDetails(AuthenticationCreateParams.PaymentMethodData.BillingDetails billingDetails) Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. -
setCard
public AuthenticationCreateParams.PaymentMethodData.Builder setCard(AuthenticationCreateParams.PaymentMethodData.Card card) Required. -
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. SeeAuthenticationCreateParams.PaymentMethodData.extraParamsfor the field documentation. -
putAllExtraParam
public AuthenticationCreateParams.PaymentMethodData.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. SeeAuthenticationCreateParams.PaymentMethodData.extraParamsfor the field documentation. -
setType
public AuthenticationCreateParams.PaymentMethodData.Builder setType(AuthenticationCreateParams.PaymentMethodData.Type type) Required. The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
-