PostOfferRequest constructor
PostOfferRequest({})
Implementation
factory PostOfferRequest({
$core.String? currencyCode,
$core.String? direction,
$core.String? price,
$core.bool? useMarketBasedPrice,
$core.double? marketPriceMarginPct,
$fixnum.Int64? amount,
$fixnum.Int64? minAmount,
$core.double? buyerSecurityDepositPct,
$core.String? triggerPrice,
$core.bool? reserveExactAmount,
$core.String? paymentAccountId,
}) {
final $result = create();
if (currencyCode != null) {
$result.currencyCode = currencyCode;
}
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 (buyerSecurityDepositPct != null) {
$result.buyerSecurityDepositPct = buyerSecurityDepositPct;
}
if (triggerPrice != null) {
$result.triggerPrice = triggerPrice;
}
if (reserveExactAmount != null) {
$result.reserveExactAmount = reserveExactAmount;
}
if (paymentAccountId != null) {
$result.paymentAccountId = paymentAccountId;
}
return $result;
}