Interface OnlineReturnPolicy.ReturnShippingFeeOrBuilder (0.3.0)

public static interface OnlineReturnPolicy.ReturnShippingFeeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFixedFee()

public abstract Price getFixedFee()

Fixed return shipping fee amount. This value is only applicable when type is FIXED. We will treat the return shipping fee as free if type is FIXED and this value is not set.

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

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

The fixedFee.

getFixedFeeOrBuilder()

public abstract PriceOrBuilder getFixedFeeOrBuilder()

Fixed return shipping fee amount. This value is only applicable when type is FIXED. We will treat the return shipping fee as free if type is FIXED and this value is not set.

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

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

getType()

public abstract OnlineReturnPolicy.ReturnShippingFee.Type getType()

Type of return shipping fee.

.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee.Type type = 1;

Returns
Type Description
OnlineReturnPolicy.ReturnShippingFee.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Type of return shipping fee.

.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasFixedFee()

public abstract boolean hasFixedFee()

Fixed return shipping fee amount. This value is only applicable when type is FIXED. We will treat the return shipping fee as free if type is FIXED and this value is not set.

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

Returns
Type Description
boolean

Whether the fixedFee field is set.