-
Notifications
You must be signed in to change notification settings - Fork 573
/
Copy pathEvidence.cs
executable file
·206 lines (161 loc) · 6.31 KB
/
Evidence.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class Evidence : StripeEntity
{
[JsonProperty("access_activity_log")]
public string AccessActivityLog { get; set; }
[JsonProperty("billing_address")]
public string BillingAddress { get; set; }
#region Expandable Cancellation Policy
public string CancellationPolicyFileId { get; set; }
[JsonIgnore]
public File CancellationPolicyFile { get; set; }
[JsonProperty("cancellation_policy")]
internal object InternalCancellationPolicy
{
set
{
StringOrObject<File>.Map(value, s => this.CancellationPolicyFileId = s, o => this.CancellationPolicyFile = o);
}
}
#endregion
[JsonProperty("cancellation_policy_disclosure")]
public string CancellationPolicyDisclosure { get; set; }
[JsonProperty("cancellation_rebuttal")]
public string CancellationRebuttal { get; set; }
#region Expandable Customer Communication
public string CustomerCommunicationFileId { get; set; }
[JsonIgnore]
public File CustomerCommunicationFile { get; set; }
[JsonProperty("customer_communication")]
internal object InternalCustomerCommunication
{
set
{
StringOrObject<File>.Map(value, s => this.CustomerCommunicationFileId = s, o => this.CustomerCommunicationFile = o);
}
}
#endregion
[JsonProperty("customer_email_address")]
public string CustomerEmailAddress { get; set; }
[JsonProperty("customer_name")]
public string CustomerName { get; set; }
[JsonProperty("customer_purchase_ip")]
public string CustomerPurchaseIPAddress { get; set; }
#region Expandable Customer Signature
public string CustomerSignatureFileId { get; set; }
[JsonIgnore]
public File CustomerSignatureFile { get; set; }
[JsonProperty("customer_signature")]
internal object InternalCustomerSignatureFile
{
set
{
StringOrObject<File>.Map(value, s => this.CustomerSignatureFileId = s, o => this.CustomerSignatureFile = o);
}
}
#endregion
#region Expandable Duplicate Charge Documentation
public string DuplicateChargeDocumentationFileId { get; set; }
[JsonIgnore]
public File DuplicateChargeDocumentationFile { get; set; }
[JsonProperty("duplicate_charge_documentation")]
internal object InternalDuplicateChargeDocumentationFile
{
set
{
StringOrObject<File>.Map(value, s => this.DuplicateChargeDocumentationFileId = s, o => this.DuplicateChargeDocumentationFile = o);
}
}
#endregion
[JsonProperty("duplicate_charge_explanation")]
public string DuplicateChargeExplanation { get; set; }
[JsonProperty("duplicate_charge_id")]
public string DuplicateChargeId { get; set; }
[JsonProperty("product_description")]
public string ProductDescription { get; set; }
#region Expandable Receipt
public string ReceiptFileId { get; set; }
[JsonIgnore]
public File ReceiptFile { get; set; }
[JsonProperty("receipt")]
internal object InternalReceiptFile
{
set
{
StringOrObject<File>.Map(value, s => this.ReceiptFileId = s, o => this.ReceiptFile = o);
}
}
#endregion
#region Expandable Refund Policy
public string RefundPolicyFileId { get; set; }
[JsonIgnore]
public File RefundPolicyFile { get; set; }
[JsonProperty("refund_policy")]
internal object InternalRefundPolicyFile
{
set
{
StringOrObject<File>.Map(value, s => this.RefundPolicyFileId = s, o => this.RefundPolicyFile = o);
}
}
#endregion
[JsonProperty("refund_policy_disclosure")]
public string RefundPolicyDisclosure { get; set; }
[JsonProperty("refund_refusal_explanation")]
public string RefundRefusalExplanation { get; set; }
[JsonProperty("service_date")]
public string ServiceDate { get; set; }
#region Expandable Service Documentation
public string ServiceDocumentationFileId { get; set; }
[JsonIgnore]
public File ServiceDocumentationFile { get; set; }
[JsonProperty("service_documentation")]
internal object InternalServiceDocumentationFile
{
set
{
StringOrObject<File>.Map(value, s => this.ServiceDocumentationFileId = s, o => this.ServiceDocumentationFile = o);
}
}
#endregion
[JsonProperty("shipping_address")]
public string ShippingAddress { get; set; }
[JsonProperty("shipping_carrier")]
public string ShippingCarrier { get; set; }
[JsonProperty("shipping_date")]
public string ShippingDate { get; set; }
#region Expandable Shipping Documentation
public string ShippingDocumentationFileId { get; set; }
[JsonIgnore]
public File ShippingDocumentationFile { get; set; }
[JsonProperty("shipping_documentation")]
internal object InternalShippingDocumentationFile
{
set
{
StringOrObject<File>.Map(value, s => this.ShippingDocumentationFileId = s, o => this.ShippingDocumentationFile = o);
}
}
#endregion
[JsonProperty("shipping_tracking_number")]
public string ShippingTrackingNumber { get; set; }
#region Expandable Uncategorized File
public string UncategorizedFileId { get; set; }
[JsonIgnore]
public File UncategorizedFile { get; set; }
[JsonProperty("uncategorized_file")]
internal object InternalUncategorizedFile
{
set
{
StringOrObject<File>.Map(value, s => this.UncategorizedFileId = s, o => this.UncategorizedFile = o);
}
}
#endregion
[JsonProperty("uncategorized_text")]
public string UncategorizedText { get; set; }
}
}