import { ApiCoinSelection , ApiCoinSelectionCertificates , ApiCoinSelectionChange , ApiCoinSelectionInputs , ApiCoinSelectionWithdrawals , WalletswalletIdpaymentfeesAmount , WalletswalletIdpaymentfeesPayments } from "../models" ; export class CoinSelectionWallet implements ApiCoinSelection { inputs : ApiCoinSelectionInputs [ ] ; outputs : WalletswalletIdpaymentfeesPayments [ ] ; change : ApiCoinSelectionChange [ ] ; withdrawals ? : ApiCoinSelectionWithdrawals [ ] ; certificates ? : ApiCoinSelectionCertificates [ ] ; deposits ? : WalletswalletIdpaymentfeesAmount [ ] ; metadata ? : any ; constructor ( inputs , outputs , change , withdrawals , certificates , deposits , metadata ) { this . inputs = inputs ; this . outputs = outputs ; this . change = change ; this . withdrawals = withdrawals ; this . certificates = certificates ; this . deposits = deposits ; this . metadata = metadata ; } static from ( coinSelection ) { return new this ( coinSelection . inputs , coinSelection . outputs , coinSelection . change , coinSelection . withdrawals , coinSelection . certificates , coinSelection . deposits , coinSelection . metadata ) ; } }