1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 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](https://learn.microsoft.com/dotnet/api/system.object) \> ConsumerProcurementService

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Commerce.Consumer.Procurement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.md.txt)

## 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** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `ConsumerProcurementServiceConsumerProcurementServiceBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `ServiceBinderBase` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `ConsumerProcurementServiceConsumerProcurementServiceBase` An object implementing the server-side handling logic. |