Google Shopping Merchant Accounts V1beta Client - Class Warehouse (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Warehouse.

A fulfillment warehouse, which stores and handles inventory.

Next tag: 7

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Warehouse

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the warehouse. Must be unique within account.

↳ shipping_address Google\Shopping\Merchant\Accounts\V1beta\Address

Required. Shipping address of the warehouse.

↳ cutoff_time Google\Shopping\Merchant\Accounts\V1beta\WarehouseCutoffTime

Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.

↳ handling_days int|string

Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.

↳ business_day_config Google\Shopping\Merchant\Accounts\V1beta\BusinessDayConfig

Business days of the warehouse. If not set, will be Monday to Friday by default.

getName

Required. The name of the warehouse. Must be unique within account.

Returns
Type Description
string

hasName

clearName

setName

Required. The name of the warehouse. Must be unique within account.

Parameter
Name Description
var string
Returns
Type Description
$this

getShippingAddress

Required. Shipping address of the warehouse.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\Address|null

hasShippingAddress

clearShippingAddress

setShippingAddress

Required. Shipping address of the warehouse.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\Address
Returns
Type Description
$this

getCutoffTime

Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\WarehouseCutoffTime|null

hasCutoffTime

clearCutoffTime

setCutoffTime

Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\WarehouseCutoffTime
Returns
Type Description
$this

getHandlingDays

Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.

Returns
Type Description
int|string

hasHandlingDays

clearHandlingDays

setHandlingDays

Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBusinessDayConfig

Business days of the warehouse.

If not set, will be Monday to Friday by default.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\BusinessDayConfig|null

hasBusinessDayConfig

clearBusinessDayConfig

setBusinessDayConfig

Business days of the warehouse.

If not set, will be Monday to Friday by default.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\BusinessDayConfig
Returns
Type Description
$this