java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Money

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:47.671Z") public class Money extends Object
A base / value business entity used to represent money.
  • Constructor Details

    • Money

      public Money()
  • Method Details

    • value

      public Money value(String value)
    • getValue

      @NotNull public @NotNull String getValue()
      A positive floating point number
      Returns:
      value
    • setValue

      public void setValue(String value)
    • unit

      public Money unit(String unit)
    • getUnit

      @NotNull public @NotNull String getUnit()
      Currency (ISO4217 norm uses 3 letters to define the currency).
      Returns:
      unit
    • setUnit

      public void setUnit(String unit)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object