ns_connector 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +93 -48
- data/VERSION +1 -1
- data/lib/ns_connector/resource.rb +22 -1
- data/lib/ns_connector/resources/customer.rb +1 -1
- data/lib/ns_connector/resources/customer_payment.rb +5 -3
- data/lib/ns_connector/resources/discount_item.rb +63 -0
- data/lib/ns_connector/resources/non_inventory_item.rb +489 -0
- data/lib/ns_connector/resources/sales_order.rb +430 -0
- data/lib/ns_connector/sublist.rb +22 -0
- data/spec/resource_spec.rb +25 -2
- data/spec/sublist_spec.rb +29 -0
- data/support/restlet.js +209 -0
- data/support/type_scraper.rb +99 -0
- data/support/type_scraper.tpl.erb +29 -0
- metadata +24 -3
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,74 +1,118 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.3.
|
5
|
-
|
4
|
+
addressable (2.3.6)
|
5
|
+
builder (3.2.2)
|
6
|
+
celluloid (0.15.2)
|
7
|
+
timers (~> 1.1.0)
|
8
|
+
celluloid-io (0.15.0)
|
9
|
+
celluloid (>= 0.15.0)
|
10
|
+
nio4r (>= 0.5.0)
|
11
|
+
coderay (1.1.0)
|
6
12
|
coveralls (0.7.0)
|
7
13
|
multi_json (~> 1.3)
|
8
14
|
rest-client
|
9
15
|
simplecov (>= 0.7)
|
10
16
|
term-ansicolor
|
11
17
|
thor
|
12
|
-
crack (0.
|
13
|
-
|
14
|
-
|
18
|
+
crack (0.4.2)
|
19
|
+
safe_yaml (~> 1.0.0)
|
20
|
+
descendants_tracker (0.0.4)
|
21
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
22
|
+
diff-lcs (1.2.5)
|
23
|
+
docile (1.1.3)
|
24
|
+
faraday (0.9.0)
|
25
|
+
multipart-post (>= 1.2, < 3)
|
26
|
+
ffi (1.9.3)
|
15
27
|
formatador (0.2.4)
|
16
|
-
git (1.2.
|
17
|
-
|
28
|
+
git (1.2.6)
|
29
|
+
github_api (0.11.3)
|
30
|
+
addressable (~> 2.3)
|
31
|
+
descendants_tracker (~> 0.0.1)
|
32
|
+
faraday (~> 0.8, < 0.10)
|
33
|
+
hashie (>= 1.2)
|
34
|
+
multi_json (>= 1.7.5, < 2.0)
|
35
|
+
nokogiri (~> 1.6.0)
|
36
|
+
oauth2
|
37
|
+
guard (2.6.0)
|
18
38
|
formatador (>= 0.2.4)
|
19
|
-
listen (
|
20
|
-
lumberjack (
|
21
|
-
pry (>= 0.9.
|
22
|
-
thor (>= 0.
|
23
|
-
guard-rspec (
|
24
|
-
guard (
|
25
|
-
rspec (
|
26
|
-
|
27
|
-
|
39
|
+
listen (~> 2.7)
|
40
|
+
lumberjack (~> 1.0)
|
41
|
+
pry (>= 0.9.12)
|
42
|
+
thor (>= 0.18.1)
|
43
|
+
guard-rspec (4.2.8)
|
44
|
+
guard (~> 2.1)
|
45
|
+
rspec (>= 2.14, < 4.0)
|
46
|
+
hashie (2.1.1)
|
47
|
+
highline (1.6.21)
|
48
|
+
jeweler (2.0.1)
|
49
|
+
builder
|
50
|
+
bundler (>= 1.0)
|
28
51
|
git (>= 1.2.5)
|
52
|
+
github_api
|
53
|
+
highline (>= 1.6.15)
|
54
|
+
nokogiri (>= 1.5.10)
|
29
55
|
rake
|
30
56
|
rdoc
|
31
|
-
json (1.8.
|
32
|
-
|
57
|
+
json (1.8.1)
|
58
|
+
jwt (0.1.11)
|
59
|
+
multi_json (>= 1.5)
|
60
|
+
listen (2.7.2)
|
61
|
+
celluloid (>= 0.15.2)
|
62
|
+
celluloid-io (>= 0.15.0)
|
33
63
|
rb-fsevent (>= 0.9.3)
|
34
64
|
rb-inotify (>= 0.9)
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
multi_json (1.
|
40
|
-
|
41
|
-
|
65
|
+
lumberjack (1.0.5)
|
66
|
+
method_source (0.8.2)
|
67
|
+
mime-types (2.2)
|
68
|
+
mini_portile (0.5.3)
|
69
|
+
multi_json (1.9.3)
|
70
|
+
multi_xml (0.5.5)
|
71
|
+
multipart-post (2.0.0)
|
72
|
+
nio4r (1.0.0)
|
73
|
+
nokogiri (1.6.1)
|
74
|
+
mini_portile (~> 0.5.0)
|
75
|
+
oauth2 (0.9.3)
|
76
|
+
faraday (>= 0.8, < 0.10)
|
77
|
+
jwt (~> 0.1.8)
|
78
|
+
multi_json (~> 1.3)
|
79
|
+
multi_xml (~> 0.5)
|
80
|
+
rack (~> 1.2)
|
81
|
+
pry (0.9.12.6)
|
82
|
+
coderay (~> 1.0)
|
42
83
|
method_source (~> 0.8)
|
43
84
|
slop (~> 3.4)
|
44
|
-
|
45
|
-
|
46
|
-
rb-
|
47
|
-
|
48
|
-
rb-kqueue (0.2.0)
|
85
|
+
rack (1.5.2)
|
86
|
+
rake (10.3.1)
|
87
|
+
rb-fsevent (0.9.4)
|
88
|
+
rb-inotify (0.9.4)
|
49
89
|
ffi (>= 0.5.0)
|
50
|
-
rdoc (4.
|
90
|
+
rdoc (4.1.1)
|
51
91
|
json (~> 1.4)
|
52
92
|
rest-client (1.6.7)
|
53
93
|
mime-types (>= 1.16)
|
54
|
-
rspec (2.
|
55
|
-
rspec-core (~> 2.
|
56
|
-
rspec-expectations (~> 2.
|
57
|
-
rspec-mocks (~> 2.
|
58
|
-
rspec-core (2.
|
59
|
-
rspec-expectations (2.
|
94
|
+
rspec (2.14.1)
|
95
|
+
rspec-core (~> 2.14.0)
|
96
|
+
rspec-expectations (~> 2.14.0)
|
97
|
+
rspec-mocks (~> 2.14.0)
|
98
|
+
rspec-core (2.14.8)
|
99
|
+
rspec-expectations (2.14.5)
|
60
100
|
diff-lcs (>= 1.1.3, < 2.0)
|
61
|
-
rspec-mocks (2.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
101
|
+
rspec-mocks (2.14.6)
|
102
|
+
safe_yaml (1.0.3)
|
103
|
+
simplecov (0.8.2)
|
104
|
+
docile (~> 1.1.0)
|
105
|
+
multi_json
|
106
|
+
simplecov-html (~> 0.8.0)
|
107
|
+
simplecov-html (0.8.0)
|
108
|
+
slop (3.5.0)
|
109
|
+
term-ansicolor (1.3.0)
|
110
|
+
tins (~> 1.0)
|
111
|
+
thor (0.19.1)
|
112
|
+
thread_safe (0.3.3)
|
113
|
+
timers (1.1.0)
|
114
|
+
tins (1.1.0)
|
115
|
+
webmock (1.17.4)
|
72
116
|
addressable (>= 2.2.7)
|
73
117
|
crack (>= 0.3.2)
|
74
118
|
|
@@ -80,6 +124,7 @@ DEPENDENCIES
|
|
80
124
|
coveralls
|
81
125
|
guard-rspec
|
82
126
|
jeweler
|
127
|
+
nokogiri
|
83
128
|
rake
|
84
129
|
rdoc
|
85
130
|
rspec
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.15
|
@@ -141,9 +141,21 @@ class NSConnector::Resource
|
|
141
141
|
:data => @store,
|
142
142
|
:sublists => sublists,
|
143
143
|
)
|
144
|
+
|
144
145
|
# If we got this far, we're probably in NetSuite
|
145
146
|
@in_netsuite = true
|
146
147
|
|
148
|
+
# Now we save our sublist(s)
|
149
|
+
@sublist_store.each do |sublist_id, sublist_items|
|
150
|
+
# Overwriting the current item
|
151
|
+
@sublist_store[sublist_id] = NSConnector::SubList.save!(
|
152
|
+
sublist_items,
|
153
|
+
self,
|
154
|
+
sublist_id,
|
155
|
+
sublists[sublist_id]
|
156
|
+
)
|
157
|
+
end
|
158
|
+
|
147
159
|
return true
|
148
160
|
end
|
149
161
|
|
@@ -297,7 +309,12 @@ class NSConnector::Resource
|
|
297
309
|
private
|
298
310
|
# Given a sublist of {:addressbook => ['fields']} we want a method
|
299
311
|
# addressbook that looks up the sublist if we have an ID, otherwise
|
300
|
-
# returns
|
312
|
+
# returns the empty array.
|
313
|
+
#
|
314
|
+
# And finally we need a method to create new sublist objects that is
|
315
|
+
# generic and not too crazy. So we have new_addressbook that returns a
|
316
|
+
# SubList object that can be stored and later turned into a hash to
|
317
|
+
# send to NetSuite.
|
301
318
|
def create_sublist_accessors!
|
302
319
|
sublists.each do |sublist_name, fields|
|
303
320
|
self.class.class_eval do
|
@@ -315,6 +332,10 @@ class NSConnector::Resource
|
|
315
332
|
@sublist_store[sublist_name] ||= []
|
316
333
|
end
|
317
334
|
|
335
|
+
define_method("#{sublist_name}=") do |value|
|
336
|
+
@sublist_store[sublist_name] = value
|
337
|
+
end
|
338
|
+
|
318
339
|
define_method(
|
319
340
|
"new_#{sublist_name}_item"
|
320
341
|
) do |upstream_store = nil|
|
@@ -2,6 +2,7 @@ require 'ns_connector/resource'
|
|
2
2
|
|
3
3
|
# == CustomerPayment resource
|
4
4
|
# === Fields
|
5
|
+
# * id
|
5
6
|
# * account
|
6
7
|
# * allowemptycards
|
7
8
|
# * applied
|
@@ -26,6 +27,7 @@ require 'ns_connector/resource'
|
|
26
27
|
# * cczipcode
|
27
28
|
# * chargeit
|
28
29
|
# * checknum
|
30
|
+
# * class has been commented out
|
29
31
|
# * consolidatebalance
|
30
32
|
# * createddate
|
31
33
|
# * creditcard
|
@@ -74,9 +76,8 @@ require 'ns_connector/resource'
|
|
74
76
|
# * unapplied
|
75
77
|
# * undepfunds
|
76
78
|
# * validfrom
|
77
|
-
#
|
78
|
-
#
|
79
|
-
# * apply (invoices)
|
79
|
+
# === Sublists
|
80
|
+
# * apply
|
80
81
|
# * credit
|
81
82
|
# * deposit
|
82
83
|
|
@@ -108,6 +109,7 @@ class NSConnector::CustomerPayment < NSConnector::Resource
|
|
108
109
|
:cczipcode,
|
109
110
|
:chargeit,
|
110
111
|
:checknum,
|
112
|
+
# :class,
|
111
113
|
:consolidatebalance,
|
112
114
|
:createddate,
|
113
115
|
:creditcard,
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'ns_connector/resource'
|
2
|
+
|
3
|
+
# == DiscountItem resource
|
4
|
+
# === Fields
|
5
|
+
# * id
|
6
|
+
# * account
|
7
|
+
# * availabletopartners
|
8
|
+
# * class
|
9
|
+
# * createddate
|
10
|
+
# * customform
|
11
|
+
# * department
|
12
|
+
# * description
|
13
|
+
# * displayname
|
14
|
+
# * externalid
|
15
|
+
# * includechildren
|
16
|
+
# * isinactive
|
17
|
+
# * ispretax
|
18
|
+
# * issueproduct
|
19
|
+
# * itemid
|
20
|
+
# * itemtype
|
21
|
+
# * lastmodifieddate
|
22
|
+
# * location
|
23
|
+
# * nonposting
|
24
|
+
# * parent
|
25
|
+
# * rate
|
26
|
+
# * subsidiary
|
27
|
+
# * taxschedule
|
28
|
+
# * upccode
|
29
|
+
# * vendorname
|
30
|
+
# === Sublists
|
31
|
+
|
32
|
+
class NSConnector::DiscountItem < NSConnector::Resource
|
33
|
+
@type_id = 'discountitem'
|
34
|
+
@fields = [
|
35
|
+
:id,
|
36
|
+
:account,
|
37
|
+
:availabletopartners,
|
38
|
+
:class,
|
39
|
+
:createddate,
|
40
|
+
:customform,
|
41
|
+
:department,
|
42
|
+
:description,
|
43
|
+
:displayname,
|
44
|
+
:externalid,
|
45
|
+
:includechildren,
|
46
|
+
:isinactive,
|
47
|
+
:ispretax,
|
48
|
+
:issueproduct,
|
49
|
+
:itemid,
|
50
|
+
:itemtype,
|
51
|
+
:lastmodifieddate,
|
52
|
+
:location,
|
53
|
+
:nonposting,
|
54
|
+
:parent,
|
55
|
+
:rate,
|
56
|
+
:subsidiary,
|
57
|
+
:taxschedule,
|
58
|
+
:upccode,
|
59
|
+
:vendorname,
|
60
|
+
]
|
61
|
+
@sublists = {
|
62
|
+
}
|
63
|
+
end
|
@@ -0,0 +1,489 @@
|
|
1
|
+
require 'ns_connector/resource'
|
2
|
+
|
3
|
+
# == NonInventoryItem resource
|
4
|
+
# === Fields
|
5
|
+
# * id
|
6
|
+
# * amortizationperiod
|
7
|
+
# * amortizationtemplate
|
8
|
+
# * auctionquantity
|
9
|
+
# * auctiontype
|
10
|
+
# * availabletopartners
|
11
|
+
# * billingschedule
|
12
|
+
# * buyitnowprice
|
13
|
+
# * class
|
14
|
+
# * conditionenabled
|
15
|
+
# * conditionhelpurl
|
16
|
+
# * copydescription
|
17
|
+
# * cost
|
18
|
+
# * costcategory
|
19
|
+
# * costestimate
|
20
|
+
# * costestimatetype
|
21
|
+
# * costunits
|
22
|
+
# * countryofmanufacture
|
23
|
+
# * createddate
|
24
|
+
# * currency
|
25
|
+
# * customform
|
26
|
+
# * deferralaccount
|
27
|
+
# * deferredrevenueaccount
|
28
|
+
# * department
|
29
|
+
# * displayinebaystore
|
30
|
+
# * displayname
|
31
|
+
# * dontshowprice
|
32
|
+
# * dropshipexpenseaccount
|
33
|
+
# * ebayhandlingtime
|
34
|
+
# * ebayintlinsurancefee
|
35
|
+
# * ebayintlpackagehandlingfee
|
36
|
+
# * ebayintlshipinsurance
|
37
|
+
# * ebayintlshippingitem1
|
38
|
+
# * ebayintlshippingitem2
|
39
|
+
# * ebayintlshippingitem3
|
40
|
+
# * ebayisintlcalculatedrate
|
41
|
+
# * ebayisirregularpackage
|
42
|
+
# * ebayitemdescription
|
43
|
+
# * ebayitemlocdisplay
|
44
|
+
# * ebayitemloczipcode
|
45
|
+
# * ebayitemlots
|
46
|
+
# * ebayitemsubtitle
|
47
|
+
# * ebayitemtitle
|
48
|
+
# * ebayitemweightamt
|
49
|
+
# * ebaylayout
|
50
|
+
# * ebaypackagetype
|
51
|
+
# * ebaypagecounter
|
52
|
+
# * ebayrelistingoption
|
53
|
+
# * ebaytheme
|
54
|
+
# * ebaythemegroup
|
55
|
+
# * endauctionswhenoutofstock
|
56
|
+
# * enforceminqtyinternally
|
57
|
+
# * excludefromsitemap
|
58
|
+
# * expenseaccount
|
59
|
+
# * externalid
|
60
|
+
# * featureddescription
|
61
|
+
# * froogleproductfeed
|
62
|
+
# * gallery
|
63
|
+
# * galleryfeatured
|
64
|
+
# * gifttypeexpressship
|
65
|
+
# * gifttypegiftwrap
|
66
|
+
# * gifttypeshiptorecipient
|
67
|
+
# * handlingcost
|
68
|
+
# * handlingcostunits
|
69
|
+
# * handlinggroup
|
70
|
+
# * imagesgroup
|
71
|
+
# * imageslocation
|
72
|
+
# * includechildren
|
73
|
+
# * incomeaccount
|
74
|
+
# * internalid
|
75
|
+
# * iscalculatedrate
|
76
|
+
# * isdonationitem
|
77
|
+
# * isdropshipitem
|
78
|
+
# * isfulfillable
|
79
|
+
# * isgcocompliant
|
80
|
+
# * isinactive
|
81
|
+
# * isonline
|
82
|
+
# * isspecialorderitem
|
83
|
+
# * issueproduct
|
84
|
+
# * itemcondition
|
85
|
+
# * itemhandlingfee
|
86
|
+
# * itemid
|
87
|
+
# * iteminsurancefee
|
88
|
+
# * itemoptions
|
89
|
+
# * itemshipinsurance
|
90
|
+
# * itemtype
|
91
|
+
# * lastmodifieddate
|
92
|
+
# * listimmediate
|
93
|
+
# * listingduration
|
94
|
+
# * listingstartdate
|
95
|
+
# * listingstarttime
|
96
|
+
# * location
|
97
|
+
# * manufacturer
|
98
|
+
# * manufactureraddr1
|
99
|
+
# * manufacturercity
|
100
|
+
# * manufacturerstate
|
101
|
+
# * manufacturertariff
|
102
|
+
# * manufacturertaxid
|
103
|
+
# * manufacturerzip
|
104
|
+
# * matrixtype
|
105
|
+
# * maxdonationamount
|
106
|
+
# * metataghtml
|
107
|
+
# * minimumquantity
|
108
|
+
# * minimumquantityunits
|
109
|
+
# * mpn
|
110
|
+
# * multmanufactureaddr
|
111
|
+
# * nextagcategory
|
112
|
+
# * nextagproductfeed
|
113
|
+
# * nopricemessage
|
114
|
+
# * numactivelistings
|
115
|
+
# * numcurrentlylisted
|
116
|
+
# * offersupport
|
117
|
+
# * outofstockbehavior
|
118
|
+
# * outofstockmessage
|
119
|
+
# * overallquantitypricingtype
|
120
|
+
# * packageheight
|
121
|
+
# * packagelength
|
122
|
+
# * packagewidth
|
123
|
+
# * pagetitle
|
124
|
+
# * parent
|
125
|
+
# * preferencecriterion
|
126
|
+
# * pricinggroup
|
127
|
+
# * primarycatdisplayname
|
128
|
+
# * primarycategory
|
129
|
+
# * producer
|
130
|
+
# * productfeed
|
131
|
+
# * purchasedescription
|
132
|
+
# * purchaseunit
|
133
|
+
# * quantitypricingschedule
|
134
|
+
# * refundgivenas
|
135
|
+
# * relateditemsdescription
|
136
|
+
# * reserveprice
|
137
|
+
# * residual
|
138
|
+
# * returnpolicy
|
139
|
+
# * returnpolicydetails
|
140
|
+
# * returnshippingpaidby
|
141
|
+
# * returnswithin
|
142
|
+
# * revrecschedule
|
143
|
+
# * salesdescription
|
144
|
+
# * saleunit
|
145
|
+
# * schedulebcode
|
146
|
+
# * schedulebnumber
|
147
|
+
# * schedulebquantity
|
148
|
+
# * searchkeywords
|
149
|
+
# * secondarycatdisplayname
|
150
|
+
# * secondarycategory
|
151
|
+
# * sellonebay
|
152
|
+
# * shipasia
|
153
|
+
# * shipaustralia
|
154
|
+
# * shipcanada
|
155
|
+
# * shipeurope
|
156
|
+
# * shipgermany
|
157
|
+
# * shipindividually
|
158
|
+
# * shipjapan
|
159
|
+
# * shipmexico
|
160
|
+
# * shipnorthsouthamerica
|
161
|
+
# * shippackage
|
162
|
+
# * shippingcost
|
163
|
+
# * shippingcostunits
|
164
|
+
# * shippingdomesticmethodsgroup
|
165
|
+
# * shippingdomgroup
|
166
|
+
# * shippingintlgroup
|
167
|
+
# * shippingintlgroup1
|
168
|
+
# * shippingintlgroup2
|
169
|
+
# * shippingintlgroup3
|
170
|
+
# * shippingitem1
|
171
|
+
# * shippingitem2
|
172
|
+
# * shippingitem3
|
173
|
+
# * shippinglocationsgroup
|
174
|
+
# * shippingpackaginggroup
|
175
|
+
# * shippingrate1
|
176
|
+
# * shippingrate2
|
177
|
+
# * shippingrate3
|
178
|
+
# * shipuk
|
179
|
+
# * shipworldwide
|
180
|
+
# * shoppingdotcomcategory
|
181
|
+
# * shoppingproductfeed
|
182
|
+
# * shopzillacategoryid
|
183
|
+
# * shopzillaproductfeed
|
184
|
+
# * showasgift
|
185
|
+
# * showdefaultdonationamount
|
186
|
+
# * sitemappriority
|
187
|
+
# * softdescriptor
|
188
|
+
# * standardimages
|
189
|
+
# * startingprice
|
190
|
+
# * stockdescription
|
191
|
+
# * storecatdisplayname
|
192
|
+
# * storecatdisplayname2
|
193
|
+
# * storecategory
|
194
|
+
# * storecategory2
|
195
|
+
# * storedescription
|
196
|
+
# * storedetaileddescription
|
197
|
+
# * storedisplayimage
|
198
|
+
# * storedisplayname
|
199
|
+
# * storedisplaythumbnail
|
200
|
+
# * storeitemtemplate
|
201
|
+
# * subsidiary
|
202
|
+
# * subtype
|
203
|
+
# * supersizeimages
|
204
|
+
# * taxable
|
205
|
+
# * taxschedule
|
206
|
+
# * templatesgroup
|
207
|
+
# * unitstype
|
208
|
+
# * upccode
|
209
|
+
# * urlcomponent
|
210
|
+
# * usemarginalrates
|
211
|
+
# * vendorname
|
212
|
+
# * vsoedeferral
|
213
|
+
# * vsoedelivered
|
214
|
+
# * vsoepermitdiscount
|
215
|
+
# * vsoeprice
|
216
|
+
# * vsoesopgroup
|
217
|
+
# * weight
|
218
|
+
# * weightunit
|
219
|
+
# * weightunits
|
220
|
+
# * willship
|
221
|
+
# * yahooproductfeed
|
222
|
+
# === Sublists
|
223
|
+
# * price1
|
224
|
+
# * price2
|
225
|
+
# * price3
|
226
|
+
# * price4
|
227
|
+
# * price5
|
228
|
+
# * sitecategory
|
229
|
+
|
230
|
+
class NSConnector::NonInventoryItem < NSConnector::Resource
|
231
|
+
@type_id = 'noninventoryitem'
|
232
|
+
@fields = [
|
233
|
+
:id,
|
234
|
+
:amortizationperiod,
|
235
|
+
:amortizationtemplate,
|
236
|
+
:auctionquantity,
|
237
|
+
:auctiontype,
|
238
|
+
:availabletopartners,
|
239
|
+
:billingschedule,
|
240
|
+
:buyitnowprice,
|
241
|
+
:class,
|
242
|
+
:conditionenabled,
|
243
|
+
:conditionhelpurl,
|
244
|
+
:copydescription,
|
245
|
+
:cost,
|
246
|
+
:costcategory,
|
247
|
+
:costestimate,
|
248
|
+
:costestimatetype,
|
249
|
+
:costunits,
|
250
|
+
:countryofmanufacture,
|
251
|
+
:createddate,
|
252
|
+
:currency,
|
253
|
+
:customform,
|
254
|
+
:deferralaccount,
|
255
|
+
:deferredrevenueaccount,
|
256
|
+
:department,
|
257
|
+
:displayinebaystore,
|
258
|
+
:displayname,
|
259
|
+
:dontshowprice,
|
260
|
+
:dropshipexpenseaccount,
|
261
|
+
:ebayhandlingtime,
|
262
|
+
:ebayintlinsurancefee,
|
263
|
+
:ebayintlpackagehandlingfee,
|
264
|
+
:ebayintlshipinsurance,
|
265
|
+
:ebayintlshippingitem1,
|
266
|
+
:ebayintlshippingitem2,
|
267
|
+
:ebayintlshippingitem3,
|
268
|
+
:ebayisintlcalculatedrate,
|
269
|
+
:ebayisirregularpackage,
|
270
|
+
:ebayitemdescription,
|
271
|
+
:ebayitemlocdisplay,
|
272
|
+
:ebayitemloczipcode,
|
273
|
+
:ebayitemlots,
|
274
|
+
:ebayitemsubtitle,
|
275
|
+
:ebayitemtitle,
|
276
|
+
:ebayitemweightamt,
|
277
|
+
:ebaylayout,
|
278
|
+
:ebaypackagetype,
|
279
|
+
:ebaypagecounter,
|
280
|
+
:ebayrelistingoption,
|
281
|
+
:ebaytheme,
|
282
|
+
:ebaythemegroup,
|
283
|
+
:endauctionswhenoutofstock,
|
284
|
+
:enforceminqtyinternally,
|
285
|
+
:excludefromsitemap,
|
286
|
+
:expenseaccount,
|
287
|
+
:externalid,
|
288
|
+
:featureddescription,
|
289
|
+
:froogleproductfeed,
|
290
|
+
:gallery,
|
291
|
+
:galleryfeatured,
|
292
|
+
:gifttypeexpressship,
|
293
|
+
:gifttypegiftwrap,
|
294
|
+
:gifttypeshiptorecipient,
|
295
|
+
:handlingcost,
|
296
|
+
:handlingcostunits,
|
297
|
+
:handlinggroup,
|
298
|
+
:imagesgroup,
|
299
|
+
:imageslocation,
|
300
|
+
:includechildren,
|
301
|
+
:incomeaccount,
|
302
|
+
:internalid,
|
303
|
+
:iscalculatedrate,
|
304
|
+
:isdonationitem,
|
305
|
+
:isdropshipitem,
|
306
|
+
:isfulfillable,
|
307
|
+
:isgcocompliant,
|
308
|
+
:isinactive,
|
309
|
+
:isonline,
|
310
|
+
:isspecialorderitem,
|
311
|
+
:issueproduct,
|
312
|
+
:itemcondition,
|
313
|
+
:itemhandlingfee,
|
314
|
+
:itemid,
|
315
|
+
:iteminsurancefee,
|
316
|
+
:itemoptions,
|
317
|
+
:itemshipinsurance,
|
318
|
+
:itemtype,
|
319
|
+
:lastmodifieddate,
|
320
|
+
:listimmediate,
|
321
|
+
:listingduration,
|
322
|
+
:listingstartdate,
|
323
|
+
:listingstarttime,
|
324
|
+
:location,
|
325
|
+
:manufacturer,
|
326
|
+
:manufactureraddr1,
|
327
|
+
:manufacturercity,
|
328
|
+
:manufacturerstate,
|
329
|
+
:manufacturertariff,
|
330
|
+
:manufacturertaxid,
|
331
|
+
:manufacturerzip,
|
332
|
+
:matrixtype,
|
333
|
+
:maxdonationamount,
|
334
|
+
:metataghtml,
|
335
|
+
:minimumquantity,
|
336
|
+
:minimumquantityunits,
|
337
|
+
:mpn,
|
338
|
+
:multmanufactureaddr,
|
339
|
+
:nextagcategory,
|
340
|
+
:nextagproductfeed,
|
341
|
+
:nopricemessage,
|
342
|
+
:numactivelistings,
|
343
|
+
:numcurrentlylisted,
|
344
|
+
:offersupport,
|
345
|
+
:outofstockbehavior,
|
346
|
+
:outofstockmessage,
|
347
|
+
:overallquantitypricingtype,
|
348
|
+
:packageheight,
|
349
|
+
:packagelength,
|
350
|
+
:packagewidth,
|
351
|
+
:pagetitle,
|
352
|
+
:parent,
|
353
|
+
:preferencecriterion,
|
354
|
+
:pricinggroup,
|
355
|
+
:primarycatdisplayname,
|
356
|
+
:primarycategory,
|
357
|
+
:producer,
|
358
|
+
:productfeed,
|
359
|
+
:purchasedescription,
|
360
|
+
:purchaseunit,
|
361
|
+
:quantitypricingschedule,
|
362
|
+
:refundgivenas,
|
363
|
+
:relateditemsdescription,
|
364
|
+
:reserveprice,
|
365
|
+
:residual,
|
366
|
+
:returnpolicy,
|
367
|
+
:returnpolicydetails,
|
368
|
+
:returnshippingpaidby,
|
369
|
+
:returnswithin,
|
370
|
+
:revrecschedule,
|
371
|
+
:salesdescription,
|
372
|
+
:saleunit,
|
373
|
+
:schedulebcode,
|
374
|
+
:schedulebnumber,
|
375
|
+
:schedulebquantity,
|
376
|
+
:searchkeywords,
|
377
|
+
:secondarycatdisplayname,
|
378
|
+
:secondarycategory,
|
379
|
+
:sellonebay,
|
380
|
+
:shipasia,
|
381
|
+
:shipaustralia,
|
382
|
+
:shipcanada,
|
383
|
+
:shipeurope,
|
384
|
+
:shipgermany,
|
385
|
+
:shipindividually,
|
386
|
+
:shipjapan,
|
387
|
+
:shipmexico,
|
388
|
+
:shipnorthsouthamerica,
|
389
|
+
:shippackage,
|
390
|
+
:shippingcost,
|
391
|
+
:shippingcostunits,
|
392
|
+
:shippingdomesticmethodsgroup,
|
393
|
+
:shippingdomgroup,
|
394
|
+
:shippingintlgroup,
|
395
|
+
:shippingintlgroup1,
|
396
|
+
:shippingintlgroup2,
|
397
|
+
:shippingintlgroup3,
|
398
|
+
:shippingitem1,
|
399
|
+
:shippingitem2,
|
400
|
+
:shippingitem3,
|
401
|
+
:shippinglocationsgroup,
|
402
|
+
:shippingpackaginggroup,
|
403
|
+
:shippingrate1,
|
404
|
+
:shippingrate2,
|
405
|
+
:shippingrate3,
|
406
|
+
:shipuk,
|
407
|
+
:shipworldwide,
|
408
|
+
:shoppingdotcomcategory,
|
409
|
+
:shoppingproductfeed,
|
410
|
+
:shopzillacategoryid,
|
411
|
+
:shopzillaproductfeed,
|
412
|
+
:showasgift,
|
413
|
+
:showdefaultdonationamount,
|
414
|
+
:sitemappriority,
|
415
|
+
:softdescriptor,
|
416
|
+
:standardimages,
|
417
|
+
:startingprice,
|
418
|
+
:stockdescription,
|
419
|
+
:storecatdisplayname,
|
420
|
+
:storecatdisplayname2,
|
421
|
+
:storecategory,
|
422
|
+
:storecategory2,
|
423
|
+
:storedescription,
|
424
|
+
:storedetaileddescription,
|
425
|
+
:storedisplayimage,
|
426
|
+
:storedisplayname,
|
427
|
+
:storedisplaythumbnail,
|
428
|
+
:storeitemtemplate,
|
429
|
+
:subsidiary,
|
430
|
+
:subtype,
|
431
|
+
:supersizeimages,
|
432
|
+
:taxable,
|
433
|
+
:taxschedule,
|
434
|
+
:templatesgroup,
|
435
|
+
:unitstype,
|
436
|
+
:upccode,
|
437
|
+
:urlcomponent,
|
438
|
+
:usemarginalrates,
|
439
|
+
:vendorname,
|
440
|
+
:vsoedeferral,
|
441
|
+
:vsoedelivered,
|
442
|
+
:vsoepermitdiscount,
|
443
|
+
:vsoeprice,
|
444
|
+
:vsoesopgroup,
|
445
|
+
:weight,
|
446
|
+
:weightunit,
|
447
|
+
:weightunits,
|
448
|
+
:willship,
|
449
|
+
:yahooproductfeed,
|
450
|
+
]
|
451
|
+
@sublists = {
|
452
|
+
:price1 => [
|
453
|
+
:currency,
|
454
|
+
:discount,
|
455
|
+
:discountdisplay,
|
456
|
+
:pricelevel,
|
457
|
+
],
|
458
|
+
:price2 => [
|
459
|
+
:currency,
|
460
|
+
:discount,
|
461
|
+
:discountdisplay,
|
462
|
+
:pricelevel,
|
463
|
+
],
|
464
|
+
:price3 => [
|
465
|
+
:currency,
|
466
|
+
:discount,
|
467
|
+
:discountdisplay,
|
468
|
+
:pricelevel,
|
469
|
+
],
|
470
|
+
:price4 => [
|
471
|
+
:currency,
|
472
|
+
:discount,
|
473
|
+
:discountdisplay,
|
474
|
+
:pricelevel,
|
475
|
+
],
|
476
|
+
:price5 => [
|
477
|
+
:currency,
|
478
|
+
:discount,
|
479
|
+
:discountdisplay,
|
480
|
+
:pricelevel,
|
481
|
+
],
|
482
|
+
:sitecategory => [
|
483
|
+
:category,
|
484
|
+
:categorydescription,
|
485
|
+
:isdefault,
|
486
|
+
:website,
|
487
|
+
]
|
488
|
+
}
|
489
|
+
end
|