TelePayDio class
Implementation of the telepay package using Dio http client
- Implemented types
Constructors
- TelePayDio({required String secretApiKey, required Dio dio})
- Implementation of the telepay package using Dio http client
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.
override
-
createInvoice(
CreateInvoice invoice) → Future< Invoice> -
Creates an invoice, associated to your merchant.
override
-
deleteInvoice(
String invoiceNumber) → Future< bool> -
Delete invoice, by its number.
override
-
getAssets(
) → Future< List< Asset> > -
Get assets suported by TelePay.
override
-
getBalance(
) → Future< List< Wallet> > -
Get your merchant Wallet assets with corresponding balance.
override
-
getInvoice(
String invoiceNumber) → Future< Invoice> -
Get invoice details, by ID.
override
-
getInvoices(
) → Future< List< Invoice> > -
Get your merchant invoices.
override
-
getMe(
) → Future< Merchant> -
Info about the current Merchant.
override
-
getWithdrawFee(
CreateWithdraw withdraw) → Future< Fee> -
Get estimated withdraw fee, composed of blockchain fee and processing fee.
override
-
getWithdrawMinimum(
String asset, String blockchain, [String? network]) → Future< double> -
Obtains minimum amount required to withdraw funds on a given asset.
override
-
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.
override
-
withdraw(
CreateWithdraw withdraw) → Future< bool> -
Withdraw funds from merchant wallet to external wallet.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited