Google Shopping Merchant Promotions V1beta Client - Class CouponValueType (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class CouponValueType.

Coupon value type of a promotion.

Protobuf type google.shopping.merchant.promotions.v1beta.CouponValueType

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1beta

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

COUPON_VALUE_TYPE_UNSPECIFIED

Value: 0

Indicates that the coupon value type is unspecified.

Generated from protobuf enum COUPON_VALUE_TYPE_UNSPECIFIED = 0;

MONEY_OFF

Value: 1

Money off coupon value type.

Generated from protobuf enum MONEY_OFF = 1;

PERCENT_OFF

Value: 2

Percent off coupon value type.

Generated from protobuf enum PERCENT_OFF = 2;

BUY_M_GET_N_MONEY_OFF

Value: 3

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.

Generated from protobuf enum BUY_M_GET_N_MONEY_OFF = 3;

BUY_M_GET_N_PERCENT_OFF

Value: 4

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.

Generated from protobuf enum BUY_M_GET_N_PERCENT_OFF = 4;

BUY_M_GET_MONEY_OFF

Value: 5

Buy M quantity, get money off. minimum_purchase_quantity and money_off_amount must be present.

Generated from protobuf enum BUY_M_GET_MONEY_OFF = 5;

BUY_M_GET_PERCENT_OFF

Value: 6

Buy M quantity, get money off. minimum_purchase_quantity and percent_off_percentage must be present.

Generated from protobuf enum BUY_M_GET_PERCENT_OFF = 6;

FREE_GIFT

Value: 7

Free gift with description only.

Generated from protobuf enum FREE_GIFT = 7;

FREE_GIFT_WITH_VALUE

Value: 8

Free gift with monetary value.

Generated from protobuf enum FREE_GIFT_WITH_VALUE = 8;

FREE_GIFT_WITH_ITEM_ID

Value: 9

Free gift with item ID.

Generated from protobuf enum FREE_GIFT_WITH_ITEM_ID = 9;

FREE_SHIPPING_STANDARD

Value: 10

Standard free shipping coupon value type.

Generated from protobuf enum FREE_SHIPPING_STANDARD = 10;

FREE_SHIPPING_OVERNIGHT

Value: 11

Overnight free shipping coupon value type.

Generated from protobuf enum FREE_SHIPPING_OVERNIGHT = 11;

FREE_SHIPPING_TWO_DAY

Value: 12

Two day free shipping coupon value type.

Generated from protobuf enum FREE_SHIPPING_TWO_DAY = 12;