Skip to content

Commit 1c3d77b

Browse files
committed
Generate TransferWebhooks
1 parent d3644f0 commit 1c3d77b

File tree

68 files changed

+2109
-1073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2109
-1073
lines changed

src/typings/transferWebhooks/aULocalAccountIdentification.ts

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,46 @@ export class AULocalAccountIdentification {
1212
/**
1313
* The bank account number, without separators or whitespace.
1414
*/
15-
'accountNumber': string;
15+
"accountNumber": string;
1616
/**
1717
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
1818
*/
19-
'bsbCode': string;
19+
"bsbCode": string;
2020
/**
2121
* **auLocal**
2222
*/
23-
'type': AULocalAccountIdentification.TypeEnum;
23+
"type": AULocalAccountIdentification.TypeEnum;
2424

25-
static discriminator: string | undefined = undefined;
25+
static readonly discriminator: string | undefined = undefined;
2626

27-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27+
static readonly mapping: {[index: string]: string} | undefined = undefined;
28+
29+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2830
{
2931
"name": "accountNumber",
3032
"baseName": "accountNumber",
31-
"type": "string"
33+
"type": "string",
34+
"format": ""
3235
},
3336
{
3437
"name": "bsbCode",
3538
"baseName": "bsbCode",
36-
"type": "string"
39+
"type": "string",
40+
"format": ""
3741
},
3842
{
3943
"name": "type",
4044
"baseName": "type",
41-
"type": "AULocalAccountIdentification.TypeEnum"
45+
"type": "AULocalAccountIdentification.TypeEnum",
46+
"format": ""
4247
} ];
4348

4449
static getAttributeTypeMap() {
4550
return AULocalAccountIdentification.attributeTypeMap;
4651
}
52+
53+
public constructor() {
54+
}
4755
}
4856

4957
export namespace AULocalAccountIdentification {

src/typings/transferWebhooks/additionalBankIdentification.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,36 @@ export class AdditionalBankIdentification {
1212
/**
1313
* The value of the additional bank identification.
1414
*/
15-
'code'?: string;
15+
"code"?: string;
1616
/**
1717
* The type of additional bank identification, depending on the country. Possible values: * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
1818
*/
19-
'type'?: AdditionalBankIdentification.TypeEnum;
19+
"type"?: AdditionalBankIdentification.TypeEnum;
2020

21-
static discriminator: string | undefined = undefined;
21+
static readonly discriminator: string | undefined = undefined;
2222

23-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23+
static readonly mapping: {[index: string]: string} | undefined = undefined;
24+
25+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2426
{
2527
"name": "code",
2628
"baseName": "code",
27-
"type": "string"
29+
"type": "string",
30+
"format": ""
2831
},
2932
{
3033
"name": "type",
3134
"baseName": "type",
32-
"type": "AdditionalBankIdentification.TypeEnum"
35+
"type": "AdditionalBankIdentification.TypeEnum",
36+
"format": ""
3337
} ];
3438

3539
static getAttributeTypeMap() {
3640
return AdditionalBankIdentification.attributeTypeMap;
3741
}
42+
43+
public constructor() {
44+
}
3845
}
3946

4047
export namespace AdditionalBankIdentification {

src/typings/transferWebhooks/address.ts

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,64 +12,75 @@ export class Address {
1212
/**
1313
* The name of the city. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
1414
*/
15-
'city'?: string;
15+
"city"?: string;
1616
/**
1717
* The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**.
1818
*/
19-
'country': string;
19+
"country": string;
2020
/**
2121
* The first line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
2222
*/
23-
'line1'?: string;
23+
"line1"?: string;
2424
/**
2525
* The second line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
2626
*/
27-
'line2'?: string;
27+
"line2"?: string;
2828
/**
2929
* The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: **[a-z] [A-Z] [0-9]** and Space. > Required for addresses in the US.
3030
*/
31-
'postalCode'?: string;
31+
"postalCode"?: string;
3232
/**
3333
* The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
3434
*/
35-
'stateOrProvince'?: string;
35+
"stateOrProvince"?: string;
3636

37-
static discriminator: string | undefined = undefined;
37+
static readonly discriminator: string | undefined = undefined;
3838

39-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
39+
static readonly mapping: {[index: string]: string} | undefined = undefined;
40+
41+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
4042
{
4143
"name": "city",
4244
"baseName": "city",
43-
"type": "string"
45+
"type": "string",
46+
"format": ""
4447
},
4548
{
4649
"name": "country",
4750
"baseName": "country",
48-
"type": "string"
51+
"type": "string",
52+
"format": ""
4953
},
5054
{
5155
"name": "line1",
5256
"baseName": "line1",
53-
"type": "string"
57+
"type": "string",
58+
"format": ""
5459
},
5560
{
5661
"name": "line2",
5762
"baseName": "line2",
58-
"type": "string"
63+
"type": "string",
64+
"format": ""
5965
},
6066
{
6167
"name": "postalCode",
6268
"baseName": "postalCode",
63-
"type": "string"
69+
"type": "string",
70+
"format": ""
6471
},
6572
{
6673
"name": "stateOrProvince",
6774
"baseName": "stateOrProvince",
68-
"type": "string"
75+
"type": "string",
76+
"format": ""
6977
} ];
7078

7179
static getAttributeTypeMap() {
7280
return Address.attributeTypeMap;
7381
}
82+
83+
public constructor() {
84+
}
7485
}
7586

src/typings/transferWebhooks/airline.ts

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,42 @@
77
* Do not edit this class manually.
88
*/
99

10-
import { Leg } from './leg';
10+
import { Leg } from "./leg";
11+
1112

1213
export class Airline {
1314
/**
1415
* Details about the flight legs for this ticket.
1516
*/
16-
'legs'?: Array<Leg>;
17+
"legs"?: Array<Leg>;
1718
/**
1819
* The ticket\'s unique identifier
1920
*/
20-
'ticketNumber'?: string;
21+
"ticketNumber"?: string;
22+
23+
static readonly discriminator: string | undefined = undefined;
2124

22-
static discriminator: string | undefined = undefined;
25+
static readonly mapping: {[index: string]: string} | undefined = undefined;
2326

24-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2528
{
2629
"name": "legs",
2730
"baseName": "legs",
28-
"type": "Array<Leg>"
31+
"type": "Array<Leg>",
32+
"format": ""
2933
},
3034
{
3135
"name": "ticketNumber",
3236
"baseName": "ticketNumber",
33-
"type": "string"
37+
"type": "string",
38+
"format": ""
3439
} ];
3540

3641
static getAttributeTypeMap() {
3742
return Airline.attributeTypeMap;
3843
}
44+
45+
public constructor() {
46+
}
3947
}
4048

src/typings/transferWebhooks/amount.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,35 @@ export class Amount {
1212
/**
1313
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
1414
*/
15-
'currency': string;
15+
"currency": string;
1616
/**
1717
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
1818
*/
19-
'value': number;
19+
"value": number;
2020

21-
static discriminator: string | undefined = undefined;
21+
static readonly discriminator: string | undefined = undefined;
2222

23-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23+
static readonly mapping: {[index: string]: string} | undefined = undefined;
24+
25+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2426
{
2527
"name": "currency",
2628
"baseName": "currency",
27-
"type": "string"
29+
"type": "string",
30+
"format": ""
2831
},
2932
{
3033
"name": "value",
3134
"baseName": "value",
32-
"type": "number"
35+
"type": "number",
36+
"format": "int64"
3337
} ];
3438

3539
static getAttributeTypeMap() {
3640
return Amount.attributeTypeMap;
3741
}
42+
43+
public constructor() {
44+
}
3845
}
3946

src/typings/transferWebhooks/amountAdjustment.ts

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,50 @@
77
* Do not edit this class manually.
88
*/
99

10-
import { Amount } from './amount';
10+
import { Amount } from "./amount";
11+
1112

1213
export class AmountAdjustment {
13-
'amount'?: Amount | null;
14+
"amount"?: Amount;
1415
/**
1516
* The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**.
1617
*/
17-
'amountAdjustmentType'?: AmountAdjustment.AmountAdjustmentTypeEnum;
18+
"amountAdjustmentType"?: AmountAdjustment.AmountAdjustmentTypeEnum;
1819
/**
1920
* The basepoints associated with the applied markup.
2021
*/
21-
'basepoints'?: number;
22+
"basepoints"?: number;
23+
24+
static readonly discriminator: string | undefined = undefined;
2225

23-
static discriminator: string | undefined = undefined;
26+
static readonly mapping: {[index: string]: string} | undefined = undefined;
2427

25-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2629
{
2730
"name": "amount",
2831
"baseName": "amount",
29-
"type": "Amount | null"
32+
"type": "Amount",
33+
"format": ""
3034
},
3135
{
3236
"name": "amountAdjustmentType",
3337
"baseName": "amountAdjustmentType",
34-
"type": "AmountAdjustment.AmountAdjustmentTypeEnum"
38+
"type": "AmountAdjustment.AmountAdjustmentTypeEnum",
39+
"format": ""
3540
},
3641
{
3742
"name": "basepoints",
3843
"baseName": "basepoints",
39-
"type": "number"
44+
"type": "number",
45+
"format": "int32"
4046
} ];
4147

4248
static getAttributeTypeMap() {
4349
return AmountAdjustment.attributeTypeMap;
4450
}
51+
52+
public constructor() {
53+
}
4554
}
4655

4756
export namespace AmountAdjustment {

0 commit comments

Comments
 (0)