-
Notifications
You must be signed in to change notification settings - Fork 0
/
DebitByWalletPlatformRequest.cs
140 lines (102 loc) · 5.57 KB
/
DebitByWalletPlatformRequest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Text.Json.Serialization;
using AccelByte.Sdk.Core;
using AccelByte.Sdk.Core.Converters;
namespace AccelByte.Sdk.Api.Platform.Model
{
public class DebitByWalletPlatformRequest : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("amount")]
public long? Amount { get; set; }
[JsonPropertyName("debitBalanceSource")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public DebitByWalletPlatformRequestDebitBalanceSource? DebitBalanceSource { get; set; }
[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? Metadata { get; set; }
[JsonPropertyName("reason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Reason { get; set; }
[JsonPropertyName("walletPlatform")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public DebitByWalletPlatformRequestWalletPlatform? WalletPlatform { get; set; }
}
public class DebitByWalletPlatformRequest<T1> : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("amount")]
public long? Amount { get; set; }
[JsonPropertyName("debitBalanceSource")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public DebitByWalletPlatformRequestDebitBalanceSource? DebitBalanceSource { get; set; }
[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public T1? Metadata { get; set; }
[JsonPropertyName("reason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Reason { get; set; }
[JsonPropertyName("walletPlatform")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public DebitByWalletPlatformRequestWalletPlatform? WalletPlatform { get; set; }
}
public class DebitByWalletPlatformRequestDebitBalanceSource : StringEnum<DebitByWalletPlatformRequestDebitBalanceSource>
{
public static readonly DebitByWalletPlatformRequestDebitBalanceSource DLCREVOCATION
= new DebitByWalletPlatformRequestDebitBalanceSource("DLC_REVOCATION");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource EXPIRATION
= new DebitByWalletPlatformRequestDebitBalanceSource("EXPIRATION");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource IAPREVOCATION
= new DebitByWalletPlatformRequestDebitBalanceSource("IAP_REVOCATION");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource ORDERREVOCATION
= new DebitByWalletPlatformRequestDebitBalanceSource("ORDER_REVOCATION");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource OTHER
= new DebitByWalletPlatformRequestDebitBalanceSource("OTHER");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource PAYMENT
= new DebitByWalletPlatformRequestDebitBalanceSource("PAYMENT");
public static readonly DebitByWalletPlatformRequestDebitBalanceSource TRADE
= new DebitByWalletPlatformRequestDebitBalanceSource("TRADE");
public static implicit operator DebitByWalletPlatformRequestDebitBalanceSource(string value)
{
return NewValue(value);
}
public DebitByWalletPlatformRequestDebitBalanceSource(string enumValue)
: base(enumValue)
{
}
}
public class DebitByWalletPlatformRequestWalletPlatform : StringEnum<DebitByWalletPlatformRequestWalletPlatform>
{
public static readonly DebitByWalletPlatformRequestWalletPlatform Epic
= new DebitByWalletPlatformRequestWalletPlatform("Epic");
public static readonly DebitByWalletPlatformRequestWalletPlatform GooglePlay
= new DebitByWalletPlatformRequestWalletPlatform("GooglePlay");
public static readonly DebitByWalletPlatformRequestWalletPlatform IOS
= new DebitByWalletPlatformRequestWalletPlatform("IOS");
public static readonly DebitByWalletPlatformRequestWalletPlatform Nintendo
= new DebitByWalletPlatformRequestWalletPlatform("Nintendo");
public static readonly DebitByWalletPlatformRequestWalletPlatform Oculus
= new DebitByWalletPlatformRequestWalletPlatform("Oculus");
public static readonly DebitByWalletPlatformRequestWalletPlatform Other
= new DebitByWalletPlatformRequestWalletPlatform("Other");
public static readonly DebitByWalletPlatformRequestWalletPlatform Playstation
= new DebitByWalletPlatformRequestWalletPlatform("Playstation");
public static readonly DebitByWalletPlatformRequestWalletPlatform Steam
= new DebitByWalletPlatformRequestWalletPlatform("Steam");
public static readonly DebitByWalletPlatformRequestWalletPlatform Xbox
= new DebitByWalletPlatformRequestWalletPlatform("Xbox");
public static implicit operator DebitByWalletPlatformRequestWalletPlatform(string value)
{
return NewValue(value);
}
public DebitByWalletPlatformRequestWalletPlatform(string enumValue)
: base(enumValue)
{
}
}
}