Google Shopping Merchant Products V1 Client - Class PickupCost (1.7.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class PickupCost.

The pickup cost of the item.

Generated from protobuf message google.shopping.merchant.products.v1.PickupCost

Namespace

Google \ Shopping \ Merchant \ Products \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ flat_rate Google\Shopping\Type\Price

Required. The flat rate pickup cost of the item.

↳ free_threshold Google\Shopping\Type\Price

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

getFlatRate

Required. The flat rate pickup cost of the item.

Returns
Type Description
Google\Shopping\Type\Price|null

hasFlatRate

clearFlatRate

setFlatRate

Required. The flat rate pickup cost of the item.

Parameter
Name Description
var Google\Shopping\Type\Price
Returns
Type Description
$this

getFreeThreshold

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

Returns
Type Description
Google\Shopping\Type\Price|null

hasFreeThreshold

clearFreeThreshold

setFreeThreshold

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

Parameter
Name Description
var Google\Shopping\Type\Price
Returns
Type Description
$this