/** * 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 { Card } from './card.model'; import { NymcardTransactionType } from './nymcard-transaction-type.model'; import { NymcardTransactionTypeCharge } from './nymcard-transaction-type-charge.model'; import { NymcardTransactionTypeRefund } from './nymcard-transaction-type-refund.model'; import { NymcardTransactionTypeTopup } from './nymcard-transaction-type-topup.model'; import { TransactionStatus } from './transaction-status.model'; export interface NymcardTransaction { /** * Unique transaction id */ transactionId?: string; /** * links to Nymcard.id */ nymcardId?: string; nymcardRef?: Card; status?: TransactionStatus; amount?: Amount; type?: NymcardTransactionType; charge?: NymcardTransactionTypeCharge; refund?: NymcardTransactionTypeRefund; topup?: NymcardTransactionTypeTopup; created?: Date; modified?: Date; }