Package com.blockchyp.client.dto
Class PaymentLinkStatusRequest
java.lang.Object
com.blockchyp.client.dto.PaymentLinkStatusRequest
- All Implemented Interfaces:
ITimeoutRequest
Models the request for updated information about a payment link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the link code assigned to the payment link.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetLinkCode(String value) Sets the link code assigned to the payment link.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
-
PaymentLinkStatusRequest
public PaymentLinkStatusRequest()
-
-
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.
-
setLinkCode
Sets the link code assigned to the payment link.- Parameters:
value- the link code assigned to the payment link.
-
getLinkCode
Gets the link code assigned to the payment link.- Returns:
- the link code assigned to the payment link.
-