Enum Class PaymentOptions

java.lang.Object
java.lang.Enum<PaymentOptions>
com.jahnreil_stratpoint.util.PaymentOptions
All Implemented Interfaces:
Serializable, Comparable<PaymentOptions>, Constable

public enum PaymentOptions extends Enum<PaymentOptions>
The enum Payment options.
  • Enum Constant Details

    • CREDIT_CARD

      public static final PaymentOptions CREDIT_CARD
      Credit card payment options.
    • DEBIT_CARD

      public static final PaymentOptions DEBIT_CARD
      Debit card payment options.
    • PAYPAL

      public static final PaymentOptions PAYPAL
      Paypal payment options.
    • BANK_TRANSFER

      public static final PaymentOptions BANK_TRANSFER
      Bank transfer payment options.
    • CASH_ON_DELIVERY

      public static final PaymentOptions CASH_ON_DELIVERY
      Cash on delivery payment options.
    • GCASH

      public static final PaymentOptions GCASH
      Gcash payment options.
    • MAYA

      public static final PaymentOptions MAYA
      Maya payment options.
    • INSTALLMENT_PAYMENTS

      public static final PaymentOptions INSTALLMENT_PAYMENTS
      Installment payments payment options.
  • Method Details

    • values

      public static PaymentOptions[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PaymentOptions valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null