File tree 3 files changed +46
-0
lines changed
src/Stripe.net/Entities/Balance
3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,41 @@ namespace Stripe
5
5
6
6
public class Balance : StripeEntity < Balance > , IHasObject
7
7
{
8
+ /// <summary>
9
+ /// String representing the object’s type. Objects of the same type share the same value.
10
+ /// </summary>
8
11
[ JsonProperty ( "object" ) ]
9
12
public string Object { get ; set ; }
10
13
14
+ /// <summary>
15
+ /// Funds that are available to be transferred or paid out, whether automatically by Stripe
16
+ /// or explicitly via the Transfers API or Payouts API.
17
+ /// </summary>
11
18
[ JsonProperty ( "available" ) ]
12
19
public List < BalanceAmount > Available { get ; set ; }
13
20
21
+ /// <summary>
22
+ /// Funds held due to negative balances on connected Custom accounts.
23
+ /// </summary>
14
24
[ JsonProperty ( "connect_reserved" ) ]
15
25
public List < BalanceAmount > ConnectReserved { get ; set ; }
16
26
27
+ /// <summary>
28
+ /// Funds that can be spent on your cards issued via Issuing.
29
+ /// </summary>
30
+ [ JsonProperty ( "issuing" ) ]
31
+ public BalanceDetails Issuing { get ; set ; }
32
+
33
+ /// <summary>
34
+ /// Has the value <c>true</c> if the object exists in live mode or the value
35
+ /// <c>false</c> if the object exists in test mode.
36
+ /// </summary>
17
37
[ JsonProperty ( "livemode" ) ]
18
38
public bool Livemode { get ; set ; }
19
39
40
+ /// <summary>
41
+ /// Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.
42
+ /// </summary>
20
43
[ JsonProperty ( "pending" ) ]
21
44
public List < BalanceAmount > Pending { get ; set ; }
22
45
}
Original file line number Diff line number Diff line change @@ -5,12 +5,21 @@ namespace Stripe
5
5
6
6
public class BalanceAmount : StripeEntity < BalanceAmount >
7
7
{
8
+ /// <summary>
9
+ /// Balance amount.
10
+ /// </summary>
8
11
[ JsonProperty ( "amount" ) ]
9
12
public long Amount { get ; set ; }
10
13
14
+ /// <summary>
15
+ /// Three-letter ISO currency code, in lowercase. Must be a supported currency.
16
+ /// </summary>
11
17
[ JsonProperty ( "currency" ) ]
12
18
public string Currency { get ; set ; }
13
19
20
+ /// <summary>
21
+ /// Breakdown of balance by source types.
22
+ /// </summary>
14
23
[ JsonProperty ( "source_types" ) ]
15
24
public Dictionary < string , long > SourceTypes { get ; set ; }
16
25
}
Original file line number Diff line number Diff line change
1
+ namespace Stripe
2
+ {
3
+ using System . Collections . Generic ;
4
+ using Newtonsoft . Json ;
5
+
6
+ public class BalanceDetails : StripeEntity < BalanceDetails >
7
+ {
8
+ /// <summary>
9
+ /// Funds that are available for use.
10
+ /// </summary>
11
+ [ JsonProperty ( "available" ) ]
12
+ public List < BalanceAmount > Available { get ; set ; }
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments