OfferAvailabilityRequest constructor
OfferAvailabilityRequest({
- String? offerId,
- PubKeyRing? pubKeyRing,
- Int64? takersTradePrice,
- Iterable<
int> ? supportedCapabilities, - String? uid,
- bool? isTakerApiUser,
- InitTradeRequest? tradeRequest,
Implementation
factory OfferAvailabilityRequest({
$core.String? offerId,
PubKeyRing? pubKeyRing,
$fixnum.Int64? takersTradePrice,
$core.Iterable<$core.int>? supportedCapabilities,
$core.String? uid,
$core.bool? isTakerApiUser,
InitTradeRequest? tradeRequest,
}) {
final $result = create();
if (offerId != null) {
$result.offerId = offerId;
}
if (pubKeyRing != null) {
$result.pubKeyRing = pubKeyRing;
}
if (takersTradePrice != null) {
$result.takersTradePrice = takersTradePrice;
}
if (supportedCapabilities != null) {
$result.supportedCapabilities.addAll(supportedCapabilities);
}
if (uid != null) {
$result.uid = uid;
}
if (isTakerApiUser != null) {
$result.isTakerApiUser = isTakerApiUser;
}
if (tradeRequest != null) {
$result.tradeRequest = tradeRequest;
}
return $result;
}