fromData static method

Implementation

static CommissionRates fromData(CommissionRatesCommonArgs data) {
  return CommissionRates(data.rate!, data.max_rate!, data.max_change_rate!);
}