@@ -12,17 +12,26 @@ public class Evidence : StripeEntity
12
12
public string BillingAddress { get ; set ; }
13
13
14
14
#region Expandable Cancellation Policy
15
- public string CancellationPolicyFileId { get ; set ; }
16
15
16
+ /// <summary>
17
+ /// (ID of a <see cref="File"/>) Your subscription cancellation policy, as shown to the
18
+ /// customer.
19
+ /// <para>Expandable.</para>
20
+ /// </summary>
21
+ public string CancellationPolicyId { get ; set ; }
22
+
23
+ /// <summary>
24
+ /// (Expanded) Your subscription cancellation policy, as shown to the customer.
25
+ /// </summary>
17
26
[ JsonIgnore ]
18
- public File CancellationPolicyFile { get ; set ; }
27
+ public File CancellationPolicy { get ; set ; }
19
28
20
29
[ JsonProperty ( "cancellation_policy" ) ]
21
30
internal object InternalCancellationPolicy
22
31
{
23
32
set
24
33
{
25
- StringOrObject < File > . Map ( value , s => this . CancellationPolicyFileId = s , o => this . CancellationPolicyFile = o ) ;
34
+ StringOrObject < File > . Map ( value , s => this . CancellationPolicyId = s , o => this . CancellationPolicy = o ) ;
26
35
}
27
36
}
28
37
#endregion
@@ -34,17 +43,30 @@ internal object InternalCancellationPolicy
34
43
public string CancellationRebuttal { get ; set ; }
35
44
36
45
#region Expandable Customer Communication
37
- public string CustomerCommunicationFileId { get ; set ; }
38
46
47
+ /// <summary>
48
+ /// (ID of a <see cref="File"/>) Any communication with the customer that you feel is
49
+ /// relevant to your case. Examples include emails proving that the customer received the
50
+ /// product or service, or demonstrating their use of or satisfaction with the product or
51
+ /// service.
52
+ /// <para>Expandable.</para>
53
+ /// </summary>
54
+ public string CustomerCommunicationId { get ; set ; }
55
+
56
+ /// <summary>
57
+ /// (Expanded) Any communication with the customer that you feel is relevant to your case.
58
+ /// Examples include emails proving that the customer received the product or service, or
59
+ /// demonstrating their use of or satisfaction with the product or service.
60
+ /// </summary>
39
61
[ JsonIgnore ]
40
- public File CustomerCommunicationFile { get ; set ; }
62
+ public File CustomerCommunication { get ; set ; }
41
63
42
64
[ JsonProperty ( "customer_communication" ) ]
43
65
internal object InternalCustomerCommunication
44
66
{
45
67
set
46
68
{
47
- StringOrObject < File > . Map ( value , s => this . CustomerCommunicationFileId = s , o => this . CustomerCommunicationFile = o ) ;
69
+ StringOrObject < File > . Map ( value , s => this . CustomerCommunicationId = s , o => this . CustomerCommunication = o ) ;
48
70
}
49
71
}
50
72
#endregion
@@ -59,33 +81,55 @@ internal object InternalCustomerCommunication
59
81
public string CustomerPurchaseIPAddress { get ; set ; }
60
82
61
83
#region Expandable Customer Signature
62
- public string CustomerSignatureFileId { get ; set ; }
63
84
85
+ /// <summary>
86
+ /// (ID of a <see cref="File"/>) A relevant document or contract showing the customer’s
87
+ /// signature.
88
+ /// <para>Expandable.</para>
89
+ /// </summary>
90
+ public string CustomerSignatureId { get ; set ; }
91
+
92
+ /// <summary>
93
+ /// (Expanded) A relevant document or contract showing the customer’s signature.
94
+ /// </summary>
64
95
[ JsonIgnore ]
65
- public File CustomerSignatureFile { get ; set ; }
96
+ public File CustomerSignature { get ; set ; }
66
97
67
98
[ JsonProperty ( "customer_signature" ) ]
68
- internal object InternalCustomerSignatureFile
99
+ internal object InternalCustomerSignature
69
100
{
70
101
set
71
102
{
72
- StringOrObject < File > . Map ( value , s => this . CustomerSignatureFileId = s , o => this . CustomerSignatureFile = o ) ;
103
+ StringOrObject < File > . Map ( value , s => this . CustomerSignatureId = s , o => this . CustomerSignature = o ) ;
73
104
}
74
105
}
75
106
#endregion
76
107
77
108
#region Expandable Duplicate Charge Documentation
78
- public string DuplicateChargeDocumentationFileId { get ; set ; }
79
109
110
+ /// <summary>
111
+ /// (ID of a <see cref="File"/>) Documentation for the prior charge that can uniquely
112
+ /// identify the charge, such as a receipt, shipping label, work order, etc. This document
113
+ /// should be paired with a similar document from the disputed payment that proves the two
114
+ /// payments are separate.
115
+ /// <para>Expandable.</para>
116
+ /// </summary>
117
+ public string DuplicateChargeDocumentationId { get ; set ; }
118
+
119
+ /// <summary>
120
+ /// (Expanded) Documentation for the prior charge that can uniquely identify the charge,
121
+ /// such as a receipt, shipping label, work order, etc. This document should be paired with
122
+ /// a similar document from the disputed payment that proves the two payments are separate.
123
+ /// </summary>
80
124
[ JsonIgnore ]
81
- public File DuplicateChargeDocumentationFile { get ; set ; }
125
+ public File DuplicateChargeDocumentation { get ; set ; }
82
126
83
127
[ JsonProperty ( "duplicate_charge_documentation" ) ]
84
- internal object InternalDuplicateChargeDocumentationFile
128
+ internal object InternalDuplicateChargeDocumentation
85
129
{
86
130
set
87
131
{
88
- StringOrObject < File > . Map ( value , s => this . DuplicateChargeDocumentationFileId = s , o => this . DuplicateChargeDocumentationFile = o ) ;
132
+ StringOrObject < File > . Map ( value , s => this . DuplicateChargeDocumentationId = s , o => this . DuplicateChargeDocumentation = o ) ;
89
133
}
90
134
}
91
135
#endregion
@@ -100,33 +144,50 @@ internal object InternalDuplicateChargeDocumentationFile
100
144
public string ProductDescription { get ; set ; }
101
145
102
146
#region Expandable Receipt
103
- public string ReceiptFileId { get ; set ; }
104
147
148
+ /// <summary>
149
+ /// (ID of a <see cref="File"/>) Any receipt or message sent to the customer notifying them
150
+ /// of the charge.
151
+ /// <para>Expandable.</para>
152
+ /// </summary>
153
+ public string ReceiptId { get ; set ; }
154
+
155
+ /// <summary>
156
+ /// (Expanded) Any receipt or message sent to the customer notifying them of the charge.
157
+ /// </summary>
105
158
[ JsonIgnore ]
106
- public File ReceiptFile { get ; set ; }
159
+ public File Receipt { get ; set ; }
107
160
108
161
[ JsonProperty ( "receipt" ) ]
109
- internal object InternalReceiptFile
162
+ internal object InternalReceipt
110
163
{
111
164
set
112
165
{
113
- StringOrObject < File > . Map ( value , s => this . ReceiptFileId = s , o => this . ReceiptFile = o ) ;
166
+ StringOrObject < File > . Map ( value , s => this . ReceiptId = s , o => this . Receipt = o ) ;
114
167
}
115
168
}
116
169
#endregion
117
170
118
171
#region Expandable Refund Policy
119
- public string RefundPolicyFileId { get ; set ; }
120
172
173
+ /// <summary>
174
+ /// (ID of a <see cref="File"/>) Your refund policy, as shown to the customer.
175
+ /// <para>Expandable.</para>
176
+ /// </summary>
177
+ public string RefundPolicyId { get ; set ; }
178
+
179
+ /// <summary>
180
+ /// (Expanded) Your refund policy, as shown to the customer.
181
+ /// </summary>
121
182
[ JsonIgnore ]
122
- public File RefundPolicyFile { get ; set ; }
183
+ public File RefundPolicy { get ; set ; }
123
184
124
185
[ JsonProperty ( "refund_policy" ) ]
125
- internal object InternalRefundPolicyFile
186
+ internal object InternalRefundPolicy
126
187
{
127
188
set
128
189
{
129
- StringOrObject < File > . Map ( value , s => this . RefundPolicyFileId = s , o => this . RefundPolicyFile = o ) ;
190
+ StringOrObject < File > . Map ( value , s => this . RefundPolicyId = s , o => this . RefundPolicy = o ) ;
130
191
}
131
192
}
132
193
#endregion
@@ -141,17 +202,29 @@ internal object InternalRefundPolicyFile
141
202
public string ServiceDate { get ; set ; }
142
203
143
204
#region Expandable Service Documentation
144
- public string ServiceDocumentationFileId { get ; set ; }
145
205
206
+ /// <summary>
207
+ /// (ID of a <see cref="File"/>) Documentation showing proof that a service was provided to
208
+ /// the customer. This could include a copy of a signed contract, work order, or other form
209
+ /// of written agreement.
210
+ /// <para>Expandable.</para>
211
+ /// </summary>
212
+ public string ServiceDocumentationId { get ; set ; }
213
+
214
+ /// <summary>
215
+ /// (Expanded) Documentation showing proof that a service was provided to the customer.
216
+ /// This could include a copy of a signed contract, work order, or other form of written
217
+ /// agreement.
218
+ /// </summary>
146
219
[ JsonIgnore ]
147
- public File ServiceDocumentationFile { get ; set ; }
220
+ public File ServiceDocumentation { get ; set ; }
148
221
149
222
[ JsonProperty ( "service_documentation" ) ]
150
- internal object InternalServiceDocumentationFile
223
+ internal object InternalServiceDocumentation
151
224
{
152
225
set
153
226
{
154
- StringOrObject < File > . Map ( value , s => this . ServiceDocumentationFileId = s , o => this . ServiceDocumentationFile = o ) ;
227
+ StringOrObject < File > . Map ( value , s => this . ServiceDocumentationId = s , o => this . ServiceDocumentation = o ) ;
155
228
}
156
229
}
157
230
#endregion
@@ -166,17 +239,31 @@ internal object InternalServiceDocumentationFile
166
239
public string ShippingDate { get ; set ; }
167
240
168
241
#region Expandable Shipping Documentation
169
- public string ShippingDocumentationFileId { get ; set ; }
170
242
243
+ /// <summary>
244
+ /// (ID of a <see cref="File"/>) Documentation showing proof that a product was shipped to
245
+ /// the customer at the same address the customer provided to you. This could include a copy
246
+ /// of the shipment receipt, shipping label, etc. It should show the customer’s full
247
+ /// shipping address, if possible.
248
+ /// <para>Expandable.</para>
249
+ /// </summary>
250
+ public string ShippingDocumentationId { get ; set ; }
251
+
252
+ /// <summary>
253
+ /// (Expanded) Documentation showing proof that a product was shipped to the customer at
254
+ /// the same address the customer provided to you. This could include a copy of the shipment
255
+ /// receipt, shipping label, etc. It should show the customer’s full shipping address, if
256
+ /// possible.
257
+ /// </summary>
171
258
[ JsonIgnore ]
172
- public File ShippingDocumentationFile { get ; set ; }
259
+ public File ShippingDocumentation { get ; set ; }
173
260
174
261
[ JsonProperty ( "shipping_documentation" ) ]
175
- internal object InternalShippingDocumentationFile
262
+ internal object InternalShippingDocumentation
176
263
{
177
264
set
178
265
{
179
- StringOrObject < File > . Map ( value , s => this . ShippingDocumentationFileId = s , o => this . ShippingDocumentationFile = o ) ;
266
+ StringOrObject < File > . Map ( value , s => this . ShippingDocumentationId = s , o => this . ShippingDocumentation = o ) ;
180
267
}
181
268
}
182
269
#endregion
@@ -185,8 +272,16 @@ internal object InternalShippingDocumentationFile
185
272
public string ShippingTrackingNumber { get ; set ; }
186
273
187
274
#region Expandable Uncategorized File
275
+
276
+ /// <summary>
277
+ /// (ID of a <see cref="File"/>) Any additional evidence or statements.
278
+ /// <para>Expandable.</para>
279
+ /// </summary>
188
280
public string UncategorizedFileId { get ; set ; }
189
281
282
+ /// <summary>
283
+ /// (Expanded) Any additional evidence or statements.
284
+ /// </summary>
190
285
[ JsonIgnore ]
191
286
public File UncategorizedFile { get ; set ; }
192
287
0 commit comments