PaymentMethod constructor
PaymentMethod({})
Implementation
factory PaymentMethod({
$core.String? id,
$fixnum.Int64? maxTradePeriod,
$fixnum.Int64? maxTradeLimit,
$core.Iterable<$core.String>? supportedAssetCodes,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (maxTradePeriod != null) {
$result.maxTradePeriod = maxTradePeriod;
}
if (maxTradeLimit != null) {
$result.maxTradeLimit = maxTradeLimit;
}
if (supportedAssetCodes != null) {
$result.supportedAssetCodes.addAll(supportedAssetCodes);
}
return $result;
}