Google Shopping Merchant Order Tracking V1beta Client - Class CreateOrderTrackingSignalRequest (0.1.1)

Reference documentation and code samples for the Google Shopping Merchant Order Tracking V1beta Client class CreateOrderTrackingSignalRequest.

Signals only can be created but not updated.

Businesses need to call this API only when the order is completely shipped. Creates new order signal.

Generated from protobuf message google.shopping.merchant.ordertracking.v1beta.CreateOrderTrackingSignalRequest

Namespace

Google \ Shopping \ Merchant \ OrderTracking \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account of the business for which the order signal is created. Format: accounts/{account}

↳ order_tracking_signal_id string

Output only. The ID that uniquely identifies this order tracking signal.

↳ order_tracking_signal OrderTrackingSignal

Required. The order signal to be created.

getParent

Required. The account of the business for which the order signal is created. Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The account of the business for which the order signal is created. Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderTrackingSignalId

Output only. The ID that uniquely identifies this order tracking signal.

Returns
Type Description
string

setOrderTrackingSignalId

Output only. The ID that uniquely identifies this order tracking signal.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderTrackingSignal

Required. The order signal to be created.

Returns
Type Description
OrderTrackingSignal|null

hasOrderTrackingSignal

clearOrderTrackingSignal

setOrderTrackingSignal

Required. The order signal to be created.

Parameter
Name Description
var OrderTrackingSignal
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The account of the business for which the order signal is created. Format: accounts/{account} Please see OrderTrackingSignalsServiceClient::accountName() for help formatting this field.

orderTrackingSignalId string

Output only. The ID that uniquely identifies this order tracking signal.

Returns
Type Description
CreateOrderTrackingSignalRequest