-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathcardConfiguration.ts
More file actions
165 lines (156 loc) · 5.65 KB
/
cardConfiguration.ts
File metadata and controls
165 lines (156 loc) · 5.65 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/*
* 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 {
/**
* The activation label attached to the card that contains the activation instructions. This field overrides the activation label design ID defined in the card configuration profile.
*/
"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 unique identifier of the card image. This image is printed on the full front of the card.
*/
"cardImageId"?: string;
/**
* The letter or packaging to which the card is attached. This field overrides the carrier design ID defined in the card configuration profile.
*/
"carrier"?: string;
/**
* The unique identifier of the carrier image. This image is printed on the letter to which the card is attached.
*/
"carrierImageId"?: string;
/**
* The unique identifier of the card configuration profile that contains the settings that are applied to the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. You can override some of the existing settings in the configuration profile by providing the corresponding fields in the `configuration` object. 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**. This field overrides the existing currency setting on the card configuration profile.
*/
"currency"?: string;
/**
* Overrides the envelope design ID defined in the card configuration profile.
*/
"envelope"?: string;
/**
* Any additional material, such as marketing material, that is shipped together with the card. This field overrides the insert design ID defined in the card configuration profile.
*/
"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 unique identifier of the logo image. This image is printed on the partial front of the card, for example, a logo on the upper right corner.
*/
"logoImageId"?: string;
/**
* The letter on which the PIN of the card is printed. This field overrides the PIN mailer design ID defined in the card configuration profile.
*/
"pinMailer"?: string;
/**
* The logistics company that ships the card. This field overrides the logistics company defined in the card configuration profile.
*/
"shipmentMethod"?: string;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "activation",
"baseName": "activation",
"type": "string",
"format": ""
},
{
"name": "activationUrl",
"baseName": "activationUrl",
"type": "string",
"format": ""
},
{
"name": "bulkAddress",
"baseName": "bulkAddress",
"type": "BulkAddress | null",
"format": ""
},
{
"name": "cardImageId",
"baseName": "cardImageId",
"type": "string",
"format": ""
},
{
"name": "carrier",
"baseName": "carrier",
"type": "string",
"format": ""
},
{
"name": "carrierImageId",
"baseName": "carrierImageId",
"type": "string",
"format": ""
},
{
"name": "configurationProfileId",
"baseName": "configurationProfileId",
"type": "string",
"format": ""
},
{
"name": "currency",
"baseName": "currency",
"type": "string",
"format": ""
},
{
"name": "envelope",
"baseName": "envelope",
"type": "string",
"format": ""
},
{
"name": "insert",
"baseName": "insert",
"type": "string",
"format": ""
},
{
"name": "language",
"baseName": "language",
"type": "string",
"format": ""
},
{
"name": "logoImageId",
"baseName": "logoImageId",
"type": "string",
"format": ""
},
{
"name": "pinMailer",
"baseName": "pinMailer",
"type": "string",
"format": ""
},
{
"name": "shipmentMethod",
"baseName": "shipmentMethod",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return CardConfiguration.attributeTypeMap;
}
public constructor() {
}
}