Interface PickupCostOrBuilder (1.23.0)

public interface PickupCostOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFlatRate()

public abstract Price getFlatRate()

Required. The flat rate pickup cost of the item.

optional .google.shopping.type.Price flat_rate = 1 [(.google.api.field_behavior) = REQUIRED];

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

The flatRate.

getFlatRateOrBuilder()

public abstract PriceOrBuilder getFlatRateOrBuilder()

Required. The flat rate pickup cost of the item.

optional .google.shopping.type.Price flat_rate = 1 [(.google.api.field_behavior) = REQUIRED];

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

getFreeThreshold()

public abstract Price getFreeThreshold()

Optional. The price threshold above which pickup is free of charge.

optional .google.shopping.type.Price free_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

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

The freeThreshold.

getFreeThresholdOrBuilder()

public abstract PriceOrBuilder getFreeThresholdOrBuilder()

Optional. The price threshold above which pickup is free of charge.

optional .google.shopping.type.Price free_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

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

hasFlatRate()

public abstract boolean hasFlatRate()

Required. The flat rate pickup cost of the item.

optional .google.shopping.type.Price flat_rate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the flatRate field is set.

hasFreeThreshold()

public abstract boolean hasFreeThreshold()

Optional. The price threshold above which pickup is free of charge.

optional .google.shopping.type.Price free_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the freeThreshold field is set.