@Generated(value="by gapic-generator-java")
See: Description
| Class | Description |
|---|---|
| ConsumerProcurementServiceClient |
Service Description: ConsumerProcurementService allows customers to make purchases of products
served by the Cloud Commerce platform.
|
| ConsumerProcurementServiceClient.ListOrdersFixedSizeCollection | |
| ConsumerProcurementServiceClient.ListOrdersPage | |
| ConsumerProcurementServiceClient.ListOrdersPagedResponse | |
| ConsumerProcurementServiceSettings |
Settings class to configure an instance of
ConsumerProcurementServiceClient. |
| ConsumerProcurementServiceSettings.Builder |
Builder for ConsumerProcurementServiceSettings.
|
The interfaces provided are listed below, along with usage samples.
======================= ConsumerProcurementServiceClient =======================
Service Description: 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.v1alpha1.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.
Sample for ConsumerProcurementServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConsumerProcurementServiceClient consumerProcurementServiceClient =
ConsumerProcurementServiceClient.create()) {
GetOrderRequest request = GetOrderRequest.newBuilder().setName("name3373707").build();
Order response = consumerProcurementServiceClient.getOrder(request);
}
Copyright © 2022 Google LLC. All rights reserved.