OEModule\PASAPI\resources\Appointment::getMappingsArray PHP Method

getMappingsArray() public method

Note, expects resource to have been validated
public getMappingsArray ( ) : array
return array
    public function getMappingsArray()
    {
        $res = array();
        if (property_exists($this, 'AppointmentMappingItems')) {
            foreach ($this->AppointmentMappingItems as $item) {
                $res[$item->Key] = $item->Value;
            }
        }
        return $res;
    }