Class ThreeDS2ResultRequest


  • public class ThreeDS2ResultRequest
    extends Object
    ThreeDS2ResultRequest
    • Constructor Detail

      • ThreeDS2ResultRequest

        public ThreeDS2ResultRequest()
    • Method Detail

      • merchantAccount

        public ThreeDS2ResultRequest merchantAccount​(String merchantAccount)
        The merchant account identifier, with which you want to process the transaction.
        Parameters:
        merchantAccount - The merchant account identifier, with which you want to process the transaction.
        Returns:
        the current ThreeDS2ResultRequest instance, allowing for method chaining
      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account identifier, with which you want to process the transaction.
        Returns:
        merchantAccount The merchant account identifier, with which you want to process the transaction.
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account identifier, with which you want to process the transaction.
        Parameters:
        merchantAccount - The merchant account identifier, with which you want to process the transaction.
      • pspReference

        public ThreeDS2ResultRequest pspReference​(String pspReference)
        The pspReference returned in the /authorise call.
        Parameters:
        pspReference - The pspReference returned in the /authorise call.
        Returns:
        the current ThreeDS2ResultRequest instance, allowing for method chaining
      • getPspReference

        public String getPspReference()
        The pspReference returned in the /authorise call.
        Returns:
        pspReference The pspReference returned in the /authorise call.
      • setPspReference

        public void setPspReference​(String pspReference)
        The pspReference returned in the /authorise call.
        Parameters:
        pspReference - The pspReference returned in the /authorise call.
      • includeNullValues

        public ThreeDS2ResultRequest includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this ThreeDS2ResultRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static ThreeDS2ResultRequest fromJson​(String jsonString)
                                              throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ThreeDS2ResultRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ThreeDS2ResultRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ThreeDS2ResultRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ThreeDS2ResultRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException