SaleResponse constructor
const
SaleResponse({
- bool isApproved = false,
- TransactionStatus transactionStatus = TransactionStatus.error,
- double? approvedAmount,
- HostResponse? host,
- CardInfo? card,
- EmvInfo? emv,
- String? errorMessage,
- String? signatureData,
- String? tpId,
- Map<
String, dynamic> ? rawResponse, - double? cashbackAmount,
- double? tipAmount,
- String? referenceNumber,
- String? storedTransactionId,
- bool isStoredTransaction = false,
Implementation
const SaleResponse({
super.isApproved,
super.transactionStatus,
super.approvedAmount,
super.host,
super.card,
super.emv,
super.errorMessage,
super.signatureData,
super.tpId,
super.rawResponse,
this.cashbackAmount,
this.tipAmount,
this.referenceNumber,
this.storedTransactionId,
this.isStoredTransaction = false,
});