|
42 | 42 | * merchantCategoryCode: string, |
43 | 43 | * merchantCountry: string, |
44 | 44 | * merchantName: string, |
| 45 | + * priorCardAuthenticationID: string|null, |
45 | 46 | * purchaseAmount: int|null, |
46 | 47 | * purchaseCurrency: string|null, |
47 | 48 | * realTimeDecisionID: string|null, |
@@ -186,6 +187,12 @@ enum: Category::class, |
186 | 187 | #[Required('merchant_name')] |
187 | 188 | public string $merchantName; |
188 | 189 |
|
| 190 | + /** |
| 191 | + * The ID of a prior Card Authentication that the requestor used to authenticate this cardholder for a previous transaction. |
| 192 | + */ |
| 193 | + #[Required('prior_card_authentication_id')] |
| 194 | + public ?string $priorCardAuthenticationID; |
| 195 | + |
189 | 196 | /** |
190 | 197 | * The purchase amount in minor units. |
191 | 198 | */ |
@@ -247,6 +254,7 @@ enum: Category::class, |
247 | 254 | * merchantCategoryCode: ..., |
248 | 255 | * merchantCountry: ..., |
249 | 256 | * merchantName: ..., |
| 257 | + * priorCardAuthenticationID: ..., |
250 | 258 | * purchaseAmount: ..., |
251 | 259 | * purchaseCurrency: ..., |
252 | 260 | * realTimeDecisionID: ..., |
@@ -280,6 +288,7 @@ enum: Category::class, |
280 | 288 | * ->withMerchantCategoryCode(...) |
281 | 289 | * ->withMerchantCountry(...) |
282 | 290 | * ->withMerchantName(...) |
| 291 | + * ->withPriorCardAuthenticationID(...) |
283 | 292 | * ->withPurchaseAmount(...) |
284 | 293 | * ->withPurchaseCurrency(...) |
285 | 294 | * ->withRealTimeDecisionID(...) |
@@ -326,6 +335,7 @@ public static function with( |
326 | 335 | string $merchantCategoryCode, |
327 | 336 | string $merchantCountry, |
328 | 337 | string $merchantName, |
| 338 | + ?string $priorCardAuthenticationID, |
329 | 339 | ?int $purchaseAmount, |
330 | 340 | ?string $purchaseCurrency, |
331 | 341 | ?string $realTimeDecisionID, |
@@ -355,6 +365,7 @@ public static function with( |
355 | 365 | $self['merchantCategoryCode'] = $merchantCategoryCode; |
356 | 366 | $self['merchantCountry'] = $merchantCountry; |
357 | 367 | $self['merchantName'] = $merchantName; |
| 368 | + $self['priorCardAuthenticationID'] = $priorCardAuthenticationID; |
358 | 369 | $self['purchaseAmount'] = $purchaseAmount; |
359 | 370 | $self['purchaseCurrency'] = $purchaseCurrency; |
360 | 371 | $self['realTimeDecisionID'] = $realTimeDecisionID; |
@@ -606,6 +617,18 @@ public function withMerchantName(string $merchantName): self |
606 | 617 | return $self; |
607 | 618 | } |
608 | 619 |
|
| 620 | + /** |
| 621 | + * The ID of a prior Card Authentication that the requestor used to authenticate this cardholder for a previous transaction. |
| 622 | + */ |
| 623 | + public function withPriorCardAuthenticationID( |
| 624 | + ?string $priorCardAuthenticationID |
| 625 | + ): self { |
| 626 | + $self = clone $this; |
| 627 | + $self['priorCardAuthenticationID'] = $priorCardAuthenticationID; |
| 628 | + |
| 629 | + return $self; |
| 630 | + } |
| 631 | + |
609 | 632 | /** |
610 | 633 | * The purchase amount in minor units. |
611 | 634 | */ |
|
0 commit comments