Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure
public static class PaymentIntentCreateParams.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(PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatusreturned 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(PaymentIntentCreateParams.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(PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator exemptionIndicator) The exemption requested via 3DS and accepted by the issuer at authentication time.setNetworkOptions(PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setAresTransStatus(PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus aresTransStatus) ThetransStatusreturned from the card Issuer’s ACS in the ARes. -
setCryptogram
public PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setElectronicCommerceIndicator(PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setExemptionIndicator(PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator exemptionIndicator) The exemption requested via 3DS and accepted by the issuer at authentication time. -
putExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.extraParamsfor the field documentation. -
setNetworkOptions
public PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setNetworkOptions(PaymentIntentCreateParams.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 PaymentIntentCreateParams.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 PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Builder setVersion(PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version version) Required. The version of 3D Secure that was performed.
-