Skip to content

Commit e61ac3a

Browse files
authored
- Fix type of credit card expiration details (#292)
1 parent 926e997 commit e61ac3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EasyPost/PaymentMethod.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ private PaymentMethodType(int id, string name) : base(id, name)
102102
public string disabled_at { get; set; }
103103
// credit_card
104104
[JsonProperty("exp_month")]
105-
public string exp_month { get; set; }
105+
public int exp_month { get; set; }
106106
// credit_card
107107
[JsonProperty("exp_year")]
108-
public string exp_year { get; set; }
108+
public int exp_year { get; set; }
109109
// both
110110
[JsonProperty("id")]
111111
public string id { get; set; }

0 commit comments

Comments
 (0)