OfferInfo constructor
OfferInfo({
- String? id,
- String? direction,
- String? price,
- bool? useMarketBasedPrice,
- double? marketPriceMarginPct,
- Int64? amount,
- Int64? minAmount,
- double? makerFeePct,
- double? takerFeePct,
- double? penaltyFeePct,
- double? buyerSecurityDepositPct,
- double? sellerSecurityDepositPct,
- String? volume,
- String? minVolume,
- String? triggerPrice,
- String? paymentAccountId,
- String? paymentMethodId,
- String? paymentMethodShortName,
- String? baseCurrencyCode,
- String? counterCurrencyCode,
- Int64? date,
- String? state,
- bool? isActivated,
- bool? isMyOffer,
- String? ownerNodeAddress,
- String? pubKeyRing,
- String? versionNr,
- int? protocolVersion,
- String? arbitratorSigner,
- String? splitOutputTxHash,
- 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;
}