-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathcardConfiguration.ts
145 lines (139 loc) · 4.92 KB
/
cardConfiguration.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { BulkAddress } from './bulkAddress';
export class CardConfiguration {
/**
* Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.
*/
'activation'?: string;
/**
* Your app\'s URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.
*/
'activationUrl'?: string;
'bulkAddress'?: BulkAddress | null;
/**
* The ID of the card image. This is the image that will be printed on the full front of the card.
*/
'cardImageId'?: string;
/**
* Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.
*/
'carrier'?: string;
/**
* The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.
*/
'carrierImageId'?: string;
/**
* The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.
*/
'configurationProfileId': string;
/**
* The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.
*/
'currency'?: string;
/**
* Overrides the envelope design ID defined in the `configurationProfileId`.
*/
'envelope'?: string;
/**
* Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.
*/
'insert'?: string;
/**
* The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**.
*/
'language'?: string;
/**
* The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.
*/
'logoImageId'?: string;
/**
* Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.
*/
'pinMailer'?: string;
/**
* Overrides the logistics company defined in the `configurationProfileId`.
*/
'shipmentMethod'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "activation",
"baseName": "activation",
"type": "string"
},
{
"name": "activationUrl",
"baseName": "activationUrl",
"type": "string"
},
{
"name": "bulkAddress",
"baseName": "bulkAddress",
"type": "BulkAddress | null"
},
{
"name": "cardImageId",
"baseName": "cardImageId",
"type": "string"
},
{
"name": "carrier",
"baseName": "carrier",
"type": "string"
},
{
"name": "carrierImageId",
"baseName": "carrierImageId",
"type": "string"
},
{
"name": "configurationProfileId",
"baseName": "configurationProfileId",
"type": "string"
},
{
"name": "currency",
"baseName": "currency",
"type": "string"
},
{
"name": "envelope",
"baseName": "envelope",
"type": "string"
},
{
"name": "insert",
"baseName": "insert",
"type": "string"
},
{
"name": "language",
"baseName": "language",
"type": "string"
},
{
"name": "logoImageId",
"baseName": "logoImageId",
"type": "string"
},
{
"name": "pinMailer",
"baseName": "pinMailer",
"type": "string"
},
{
"name": "shipmentMethod",
"baseName": "shipmentMethod",
"type": "string"
} ];
static getAttributeTypeMap() {
return CardConfiguration.attributeTypeMap;
}
}