Class Currency.Builder

  • Enclosing class:
    Currency

    public static class Currency.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • currencyCode

        public Currency.Builder currencyCode​(String currencyCode)
        Currency code
        Parameters:
        currencyCode - the value to set
        Returns:
        this builder
      • currencySymbol

        public Currency.Builder currencySymbol​(String currencySymbol)
        Currency symbol
        Parameters:
        currencySymbol - the value to set
        Returns:
        this builder
      • name

        public Currency.Builder name​(String name)
        Name of the currency
        Parameters:
        name - the value to set
        Returns:
        this builder
      • usdConversion

        public Currency.Builder usdConversion​(BigDecimal usdConversion)
        USD conversion rate of the currency
        Parameters:
        usdConversion - the value to set
        Returns:
        this builder
      • roundDecimalPoint

        public Currency.Builder roundDecimalPoint​(BigDecimal roundDecimalPoint)
        Round decimal point
        Parameters:
        roundDecimalPoint - the value to set
        Returns:
        this builder