示例#1
0
 public async Task CreateLegalEntity(AccountLegalEntityCreateRequest accountLegalEntity)
 {
     var request = new PutAccountLegalEntityRequest {
         Data = accountLegalEntity
     };
     await _client.Put(request);
 }
示例#2
0
 public async Task Update(UpdateRequest updateRequest)
 {
     var request = new UpdateEmploymentCheckRequest {
         Data = updateRequest
     };
     await _client.Put(request);
 }
示例#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);
        }
示例#4
0
        public Task AddEmployerVendorIdToLegalEntity(string hashedLegalEntityId, string employerVendorId)
        {
            var request = new PutEmployerVendorIdForLegalEntityRequestData
            {
                HashedLegalEntityId = hashedLegalEntityId,
                EmployerVendorId    = employerVendorId
            };

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