Class protos.google.shopping.merchant.accounts.v1.CheckoutSettingsService (3.2.0)

Represents a CheckoutSettingsService

Inheritance

$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1.CheckoutSettingsService

Package

@google-shopping/accounts

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CheckoutSettingsService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CheckoutSettingsService;

Creates new CheckoutSettingsService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
CheckoutSettingsService

RPC service. Useful where requests and/or responses are streamed.

createCheckoutSettings(request, callback)

public createCheckoutSettings(request: google.shopping.merchant.accounts.v1.ICreateCheckoutSettingsRequest, callback: google.shopping.merchant.accounts.v1.CheckoutSettingsService.CreateCheckoutSettingsCallback): void;

Calls CreateCheckoutSettings.

Parameters
Name Description
request ICreateCheckoutSettingsRequest

CreateCheckoutSettingsRequest message or plain object

callback CreateCheckoutSettingsCallback

Node-style callback called with the error, if any, and CheckoutSettings

Returns
Type Description
void

createCheckoutSettings(request)

public createCheckoutSettings(request: google.shopping.merchant.accounts.v1.ICreateCheckoutSettingsRequest): Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>;

Calls CreateCheckoutSettings.

Parameter
Name Description
request ICreateCheckoutSettingsRequest

CreateCheckoutSettingsRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>

Promise

deleteCheckoutSettings(request, callback)

public deleteCheckoutSettings(request: google.shopping.merchant.accounts.v1.IDeleteCheckoutSettingsRequest, callback: google.shopping.merchant.accounts.v1.CheckoutSettingsService.DeleteCheckoutSettingsCallback): void;

Calls DeleteCheckoutSettings.

Parameters
Name Description
request IDeleteCheckoutSettingsRequest

DeleteCheckoutSettingsRequest message or plain object

callback DeleteCheckoutSettingsCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteCheckoutSettings(request)

public deleteCheckoutSettings(request: google.shopping.merchant.accounts.v1.IDeleteCheckoutSettingsRequest): Promise<google.protobuf.Empty>;

Calls DeleteCheckoutSettings.

Parameter
Name Description
request IDeleteCheckoutSettingsRequest

DeleteCheckoutSettingsRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

getCheckoutSettings(request, callback)

public getCheckoutSettings(request: google.shopping.merchant.accounts.v1.IGetCheckoutSettingsRequest, callback: google.shopping.merchant.accounts.v1.CheckoutSettingsService.GetCheckoutSettingsCallback): void;

Calls GetCheckoutSettings.

Parameters
Name Description
request IGetCheckoutSettingsRequest

GetCheckoutSettingsRequest message or plain object

callback GetCheckoutSettingsCallback

Node-style callback called with the error, if any, and CheckoutSettings

Returns
Type Description
void

getCheckoutSettings(request)

public getCheckoutSettings(request: google.shopping.merchant.accounts.v1.IGetCheckoutSettingsRequest): Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>;

Calls GetCheckoutSettings.

Parameter
Name Description
request IGetCheckoutSettingsRequest

GetCheckoutSettingsRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>

Promise

updateCheckoutSettings(request, callback)

public updateCheckoutSettings(request: google.shopping.merchant.accounts.v1.IUpdateCheckoutSettingsRequest, callback: google.shopping.merchant.accounts.v1.CheckoutSettingsService.UpdateCheckoutSettingsCallback): void;

Calls UpdateCheckoutSettings.

Parameters
Name Description
request IUpdateCheckoutSettingsRequest

UpdateCheckoutSettingsRequest message or plain object

callback UpdateCheckoutSettingsCallback

Node-style callback called with the error, if any, and CheckoutSettings

Returns
Type Description
void

updateCheckoutSettings(request)

public updateCheckoutSettings(request: google.shopping.merchant.accounts.v1.IUpdateCheckoutSettingsRequest): Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>;

Calls UpdateCheckoutSettings.

Parameter
Name Description
request IUpdateCheckoutSettingsRequest

UpdateCheckoutSettingsRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1.CheckoutSettings>

Promise