public class CoreRequest extends Object
| Constructor and Description |
|---|
CoreRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAccount()
Returns the settlement account id.
|
int |
getTimeout()
Returns the request timeout.
|
String |
getTransactionRef()
Returns the transaction ref value.
|
boolean |
isTest()
Sets the transaction test flag.
|
void |
setDestinationAccount(String destinationAccount)
Sets the settlement account for merchants with split settlement enabled (not common).
|
void |
setTest(boolean test)
Sets the test transaction flag.
|
void |
setTimeout(int timeout)
Sets the request timeout.
|
void |
setTransactionRef(String transactionRef)
Sets the transaction ref value.
|
public String getTransactionRef()
public void setTransactionRef(String transactionRef)
transactionRef - developer provided transaction id.public String getDestinationAccount()
public void setDestinationAccount(String destinationAccount)
destinationAccount - settlement account id.public boolean isTest()
public void setTest(boolean test)
test - if true, the transaction will be routed to the test gateway.public int getTimeout()
public void setTimeout(int timeout)
timeout - timeout in ms.Copyright © 2019 BlockChyp, Inc.. All rights reserved.