@Test public void testToString() { System.out.println("toString"); Price instance = Price.createUsdHourly(new BigDecimal("0.085")); System.out.println(instance.toString()); }
@Override public String toString() { return FORMAT.format(getTotalValue()) + period.getDisplayString(); }
Price { @Override public String toString() { return FORMAT.format(getTotalValue()) + period.getDisplayString(); } }
Price { @Override public String toString() { return FORMAT.format(getTotalValue()) + period.getDisplayString(); } protected  Price(Integer quantity, Currency currency, BigDecimal value, PricePeriod period); }
Price { @Override public String toString() { return FORMAT.format(getTotalValue()) + period.getDisplayString(); } protected  Price(Integer quantity, Currency currency, BigDecimal value, PricePeriod period); static Price createUsdHourly(BigDecimal value); static Price createUsdMonthly(BigDecimal value); static Price createHourly(Currency currency, BigDecimal value); static Price create(Currency currency, BigDecimal value, PricePeriod period); static Price createWithQuantity(Integer quantity, Currency currency, BigDecimal value, PricePeriod period); Integer getQuantity(); Currency getCurrency(); PricePeriod getPeriod(); BigDecimal getValue(); BigDecimal getTotalValue(); Price add(Price other); Price withQuantity(int quantity); Price withCurrency(Currency currency, BigDecimal exchangeRate); Price monthly(int daysInMonth); @Override String toString(); }
Price { @Override public String toString() { return FORMAT.format(getTotalValue()) + period.getDisplayString(); } protected  Price(Integer quantity, Currency currency, BigDecimal value, PricePeriod period); static Price createUsdHourly(BigDecimal value); static Price createUsdMonthly(BigDecimal value); static Price createHourly(Currency currency, BigDecimal value); static Price create(Currency currency, BigDecimal value, PricePeriod period); static Price createWithQuantity(Integer quantity, Currency currency, BigDecimal value, PricePeriod period); Integer getQuantity(); Currency getCurrency(); PricePeriod getPeriod(); BigDecimal getValue(); BigDecimal getTotalValue(); Price add(Price other); Price withQuantity(int quantity); Price withCurrency(Currency currency, BigDecimal exchangeRate); Price monthly(int daysInMonth); @Override String toString();  }