Class RedeemAppleAppStorePurchase422Response
RedeemAppleAppStorePurchase422Response
Implements
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(RedeemAppleAppStorePurchase422ResponseJsonConverter))]
[DataContract(Name = "redeemAppleAppStorePurchase_422_response")]
[Preserve]
public class RedeemAppleAppStorePurchase422Response : AbstractOpenAPISchema, IEquatable<RedeemAppleAppStorePurchase422Response>
Constructors
RedeemAppleAppStorePurchase422Response(BasicErrorResponse)
Initializes a new instance of the Redeem
Declaration
[Preserve]
public RedeemAppleAppStorePurchase422Response(BasicErrorResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Basic |
actualInstance | An instance of BasicErrorResponse. |
RedeemAppleAppStorePurchase422Response(ErrorResponsePurchaseAppleappstoreFailed)
Initializes a new instance of the Redeem
Declaration
[Preserve]
public RedeemAppleAppStorePurchase422Response(ErrorResponsePurchaseAppleappstoreFailed actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Error |
actualInstance | An instance of ErrorResponsePurchaseAppleappstoreFailed. |
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(RedeemAppleAppStorePurchase422Response)
Returns true if RedeemAppleAppStorePurchase422Response instances are equal
Declaration
public bool Equals(RedeemAppleAppStorePurchase422Response input)
Parameters
Type | Name | Description |
---|---|---|
Redeem |
input | Instance of RedeemAppleAppStorePurchase422Response to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of RedeemAppleAppStorePurchase422Response
Declaration
public static RedeemAppleAppStorePurchase422Response FromJson(string jsonString)
Parameters
Type | Name | Description |
---|---|---|
string | jsonString | JSON string |
Returns
Type | Description |
---|---|
Redeem |
An instance of RedeemAppleAppStorePurchase422Response |
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 |
---|---|
Basic |
An instance of BasicErrorResponse |
GetErrorResponsePurchaseAppleappstoreFailed()
Get the actual instance of ErrorResponsePurchaseAppleappstoreFailed
. If the actual instance is not ErrorResponsePurchaseAppleappstoreFailed
,
the InvalidClassException will be thrown
Declaration
public ErrorResponsePurchaseAppleappstoreFailed GetErrorResponsePurchaseAppleappstoreFailed()
Returns
Type | Description |
---|---|
Error |
An instance of ErrorResponsePurchaseAppleappstoreFailed |
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 |