VirtualAccounts class

Constructors

VirtualAccounts.new(API api)

Properties

api API
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addReceiver({required String virtualAccountId, required RazorpayVirtualAccountReceiverBaseRequestBody params, void callback(RazorpayApiException?, Response<RazorpayVirtualAccount>?)?}) Future<Response<RazorpayVirtualAccount>>
Add receiver to an existing virtual account
all({RazorpayPaginationOptions? params, void callback(RazorpayApiException?, Response<RazorpayApiResponse<RazorpayVirtualAccount>>?)?}) Future<Response<RazorpayApiResponse<RazorpayVirtualAccount>>>
Fetch all virtual accounts
allowedPayer({required String virtualAccountId, required RazorpayAllowedPayerBaseRequestBody params, void callback(RazorpayApiException?, Response<RazorpayVirtualAccount>?)?}) Future<Response<RazorpayVirtualAccount>>
Add an Allowed Payer Account (TPV)
close({required String virtualAccountId, void callback(RazorpayApiException?, Response<RazorpayVirtualAccountCloseResponse>?)?}) Future<Response<RazorpayVirtualAccountCloseResponse>>
Close virtual account
create({required dynamic params, void callback(RazorpayApiException?, Response<RazorpayVirtualAccount>?)?}) Future<Response<RazorpayVirtualAccount>>
Create a virtual account (standard or TPV)
deleteAllowedPayer({required String virtualAccountId, required String allowedPayerId, void callback(RazorpayApiException?, Response<DeleteAllowedPayerResponse>?)?}) Future<Response<DeleteAllowedPayerResponse>>
Delete an Allowed Payer Account (TPV)
fetch({required String virtualAccountId, void callback(RazorpayApiException?, Response<RazorpayVirtualAccount>?)?}) Future<Response<RazorpayVirtualAccount>>
Fetch virtual account by id
fetchPayments({required String virtualAccountId, RazorpayPaginationOptions? params, void callback(RazorpayApiException?, Response<RazorpayVirtualAccountPaymentsResponse>?)?}) Future<Response<RazorpayVirtualAccountPaymentsResponse>>
Fetch payments for a virtual account
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

Constants

BASE_URL → const String
ID_REQUIRED_MSG → const String