Exemple #1
0
 public async Task CreateLegalEntity(AccountLegalEntityCreateRequest accountLegalEntity)
 {
     var request = new PutAccountLegalEntityRequest {
         Data = accountLegalEntity
     };
     await _client.Put(request);
 }
Exemple #2
0
 public async Task Update(UpdateRequest updateRequest)
 {
     var request = new UpdateEmploymentCheckRequest {
         Data = updateRequest
     };
     await _client.Put(request);
 }
Exemple #3
0
        public async Task <Unit> Handle(AddJobCommand command, CancellationToken cancellationToken)
        {
            var request = new PutJobRequest(new JobRequest {
                Type = command.Type, Data = command.Data
            });

            await _client.Put(request);

            return(Unit.Value);
        }
Exemple #4
0
        public Task AddEmployerVendorIdToLegalEntity(string hashedLegalEntityId, string employerVendorId)
        {
            var request = new PutEmployerVendorIdForLegalEntityRequestData
            {
                HashedLegalEntityId = hashedLegalEntityId,
                EmployerVendorId    = employerVendorId
            };

            return(_client.Put(new PutEmployerVendorIdForLegalEntityRequest()
            {
                Data = request
            }));
        }
Exemple #5
0
 public Task Update(UpdateIncentiveApplicationRequestData requestData)
 {
     return(_client.Put(new UpdateIncentiveApplicationRequest {
         Data = requestData
     }));
 }