# Enum CouponValueType (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public enum CouponValueType extends Enum<CouponValueType> implements ProtocolMessageEnum

[Coupon value
type](https://support.google.com/merchants/answer/13861986?ref_topic=13773355&sjid=17642868584668136159-NC)
of a promotion.

Protobuf enum `google.shopping.merchant.promotions.v1beta.CouponValueType`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `BUY_M_GET_MONEY_OFF` | Buy M quantity, get money off. `minimum_purchase_quantity` and `money_off_amount` must be present. `BUY_M_GET_MONEY_OFF = 5;` |
| `BUY_M_GET_MONEY_OFF_VALUE` | Buy M quantity, get money off. `minimum_purchase_quantity` and `money_off_amount` must be present. `BUY_M_GET_MONEY_OFF = 5;` |
| `BUY_M_GET_N_MONEY_OFF` | Buy M quantity, get N money off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `money_off_amount` must also be present. `BUY_M_GET_N_MONEY_OFF = 3;` |
| `BUY_M_GET_N_MONEY_OFF_VALUE` | Buy M quantity, get N money off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `money_off_amount` must also be present. `BUY_M_GET_N_MONEY_OFF = 3;` |
| `BUY_M_GET_N_PERCENT_OFF` | Buy M quantity, get N percent off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `percent_off_percentage` must also be present. `BUY_M_GET_N_PERCENT_OFF = 4;` |
| `BUY_M_GET_N_PERCENT_OFF_VALUE` | Buy M quantity, get N percent off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `percent_off_percentage` must also be present. `BUY_M_GET_N_PERCENT_OFF = 4;` |
| `BUY_M_GET_PERCENT_OFF` | Buy M quantity, get money off. `minimum_purchase_quantity` and `percent_off_percentage` must be present. `BUY_M_GET_PERCENT_OFF = 6;` |
| `BUY_M_GET_PERCENT_OFF_VALUE` | Buy M quantity, get money off. `minimum_purchase_quantity` and `percent_off_percentage` must be present. `BUY_M_GET_PERCENT_OFF = 6;` |
| `COUPON_VALUE_TYPE_UNSPECIFIED` | Indicates that the coupon value type is unspecified. `COUPON_VALUE_TYPE_UNSPECIFIED = 0;` |
| `COUPON_VALUE_TYPE_UNSPECIFIED_VALUE` | Indicates that the coupon value type is unspecified. `COUPON_VALUE_TYPE_UNSPECIFIED = 0;` |
| `FREE_GIFT` | Free gift with description only. `FREE_GIFT = 7;` |
| `FREE_GIFT_VALUE` | Free gift with description only. `FREE_GIFT = 7;` |
| `FREE_GIFT_WITH_ITEM_ID` | Free gift with item ID. `FREE_GIFT_WITH_ITEM_ID = 9;` |
| `FREE_GIFT_WITH_ITEM_ID_VALUE` | Free gift with item ID. `FREE_GIFT_WITH_ITEM_ID = 9;` |
| `FREE_GIFT_WITH_VALUE` | Free gift with monetary value. `FREE_GIFT_WITH_VALUE = 8;` |
| `FREE_GIFT_WITH_VALUE_VALUE` | Free gift with monetary value. `FREE_GIFT_WITH_VALUE = 8;` |
| `FREE_SHIPPING_OVERNIGHT` | Overnight free shipping coupon value type. `FREE_SHIPPING_OVERNIGHT = 11;` |
| `FREE_SHIPPING_OVERNIGHT_VALUE` | Overnight free shipping coupon value type. `FREE_SHIPPING_OVERNIGHT = 11;` |
| `FREE_SHIPPING_STANDARD` | Standard free shipping coupon value type. `FREE_SHIPPING_STANDARD = 10;` |
| `FREE_SHIPPING_STANDARD_VALUE` | Standard free shipping coupon value type. `FREE_SHIPPING_STANDARD = 10;` |
| `FREE_SHIPPING_TWO_DAY` | Two day free shipping coupon value type. `FREE_SHIPPING_TWO_DAY = 12;` |
| `FREE_SHIPPING_TWO_DAY_VALUE` | Two day free shipping coupon value type. `FREE_SHIPPING_TWO_DAY = 12;` |
| `MONEY_OFF` | Money off coupon value type. `MONEY_OFF = 1;` |
| `MONEY_OFF_VALUE` | Money off coupon value type. `MONEY_OFF = 1;` |
| `PERCENT_OFF` | Percent off coupon value type. `PERCENT_OFF = 2;` |
| `PERCENT_OFF_VALUE` | Percent off coupon value type. `PERCENT_OFF = 2;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1beta.CouponValueType#com_google_shopping_merchant_promotions_v1beta_CouponValueType_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |