[BindServiceMethod(typeof(CommerceTransaction), "BindService")]
public abstract class CommerceTransaction.CommerceTransactionBaseReference documentation and code samples for the Cloud Commerce Producer v1beta API class CommerceTransaction.CommerceTransactionBase.
Base class for server-side implementations of CommerceTransaction
Namespace
Google.Cloud.CommerceProducer.V1BetaAssembly
Google.Cloud.CommerceProducer.V1Beta.dll
Methods
CancelPrivateOffer(CancelPrivateOfferRequest, ServerCallContext)
public virtual Task<PrivateOffer> CancelPrivateOffer(CancelPrivateOfferRequest request, ServerCallContext context)Cancels the target PrivateOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelPrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOffer |
The response to send back to the client (wrapped by a task). |
CreatePrivateOffer(CreatePrivateOfferRequest, ServerCallContext)
public virtual Task<PrivateOffer> CreatePrivateOffer(CreatePrivateOfferRequest request, ServerCallContext context)Creates a new PrivateOffer in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOffer |
The response to send back to the client (wrapped by a task). |
CreatePrivateOfferDocument(CreatePrivateOfferDocumentRequest, ServerCallContext)
public virtual Task<PrivateOfferDocument> CreatePrivateOfferDocument(CreatePrivateOfferDocumentRequest request, ServerCallContext context)Creates a new PrivateOfferDocument in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePrivateOfferDocumentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOfferDocument |
The response to send back to the client (wrapped by a task). |
DeletePrivateOffer(DeletePrivateOfferRequest, ServerCallContext)
public virtual Task<Empty> DeletePrivateOffer(DeletePrivateOfferRequest request, ServerCallContext context)Deletes the target PrivateOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
DeletePrivateOfferDocument(DeletePrivateOfferDocumentRequest, ServerCallContext)
public virtual Task<Empty> DeletePrivateOfferDocument(DeletePrivateOfferDocumentRequest request, ServerCallContext context)Deletes the target PrivateOfferDocument.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePrivateOfferDocumentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetPrivateOffer(GetPrivateOfferRequest, ServerCallContext)
public virtual Task<PrivateOffer> GetPrivateOffer(GetPrivateOfferRequest request, ServerCallContext context)Gets details of a single PrivateOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOffer |
The response to send back to the client (wrapped by a task). |
GetPrivateOfferDocument(GetPrivateOfferDocumentRequest, ServerCallContext)
public virtual Task<PrivateOfferDocument> GetPrivateOfferDocument(GetPrivateOfferDocumentRequest request, ServerCallContext context)Gets details of a single PrivateOfferDocument.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPrivateOfferDocumentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOfferDocument |
The response to send back to the client (wrapped by a task). |
GetService(GetServiceRequest, ServerCallContext)
public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskService |
The response to send back to the client (wrapped by a task). |
GetSku(GetSkuRequest, ServerCallContext)
public virtual Task<Sku> GetSku(GetSkuRequest request, ServerCallContext context)Gets details of a single Sku.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSkuRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSku |
The response to send back to the client (wrapped by a task). |
GetSkuGroup(GetSkuGroupRequest, ServerCallContext)
public virtual Task<SkuGroup> GetSkuGroup(GetSkuGroupRequest request, ServerCallContext context)Gets details of a single SkuGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSkuGroupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSkuGroup |
The response to send back to the client (wrapped by a task). |
GetStandardOffer(GetStandardOfferRequest, ServerCallContext)
public virtual Task<StandardOffer> GetStandardOffer(GetStandardOfferRequest request, ServerCallContext context)Gets details of a single StandardOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStandardOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStandardOffer |
The response to send back to the client (wrapped by a task). |
ListPrivateOfferDocuments(ListPrivateOfferDocumentsRequest, ServerCallContext)
public virtual Task<ListPrivateOfferDocumentsResponse> ListPrivateOfferDocuments(ListPrivateOfferDocumentsRequest request, ServerCallContext context)Lists PrivateOfferDocuments for the given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPrivateOfferDocumentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPrivateOfferDocumentsResponse |
The response to send back to the client (wrapped by a task). |
ListPrivateOffers(ListPrivateOffersRequest, ServerCallContext)
public virtual Task<ListPrivateOffersResponse> ListPrivateOffers(ListPrivateOffersRequest request, ServerCallContext context)Lists PrivateOffers for the given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPrivateOffersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPrivateOffersResponse |
The response to send back to the client (wrapped by a task). |
ListServices(ListServicesRequest, ServerCallContext)
public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListServicesResponse |
The response to send back to the client (wrapped by a task). |
ListSkuGroups(ListSkuGroupsRequest, ServerCallContext)
public virtual Task<ListSkuGroupsResponse> ListSkuGroups(ListSkuGroupsRequest request, ServerCallContext context)Lists SkuGroups for the given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkuGroupsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSkuGroupsResponse |
The response to send back to the client (wrapped by a task). |
ListSkus(ListSkusRequest, ServerCallContext)
public virtual Task<ListSkusResponse> ListSkus(ListSkusRequest request, ServerCallContext context)Lists Skus for the given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkusRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSkusResponse |
The response to send back to the client (wrapped by a task). |
ListStandardOffers(ListStandardOffersRequest, ServerCallContext)
public virtual Task<ListStandardOffersResponse> ListStandardOffers(ListStandardOffersRequest request, ServerCallContext context)Lists StandardOffers for the given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStandardOffersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListStandardOffersResponse |
The response to send back to the client (wrapped by a task). |
PublishPrivateOffer(PublishPrivateOfferRequest, ServerCallContext)
public virtual Task<PrivateOffer> PublishPrivateOffer(PublishPrivateOfferRequest request, ServerCallContext context)Publishes the target PrivateOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
PublishPrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOffer |
The response to send back to the client (wrapped by a task). |
ResolveAmendmentTarget(ResolveAmendmentTargetRequest, ServerCallContext)
public virtual Task<ResolveAmendmentTargetResponse> ResolveAmendmentTarget(ResolveAmendmentTargetRequest request, ServerCallContext context)Resolves the existing offer that must be amended when creating a new PrivateOffer. Use this method to determine the correct amendment target before creating or publishing an offer.
| Parameters | |
|---|---|
| Name | Description |
request |
ResolveAmendmentTargetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResolveAmendmentTargetResponse |
The response to send back to the client (wrapped by a task). |
UpdatePrivateOffer(UpdatePrivateOfferRequest, ServerCallContext)
public virtual Task<PrivateOffer> UpdatePrivateOffer(UpdatePrivateOfferRequest request, ServerCallContext context)Updates the target PrivateOffer.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePrivateOfferRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOffer |
The response to send back to the client (wrapped by a task). |
UpdatePrivateOfferDocument(UpdatePrivateOfferDocumentRequest, ServerCallContext)
public virtual Task<PrivateOfferDocument> UpdatePrivateOfferDocument(UpdatePrivateOfferDocumentRequest request, ServerCallContext context)Updates the target PrivateOfferDocument.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePrivateOfferDocumentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPrivateOfferDocument |
The response to send back to the client (wrapped by a task). |