Package model

Class CreateAuthorizationRequest3dSecureAuthentication


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateAuthorizationRequest3dSecureAuthentication
    extends Object
    The information required to create a 3D secure `Authorization`.
    • Constructor Detail

      • CreateAuthorizationRequest3dSecureAuthentication

        public CreateAuthorizationRequest3dSecureAuthentication()
    • Method Detail

      • 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)
      • 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)
      • 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)
      • getTransactionId

        @Nullable
        public String getTransactionId()
        Only valid for Visa transactions
        Returns:
        transactionId
      • setTransactionId

        public void setTransactionId​(String transactionId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        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

        public String toJson()
        Convert an instance of CreateAuthorizationRequest3dSecureAuthentication to an JSON string
        Returns:
        JSON string