public class Measurement extends PayPalModel
| Constructor and Description |
|---|
Measurement() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getUnit()
Unit in which the value is represented.
|
java.lang.String |
getValue()
Value this measurement represents.
|
int |
hashCode() |
Measurement |
setUnit(java.lang.String unit)
Unit in which the value is represented.
|
Measurement |
setValue(java.lang.String value)
Value this measurement represents.
|
toJSON, toStringpublic java.lang.String getValue()
public java.lang.String getUnit()
public Measurement setValue(java.lang.String value)
public Measurement setUnit(java.lang.String unit)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel