Xendit class

Class to use Xendit functionality in Flutter

Constructors

Xendit(String publishedKey)
Initialize Xendit with a given publishedKey

Properties

hashCode int
The hash code for this object.
no setterinherited
publishedKey String
Xendit publishedKey https://dashboard.xendit.co/settings/developers#api-keys
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAuthentication(String tokenId, {required int amount, String? currency}) Future<AuthenticationResult>
Creates a 3DS authentication for a multiple-use token
createMultipleUseToken(XCard card, {String onBehalfOf = '', BillingDetails? billingDetails, Customer? customer}) Future<TokenResult>
Creates a multiple-use token. Authentication must be created separately if shouldAuthenticate is true.
createSingleUseToken(XCard card, {required int amount, bool shouldAuthenticate = true, String onBehalfOf = '', BillingDetails? billingDetails, Customer? customer, String? currency}) Future<TokenResult>
Creates a single-use token. 3DS authentication will be bundled into this method unless you set shouldAuthenticate as false.
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