ebayapi 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (856) hide show
  1. data/CHANGELOG +0 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README +0 -0
  4. data/examples/add_item.rb +50 -0
  5. data/examples/config.rb +10 -0
  6. data/examples/end_item.rb +18 -0
  7. data/examples/get_api_usage.rb +21 -0
  8. data/examples/get_attributes_xsl.rb +26 -0
  9. data/examples/get_ebay_details.rb +22 -0
  10. data/examples/get_ebay_time.rb +33 -0
  11. data/examples/get_ebay_time_raw.rb +31 -0
  12. data/examples/get_item.rb +25 -0
  13. data/examples/get_item_transactions.rb +36 -0
  14. data/examples/get_items_selling.rb +26 -0
  15. data/examples/get_my_messages.rb +21 -0
  16. data/examples/get_my_messages_folders.rb +20 -0
  17. data/examples/get_notification_preferences.rb +36 -0
  18. data/examples/get_notifications_usage.rb +23 -0
  19. data/examples/get_user.rb +26 -0
  20. data/examples/mark_my_messages_message_as_read.rb +22 -0
  21. data/examples/revise_item.rb +34 -0
  22. data/examples/set_notification_preferences.rb +27 -0
  23. data/examples/verify_add_item.rb +37 -0
  24. data/init.rb +2 -0
  25. data/lib/ebay/api.rb +179 -0
  26. data/lib/ebay/ebay.rb +26 -0
  27. data/lib/ebay/enumeration.rb +7 -0
  28. data/lib/ebay/initializer.rb +19 -0
  29. data/lib/ebay/notification.rb +109 -0
  30. data/lib/ebay/request/base.rb +18 -0
  31. data/lib/ebay/request/connection.rb +66 -0
  32. data/lib/ebay/request.rb +1 -0
  33. data/lib/ebay/requests/abstract.rb +28 -0
  34. data/lib/ebay/requests/add_dispute.rb +16 -0
  35. data/lib/ebay/requests/add_dispute_response.rb +18 -0
  36. data/lib/ebay/requests/add_item.rb +16 -0
  37. data/lib/ebay/requests/add_live_auction_item.rb +14 -0
  38. data/lib/ebay/requests/add_member_message.rb +15 -0
  39. data/lib/ebay/requests/add_member_message_aaq_to_partner.rb +15 -0
  40. data/lib/ebay/requests/add_member_message_rtq.rb +15 -0
  41. data/lib/ebay/requests/add_member_messages_aaq_to_bidder.rb +14 -0
  42. data/lib/ebay/requests/add_order.rb +14 -0
  43. data/lib/ebay/requests/add_second_chance_item.rb +19 -0
  44. data/lib/ebay/requests/add_to_item_description.rb +14 -0
  45. data/lib/ebay/requests/add_to_watch_list.rb +13 -0
  46. data/lib/ebay/requests/add_transaction_confirmation_item.rb +20 -0
  47. data/lib/ebay/requests/approve_live_auction_bidders.rb +17 -0
  48. data/lib/ebay/requests/complete_sale.rb +18 -0
  49. data/lib/ebay/requests/delete_my_messages.rb +14 -0
  50. data/lib/ebay/requests/end_item.rb +15 -0
  51. data/lib/ebay/requests/fetch_token.rb +13 -0
  52. data/lib/ebay/requests/get_account.rb +22 -0
  53. data/lib/ebay/requests/get_ad_format_leads.rb +13 -0
  54. data/lib/ebay/requests/get_all_bidders.rb +15 -0
  55. data/lib/ebay/requests/get_api_access_rules.rb +12 -0
  56. data/lib/ebay/requests/get_attributes_cs.rb +16 -0
  57. data/lib/ebay/requests/get_attributes_xsl.rb +14 -0
  58. data/lib/ebay/requests/get_best_offers.rb +15 -0
  59. data/lib/ebay/requests/get_bidder_list.rb +17 -0
  60. data/lib/ebay/requests/get_categories.rb +16 -0
  61. data/lib/ebay/requests/get_category2_cs.rb +14 -0
  62. data/lib/ebay/requests/get_category2_finance_offer.rb +14 -0
  63. data/lib/ebay/requests/get_category_features.rb +16 -0
  64. data/lib/ebay/requests/get_category_listings.rb +32 -0
  65. data/lib/ebay/requests/get_category_mappings.rb +13 -0
  66. data/lib/ebay/requests/get_challenge_token.rb +12 -0
  67. data/lib/ebay/requests/get_charities.rb +19 -0
  68. data/lib/ebay/requests/get_contextual_keywords.rb +15 -0
  69. data/lib/ebay/requests/get_cross_promotions.rb +15 -0
  70. data/lib/ebay/requests/get_description_templates.rb +15 -0
  71. data/lib/ebay/requests/get_dispute.rb +13 -0
  72. data/lib/ebay/requests/get_ebay_details.rb +13 -0
  73. data/lib/ebay/requests/get_ebay_official_time.rb +12 -0
  74. data/lib/ebay/requests/get_feedback.rb +16 -0
  75. data/lib/ebay/requests/get_finance_offers.rb +14 -0
  76. data/lib/ebay/requests/get_high_bidders.rb +13 -0
  77. data/lib/ebay/requests/get_item.rb +16 -0
  78. data/lib/ebay/requests/get_item_recommendations.rb +14 -0
  79. data/lib/ebay/requests/get_item_shipping.rb +16 -0
  80. data/lib/ebay/requests/get_item_transactions.rb +20 -0
  81. data/lib/ebay/requests/get_items_awaiting_feedback.rb +15 -0
  82. data/lib/ebay/requests/get_live_auction_bidders.rb +16 -0
  83. data/lib/ebay/requests/get_live_auction_catalog_details.rb +12 -0
  84. data/lib/ebay/requests/get_member_messages.rb +21 -0
  85. data/lib/ebay/requests/get_my_ebay.rb +22 -0
  86. data/lib/ebay/requests/get_my_ebay_buying.rb +22 -0
  87. data/lib/ebay/requests/get_my_ebay_reminders.rb +15 -0
  88. data/lib/ebay/requests/get_my_ebay_selling.rb +17 -0
  89. data/lib/ebay/requests/get_my_messages.rb +15 -0
  90. data/lib/ebay/requests/get_notification_preferences.rb +13 -0
  91. data/lib/ebay/requests/get_notifications_usage.rb +15 -0
  92. data/lib/ebay/requests/get_order_transactions.rb +15 -0
  93. data/lib/ebay/requests/get_orders.rb +20 -0
  94. data/lib/ebay/requests/get_picture_manager_details.rb +15 -0
  95. data/lib/ebay/requests/get_picture_manager_options.rb +12 -0
  96. data/lib/ebay/requests/get_popular_keywords.rb +17 -0
  97. data/lib/ebay/requests/get_product_family_members.rb +14 -0
  98. data/lib/ebay/requests/get_product_finder.rb +14 -0
  99. data/lib/ebay/requests/get_product_finder_xsl.rb +14 -0
  100. data/lib/ebay/requests/get_product_search_page.rb +14 -0
  101. data/lib/ebay/requests/get_product_search_results.rb +14 -0
  102. data/lib/ebay/requests/get_product_selling_pages.rb +15 -0
  103. data/lib/ebay/requests/get_promotion_rules.rb +15 -0
  104. data/lib/ebay/requests/get_recommendations.rb +21 -0
  105. data/lib/ebay/requests/get_return_url.rb +12 -0
  106. data/lib/ebay/requests/get_ru_name.rb +13 -0
  107. data/lib/ebay/requests/get_search_results.rb +58 -0
  108. data/lib/ebay/requests/get_search_results_express.rb +34 -0
  109. data/lib/ebay/requests/get_seller_events.rb +21 -0
  110. data/lib/ebay/requests/get_seller_list.rb +24 -0
  111. data/lib/ebay/requests/get_seller_payments.rb +17 -0
  112. data/lib/ebay/requests/get_seller_transactions.rb +19 -0
  113. data/lib/ebay/requests/get_store.rb +15 -0
  114. data/lib/ebay/requests/get_store_category_update_status.rb +13 -0
  115. data/lib/ebay/requests/get_store_custom_page.rb +13 -0
  116. data/lib/ebay/requests/get_store_options.rb +12 -0
  117. data/lib/ebay/requests/get_store_preferences.rb +12 -0
  118. data/lib/ebay/requests/get_suggested_categories.rb +13 -0
  119. data/lib/ebay/requests/get_tax_table.rb +12 -0
  120. data/lib/ebay/requests/get_user.rb +15 -0
  121. data/lib/ebay/requests/get_user_contact_details.rb +15 -0
  122. data/lib/ebay/requests/get_user_disputes.rb +18 -0
  123. data/lib/ebay/requests/get_user_preferences.rb +20 -0
  124. data/lib/ebay/requests/get_want_it_now_post.rb +13 -0
  125. data/lib/ebay/requests/get_want_it_now_search_results.rb +18 -0
  126. data/lib/ebay/requests/issue_refund.rb +18 -0
  127. data/lib/ebay/requests/leave_feedback.rb +17 -0
  128. data/lib/ebay/requests/place_offer.rb +16 -0
  129. data/lib/ebay/requests/relist_item.rb +17 -0
  130. data/lib/ebay/requests/remove_from_watch_list.rb +14 -0
  131. data/lib/ebay/requests/respond_to_best_offer.rb +18 -0
  132. data/lib/ebay/requests/respond_to_feedback.rb +18 -0
  133. data/lib/ebay/requests/respond_to_want_it_now_post.rb +14 -0
  134. data/lib/ebay/requests/revise_checkout_status.rb +34 -0
  135. data/lib/ebay/requests/revise_item.rb +17 -0
  136. data/lib/ebay/requests/revise_live_auction_item.rb +17 -0
  137. data/lib/ebay/requests/revise_my_messages.rb +17 -0
  138. data/lib/ebay/requests/revise_my_messages_folders.rb +15 -0
  139. data/lib/ebay/requests/seller_reverse_dispute.rb +14 -0
  140. data/lib/ebay/requests/send_invoice.rb +27 -0
  141. data/lib/ebay/requests/set_notification_preferences.rb +20 -0
  142. data/lib/ebay/requests/set_picture_manager_details.rb +15 -0
  143. data/lib/ebay/requests/set_promotion_rules.rb +15 -0
  144. data/lib/ebay/requests/set_return_url.rb +16 -0
  145. data/lib/ebay/requests/set_store.rb +14 -0
  146. data/lib/ebay/requests/set_store_categories.rb +17 -0
  147. data/lib/ebay/requests/set_store_custom_page.rb +14 -0
  148. data/lib/ebay/requests/set_store_preferences.rb +14 -0
  149. data/lib/ebay/requests/set_tax_table.rb +14 -0
  150. data/lib/ebay/requests/set_user_notes.rb +15 -0
  151. data/lib/ebay/requests/set_user_preferences.rb +28 -0
  152. data/lib/ebay/requests/validate_challenge_input.rb +15 -0
  153. data/lib/ebay/requests/validate_test_user_registration.rb +18 -0
  154. data/lib/ebay/requests/verify_add_item.rb +17 -0
  155. data/lib/ebay/requests/verify_add_second_chance_item.rb +19 -0
  156. data/lib/ebay/requests.rb +123 -0
  157. data/lib/ebay/response/base.rb +27 -0
  158. data/lib/ebay/responses/abstract.rb +27 -0
  159. data/lib/ebay/responses/add_dispute.rb +13 -0
  160. data/lib/ebay/responses/add_dispute_response.rb +12 -0
  161. data/lib/ebay/responses/add_item.rb +19 -0
  162. data/lib/ebay/responses/add_live_auction_item.rb +17 -0
  163. data/lib/ebay/responses/add_member_message.rb +12 -0
  164. data/lib/ebay/responses/add_member_message_aaq_to_partner.rb +12 -0
  165. data/lib/ebay/responses/add_member_message_rtq.rb +12 -0
  166. data/lib/ebay/responses/add_member_messages_aaq_to_bidder.rb +14 -0
  167. data/lib/ebay/responses/add_order.rb +14 -0
  168. data/lib/ebay/responses/add_second_chance_item.rb +17 -0
  169. data/lib/ebay/responses/add_to_item_description.rb +12 -0
  170. data/lib/ebay/responses/add_to_watch_list.rb +14 -0
  171. data/lib/ebay/responses/add_transaction_confirmation_item.rb +15 -0
  172. data/lib/ebay/responses/approve_live_auction_bidders.rb +14 -0
  173. data/lib/ebay/responses/complete_sale.rb +12 -0
  174. data/lib/ebay/responses/delete_my_messages.rb +12 -0
  175. data/lib/ebay/responses/end_item.rb +13 -0
  176. data/lib/ebay/responses/fetch_token.rb +14 -0
  177. data/lib/ebay/responses/get_account.rb +23 -0
  178. data/lib/ebay/responses/get_ad_format_leads.rb +15 -0
  179. data/lib/ebay/responses/get_all_bidders.rb +17 -0
  180. data/lib/ebay/responses/get_api_access_rules.rb +14 -0
  181. data/lib/ebay/responses/get_attributes_cs.rb +14 -0
  182. data/lib/ebay/responses/get_attributes_xsl.rb +14 -0
  183. data/lib/ebay/responses/get_best_offers.rb +16 -0
  184. data/lib/ebay/responses/get_bidder_list.rb +16 -0
  185. data/lib/ebay/responses/get_categories.rb +23 -0
  186. data/lib/ebay/responses/get_category2_cs.rb +18 -0
  187. data/lib/ebay/responses/get_category2_finance_offer.rb +15 -0
  188. data/lib/ebay/responses/get_category_features.rb +20 -0
  189. data/lib/ebay/responses/get_category_listings.rb +24 -0
  190. data/lib/ebay/responses/get_category_mappings.rb +15 -0
  191. data/lib/ebay/responses/get_challenge_token.rb +15 -0
  192. data/lib/ebay/responses/get_charities.rb +14 -0
  193. data/lib/ebay/responses/get_contextual_keywords.rb +14 -0
  194. data/lib/ebay/responses/get_cross_promotions.rb +14 -0
  195. data/lib/ebay/responses/get_description_templates.rb +20 -0
  196. data/lib/ebay/responses/get_dispute.rb +14 -0
  197. data/lib/ebay/responses/get_ebay_details.rb +32 -0
  198. data/lib/ebay/responses/get_ebay_official_time.rb +12 -0
  199. data/lib/ebay/responses/get_feedback.rb +18 -0
  200. data/lib/ebay/responses/get_finance_offers.rb +15 -0
  201. data/lib/ebay/responses/get_high_bidders.rb +15 -0
  202. data/lib/ebay/responses/get_item.rb +14 -0
  203. data/lib/ebay/responses/get_item_recommendations.rb +14 -0
  204. data/lib/ebay/responses/get_item_shipping.rb +14 -0
  205. data/lib/ebay/responses/get_item_transactions.rb +23 -0
  206. data/lib/ebay/responses/get_items_awaiting_feedback.rb +14 -0
  207. data/lib/ebay/responses/get_live_auction_bidders.rb +20 -0
  208. data/lib/ebay/responses/get_live_auction_catalog_details.rb +14 -0
  209. data/lib/ebay/responses/get_member_messages.rb +17 -0
  210. data/lib/ebay/responses/get_my_ebay.rb +23 -0
  211. data/lib/ebay/responses/get_my_ebay_buying.rb +27 -0
  212. data/lib/ebay/responses/get_my_ebay_reminders.rb +15 -0
  213. data/lib/ebay/responses/get_my_ebay_selling.rb +20 -0
  214. data/lib/ebay/responses/get_my_messages.rb +18 -0
  215. data/lib/ebay/responses/get_notification_preferences.rb +20 -0
  216. data/lib/ebay/responses/get_notifications_usage.rb +20 -0
  217. data/lib/ebay/responses/get_order_transactions.rb +14 -0
  218. data/lib/ebay/responses/get_orders.rb +20 -0
  219. data/lib/ebay/responses/get_picture_manager_details.rb +14 -0
  220. data/lib/ebay/responses/get_picture_manager_options.rb +16 -0
  221. data/lib/ebay/responses/get_popular_keywords.rb +17 -0
  222. data/lib/ebay/responses/get_product_family_members.rb +16 -0
  223. data/lib/ebay/responses/get_product_finder.rb +14 -0
  224. data/lib/ebay/responses/get_product_finder_xsl.rb +14 -0
  225. data/lib/ebay/responses/get_product_search_page.rb +15 -0
  226. data/lib/ebay/responses/get_product_search_results.rb +16 -0
  227. data/lib/ebay/responses/get_product_selling_pages.rb +13 -0
  228. data/lib/ebay/responses/get_promotion_rules.rb +14 -0
  229. data/lib/ebay/responses/get_recommendations.rb +22 -0
  230. data/lib/ebay/responses/get_return_url.rb +15 -0
  231. data/lib/ebay/responses/get_ru_name.rb +13 -0
  232. data/lib/ebay/responses/get_search_results.rb +30 -0
  233. data/lib/ebay/responses/get_search_results_express.rb +21 -0
  234. data/lib/ebay/responses/get_seller_events.rb +15 -0
  235. data/lib/ebay/responses/get_seller_list.rb +22 -0
  236. data/lib/ebay/responses/get_seller_payments.rb +20 -0
  237. data/lib/ebay/responses/get_seller_transactions.rb +23 -0
  238. data/lib/ebay/responses/get_store.rb +14 -0
  239. data/lib/ebay/responses/get_store_category_update_status.rb +13 -0
  240. data/lib/ebay/responses/get_store_custom_page.rb +14 -0
  241. data/lib/ebay/responses/get_store_options.rb +21 -0
  242. data/lib/ebay/responses/get_store_preferences.rb +14 -0
  243. data/lib/ebay/responses/get_suggested_categories.rb +15 -0
  244. data/lib/ebay/responses/get_tax_table.rb +15 -0
  245. data/lib/ebay/responses/get_user.rb +14 -0
  246. data/lib/ebay/responses/get_user_contact_details.rb +16 -0
  247. data/lib/ebay/responses/get_user_disputes.rb +22 -0
  248. data/lib/ebay/responses/get_user_preferences.rb +30 -0
  249. data/lib/ebay/responses/get_want_it_now_post.rb +14 -0
  250. data/lib/ebay/responses/get_want_it_now_search_results.rb +19 -0
  251. data/lib/ebay/responses/issue_refund.rb +14 -0
  252. data/lib/ebay/responses/leave_feedback.rb +13 -0
  253. data/lib/ebay/responses/notification_message.rb +14 -0
  254. data/lib/ebay/responses/place_offer.rb +14 -0
  255. data/lib/ebay/responses/relist_item.rb +19 -0
  256. data/lib/ebay/responses/remove_from_watch_list.rb +14 -0
  257. data/lib/ebay/responses/respond_to_best_offer.rb +14 -0
  258. data/lib/ebay/responses/respond_to_feedback.rb +12 -0
  259. data/lib/ebay/responses/respond_to_want_it_now_post.rb +12 -0
  260. data/lib/ebay/responses/revise_checkout_status.rb +12 -0
  261. data/lib/ebay/responses/revise_item.rb +19 -0
  262. data/lib/ebay/responses/revise_live_auction_item.rb +17 -0
  263. data/lib/ebay/responses/revise_my_messages.rb +12 -0
  264. data/lib/ebay/responses/revise_my_messages_folders.rb +12 -0
  265. data/lib/ebay/responses/seller_reverse_dispute.rb +12 -0
  266. data/lib/ebay/responses/send_invoice.rb +12 -0
  267. data/lib/ebay/responses/set_notification_preferences.rb +12 -0
  268. data/lib/ebay/responses/set_picture_manager_details.rb +12 -0
  269. data/lib/ebay/responses/set_promotion_rules.rb +12 -0
  270. data/lib/ebay/responses/set_return_url.rb +12 -0
  271. data/lib/ebay/responses/set_store.rb +12 -0
  272. data/lib/ebay/responses/set_store_categories.rb +14 -0
  273. data/lib/ebay/responses/set_store_custom_page.rb +14 -0
  274. data/lib/ebay/responses/set_store_preferences.rb +12 -0
  275. data/lib/ebay/responses/set_tax_table.rb +12 -0
  276. data/lib/ebay/responses/set_user_notes.rb +12 -0
  277. data/lib/ebay/responses/set_user_preferences.rb +12 -0
  278. data/lib/ebay/responses/validate_challenge_input.rb +13 -0
  279. data/lib/ebay/responses/validate_test_user_registration.rb +12 -0
  280. data/lib/ebay/responses/verify_add_item.rb +20 -0
  281. data/lib/ebay/responses/verify_add_second_chance_item.rb +16 -0
  282. data/lib/ebay/responses.rb +123 -0
  283. data/lib/ebay/schema/mapper/class_definition.rb +48 -0
  284. data/lib/ebay/schema/mapper/class_template.rb +46 -0
  285. data/lib/ebay/schema/mapper/ebay_schema_importer.rb +108 -0
  286. data/lib/ebay/schema/mapper/enumeration.rb +30 -0
  287. data/lib/ebay/schema/mapper/enumeration_validation.rb +17 -0
  288. data/lib/ebay/schema/mapper/node.rb +153 -0
  289. data/lib/ebay/schema/mapper/parser.rb +16 -0
  290. data/lib/ebay/schema/mapper/ruby_class_generator.rb +273 -0
  291. data/lib/ebay/schema/mapper/ruby_class_generator_helper.rb +52 -0
  292. data/lib/ebay/schema/mapper/schema.rb +15 -0
  293. data/lib/ebay/schema/mapper/templates/abstract_request.erb +7 -0
  294. data/lib/ebay/schema/mapper/templates/application_delivery_preferences.erb +7 -0
  295. data/lib/ebay/schema/mapper/templates/base.erb +21 -0
  296. data/lib/ebay/schema/mapper/templates/value.erb +12 -0
  297. data/lib/ebay/schema/mapper/templates/xsl_file.erb +11 -0
  298. data/lib/ebay/schema/mapper/xsd2ebay.rb +13 -0
  299. data/lib/ebay/schema/mapper.rb +9 -0
  300. data/lib/ebay/schema/version.rb +5 -0
  301. data/lib/ebay/types/access_rule_current_status_code.rb +16 -0
  302. data/lib/ebay/types/access_rule_status_code.rb +12 -0
  303. data/lib/ebay/types/account_detail_entry_code.rb +256 -0
  304. data/lib/ebay/types/account_entry.rb +25 -0
  305. data/lib/ebay/types/account_entry_sort_type_code.rb +16 -0
  306. data/lib/ebay/types/account_history_selection_code.rb +12 -0
  307. data/lib/ebay/types/account_state_code.rb +12 -0
  308. data/lib/ebay/types/account_summary.rb +33 -0
  309. data/lib/ebay/types/ack_code.rb +13 -0
  310. data/lib/ebay/types/ad_format_enabled_code.rb +14 -0
  311. data/lib/ebay/types/ad_format_enabled_definition.rb +12 -0
  312. data/lib/ebay/types/ad_format_lead.rb +21 -0
  313. data/lib/ebay/types/add_member_messages_aaq_to_bidder_request_container.rb +16 -0
  314. data/lib/ebay/types/add_member_messages_aaq_to_bidder_response_container.rb +14 -0
  315. data/lib/ebay/types/additional_account.rb +15 -0
  316. data/lib/ebay/types/address.rb +40 -0
  317. data/lib/ebay/types/address_owner_code.rb +11 -0
  318. data/lib/ebay/types/address_record_type_code.rb +11 -0
  319. data/lib/ebay/types/address_status_code.rb +12 -0
  320. data/lib/ebay/types/affiliate_tracking_details.rb +16 -0
  321. data/lib/ebay/types/amount.rb +14 -0
  322. data/lib/ebay/types/api_access_rule.rb +28 -0
  323. data/lib/ebay/types/api_subscription_type_code.rb +29 -0
  324. data/lib/ebay/types/application_delivery_preferences.rb +25 -0
  325. data/lib/ebay/types/application_device_type_code.rb +13 -0
  326. data/lib/ebay/types/attribute.rb +16 -0
  327. data/lib/ebay/types/attribute_recommendations.rb +14 -0
  328. data/lib/ebay/types/attribute_set.rb +16 -0
  329. data/lib/ebay/types/authentication_entry.rb +17 -0
  330. data/lib/ebay/types/balance_code.rb +10 -0
  331. data/lib/ebay/types/basic_amount.rb +14 -0
  332. data/lib/ebay/types/basic_upgrade_pack_enabled_definition.rb +12 -0
  333. data/lib/ebay/types/best_offer.rb +23 -0
  334. data/lib/ebay/types/best_offer_action_code.rb +12 -0
  335. data/lib/ebay/types/best_offer_auto_decline_enabled_definition.rb +12 -0
  336. data/lib/ebay/types/best_offer_counter_enabled_definition.rb +12 -0
  337. data/lib/ebay/types/best_offer_details.rb +17 -0
  338. data/lib/ebay/types/best_offer_enabled_definition.rb +12 -0
  339. data/lib/ebay/types/best_offer_status_code.rb +18 -0
  340. data/lib/ebay/types/best_offer_type_code.rb +12 -0
  341. data/lib/ebay/types/bid_action_code.rb +19 -0
  342. data/lib/ebay/types/bid_approval.rb +16 -0
  343. data/lib/ebay/types/bid_approval_array.rb +14 -0
  344. data/lib/ebay/types/bidder_detail.rb +19 -0
  345. data/lib/ebay/types/bidder_detail_array.rb +14 -0
  346. data/lib/ebay/types/bidder_id.rb +28 -0
  347. data/lib/ebay/types/bidder_notice_preferences.rb +13 -0
  348. data/lib/ebay/types/bidder_status_code.rb +12 -0
  349. data/lib/ebay/types/bidder_type_code.rb +11 -0
  350. data/lib/ebay/types/bidding_details.rb +17 -0
  351. data/lib/ebay/types/bidding_summary.rb +20 -0
  352. data/lib/ebay/types/bulk_catalog_lister_status_code.rb +15 -0
  353. data/lib/ebay/types/buyer.rb +14 -0
  354. data/lib/ebay/types/buyer_payment_method_code.rb +32 -0
  355. data/lib/ebay/types/buyer_protection_code.rb +13 -0
  356. data/lib/ebay/types/buyer_requirements.rb +21 -0
  357. data/lib/ebay/types/buying_guide.rb +16 -0
  358. data/lib/ebay/types/buying_guide_details.rb +15 -0
  359. data/lib/ebay/types/buying_summary.rb +19 -0
  360. data/lib/ebay/types/calculated_shipping_charge_option_code.rb +11 -0
  361. data/lib/ebay/types/calculated_shipping_preferences.rb +16 -0
  362. data/lib/ebay/types/calculated_shipping_rate.rb +23 -0
  363. data/lib/ebay/types/calculated_shipping_rate_option_code.rb +11 -0
  364. data/lib/ebay/types/cancel_offer.rb +15 -0
  365. data/lib/ebay/types/cancel_offer_array.rb +14 -0
  366. data/lib/ebay/types/category.rb +38 -0
  367. data/lib/ebay/types/category_feature.rb +41 -0
  368. data/lib/ebay/types/category_feature_detail_level_code.rb +11 -0
  369. data/lib/ebay/types/category_finance_offer.rb +14 -0
  370. data/lib/ebay/types/category_listings_order_code.rb +17 -0
  371. data/lib/ebay/types/category_listings_search_code.rb +11 -0
  372. data/lib/ebay/types/category_mapping.rb +14 -0
  373. data/lib/ebay/types/characteristic.rb +21 -0
  374. data/lib/ebay/types/characteristic_set_ids.rb +13 -0
  375. data/lib/ebay/types/characteristics_search_code.rb +11 -0
  376. data/lib/ebay/types/characteristics_set.rb +17 -0
  377. data/lib/ebay/types/charity.rb +20 -0
  378. data/lib/ebay/types/charity_affiliation.rb +14 -0
  379. data/lib/ebay/types/charity_affiliation_type_code.rb +12 -0
  380. data/lib/ebay/types/charity_id.rb +14 -0
  381. data/lib/ebay/types/charity_info.rb +21 -0
  382. data/lib/ebay/types/charity_seller.rb +15 -0
  383. data/lib/ebay/types/charity_seller_status_code.rb +18 -0
  384. data/lib/ebay/types/charity_status_code.rb +11 -0
  385. data/lib/ebay/types/checkout_method_code.rb +11 -0
  386. data/lib/ebay/types/checkout_status.rb +16 -0
  387. data/lib/ebay/types/checkout_status_code.rb +13 -0
  388. data/lib/ebay/types/combined_payment_option_code.rb +12 -0
  389. data/lib/ebay/types/combined_payment_period_code.rb +14 -0
  390. data/lib/ebay/types/combined_payment_preferences.rb +18 -0
  391. data/lib/ebay/types/comment_type_code.rb +14 -0
  392. data/lib/ebay/types/complete_status_code.rb +12 -0
  393. data/lib/ebay/types/condition_selection_code.rb +11 -0
  394. data/lib/ebay/types/context_search_asset.rb +16 -0
  395. data/lib/ebay/types/country_code.rb +253 -0
  396. data/lib/ebay/types/country_details.rb +14 -0
  397. data/lib/ebay/types/cross_promotion_preferences.rb +19 -0
  398. data/lib/ebay/types/cross_promotions.rb +21 -0
  399. data/lib/ebay/types/currency_code.rb +183 -0
  400. data/lib/ebay/types/currency_details.rb +14 -0
  401. data/lib/ebay/types/custom_security_header.rb +17 -0
  402. data/lib/ebay/types/data_element_set.rb +15 -0
  403. data/lib/ebay/types/date_specifier_code.rb +12 -0
  404. data/lib/ebay/types/deposit_type_code.rb +12 -0
  405. data/lib/ebay/types/description_revise_mode_code.rb +12 -0
  406. data/lib/ebay/types/description_template.rb +22 -0
  407. data/lib/ebay/types/description_template_code.rb +11 -0
  408. data/lib/ebay/types/detail_level_code.rb +16 -0
  409. data/lib/ebay/types/detail_name_code.rb +19 -0
  410. data/lib/ebay/types/device_type_code.rb +11 -0
  411. data/lib/ebay/types/digital_delivery_details.rb +16 -0
  412. data/lib/ebay/types/digital_delivery_enabled_code.rb +12 -0
  413. data/lib/ebay/types/digital_delivery_enabled_definition.rb +12 -0
  414. data/lib/ebay/types/digital_delivery_method_code.rb +12 -0
  415. data/lib/ebay/types/dispatch_time_max_details.rb +14 -0
  416. data/lib/ebay/types/display_pay_now_button_code.rb +11 -0
  417. data/lib/ebay/types/dispute.rb +35 -0
  418. data/lib/ebay/types/dispute_activity_code.rb +18 -0
  419. data/lib/ebay/types/dispute_credit_eligibility_code.rb +11 -0
  420. data/lib/ebay/types/dispute_explanation_code.rb +22 -0
  421. data/lib/ebay/types/dispute_filter_count.rb +14 -0
  422. data/lib/ebay/types/dispute_filter_type_code.rb +16 -0
  423. data/lib/ebay/types/dispute_message.rb +16 -0
  424. data/lib/ebay/types/dispute_message_source_code.rb +12 -0
  425. data/lib/ebay/types/dispute_reason_code.rb +15 -0
  426. data/lib/ebay/types/dispute_record_type_code.rb +11 -0
  427. data/lib/ebay/types/dispute_resolution.rb +15 -0
  428. data/lib/ebay/types/dispute_resolution_reason_code.rb +22 -0
  429. data/lib/ebay/types/dispute_resolution_record_type_code.rb +20 -0
  430. data/lib/ebay/types/dispute_sort_type_code.rb +16 -0
  431. data/lib/ebay/types/dispute_state_code.rb +34 -0
  432. data/lib/ebay/types/dispute_status_code.rb +28 -0
  433. data/lib/ebay/types/distance.rb +14 -0
  434. data/lib/ebay/types/domain_histogram.rb +14 -0
  435. data/lib/ebay/types/duplicate_invocation_details.rb +15 -0
  436. data/lib/ebay/types/dutch_bin_enabled_definition.rb +12 -0
  437. data/lib/ebay/types/ebay_subscription_type_code.rb +29 -0
  438. data/lib/ebay/types/ebx_opt_in_preference.rb +13 -0
  439. data/lib/ebay/types/enable_code.rb +11 -0
  440. data/lib/ebay/types/end_of_auction_email_preferences.rb +19 -0
  441. data/lib/ebay/types/end_of_auction_logo_type_code.rb +13 -0
  442. data/lib/ebay/types/end_reason_code.rb +14 -0
  443. data/lib/ebay/types/error.rb +20 -0
  444. data/lib/ebay/types/error_classification_code.rb +11 -0
  445. data/lib/ebay/types/error_handling_code.rb +13 -0
  446. data/lib/ebay/types/error_parameter.rb +14 -0
  447. data/lib/ebay/types/escrow_code.rb +12 -0
  448. data/lib/ebay/types/expansion_array.rb +15 -0
  449. data/lib/ebay/types/express_condition_required_definition.rb +12 -0
  450. data/lib/ebay/types/express_detail_level_code.rb +12 -0
  451. data/lib/ebay/types/express_details.rb +15 -0
  452. data/lib/ebay/types/express_enabled_definition.rb +12 -0
  453. data/lib/ebay/types/express_histogram_aisle.rb +16 -0
  454. data/lib/ebay/types/express_histogram_department.rb +16 -0
  455. data/lib/ebay/types/express_histogram_domain_details.rb +17 -0
  456. data/lib/ebay/types/express_histogram_product.rb +14 -0
  457. data/lib/ebay/types/express_histogram_sort_code.rb +12 -0
  458. data/lib/ebay/types/express_item_requirements.rb +31 -0
  459. data/lib/ebay/types/express_item_sort_code.rb +12 -0
  460. data/lib/ebay/types/express_pictures_required_definition.rb +12 -0
  461. data/lib/ebay/types/express_preferences.rb +14 -0
  462. data/lib/ebay/types/express_product.rb +22 -0
  463. data/lib/ebay/types/express_product_sort_code.rb +12 -0
  464. data/lib/ebay/types/express_seller_requirements.rb +25 -0
  465. data/lib/ebay/types/express_selling_preference_code.rb +12 -0
  466. data/lib/ebay/types/extended_product_finder_id.rb +14 -0
  467. data/lib/ebay/types/external_alert_id_array.rb +13 -0
  468. data/lib/ebay/types/external_product_code.rb +14 -0
  469. data/lib/ebay/types/external_product_id.rb +19 -0
  470. data/lib/ebay/types/external_transaction.rb +16 -0
  471. data/lib/ebay/types/fault_details.rb +15 -0
  472. data/lib/ebay/types/feature_definitions.rb +72 -0
  473. data/lib/ebay/types/feature_id_code.rb +37 -0
  474. data/lib/ebay/types/fee.rb +14 -0
  475. data/lib/ebay/types/feedback_detail.rb +29 -0
  476. data/lib/ebay/types/feedback_info.rb +15 -0
  477. data/lib/ebay/types/feedback_period.rb +14 -0
  478. data/lib/ebay/types/feedback_period_array.rb +14 -0
  479. data/lib/ebay/types/feedback_rating_star_code.rb +20 -0
  480. data/lib/ebay/types/feedback_requirements.rb +14 -0
  481. data/lib/ebay/types/feedback_response_code.rb +11 -0
  482. data/lib/ebay/types/feedback_summary.rb +21 -0
  483. data/lib/ebay/types/finance_offer.rb +20 -0
  484. data/lib/ebay/types/flat_rate_insurance_range_code.rb +15 -0
  485. data/lib/ebay/types/flat_rate_insurance_range_cost.rb +14 -0
  486. data/lib/ebay/types/flat_shipping_preferences.rb +18 -0
  487. data/lib/ebay/types/flat_shipping_rate_option_code.rb +12 -0
  488. data/lib/ebay/types/gallery_sort_filter_code.rb +12 -0
  489. data/lib/ebay/types/gallery_type_code.rb +13 -0
  490. data/lib/ebay/types/general_payment_method_code.rb +14 -0
  491. data/lib/ebay/types/get_all_bidders_mode_code.rb +12 -0
  492. data/lib/ebay/types/get_recommendations_request_container.rb +23 -0
  493. data/lib/ebay/types/get_recommendations_response_container.rb +23 -0
  494. data/lib/ebay/types/gift_services_code.rb +12 -0
  495. data/lib/ebay/types/granularity_level_code.rb +12 -0
  496. data/lib/ebay/types/hit_counter_code.rb +16 -0
  497. data/lib/ebay/types/home_page_featured_enabled_definition.rb +12 -0
  498. data/lib/ebay/types/insurance_details.rb +14 -0
  499. data/lib/ebay/types/insurance_option_code.rb +14 -0
  500. data/lib/ebay/types/insurance_selected_code.rb +14 -0
  501. data/lib/ebay/types/international_shipping_service_options.rb +18 -0
  502. data/lib/ebay/types/invocation_status.rb +12 -0
  503. data/lib/ebay/types/item.rb +151 -0
  504. data/lib/ebay/types/item_bid_details.rb +17 -0
  505. data/lib/ebay/types/item_format_sort_filter_code.rb +13 -0
  506. data/lib/ebay/types/item_list_customization.rb +19 -0
  507. data/lib/ebay/types/item_location_code.rb +11 -0
  508. data/lib/ebay/types/item_sort_filter_code.rb +15 -0
  509. data/lib/ebay/types/item_sort_type_code.rb +79 -0
  510. data/lib/ebay/types/item_totals.rb +14 -0
  511. data/lib/ebay/types/item_transaction_id.rb +14 -0
  512. data/lib/ebay/types/item_type_filter_code.rb +18 -0
  513. data/lib/ebay/types/label.rb +14 -0
  514. data/lib/ebay/types/listing_analyzer_recommendations.rb +14 -0
  515. data/lib/ebay/types/listing_checkout_redirect_preference.rb +14 -0
  516. data/lib/ebay/types/listing_designer.rb +15 -0
  517. data/lib/ebay/types/listing_details.rb +36 -0
  518. data/lib/ebay/types/listing_duration_code.rb +21 -0
  519. data/lib/ebay/types/listing_duration_definition.rb +14 -0
  520. data/lib/ebay/types/listing_duration_definitions.rb +15 -0
  521. data/lib/ebay/types/listing_duration_reference.rb +14 -0
  522. data/lib/ebay/types/listing_enhancements_code.rb +18 -0
  523. data/lib/ebay/types/listing_flow_code.rb +12 -0
  524. data/lib/ebay/types/listing_status_code.rb +13 -0
  525. data/lib/ebay/types/listing_subtype_enum.rb +10 -0
  526. data/lib/ebay/types/listing_tip.rb +18 -0
  527. data/lib/ebay/types/listing_tip_field.rb +16 -0
  528. data/lib/ebay/types/listing_tip_message.rb +16 -0
  529. data/lib/ebay/types/listing_type_code.rb +21 -0
  530. data/lib/ebay/types/live_auction_approval_status.rb +14 -0
  531. data/lib/ebay/types/live_auction_approval_status_array.rb +14 -0
  532. data/lib/ebay/types/live_auction_bid.rb +16 -0
  533. data/lib/ebay/types/live_auction_bid_array.rb +14 -0
  534. data/lib/ebay/types/live_auction_catalog.rb +16 -0
  535. data/lib/ebay/types/live_auction_details.rb +17 -0
  536. data/lib/ebay/types/local_listing_distances_non_subscription_definition.rb +12 -0
  537. data/lib/ebay/types/local_listing_distances_regular_definition.rb +12 -0
  538. data/lib/ebay/types/local_listing_distances_specialty_definition.rb +12 -0
  539. data/lib/ebay/types/local_market_non_subscription_definition.rb +12 -0
  540. data/lib/ebay/types/local_market_premium_subscription_definition.rb +12 -0
  541. data/lib/ebay/types/local_market_regular_subscription_definition.rb +12 -0
  542. data/lib/ebay/types/local_market_speciality_subscription_definition.rb +12 -0
  543. data/lib/ebay/types/local_search.rb +14 -0
  544. data/lib/ebay/types/logo_type_code.rb +12 -0
  545. data/lib/ebay/types/lookup_attribute.rb +14 -0
  546. data/lib/ebay/types/mail_options_type_code.rb +12 -0
  547. data/lib/ebay/types/mark_up_mark_down_event.rb +19 -0
  548. data/lib/ebay/types/mark_up_mark_down_event_type_code.rb +11 -0
  549. data/lib/ebay/types/maximum_item_requirements.rb +14 -0
  550. data/lib/ebay/types/measure.rb +15 -0
  551. data/lib/ebay/types/measurement_system_code.rb +11 -0
  552. data/lib/ebay/types/member_message.rb +24 -0
  553. data/lib/ebay/types/member_message_exchange.rb +20 -0
  554. data/lib/ebay/types/member_message_exchange_array.rb +14 -0
  555. data/lib/ebay/types/merch_display_code.rb +11 -0
  556. data/lib/ebay/types/merchandizing_pref_code.rb +11 -0
  557. data/lib/ebay/types/message_status_type_code.rb +11 -0
  558. data/lib/ebay/types/message_type_code.rb +13 -0
  559. data/lib/ebay/types/minimum_reserve_price_definition.rb +12 -0
  560. data/lib/ebay/types/modified_field.rb +14 -0
  561. data/lib/ebay/types/modify_action_code.rb +12 -0
  562. data/lib/ebay/types/modify_code.rb +11 -0
  563. data/lib/ebay/types/my_ebay_favorite_search.rb +14 -0
  564. data/lib/ebay/types/my_ebay_favorite_search_list.rb +15 -0
  565. data/lib/ebay/types/my_ebay_favorite_seller.rb +14 -0
  566. data/lib/ebay/types/my_ebay_favorite_seller_list.rb +15 -0
  567. data/lib/ebay/types/my_ebay_second_chance_offer_list.rb +15 -0
  568. data/lib/ebay/types/my_ebay_selection.rb +15 -0
  569. data/lib/ebay/types/my_messages_alert.rb +36 -0
  570. data/lib/ebay/types/my_messages_alert_array.rb +14 -0
  571. data/lib/ebay/types/my_messages_alert_id.rb +28 -0
  572. data/lib/ebay/types/my_messages_alert_id_array.rb +13 -0
  573. data/lib/ebay/types/my_messages_alert_resolution_status_code.rb +12 -0
  574. data/lib/ebay/types/my_messages_folder.rb +14 -0
  575. data/lib/ebay/types/my_messages_folder_operation_code.rb +12 -0
  576. data/lib/ebay/types/my_messages_folder_summary.rb +18 -0
  577. data/lib/ebay/types/my_messages_forward_details.rb +14 -0
  578. data/lib/ebay/types/my_messages_message.rb +32 -0
  579. data/lib/ebay/types/my_messages_message_array.rb +14 -0
  580. data/lib/ebay/types/my_messages_message_id.rb +28 -0
  581. data/lib/ebay/types/my_messages_message_id_array.rb +13 -0
  582. data/lib/ebay/types/my_messages_response_details.rb +15 -0
  583. data/lib/ebay/types/my_messages_summary.rb +20 -0
  584. data/lib/ebay/types/name_value_list.rb +14 -0
  585. data/lib/ebay/types/name_value_list_array.rb +14 -0
  586. data/lib/ebay/types/notification_delivery_status_code.rb +13 -0
  587. data/lib/ebay/types/notification_details.rb +25 -0
  588. data/lib/ebay/types/notification_enable.rb +14 -0
  589. data/lib/ebay/types/notification_enable_array.rb +14 -0
  590. data/lib/ebay/types/notification_event_property.rb +15 -0
  591. data/lib/ebay/types/notification_event_property_name_code.rb +10 -0
  592. data/lib/ebay/types/notification_event_state_code.rb +19 -0
  593. data/lib/ebay/types/notification_event_type_code.rb +50 -0
  594. data/lib/ebay/types/notification_payload_type_code.rb +10 -0
  595. data/lib/ebay/types/notification_role_code.rb +13 -0
  596. data/lib/ebay/types/notification_statistics.rb +17 -0
  597. data/lib/ebay/types/notification_user_data.rb +16 -0
  598. data/lib/ebay/types/offer.rb +27 -0
  599. data/lib/ebay/types/offer_array.rb +14 -0
  600. data/lib/ebay/types/operation_type_code.rb +11 -0
  601. data/lib/ebay/types/order.rb +38 -0
  602. data/lib/ebay/types/order_role_code.rb +11 -0
  603. data/lib/ebay/types/order_status_code.rb +13 -0
  604. data/lib/ebay/types/order_transaction.rb +16 -0
  605. data/lib/ebay/types/paginated_item_array.rb +16 -0
  606. data/lib/ebay/types/paginated_order_transaction_array.rb +16 -0
  607. data/lib/ebay/types/paginated_transaction_array.rb +16 -0
  608. data/lib/ebay/types/pagination.rb +14 -0
  609. data/lib/ebay/types/pagination_result.rb +14 -0
  610. data/lib/ebay/types/paid_status_code.rb +20 -0
  611. data/lib/ebay/types/pay_pal_account_level_code.rb +16 -0
  612. data/lib/ebay/types/pay_pal_account_status_code.rb +17 -0
  613. data/lib/ebay/types/pay_pal_account_type_code.rb +14 -0
  614. data/lib/ebay/types/payment_details.rb +14 -0
  615. data/lib/ebay/types/payment_method_search_code.rb +12 -0
  616. data/lib/ebay/types/payment_option_details.rb +14 -0
  617. data/lib/ebay/types/payment_status_code.rb +15 -0
  618. data/lib/ebay/types/payment_type_code.rb +14 -0
  619. data/lib/ebay/types/paypal_account_level_code.rb +16 -0
  620. data/lib/ebay/types/paypal_account_status_code.rb +17 -0
  621. data/lib/ebay/types/paypal_account_type_code.rb +14 -0
  622. data/lib/ebay/types/photo_display_code.rb +16 -0
  623. data/lib/ebay/types/picture_details.rb +17 -0
  624. data/lib/ebay/types/picture_manager_action_code.rb +14 -0
  625. data/lib/ebay/types/picture_manager_detail_level_code.rb +12 -0
  626. data/lib/ebay/types/picture_manager_details.rb +20 -0
  627. data/lib/ebay/types/picture_manager_folder.rb +16 -0
  628. data/lib/ebay/types/picture_manager_picture.rb +17 -0
  629. data/lib/ebay/types/picture_manager_picture_display.rb +17 -0
  630. data/lib/ebay/types/picture_manager_picture_display_type_code.rb +15 -0
  631. data/lib/ebay/types/picture_manager_subscription.rb +15 -0
  632. data/lib/ebay/types/picture_manager_subscription_level_code.rb +14 -0
  633. data/lib/ebay/types/picture_source_code.rb +12 -0
  634. data/lib/ebay/types/price_range_filter.rb +14 -0
  635. data/lib/ebay/types/pricing_recommendations.rb +14 -0
  636. data/lib/ebay/types/pro_pack_enabled_definition.rb +12 -0
  637. data/lib/ebay/types/pro_pack_plus_enabled_definition.rb +12 -0
  638. data/lib/ebay/types/pro_stores_checkout_preference.rb +15 -0
  639. data/lib/ebay/types/pro_stores_details.rb +15 -0
  640. data/lib/ebay/types/product.rb +21 -0
  641. data/lib/ebay/types/product_family.rb +16 -0
  642. data/lib/ebay/types/product_finder_constraint.rb +14 -0
  643. data/lib/ebay/types/product_info.rb +16 -0
  644. data/lib/ebay/types/product_listing_details.rb +18 -0
  645. data/lib/ebay/types/product_search.rb +26 -0
  646. data/lib/ebay/types/product_search_page.rb +20 -0
  647. data/lib/ebay/types/product_search_result.rb +26 -0
  648. data/lib/ebay/types/product_use_case_code.rb +12 -0
  649. data/lib/ebay/types/promoted_item.rb +24 -0
  650. data/lib/ebay/types/promotion_details.rb +16 -0
  651. data/lib/ebay/types/promotion_item_price_type_code.rb +13 -0
  652. data/lib/ebay/types/promotion_item_selection_code.rb +11 -0
  653. data/lib/ebay/types/promotion_method_code.rb +11 -0
  654. data/lib/ebay/types/promotion_rule.rb +24 -0
  655. data/lib/ebay/types/promotion_scheme_code.rb +18 -0
  656. data/lib/ebay/types/proximity_search.rb +14 -0
  657. data/lib/ebay/types/proximity_search_details.rb +13 -0
  658. data/lib/ebay/types/purchase_purpose_type_code.rb +17 -0
  659. data/lib/ebay/types/quantity.rb +14 -0
  660. data/lib/ebay/types/quantity_operator_code.rb +14 -0
  661. data/lib/ebay/types/question_type_code.rb +13 -0
  662. data/lib/ebay/types/range_code.rb +11 -0
  663. data/lib/ebay/types/rcs_payment_status_code.rb +12 -0
  664. data/lib/ebay/types/recommendation_engine_code.rb +13 -0
  665. data/lib/ebay/types/refund_reason_code.rb +15 -0
  666. data/lib/ebay/types/refund_type_code.rb +12 -0
  667. data/lib/ebay/types/region_details.rb +14 -0
  668. data/lib/ebay/types/reminder_customization.rb +14 -0
  669. data/lib/ebay/types/reminders.rb +20 -0
  670. data/lib/ebay/types/request_categories.rb +16 -0
  671. data/lib/ebay/types/response_attribute_set.rb +21 -0
  672. data/lib/ebay/types/revise_status.rb +17 -0
  673. data/lib/ebay/types/sales_tax.rb +16 -0
  674. data/lib/ebay/types/schedule.rb +14 -0
  675. data/lib/ebay/types/scheduling_info.rb +15 -0
  676. data/lib/ebay/types/search_attributes.rb +17 -0
  677. data/lib/ebay/types/search_details.rb +15 -0
  678. data/lib/ebay/types/search_flags_code.rb +13 -0
  679. data/lib/ebay/types/search_location.rb +15 -0
  680. data/lib/ebay/types/search_location_filter.rb +17 -0
  681. data/lib/ebay/types/search_request.rb +16 -0
  682. data/lib/ebay/types/search_result_item.rb +17 -0
  683. data/lib/ebay/types/search_result_values_code.rb +14 -0
  684. data/lib/ebay/types/search_sort_order_code.rb +25 -0
  685. data/lib/ebay/types/search_store_filter.rb +14 -0
  686. data/lib/ebay/types/search_type_code.rb +11 -0
  687. data/lib/ebay/types/second_chance_offer_duration_code.rb +13 -0
  688. data/lib/ebay/types/selection_mode_code.rb +11 -0
  689. data/lib/ebay/types/seller.rb +39 -0
  690. data/lib/ebay/types/seller_business_code.rb +12 -0
  691. data/lib/ebay/types/seller_contact_details_enabled_definition.rb +12 -0
  692. data/lib/ebay/types/seller_favorite_item_preferences.rb +19 -0
  693. data/lib/ebay/types/seller_guarantee_level_code.rb +13 -0
  694. data/lib/ebay/types/seller_level_code.rb +15 -0
  695. data/lib/ebay/types/seller_payment.rb +26 -0
  696. data/lib/ebay/types/seller_payment_method_code.rb +14 -0
  697. data/lib/ebay/types/seller_payment_preferences.rb +20 -0
  698. data/lib/ebay/types/selling_manager_product_details.rb +15 -0
  699. data/lib/ebay/types/selling_status.rb +26 -0
  700. data/lib/ebay/types/selling_summary.rb +19 -0
  701. data/lib/ebay/types/set_user_notes_action_code.rb +11 -0
  702. data/lib/ebay/types/severity_code.rb +11 -0
  703. data/lib/ebay/types/shipment.rb +39 -0
  704. data/lib/ebay/types/shipment_delivery_status_code.rb +16 -0
  705. data/lib/ebay/types/shipment_status_code.rb +11 -0
  706. data/lib/ebay/types/shipping_carrier_code.rb +16 -0
  707. data/lib/ebay/types/shipping_details.rb +43 -0
  708. data/lib/ebay/types/shipping_feature_code.rb +15 -0
  709. data/lib/ebay/types/shipping_location_details.rb +14 -0
  710. data/lib/ebay/types/shipping_option_code.rb +13 -0
  711. data/lib/ebay/types/shipping_package_code.rb +27 -0
  712. data/lib/ebay/types/shipping_rate_type_code.rb +11 -0
  713. data/lib/ebay/types/shipping_region_code.rb +23 -0
  714. data/lib/ebay/types/shipping_service_code.rb +433 -0
  715. data/lib/ebay/types/shipping_service_details.rb +20 -0
  716. data/lib/ebay/types/shipping_service_options.rb +21 -0
  717. data/lib/ebay/types/shipping_term_required_definition.rb +12 -0
  718. data/lib/ebay/types/shipping_terms_code.rb +11 -0
  719. data/lib/ebay/types/shipping_type_code.rb +16 -0
  720. data/lib/ebay/types/sifftas_recommendations.rb +14 -0
  721. data/lib/ebay/types/site_code.rb +34 -0
  722. data/lib/ebay/types/site_defaults.rb +43 -0
  723. data/lib/ebay/types/site_details.rb +14 -0
  724. data/lib/ebay/types/site_hosted_picture.rb +17 -0
  725. data/lib/ebay/types/site_id_filter_code.rb +14 -0
  726. data/lib/ebay/types/site_location.rb +13 -0
  727. data/lib/ebay/types/site_wide_characteristics.rb +15 -0
  728. data/lib/ebay/types/skype_contact_option_code.rb +11 -0
  729. data/lib/ebay/types/skype_me_non_transactional_enabled_definition.rb +12 -0
  730. data/lib/ebay/types/skype_me_transactional_enabled_definition.rb +12 -0
  731. data/lib/ebay/types/skype_option_code.rb +11 -0
  732. data/lib/ebay/types/sms_subscription.rb +17 -0
  733. data/lib/ebay/types/sms_subscription_error_code_code.rb +14 -0
  734. data/lib/ebay/types/sms_subscription_user_status_code.rb +13 -0
  735. data/lib/ebay/types/sort_order_code.rb +11 -0
  736. data/lib/ebay/types/spelling_suggestion.rb +14 -0
  737. data/lib/ebay/types/store.rb +34 -0
  738. data/lib/ebay/types/store_category_update_action_code.rb +13 -0
  739. data/lib/ebay/types/store_color.rb +15 -0
  740. data/lib/ebay/types/store_color_scheme.rb +18 -0
  741. data/lib/ebay/types/store_color_scheme_array.rb +14 -0
  742. data/lib/ebay/types/store_custom_category.rb +18 -0
  743. data/lib/ebay/types/store_custom_category_array.rb +14 -0
  744. data/lib/ebay/types/store_custom_header_layout_code.rb +11 -0
  745. data/lib/ebay/types/store_custom_listing_header.rb +20 -0
  746. data/lib/ebay/types/store_custom_listing_header_display_code.rb +12 -0
  747. data/lib/ebay/types/store_custom_listing_header_link.rb +15 -0
  748. data/lib/ebay/types/store_custom_listing_header_link_code.rb +13 -0
  749. data/lib/ebay/types/store_custom_page.rb +21 -0
  750. data/lib/ebay/types/store_custom_page_array.rb +14 -0
  751. data/lib/ebay/types/store_custom_page_status_code.rb +12 -0
  752. data/lib/ebay/types/store_font.rb +21 -0
  753. data/lib/ebay/types/store_font_face_code.rb +13 -0
  754. data/lib/ebay/types/store_font_size_code.rb +16 -0
  755. data/lib/ebay/types/store_header_style_code.rb +11 -0
  756. data/lib/ebay/types/store_inventory_enabled_definition.rb +12 -0
  757. data/lib/ebay/types/store_item_list_layout_code.rb +11 -0
  758. data/lib/ebay/types/store_item_list_sort_order_code.rb +13 -0
  759. data/lib/ebay/types/store_logo.rb +15 -0
  760. data/lib/ebay/types/store_logo_array.rb +14 -0
  761. data/lib/ebay/types/store_preferences.rb +14 -0
  762. data/lib/ebay/types/store_search_code.rb +13 -0
  763. data/lib/ebay/types/store_subscription.rb +14 -0
  764. data/lib/ebay/types/store_subscription_array.rb +14 -0
  765. data/lib/ebay/types/store_subscription_level_code.rb +13 -0
  766. data/lib/ebay/types/store_theme.rb +16 -0
  767. data/lib/ebay/types/store_theme_array.rb +16 -0
  768. data/lib/ebay/types/store_vacation_preferences.rb +19 -0
  769. data/lib/ebay/types/storefront.rb +16 -0
  770. data/lib/ebay/types/string_match_code.rb +11 -0
  771. data/lib/ebay/types/subscription.rb +15 -0
  772. data/lib/ebay/types/suggested_category.rb +15 -0
  773. data/lib/ebay/types/summary_event_schedule.rb +15 -0
  774. data/lib/ebay/types/summary_frequency_code.rb +49 -0
  775. data/lib/ebay/types/summary_window_period_code.rb +17 -0
  776. data/lib/ebay/types/supported_event_types_array.rb +13 -0
  777. data/lib/ebay/types/task_status_code.rb +13 -0
  778. data/lib/ebay/types/tax_jurisdiction.rb +16 -0
  779. data/lib/ebay/types/tcr_enabled_definition.rb +12 -0
  780. data/lib/ebay/types/theme_group.rb +16 -0
  781. data/lib/ebay/types/token_return_method_code.rb +11 -0
  782. data/lib/ebay/types/trading_role_code.rb +11 -0
  783. data/lib/ebay/types/transaction.rb +54 -0
  784. data/lib/ebay/types/transaction_platform.rb +11 -0
  785. data/lib/ebay/types/transaction_status.rb +18 -0
  786. data/lib/ebay/types/unit_code.rb +15 -0
  787. data/lib/ebay/types/ups_rate_option_code.rb +11 -0
  788. data/lib/ebay/types/url_details.rb +14 -0
  789. data/lib/ebay/types/url_type_code.rb +20 -0
  790. data/lib/ebay/types/user.rb +56 -0
  791. data/lib/ebay/types/user_consent_required_definition.rb +12 -0
  792. data/lib/ebay/types/user_id_array.rb +13 -0
  793. data/lib/ebay/types/user_id_filter.rb +14 -0
  794. data/lib/ebay/types/user_id_password.rb +17 -0
  795. data/lib/ebay/types/user_status_code.rb +26 -0
  796. data/lib/ebay/types/val.rb +15 -0
  797. data/lib/ebay/types/value_pack_enabled_definition.rb +12 -0
  798. data/lib/ebay/types/vat_details.rb +15 -0
  799. data/lib/ebay/types/vat_status_code.rb +12 -0
  800. data/lib/ebay/types/vendor_hosted_picture.rb +17 -0
  801. data/lib/ebay/types/verified_user_requirements.rb +14 -0
  802. data/lib/ebay/types/want_it_now_post.rb +19 -0
  803. data/lib/ebay/types/warning_level_code.rb +11 -0
  804. data/lib/ebay/types/wireless_carrier_id_code.rb +23 -0
  805. data/lib/ebay/types/xml_requester_credentials.rb +15 -0
  806. data/lib/ebay/types/xsl_file.rb +26 -0
  807. data/lib/ebay/types.rb +204 -0
  808. data/lib/ebay.rb +32 -0
  809. data/lib/support/cattr_accessor.rb +57 -0
  810. data/lib/support/core_ext/hash.rb +24 -0
  811. data/lib/support/core_ext/string.rb +21 -0
  812. data/lib/support/xml_mapping/cdata_node.rb +7 -0
  813. data/lib/support/xml_mapping/money_node.rb +22 -0
  814. data/lib/support/xml_mapping/time_node.rb +14 -0
  815. data/lib/support/xml_mapping/value_array_node.rb +8 -0
  816. data/lib/support/xml_mapping.rb +10 -0
  817. data/rakefile +130 -0
  818. data/test/credentials.rb +7 -0
  819. data/test/fixtures/notifications/ask_seller_question.xml +58 -0
  820. data/test/fixtures/notifications/invalid_signature.xml +333 -0
  821. data/test/fixtures/notifications/m2m_message1.xml +333 -0
  822. data/test/fixtures/notifications/no_soap_body.xml +10 -0
  823. data/test/fixtures/responses/get_attributes_cs.xml +93188 -0
  824. data/test/fixtures/responses/get_attributes_xsl.xml +3973 -0
  825. data/test/fixtures/responses/official_time_failure.xml +2 -0
  826. data/test/fixtures/responses/official_time_success.xml +2 -0
  827. data/test/fixtures/responses/official_time_warning.xml +2 -0
  828. data/test/fixtures/responses/verify_add_item.xml +2 -0
  829. data/test/fixtures/responses/verify_add_item_failure.xml +2 -0
  830. data/test/fixtures/templates/abstract_response.erb +3 -0
  831. data/test/fixtures/templates/base.erb +19 -0
  832. data/test/fixtures/templates/ebay_class.erb +14 -0
  833. data/test/http_mock.rb +48 -0
  834. data/test/test_helper.rb +27 -0
  835. data/test/unit/abstract_request_test.rb +20 -0
  836. data/test/unit/application_delivery_preferences_test.rb +21 -0
  837. data/test/unit/class_definition_test.rb +20 -0
  838. data/test/unit/config_test.rb +24 -0
  839. data/test/unit/core_ext_hash_test.rb +61 -0
  840. data/test/unit/core_ext_string_test.rb +93 -0
  841. data/test/unit/ebay_test.rb +63 -0
  842. data/test/unit/generate_from_xsd.rb +35 -0
  843. data/test/unit/get_attributes_cs_test.rb +15 -0
  844. data/test/unit/get_attributes_xsl.rb +18 -0
  845. data/test/unit/initializer_test.rb +84 -0
  846. data/test/unit/mapping_subclass_test.rb +24 -0
  847. data/test/unit/node_test.rb +113 -0
  848. data/test/unit/notification_signature_test.rb +14 -0
  849. data/test/unit/notifications_test.rb +52 -0
  850. data/test/unit/template_test.rb +70 -0
  851. data/test/unit/xml_mapping_cdata_node_test.rb +31 -0
  852. data/test/unit/xml_mapping_money_node_test.rb +28 -0
  853. data/test/unit/xml_mapping_test.rb +28 -0
  854. data/test/unit/xml_mapping_time_node_test.rb +37 -0
  855. data/test/unit/xml_mapping_value_array_node_test.rb +57 -0
  856. metadata +943 -0
@@ -0,0 +1,11 @@
1
+ module Ebay
2
+ module Types
3
+ class FeedbackResponseCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Reply = 'Reply'
7
+ FollowUp = 'FollowUp'
8
+ end
9
+ end
10
+ end
11
+
@@ -0,0 +1,21 @@
1
+ require 'ebay/types/feedback_period'
2
+
3
+ module Ebay
4
+ module Types
5
+ class FeedbackSummary
6
+ include XML::Mapping
7
+ include Initializer
8
+ root_element_name 'FeedbackSummary'
9
+ array_node :bid_retraction_feedback_periods, 'BidRetractionFeedbackPeriodArray', 'FeedbackPeriod', :class => FeedbackPeriod, :default_value => []
10
+ array_node :negative_feedback_periods, 'NegativeFeedbackPeriodArray', 'FeedbackPeriod', :class => FeedbackPeriod, :default_value => []
11
+ array_node :neutral_feedback_periods, 'NeutralFeedbackPeriodArray', 'FeedbackPeriod', :class => FeedbackPeriod, :default_value => []
12
+ array_node :positive_feedback_periods, 'PositiveFeedbackPeriodArray', 'FeedbackPeriod', :class => FeedbackPeriod, :default_value => []
13
+ array_node :total_feedback_periods, 'TotalFeedbackPeriodArray', 'FeedbackPeriod', :class => FeedbackPeriod, :default_value => []
14
+ numeric_node :neutral_comment_count_from_suspended_users, 'NeutralCommentCountFromSuspendedUsers', :optional => true
15
+ numeric_node :unique_negative_feedback_count, 'UniqueNegativeFeedbackCount', :optional => true
16
+ numeric_node :unique_positive_feedback_count, 'UniquePositiveFeedbackCount', :optional => true
17
+ end
18
+ end
19
+ end
20
+
21
+
@@ -0,0 +1,20 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class FinanceOffer
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'FinanceOffer'
8
+ text_node :finance_offer_id, 'FinanceOfferID', :optional => true
9
+ text_node :buyer_terms, 'BuyerTerms', :optional => true
10
+ text_node :seller_terms, 'SellerTerms', :optional => true
11
+ time_node :start_date, 'StartDate', :optional => true
12
+ time_node :last_modified_date, 'LastModifiedDate', :optional => true
13
+ money_node :minimum_amount, 'MinimumAmount', :optional => true
14
+ numeric_node :rate_factor, 'RateFactor'
15
+ numeric_node :priority, 'Priority'
16
+ end
17
+ end
18
+ end
19
+
20
+
@@ -0,0 +1,15 @@
1
+ module Ebay
2
+ module Types
3
+ class FlatRateInsuranceRangeCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ FlatRateInsuranceRange1 = 'FlatRateInsuranceRange1'
7
+ FlatRateInsuranceRange2 = 'FlatRateInsuranceRange2'
8
+ FlatRateInsuranceRange3 = 'FlatRateInsuranceRange3'
9
+ FlatRateInsuranceRange4 = 'FlatRateInsuranceRange4'
10
+ FlatRateInsuranceRange5 = 'FlatRateInsuranceRange5'
11
+ FlatRateInsuranceRange6 = 'FlatRateInsuranceRange6'
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,14 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class FlatRateInsuranceRangeCost
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'FlatRateInsuranceRangeCost'
8
+ text_node :flat_rate_insurance_range, 'FlatRateInsuranceRange', :optional => true
9
+ money_node :insurance_cost, 'InsuranceCost', :optional => true
10
+ end
11
+ end
12
+ end
13
+
14
+
@@ -0,0 +1,18 @@
1
+ require 'ebay/types/flat_rate_insurance_range_cost'
2
+
3
+ module Ebay
4
+ module Types
5
+ class FlatShippingPreferences
6
+ include XML::Mapping
7
+ include Initializer
8
+ root_element_name 'FlatShippingPreferences'
9
+ money_node :amount_per_additional_item, 'AmountPerAdditionalItem', :optional => true
10
+ money_node :deduction_amount_per_additional_item, 'DeductionAmountPerAdditionalItem', :optional => true
11
+ array_node :flat_rate_insurance_range_costs, 'FlatRateInsuranceRangeCost', :class => FlatRateInsuranceRangeCost, :default_value => []
12
+ text_node :flat_shipping_rate_option, 'FlatShippingRateOption', :optional => true
13
+ text_node :insurance_option, 'InsuranceOption', :optional => true
14
+ end
15
+ end
16
+ end
17
+
18
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class FlatShippingRateOptionCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ ChargeAmountForEachAdditionalItem = 'ChargeAmountForEachAdditionalItem'
7
+ DeductAmountFromEachAdditionalItem = 'DeductAmountFromEachAdditionalItem'
8
+ ShipAdditionalItemsFree = 'ShipAdditionalItemsFree'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class GallerySortFilterCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ ShowAnyItems = 'ShowAnyItems'
7
+ ShowItemsWithGalleryImagesFirst = 'ShowItemsWithGalleryImagesFirst'
8
+ ShowOnlyItemsWithGalleryImages = 'ShowOnlyItemsWithGalleryImages'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,13 @@
1
+ module Ebay
2
+ module Types
3
+ class GalleryTypeCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ None = 'None'
7
+ Featured = 'Featured'
8
+ Gallery = 'Gallery'
9
+ Plus = 'Plus'
10
+ end
11
+ end
12
+ end
13
+
@@ -0,0 +1,14 @@
1
+ module Ebay
2
+ module Types
3
+ class GeneralPaymentMethodCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Other = 'Other'
7
+ Echeck = 'Echeck'
8
+ ACH = 'ACH'
9
+ Creditcard = 'Creditcard'
10
+ PayPalBalance = 'PayPalBalance'
11
+ end
12
+ end
13
+ end
14
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class GetAllBiddersModeCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ ViewAll = 'ViewAll'
7
+ EndedListing = 'EndedListing'
8
+ SecondChanceEligibleEndedListing = 'SecondChanceEligibleEndedListing'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,23 @@
1
+ require 'ebay/types/item'
2
+ require 'ebay/types/external_product_id'
3
+ require 'ebay/types/modified_field'
4
+
5
+ module Ebay
6
+ module Types
7
+ class GetRecommendationsRequestContainer
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetRecommendationsRequestContainer'
11
+ text_node :listing_flow, 'ListingFlow', :optional => true
12
+ object_node :item, 'Item', :class => Item, :optional => true
13
+ object_node :external_product_id, 'ExternalProductID', :class => ExternalProductID, :optional => true
14
+ array_node :modified_fields, 'ModifiedFields', :class => ModifiedField, :default_value => []
15
+ value_array_node :recommendation_engines, 'RecommendationEngine', :default_value => []
16
+ text_node :query, 'Query', :optional => true
17
+ text_node :correlation_id, 'CorrelationID', :optional => true
18
+ text_node :deleted_field, 'DeletedField', :optional => true
19
+ end
20
+ end
21
+ end
22
+
23
+
@@ -0,0 +1,23 @@
1
+ require 'ebay/types/listing_analyzer_recommendations'
2
+ require 'ebay/types/sifftas_recommendations'
3
+ require 'ebay/types/pricing_recommendations'
4
+ require 'ebay/types/attribute_recommendations'
5
+ require 'ebay/types/product_info'
6
+
7
+ module Ebay
8
+ module Types
9
+ class GetRecommendationsResponseContainer
10
+ include XML::Mapping
11
+ include Initializer
12
+ root_element_name 'GetRecommendationsResponseContainer'
13
+ object_node :listing_analyzer_recommendations, 'ListingAnalyzerRecommendations', :class => ListingAnalyzerRecommendations, :optional => true
14
+ object_node :sifftas_recommendations, 'SIFFTASRecommendations', :class => SIFFTASRecommendations, :optional => true
15
+ object_node :pricing_recommendations, 'PricingRecommendations', :class => PricingRecommendations, :optional => true
16
+ object_node :attribute_recommendations, 'AttributeRecommendations', :class => AttributeRecommendations, :optional => true
17
+ array_node :product_recommendations, 'ProductRecommendations', 'Product', :class => ProductInfo, :default_value => []
18
+ text_node :correlation_id, 'CorrelationID', :optional => true
19
+ end
20
+ end
21
+ end
22
+
23
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class GiftServicesCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ GiftExpressShipping = 'GiftExpressShipping'
7
+ GiftShipToRecipient = 'GiftShipToRecipient'
8
+ GiftWrap = 'GiftWrap'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class GranularityLevelCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Coarse = 'Coarse'
7
+ Fine = 'Fine'
8
+ Medium = 'Medium'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,16 @@
1
+ module Ebay
2
+ module Types
3
+ class HitCounterCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ NoHitCounter = 'NoHitCounter'
7
+ HonestyStyle = 'HonestyStyle'
8
+ GreenLED = 'GreenLED'
9
+ Hidden = 'Hidden'
10
+ BasicStyle = 'BasicStyle'
11
+ RetroStyle = 'RetroStyle'
12
+ HiddenStyle = 'HiddenStyle'
13
+ end
14
+ end
15
+ end
16
+
@@ -0,0 +1,12 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class HomePageFeaturedEnabledDefinition
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'HomePageFeaturedEnabledDefinition'
8
+ end
9
+ end
10
+ end
11
+
12
+
@@ -0,0 +1,14 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class InsuranceDetails
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'InsuranceDetails'
8
+ money_node :insurance_fee, 'InsuranceFee', :optional => true
9
+ text_node :insurance_option, 'InsuranceOption', :optional => true
10
+ end
11
+ end
12
+ end
13
+
14
+
@@ -0,0 +1,14 @@
1
+ module Ebay
2
+ module Types
3
+ class InsuranceOptionCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Optional = 'Optional'
7
+ Required = 'Required'
8
+ NotOffered = 'NotOffered'
9
+ IncludedInShippingHandling = 'IncludedInShippingHandling'
10
+ NotOfferedOnSite = 'NotOfferedOnSite'
11
+ end
12
+ end
13
+ end
14
+
@@ -0,0 +1,14 @@
1
+ module Ebay
2
+ module Types
3
+ class InsuranceSelectedCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ NotOffered = 'NotOffered'
7
+ OfferedNotSelected = 'OfferedNotSelected'
8
+ OfferedSelected = 'OfferedSelected'
9
+ Required = 'Required'
10
+ IncludedInShippingHandling = 'IncludedInShippingHandling'
11
+ end
12
+ end
13
+ end
14
+
@@ -0,0 +1,18 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class InternationalShippingServiceOptions
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'InternationalShippingServiceOptions'
8
+ text_node :shipping_service, 'ShippingService', :optional => true
9
+ money_node :shipping_service_cost, 'ShippingServiceCost', :optional => true
10
+ money_node :shipping_service_additional_cost, 'ShippingServiceAdditionalCost', :optional => true
11
+ numeric_node :shipping_service_priority, 'ShippingServicePriority', :optional => true
12
+ text_node :ship_to_location, 'ShipToLocation', :optional => true
13
+ money_node :shipping_insurance_cost, 'ShippingInsuranceCost', :optional => true
14
+ end
15
+ end
16
+ end
17
+
18
+
@@ -0,0 +1,12 @@
1
+ module Ebay
2
+ module Types
3
+ class InvocationStatus
4
+ extend Enumerable
5
+ extend Enumeration
6
+ InProgress = 'InProgress'
7
+ Success = 'Success'
8
+ Failure = 'Failure'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,151 @@
1
+ require 'ebay/types/attribute_set'
2
+ require 'ebay/types/attribute'
3
+ require 'ebay/types/lookup_attribute'
4
+ require 'ebay/types/payment_details'
5
+ require 'ebay/types/bidding_details'
6
+ require 'ebay/types/charity'
7
+ require 'ebay/types/cross_promotions'
8
+ require 'ebay/types/distance'
9
+ require 'ebay/types/listing_details'
10
+ require 'ebay/types/listing_designer'
11
+ require 'ebay/types/category'
12
+ require 'ebay/types/product_listing_details'
13
+ require 'ebay/types/proximity_search_details'
14
+ require 'ebay/types/revise_status'
15
+ require 'ebay/types/site_hosted_picture'
16
+ require 'ebay/types/user'
17
+ require 'ebay/types/selling_status'
18
+ require 'ebay/types/shipping_details'
19
+ require 'ebay/types/storefront'
20
+ require 'ebay/types/vat_details'
21
+ require 'ebay/types/vendor_hosted_picture'
22
+ require 'ebay/types/buyer_requirements'
23
+ require 'ebay/types/best_offer_details'
24
+ require 'ebay/types/live_auction_details'
25
+ require 'ebay/types/search_details'
26
+ require 'ebay/types/external_product_id'
27
+ require 'ebay/types/picture_details'
28
+ require 'ebay/types/digital_delivery_details'
29
+ require 'ebay/types/listing_checkout_redirect_preference'
30
+ require 'ebay/types/express_details'
31
+ require 'ebay/types/address'
32
+
33
+ module Ebay
34
+ module Types
35
+ class Item
36
+ include XML::Mapping
37
+ include Initializer
38
+ root_element_name 'Item'
39
+ text_node :application_data, 'ApplicationData', :optional => true
40
+ array_node :attribute_sets, 'AttributeSetArray', 'AttributeSet', :class => AttributeSet, :default_value => []
41
+ array_node :attributes, 'AttributeArray', 'Attribute', :class => Attribute, :default_value => []
42
+ array_node :lookup_attributes, 'LookupAttributeArray', 'LookupAttribute', :class => LookupAttribute, :default_value => []
43
+ boolean_node :apply_shipping_discount, 'ApplyShippingDiscount', 'true', 'false', :optional => true
44
+ boolean_node :auto_pay, 'AutoPay', 'true', 'false', :optional => true
45
+ object_node :payment_details, 'PaymentDetails', :class => PaymentDetails, :optional => true
46
+ object_node :bidding_details, 'BiddingDetails', :class => BiddingDetails, :optional => true
47
+ boolean_node :motors_germany_searchable, 'MotorsGermanySearchable', 'true', 'false', :optional => true
48
+ text_node :buyer_protection, 'BuyerProtection', :optional => true
49
+ money_node :buy_it_now_price, 'BuyItNowPrice', :optional => true
50
+ boolean_node :category_mapping_allowed, 'CategoryMappingAllowed', 'true', 'false', :optional => true
51
+ object_node :charity, 'Charity', :class => Charity, :optional => true
52
+ text_node :country, 'Country', :optional => true
53
+ object_node :cross_promotion, 'CrossPromotion', :class => CrossPromotions, :optional => true
54
+ text_node :currency, 'Currency', :optional => true
55
+ cdata_node :description, 'Description', :optional => true
56
+ text_node :description_revise_mode, 'DescriptionReviseMode', :optional => true
57
+ object_node :distance, 'Distance', :class => Distance, :optional => true
58
+ text_node :finance_offer_id, 'FinanceOfferID', :optional => true
59
+ numeric_node :gift_icon, 'GiftIcon', :optional => true
60
+ value_array_node :gift_services, 'GiftServices', :default_value => []
61
+ text_node :hit_counter, 'HitCounter', :optional => true
62
+ text_node :item_id, 'ItemID', :optional => true
63
+ object_node :listing_details, 'ListingDetails', :class => ListingDetails, :optional => true
64
+ object_node :listing_designer, 'ListingDesigner', :class => ListingDesigner, :optional => true
65
+ text_node :listing_duration, 'ListingDuration', :optional => true
66
+ value_array_node :listing_enhancements, 'ListingEnhancement', :default_value => []
67
+ text_node :listing_type, 'ListingType', :optional => true
68
+ text_node :listing_subtype, 'ListingSubtype', :optional => true
69
+ text_node :location, 'Location', :optional => true
70
+ numeric_node :lot_size, 'LotSize', :optional => true
71
+ boolean_node :now_and_new, 'NowAndNew', 'true', 'false', :optional => true
72
+ text_node :partner_code, 'PartnerCode', :optional => true
73
+ text_node :partner_name, 'PartnerName', :optional => true
74
+ value_array_node :payment_methods, 'PaymentMethods', :default_value => []
75
+ text_node :paypal_email_address, 'PayPalEmailAddress', :optional => true
76
+ object_node :primary_category, 'PrimaryCategory', :class => Category, :optional => true
77
+ boolean_node :private_listing, 'PrivateListing', 'true', 'false', :optional => true
78
+ object_node :product_listing_details, 'ProductListingDetails', :class => ProductListingDetails, :optional => true
79
+ object_node :proximity_search_details, 'ProximitySearchDetails', :class => ProximitySearchDetails, :optional => true
80
+ numeric_node :quantity, 'Quantity', :optional => true
81
+ text_node :private_notes, 'PrivateNotes', :optional => true
82
+ text_node :region_id, 'RegionID', :optional => true
83
+ boolean_node :relist_link, 'RelistLink', 'true', 'false', :optional => true
84
+ money_node :reserve_price, 'ReservePrice', :optional => true
85
+ object_node :revise_status, 'ReviseStatus', :class => ReviseStatus, :optional => true
86
+ time_node :schedule_time, 'ScheduleTime', :optional => true
87
+ object_node :secondary_category, 'SecondaryCategory', :class => Category, :optional => true
88
+ object_node :free_added_category, 'FreeAddedCategory', :class => Category, :optional => true
89
+ object_node :site_hosted_picture, 'SiteHostedPicture', :class => SiteHostedPicture, :optional => true
90
+ object_node :seller, 'Seller', :class => User, :optional => true
91
+ object_node :selling_status, 'SellingStatus', :class => SellingStatus, :optional => true
92
+ text_node :shipping_option, 'ShippingOption', :optional => true
93
+ object_node :shipping_details, 'ShippingDetails', :class => ShippingDetails, :optional => true
94
+ value_array_node :shipping_regions, 'ShippingRegions', :default_value => []
95
+ text_node :shipping_terms, 'ShippingTerms', :optional => true
96
+ text_node :ship_to_locations, 'ShipToLocations', :optional => true
97
+ text_node :site, 'Site', :optional => true
98
+ money_node :start_price, 'StartPrice', :optional => true
99
+ object_node :storefront, 'Storefront', :class => Storefront, :optional => true
100
+ text_node :sub_title, 'SubTitle', :optional => true
101
+ text_node :time_left, 'TimeLeft', :optional => true
102
+ text_node :title, 'Title', :optional => true
103
+ text_node :uuid, 'UUID', :optional => true
104
+ object_node :vat_details, 'VATDetails', :class => VATDetails, :optional => true
105
+ object_node :vendor_hosted_picture, 'VendorHostedPicture', :class => VendorHostedPicture, :optional => true
106
+ text_node :seller_vacation_note, 'SellerVacationNote', :optional => true
107
+ numeric_node :watch_count, 'WatchCount', :optional => true
108
+ numeric_node :hit_count, 'HitCount', :optional => true
109
+ boolean_node :disable_buyer_requirements, 'DisableBuyerRequirements', 'true', 'false', :optional => true
110
+ object_node :buyer_requirements, 'BuyerRequirements', :class => BuyerRequirements, :optional => true
111
+ object_node :best_offer_details, 'BestOfferDetails', :class => BestOfferDetails, :optional => true
112
+ boolean_node :anything_points, 'AnythingPoints', 'true', 'false', :optional => true
113
+ object_node :live_auction_details, 'LiveAuctionDetails', :class => LiveAuctionDetails, :optional => true
114
+ boolean_node :location_defaulted, 'LocationDefaulted', 'true', 'false', :optional => true
115
+ boolean_node :third_party_checkout, 'ThirdPartyCheckout', 'true', 'false', :optional => true
116
+ boolean_node :use_tax_table, 'UseTaxTable', 'true', 'false', :optional => true
117
+ boolean_node :get_it_fast, 'GetItFast', 'true', 'false', :optional => true
118
+ boolean_node :buyer_responsible_for_shipping, 'BuyerResponsibleForShipping', 'true', 'false', :optional => true
119
+ boolean_node :limited_warranty_eligible, 'LimitedWarrantyEligible', 'true', 'false', :optional => true
120
+ text_node :ebay_notes, 'eBayNotes', :optional => true
121
+ numeric_node :question_count, 'QuestionCount', :optional => true
122
+ boolean_node :relisted, 'Relisted', 'true', 'false', :optional => true
123
+ numeric_node :quantity_available, 'QuantityAvailable', :optional => true
124
+ text_node :sku, 'SKU', :optional => true
125
+ boolean_node :category_based_attributes_prefill, 'CategoryBasedAttributesPrefill', 'true', 'false', :optional => true
126
+ object_node :search_details, 'SearchDetails', :class => SearchDetails, :optional => true
127
+ text_node :postal_code, 'PostalCode', :optional => true
128
+ boolean_node :shipping_terms_in_description, 'ShippingTermsInDescription', 'true', 'false', :optional => true
129
+ object_node :external_product_id, 'ExternalProductID', :class => ExternalProductID, :optional => true
130
+ text_node :seller_inventory_id, 'SellerInventoryID', :optional => true
131
+ object_node :picture_details, 'PictureDetails', :class => PictureDetails, :optional => true
132
+ object_node :digital_delivery_details, 'DigitalDeliveryDetails', :class => DigitalDeliveryDetails, :optional => true
133
+ numeric_node :dispatch_time_max, 'DispatchTimeMax', :optional => true
134
+ boolean_node :skype_enabled, 'SkypeEnabled', 'true', 'false', :optional => true
135
+ text_node :skype_id, 'SkypeID', :optional => true
136
+ value_array_node :skype_options, 'SkypeOption', :default_value => []
137
+ value_array_node :skype_contact_options, 'SkypeContactOption', :default_value => []
138
+ boolean_node :best_offer_enabled, 'BestOfferEnabled', 'true', 'false', :optional => true
139
+ boolean_node :local_listing, 'LocalListing', 'true', 'false', :optional => true
140
+ boolean_node :third_party_checkout_integration, 'ThirdPartyCheckoutIntegration', 'true', 'false', :optional => true
141
+ boolean_node :express_opt_out, 'ExpressOptOut', 'true', 'false', :optional => true
142
+ object_node :listing_checkout_redirect_preference, 'ListingCheckoutRedirectPreference', :class => ListingCheckoutRedirectPreference, :optional => true
143
+ object_node :express_details, 'ExpressDetails', :class => ExpressDetails, :optional => true
144
+ object_node :seller_contact_details, 'SellerContactDetails', :class => Address, :optional => true
145
+ numeric_node :total_question_count, 'TotalQuestionCount', :optional => true
146
+ boolean_node :proxy_item, 'ProxyItem', 'true', 'false', :optional => true
147
+ end
148
+ end
149
+ end
150
+
151
+
@@ -0,0 +1,17 @@
1
+
2
+ module Ebay
3
+ module Types
4
+ class ItemBidDetails
5
+ include XML::Mapping
6
+ include Initializer
7
+ root_element_name 'ItemBidDetails'
8
+ text_node :item_id, 'ItemID', :optional => true
9
+ text_node :category_id, 'CategoryID', :optional => true
10
+ numeric_node :bid_count, 'BidCount', :optional => true
11
+ text_node :seller_id, 'SellerID', :optional => true
12
+ time_node :last_bid_time, 'LastBidTime', :optional => true
13
+ end
14
+ end
15
+ end
16
+
17
+
@@ -0,0 +1,13 @@
1
+ module Ebay
2
+ module Types
3
+ class ItemFormatSortFilterCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ ShowAnyItems = 'ShowAnyItems'
7
+ ShowItemsWithBINFirst = 'ShowItemsWithBINFirst'
8
+ ShowOnlyItemsWithBIN = 'ShowOnlyItemsWithBIN'
9
+ ShowOnlyStoreItems = 'ShowOnlyStoreItems'
10
+ end
11
+ end
12
+ end
13
+
@@ -0,0 +1,19 @@
1
+ require 'ebay/types/pagination'
2
+
3
+ module Ebay
4
+ module Types
5
+ class ItemListCustomization
6
+ include XML::Mapping
7
+ include Initializer
8
+ root_element_name 'ItemListCustomization'
9
+ boolean_node :include, 'Include', 'true', 'false', :optional => true
10
+ text_node :listing_type, 'ListingType', :optional => true
11
+ text_node :sort, 'Sort', :optional => true
12
+ numeric_node :duration_in_days, 'DurationInDays', :optional => true
13
+ boolean_node :include_notes, 'IncludeNotes', 'true', 'false', :optional => true
14
+ object_node :pagination, 'Pagination', :class => Pagination, :optional => true
15
+ end
16
+ end
17
+ end
18
+
19
+
@@ -0,0 +1,11 @@
1
+ module Ebay
2
+ module Types
3
+ class ItemLocationCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ ItemAvailableIn = 'ItemAvailableIn'
7
+ ItemLocatedIn = 'ItemLocatedIn'
8
+ end
9
+ end
10
+ end
11
+
@@ -0,0 +1,15 @@
1
+ module Ebay
2
+ module Types
3
+ class ItemSortFilterCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ EndingLast = 'EndingLast'
7
+ EndingSoonest = 'EndingSoonest'
8
+ HighestPrice = 'HighestPrice'
9
+ LowestPrice = 'LowestPrice'
10
+ NewlyListed = 'NewlyListed'
11
+ RandomlySelected = 'RandomlySelected'
12
+ end
13
+ end
14
+ end
15
+