| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| /* |
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| * https://openapi-generator.tech |
| * Do not edit the class manually. |
| */ |
| |
| import { ExternalId } from './externalId'; |
| |
| |
| export interface InteropTransactionData { |
| accountBalance: number; |
| accountId: string; |
| amount: number; |
| bookingDateTime: string; |
| changes?: { [key: string]: object; }; |
| chargeAmount?: number; |
| clientId?: number; |
| commandId?: number; |
| creditBureauReportData?: { [key: string]: object; }; |
| currency: string; |
| externalIdOrNull?: ExternalId; |
| glimId?: number; |
| groupId?: number; |
| gsimId?: number; |
| loanExternalId?: ExternalId; |
| loanId?: number; |
| note?: string; |
| officeId?: number; |
| productId?: number; |
| resourceExternalId?: ExternalId; |
| resourceId?: number; |
| resourceIdentifier?: string; |
| rollbackTransaction?: boolean; |
| savingTransactionId: string; |
| savingsId?: number; |
| subResourceExternalId?: ExternalId; |
| subResourceId?: number; |
| transactionId?: string; |
| transactionType: InteropTransactionData.TransactionTypeEnum; |
| valueDateTime: string; |
| } |
| export namespace InteropTransactionData { |
| export const TransactionTypeEnum = { |
| Invalid: 'INVALID', |
| Deposit: 'DEPOSIT', |
| Withdrawal: 'WITHDRAWAL', |
| InterestPosting: 'INTEREST_POSTING', |
| WithdrawalFee: 'WITHDRAWAL_FEE', |
| AnnualFee: 'ANNUAL_FEE', |
| WaiveCharges: 'WAIVE_CHARGES', |
| PayCharge: 'PAY_CHARGE', |
| DividendPayout: 'DIVIDEND_PAYOUT', |
| Accrual: 'ACCRUAL', |
| InitiateTransfer: 'INITIATE_TRANSFER', |
| ApproveTransfer: 'APPROVE_TRANSFER', |
| WithdrawTransfer: 'WITHDRAW_TRANSFER', |
| RejectTransfer: 'REJECT_TRANSFER', |
| WrittenOff: 'WRITTEN_OFF', |
| OverdraftInterest: 'OVERDRAFT_INTEREST', |
| WithholdTax: 'WITHHOLD_TAX', |
| Escheat: 'ESCHEAT', |
| AmountHold: 'AMOUNT_HOLD', |
| AmountRelease: 'AMOUNT_RELEASE' |
| } as const; |
| export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum]; |
| } |
| |
| |