ClearSale class

Constructors

ClearSale({required String userName, required String password, bool automaticAuthenticate = true, bool isProduction = false})
factory
ClearSale.test({required String userName, required String password, bool automaticAuthenticate = true, required Client httpClient, required bool isProduction})
factory

Properties

credentials → CredentialsModel
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analysisRequest(AnalysisRequestModel analysisRequestModel) Future<ResponseModel<AnalysisResponseModel>?>
authenticate({int loopCountIfError = 3}) Future<TokenModel?>
chargebackMarking({required String message, required List<String> analysisCode}) Future<ResponseModel<ChargebackMarkingResponseModel>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reanalysisRequest(AnalysisRequestModel analysisRequestModel) Future<ResponseModel<AnalysisResponseModel>?>
statusConsult(String analysisCode) Future<ResponseModel<OrderModel>?>
statusUpdate(String analysisCode, String newStatusCode) Future<ResponseModel<MessageModel>?>
Importante: Os status de atualização devem ser combinados com a equipe de integração.
toString() String
A string representation of this object.
inherited

Operators

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