UNPKG

@rytass/invoice-adapter-ecpay

Version:

Rytass Invoice Gateway - ECPay

18 lines (17 loc) 730 B
import { InvoiceAllowance, InvoiceAllowanceState } from '@rytass/invoice'; import { ECPayInvoice } from './ecpay-invoice'; import { ECPayPaymentItem } from './typings'; export declare class ECPayInvoiceAllowance implements InvoiceAllowance<ECPayPaymentItem> { readonly allowanceNumber: string; readonly allowancePrice: number; readonly allowancedOn: Date; readonly remainingAmount: number; readonly items: ECPayPaymentItem[]; readonly parentInvoice: ECPayInvoice; status: InvoiceAllowanceState; invalidOn: Date | null; constructor(options: Omit<InvoiceAllowance<ECPayPaymentItem>, 'invalidOn' | 'invalid'> & { parentInvoice: ECPayInvoice; }); invalid(invalidOn?: Date): void; }