Package com.blockchyp.client.dto
Class MerchantInvoiceDetailRequest
java.lang.Object
com.blockchyp.client.dto.MerchantInvoiceDetailRequest
- All Implemented Interfaces:
ITimeoutRequest
Models a request to retrieve detailed merchant invoice information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the invoice id.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidSets the invoice id.voidsetTest(boolean value) Sets whether or not to route transaction to the test gateway.voidsetTimeout(int value) Sets the request timeout in seconds.
-
Constructor Details
-
MerchantInvoiceDetailRequest
public MerchantInvoiceDetailRequest()
-
-
Method Details
-
setTimeout
public void setTimeout(int value) Sets the request timeout in seconds.- Parameters:
value- the request timeout in seconds.
-
getTimeout
public int getTimeout()Gets the request timeout in seconds.- Specified by:
getTimeoutin interfaceITimeoutRequest- Returns:
- the request timeout in seconds.
-
setTest
public void setTest(boolean value) Sets whether or not to route transaction to the test gateway.- Parameters:
value- whether or not to route transaction to the test gateway.
-
isTest
public boolean isTest()Gets whether or not to route transaction to the test gateway.- Specified by:
isTestin interfaceITimeoutRequest- Returns:
- whether or not to route transaction to the test gateway.
-
setId
Sets the invoice id.- Parameters:
value- the invoice id.
-
getId
Gets the invoice id.- Returns:
- the invoice id.
-