Enum PaymentType

  • All Implemented Interfaces:
    Serializable, Comparable<PaymentType>

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

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

     <simpleType name="PaymentType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="Normal"/>
         <enumeration value="Refund"/>
         <enumeration value="OneTimeReservation"/>
         <enumeration value="FirstReservation"/>
         <enumeration value="UpdateReservation"/>
         <enumeration value="Completion"/>
         <enumeration value="CashAdvance"/>
         <enumeration value="CashDeposit"/>
         <enumeration value="Recurring"/>
         <enumeration value="Instalment"/>
         <enumeration value="IssuerInstalment"/>
         <enumeration value="PaidOut"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • NORMAL

        @SerializedName("Normal")
        public static final PaymentType NORMAL
        Normal Payment
      • REFUND

        @SerializedName("Refund")
        public static final PaymentType REFUND
        Payment refund
      • ONE_TIME_RESERVATION

        @SerializedName("OneTimeReservation")
        public static final PaymentType ONE_TIME_RESERVATION
        One time reservation to be just followed by a completion when the service or good is delivered. This service is sometimes called "Deferred Sale".
      • FIRST_RESERVATION

        @SerializedName("FirstReservation")
        public static final PaymentType FIRST_RESERVATION
        First reservation for an amount and period of time. This service is sometimes called "Pre-Authorisation".
      • UPDATE_RESERVATION

        @SerializedName("UpdateReservation")
        public static final PaymentType UPDATE_RESERVATION
        Adjustment of the amount or period of time of a reservation.
      • COMPLETION

        @SerializedName("Completion")
        public static final PaymentType COMPLETION
        End of the reservation transaction.
      • CASH_ADVANCE

        @SerializedName("CashAdvance")
        public static final PaymentType CASH_ADVANCE
        Cash advance at the POI System.
      • CASH_DEPOSIT

        @SerializedName("CashDeposit")
        public static final PaymentType CASH_DEPOSIT
        Cash deposit at the POI System, to credit an account.
      • RECURRING

        @SerializedName("Recurring")
        public static final PaymentType RECURRING
        Recurring payment.
      • INSTALMENT

        @SerializedName("Instalment")
        public static final PaymentType INSTALMENT
        Instalments of payment performed on behalf of the merchant.
      • ISSUER_INSTALMENT

        @SerializedName("IssuerInstalment")
        public static final PaymentType ISSUER_INSTALMENT
        Instalments of payment performed by the card issuer.
      • PAID_OUT

        @SerializedName("PaidOut")
        public static final PaymentType PAID_OUT
        Give money to in return for goods or services rendered to the merchant.
    • Method Detail

      • values

        public static PaymentType[] 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 (PaymentType c : PaymentType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PaymentType 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 PaymentType fromValue​(String v)
        Returns the enum constant matching the given string, or null if no match is found.
        Parameters:
        v - string value
        Returns:
        the PaymentType, or null if no match is found.