Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
- Enclosing class:
- SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure
public static class SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
extends Object
-
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.setAresTransStatus(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatusreturned from the card Issuer’s ACS in the ARes.setCryptogram(String cryptogram) The cryptogram, also known as the "authentication value" (AAV, CAVV or AEVV).setElectronicCommerceIndicator(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator electronicCommerceIndicator) The Electronic Commerce Indicator (ECI) is returned by your 3D Secure provider and indicates what degree of authentication was performed.setNetworkOptions(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions networkOptions) Network specific 3DS fields.setRequestorChallengeIndicator(String requestorChallengeIndicator) The challenge indicator (threeDSRequestorChallengeInd) which was requested in the AReq sent to the card Issuer's ACS.setTransactionId(String transactionId) For 3D Secure 1, the XID.The version of 3D Secure that was performed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAresTransStatus
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setAresTransStatus(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatusreturned from the card Issuer’s ACS in the ARes. -
setCryptogram
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setCryptogram(String cryptogram) The cryptogram, also known as the "authentication value" (AAV, CAVV or AEVV). This value is 20 bytes, base64-encoded into a 28-character string. (Most 3D Secure providers will return the base64-encoded version, which is what you should specify here.) -
setElectronicCommerceIndicator
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setElectronicCommerceIndicator(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator electronicCommerceIndicator) The Electronic Commerce Indicator (ECI) is returned by your 3D Secure provider and indicates what degree of authentication was performed. -
putExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.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. SeeSetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.extraParamsfor the field documentation. -
putAllExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.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. SeeSetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.extraParamsfor the field documentation. -
setNetworkOptions
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setNetworkOptions(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions networkOptions) Network specific 3DS fields. Network specific arguments require an explicit card brand choice. The parameter `payment_method_options.card.network`` must be populated accordingly -
setRequestorChallengeIndicator
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setRequestorChallengeIndicator(String requestorChallengeIndicator) The challenge indicator (threeDSRequestorChallengeInd) which was requested in the AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. -
setTransactionId
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setTransactionId(String transactionId) For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server Transaction ID (dsTransID). -
setVersion
public SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setVersion(SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version version) The version of 3D Secure that was performed.
-