Class OneTimeProductOffer
A single offer for a one-time product.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class OneTimeProductOffer : IDirectResponseSchema
Properties
DiscountedOffer
A discounted offer.
Declaration
[JsonProperty("discountedOffer")]
public virtual OneTimeProductDiscountedOffer DiscountedOffer { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductDiscountedOffer |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfferId
Required. Immutable. The ID of this product offer. Must be unique within the purchase option. 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("offerId")]
public virtual string OfferId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfferTags
Optional. List of up to 20 custom tags specified for this offer, and returned to the app through the billing library.
Declaration
[JsonProperty("offerTags")]
public virtual IList<OfferTag> OfferTags { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<OfferTag> |
PackageName
Required. Immutable. The package name of the app the parent product belongs to.
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreOrderOffer
A pre-order offer.
Declaration
[JsonProperty("preOrderOffer")]
public virtual OneTimeProductPreOrderOffer PreOrderOffer { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductPreOrderOffer |
ProductId
Required. Immutable. The ID of the parent product this offer belongs to.
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PurchaseOptionId
Required. Immutable. The ID of the purchase option to which this offer is an extension.
Declaration
[JsonProperty("purchaseOptionId")]
public virtual string PurchaseOptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegionalPricingAndAvailabilityConfigs
Set of regional pricing and availability information for this offer. Must not have duplicate entries with the same region_code.
Declaration
[JsonProperty("regionalPricingAndAvailabilityConfigs")]
public virtual IList<OneTimeProductOfferRegionalPricingAndAvailabilityConfig> RegionalPricingAndAvailabilityConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<OneTimeProductOfferRegionalPricingAndAvailabilityConfig> |
RegionsVersion
Output only. The version of the regions configuration that was used to generate the one-time product offer.
Declaration
[JsonProperty("regionsVersion")]
public virtual RegionsVersion RegionsVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| RegionsVersion |
State
Output only. The current state of this offer. 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 |