Enum RequestType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RequestType>

    public enum RequestType
    extends java.lang.Enum<RequestType>
    • Enum Constant Detail

      • ACCOUNT_VERIFICATION

        @SerializedName("account_verification")
        public static final RequestType ACCOUNT_VERIFICATION
      • ADD_CARD

        @SerializedName("add_card")
        public static final RequestType ADD_CARD
      • INSTALLMENT_TRANSACTION

        @SerializedName("installment_transaction")
        public static final RequestType INSTALLMENT_TRANSACTION
      • MAIL_ORDER

        @SerializedName("mail_order")
        public static final RequestType MAIL_ORDER
      • MAINTAIN_CARD_INFORMATION

        @SerializedName("maintain_card_information")
        public static final RequestType MAINTAIN_CARD_INFORMATION
      • OTHER_PAYMENT

        @SerializedName("other_payment")
        public static final RequestType OTHER_PAYMENT
      • RECURRING_TRANSACTION

        @SerializedName("recurring_transaction")
        public static final RequestType RECURRING_TRANSACTION
      • SPLIT_OR_DELAYED_SHIPMENT

        @SerializedName("split_or_delayed_shipment")
        public static final RequestType SPLIT_OR_DELAYED_SHIPMENT
      • TELEPHONE_ORDER

        @SerializedName("telephone_order")
        public static final RequestType TELEPHONE_ORDER
      • TOP_UP

        @SerializedName("top_up")
        public static final RequestType TOP_UP
      • WHITELIST_STATUS_CHECK

        @SerializedName("whitelist_status_check")
        public static final RequestType WHITELIST_STATUS_CHECK
    • Method Detail

      • values

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

        public static RequestType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null