Fee

org.encalmo.models.Fee$package.Fee
object Fee extends SimpleOpaqueInteger[Fee]

Attributes

Graph
Supertypes
trait OpaqueType[Fee, Int]
class Object
trait Matchable
class Any
Show all
Self type
Fee.type

Members list

Value members

Concrete methods

inline def apply(value: Int): Fee
inline def show(value: Fee): Int

Inherited methods

inline def max(value1: Fee, values: Fee*): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def max(value1: Fee, value2: Fee): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def min(value1: Fee, values: Fee*): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def min(value1: Fee, value2: Fee): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def of(value: BigDecimal): Fee

Attributes

Inherited from:
OpaqueInteger
inline def of(value: Double): Fee

Attributes

Inherited from:
OpaqueInteger
inline def roundedDown(value: BigDecimal): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def roundedHalfDown(value: BigDecimal): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def roundedHalfUp(value: BigDecimal): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def roundedUp(value: BigDecimal): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def unapply(value: Fee): Option[Int]

Attributes

Inherited from:
OpaqueType

Inherited fields

val ZERO: Fee

Attributes

Inherited from:
SimpleOpaqueInteger

Givens

Inherited givens

given given_Function_O_Value: Fee => Value

Attributes

Inherited from:
OpaqueInteger
inline given given_Ordering_O: Ordering[Fee]

Attributes

Inherited from:
OpaqueInteger
given given_ReadWriter_O: ReadWriter[Fee]

Attributes

Inherited from:
OpaqueInteger

Extensions

Extensions

extension (fee: Fee)
infix inline def minusBps(bps: Bps): Fee
infix inline def minusPercentage(percentage: Percentage): Fee
infix inline def plusBps(bps: Bps): Fee
infix inline def plusPercentage(percentage: Percentage): Fee
inline def toAmount: Amount

Inherited extensions

extension (value: Fee)
inline def existsIn(values: Fee*): Boolean

Attributes

Inherited from:
OpaqueType
extension (value: Fee)
inline def *(n: Double): Fee

Attributes

Inherited from:
OpaqueInteger
inline def *(n: BigDecimal): Fee

Attributes

Inherited from:
OpaqueInteger
inline def *(n: Int): Fee

Attributes

Inherited from:
OpaqueInteger
inline def +(n: Int): Fee

Attributes

Inherited from:
OpaqueInteger
inline def -(n: Int): Fee

Attributes

Inherited from:
OpaqueInteger
inline def /(n: Double): Fee

Attributes

Inherited from:
OpaqueInteger
inline def /(n: BigDecimal): Fee

Attributes

Inherited from:
OpaqueInteger
inline def /(n: Int): Fee

Attributes

Inherited from:
OpaqueInteger
inline def toBigDecimal: BigDecimal

Attributes

Inherited from:
OpaqueInteger
inline def toInt: Int

Attributes

Inherited from:
OpaqueInteger
extension (value: Fee)
infix inline def minus(other: Fee): Fee

Attributes

Inherited from:
SimpleOpaqueInteger
inline def orZero: Fee

Current value or ZERO if negative

Current value or ZERO if negative

Attributes

Inherited from:
SimpleOpaqueInteger
infix inline def plus(other: Fee): Fee

Attributes

Inherited from:
SimpleOpaqueInteger