public class TerminalActivationRequest extends Object implements ITimeoutRequest
Constructor and Description |
---|
TerminalActivationRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getActivationCode()
Gets the terminal activation code displayed on the terminal.
|
String |
getMerchantId()
Gets the optional merchant id.
|
String |
getTerminalName()
Gets the name to be assigned to the terminal.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
boolean |
isCloudRelay()
Gets that the terminal should be activated in cloud relay mode.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setActivationCode(String value)
Sets the terminal activation code displayed on the terminal.
|
void |
setCloudRelay(boolean value)
Sets that the terminal should be activated in cloud relay mode.
|
void |
setMerchantId(String value)
Sets the optional merchant id.
|
void |
setTerminalName(String value)
Sets the name to be assigned to the terminal.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
public void setTimeout(int value)
value
- the request timeout in seconds.public int getTimeout()
getTimeout
in interface ITimeoutRequest
public void setTest(boolean value)
value
- whether or not to route transaction to the test gateway.public boolean isTest()
isTest
in interface ITimeoutRequest
public void setMerchantId(String value)
value
- the optional merchant id.public String getMerchantId()
public void setActivationCode(String value)
value
- the terminal activation code displayed on the terminal.public String getActivationCode()
public void setTerminalName(String value)
value
- the name to be assigned to the terminal. Must be unique for the merchant
account.public String getTerminalName()
public void setCloudRelay(boolean value)
value
- that the terminal should be activated in cloud relay mode.public boolean isCloudRelay()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.