public class Price extends Object
Constructor and Description |
---|
Price() |
Price(Double regularPrice,
Double salePrice,
Boolean sale,
String currency) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrency() |
Double |
getRegularPrice() |
Boolean |
getSale() |
Double |
getSalePrice() |
void |
setCurrency(String currency) |
void |
setRegularPrice(Double regularPrice) |
void |
setSale(Boolean sale) |
void |
setSalePrice(Double salePrice) |
public Double getRegularPrice()
public void setRegularPrice(Double regularPrice)
public Double getSalePrice()
public void setSalePrice(Double salePrice)
public String getCurrency()
public void setCurrency(String currency)
public Boolean getSale()
public void setSale(Boolean sale)
Copyright © 2018. All rights reserved.