Package com.fifa.connectid.sdk.tms
Interface TmsFacade
-
- All Known Implementing Classes:
TmsFacadeImpl
public interface TmsFacade
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaddPlayer(com.fifa.fc.PersonLocal personLocal)Adds player in TMS system via Service BuslongdeclareDomesticTransferAndWaitForTransferId(com.fifa.fc.DomesticTransferDeclaration declaration, Duration timeout)Sends a Domestic Transfer Declaration to TMS via Service Bus and waits for TMS' response containing TMS Transfer IDlongdeclareFirstProRegistrationAndWaitForRegistrationId(com.fifa.fc.FirstProRegistration firstProRegistration, Duration timeout)Sends a First Pro Registration to TMS via Service Bus and waits for TMS' response containing TMS First Registration IDlongprovePaymentAndWaitForPaymentId(com.fifa.fc.ProofOfPayment proofOfPayment, Duration timeout)Sends Proof Of Payment to TMS system via Service BusStringupdatePlayer(com.fifa.fc.PersonLocal personLocal)Updates existing player in TMS system via Service Bus
-
-
-
Method Detail
-
addPlayer
String addPlayer(com.fifa.fc.PersonLocal personLocal) throws TmsOperationException
Adds player in TMS system via Service Bus- Parameters:
personLocal- - Person details using FIFA Data Standard.- Returns:
- Correlation Id of the request
- Throws:
TmsOperationException
-
updatePlayer
String updatePlayer(com.fifa.fc.PersonLocal personLocal) throws TmsOperationException
Updates existing player in TMS system via Service Bus- Parameters:
personLocal- - Person details using FIFA Data Standard.- Returns:
- Correlation Id of the request
- Throws:
TmsOperationException
-
declareDomesticTransferAndWaitForTransferId
long declareDomesticTransferAndWaitForTransferId(com.fifa.fc.DomesticTransferDeclaration declaration, Duration timeout) throws ResponseNotReceivedException, DeclarationRejectedException, ExceptionSends a Domestic Transfer Declaration to TMS via Service Bus and waits for TMS' response containing TMS Transfer ID- Parameters:
declaration- Domestic Transfer Declarationtimeout- Time to wait for the response to arrive- Returns:
- TMS Transfer ID
- Throws:
ResponseNotReceivedException- TMS' response did not arrive withing the timeoutDeclarationRejectedException- The proof was not accepted by TMSException
-
provePaymentAndWaitForPaymentId
long provePaymentAndWaitForPaymentId(com.fifa.fc.ProofOfPayment proofOfPayment, Duration timeout) throws ResponseNotReceivedException, DeclarationRejectedException, ExceptionSends Proof Of Payment to TMS system via Service Bus- Parameters:
proofOfPayment- Proof of paymenttimeout- Time to wait for the response to arrive- Returns:
- TMS Payment ID
- Throws:
ResponseNotReceivedException- TMS' response did not arrive withing the timeoutDeclarationRejectedException- The proof was not accepted by TMSException
-
declareFirstProRegistrationAndWaitForRegistrationId
long declareFirstProRegistrationAndWaitForRegistrationId(com.fifa.fc.FirstProRegistration firstProRegistration, Duration timeout) throws ResponseNotReceivedException, DeclarationRejectedException, ExceptionSends a First Pro Registration to TMS via Service Bus and waits for TMS' response containing TMS First Registration ID- Parameters:
firstProRegistration- First Pro Registrationtimeout- Time to wait for the response to arrive- Returns:
- TMS First Registration ID
- Throws:
ResponseNotReceivedException- TMS' response did not arrive withing the timeoutDeclarationRejectedException- The proof was not accepted by TMSException
-
-