@@ -16,6 +16,13 @@ namespace Bunq.Sdk.Model.Generated.Endpoint
1616 /// </summary>
1717 public class Card : BunqModel
1818 {
19+ /// <summary>
20+ /// Endpoint constants.
21+ /// </summary>
22+ private const string ENDPOINT_URL_UPDATE = "user/{0}/card/{1}" ;
23+ private const string ENDPOINT_URL_READ = "user/{0}/card/{1}" ;
24+ private const string ENDPOINT_URL_LISTING = "user/{0}/card" ;
25+
1926 /// <summary>
2027 /// Field constants.
2128 /// </summary>
@@ -29,17 +36,10 @@ public class Card : BunqModel
2936 public const string FIELD_PIN_CODE_ASSIGNMENT = "pin_code_assignment" ;
3037 public const string FIELD_MONETARY_ACCOUNT_ID_FALLBACK = "monetary_account_id_fallback" ;
3138
32- /// <summary>
33- /// Endpoint constants.
34- /// </summary>
35- private const string ENDPOINT_URL_UPDATE = "user/{0}/card/{1}" ;
36- private const string ENDPOINT_URL_READ = "user/{0}/card/{1}" ;
37- private const string ENDPOINT_URL_LISTING = "user/{0}/card" ;
38-
3939 /// <summary>
4040 /// Object type.
4141 /// </summary>
42- private const string OBJECT_TYPE = "CardDebit " ;
42+ private const string OBJECT_TYPE = "Card " ;
4343
4444 /// <summary>
4545 /// The id of the card.
@@ -71,6 +71,12 @@ public class Card : BunqModel
7171 [ JsonProperty ( PropertyName = "type" ) ]
7272 public string Type { get ; private set ; }
7373
74+ /// <summary>
75+ /// The sub-type of the card. Can be WILDCARD or NONE.
76+ /// </summary>
77+ [ JsonProperty ( PropertyName = "sub_type" ) ]
78+ public string SubType { get ; private set ; }
79+
7480 /// <summary>
7581 /// The second line of text on the card
7682 /// </summary>
@@ -159,6 +165,12 @@ public class Card : BunqModel
159165 [ JsonProperty ( PropertyName = "monetary_account_id_fallback" ) ]
160166 public int ? MonetaryAccountIdFallback { get ; private set ; }
161167
168+ /// <summary>
169+ /// The country that is domestic to the card. Defaults to country of residence of user.
170+ /// </summary>
171+ [ JsonProperty ( PropertyName = "country" ) ]
172+ public string Country { get ; private set ; }
173+
162174 /// <summary>
163175 /// Update the card details. Allow to change pin code, status, limits, country permissions and the monetary
164176 /// account connected to the card. When the card has been received, it can be also activated through this
0 commit comments