public class UpdateCustomerRequest extends Object implements ICoreRequest
| Constructor and Description |
|---|
UpdateCustomerRequest() |
| Modifier and Type | Method and Description |
|---|---|
Customer |
getCustomer()
Gets models a customer update request.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getTransactionRef()
Gets the transaction reference string assigned to the transaction request.
|
boolean |
isAsync()
Gets defers the response to the transaction and returns immediately.
|
boolean |
isQueue()
Gets adds the transaction to the queue and returns immediately.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setAsync(boolean value)
Sets defers the response to the transaction and returns immediately.
|
void |
setCustomer(Customer value)
Sets models a customer update request.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setOrderRef(String value)
Sets an identifier from an external point of sale system.
|
void |
setQueue(boolean value)
Sets adds the transaction to the queue and returns immediately.
|
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.
|
void |
setTransactionRef(String value)
Sets the transaction reference string assigned to the transaction request.
|
public void setTransactionRef(String value)
value - the transaction reference string assigned to the transaction
request. If no transaction ref was assiged on the request, then the gateway will
randomly generate one.public String getTransactionRef()
getTransactionRef in interface ICoreRequestpublic void setAsync(boolean value)
value - defers the response to the transaction and returns immediately.
Callers should retrive the transaction result using the Transaction Status API.public boolean isAsync()
isAsync in interface ICoreRequestpublic void setQueue(boolean value)
value - adds the transaction to the queue and returns immediately. Callers
should retrive the transaction result using the Transaction Status API.public boolean isQueue()
isQueue in interface ICoreRequestpublic void setOrderRef(String value)
value - an identifier from an external point of sale system.public String getOrderRef()
getOrderRef in interface ICoreRequestpublic void setDestinationAccount(String value)
value - the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount in interface ICoreRequestpublic void setTest(boolean value)
value - whether or not to route transaction to the test gateway.public boolean isTest()
isTest in interface ICoreRequestpublic void setTimeout(int value)
value - the request timeout in seconds.public int getTimeout()
getTimeout in interface ICoreRequestpublic void setCustomer(Customer value)
value - models a customer update request.public Customer getCustomer()
Copyright © 2020 BlockChyp, Inc.. All rights reserved.