Package com.blockchyp.client.dto
Class MerchantInvoiceListResponse
java.lang.Object
com.blockchyp.client.dto.MerchantInvoiceListResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a response to an invoice list request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvoice(MerchantInvoiceSummary value) Adds a the list of invoices returned by the request.getError()Gets the error, if an error occurred.Gets the list of invoices returned by the request.Gets a narrative description of the transaction result.booleanGets whether or not the request succeeded.voidSets the error, if an error occurred.voidSets the list of invoices returned by the request.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.
-
Constructor Details
-
MerchantInvoiceListResponse
public MerchantInvoiceListResponse()
-
-
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.
-
setInvoices
Sets the list of invoices returned by the request.- Parameters:
value- the list of invoices returned by the request.
-
getInvoices
Gets the list of invoices returned by the request.- Returns:
- the list of invoices returned by the request.
-
addInvoice
Adds a the list of invoices returned by the request.- Parameters:
value- the list of invoices returned by the request.
-