class FreelistingsprogramCheckoutsettings extends Resource (View source)

The "checkoutsettings" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $checkoutsettings = $contentService->freelistingsprogram_checkoutsettings;

Methods

delete(string $merchantId, array $optParams = [])

Deletes Checkout settings and unenrolls merchant from Checkout program.

get(string $merchantId, array $optParams = [])

Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings. (checkoutsettings.get)

insert(string $merchantId, InsertCheckoutSettingsRequest $postBody, array $optParams = [])

Enrolls merchant in Checkout program. (checkoutsettings.insert)

Details

delete(string $merchantId, array $optParams = [])

Deletes Checkout settings and unenrolls merchant from Checkout program.

(checkoutsettings.delete)

Parameters

string $merchantId

Required. The ID of the account.

array $optParams

Optional parameters.

Exceptions

Exception

CheckoutSettings get(string $merchantId, array $optParams = [])

Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings. (checkoutsettings.get)

Parameters

string $merchantId

Required. The ID of the account.

array $optParams

Optional parameters.

Return Value

CheckoutSettings

Exceptions

Exception

CheckoutSettings insert(string $merchantId, InsertCheckoutSettingsRequest $postBody, array $optParams = [])

Enrolls merchant in Checkout program. (checkoutsettings.insert)

Parameters

string $merchantId

Required. The ID of the account.

InsertCheckoutSettingsRequest $postBody
array $optParams

Optional parameters.

Return Value

CheckoutSettings

Exceptions

Exception