Class PlayerPurchaseGoogleplaystoreResponseVerification
PlayerPurchaseGoogleplaystoreResponseVerification
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "player_purchase_googleplaystore_response_verification")]
[Preserve]
public class PlayerPurchaseGoogleplaystoreResponseVerification
Constructors
PlayerPurchaseGoogleplaystoreResponseVerification(StatusEnum, PlayerPurchaseGoogleplaystoreResponseVerificationStore)
Initializes a new instance of the PlayerPurchaseGoogleplaystoreResponseVerification class.
Declaration
[Preserve]
public PlayerPurchaseGoogleplaystoreResponseVerification(PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum status = (PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum)0, PlayerPurchaseGoogleplaystoreResponseVerificationStore store = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum | status | Status of the receipt verification. * |
| PlayerPurchaseGoogleplaystoreResponseVerificationStore | store | store (required). |
Properties
Status
Status of the receipt verification. * VALID: The purchase was valid. * VALID_NOT_REDEEMED: The purchase was valid but seen before, and had not yet been redeemed. * INVALID_ALREADY_REDEEMED: The purchase has already been redeemed. * INVALID_VERIFICATION_FAILED: The receipt verification Service returned that the receipt data was not valid. * INVALID_ANOTHER_PLAYER: The receipt has previously been used by a different player and validated. * INVALID_CONFIGURATION: The service configuration is invalid, further information in the details section of the response. * INVALID_PRODUCT_ID_MISMATCH: The purchase configuration store product identifier does not match the one in the receipt. * CURRENCY_MAX_EXCEEDED: Could not add the rewards because one or more currencies would be taken over the specified maximum balance.
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum | Status of the receipt verification. * |
Store
Gets or Sets Store
Declaration
[DataMember(Name = "store", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public PlayerPurchaseGoogleplaystoreResponseVerificationStore Store { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayerPurchaseGoogleplaystoreResponseVerificationStore |