Class InterchangeData


  • public class InterchangeData
    extends Object
    InterchangeData
    • Constructor Detail

      • InterchangeData

        public InterchangeData()
    • Method Detail

      • interchangeAmount

        public InterchangeData interchangeAmount​(Amount interchangeAmount)
        interchangeAmount
        Parameters:
        interchangeAmount -
        Returns:
        the current InterchangeData instance, allowing for method chaining
      • getInterchangeAmount

        public Amount getInterchangeAmount()
        Get interchangeAmount
        Returns:
        interchangeAmount
      • setInterchangeAmount

        public void setInterchangeAmount​(Amount interchangeAmount)
        interchangeAmount
        Parameters:
        interchangeAmount -
      • interchangeRateIndicator

        public InterchangeData interchangeRateIndicator​(String interchangeRateIndicator)
        A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
        Parameters:
        interchangeRateIndicator - A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
        Returns:
        the current InterchangeData instance, allowing for method chaining
      • getInterchangeRateIndicator

        public String getInterchangeRateIndicator()
        A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
        Returns:
        interchangeRateIndicator A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
      • setInterchangeRateIndicator

        public void setInterchangeRateIndicator​(String interchangeRateIndicator)
        A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
        Parameters:
        interchangeRateIndicator - A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
      • type

        public InterchangeData type​(InterchangeData.TypeEnum type)
        The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
        Parameters:
        type - The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
        Returns:
        the current InterchangeData instance, allowing for method chaining
      • getType

        public InterchangeData.TypeEnum getType()
        The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
        Returns:
        type The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
      • setType

        public void setType​(InterchangeData.TypeEnum type)
        The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
        Parameters:
        type - The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
      • equals

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

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

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

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