51 lines
970 B
C#
51 lines
970 B
C#
using System.Collections.Generic;
|
|||
|
|
using SGModule.ApplePay;
|
||
|
|
using SGModule.ConfigLoader;
|
||
|
|
namespace LoveLegend
|
||
|
|
{
|
||
|
|
[ConfigKey("applePay")]
|
||
|
|
public class ApplePay
|
||
|
|
{
|
||
|
|
public int id;
|
||
|
|
public string payKey;
|
||
|
|
public string sku;
|
||
|
|
}
|
||
|
|
[ConfigKey("applePay2")]
|
||
|
|
public class ApplePay2
|
||
|
|
{
|
||
|
|
|
||
|
|
public string name;
|
||
|
|
public string sku;
|
||
|
|
public float price;
|
||
|
|
public string type;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// namespace LoveLegend
|
||
|
|
// {
|
||
|
|
|
||
|
|
// public class ApplePayModel: ConfigModel<ApplePayModel, ApplePay>
|
||
|
|
// {
|
||
|
|
// public ApplePayModel(string key) : base(key)
|
||
|
|
// {
|
||
|
|
// }
|
||
|
|
// }
|
||
|
|
|
||
|
|
// public class ApplePay
|
||
|
|
// {
|
||
|
|
// public int id;
|
||
|
|
// public string payKey;
|
||
|
|
// public string sku;
|
||
|
|
// }
|
||
|
|
|
||
|
|
|
||
|
|
// public class ApplePayModel2: ConfigModel<ApplePayModel2, ProductConfig>
|
||
|
|
// {
|
||
|
|
// public ApplePayModel2(string key) : base(key)
|
||
|
|
// {
|
||
|
|
// }
|
||
|
|
|
||
|
|
// }
|
||
|
|
|
||
|
|
|
||
|
|
// }
|