Hi
Not sure if this is possible, but could there be a improvement on the way you write the code
ie
$request = (new ServiceProviderServiceModifyAuthorizationListRequest())
->setServiceProviderId($enterpriseid )
->setuserServiceAuthorization([
(new UserServiceAuthorization())
->setServiceName($service)
->setAuthorizedQuantity(
(new UnboundedPositiveInt())
->setUnlimited(true)),
]);
to
$request = (new ServiceProviderServiceModifyAuthorizationListRequest())
->setServiceProviderId($enterpriseid )
->setUserServiceAuthorization->setServiceName($service)
->setUserServiceAuthorization->setAuthorizedQuantity>setUnlimited(true);
Hi Not sure if this is possible, but could there be a improvement on the way you write the code ie $request = (new ServiceProviderServiceModifyAuthorizationListRequest()) ->setServiceProviderId($enterpriseid ) ->setuserServiceAuthorization([ (new UserServiceAuthorization()) ->setServiceName($service) ->setAuthorizedQuantity( (new UnboundedPositiveInt()) ->setUnlimited(true)), ]); to
$request = (new ServiceProviderServiceModifyAuthorizationListRequest()) ->setServiceProviderId($enterpriseid ) ->setUserServiceAuthorization->setServiceName($service) ->setUserServiceAuthorization->setAuthorizedQuantity>setUnlimited(true);
always great work, many thanks