UNPKG

bitpay-sdk

Version:

Complete version of the NodeJS library for the new cryptographically secure BitPay API

41 lines (40 loc) 1.16 kB
import { PayoutInfo } from './PayoutInfo'; import { SettlementLedgerEntry } from './SettlementLedgerEntry'; import { WithHoldings } from './WithHoldings'; export interface SettlementInterface { id: string | null; accountId: string | null; currency: string; payoutInfo?: PayoutInfo; status: string; dateCreated: string; dateExecuted: string; openingDate: string; closingDate: string; openingBalance: number; ledgerEntriesSum: number; withholdings?: WithHoldings[]; withholdingsSum?: number; totalAmount: number; ledgerEntries?: SettlementLedgerEntry[]; token?: string; } export declare class Settlement implements SettlementInterface { id: string | null; accountId: string | null; currency: string; payoutInfo?: PayoutInfo; status: string; dateCreated: string; dateExecuted: string; openingDate: string; closingDate: string; openingBalance: number; ledgerEntriesSum: number; withholdings?: WithHoldings[]; withholdingsSum?: number; totalAmount: number; ledgerEntries?: SettlementLedgerEntry[]; token?: string; constructor(); }