MakeOrderBuyRequest constructor

MakeOrderBuyRequest({
  1. String? userId,
  2. CurrencyPair? pair,
  3. double? fiat,
  4. Int64? timestamp,
  5. BankDetail? bank,
})

Implementation

factory MakeOrderBuyRequest({
  $core.String? userId,
  CurrencyPair? pair,
  $core.double? fiat,
  $fixnum.Int64? timestamp,
  $0.BankDetail? bank,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (pair != null) {
    $result.pair = pair;
  }
  if (fiat != null) {
    $result.fiat = fiat;
  }
  if (timestamp != null) {
    $result.timestamp = timestamp;
  }
  if (bank != null) {
    $result.bank = bank;
  }
  return $result;
}