Class ErrorResponsePurchaseGoogleplaystoreFailed
An error response sent back upon a redeem Google Play purchase.
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "error-response-purchase-googleplaystore-failed")]
[Preserve]
public class ErrorResponsePurchaseGoogleplaystoreFailed
  Constructors
ErrorResponsePurchaseGoogleplaystoreFailed(string, string, int, int, string, string, PlayerPurchaseGoogleplaystoreResponse)
Initializes a new instance of the ErrorResponsePurchaseGoogleplaystoreFailed class.
Declaration
[Preserve]
public ErrorResponsePurchaseGoogleplaystoreFailed(string type = null, string title = null, int status = 0, int code = 0, string detail = null, string instance = null, PlayerPurchaseGoogleplaystoreResponse data = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | type | type (required).  | 
      
| string | title | title (required).  | 
      
| int | status | e.g 409 (required).  | 
      
| int | code | For example 10204 (required).  | 
      
| string | detail | detail (required).  | 
      
| string | instance | instance.  | 
      
| PlayerPurchaseGoogleplaystoreResponse | data | data (required).  | 
      
Properties
Code
For example 10204
Declaration
[DataMember(Name = "code", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int Code { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | For example 10204  | 
      
Data
Gets or Sets Data
Declaration
[DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public PlayerPurchaseGoogleplaystoreResponse Data { get; set; }
  Property Value
| Type | Description | 
|---|---|
| PlayerPurchaseGoogleplaystoreResponse | 
Detail
Gets or Sets Detail
Declaration
[DataMember(Name = "detail", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Detail { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Instance
Gets or Sets Instance
Declaration
[DataMember(Name = "instance", EmitDefaultValue = false)]
[Preserve]
public string Instance { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Status
e.g 409
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int Status { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | e.g 409  | 
      
Title
Gets or Sets Title
Declaration
[DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Title { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Type
Gets or Sets Type
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Type { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string |