Purchase
The Purchase struct is designed to mimic the Purchase almost exactly as provided by the Google Play Billing SDK for the Billing service. It contains various information about the the purchase of an in-app product.
The Purchase struct contains an additional struct to mimic the libraries representation of information and represent the purchases information. The additiona struct is FAccountIdentifiers.
FPurchase
Field | Type | Description |
---|---|---|
PurchaseState | EPurchaseState | The processing state of the purchase. |
Quantity | int32 | The quantity of the purchased product. |
PurchaseTime | int64 | The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970). |
AccountIdentifiers | FAccountIdentifiers | The obfuscated account identifiers that were provided when the purchase was made. |
DeveloperPayload | FString | The payload specified when the purchase was acknowledged or consumed. |
OrderId | FString | The unique order identifier for the transaction. |
PackageName | FString | The application package from which the purchase originated. |
PurchaseToken | FString | A token that uniquely identifies a purchase for a given item and user pair. |
Signature | FString | A String containing the signature of the purchase data that was signed with the private key of the developer. |
Products | TArray<FString> | The product Ids. |
isAcknowledged | bool | Indicates whether the purchase has been acknowledged. |
isAutoRenewing | bool | Indicates whether the subscription renews automatically. |
FAccountIdentifiers
Field | Type | Description |
---|---|---|
ObfuscatedAccountId | FString | The obfuscated account id. |
ObfuscatedProfileId | FString | The obfuscated profile id. |