Class BuyersResource.ProposalsResource.CancelNegotiationRequest
Cancels an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the
proposal has been finalized. If the proposal has not been finalized before, calling this method will set
the Proposal.state to TERMINATED
and increment the Proposal.proposal_revision. If the proposal has
been finalized before and is under renegotiation now, calling this method will reset the Proposal.state
to FINALIZED
and increment the Proposal.proposal_revision. This method does not support private
auction proposals whose Proposal.deal_type is 'PRIVATE_AUCTION'.
Inheritance
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1.dll
Syntax
public class BuyersResource.ProposalsResource.CancelNegotiationRequest : AuthorizedBuyersMarketplaceBaseServiceRequest<Proposal>, IClientServiceRequest<Proposal>, IClientServiceRequest
Constructors
CancelNegotiationRequest(IClientService, CancelNegotiationRequest, string)
Constructs a new CancelNegotiation request.
Declaration
public CancelNegotiationRequest(IClientService service, CancelNegotiationRequest body, string proposal)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CancelNegotiationRequest | body | |
string | proposal |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Proposal
Name of the proposal. Format: buyers/{accountId}/proposals/{proposalId}
Declaration
[RequestParameter("proposal", RequestParameterType.Path)]
public virtual string Proposal { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CancelNegotiation parameter list.
Declaration
protected override void InitParameters()