InitRequest constructor

InitRequest({
  1. required String orderId,
  2. int? amount,
  3. String? ip,
  4. String? description,
  5. Language? language,
  6. String? recurrent,
  7. String? customerKey,
  8. String? redirectDueDate,
  9. String? notificationUrl,
  10. String? successUrl,
  11. String? failUrl,
  12. PayType? payType,
  13. Receipt? receipt,
  14. Map<String, String>? data,
  15. String? signToken,
})

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

Implementation

InitRequest({
  required this.orderId,
  this.amount,
  this.ip,
  this.description,
  this.language,
  this.recurrent,
  this.customerKey,
  this.redirectDueDate,
  this.notificationUrl,
  this.successUrl,
  this.failUrl,
  this.payType,
  this.receipt,
  this.data,
  String? signToken,
}) : super(signToken) {
  validate();
}