Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.CancelRequest
Cancels a one-time product offer.
Inheritance
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.CancelRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.CancelRequest : AndroidPublisherBaseServiceRequest<OneTimeProductOffer>, IClientServiceRequest<OneTimeProductOffer>, IClientServiceRequest
Constructors
CancelRequest(IClientService, CancelOneTimeProductOfferRequest, string, string, string, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, CancelOneTimeProductOfferRequest body, string packageName, string productId, string purchaseOptionId, string offerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CancelOneTimeProductOfferRequest | body | |
| string | packageName | |
| string | productId | |
| string | purchaseOptionId | |
| string | offerId |
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
OfferId
Required. The offer ID of the offer to cancel.
Declaration
[RequestParameter("offerId", RequestParameterType.Path)]
public virtual string OfferId { get; }
Property Value
| Type | Description |
|---|---|
| string |
PackageName
Required. The parent app (package name) of the offer to cancel.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The parent one-time product (ID) of the offer to cancel.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
| Type | Description |
|---|---|
| string |
PurchaseOptionId
Required. The parent purchase option (ID) of the offer to cancel.
Declaration
[RequestParameter("purchaseOptionId", RequestParameterType.Path)]
public virtual string PurchaseOptionId { 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 Cancel parameter list.
Declaration
protected override void InitParameters()