public class InviteMerchantUserRequest extends Object implements ITimeoutRequest, ICoreRequest
| Constructor and Description |
|---|
InviteMerchantUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(String value)
Adds a an optional array of role codes that will be assigned to the user.
|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getEmail()
Gets the email address of the user.
|
String |
getFirstName()
Gets the first name of the new user.
|
String |
getLastName()
Gets the last name of the new user.
|
String |
getMerchantId()
Gets the merchant id.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
Collection<String> |
getRoles()
Gets an optional array of role codes that will be assigned to the user.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getTransactionRef()
Gets a user-assigned reference that can be used to recall or reverse transactions.
|
boolean |
isAsync()
Gets defers the response to the transaction and returns immediately.
|
boolean |
isForce()
Gets override any in-progress transactions.
|
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.
|
boolean |
isWaitForRemovedCard()
Gets whether or not the request should block until all cards have been removed from
the card reader.
|
void |
setAsync(boolean value)
Sets defers the response to the transaction and returns immediately.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setEmail(String value)
Sets the email address of the user.
|
void |
setFirstName(String value)
Sets the first name of the new user.
|
void |
setForce(boolean value)
Sets override any in-progress transactions.
|
void |
setLastName(String value)
Sets the last name of the new user.
|
void |
setMerchantId(String value)
Sets the merchant id.
|
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 |
setRoles(Collection<String> value)
Sets an optional array of role codes that will be assigned to the user.
|
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 a user-assigned reference that can be used to recall or reverse transactions.
|
void |
setWaitForRemovedCard(boolean value)
Sets whether or not the request should block until all cards have been removed from
the card reader.
|
public void setTimeout(int value)
value - the request timeout in seconds.public int getTimeout()
getTimeout in interface ITimeoutRequestpublic void setTest(boolean value)
value - whether or not to route transaction to the test gateway.public boolean isTest()
isTest in interface ITimeoutRequestpublic void setTransactionRef(String value)
value - a user-assigned reference that can be used to recall or reverse
transactions.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 setWaitForRemovedCard(boolean value)
value - whether or not the request should block until all cards have been
removed from the card reader.public boolean isWaitForRemovedCard()
isWaitForRemovedCard in interface ICoreRequestpublic void setForce(boolean value)
value - override any in-progress transactions.public boolean isForce()
isForce 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 setMerchantId(String value)
value - the merchant id. Optional for merchant scoped requests.public String getMerchantId()
public void setEmail(String value)
value - the email address of the user.public String getEmail()
public void setFirstName(String value)
value - the first name of the new user.public String getFirstName()
public void setLastName(String value)
value - the last name of the new user.public String getLastName()
public void setRoles(Collection<String> value)
value - an optional array of role codes that will be assigned to the user. If
omitted defaults to the default merchant role.public Collection<String> getRoles()
public void addRole(String value)
value - an optional array of role codes that will be assigned to the user. If
omitted defaults to the default merchant role.Copyright © 2022 BlockChyp, Inc.. All rights reserved.