public interface ExchangeClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
downloadReceiptPDF(java.lang.String receiptId) |
Merchant |
lookupMerchant(java.lang.String Id) |
DigitalReceipt |
lookupReceipt(java.lang.String receiptId) |
java.util.Map<java.lang.String,NewUserRegistrationResult> |
registerNewUser(java.util.List<NewUser> newUsers) |
NewUserRegistrationResult |
registerNewUser(NewUser newUser) |
User |
searchUser(UserIdentifierType identifierType,
java.lang.String identifier) |
Users |
searchUsers(UserIdentifierType identifierType,
java.util.ArrayList<java.lang.String> userIdentifiers) |
java.lang.String |
sendDryRunReceipt(ReceiptPostRequest receiptPostRequest) |
java.lang.String |
sendProductionReceipt(ReceiptPostRequest receiptPostRequest) |
User searchUser(UserIdentifierType identifierType, java.lang.String identifier) throws ExchangeClientException, java.io.UnsupportedEncodingException
identifierType - UserIdentifierTypeidentifier - StringExchangeClientException - will be thrown if problem calling the service.java.io.UnsupportedEncodingException - will be thrown if problem calling the service.Users searchUsers(UserIdentifierType identifierType, java.util.ArrayList<java.lang.String> userIdentifiers) throws ExchangeClientException
identifierType - UserIdentifierTypeuserIdentifiers - list of user identifiersExchangeClientException - will be thrown if problem calling the service.java.lang.String sendProductionReceipt(ReceiptPostRequest receiptPostRequest) throws ExchangeClientException
receiptPostRequest - ReceiptPostRequestExchangeClientException - will be thrown if problem calling the service.java.lang.String sendDryRunReceipt(ReceiptPostRequest receiptPostRequest) throws ExchangeClientException
receiptPostRequest - ReceiptPostRequestExchangeClientException - will be thrown if problem calling the service.NewUserRegistrationResult registerNewUser(NewUser newUser) throws ExchangeClientException
newUser - NewUserExchangeClientException - will be thrown if problem calling the service.java.util.Map<java.lang.String,NewUserRegistrationResult> registerNewUser(java.util.List<NewUser> newUsers) throws ExchangeClientException
newUsers - list of users to be registeredExchangeClientException - will be thrown if problem calling the service.DigitalReceipt lookupReceipt(java.lang.String receiptId) throws ExchangeClientException
receiptId - StringExchangeClientException - will be thrown if problem calling the service.boolean downloadReceiptPDF(java.lang.String receiptId)
throws ExchangeClientException
receiptId - StringExchangeClientException - will be thrown if problem calling the service.Merchant lookupMerchant(java.lang.String Id) throws ExchangeClientException
Id - StringExchangeClientException - will be thrown if problem calling the service.