Package com.xero.models.appstore
Class Price
- java.lang.Object
-
- com.xero.models.appstore.Price
-
public class Price extends Object
Price
-
-
Constructor Summary
Constructors Constructor Description Price()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Priceamount(Double amount)The net (before tax) amount.Pricecurrency(String currency)The currency of the price.booleanequals(Object o)DoublegetAmount()The net (before tax) amount.StringgetCurrency()The currency of the price.UUIDgetId()The unique identifier of the price.inthashCode()Priceid(UUID id)The unique identifier of the price.voidsetAmount(Double amount)The net (before tax) amount.voidsetCurrency(String currency)The currency of the price.voidsetId(UUID id)The unique identifier of the price.StringtoString()
-
-
-
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
-
-