Completed
Push — master ( b9383d...d4bc8a )
by Tim
9s
created

ColumnKeys

Complexity

Total Complexity 0

Size/Duplication

Total Lines 94
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 94
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * TechDivision\Import\Product\Utils\ColumnKeys
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author    Tim Wagner <[email protected]>
15
 * @copyright 2016 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      https://github.com/techdivision/import-product
18
 * @link      http://www.techdivision.com
19
 */
20
21
namespace TechDivision\Import\Product\Utils;
22
23
use TechDivision\Import\Utils\ColumnKeys as FallbackColumnKeys;
24
25
/**
26
 * Utility class containing the CSV column names.
27
 *
28
 * @author    Tim Wagner <[email protected]>
29
 * @copyright 2016 TechDivision GmbH <[email protected]>
30
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
31
 * @link      https://github.com/techdivision/import-product
32
 * @link      http://www.techdivision.com
33
 */
34
class ColumnKeys extends FallbackColumnKeys
35
{
36
37
    /**
38
     * Name for the column 'sku'.
39
     *
40
     * @var string
41
     */
42
    const SKU = 'sku';
43
44
    /**
45
     * Name for the column 'categories'.
46
     *
47
     * @var string
48
     */
49
    const CATEGORIES = 'categories';
50
51
    /**
52
     * Name for the column 'product_websites'.
53
     *
54
     * @var string
55
     */
56
    const PRODUCT_WEBSITES = 'product_websites';
57
58
    /**
59
     * Name for the column 'created_at'.
60
     *
61
     * @var string
62
     */
63
    const CREATED_AT = 'created_at';
64
65
    /**
66
     * Name for the column 'updated_at'.
67
     *
68
     * @var string
69
     */
70
    const UPDATED_AT = 'updated_at';
71
72
    /**
73
     * Name for the column 'qty'.
74
     *
75
     * @var string
76
     */
77
    const QTY = 'qty';
78
79
    /**
80
     * Name for the column 'is_in_stock'.
81
     *
82
     * @var string
83
     */
84
    const IS_IN_STOCK = 'is_in_stock';
85
86
    /**
87
     * Name for the column 'quantity_and_stock_status'.
88
     *
89
     * @var string
90
     */
91
    const QUANTITY_AND_STOCK_STATUS = 'quantity_and_stock_status';
92
93
    /**
94
     * Name for the column 'website_id'.
95
     *
96
     * @var string
97
     */
98
    const WEBSITE_ID = 'website_id';
99
100
    /**
101
     * Name for the column 'additional_attributes'.
102
     *
103
     * @var string
104
     */
105
    const ADDITIONAL_ATTRIBUTES = 'additional_attributes';
106
107
    /**
108
     * Name for the column 'attribute_set_code'.
109
     *
110
     * @var string
111
     */
112
    const ATTRIBUTE_SET_CODE = 'attribute_set_code';
113
114
    /**
115
     * Name for the column 'url_key'.
116
     *
117
     * @var string
118
     */
119
    const URL_KEY = 'url_key';
120
121
    /**
122
     * Name for the column 'name'.
123
     *
124
     * @var string
125
     */
126
    const NAME = 'name';
127
}
128