Customers class

Constructors

Customers.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

addBankAccount({required String customerId, required RazorpayCustomerBankAccountRequestBody params, void callback(RazorpayApiException?, Response<RazorpayCustomerBankAccount>?)?}) Future<Response<RazorpayCustomerBankAccount>>
Add Bank Account of Customer
all({RazorpayPaginationOptions? params, void callback(RazorpayApiException?, Response<RazorpayApiResponse<RazorpayCustomer>>?)?}) Future<Response<RazorpayApiResponse<RazorpayCustomer>>>
Get all customers
create({required RazorpayCustomerCreateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayCustomer>?)?}) Future<Response<RazorpayCustomer>>
Creates a customer
deleteBankAccount({required String customerId, required String bankAccountId, void callback(RazorpayApiException?, Response<RazorpayCustomerBankAccount>?)?}) Future<Response<RazorpayCustomerBankAccount>>
Delete Bank Account of Customer
deleteToken({required String customerId, required String tokenId, void callback(RazorpayApiException?, Response<RazorpayDeleteTokenResponse>?)?}) Future<Response<RazorpayDeleteTokenResponse>>
Delete a token
edit({required String customerId, required RazorpayCustomerUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayCustomer>?)?}) Future<Response<RazorpayCustomer>>
Edit a customer given Customer ID
fetch({required String customerId, void callback(RazorpayApiException?, Response<RazorpayCustomer>?)?}) Future<Response<RazorpayCustomer>>
Fetches a customer given Customer ID
fetchEligibility({required String eligibilityId, void callback(RazorpayApiException?, Response<RazorpayCustomerEligibility>?)?}) Future<Response<RazorpayCustomerEligibility>>
Fetch Eligibility by id
fetchToken({required String customerId, required String tokenId, void callback(RazorpayApiException?, Response<RazorpayToken>?)?}) Future<Response<RazorpayToken>>
Fetch particular token
fetchTokens({required String customerId, void callback(RazorpayApiException?, Response<RazorpayCustomerTokensResponse>?)?}) Future<Response<RazorpayCustomerTokensResponse>>
Fetch tokens by customerId
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestEligibilityCheck({required RazorpayCustomerEligibilityRequestBody params, void callback(RazorpayApiException?, Response<RazorpayCustomerEligibility>?)?}) Future<Response<RazorpayCustomerEligibility>>
Eligibility Check API
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited