Skip to content

Commit 36c34a0

Browse files
docs(api): update exp_month/exp_year descriptions in card create/renew
1 parent 638084a commit 36c34a0

3 files changed

Lines changed: 31 additions & 17 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 191
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-ab626b78e088455e814b80debc85d420839bc11f95416491fef6a0460f2d95ed.yml
3-
openapi_spec_hash: f6ae1bbed371a5d45927cd63797a9908
3+
openapi_spec_hash: b615a0eb16502b4de874f9ae28491894
44
config_hash: ac8326134e692f3f3bdec82396bbec80

lithic-java-core/src/main/kotlin/com/lithic/api/models/CardCreateParams.kt

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private constructor(
106106

107107
/**
108108
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an expiration
109-
* date will be generated.
109+
* date five years in the future will be generated. Five years is the maximum expiration date.
110110
*
111111
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
112112
* server responded with an unexpected value).
@@ -115,7 +115,8 @@ private constructor(
115115

116116
/**
117117
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
118-
* expiration date will be generated.
118+
* expiration date five years in the future will be generated. Five years is the maximum
119+
* expiration date.
119120
*
120121
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
121122
* server responded with an unexpected value).
@@ -591,7 +592,8 @@ private constructor(
591592

592593
/**
593594
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
594-
* expiration date will be generated.
595+
* expiration date five years in the future will be generated. Five years is the maximum
596+
* expiration date.
595597
*/
596598
fun expMonth(expMonth: String) = apply { body.expMonth(expMonth) }
597599

@@ -605,7 +607,8 @@ private constructor(
605607

606608
/**
607609
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
608-
* expiration date will be generated.
610+
* expiration date five years in the future will be generated. Five years is the maximum
611+
* expiration date.
609612
*/
610613
fun expYear(expYear: String) = apply { body.expYear(expYear) }
611614

@@ -1181,7 +1184,8 @@ private constructor(
11811184

11821185
/**
11831186
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
1184-
* expiration date will be generated.
1187+
* expiration date five years in the future will be generated. Five years is the maximum
1188+
* expiration date.
11851189
*
11861190
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
11871191
* server responded with an unexpected value).
@@ -1190,7 +1194,8 @@ private constructor(
11901194

11911195
/**
11921196
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
1193-
* expiration date will be generated.
1197+
* expiration date five years in the future will be generated. Five years is the maximum
1198+
* expiration date.
11941199
*
11951200
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
11961201
* server responded with an unexpected value).
@@ -1721,7 +1726,8 @@ private constructor(
17211726

17221727
/**
17231728
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
1724-
* expiration date will be generated.
1729+
* expiration date five years in the future will be generated. Five years is the maximum
1730+
* expiration date.
17251731
*/
17261732
fun expMonth(expMonth: String) = expMonth(JsonField.of(expMonth))
17271733

@@ -1736,7 +1742,8 @@ private constructor(
17361742

17371743
/**
17381744
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
1739-
* expiration date will be generated.
1745+
* expiration date five years in the future will be generated. Five years is the maximum
1746+
* expiration date.
17401747
*/
17411748
fun expYear(expYear: String) = expYear(JsonField.of(expYear))
17421749

lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRenewParams.kt

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private constructor(
5858

5959
/**
6060
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an expiration
61-
* date six years in the future will be generated.
61+
* date five years in the future will be generated. Five years is the maximum expiration date.
6262
*
6363
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
6464
* server responded with an unexpected value).
@@ -67,7 +67,8 @@ private constructor(
6767

6868
/**
6969
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
70-
* expiration date six years in the future will be generated.
70+
* expiration date five years in the future will be generated. Five years is the maximum
71+
* expiration date.
7172
*
7273
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
7374
* server responded with an unexpected value).
@@ -232,7 +233,8 @@ private constructor(
232233

233234
/**
234235
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
235-
* expiration date six years in the future will be generated.
236+
* expiration date five years in the future will be generated. Five years is the maximum
237+
* expiration date.
236238
*/
237239
fun expMonth(expMonth: String) = apply { body.expMonth(expMonth) }
238240

@@ -246,7 +248,8 @@ private constructor(
246248

247249
/**
248250
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
249-
* expiration date six years in the future will be generated.
251+
* expiration date five years in the future will be generated. Five years is the maximum
252+
* expiration date.
250253
*/
251254
fun expYear(expYear: String) = apply { body.expYear(expYear) }
252255

@@ -510,7 +513,8 @@ private constructor(
510513

511514
/**
512515
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
513-
* expiration date six years in the future will be generated.
516+
* expiration date five years in the future will be generated. Five years is the maximum
517+
* expiration date.
514518
*
515519
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
516520
* server responded with an unexpected value).
@@ -519,7 +523,8 @@ private constructor(
519523

520524
/**
521525
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
522-
* expiration date six years in the future will be generated.
526+
* expiration date five years in the future will be generated. Five years is the maximum
527+
* expiration date.
523528
*
524529
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
525530
* server responded with an unexpected value).
@@ -681,7 +686,8 @@ private constructor(
681686

682687
/**
683688
* Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an
684-
* expiration date six years in the future will be generated.
689+
* expiration date five years in the future will be generated. Five years is the maximum
690+
* expiration date.
685691
*/
686692
fun expMonth(expMonth: String) = expMonth(JsonField.of(expMonth))
687693

@@ -696,7 +702,8 @@ private constructor(
696702

697703
/**
698704
* Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an
699-
* expiration date six years in the future will be generated.
705+
* expiration date five years in the future will be generated. Five years is the maximum
706+
* expiration date.
700707
*/
701708
fun expYear(expYear: String) = expYear(JsonField.of(expYear))
702709

0 commit comments

Comments
 (0)