import ProcessOut = require('./processout'); import * as p from '.'; declare class Balances { private client; /** * Vouchers linked to the customer * @type {any} */ private vouchers; /** * Available balance of the customer * @type {p.Balance} */ private availableBalance; /** * Customer action to be performed, such as redirecting to a URL * @type {p.BalancesCustomerAction} */ private customerAction; /** * Balances constructor * @param {ProcessOut} client * @param {array} prefill (optional) */ constructor(client: ProcessOut, prefill: Balances); getProcessOutObjectClass(): string; /** * Get Vouchers * Vouchers linked to the customer * @return {any} */ getVouchers(): any; /** * Set Vouchers * Vouchers linked to the customer * @param {any} val * @return {Balances} */ setVouchers(val: any): Balances; /** * Get AvailableBalance * Available balance of the customer * @return {p.Balance} */ getAvailableBalance(): p.Balance; /** * Set AvailableBalance * Available balance of the customer * @param {p.Balance} val * @return {Balances} */ setAvailableBalance(val: p.Balance): Balances; /** * Get CustomerAction * Customer action to be performed, such as redirecting to a URL * @return {p.BalancesCustomerAction} */ getCustomerAction(): p.BalancesCustomerAction; /** * Set CustomerAction * Customer action to be performed, such as redirecting to a URL * @param {p.BalancesCustomerAction} val * @return {Balances} */ setCustomerAction(val: p.BalancesCustomerAction): Balances; /** * Fills the current object with the new values pulled from the data * @param {array} data * @return {Balances} */ fillWithData(data: any): Balances; /** * Implements a JSON custom marshaller * @return {any} */ toJSON(): any; /** * Fetch a customer token's balance * @param string tokenId * @param {any} options * @return {Promise