Package model
Class CreateAuthorizationRequest3dSecureAuthentication
- java.lang.Object
-
- model.CreateAuthorizationRequest3dSecureAuthentication
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateAuthorizationRequest3dSecureAuthentication extends Object
The information required to create a 3D secure `Authorization`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAuthorizationRequest3dSecureAuthentication.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CARDHOLDER_AUTHENTICATIONstatic StringSERIALIZED_NAME_CARDHOLDER_IP_ADDRESSstatic StringSERIALIZED_NAME_ELECTRONIC_COMMERCE_INDICATORstatic StringSERIALIZED_NAME_TRANSACTION_ID
-
Constructor Summary
Constructors Constructor Description CreateAuthorizationRequest3dSecureAuthentication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAuthorizationRequest3dSecureAuthenticationcardholderAuthentication(String cardholderAuthentication)CreateAuthorizationRequest3dSecureAuthenticationcardholderIpAddress(String cardholderIpAddress)CreateAuthorizationRequest3dSecureAuthenticationelectronicCommerceIndicator(String electronicCommerceIndicator)booleanequals(Object o)static CreateAuthorizationRequest3dSecureAuthenticationfromJson(String jsonString)Create an instance of CreateAuthorizationRequest3dSecureAuthentication given an JSON stringStringgetCardholderAuthentication()Provides evidence that the cardholder authentication occurred or that the merchant attempted authentication.StringgetCardholderIpAddress()Only required for American Express cards.StringgetElectronicCommerceIndicator()AUTHENTICATED: Approved by 3D Secure Vendor; ATTEMPTED: Issuer or cardholder does not support 3D SecureStringgetTransactionId()Only valid for Visa transactionsinthashCode()voidsetCardholderAuthentication(String cardholderAuthentication)voidsetCardholderIpAddress(String cardholderIpAddress)voidsetElectronicCommerceIndicator(String electronicCommerceIndicator)voidsetTransactionId(String transactionId)StringtoJson()Convert an instance of CreateAuthorizationRequest3dSecureAuthentication to an JSON stringStringtoString()CreateAuthorizationRequest3dSecureAuthenticationtransactionId(String transactionId)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CARDHOLDER_AUTHENTICATION
public static final String SERIALIZED_NAME_CARDHOLDER_AUTHENTICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CARDHOLDER_IP_ADDRESS
public static final String SERIALIZED_NAME_CARDHOLDER_IP_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ELECTRONIC_COMMERCE_INDICATOR
public static final String SERIALIZED_NAME_ELECTRONIC_COMMERCE_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSACTION_ID
public static final String SERIALIZED_NAME_TRANSACTION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
cardholderAuthentication
public CreateAuthorizationRequest3dSecureAuthentication cardholderAuthentication(String cardholderAuthentication)
-
getCardholderAuthentication
@Nullable public String getCardholderAuthentication()
Provides evidence that the cardholder authentication occurred or that the merchant attempted authentication. This is unique for each authentication transaction.- Returns:
- cardholderAuthentication
-
setCardholderAuthentication
public void setCardholderAuthentication(String cardholderAuthentication)
-
cardholderIpAddress
public CreateAuthorizationRequest3dSecureAuthentication cardholderIpAddress(String cardholderIpAddress)
-
getCardholderIpAddress
@Nullable public String getCardholderIpAddress()
Only required for American Express cards. Format is nnn.nnn.nnn.nnn- Returns:
- cardholderIpAddress
-
setCardholderIpAddress
public void setCardholderIpAddress(String cardholderIpAddress)
-
electronicCommerceIndicator
public CreateAuthorizationRequest3dSecureAuthentication electronicCommerceIndicator(String electronicCommerceIndicator)
-
getElectronicCommerceIndicator
@Nullable public String getElectronicCommerceIndicator()
AUTHENTICATED: Approved by 3D Secure Vendor; ATTEMPTED: Issuer or cardholder does not support 3D Secure- Returns:
- electronicCommerceIndicator
-
setElectronicCommerceIndicator
public void setElectronicCommerceIndicator(String electronicCommerceIndicator)
-
transactionId
public CreateAuthorizationRequest3dSecureAuthentication transactionId(String transactionId)
-
getTransactionId
@Nullable public String getTransactionId()
Only valid for Visa transactions- Returns:
- transactionId
-
setTransactionId
public void setTransactionId(String transactionId)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
public String toJson()
Convert an instance of CreateAuthorizationRequest3dSecureAuthentication to an JSON string- Returns:
- JSON string
-
-