PaymentAccountService class
A service that provides methods to interact with payment accounts and payment methods using the Haveno gRPC client.
This class contains methods to fetch payment methods, create payment accounts, and retrieve payment account forms from the Haveno daemon.
Constructors
- PaymentAccountService()
- Constructs a PaymentAccountService with the provided HavenoChannel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- havenoChannel → HavenoChannel
-
The gRPC client for interacting with the Haveno daemon.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createPaymentAccount(
PaymentAccountForm form) → Future< PaymentAccount?> -
Creates a new payment account using the provided
PaymentAccountForm
. -
getAllPaymentAccountForms(
) → Future< List< PaymentAccountForm> ?> - Retrieves all available payment account forms for the current user.
-
getCryptoCurrencyPaymentMethods(
) → Future< List< PaymentMethod> > - Fetches all the cryptocurrency payment methods supported by the Haveno daemon.
-
getPaymentAccountForm(
String paymentMethodId) → Future< PaymentAccountForm?> - Retrieves the payment account form for a specific payment method.
-
getPaymentAccounts(
) → Future< List< PaymentAccount> > - Fetches all the payment accounts associated with the current user.
-
getPaymentMethods(
) → Future< List< PaymentMethod> ?> - Fetches the list of all available payment methods from the Haveno daemon.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited