HttpInstrumentRepository class
- Inheritance
-
- Object
- BaseInstrumentRepository
- HttpInstrumentRepository
Constructors
- HttpInstrumentRepository({required dynamic headers, required ApiBase apiBase})
Properties
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