Class GivexResponseInfo


  • public class GivexResponseInfo
    extends Object
    GivexResponseInfo
    • Constructor Detail

      • GivexResponseInfo

        public GivexResponseInfo()
    • Method Detail

      • currencyCode

        public GivexResponseInfo currencyCode​(String currencyCode)
        The three-character ISO currency code
        Parameters:
        currencyCode - The three-character ISO currency code
        Returns:
        the current GivexResponseInfo instance, allowing for method chaining
      • getCurrencyCode

        public String getCurrencyCode()
        The three-character ISO currency code
        Returns:
        currencyCode The three-character ISO currency code
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)
        The three-character ISO currency code
        Parameters:
        currencyCode - The three-character ISO currency code
      • password

        public GivexResponseInfo password​(String password)
        The password provided by the acquirer.
        Parameters:
        password - The password provided by the acquirer.
        Returns:
        the current GivexResponseInfo instance, allowing for method chaining
      • getPassword

        public String getPassword()
        The password provided by the acquirer.
        Returns:
        password The password provided by the acquirer.
      • setPassword

        public void setPassword​(String password)
        The password provided by the acquirer.
        Parameters:
        password - The password provided by the acquirer.
      • paymentFlow

        public GivexResponseInfo paymentFlow​(String paymentFlow)
        The sales channel used for the payment.
        Parameters:
        paymentFlow - The sales channel used for the payment.
        Returns:
        the current GivexResponseInfo instance, allowing for method chaining
      • getPaymentFlow

        public String getPaymentFlow()
        The sales channel used for the payment.
        Returns:
        paymentFlow The sales channel used for the payment.
      • setPaymentFlow

        public void setPaymentFlow​(String paymentFlow)
        The sales channel used for the payment.
        Parameters:
        paymentFlow - The sales channel used for the payment.
      • username

        public GivexResponseInfo username​(String username)
        The username provided by the acquirer.
        Parameters:
        username - The username provided by the acquirer.
        Returns:
        the current GivexResponseInfo instance, allowing for method chaining
      • getUsername

        public String getUsername()
        The username provided by the acquirer.
        Returns:
        username The username provided by the acquirer.
      • setUsername

        public void setUsername​(String username)
        The username provided by the acquirer.
        Parameters:
        username - The username provided by the acquirer.
      • includeNullValues

        public GivexResponseInfo 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 GivexResponseInfo 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 GivexResponseInfo fromJson​(String jsonString)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of GivexResponseInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of GivexResponseInfo
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to GivexResponseInfo
      • toJson

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