Interface Price

All Known Implementing Classes:
Price.DoubleWrapper, Price.StringWrapper

public interface Price
The price of the item. This should be the final price, inclusive of any discounts in effect.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
    Price as Double wrapper.
    static class 
    Price as String wrapper.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static Price
    of(Double value)
    Price as Double wrapper.
    static Price
    of(String value)
    Price as String wrapper.
  • Method Details

    • of

      static Price of(Double value)
      Price as Double wrapper.
    • of

      static Price of(String value)
      Price as String wrapper.