HttpInstrumentRepository class

Inheritance

Constructors

HttpInstrumentRepository({required dynamic headers, required ApiBase apiBase})

Properties

apiBase ApiBase
final
hashCode int
The hash code for this object.
no setterinherited
headers → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createInstrument({required InstrumentRequest instrumentRequest}) Future<Instrument>
Exchange a single use Checkout.com token for a payment instrument reference, that can be used at any time to request one or more payments.
override
deleteInstrument(String id) Future<bool>
Delete a payment instrument
override
getDefaultInstrument(List<Instrument> instruments) Future<Instrument?>
override
getInstrumentDetails(String id) Future<Instrument>
Returns details of an instrument using id
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateInstrument({required Instrument instrument, required InstrumentRequest instrumentRequest}) Future<Instrument>
Update details of an instrument
override

Operators

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