Class InvoiceLineItem

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

public class InvoiceLineItem extends Object
Models a single invoice or merchant statement line item.
  • Constructor Details

    • InvoiceLineItem

      public InvoiceLineItem()
  • Method Details

    • setId

      public void setId(String value)
      Sets the line item id.
      Parameters:
      value - the line item id.
    • getId

      public String getId()
      Gets the line item id.
      Returns:
      the line item id.
    • setLineType

      public void setLineType(String value)
      Sets the type of line item.
      Parameters:
      value - the type of line item.
    • getLineType

      public String getLineType()
      Gets the type of line item.
      Returns:
      the type of line item.
    • setProductId

      public void setProductId(String value)
      Sets the product id for standard invoices.
      Parameters:
      value - the product id for standard invoices.
    • getProductId

      public String getProductId()
      Gets the product id for standard invoices.
      Returns:
      the product id for standard invoices.
    • setQuantity

      public void setQuantity(int value)
      Sets the quantity associated with the line item.
      Parameters:
      value - the quantity associated with the line item.
    • getQuantity

      public int getQuantity()
      Gets the quantity associated with the line item.
      Returns:
      the quantity associated with the line item.
    • setDescription

      public void setDescription(String value)
      Sets the description associated with the line item.
      Parameters:
      value - the description associated with the line item.
    • getDescription

      public String getDescription()
      Gets the description associated with the line item.
      Returns:
      the description associated with the line item.
    • setExplanation

      public void setExplanation(String value)
      Sets an alternate explanation.
      Parameters:
      value - an alternate explanation.
    • getExplanation

      public String getExplanation()
      Gets an alternate explanation.
      Returns:
      an alternate explanation.
    • setTransactionCount

      public void setTransactionCount(int value)
      Sets the transaction count associated with any transaction based fees.
      Parameters:
      value - the transaction count associated with any transaction based fees.
    • getTransactionCount

      public int getTransactionCount()
      Gets the transaction count associated with any transaction based fees.
      Returns:
      the transaction count associated with any transaction based fees.
    • setVolume

      public void setVolume(float value)
      Sets the transaction volume associated with any fees.
      Parameters:
      value - the transaction volume associated with any fees.
    • getVolume

      public float getVolume()
      Gets the transaction volume associated with any fees.
      Returns:
      the transaction volume associated with any fees.
    • setVolumeFormatted

      public void setVolumeFormatted(String value)
      Sets the string formatted volume.
      Parameters:
      value - the string formatted volume.
    • getVolumeFormatted

      public String getVolumeFormatted()
      Gets the string formatted volume.
      Returns:
      the string formatted volume.
    • setPerTransactionFee

      public void setPerTransactionFee(float value)
      Sets the per transaction fee.
      Parameters:
      value - the per transaction fee.
    • getPerTransactionFee

      public float getPerTransactionFee()
      Gets the per transaction fee.
      Returns:
      the per transaction fee.
    • setPerTransactionFeeFormatted

      public void setPerTransactionFeeFormatted(String value)
      Sets the string formatted per transaction fee.
      Parameters:
      value - the string formatted per transaction fee.
    • getPerTransactionFeeFormatted

      public String getPerTransactionFeeFormatted()
      Gets the string formatted per transaction fee.
      Returns:
      the string formatted per transaction fee.
    • setTransactionPercentage

      public void setTransactionPercentage(float value)
      Sets the percentage (as floating point ratio) fee assessed on volume.
      Parameters:
      value - the percentage (as floating point ratio) fee assessed on volume.
    • getTransactionPercentage

      public float getTransactionPercentage()
      Gets the percentage (as floating point ratio) fee assessed on volume.
      Returns:
      the percentage (as floating point ratio) fee assessed on volume.
    • setTransactionPercentageFormatted

      public void setTransactionPercentageFormatted(String value)
      Sets the string formatted transaction fee percentage.
      Parameters:
      value - the string formatted transaction fee percentage.
    • getTransactionPercentageFormatted

      public String getTransactionPercentageFormatted()
      Gets the string formatted transaction fee percentage.
      Returns:
      the string formatted transaction fee percentage.
    • setPrice

      public void setPrice(float value)
      Sets the quantity price associated.
      Parameters:
      value - the quantity price associated.
    • getPrice

      public float getPrice()
      Gets the quantity price associated.
      Returns:
      the quantity price associated.
    • setPriceFormatted

      public void setPriceFormatted(String value)
      Sets the string formatted price associated with a conventional line item.
      Parameters:
      value - the string formatted price associated with a conventional line item.
    • getPriceFormatted

      public String getPriceFormatted()
      Gets the string formatted price associated with a conventional line item.
      Returns:
      the string formatted price associated with a conventional line item.
    • setPriceExtended

      public void setPriceExtended(float value)
      Sets the extended price .
      Parameters:
      value - the extended price .
    • getPriceExtended

      public float getPriceExtended()
      Gets the extended price .
      Returns:
      the extended price .
    • setPriceExtendedFormatted

      public void setPriceExtendedFormatted(String value)
      Sets the string formatted extended price.
      Parameters:
      value - the string formatted extended price.
    • getPriceExtendedFormatted

      public String getPriceExtendedFormatted()
      Gets the string formatted extended price.
      Returns:
      the string formatted extended price.
    • setLineItems

      public void setLineItems(Collection<InvoiceLineItem> value)
      Sets the list of nested line items, if any.
      Parameters:
      value - the list of nested line items, if any.
    • getLineItems

      public Collection<InvoiceLineItem> getLineItems()
      Gets the list of nested line items, if any.
      Returns:
      the list of nested line items, if any.
    • addLineItem

      public void addLineItem(InvoiceLineItem value)
      Adds a the list of nested line items, if any.
      Parameters:
      value - the list of nested line items, if any.