money-module/src/main/kotlin/com/cubetiqs/money/StdMoney.kt

25 lines
442 B
Kotlin

package com.cubetiqs.money
/**
* Default standard money style
* We have only value and currency of money
*
* @author sombochea
* @since 1.0
*/
interface StdMoney {
/**
* Get money's value from current state.
*
* @return Double
*/
fun getMoneyValue(): Double
/**
* Get money's currency from current state.
*
* @return String
*/
@SpecialString
fun getMoneyCurrency(): String
}