Class RedeemGooglePlayPurchase422Response
RedeemGooglePlayPurchase422Response
Implements
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(RedeemGooglePlayPurchase422ResponseJsonConverter))]
[DataContract(Name = "redeemGooglePlayPurchase_422_response")]
[Preserve]
public class RedeemGooglePlayPurchase422Response : AbstractOpenAPISchema, IEquatable<RedeemGooglePlayPurchase422Response>
Constructors
RedeemGooglePlayPurchase422Response(BasicErrorResponse)
Initializes a new instance of the RedeemGooglePlayPurchase422Response class with the BasicErrorResponse class
Declaration
[Preserve]
public RedeemGooglePlayPurchase422Response(BasicErrorResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| BasicErrorResponse | actualInstance | An instance of BasicErrorResponse. |
RedeemGooglePlayPurchase422Response(ErrorResponsePurchaseGoogleplaystoreFailed)
Initializes a new instance of the RedeemGooglePlayPurchase422Response class with the ErrorResponsePurchaseGoogleplaystoreFailed class
Declaration
[Preserve]
public RedeemGooglePlayPurchase422Response(ErrorResponsePurchaseGoogleplaystoreFailed actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| ErrorResponsePurchaseGoogleplaystoreFailed | actualInstance | An instance of ErrorResponsePurchaseGoogleplaystoreFailed. |
Properties
ActualInstance
Gets or Sets ActualInstance
Declaration
public override object ActualInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Overrides
Methods
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
| Type | Name | Description |
|---|---|---|
| object | input | Object to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
Overrides
Equals(RedeemGooglePlayPurchase422Response)
Returns true if RedeemGooglePlayPurchase422Response instances are equal
Declaration
public bool Equals(RedeemGooglePlayPurchase422Response input)
Parameters
| Type | Name | Description |
|---|---|---|
| RedeemGooglePlayPurchase422Response | input | Instance of RedeemGooglePlayPurchase422Response to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of RedeemGooglePlayPurchase422Response
Declaration
public static RedeemGooglePlayPurchase422Response FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonString | JSON string |
Returns
| Type | Description |
|---|---|
| RedeemGooglePlayPurchase422Response | An instance of RedeemGooglePlayPurchase422Response |
GetBasicErrorResponse()
Get the actual instance of BasicErrorResponse. If the actual instance is not BasicErrorResponse,
the InvalidClassException will be thrown
Declaration
public BasicErrorResponse GetBasicErrorResponse()
Returns
| Type | Description |
|---|---|
| BasicErrorResponse | An instance of BasicErrorResponse |
GetErrorResponsePurchaseGoogleplaystoreFailed()
Get the actual instance of ErrorResponsePurchaseGoogleplaystoreFailed. If the actual instance is not ErrorResponsePurchaseGoogleplaystoreFailed,
the InvalidClassException will be thrown
Declaration
public ErrorResponsePurchaseGoogleplaystoreFailed GetErrorResponsePurchaseGoogleplaystoreFailed()
Returns
| Type | Description |
|---|---|
| ErrorResponsePurchaseGoogleplaystoreFailed | An instance of ErrorResponsePurchaseGoogleplaystoreFailed |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |