82 lines
2.4 KiB
C#
82 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameServer
|
|
{
|
|
public class BillingTestAccount
|
|
{
|
|
public string email { get; set; } = string.Empty;
|
|
public string password { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingTestJwt
|
|
{
|
|
public string jwt { get; set; } = string.Empty;
|
|
public int isNew { get; set; } = 0;
|
|
public string email { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingPurchaseRequest
|
|
{
|
|
public string account_id { get; set; } = string.Empty;
|
|
public string order_id { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingPurchaseInfos
|
|
{
|
|
public int status_code { get; set; } = 0;
|
|
public string status_message { get; set; } = string.Empty;
|
|
public List<BuilingProductOrder> data { get; set; } = new();
|
|
}
|
|
|
|
public class BuilingProductOrder
|
|
{
|
|
public string order_id { get; set; } = string.Empty;
|
|
public string product_meta_id { get; set; } = string.Empty;
|
|
public int buyDateTime { get; set; } = 0;
|
|
public string state { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingPurchaseState
|
|
{
|
|
public int status_code { get; set; } = 0;
|
|
public string status_message { get; set; } = string.Empty;
|
|
public BuilingProductState data { get; set; } = new();
|
|
}
|
|
|
|
public class BuilingProductState
|
|
{
|
|
public string state { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingChangeState
|
|
{
|
|
public string account_id { get; set; } = string.Empty;
|
|
public List<BillingStateList> state_list { get; set; } = new();
|
|
}
|
|
|
|
public class BillingStateList
|
|
{
|
|
public string order_id { get; set; } = string.Empty;
|
|
public string state { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class BillingStateRes
|
|
{
|
|
public int status_code { get; set; } = 0;
|
|
public string status_message { get; set; } = string.Empty;
|
|
public List<BillingResStateList> state_list { get; set; } = new();
|
|
}
|
|
|
|
public class BillingResStateList
|
|
{
|
|
public string order_id { get; set; } = string.Empty;
|
|
public string bulk_result { get; set; } = string.Empty;
|
|
public string bulk_message { get; set; } = string.Empty;
|
|
public string state { get; set; } = string.Empty;
|
|
}
|
|
}
|