com.guru.unity.adjust/Adjust/Unity/AdjustPurchaseVerificationI...

36 lines
988 B
C#
Raw Permalink Normal View History

2023-12-26 03:52:53 +00:00
using System;
using System.Collections.Generic;
namespace com.adjust.sdk
{
public class AdjustPurchaseVerificationInfo
{
#region Properties
public int code { get; set; }
public string message { get; set; }
public string verificationStatus { get; set; }
#endregion
#region Constructors
public AdjustPurchaseVerificationInfo()
{
}
public AdjustPurchaseVerificationInfo(string jsonString)
{
var jsonNode = JSON.Parse(jsonString);
if (jsonNode == null)
{
return;
}
string stringCode = AdjustUtils.GetJsonString(jsonNode, AdjustUtils.KeyCode);
code = Int32.Parse(stringCode);
message = AdjustUtils.GetJsonString(jsonNode, AdjustUtils.KeyMessage);
verificationStatus = AdjustUtils.GetJsonString(jsonNode, AdjustUtils.KeyVerificationStatus);
}
#endregion
}
}