/** * NymOS API 1.9.21 * * The contents of this file are subject to the NymOS License, version 1.0. * It is forbidden the use of the codes included on this file, even partially, * for third parties, such as its copy, without express authorization of the * intelectual property and commercial rights owners. A copy of the license * may be obtained at http://nymos.io/source-license. The intelectual * property and comercial rights of this file and codes belong to NymOS S.A. * * Copyright (c) 2017. All rights reserved. * */ import { Amount } from './amount.model'; import { NymcardTransaction } from './nymcard-transaction.model'; import { TransactionStatus } from './transaction-status.model'; import { WalletCommissionMonthlyTransaction } from './wallet-commission-monthly-transaction.model'; import { WalletCommissionRetroactiveTransaction } from './wallet-commission-retroactive-transaction.model'; import { WalletTopupTransaction } from './wallet-topup-transaction.model'; import { WalletTransactionType } from './wallet-transaction-type.model'; import { WalletTransferReceiveTransaction } from './wallet-transfer-receive-transaction.model'; import { WalletTransferRefundTransaction } from './wallet-transfer-refund-transaction.model'; import { WalletTransferSendTransaction } from './wallet-transfer-send-transaction.model'; /** * Describes single wallet transaction */ export interface WalletTransaction { /** * Unique transaction id */ transactionId?: string; walletId?: string; type?: WalletTransactionType; transferSend?: WalletTransferSendTransaction; transferReceive?: WalletTransferReceiveTransaction; transferRefund?: WalletTransferRefundTransaction; commissionMonthly?: WalletCommissionMonthlyTransaction; commissionRetroactive?: WalletCommissionRetroactiveTransaction; topup?: WalletTopupTransaction; nymcard?: NymcardTransaction; status?: TransactionStatus; amount?: Amount; created?: Date; modified?: Date; }