Enum CouponValueType (1.1.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public enum CouponValueType extends Enum<CouponValueType> implements ProtocolMessageEnum
Coupon value
type
of a promotion.
Protobuf enum google.shopping.merchant.promotions.v1beta.CouponValueType
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) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-01 UTC."],[],[],null,["# Enum CouponValueType (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-promotions/0.26.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-promotions/0.24.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-promotions/0.23.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-promotions/0.20.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-promotions/0.19.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-promotions/0.18.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-promotions/0.16.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-promotions/0.15.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-promotions/0.14.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-promotions/0.13.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-promotions/0.12.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-promotions/0.11.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-promotions/0.10.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-promotions/0.9.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-promotions/0.8.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-promotions/0.7.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-promotions/0.5.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-promotions/0.4.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-promotions/0.3.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-promotions/0.2.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-promotions/0.1.0/com.google.shopping.merchant.promotions.v1beta.CouponValueType) \n\n public enum CouponValueType extends Enum\u003cCouponValueType\u003e implements ProtocolMessageEnum\n\n[Coupon value\ntype](https://support.google.com/merchants/answer/13861986?ref_topic=13773355&sjid=17642868584668136159-NC)\nof a promotion.\n\nProtobuf enum `google.shopping.merchant.promotions.v1beta.CouponValueType` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]