Package com.blockchyp.client.dto
Class BuyRateLineItem
java.lang.Object
com.blockchyp.client.dto.BuyRateLineItem
Models a single buy rate calculation line item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Gets the count associated with this line item.floatGets the rate per item charged for this line item.Gets the string formatted rate per item charged for this line item.Gets provides a basic description of the line item.Gets provides a narrative description of the rate.floatgetTotal()Gets the total amount for the line item.Gets the string formatted total for the line item.floatGets the volume related to this line item.Gets the currency formatted volume related to this line item.floatGets the rate on volume charged for this line item.Gets the string formatted rate on volume charged for this line item.voidsetCount(int value) Sets the count associated with this line item.voidsetCountRate(float value) Sets the rate per item charged for this line item.voidsetCountRateFormatted(String value) Sets the string formatted rate per item charged for this line item.voidsetDescription(String value) Sets provides a basic description of the line item.voidsetRateSummary(String value) Sets provides a narrative description of the rate.voidsetTotal(float value) Sets the total amount for the line item.voidsetTotalFormatted(String value) Sets the string formatted total for the line item.voidsetVolume(float value) Sets the volume related to this line item.voidsetVolumeFormatted(String value) Sets the currency formatted volume related to this line item.voidsetVolumeRate(float value) Sets the rate on volume charged for this line item.voidsetVolumeRateFormatted(String value) Sets the string formatted rate on volume charged for this line item.
-
Constructor Details
-
BuyRateLineItem
public BuyRateLineItem()
-
-
Method Details
-
setDescription
Sets provides a basic description of the line item.- Parameters:
value- provides a basic description of the line item.
-
getDescription
Gets provides a basic description of the line item.- Returns:
- provides a basic description of the line item.
-
setVolume
public void setVolume(float value) Sets the volume related to this line item.- Parameters:
value- the volume related to this line item.
-
getVolume
public float getVolume()Gets the volume related to this line item.- Returns:
- the volume related to this line item.
-
setVolumeFormatted
Sets the currency formatted volume related to this line item.- Parameters:
value- the currency formatted volume related to this line item.
-
getVolumeFormatted
Gets the currency formatted volume related to this line item.- Returns:
- the currency formatted volume related to this line item.
-
setVolumeRate
public void setVolumeRate(float value) Sets the rate on volume charged for this line item.- Parameters:
value- the rate on volume charged for this line item.
-
getVolumeRate
public float getVolumeRate()Gets the rate on volume charged for this line item.- Returns:
- the rate on volume charged for this line item.
-
setVolumeRateFormatted
Sets the string formatted rate on volume charged for this line item.- Parameters:
value- the string formatted rate on volume charged for this line item.
-
getVolumeRateFormatted
Gets the string formatted rate on volume charged for this line item.- Returns:
- the string formatted rate on volume charged for this line item.
-
setCount
public void setCount(int value) Sets the count associated with this line item.- Parameters:
value- the count associated with this line item.
-
getCount
public int getCount()Gets the count associated with this line item.- Returns:
- the count associated with this line item.
-
setCountRate
public void setCountRate(float value) Sets the rate per item charged for this line item.- Parameters:
value- the rate per item charged for this line item.
-
getCountRate
public float getCountRate()Gets the rate per item charged for this line item.- Returns:
- the rate per item charged for this line item.
-
setCountRateFormatted
Sets the string formatted rate per item charged for this line item.- Parameters:
value- the string formatted rate per item charged for this line item.
-
getCountRateFormatted
Gets the string formatted rate per item charged for this line item.- Returns:
- the string formatted rate per item charged for this line item.
-
setRateSummary
Sets provides a narrative description of the rate.- Parameters:
value- provides a narrative description of the rate.
-
getRateSummary
Gets provides a narrative description of the rate.- Returns:
- provides a narrative description of the rate.
-
setTotal
public void setTotal(float value) Sets the total amount for the line item.- Parameters:
value- the total amount for the line item.
-
getTotal
public float getTotal()Gets the total amount for the line item.- Returns:
- the total amount for the line item.
-
setTotalFormatted
Sets the string formatted total for the line item.- Parameters:
value- the string formatted total for the line item.
-
getTotalFormatted
Gets the string formatted total for the line item.- Returns:
- the string formatted total for the line item.
-