TelePay class abstract
Dart API Client wich wraps the TelePay API
Constructors
- TelePay()
-
Dart API Client wich wraps the TelePay API
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelInvoice(
String invoiceNumber) → Future< Invoice> - Cancel invoice, by its number.
-
createInvoice(
CreateInvoice invoice) → Future< Invoice> - Creates an invoice, associated to your merchant.
-
deleteInvoice(
String invoiceNumber) → Future< bool> - Delete invoice, by its number.
-
getAssets(
) → Future< List< Asset> > - Get assets suported by TelePay.
-
getBalance(
) → Future< List< Wallet> > - Get your merchant Wallet assets with corresponding balance.
-
getInvoice(
String invoiceNumber) → Future< Invoice> - Get invoice details, by ID.
-
getInvoices(
) → Future< List< Invoice> > - Get your merchant invoices.
-
getMe(
) → Future< Merchant> -
Info about the current
Merchant
. -
getWithdrawFee(
CreateWithdraw withdraw) → Future< Fee> - Get estimated withdraw fee, composed of blockchain fee and processing fee.
-
getWithdrawMinimum(
String asset, String blockchain, [String? network]) → Future< double> - Obtains minimum amount required to withdraw funds on a given asset.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transfer(
CreateTransfer transfer) → Future< bool> - Transfer funds between internal wallets. Off-chain operation.
-
withdraw(
CreateWithdraw withdraw) → Future< bool> - Withdraw funds from merchant wallet to external wallet.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- baseUrl → const String
- Base URL for the TelePay API