Class OneTimeProductPurchaseOption
A single purchase option for a one-time product.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class OneTimeProductPurchaseOption : IDirectResponseSchema
Properties
BuyOption
A purchase option that can be bought.
Declaration
[JsonProperty("buyOption")]
public virtual OneTimeProductBuyPurchaseOption BuyOption { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductBuyPurchaseOption |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NewRegionsConfig
Pricing information for any new locations Play may launch in the future. If omitted, the purchase option will not be automatically available in any new locations Play may launch in the future.
Declaration
[JsonProperty("newRegionsConfig")]
public virtual OneTimeProductPurchaseOptionNewRegionsConfig NewRegionsConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductPurchaseOptionNewRegionsConfig |
OfferTags
Optional. List of up to 20 custom tags specified for this purchase option, and returned to the app through the billing library. Offers for this purchase option will also receive these tags in the billing library.
Declaration
[JsonProperty("offerTags")]
public virtual IList<OfferTag> OfferTags { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<OfferTag> |
PurchaseOptionId
Required. Immutable. The unique identifier of this purchase option. Must be unique within the one-time product. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters.
Declaration
[JsonProperty("purchaseOptionId")]
public virtual string PurchaseOptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegionalPricingAndAvailabilityConfigs
Regional pricing and availability information for this purchase option.
Declaration
[JsonProperty("regionalPricingAndAvailabilityConfigs")]
public virtual IList<OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig> RegionalPricingAndAvailabilityConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig> |
RentOption
A purchase option that can be rented.
Declaration
[JsonProperty("rentOption")]
public virtual OneTimeProductRentPurchaseOption RentOption { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductRentPurchaseOption |
State
Output only. The state of the purchase option, i.e., whether it's active. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TaxAndComplianceSettings
Optional. Details about taxes and legal compliance.
Declaration
[JsonProperty("taxAndComplianceSettings")]
public virtual PurchaseOptionTaxAndComplianceSettings TaxAndComplianceSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| PurchaseOptionTaxAndComplianceSettings |