Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
java.lang.Object
com.stripe.param.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure
public static class SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
extends Object
-
Constructor Summary
-
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
(SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatus
returned 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
(SetupIntentConfirmParams.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
(SetupIntentConfirmParams.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 SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setAresTransStatus(SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatus
returned from the card Issuer’s ACS in the ARes. -
setCryptogram
public SetupIntentConfirmParams.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 SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setElectronicCommerceIndicator(SetupIntentConfirmParams.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 SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.extraParams
for the field documentation. -
setNetworkOptions
public SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setNetworkOptions(SetupIntentConfirmParams.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 SetupIntentConfirmParams.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 SetupIntentConfirmParams.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 SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setVersion(SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version version) The version of 3D Secure that was performed.
-