Google Shopping Merchant Accounts V1beta Client - Class CreateCheckoutSettingsRequest (0.9.0)

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

Request message for the CreateCheckoutSettings method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The merchant account for which the CheckoutSettings will be created.

↳ checkout_settings CheckoutSettings

Required. The CheckoutSettings object to create.

getParent

Required. The merchant account for which the CheckoutSettings will be created.

Returns
Type Description
string

setParent

Required. The merchant account for which the CheckoutSettings will be created.

Parameter
Name Description
var string
Returns
Type Description
$this

getCheckoutSettings

Required. The CheckoutSettings object to create.

Returns
Type Description
CheckoutSettings|null

hasCheckoutSettings

clearCheckoutSettings

setCheckoutSettings

Required. The CheckoutSettings object to create.

Parameter
Name Description
var CheckoutSettings
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The merchant account for which the CheckoutSettings will be created. Please see CheckoutSettingsServiceClient::programName() for help formatting this field.

checkoutSettings CheckoutSettings

Required. The CheckoutSettings object to create.

Returns
Type Description
CreateCheckoutSettingsRequest