-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLibraryItem.java
More file actions
280 lines (221 loc) · 5.4 KB
/
Copy pathLibraryItem.java
File metadata and controls
280 lines (221 loc) · 5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
public class LibraryItem {
int size;
String token;
String itemName;
String variationName;
String sku;
String desc;
String category;
String gtin;
String itemVis;
String weight;
String price;
String sellable;
String stockable;
String optName1;
String optVal1;
String optName2;
String optVal2;
String optName3;
String optVal3;
String defUnitCost;
String defVendorName;
String defVendorCode;
String quantity;
String newQuantity;
String alertEnable;
String alertCount;
String tax;
public LibraryItem() {
size = 26;
}
public void setToken(String token) {
this.token = token;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
public void setVariationName(String variationName) {
this.variationName = variationName;
}
public void setSku(String sku) {
this.sku = sku;
}
public void setDesc(String desc) {
this.desc = desc;
}
public void setCategory(String category) {
this.category = category;
}
public void setGtin(String gtin) {
this.gtin = gtin;
}
public void setItemVis(String itemVis) {
this.itemVis = itemVis;
}
public void setWeight(String weight) {
this.weight = weight;
}
public void setPrice(String price) {
this.price = price;
}
public void setSellable(String sellable) {
this.sellable = sellable;
}
public void setStockable(String stockable) {
this.stockable = stockable;
}
public void setOptName1(String optName1) {
this.optName1 = optName1;
}
public void setOptVal1(String optVal1) {
this.optVal1 = optVal1;
}
public void setOptName2(String optName2) {
this.optName2 = optName2;
}
public void setOptVal2(String optVal2) {
this.optVal2 = optVal2;
}
public void setOptName3(String optName3) {
this.optName3 = optName3;
}
public void setOptVal3(String optVal3) {
this.optVal3 = optVal3;
}
public void setDefUnitCost(String defUnitCost) {
this.defUnitCost = defUnitCost;
}
public void setDefVendorName(String defVendorName) {
this.defVendorName = defVendorName;
}
public void setDefVendorCode(String defVendorCode) {
this.defVendorCode = defVendorCode;
}
public void setQuantity(String quantity) {
this.quantity = quantity;
}
public void setNewQuantity(String newQuantity) {
this.newQuantity = newQuantity;
}
public void setAlertEnable(String alertEnable) {
this.alertEnable = alertEnable;
}
public void setAlertCount(String alertCount) {
this.alertCount = alertCount;
}
public void setTax(String tax) {
this.tax = tax;
}
public String getToken() {
return token;
}
public String getItemName() {
return itemName;
}
public String getVariationName() {
return variationName;
}
public String getSku() {
return sku;
}
public String getDesc() {
return desc;
}
public String getCategory() {
return category;
}
public String getGtin() {
return gtin;
}
public String getItemVis() {
return itemVis;
}
public String getWeight() {
return weight;
}
public String getPrice() {
return price;
}
public String getSellable() {
return sellable;
}
public String getStockable() {
return stockable;
}
public String getOptName1() {
return optName1;
}
public String getOptVal1() {
return optVal1;
}
public String getOptName2() {
return optName2;
}
public String getOptVal2() {
return optVal2;
}
public String getOptName3() {
return optName3;
}
public String getOptVal3() {
return optVal3;
}
public String getDefUnitCost() {
return defUnitCost;
}
public String getDefVendorName() {
return defVendorName;
}
public String getDefVendorCode() {
return defVendorCode;
}
public String getQuantity() {
return quantity;
}
public String getNewQuantity() {
return newQuantity;
}
public String getAlertEnable() {
return alertEnable;
}
public String getAlertCount() {
return alertCount;
}
public String getTax() {
return tax;
}
public int getSize() {
return size;
}
public String[] toArray() {
String[] item = new String[size];
item[0] = token;
item[1] = itemName;
item[2] = variationName;
item[3] = sku;
item[4] = desc;
item[5] = category;
item[6] = gtin;
item[7] = itemVis;
item[8] = weight;
item[9] = price;
item[10] = sellable;
item[11] = stockable;
item[12] = optName1;
item[13] = optVal1;
item[14] = optName2;
item[15] = optVal2;
item[16] = optName3;
item[17] = optVal3;
item[18] = defUnitCost;
item[19] = defVendorName;
item[20] = defVendorCode;
item[21] = quantity;
item[22] = newQuantity;
item[23] = alertEnable;
item[24] = alertCount;
item[25] = tax;
return item;
}
}