Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateRequest
Creates or updates one or more one-time product offers.
Inheritance
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateRequest : AndroidPublisherBaseServiceRequest<BatchUpdateOneTimeProductOffersResponse>, IClientServiceRequest<BatchUpdateOneTimeProductOffersResponse>, IClientServiceRequest
Constructors
BatchUpdateRequest(IClientService, BatchUpdateOneTimeProductOffersRequest, string, string, string)
Constructs a new BatchUpdate request.
Declaration
public BatchUpdateRequest(IClientService service, BatchUpdateOneTimeProductOffersRequest body, string packageName, string productId, string purchaseOptionId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchUpdateOneTimeProductOffersRequest | body | |
| string | packageName | |
| string | productId | |
| string | purchaseOptionId |
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
PackageName
Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to "-".
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
| Type | Description |
|---|---|
| string |
PurchaseOptionId
Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.
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 BatchUpdate parameter list.
Declaration
protected override void InitParameters()