getTextFieldWithRawData example

return new LastIdQuery($query);
    }

    /** * {@inheritdoc} */
    public function getMapping()
    {
        return [
            'properties' => [
                'id' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'number' => $this->getTextFieldWithRawData(),
                'email' => $this->getTextFieldWithRawData(),
                'active' => TypeMappingInterface::MAPPING_BOOLEAN_FIELD,
                'title' => $this->getTextFieldWithRawData(),
                'salutation' => $this->textMapping->getKeywordField(),
                'firstname' => $this->getTextFieldWithRawData(),
                'lastname' => $this->getTextFieldWithRawData(),
                'lastLogin' => TypeMappingInterface::MAPPING_DATE_TIME_FIELD,
                'firstLogin' => TypeMappingInterface::MAPPING_DATE_TIME_FIELD,
                'newsletter' => TypeMappingInterface::MAPPING_BOOLEAN_FIELD,
                'birthday' => TypeMappingInterface::MAPPING_DATE_FIELD,
                'lockedUntil' => TypeMappingInterface::MAPPING_DATE_TIME_FIELD,
                
return new LastIdQuery($query);
    }

    /** * {@inheritdoc} */
    public function getMapping()
    {
        return [
            'properties' => [
                'id' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'number' => $this->getTextFieldWithRawData(),
                'invoiceAmount' => TypeMappingInterface::MAPPING_DOUBLE_FIELD,
                'invoiceShipping' => TypeMappingInterface::MAPPING_DOUBLE_FIELD,
                'orderTime' => TypeMappingInterface::MAPPING_DATE_AND_DATE_TIME_FIELD,
                'status' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'cleared' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'customerId' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'supplierId' => $this->textMapping->getTextField(),
                'billingCountryId' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'shippingCountryId' => TypeMappingInterface::MAPPING_LONG_FIELD,
                'groupKey' => $this->textMapping->getKeywordField(),
                'email' => $this->getTextFieldWithRawData(),
                
Home | Imprint | This part of the site doesn't use cookies.