Package model
Class CreateAuthorizationRequest3dSecureAuthentication
java.lang.Object
model.CreateAuthorizationRequest3dSecureAuthentication
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateAuthorizationRequest3dSecureAuthentication
extends Object
The 3D secure information for an authorization.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncardholderAuthentication(String cardholderAuthentication) cardholderIpAddress(String cardholderIpAddress) electronicCommerceIndicator(String electronicCommerceIndicator) booleanCreate an instance of CreateAuthorizationRequest3dSecureAuthentication given an JSON stringProvides evidence that the cardholder authentication occurred or that the merchant attempted authentication.Only required for American Express cards.AUTHENTICATED: Approved by 3D Secure Vendor; ATTEMPTED: Issuer or cardholder does not support 3D SecureOnly valid for Visa transactionsinthashCode()voidsetCardholderAuthentication(String cardholderAuthentication) voidsetCardholderIpAddress(String cardholderIpAddress) voidsetElectronicCommerceIndicator(String electronicCommerceIndicator) voidsetTransactionId(String transactionId) toJson()Convert an instance of CreateAuthorizationRequest3dSecureAuthentication to an JSON stringtoString()transactionId(String transactionId) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CARDHOLDER_AUTHENTICATION
- See Also:
-
SERIALIZED_NAME_CARDHOLDER_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_ELECTRONIC_COMMERCE_INDICATOR
- See Also:
-
SERIALIZED_NAME_TRANSACTION_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateAuthorizationRequest3dSecureAuthentication
public CreateAuthorizationRequest3dSecureAuthentication()
-
-
Method Details
-
cardholderAuthentication
public CreateAuthorizationRequest3dSecureAuthentication cardholderAuthentication(String cardholderAuthentication) -
getCardholderAuthentication
Provides evidence that the cardholder authentication occurred or that the merchant attempted authentication. This is unique for each authentication transaction.- Returns:
- cardholderAuthentication
-
setCardholderAuthentication
-
cardholderIpAddress
public CreateAuthorizationRequest3dSecureAuthentication cardholderIpAddress(String cardholderIpAddress) -
getCardholderIpAddress
Only required for American Express cards. Format is nnn.nnn.nnn.nnn- Returns:
- cardholderIpAddress
-
setCardholderIpAddress
-
electronicCommerceIndicator
public CreateAuthorizationRequest3dSecureAuthentication electronicCommerceIndicator(String electronicCommerceIndicator) -
getElectronicCommerceIndicator
AUTHENTICATED: Approved by 3D Secure Vendor; ATTEMPTED: Issuer or cardholder does not support 3D Secure- Returns:
- electronicCommerceIndicator
-
setElectronicCommerceIndicator
-
transactionId
-
getTransactionId
Only valid for Visa transactions- Returns:
- transactionId
-
setTransactionId
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreateAuthorizationRequest3dSecureAuthentication
-
fromJson
public static CreateAuthorizationRequest3dSecureAuthentication fromJson(String jsonString) throws IOException Create an instance of CreateAuthorizationRequest3dSecureAuthentication given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateAuthorizationRequest3dSecureAuthentication
- Throws:
IOException- if the JSON string is invalid with respect to CreateAuthorizationRequest3dSecureAuthentication
-
toJson
Convert an instance of CreateAuthorizationRequest3dSecureAuthentication to an JSON string- Returns:
- JSON string
-