Package com.blockchyp.client.dto
Class PartnerStatementDetailResponse
java.lang.Object
com.blockchyp.client.dto.PartnerStatementDetailResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a response to retrieve detailed partner statement information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a the list of adjustments made against the statement, if any.voidAdds a the list of partner disbursements made against the partner statement.voidAdds a the line item detail associated with the statement.Gets the list of adjustments made against the statement, if any.Gets the list of partner disbursements made against the partner statement.getError()Gets the error, if an error occurred.getId()Gets optional start date filter for batch history.Gets the line item detail associated with the statement.floatGets the commission earned on the portfolio during the statement period.Gets the string formatted partner commission on the statement.floatGets the partner commission earned on the portfolio during the statement period as a ratio against volume.Gets the string formatted version of partner commissions as a percentage of volume.Gets the id of the partner associated with the statement.Gets the name of the partner associated with the statement.Gets a narrative description of the transaction result.Gets the date the statement was generated.Gets the status of the statement.floatGets total volume in numeric format.Gets the string formatted total volume on the statement.intGets the total volume on the statement.booleanGets whether or not the request succeeded.voidSets the list of adjustments made against the statement, if any.voidSets the list of partner disbursements made against the partner statement.voidSets the error, if an error occurred.voidSets optional start date filter for batch history.voidSets the line item detail associated with the statement.voidsetPartnerCommission(float value) Sets the commission earned on the portfolio during the statement period.voidSets the string formatted partner commission on the statement.voidsetPartnerCommissionsOnVolume(float value) Sets the partner commission earned on the portfolio during the statement period as a ratio against volume.voidSets the string formatted version of partner commissions as a percentage of volume.voidsetPartnerId(String value) Sets the id of the partner associated with the statement.voidsetPartnerName(String value) Sets the name of the partner associated with the statement.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetStatementDate(Date value) Sets the date the statement was generated.voidSets the status of the statement.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTotalVolume(float value) Sets total volume in numeric format.voidsetTotalVolumeFormatted(String value) Sets the string formatted total volume on the statement.voidsetTransactionCount(int value) Sets the total volume on the statement.
-
Constructor Details
-
PartnerStatementDetailResponse
public PartnerStatementDetailResponse()
-
-
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.
-
setPartnerId
Sets the id of the partner associated with the statement.- Parameters:
value- the id of the partner associated with the statement.
-
getPartnerId
Gets the id of the partner associated with the statement.- Returns:
- the id of the partner associated with the statement.
-
setPartnerName
Sets the name of the partner associated with the statement.- Parameters:
value- the name of the partner associated with the statement.
-
getPartnerName
Gets the name of the partner associated with the statement.- Returns:
- the name of the partner associated with the statement.
-
setStatementDate
Sets the date the statement was generated.- Parameters:
value- the date the statement was generated.
-
getStatementDate
Gets the date the statement was generated.- Returns:
- the date the statement was generated.
-
setTotalVolume
public void setTotalVolume(float value) Sets total volume in numeric format.- Parameters:
value- total volume in numeric format.
-
getTotalVolume
public float getTotalVolume()Gets total volume in numeric format.- Returns:
- total volume in numeric format.
-
setTotalVolumeFormatted
Sets the string formatted total volume on the statement.- Parameters:
value- the string formatted total volume on the statement.
-
getTotalVolumeFormatted
Gets the string formatted total volume on the statement.- Returns:
- the string formatted total volume on the statement.
-
setTransactionCount
public void setTransactionCount(int value) Sets the total volume on the statement.- Parameters:
value- the total volume on the statement.
-
getTransactionCount
public int getTransactionCount()Gets the total volume on the statement.- Returns:
- the total volume on the statement.
-
setPartnerCommission
public void setPartnerCommission(float value) Sets the commission earned on the portfolio during the statement period.- Parameters:
value- the commission earned on the portfolio during the statement period.
-
getPartnerCommission
public float getPartnerCommission()Gets the commission earned on the portfolio during the statement period.- Returns:
- the commission earned on the portfolio during the statement period.
-
setPartnerCommissionFormatted
Sets the string formatted partner commission on the statement.- Parameters:
value- the string formatted partner commission on the statement.
-
getPartnerCommissionFormatted
Gets the string formatted partner commission on the statement.- Returns:
- the string formatted partner commission on the statement.
-
setPartnerCommissionsOnVolume
public void setPartnerCommissionsOnVolume(float value) Sets the partner commission earned on the portfolio during the statement period as a ratio against volume.- Parameters:
value- the partner commission earned on the portfolio during the statement period as a ratio against volume.
-
getPartnerCommissionsOnVolume
public float getPartnerCommissionsOnVolume()Gets the partner commission earned on the portfolio during the statement period as a ratio against volume.- Returns:
- the partner commission earned on the portfolio during the statement period as a ratio against volume.
-
setPartnerCommissionsOnVolumeFormatted
Sets the string formatted version of partner commissions as a percentage of volume.- Parameters:
value- the string formatted version of partner commissions as a percentage of volume.
-
getPartnerCommissionsOnVolumeFormatted
Gets the string formatted version of partner commissions as a percentage of volume.- Returns:
- the string formatted version of partner commissions as a percentage of volume.
-
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.
-
setLineItems
Sets the line item detail associated with the statement.- Parameters:
value- the line item detail associated with the statement.
-
getLineItems
Gets the line item detail associated with the statement.- Returns:
- the line item detail associated with the statement.
-
setAdjustments
Sets the list of adjustments made against the statement, if any.- Parameters:
value- the list of adjustments made against the statement, if any.
-
getAdjustments
Gets the list of adjustments made against the statement, if any.- Returns:
- the list of adjustments made against the statement, if any.
-
setDisbursements
Sets the list of partner disbursements made against the partner statement.- Parameters:
value- the list of partner disbursements made against the partner statement.
-
getDisbursements
Gets the list of partner disbursements made against the partner statement.- Returns:
- the list of partner disbursements made against the partner statement.
-
addLineItem
Adds a the line item detail associated with the statement.- Parameters:
value- the line item detail associated with the statement.
-
addAdjustment
Adds a the list of adjustments made against the statement, if any.- Parameters:
value- the list of adjustments made against the statement, if any.
-
addDisbursement
Adds a the list of partner disbursements made against the partner statement.- Parameters:
value- the list of partner disbursements made against the partner statement.
-