Package com.blockchyp.client.dto
Class MerchantInvoiceSummary
java.lang.Object
com.blockchyp.client.dto.MerchantInvoiceSummary
Models basic information about a merchant invoice for use in list or search results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the date the statement was generated.floatGets the grand total.Gets the string formatted grand total.getId()Gets the id owner of the invoice.Gets identifies the invoice type.Gets the status of the statement.booleanisPaid()Gets whether or not the invoice had been paid.voidsetDateCreated(Date value) Sets the date the statement was generated.voidsetGrandTotal(float value) Sets the grand total.voidsetGrandTotalFormatted(String value) Sets the string formatted grand total.voidSets the id owner of the invoice.voidsetInvoiceType(String value) Sets identifies the invoice type.voidsetPaid(boolean value) Sets whether or not the invoice had been paid.voidSets the status of the statement.
-
Constructor Details
-
MerchantInvoiceSummary
public MerchantInvoiceSummary()
-
-
Method Details
-
setId
Sets the id owner of the invoice.- Parameters:
value- the id owner of the invoice.
-
getId
Gets the id owner of the invoice.- Returns:
- the id owner of the invoice.
-
setDateCreated
Sets the date the statement was generated.- Parameters:
value- the date the statement was generated.
-
getDateCreated
Gets the date the statement was generated.- Returns:
- the date the statement was generated.
-
setGrandTotal
public void setGrandTotal(float value) Sets the grand total.- Parameters:
value- the grand total.
-
getGrandTotal
public float getGrandTotal()Gets the grand total.- Returns:
- the grand total.
-
setGrandTotalFormatted
Sets the string formatted grand total.- Parameters:
value- the string formatted grand total.
-
getGrandTotalFormatted
Gets the string formatted grand total.- Returns:
- the string formatted grand total.
-
setStatus
Sets the status of the statement.- Parameters:
value- the status of the statement.
-
getStatus
Gets the status of the statement.- Returns:
- the status of the statement.
-
setInvoiceType
Sets identifies the invoice type.- Parameters:
value- identifies the invoice type.
-
getInvoiceType
Gets identifies the invoice type.- Returns:
- identifies the invoice type.
-
setPaid
public void setPaid(boolean value) Sets whether or not the invoice had been paid.- Parameters:
value- whether or not the invoice had been paid.
-
isPaid
public boolean isPaid()Gets whether or not the invoice had been paid.- Returns:
- whether or not the invoice had been paid.
-