/** * Copyright (c) 2020 The Nuinalp Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ import { Model } from '@nuinalp/api-core/browser'; import BankAccount from './bank.account'; export default class Transfers extends Model { protected static adapter: any; id: string; amount: number; net_amount: number; fee: number; status: "pending" | "bank_processing" | "done" | "canceled" | "failed"; fail_reason: string; receipt_url: string; type: "ted" | "pix"; bank_account: BankAccount; created_at: Date; updated_at: Date; deleted_at: Date; effective_at: Date; }