Package model
Class CreateTransferRequest3dSecureAuthentication
- java.lang.Object
-
- model.CreateTransferRequest3dSecureAuthentication
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateTransferRequest3dSecureAuthentication extends Object
The 3D secure information for an authorization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTransferRequest3dSecureAuthentication.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 CreateTransferRequest3dSecureAuthentication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTransferRequest3dSecureAuthenticationcardholderAuthentication(String cardholderAuthentication)CreateTransferRequest3dSecureAuthenticationcardholderIpAddress(String cardholderIpAddress)CreateTransferRequest3dSecureAuthenticationelectronicCommerceIndicator(String electronicCommerceIndicator)booleanequals(Object o)static CreateTransferRequest3dSecureAuthenticationfromJson(String jsonString)Create an instance of CreateTransferRequest3dSecureAuthentication 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 CreateTransferRequest3dSecureAuthentication to an JSON stringStringtoString()CreateTransferRequest3dSecureAuthenticationtransactionId(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 CreateTransferRequest3dSecureAuthentication 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 CreateTransferRequest3dSecureAuthentication 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 CreateTransferRequest3dSecureAuthentication 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 CreateTransferRequest3dSecureAuthentication 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 CreateTransferRequest3dSecureAuthentication
-
fromJson
public static CreateTransferRequest3dSecureAuthentication fromJson(String jsonString) throws IOException
Create an instance of CreateTransferRequest3dSecureAuthentication given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateTransferRequest3dSecureAuthentication
- Throws:
IOException- if the JSON string is invalid with respect to CreateTransferRequest3dSecureAuthentication
-
toJson
public String toJson()
Convert an instance of CreateTransferRequest3dSecureAuthentication to an JSON string- Returns:
- JSON string
-
-