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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConsumerProcurementService\u003c/code\u003e class, part of the Google Cloud Commerce Consumer Procurement v1 API, facilitates customer purchases of products via the Cloud Commerce platform.\u003c/p\u003e\n"],["\u003cp\u003eThis service handles the programming of backends for purchases, including Google's infrastructure and third-party systems, as well as enabling billing setup.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConsumerProcurementService\u003c/code\u003e class has several versions, with 1.4.0 being the latest release available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBindService\u003c/code\u003e methods within the \u003ccode\u003eConsumerProcurementService\u003c/code\u003e class are used to register service definitions or methods with a server or service binder, requiring an object implementing server-side logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConsumerProcurementService\u003c/code\u003e class inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, including methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class ConsumerProcurementService (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ConsumerProcurementService) \n\n public static class ConsumerProcurementService\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class ConsumerProcurementService.\n\nConsumerProcurementService allows customers to make purchases of products\nserved by the Cloud Commerce platform.\n\nWhen purchases are made, the\n\\[ConsumerProcurementService\\]\\[google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService\\]\nprograms the appropriate backends, including both Google's own\ninfrastructure, as well as third-party systems, and to enable billing setup\nfor charging for the procured item. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConsumerProcurementService \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Commerce.Consumer.Procurement.V1](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\n\nMethods\n-------\n\n### BindService(ConsumerProcurementServiceBase)\n\n public static ServerServiceDefinition BindService(ConsumerProcurementService.ConsumerProcurementServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, ConsumerProcurementServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, ConsumerProcurementService.ConsumerProcurementServiceBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]