CheckoutManager class Null safety

Inheritance
Implemented types

Constructors

CheckoutManager(String productionPublicKey, String sandboxPublicKey, {String environment = ENVIRONMENT_SANDBOX})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addPlugin<T extends IPlugin>(IPlugin plugin) → void
Adds plugin.
inherited
cleanPlugins() → void
Clean plugins.
inherited
getPlugin<T extends IPlugin>() IPlugin?
Gets plugin.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removePlugin<T extends IPlugin>() → void
Removes plugin.
inherited
requestToken(CheckoutTokenRequest request) Future
Request token.
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

BASE_URL_PRODUCTION → const String
"https://api.checkout.com"
BASE_URL_SANDBOX → const String
"https://api.sandbox.checkout.com"
ENVIRONMENT_PRODUCTION → const String
"ENVIRONMENT_PRODUCTION"
ENVIRONMENT_SANDBOX → const String
"ENVIRONMENT_SANDBOX"
STATUS_CODE_INVALID_DATA → const int
422
STATUS_CODE_SUCCESS → const int
201
STATUS_CODE_UNATHORIZED → const int
401
STATUS_MESSAGE_INVALID_DATA → const String
"Invalid data was sent"
STATUS_MESSAGE_UNATHORIZED → const String
"Unathorized"