Package com.blockchyp.client.dto
Class MerchantInvoiceDetailResponse
java.lang.Object
com.blockchyp.client.dto.MerchantInvoiceDetailResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models detailed merchant invoice or statement information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeposit(StatementDeposit value) Adds a the list of merchant settlements disbursed during the statement period.voidaddLineItem(InvoiceLineItem value) Adds a the list of line item details associated with the invoice.voidaddPayment(InvoicePayment value) Adds a the list of payments collected against the invoice.floatGets the total unpaid balance on the invoice.Gets the string formatted unpaid balance on the invoice.Gets the billing or mailing address associated with the invoice.Gets the corporate name of the merchant associated with the statement.Gets the date the statement was generated.Gets the dba name of the merchant associated with the statement.Gets the list of merchant settlements disbursed during the statement period.getError()Gets the error, if an error occurred.floatGets the grand total.Gets the string formatted grand total.getId()Gets optional start date filter for batch history.Gets the type of invoice (statement or invoice).Gets the list of line item details associated with the invoice.Gets the id of the merchant associated with the statement.Gets the list of payments collected against the invoice.Gets the type of pricing used for the invoice (typically flat rate or or interchange plus).Gets a narrative description of the transaction result.Gets the shipping or physical address associated with the invoice.floatGets the total cost of shipping.Gets the string formatted total cost of shipping.Gets the current status of the invoice.Gets the string formatted subtotal before shipping and tax.floatGets the subtotal before shipping and tax.floatGets the total sales tax.Gets the string formatted total sales tax.booleanisPaid()Gets whether or not the invoice has been paid.booleanGets whether or not the request succeeded.voidsetBalanceDue(float value) Sets the total unpaid balance on the invoice.voidsetBalanceDueFormatted(String value) Sets the string formatted unpaid balance on the invoice.voidsetBillingAddress(Address value) Sets the billing or mailing address associated with the invoice.voidsetCorporateName(String value) Sets the corporate name of the merchant associated with the statement.voidsetDateCreated(Date value) Sets the date the statement was generated.voidsetDbaName(String value) Sets the dba name of the merchant associated with the statement.voidsetDeposits(Collection<StatementDeposit> value) Sets the list of merchant settlements disbursed during the statement period.voidSets the error, if an error occurred.voidsetGrandTotal(float value) Sets the grand total.voidsetGrandTotalFormatted(String value) Sets the string formatted grand total.voidSets optional start date filter for batch history.voidsetInvoiceType(String value) Sets the type of invoice (statement or invoice).voidsetLineItems(Collection<InvoiceLineItem> value) Sets the list of line item details associated with the invoice.voidsetMerchantId(String value) Sets the id of the merchant associated with the statement.voidsetPaid(boolean value) Sets whether or not the invoice has been paid.voidsetPayments(Collection<InvoicePayment> value) Sets the list of payments collected against the invoice.voidsetPricingType(String value) Sets the type of pricing used for the invoice (typically flat rate or or interchange plus).voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetShippingAddress(Address value) Sets the shipping or physical address associated with the invoice.voidsetShippingCost(float value) Sets the total cost of shipping.voidsetShippingCostFormatted(String value) Sets the string formatted total cost of shipping.voidSets the current status of the invoice.voidsetSubotalFormatted(String value) Sets the string formatted subtotal before shipping and tax.voidsetSubtotal(float value) Sets the subtotal before shipping and tax.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTaxTotal(float value) Sets the total sales tax.voidsetTaxTotalFormatted(String value) Sets the string formatted total sales tax.
-
Constructor Details
-
MerchantInvoiceDetailResponse
public MerchantInvoiceDetailResponse()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setId
Sets optional start date filter for batch history.- Parameters:
value- optional start date filter for batch history.
-
getId
Gets optional start date filter for batch history.- Returns:
- optional start date filter for batch history.
-
setMerchantId
Sets the id of the merchant associated with the statement.- Parameters:
value- the id of the merchant associated with the statement.
-
getMerchantId
Gets the id of the merchant associated with the statement.- Returns:
- the id of the merchant associated with the statement.
-
setCorporateName
Sets the corporate name of the merchant associated with the statement.- Parameters:
value- the corporate name of the merchant associated with the statement.
-
getCorporateName
Gets the corporate name of the merchant associated with the statement.- Returns:
- the corporate name of the merchant associated with the statement.
-
setDbaName
Sets the dba name of the merchant associated with the statement.- Parameters:
value- the dba name of the merchant associated with the statement.
-
getDbaName
Gets the dba name of the merchant associated with the statement.- Returns:
- the dba name of the merchant associated with the statement.
-
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.
-
setStatus
Sets the current status of the invoice.- Parameters:
value- the current status of the invoice.
-
getStatus
Gets the current status of the invoice.- Returns:
- the current status of the invoice.
-
setInvoiceType
Sets the type of invoice (statement or invoice).- Parameters:
value- the type of invoice (statement or invoice).
-
getInvoiceType
Gets the type of invoice (statement or invoice).- Returns:
- the type of invoice (statement or invoice).
-
setPricingType
Sets the type of pricing used for the invoice (typically flat rate or or interchange plus).- Parameters:
value- the type of pricing used for the invoice (typically flat rate or or interchange plus).
-
getPricingType
Gets the type of pricing used for the invoice (typically flat rate or or interchange plus).- Returns:
- the type of pricing used for the invoice (typically flat rate or or interchange plus).
-
setPaid
public void setPaid(boolean value) Sets whether or not the invoice has been paid.- Parameters:
value- whether or not the invoice has been paid.
-
isPaid
public boolean isPaid()Gets whether or not the invoice has been paid.- Returns:
- whether or not the invoice has been paid.
-
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.
-
setSubtotal
public void setSubtotal(float value) Sets the subtotal before shipping and tax.- Parameters:
value- the subtotal before shipping and tax.
-
getSubtotal
public float getSubtotal()Gets the subtotal before shipping and tax.- Returns:
- the subtotal before shipping and tax.
-
setSubotalFormatted
Sets the string formatted subtotal before shipping and tax.- Parameters:
value- the string formatted subtotal before shipping and tax.
-
getSubotalFormatted
Gets the string formatted subtotal before shipping and tax.- Returns:
- the string formatted subtotal before shipping and tax.
-
setTaxTotal
public void setTaxTotal(float value) Sets the total sales tax.- Parameters:
value- the total sales tax.
-
getTaxTotal
public float getTaxTotal()Gets the total sales tax.- Returns:
- the total sales tax.
-
setTaxTotalFormatted
Sets the string formatted total sales tax.- Parameters:
value- the string formatted total sales tax.
-
getTaxTotalFormatted
Gets the string formatted total sales tax.- Returns:
- the string formatted total sales tax.
-
setShippingCost
public void setShippingCost(float value) Sets the total cost of shipping.- Parameters:
value- the total cost of shipping.
-
getShippingCost
public float getShippingCost()Gets the total cost of shipping.- Returns:
- the total cost of shipping.
-
setShippingCostFormatted
Sets the string formatted total cost of shipping.- Parameters:
value- the string formatted total cost of shipping.
-
getShippingCostFormatted
Gets the string formatted total cost of shipping.- Returns:
- the string formatted total cost of shipping.
-
setBalanceDue
public void setBalanceDue(float value) Sets the total unpaid balance on the invoice.- Parameters:
value- the total unpaid balance on the invoice.
-
getBalanceDue
public float getBalanceDue()Gets the total unpaid balance on the invoice.- Returns:
- the total unpaid balance on the invoice.
-
setBalanceDueFormatted
Sets the string formatted unpaid balance on the invoice.- Parameters:
value- the string formatted unpaid balance on the invoice.
-
getBalanceDueFormatted
Gets the string formatted unpaid balance on the invoice.- Returns:
- the string formatted unpaid balance on the invoice.
-
setShippingAddress
Sets the shipping or physical address associated with the invoice.- Parameters:
value- the shipping or physical address associated with the invoice.
-
getShippingAddress
Gets the shipping or physical address associated with the invoice.- Returns:
- the shipping or physical address associated with the invoice.
-
setBillingAddress
Sets the billing or mailing address associated with the invoice.- Parameters:
value- the billing or mailing address associated with the invoice.
-
getBillingAddress
Gets the billing or mailing address associated with the invoice.- Returns:
- the billing or mailing address associated with the invoice.
-
setLineItems
Sets the list of line item details associated with the invoice.- Parameters:
value- the list of line item details associated with the invoice.
-
getLineItems
Gets the list of line item details associated with the invoice.- Returns:
- the list of line item details associated with the invoice.
-
setPayments
Sets the list of payments collected against the invoice.- Parameters:
value- the list of payments collected against the invoice.
-
getPayments
Gets the list of payments collected against the invoice.- Returns:
- the list of payments collected against the invoice.
-
setDeposits
Sets the list of merchant settlements disbursed during the statement period.- Parameters:
value- the list of merchant settlements disbursed during the statement period.
-
getDeposits
Gets the list of merchant settlements disbursed during the statement period.- Returns:
- the list of merchant settlements disbursed during the statement period.
-
addLineItem
Adds a the list of line item details associated with the invoice.- Parameters:
value- the list of line item details associated with the invoice.
-
addPayment
Adds a the list of payments collected against the invoice.- Parameters:
value- the list of payments collected against the invoice.
-
addDeposit
Adds a the list of merchant settlements disbursed during the statement period.- Parameters:
value- the list of merchant settlements disbursed during the statement period.
-