-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathmodification.ts
More file actions
147 lines (139 loc) · 4.82 KB
/
modification.ts
File metadata and controls
147 lines (139 loc) · 4.82 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
/*
* 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.
*/
export class Modification {
/**
* The direction of the money movement.
*/
"direction"?: string;
/**
* Our reference for the modification.
*/
"id"?: string;
/**
* Your reference for the modification, used internally within your platform.
*/
"reference"?: string;
/**
* The status of the transfer event.
*/
"status"?: Modification.StatusEnum;
/**
* The type of transfer modification.
*/
"type"?: 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": "direction",
"baseName": "direction",
"type": "string",
"format": ""
},
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "reference",
"baseName": "reference",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "Modification.StatusEnum",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return Modification.attributeTypeMap;
}
public constructor() {
}
}
export namespace Modification {
export enum StatusEnum {
ApprovalPending = 'approvalPending',
AtmWithdrawal = 'atmWithdrawal',
AtmWithdrawalReversalPending = 'atmWithdrawalReversalPending',
AtmWithdrawalReversed = 'atmWithdrawalReversed',
AuthAdjustmentAuthorised = 'authAdjustmentAuthorised',
AuthAdjustmentError = 'authAdjustmentError',
AuthAdjustmentRefused = 'authAdjustmentRefused',
Authorised = 'authorised',
BankTransfer = 'bankTransfer',
BankTransferPending = 'bankTransferPending',
Booked = 'booked',
BookingPending = 'bookingPending',
Cancelled = 'cancelled',
CapturePending = 'capturePending',
CaptureReversalPending = 'captureReversalPending',
CaptureReversed = 'captureReversed',
Captured = 'captured',
CapturedExternally = 'capturedExternally',
Chargeback = 'chargeback',
ChargebackExternally = 'chargebackExternally',
ChargebackPending = 'chargebackPending',
ChargebackReversalPending = 'chargebackReversalPending',
ChargebackReversed = 'chargebackReversed',
Credited = 'credited',
DepositCorrection = 'depositCorrection',
DepositCorrectionPending = 'depositCorrectionPending',
Dispute = 'dispute',
DisputeClosed = 'disputeClosed',
DisputeExpired = 'disputeExpired',
DisputeNeedsReview = 'disputeNeedsReview',
Error = 'error',
Expired = 'expired',
Failed = 'failed',
Fee = 'fee',
FeePending = 'feePending',
InternalTransfer = 'internalTransfer',
InternalTransferPending = 'internalTransferPending',
InvoiceDeduction = 'invoiceDeduction',
InvoiceDeductionPending = 'invoiceDeductionPending',
ManualCorrectionPending = 'manualCorrectionPending',
ManuallyCorrected = 'manuallyCorrected',
MatchedStatement = 'matchedStatement',
MatchedStatementPending = 'matchedStatementPending',
MerchantPayin = 'merchantPayin',
MerchantPayinPending = 'merchantPayinPending',
MerchantPayinReversed = 'merchantPayinReversed',
MerchantPayinReversedPending = 'merchantPayinReversedPending',
MiscCost = 'miscCost',
MiscCostPending = 'miscCostPending',
PaymentCost = 'paymentCost',
PaymentCostPending = 'paymentCostPending',
PendingApproval = 'pendingApproval',
PendingExecution = 'pendingExecution',
Received = 'received',
RefundPending = 'refundPending',
RefundReversalPending = 'refundReversalPending',
RefundReversed = 'refundReversed',
Refunded = 'refunded',
RefundedExternally = 'refundedExternally',
Refused = 'refused',
Rejected = 'rejected',
ReserveAdjustment = 'reserveAdjustment',
ReserveAdjustmentPending = 'reserveAdjustmentPending',
Returned = 'returned',
SecondChargeback = 'secondChargeback',
SecondChargebackPending = 'secondChargebackPending',
Undefined = 'undefined'
}
}