Class Price


  • public class Price
    extends Object
    Price
    • Constructor Detail

      • Price

        public Price()
    • Method Detail

      • amount

        public Price amount​(Double amount)
        The net (before tax) amount.
        Parameters:
        amount - Double
        Returns:
        Price
      • getAmount

        public Double getAmount()
        The net (before tax) amount.
        Returns:
        amount
      • setAmount

        public void setAmount​(Double amount)
        The net (before tax) amount.
        Parameters:
        amount - Double
      • currency

        public Price currency​(String currency)
        The currency of the price.
        Parameters:
        currency - String
        Returns:
        Price
      • getCurrency

        public String getCurrency()
        The currency of the price.
        Returns:
        currency
      • setCurrency

        public void setCurrency​(String currency)
        The currency of the price.
        Parameters:
        currency - String
      • id

        public Price id​(UUID id)
        The unique identifier of the price.
        Parameters:
        id - UUID
        Returns:
        Price
      • getId

        public UUID getId()
        The unique identifier of the price.
        Returns:
        id
      • setId

        public void setId​(UUID id)
        The unique identifier of the price.
        Parameters:
        id - UUID
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object