Skip to content

Commit 66aaf32

Browse files
committed
Generate BinLookup
1 parent 10bc8dc commit 66aaf32

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/typings/binLookup/costEstimateRequest.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Recurring } from "./recurring";
1515

1616
export class CostEstimateRequest {
1717
"amount": Amount;
18-
"assumptions"?: CostEstimateAssumptions;
18+
"assumptions"?: CostEstimateAssumptions | null;
1919
/**
2020
* The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request.
2121
*/
@@ -28,8 +28,8 @@ export class CostEstimateRequest {
2828
* The merchant account identifier you want to process the (transaction) request with.
2929
*/
3030
"merchantAccount": string;
31-
"merchantDetails"?: MerchantDetails;
32-
"recurring"?: Recurring;
31+
"merchantDetails"?: MerchantDetails | null;
32+
"recurring"?: Recurring | null;
3333
/**
3434
* The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail.
3535
*/
@@ -57,7 +57,7 @@ export class CostEstimateRequest {
5757
{
5858
"name": "assumptions",
5959
"baseName": "assumptions",
60-
"type": "CostEstimateAssumptions",
60+
"type": "CostEstimateAssumptions | null",
6161
"format": ""
6262
},
6363
{
@@ -81,13 +81,13 @@ export class CostEstimateRequest {
8181
{
8282
"name": "merchantDetails",
8383
"baseName": "merchantDetails",
84-
"type": "MerchantDetails",
84+
"type": "MerchantDetails | null",
8585
"format": ""
8686
},
8787
{
8888
"name": "recurring",
8989
"baseName": "recurring",
90-
"type": "Recurring",
90+
"type": "Recurring | null",
9191
"format": ""
9292
},
9393
{

src/typings/binLookup/costEstimateResponse.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { CardBin } from "./cardBin";
1212

1313

1414
export class CostEstimateResponse {
15-
"cardBin"?: CardBin;
16-
"costEstimateAmount"?: Amount;
15+
"cardBin"?: CardBin | null;
16+
"costEstimateAmount"?: Amount | null;
1717
/**
1818
* Adyen\'s 16-character reference associated with the request.
1919
*/
@@ -31,13 +31,13 @@ export class CostEstimateResponse {
3131
{
3232
"name": "cardBin",
3333
"baseName": "cardBin",
34-
"type": "CardBin",
34+
"type": "CardBin | null",
3535
"format": ""
3636
},
3737
{
3838
"name": "costEstimateAmount",
3939
"baseName": "costEstimateAmount",
40-
"type": "Amount",
40+
"type": "Amount | null",
4141
"format": ""
4242
},
4343
{

src/typings/binLookup/threeDSAvailabilityResponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ThreeDS2CardRangeDetail } from "./threeDS2CardRangeDetail";
1313

1414

1515
export class ThreeDSAvailabilityResponse {
16-
"binDetails"?: BinDetail;
16+
"binDetails"?: BinDetail | null;
1717
/**
1818
* List of Directory Server (DS) public keys.
1919
*/
@@ -39,7 +39,7 @@ export class ThreeDSAvailabilityResponse {
3939
{
4040
"name": "binDetails",
4141
"baseName": "binDetails",
42-
"type": "BinDetail",
42+
"type": "BinDetail | null",
4343
"format": ""
4444
},
4545
{

0 commit comments

Comments
 (0)