-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathissuedCard.ts
116 lines (110 loc) · 3.96 KB
/
issuedCard.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
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { RelayedAuthorisationData } from './relayedAuthorisationData';
import { TransferNotificationValidationFact } from './transferNotificationValidationFact';
export class IssuedCard {
/**
* The authorisation type. For example, **defaultAuthorisation**, **preAuthorisation**, **finalAuthorisation**
*/
'authorisationType'?: string;
/**
* Indicates the method used for entering the PAN to initiate a transaction. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.
*/
'panEntryMode'?: IssuedCard.PanEntryModeEnum;
/**
* Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
*/
'processingType'?: IssuedCard.ProcessingTypeEnum;
'relayedAuthorisationData'?: RelayedAuthorisationData | null;
/**
* The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments.
*/
'schemeTraceId'?: string;
/**
* The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.
*/
'schemeUniqueTransactionId'?: string;
/**
* **issuedCard**
*/
'type'?: IssuedCard.TypeEnum;
/**
* The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information.
*/
'validationFacts'?: Array<TransferNotificationValidationFact>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "authorisationType",
"baseName": "authorisationType",
"type": "string"
},
{
"name": "panEntryMode",
"baseName": "panEntryMode",
"type": "IssuedCard.PanEntryModeEnum"
},
{
"name": "processingType",
"baseName": "processingType",
"type": "IssuedCard.ProcessingTypeEnum"
},
{
"name": "relayedAuthorisationData",
"baseName": "relayedAuthorisationData",
"type": "RelayedAuthorisationData | null"
},
{
"name": "schemeTraceId",
"baseName": "schemeTraceId",
"type": "string"
},
{
"name": "schemeUniqueTransactionId",
"baseName": "schemeUniqueTransactionId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "IssuedCard.TypeEnum"
},
{
"name": "validationFacts",
"baseName": "validationFacts",
"type": "Array<TransferNotificationValidationFact>"
} ];
static getAttributeTypeMap() {
return IssuedCard.attributeTypeMap;
}
}
export namespace IssuedCard {
export enum PanEntryModeEnum {
Chip = 'chip',
Cof = 'cof',
Contactless = 'contactless',
Ecommerce = 'ecommerce',
Magstripe = 'magstripe',
Manual = 'manual',
Token = 'token'
}
export enum ProcessingTypeEnum {
AtmWithdraw = 'atmWithdraw',
BalanceInquiry = 'balanceInquiry',
Ecommerce = 'ecommerce',
Moto = 'moto',
Pos = 'pos',
PurchaseWithCashback = 'purchaseWithCashback',
Recurring = 'recurring',
Token = 'token'
}
export enum TypeEnum {
IssuedCard = 'issuedCard'
}
}