Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure
public static class PaymentIntentConfirmParams.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
(PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatus
returned from the card Issuer’s ACS in the ARes.setCryptogram
(String cryptogram) Required. The cryptogram, also known as the "authentication value" (AAV, CAVV or AEVV).setElectronicCommerceIndicator
(PaymentIntentConfirmParams.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.setExemptionIndicator
(PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator exemptionIndicator) The exemption requested via 3DS and accepted by the issuer at authentication time.setNetworkOptions
(PaymentIntentConfirmParams.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) Required. For 3D Secure 1, the XID.Required. 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 PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setAresTransStatus(PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatus
returned from the card Issuer’s ACS in the ARes. -
setCryptogram
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setCryptogram(String cryptogram) Required. 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 PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setElectronicCommerceIndicator(PaymentIntentConfirmParams.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. -
setExemptionIndicator
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setExemptionIndicator(PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator exemptionIndicator) The exemption requested via 3DS and accepted by the issuer at authentication time. -
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.extraParams
for the field documentation. -
setNetworkOptions
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setNetworkOptions(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setTransactionId(String transactionId) Required. For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server Transaction ID (dsTransID). -
setVersion
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setVersion(PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version version) Required. The version of 3D Secure that was performed.
-