MakeOrderSellRequest constructor

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

Implementation

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