Class InappproductsResource.InsertRequest
Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See this article for more information.
Inheritance
InappproductsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InappproductsResource.InsertRequest : AndroidPublisherBaseServiceRequest<InAppProduct>, IClientServiceRequest<InAppProduct>, IClientServiceRequest
Constructors
InsertRequest(IClientService, InAppProduct, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, InAppProduct body, string packageName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
InAppProduct | body | |
string | packageName |
Properties
AutoConvertMissingPrices
If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
Declaration
[RequestParameter("autoConvertMissingPrices", RequestParameterType.Query)]
public virtual bool? AutoConvertMissingPrices { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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
Package name of the app.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { 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 Insert parameter list.
Declaration
protected override void InitParameters()