Google Shopping Merchant Products V1 Client - Class HandlingCutoffTime (1.3.0)

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

Configuration for offer or offer-country level shipping handling cutoff time.

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

Namespace

Google \ Shopping \ Merchant \ Products \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ country string

The CLDR territory code of the country to which the handling cutoff time applies.

↳ cutoff_time string

The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. 1530) for 3:30 PM. If not configured, the cutoff time will be defaulted to 8AM PST.

↳ cutoff_timezone string

Timezone identifier For example 'Europe/Zurich'. If not set, the shipping destination timezone will be used.

↳ disable_delivery_after_cutoff bool

This field only applies to same-day delivery. If true, prevents next-day delivery from being shown for this offer after the cutoff time. This field only applies to same-day delivery offers, for merchants who want to explicitly disable it.

getCountry

The CLDR territory code of the country to which the handling cutoff time applies.

Returns
Type Description
string

hasCountry

clearCountry

setCountry

The CLDR territory code of the country to which the handling cutoff time applies.

Parameter
Name Description
var string
Returns
Type Description
$this

getCutoffTime

The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. 1530) for 3:30 PM.

If not configured, the cutoff time will be defaulted to 8AM PST.

Returns
Type Description
string

hasCutoffTime

clearCutoffTime

setCutoffTime

The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. 1530) for 3:30 PM.

If not configured, the cutoff time will be defaulted to 8AM PST.

Parameter
Name Description
var string
Returns
Type Description
$this

getCutoffTimezone

Timezone identifier For example 'Europe/Zurich'. If not set, the shipping destination timezone will be used.

Returns
Type Description
string

hasCutoffTimezone

clearCutoffTimezone

setCutoffTimezone

Timezone identifier For example 'Europe/Zurich'. If not set, the shipping destination timezone will be used.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisableDeliveryAfterCutoff

This field only applies to same-day delivery. If true, prevents next-day delivery from being shown for this offer after the cutoff time. This field only applies to same-day delivery offers, for merchants who want to explicitly disable it.

Returns
Type Description
bool

hasDisableDeliveryAfterCutoff

clearDisableDeliveryAfterCutoff

setDisableDeliveryAfterCutoff

This field only applies to same-day delivery. If true, prevents next-day delivery from being shown for this offer after the cutoff time. This field only applies to same-day delivery offers, for merchants who want to explicitly disable it.

Parameter
Name Description
var bool
Returns
Type Description
$this