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

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

URL settings for cart or checkout URL.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ checkout_uri_template string

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

↳ cart_uri_template string

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

getCheckoutUriTemplate

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

Returns
Type Description
string

hasCheckoutUriTemplate

setCheckoutUriTemplate

Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc

Parameter
Name Description
var string
Returns
Type Description
$this

getCartUriTemplate

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

Returns
Type Description
string

hasCartUriTemplate

setCartUriTemplate

Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc

Parameter
Name Description
var string
Returns
Type Description
$this

getUriTemplate

Returns
Type Description
string