Enum ProductType

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

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

      • QR_CODE

        @SerializedName("QR Code")
        public static final ProductType QR_CODE
      • IN_APP

        @SerializedName("In-App")
        public static final ProductType IN_APP
      • OFFICIAL_ACCOUNT

        @SerializedName("Official Account")
        public static final ProductType OFFICIAL_ACCOUNT
      • MINI_PROGRAM

        @SerializedName("Mini Program")
        public static final ProductType MINI_PROGRAM
      • PAY_IN_FULL

        @SerializedName("pay_in_full")
        public static final ProductType PAY_IN_FULL
      • PAY_BY_INSTALMENT

        @SerializedName("pay_by_instalment")
        public static final ProductType PAY_BY_INSTALMENT
      • PAY_BY_INSTALMENT_2

        @SerializedName("pay_by_instalment_2")
        public static final ProductType PAY_BY_INSTALMENT_2
      • PAY_BY_INSTALMENT_3

        @SerializedName("pay_by_instalment_3")
        public static final ProductType PAY_BY_INSTALMENT_3
      • PAY_BY_INSTALMENT_4

        @SerializedName("pay_by_instalment_4")
        public static final ProductType PAY_BY_INSTALMENT_4
      • PAY_BY_INSTALMENT_6

        @SerializedName("pay_by_instalment_6")
        public static final ProductType PAY_BY_INSTALMENT_6
      • INVOICE

        @SerializedName("invoice")
        public static final ProductType INVOICE
      • PAY_LATER

        @SerializedName("pay_later")
        public static final ProductType PAY_LATER
      • DIGITAL

        @SerializedName("digital")
        public static final ProductType DIGITAL
      • PHYSICAL

        @SerializedName("physical")
        public static final ProductType PHYSICAL
    • Method Detail

      • values

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

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