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

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

Request message for the UpdateCheckoutSettings method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ checkout_settings CheckoutSettings

Required. The updated version of the CheckoutSettings. The name field is used to identify the CheckoutSettings. Format: accounts/{account}/programs/{program}/checkoutSettings

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase): - eligible_destinations - uri_settings

getCheckoutSettings

Required. The updated version of the CheckoutSettings.

The name field is used to identify the CheckoutSettings. Format: accounts/{account}/programs/{program}/checkoutSettings

Returns
Type Description
CheckoutSettings|null

hasCheckoutSettings

clearCheckoutSettings

setCheckoutSettings

Required. The updated version of the CheckoutSettings.

The name field is used to identify the CheckoutSettings. Format: accounts/{account}/programs/{program}/checkoutSettings

Parameter
Name Description
var CheckoutSettings
Returns
Type Description
$this

getUpdateMask

Required. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase):

  • eligible_destinations
  • uri_settings
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase):

  • eligible_destinations
  • uri_settings
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
checkoutSettings CheckoutSettings

Required. The updated version of the CheckoutSettings. The name field is used to identify the CheckoutSettings. Format: accounts/{account}/programs/{program}/checkoutSettings

updateMask Google\Protobuf\FieldMask

Required. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase):

  • eligible_destinations
  • uri_settings
Returns
Type Description
UpdateCheckoutSettingsRequest