operator * method

Price operator *(
  1. Price other
)

Multiplies this Price to the other.

Implementation

Price operator *(Price other) {
  return Price(currency: other.currency, sum: Sum(sum.val * other.sum.val));
}