Enum LineItemDiscountTypeEnum.LineItemDiscountType (0.10.0)

public enum LineItemDiscountTypeEnum.LineItemDiscountType extends Enum<LineItemDiscountTypeEnum.LineItemDiscountType> implements ProtocolMessageEnum

Describes the possible discount types on the cost of booking a line item.

Protobuf enum google.ads.admanager.v1.LineItemDiscountTypeEnum.LineItemDiscountType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ABSOLUTE_VALUE

An absolute value will be discounted from the line item's cost.

ABSOLUTE_VALUE = 1;

ABSOLUTE_VALUE_VALUE

An absolute value will be discounted from the line item's cost.

ABSOLUTE_VALUE = 1;

LINE_ITEM_DISCOUNT_TYPE_UNSPECIFIED

No value specified

LINE_ITEM_DISCOUNT_TYPE_UNSPECIFIED = 0;

LINE_ITEM_DISCOUNT_TYPE_UNSPECIFIED_VALUE

No value specified

LINE_ITEM_DISCOUNT_TYPE_UNSPECIFIED = 0;

PERCENTAGE

A percentage of the cost will be discounted for booking the line item.

PERCENTAGE = 2;

PERCENTAGE_VALUE

A percentage of the cost will be discounted for booking the line item.

PERCENTAGE = 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()