Enum VoidReason

    • Enum Constant Detail

      • USER_CANCEL

        public static final VoidReason USER_CANCEL
      • TRANSPORT_ERROR

        public static final VoidReason TRANSPORT_ERROR
      • REJECT_SIGNATURE

        public static final VoidReason REJECT_SIGNATURE
      • REJECT_PARTIAL_AUTH

        public static final VoidReason REJECT_PARTIAL_AUTH
      • NOT_APPROVED

        public static final VoidReason NOT_APPROVED
      • AUTH_CLOSED_NEW_CARD

        public static final VoidReason AUTH_CLOSED_NEW_CARD
      • DEVELOPER_PAY_PARTIAL_AUTH

        public static final VoidReason DEVELOPER_PAY_PARTIAL_AUTH
      • REJECT_DUPLICATE

        public static final VoidReason REJECT_DUPLICATE
      • REJECT_OFFLINE

        public static final VoidReason REJECT_OFFLINE
      • GIFTCARD_LOAD_FAILED

        public static final VoidReason GIFTCARD_LOAD_FAILED
      • USER_GIFTCARD_LOAD_CANCEL

        public static final VoidReason USER_GIFTCARD_LOAD_CANCEL
      • DEVELOPER_PAY_TIP_ADJUST_FAILED

        public static final VoidReason DEVELOPER_PAY_TIP_ADJUST_FAILED
      • USER_CUSTOMER_CANCEL

        public static final VoidReason USER_CUSTOMER_CANCEL
      • REJECT_GREATER_APPROVED_AMOUNT

        public static final VoidReason REJECT_GREATER_APPROVED_AMOUNT
      • USER_CANCEL_SYNC

        public static final VoidReason USER_CANCEL_SYNC
    • Method Detail

      • values

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

        public static VoidReason 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