Interface ProductAttributes.ProductFeeOrBuilder (1.23.0)

public static interface ProductAttributes.ProductFeeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmount()

public abstract Price getAmount()

The amount of product fee.

.google.shopping.type.Price amount = 2;

Returns
Type Description
com.google.shopping.type.Price

The amount.

getAmountOrBuilder()

public abstract PriceOrBuilder getAmountOrBuilder()

The amount of product fee.

.google.shopping.type.Price amount = 2;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getType()

public abstract ProductAttributes.ProductFee.FeeType getType()

The type of product fee.

.google.shopping.merchant.products.v1.ProductAttributes.ProductFee.FeeType type = 1;

Returns
Type Description
ProductAttributes.ProductFee.FeeType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of product fee.

.google.shopping.merchant.products.v1.ProductAttributes.ProductFee.FeeType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasAmount()

public abstract boolean hasAmount()

The amount of product fee.

.google.shopping.type.Price amount = 2;

Returns
Type Description
boolean

Whether the amount field is set.