Tokens class

Constructors

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

create({required RazorpayTokenBaseRequestBody params, void callback(RazorpayApiException?, Response<RazorpayToken>?)?}) Future<Response<RazorpayToken>>
Create a token (Token HQ)
delete({required String tokenId, void callback(RazorpayApiException?, Response<RazorpayTokenDeleteResponse>?)?}) Future<Response<RazorpayTokenDeleteResponse>>
Delete a token (Token HQ)
fetch({required String tokenId, void callback(RazorpayApiException?, Response<RazorpayToken>?)?}) Future<Response<RazorpayToken>>
Fetch card properties of an existing token (Token HQ)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processPaymentOnAlternatePAorPG({required String tokenId, void callback(RazorpayApiException?, Response<RazorpayProcessPaymentResponse>?)?}) Future<Response<RazorpayProcessPaymentResponse>>
Process a payment on another PA/PG with token created on razorpay (Token HQ)
toString() String
A string representation of this object.
inherited

Operators

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

Constants

BASE_URL → const String