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.

Implementation

core.String? couponValueType;