TransactionService class

Constructors

TransactionService({required Dio client})

Properties

client ↔ Dio
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSimulation(String cornerStoreId, double totalAmount) → Future<CreateSimulationResponse>
createTransaction(String wholesalerTransactionId, String cornerStoreId, double totalAmount, List<Products> products) → Future<CreateTransactionResponse>
getTransaction(String transactionId) → Future<GetTransactionResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resendToken(String transactionId, String verificationId) → Future<ResendTokenResponse>
toString() → String
A string representation of this object.
inherited
validateVerificationCode(String transactionId, String verificationId, String code) → Future<ValidateVerificationCodeResponse>

Operators

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