@@ -7,42 +7,79 @@ namespace Stripe
7
7
8
8
public class BalanceTransaction : StripeEntity < BalanceTransaction > , IHasId , IHasObject
9
9
{
10
+ /// <summary>
11
+ /// Unique identifier for the object.
12
+ /// </summary>
10
13
[ JsonProperty ( "id" ) ]
11
14
public string Id { get ; set ; }
12
15
16
+ /// <summary>
17
+ /// String representing the object’s type. Objects of the same type share the same value.
18
+ /// </summary>
13
19
[ JsonProperty ( "object" ) ]
14
20
public string Object { get ; set ; }
15
21
22
+ /// <summary>
23
+ /// Gross amount of the transaction, in cents.
24
+ /// </summary>
16
25
[ JsonProperty ( "amount" ) ]
17
26
public long Amount { get ; set ; }
18
27
28
+ /// <summary>
29
+ /// The date the transaction’s net funds will become available in the Stripe balance.
30
+ /// </summary>
19
31
[ JsonProperty ( "available_on" ) ]
20
32
[ JsonConverter ( typeof ( DateTimeConverter ) ) ]
21
33
public DateTime AvailableOn { get ; set ; }
22
34
35
+ /// <summary>
36
+ /// Time at which the object was created. Measured in seconds since the Unix epoch.
37
+ /// </summary>
23
38
[ JsonProperty ( "created" ) ]
24
39
[ JsonConverter ( typeof ( DateTimeConverter ) ) ]
25
40
public DateTime Created { get ; set ; }
26
41
42
+ /// <summary>
43
+ /// Three-letter ISO currency code, in lowercase.
44
+ /// </summary>
27
45
[ JsonProperty ( "currency" ) ]
28
46
public string Currency { get ; set ; }
29
47
48
+ /// <summary>
49
+ /// An arbitrary string attached to the object. Often useful for displaying to users.
50
+ /// </summary>
30
51
[ JsonProperty ( "description" ) ]
31
52
public string Description { get ; set ; }
32
53
33
54
[ JsonProperty ( "exchange_rate" ) ]
34
55
public decimal ? ExchangeRate { get ; set ; }
35
56
57
+ /// <summary>
58
+ /// Fees (in cents) paid for this transaction.
59
+ /// </summary>
36
60
[ JsonProperty ( "fee" ) ]
37
61
public long Fee { get ; set ; }
38
62
63
+ /// <summary>
64
+ /// Detailed breakdown of fees (in cents) paid for this transaction.
65
+ /// </summary>
39
66
[ JsonProperty ( "fee_details" ) ]
40
67
public List < Fee > FeeDetails { get ; set ; }
41
68
69
+ /// <summary>
70
+ /// Net amount of the transaction, in cents.
71
+ /// </summary>
42
72
[ JsonProperty ( "net" ) ]
43
73
public long Net { get ; set ; }
44
74
75
+ [ JsonProperty ( "reporting_category" ) ]
76
+ public string ReportingCategory { get ; set ; }
77
+
45
78
#region Expandable Source
79
+
80
+ /// <summary>
81
+ /// The ID of the Stripe object to which this transaction is related.
82
+ /// </summary>
46
83
[ JsonIgnore ]
47
84
public string SourceId
48
85
{
@@ -62,9 +99,31 @@ public IBalanceTransactionSource Source
62
99
internal ExpandableField < IBalanceTransactionSource > InternalSource { get ; set ; }
63
100
#endregion
64
101
102
+ /// <summary>
103
+ /// If the transaction’s net funds are available in the Stripe balance
104
+ /// yet. Either <c>available</c> or <c>pending</c>.
105
+ /// </summary>
65
106
[ JsonProperty ( "status" ) ]
66
107
public string Status { get ; set ; }
67
108
109
+ /// <summary>
110
+ /// Transaction type: <c>adjustment</c>, <c>advance</c>,
111
+ /// <c>advance_funding</c>, <c>application_fee</c>,
112
+ /// <c>application_fee_refund</c>, <c>charge</c>,
113
+ /// <c>connect_collection_transfer</c>,
114
+ /// <c>issuing_authorization_hold</c>,
115
+ /// <c>issuing_authorization_release</c>, <c>issuing_transaction</c>,
116
+ /// <c>payment</c>, <c>payment_failure_refund</c>,
117
+ /// <c>payment_refund</c>, <c>payout</c>, <c>payout_cancel</c>,
118
+ /// <c>payout_failure</c>, <c>refund</c>, <c>refund_failure</c>,
119
+ /// <c>reserve_transaction</c>, <c>reserved_funds</c>,
120
+ /// <c>stripe_fee</c>, <c>stripe_fx_fee</c>, <c>tax_fee</c>,
121
+ /// <c>topup</c>, <c>topup_reversal</c>, <c>transfer</c>,
122
+ /// <c>transfer_cancel</c>, <c>transfer_failure</c>, or
123
+ /// <c>transfer_refund</c>.
124
+ /// <a href="https://stripe.com/docs/reports/balance-transaction-types">Learn more</a>
125
+ /// about balance transaction types and what they represent.
126
+ /// </summary>
68
127
[ JsonProperty ( "type" ) ]
69
128
public string Type { get ; set ; }
70
129
}
0 commit comments