Show / Hide Table of Contents

Class ProductPurchaseV2

A ProductPurchaseV2 resource indicates the status of a user's inapp product purchase.

Inheritance
object
ProductPurchaseV2
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class ProductPurchaseV2 : IDirectResponseSchema

Properties

AcknowledgementState

Output only. The acknowledgement state of the purchase.

Declaration
[JsonProperty("acknowledgementState")]
public virtual string AcknowledgementState { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Kind

This kind represents a ProductPurchaseV2 object in the androidpublisher service.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

ObfuscatedExternalAccountId

An obfuscated version of the id that is uniquely associated with the user's account in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.

Declaration
[JsonProperty("obfuscatedExternalAccountId")]
public virtual string ObfuscatedExternalAccountId { get; set; }
Property Value
Type Description
string

ObfuscatedExternalProfileId

An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.

Declaration
[JsonProperty("obfuscatedExternalProfileId")]
public virtual string ObfuscatedExternalProfileId { get; set; }
Property Value
Type Description
string

OrderId

The order id associated with the purchase of the inapp product. May not be set if there is no order associated with the purchase.

Declaration
[JsonProperty("orderId")]
public virtual string OrderId { get; set; }
Property Value
Type Description
string

ProductLineItem

Contains item-level info for a ProductPurchaseV2.

Declaration
[JsonProperty("productLineItem")]
public virtual IList<ProductLineItem> ProductLineItem { get; set; }
Property Value
Type Description
IList<ProductLineItem>

PurchaseCompletionTime

object representation of PurchaseCompletionTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PurchaseCompletionTimeDateTimeOffset instead.")]
public virtual object PurchaseCompletionTime { get; set; }
Property Value
Type Description
object

PurchaseCompletionTimeDateTimeOffset

DateTimeOffset representation of PurchaseCompletionTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? PurchaseCompletionTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

PurchaseCompletionTimeRaw

The time when the purchase was successful, i.e., when the PurchaseState has changed to PURCHASED. This field will not be present until the payment is complete. For example, if the user initiated a pending transaction (https://developer.android.com/google/play/billing/integrate#pending), this field will not be populated until the user successfully completes the steps required to complete the transaction.

Declaration
[JsonProperty("purchaseCompletionTime")]
public virtual string PurchaseCompletionTimeRaw { get; set; }
Property Value
Type Description
string

PurchaseStateContext

Information about the purchase state of the purchase.

Declaration
[JsonProperty("purchaseStateContext")]
public virtual PurchaseStateContext PurchaseStateContext { get; set; }
Property Value
Type Description
PurchaseStateContext

RegionCode

ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.

Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
Type Description
string

TestPurchaseContext

Information related to test purchases. This will only be set for test purchases.

Declaration
[JsonProperty("testPurchaseContext")]
public virtual TestPurchaseContext TestPurchaseContext { get; set; }
Property Value
Type Description
TestPurchaseContext

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX