public function convertPolicyIdList(array $data = null)
    {
        $policyIdsList = new PolicyIdList();
        $policyIdsList->setPolicyIds(
            array_filter(
                array_filter(
                    $data[JSONConstants::JSON_OBJECT_POLICY_IDS_IDS] ?? [],
                    'is_string'
                ),
                function ($item) { return !empty($item); }
            )
        );
        $policyIdsList->setExtensions($this->convertExtension($data, JSONConstants::getPolicyIdsKeys()));

        return $policyIdsList;
    }
public function convertPolicyIdList(array $data = null)
    {
        $policyIdsList = new PolicyIdList();
        $policyIdsList->setPolicyIds(
            array_filter(
                array_filter(
                    $data[JSONConstants::JSON_OBJECT_POLICY_IDS_IDS] ?? [],
                    'is_string'
                ),
                function ($item) { return !empty($item); }
            )
        );
        $policyIdsList->setExtensions($this->convertExtension($data, JSONConstants::getPolicyIdsKeys()));

        return $policyIdsList;
    }
public function convertPolicyIdList ( array $ data = null ) { $ policyIdsList = new PolicyIdList ( ) ; $ policyIdsList -> setPolicyIds ( array_filter ( array_filter ( $ data [ JSONConstants :: JSON_OBJECT_POLICY_IDS_IDS ] ?? [ ] , 'is_string' ) , function ( $ item ) { return ! empty ( $ item ) ; } ) ) ; $ policyIdsList -> setExtensions ( $ this -> convertExtension ( $ data , JSONConstants :: getPolicyIdsKeys ( ) ) ) ; return $ policyIdsList ; }
Converts a list of policy ids.

@param array|null $data
@return PolicyIdList List of policy ids
Converts a list of policy ids .