OfferInfo constructor

OfferInfo({
  1. String? id,
  2. String? direction,
  3. String? price,
  4. bool? useMarketBasedPrice,
  5. double? marketPriceMarginPct,
  6. Int64? amount,
  7. Int64? minAmount,
  8. double? makerFeePct,
  9. double? takerFeePct,
  10. double? penaltyFeePct,
  11. double? buyerSecurityDepositPct,
  12. double? sellerSecurityDepositPct,
  13. String? volume,
  14. String? minVolume,
  15. String? triggerPrice,
  16. String? paymentAccountId,
  17. String? paymentMethodId,
  18. String? paymentMethodShortName,
  19. String? baseCurrencyCode,
  20. String? counterCurrencyCode,
  21. Int64? date,
  22. String? state,
  23. bool? isActivated,
  24. bool? isMyOffer,
  25. String? ownerNodeAddress,
  26. String? pubKeyRing,
  27. String? versionNr,
  28. int? protocolVersion,
  29. String? arbitratorSigner,
  30. String? splitOutputTxHash,
  31. Int64? splitOutputTxFee,
})

Implementation

factory OfferInfo({
  $core.String? id,
  $core.String? direction,
  $core.String? price,
  $core.bool? useMarketBasedPrice,
  $core.double? marketPriceMarginPct,
  $fixnum.Int64? amount,
  $fixnum.Int64? minAmount,
  $core.double? makerFeePct,
  $core.double? takerFeePct,
  $core.double? penaltyFeePct,
  $core.double? buyerSecurityDepositPct,
  $core.double? sellerSecurityDepositPct,
  $core.String? volume,
  $core.String? minVolume,
  $core.String? triggerPrice,
  $core.String? paymentAccountId,
  $core.String? paymentMethodId,
  $core.String? paymentMethodShortName,
  $core.String? baseCurrencyCode,
  $core.String? counterCurrencyCode,
  $fixnum.Int64? date,
  $core.String? state,
  $core.bool? isActivated,
  $core.bool? isMyOffer,
  $core.String? ownerNodeAddress,
  $core.String? pubKeyRing,
  $core.String? versionNr,
  $core.int? protocolVersion,
  $core.String? arbitratorSigner,
  $core.String? splitOutputTxHash,
  $fixnum.Int64? splitOutputTxFee,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (direction != null) {
    $result.direction = direction;
  }
  if (price != null) {
    $result.price = price;
  }
  if (useMarketBasedPrice != null) {
    $result.useMarketBasedPrice = useMarketBasedPrice;
  }
  if (marketPriceMarginPct != null) {
    $result.marketPriceMarginPct = marketPriceMarginPct;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (minAmount != null) {
    $result.minAmount = minAmount;
  }
  if (makerFeePct != null) {
    $result.makerFeePct = makerFeePct;
  }
  if (takerFeePct != null) {
    $result.takerFeePct = takerFeePct;
  }
  if (penaltyFeePct != null) {
    $result.penaltyFeePct = penaltyFeePct;
  }
  if (buyerSecurityDepositPct != null) {
    $result.buyerSecurityDepositPct = buyerSecurityDepositPct;
  }
  if (sellerSecurityDepositPct != null) {
    $result.sellerSecurityDepositPct = sellerSecurityDepositPct;
  }
  if (volume != null) {
    $result.volume = volume;
  }
  if (minVolume != null) {
    $result.minVolume = minVolume;
  }
  if (triggerPrice != null) {
    $result.triggerPrice = triggerPrice;
  }
  if (paymentAccountId != null) {
    $result.paymentAccountId = paymentAccountId;
  }
  if (paymentMethodId != null) {
    $result.paymentMethodId = paymentMethodId;
  }
  if (paymentMethodShortName != null) {
    $result.paymentMethodShortName = paymentMethodShortName;
  }
  if (baseCurrencyCode != null) {
    $result.baseCurrencyCode = baseCurrencyCode;
  }
  if (counterCurrencyCode != null) {
    $result.counterCurrencyCode = counterCurrencyCode;
  }
  if (date != null) {
    $result.date = date;
  }
  if (state != null) {
    $result.state = state;
  }
  if (isActivated != null) {
    $result.isActivated = isActivated;
  }
  if (isMyOffer != null) {
    $result.isMyOffer = isMyOffer;
  }
  if (ownerNodeAddress != null) {
    $result.ownerNodeAddress = ownerNodeAddress;
  }
  if (pubKeyRing != null) {
    $result.pubKeyRing = pubKeyRing;
  }
  if (versionNr != null) {
    $result.versionNr = versionNr;
  }
  if (protocolVersion != null) {
    $result.protocolVersion = protocolVersion;
  }
  if (arbitratorSigner != null) {
    $result.arbitratorSigner = arbitratorSigner;
  }
  if (splitOutputTxHash != null) {
    $result.splitOutputTxHash = splitOutputTxHash;
  }
  if (splitOutputTxFee != null) {
    $result.splitOutputTxFee = splitOutputTxFee;
  }
  return $result;
}