couponValueType property

String? couponValueType
getter/setter pair

The coupon value type attribute to signal the type of promotion that you are running.

Depending on type of the selected coupon value some attributes are required.

Required. Possible string values are:

  • "COUPON_VALUE_TYPE_UNSPECIFIED" : Indicates that the coupon value type is unspecified.
  • "MONEY_OFF" : Money off coupon value type.
  • "PERCENT_OFF" : Percent off coupon value type.
  • "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_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_MONEY_OFF" : Buy M quantity, get money off. minimum_purchase_quantity and money_off_amount must be present.
  • "BUY_M_GET_PERCENT_OFF" : Buy M quantity, get money off. minimum_purchase_quantity and percent_off_percentage must be present.
  • "FREE_GIFT" : Free gift with description only.
  • "FREE_GIFT_WITH_VALUE" : Free gift with monetary value.
  • "FREE_GIFT_WITH_ITEM_ID" : Free gift with item ID.
  • "FREE_SHIPPING_STANDARD" : Standard free shipping coupon value type. Only available for online promotions.
  • "FREE_SHIPPING_OVERNIGHT" : Overnight free shipping coupon value type. Only available for online promotions.
  • "FREE_SHIPPING_TWO_DAY" : Two day free shipping coupon value type. Only available for online promotions.
  • "MONEY_OFF_RANGE" : Money off range coupon value type. This coupon value type is used exclusively for US-based sales events. At least one of min_money_off_amount or max_money_off_amount must be present.
  • "PERCENT_OFF_RANGE" : Percent off range coupon value type. This coupon value type is exclusively used for US-based sale events. At least one of min_percent_off or max_percent_off must be present.

Implementation

core.String? couponValueType;