CancelResponse constructor

CancelResponse({
  1. Status? status,
  2. bool? success,
  3. String? errorCode,
  4. String? message,
  5. String? details,
  6. String? terminalKey,
  7. String? orderId,
  8. String? paymentId,
  9. int? originalAmount,
  10. int? newAmount,
})

Создает экземпляр ответа от сервера на отмену платежа

Implementation

CancelResponse({
  Status? status,
  bool? success,
  String? errorCode,
  String? message,
  String? details,
  this.terminalKey,
  this.orderId,
  this.paymentId,
  this.originalAmount,
  this.newAmount,
}) : super(
        status: status,
        success: success,
        errorCode: errorCode,
        message: message,
        details: details,
      );