Class BuyRateLineItem

java.lang.Object
com.blockchyp.client.dto.BuyRateLineItem

public class BuyRateLineItem extends Object
Models a single buy rate calculation line item.
  • Constructor Details

    • BuyRateLineItem

      public BuyRateLineItem()
  • Method Details

    • setDescription

      public void setDescription(String value)
      Sets provides a basic description of the line item.
      Parameters:
      value - provides a basic description of the line item.
    • getDescription

      public String 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

      public void setVolumeFormatted(String value)
      Sets the currency formatted volume related to this line item.
      Parameters:
      value - the currency formatted volume related to this line item.
    • getVolumeFormatted

      public String 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

      public void setVolumeRateFormatted(String value)
      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

      public String 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

      public void setCountRateFormatted(String value)
      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

      public String 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

      public void setRateSummary(String value)
      Sets provides a narrative description of the rate.
      Parameters:
      value - provides a narrative description of the rate.
    • getRateSummary

      public String 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

      public void setTotalFormatted(String value)
      Sets the string formatted total for the line item.
      Parameters:
      value - the string formatted total for the line item.
    • getTotalFormatted

      public String getTotalFormatted()
      Gets the string formatted total for the line item.
      Returns:
      the string formatted total for the line item.