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

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 Address

Required. Shipping address of the warehouse.

↳ cutoff_time 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 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
Address|null

hasShippingAddress

clearShippingAddress

setShippingAddress

Required. Shipping address of the warehouse.

Parameter
Name Description
var 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
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 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
BusinessDayConfig|null

hasBusinessDayConfig

clearBusinessDayConfig

setBusinessDayConfig

Business days of the warehouse.

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

Parameter
Name Description
var BusinessDayConfig
Returns
Type Description
$this