TransactionParams constructor

TransactionParams({
  1. required int merchantId,
  2. required String crc,
  3. required String sessionId,
  4. required int amount,
  5. required String currency,
  6. required String description,
  7. required String email,
  8. required String country,
  9. String? client,
  10. String? address,
  11. String? zip,
  12. String? city,
  13. String? phone,
  14. String? language,
  15. int? method,
  16. String? urlStatus,
  17. int? timeLimit,
  18. int? channel,
  19. int? shipping,
  20. String? transferLabel,
  21. String? methodRefId,
  22. PassageCart? passageCart,
})

Implementation

TransactionParams(
    {required int merchantId,
    required String crc,
    required String sessionId,
    required int amount,
    required String currency,
    required String description,
    required String email,
    required String country,
    String? client,
    String? address,
    String? zip,
    String? city,
    String? phone,
    String? language,
    int? method,
    String? urlStatus,
    int? timeLimit,
    int? channel,
    int? shipping,
    String? transferLabel,
    String? methodRefId,
    PassageCart? passageCart})
    : this._merchantId = merchantId,
      this._crc = crc,
      this._sessionId = sessionId,
      this._amount = amount,
      this._currency = currency,
      this._description = description,
      this._email = email,
      this._country = country,
      this._client = client,
      this._address = address,
      this._zip = zip,
      this._city = city,
      this._phone = phone,
      this._language = language,
      this._method = method,
      this._urlStatus = urlStatus,
      this._timeLimit = timeLimit,
      this._channel = channel,
      this._shipping = shipping,
      this._transferLabel = transferLabel,
      this._methodRefId = methodRefId;