-
Notifications
You must be signed in to change notification settings - Fork 566
/
CardholderSpendingControls.cs
32 lines (28 loc) · 1.1 KB
/
CardholderSpendingControls.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
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class CardholderSpendingControls : StripeEntity<CardholderSpendingControls>
{
/// <summary>
/// Categories of authorizations permitted for this cardholder.
/// </summary>
[JsonProperty("allowed_categories")]
public List<string> AllowedCategories { get; set; }
/// <summary>
/// Categories of authorizations to always decline for this cardholder.
/// </summary>
[JsonProperty("blocked_categories")]
public List<string> BlockedCategories { get; set; }
/// <summary>
/// Limit the spending with rules based on time intervals and categories.
/// </summary>
[JsonProperty("spending_limits")]
public List<CardholderSpendingControlsSpendingLimit> SpendingLimits { get; set; }
/// <summary>
/// Currency for the amounts within <see cref="SpendingLimits"/>.
/// </summary>
[JsonProperty("spending_limits_currency")]
public string SpendingLimitsCurrency { get; set; }
}
}