Package org.core.eco

Interface Currency


public interface Currency
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.kyori.adventure.text.Component
    asDisplay​(@NotNull Number amount)
     
    default net.kyori.adventure.text.Component
    asDisplay​(@NotNull BigDecimal amount)
     
    @NotNull net.kyori.adventure.text.Component
     
    @NotNull net.kyori.adventure.text.Component
     
    default String
     
    boolean
     
  • Method Details

    • getDisplayName

      @NotNull @NotNull net.kyori.adventure.text.Component getDisplayName()
    • isDefault

      boolean isDefault()
    • getSymbol

      @NotNull @NotNull net.kyori.adventure.text.Component getSymbol()
    • getUnformattedSymbol

      default String getUnformattedSymbol()
    • asDisplay

      default net.kyori.adventure.text.Component asDisplay(@NotNull @NotNull BigDecimal amount)
    • asDisplay

      default net.kyori.adventure.text.Component asDisplay(@NotNull @NotNull Number amount)