Cloud Commerce Consumer Procurement v1 API - Class ConsumerProcurementService (1.0.0)

public static class ConsumerProcurementService

Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class ConsumerProcurementService.

ConsumerProcurementService allows customers to make purchases of products served by the Cloud Commerce platform.

When purchases are made, the [ConsumerProcurementService][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService] programs the appropriate backends, including both Google's own infrastructure, as well as third-party systems, and to enable billing setup for charging for the procured item.

Inheritance

object > ConsumerProcurementService

Namespace

Google.Cloud.Commerce.Consumer.Procurement.V1

Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

Methods

BindService(ConsumerProcurementServiceBase)

public static ServerServiceDefinition BindService(ConsumerProcurementService.ConsumerProcurementServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplConsumerProcurementServiceConsumerProcurementServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ConsumerProcurementServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ConsumerProcurementService.ConsumerProcurementServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplConsumerProcurementServiceConsumerProcurementServiceBase

An object implementing the server-side handling logic.