Enum TransactionType

  • All Implemented Interfaces:
    Serializable, Comparable<TransactionType>

    public enum TransactionType
    extends Enum<TransactionType>
    Java class for TransactionType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="TransactionType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="Debit"/>
         <enumeration value="Credit"/>
         <enumeration value="ReverseDebit"/>
         <enumeration value="ReverseCredit"/>
         <enumeration value="OneTimeReservation"/>
         <enumeration value="CompletedDeffered"/>
         <enumeration value="FirstReservation"/>
         <enumeration value="UpdateReservation"/>
         <enumeration value="CompletedReservation"/>
         <enumeration value="CashAdvance"/>
         <enumeration value="IssuerInstalment"/>
         <enumeration value="Declined"/>
         <enumeration value="Failed"/>
         <enumeration value="Award"/>
         <enumeration value="ReverseAward"/>
         <enumeration value="Redemption"/>
         <enumeration value="ReverseRedemption"/>
         <enumeration value="Rebate"/>
         <enumeration value="ReverseRebate"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • DEBIT

        @SerializedName("Debit")
        public static final TransactionType DEBIT
        Payment Debit transactions (e.g. if PaymentType is "Normal")
      • CREDIT

        @SerializedName("Credit")
        public static final TransactionType CREDIT
        Payment Credit transactions (e.g. if PaymentType is "Refund")
      • REVERSE_DEBIT

        @SerializedName("ReverseDebit")
        public static final TransactionType REVERSE_DEBIT
        Payment Reversal Debit transactions
      • REVERSE_CREDIT

        @SerializedName("ReverseCredit")
        public static final TransactionType REVERSE_CREDIT
        Payment Reversal Credit transactions
      • ONE_TIME_RESERVATION

        @SerializedName("OneTimeReservation")
        public static final TransactionType ONE_TIME_RESERVATION
        Outstanding OneTimeReservation transactions, i.e. between OneTimeReservation and Completion
      • COMPLETED_DEFFERED

        @SerializedName("CompletedDeffered")
        public static final TransactionType COMPLETED_DEFFERED
        OneTimeReservation transactions which have been completed by the Completion.
      • FIRST_RESERVATION

        @SerializedName("FirstReservation")
        public static final TransactionType FIRST_RESERVATION
        Outstanding FirstReservation transactions, i.e. between FirstReservation and UpdateReservation or Completion
      • UPDATE_RESERVATION

        @SerializedName("UpdateReservation")
        public static final TransactionType UPDATE_RESERVATION
        Outstanding UpdateReservation transactions, i.e. between UpdateReservation and UpdateReservation or Completion
      • COMPLETED_RESERVATION

        @SerializedName("CompletedReservation")
        public static final TransactionType COMPLETED_RESERVATION
        Reservation transactions which have been completed by the Completion.
      • CASH_ADVANCE

        @SerializedName("CashAdvance")
        public static final TransactionType CASH_ADVANCE
        Cash Advance transactions.
      • ISSUER_INSTALMENT

        @SerializedName("IssuerInstalment")
        public static final TransactionType ISSUER_INSTALMENT
        Issuer instalment transactions.
      • DECLINED

        @SerializedName("Declined")
        public static final TransactionType DECLINED
        ResultErrorCondition
      • FAILED

        @SerializedName("Failed")
        public static final TransactionType FAILED
        ResultErrorCondition
      • AWARD

        @SerializedName("Award")
        public static final TransactionType AWARD
        Loyalty Award Transaction
      • REVERSE_AWARD

        @SerializedName("ReverseAward")
        public static final TransactionType REVERSE_AWARD
        Loyalty Reversal Award Transaction
      • REDEMPTION

        @SerializedName("Redemption")
        public static final TransactionType REDEMPTION
        Loyalty Redemption Transaction
      • REVERSE_REDEMPTION

        @SerializedName("ReverseRedemption")
        public static final TransactionType REVERSE_REDEMPTION
        Loyalty Reversal Redemption Transaction
      • REBATE

        @SerializedName("Rebate")
        public static final TransactionType REBATE
        Loyalty Rebate Transaction
      • REVERSE_REBATE

        @SerializedName("ReverseRebate")
        public static final TransactionType REVERSE_REBATE
        Loyalty Reversal Rebate Transaction
    • Method Detail

      • values

        public static TransactionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TransactionType c : TransactionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TransactionType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Value string.
        Returns:
        the string
      • fromValue

        public static TransactionType fromValue​(String v)
        Returns the enum constant matching the given string, or null if no match is found.
        Parameters:
        v - string value
        Returns:
        the TransactionType, or null if no match is found.