Class TmsClientImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      TmsClientImpl​(com.fifa.connectservicebus.sdk.FifaConnectServiceBusClient fifaConnectServiceBusClient, com.fifa.connectservicebus.sdk.logging.Logger logger)  
    • Constructor Detail

      • TmsClientImpl

        public TmsClientImpl​(com.fifa.connectservicebus.sdk.FifaConnectServiceBusClient fifaConnectServiceBusClient,
                             com.fifa.connectservicebus.sdk.logging.Logger logger)
    • Method Detail

      • addPlayer

        public void addPlayer​(String correlationId,
                              com.fifa.fc.PersonLocal personLocal)
                       throws TmsOperationException
        Description copied from interface: TmsClient
        Adds player in TMS system via Service Bus
        Specified by:
        addPlayer in interface TmsClient
        Parameters:
        correlationId - - Unique correlation id
        personLocal - - Person details using FIFA Data Standard.
        Throws:
        TmsOperationException
      • updatePlayer

        public void updatePlayer​(String correlationId,
                                 com.fifa.fc.PersonLocal personLocal)
                          throws TmsOperationException
        Description copied from interface: TmsClient
        Updates existing player in TMS system via Service Bus
        Specified by:
        updatePlayer in interface TmsClient
        Parameters:
        correlationId - - Unique correlation id
        personLocal - - Person details using FIFA Data Standard.
        Throws:
        TmsOperationException
      • declareDomesticTransfer

        public void declareDomesticTransfer​(String correlationId,
                                            com.fifa.fc.DomesticTransferDeclaration declaration)
                                     throws TmsOperationException
        Description copied from interface: TmsClient
        Sends DTD declaration to TMS system via Service Bus
        Specified by:
        declareDomesticTransfer in interface TmsClient
        Parameters:
        correlationId - - Unique correlation id
        declaration - - Domestic transfer declaration to be sent to TMS
        Throws:
        TmsOperationException
      • provePayment

        public void provePayment​(String correlationId,
                                 com.fifa.fc.ProofOfPayment proofOfPayment)
                          throws TmsOperationException
        Description copied from interface: TmsClient
        Sends Proof Of Payment to TMS system via Service Bus
        Specified by:
        provePayment in interface TmsClient
        Parameters:
        correlationId - - Unique correlation id
        proofOfPayment - - Proof of payment to be sent to TMS
        Throws:
        TmsOperationException
      • declareFirstProRegistration

        public void declareFirstProRegistration​(String correlationId,
                                                com.fifa.fc.FirstProRegistration firstProRegistration)
                                         throws TmsOperationException
        Description copied from interface: TmsClient
        Sends FirstProRegistration to TMS system via Service Bus
        Specified by:
        declareFirstProRegistration in interface TmsClient
        Parameters:
        correlationId - - Unique correlation id
        firstProRegistration - - First pro registration to be sent to TMS
        Throws:
        TmsOperationException