Class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.BatchGetRequest
Reads one or more subscription offers.
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.BatchGetRequest : AndroidPublisherBaseServiceRequest<BatchGetSubscriptionOffersResponse>, IClientServiceRequest<BatchGetSubscriptionOffersResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService, BatchGetSubscriptionOffersRequest, string, string, string)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service, BatchGetSubscriptionOffersRequest body, string packageName, string productId, string basePlanId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchGetSubscriptionOffersRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId |
Properties
BasePlanId
Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read offers from multiple base plans.
Declaration
[RequestParameter("basePlanId", RequestParameterType.Path)]
public virtual string BasePlanId { get; }
Property Value
Type | Description |
---|---|
string |
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) for which the subscriptions should be created or updated. Must be equal to the package_name field on all the requests.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this request spans multiple subscriptions, set this field to "-". Must be set.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { 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 BatchGet parameter list.
Declaration
protected override void InitParameters()