ebayapi 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. data/CHANGELOG +42 -29
  2. data/MIT-LICENSE +1 -1
  3. data/README +1 -1
  4. data/Rakefile +4 -3
  5. data/examples/add_item.rb +46 -11
  6. data/examples/config.rb +6 -0
  7. data/examples/end_item.rb +0 -0
  8. data/examples/get_api_usage.rb +0 -0
  9. data/examples/get_attributes_xsl.rb +0 -0
  10. data/examples/get_ebay_details.rb +0 -0
  11. data/examples/get_ebay_time.rb +0 -0
  12. data/examples/get_ebay_time_raw.rb +0 -0
  13. data/examples/get_item.rb +0 -0
  14. data/examples/get_item_transactions.rb +0 -0
  15. data/examples/get_items_selling.rb +0 -0
  16. data/examples/get_my_messages.rb +0 -0
  17. data/examples/get_my_messages_folders.rb +0 -0
  18. data/examples/get_notification_preferences.rb +0 -0
  19. data/examples/get_notifications_usage.rb +0 -0
  20. data/examples/get_product_finder_xsl.rb +0 -0
  21. data/examples/get_search_results.rb +0 -0
  22. data/examples/get_user.rb +0 -0
  23. data/examples/mark_my_messages_message_as_read.rb +0 -0
  24. data/examples/revise_item.rb +0 -0
  25. data/examples/set_notification_preferences.rb +0 -0
  26. data/examples/verify_add_item.rb +0 -0
  27. data/lib/ebay/api.rb +5 -1
  28. data/lib/ebay/api_methods.rb +279 -79
  29. data/lib/ebay/request/base.rb +3 -3
  30. data/lib/ebay/request/connection.rb +4 -7
  31. data/lib/ebay/requests.rb +36 -11
  32. data/lib/ebay/requests/abstract.rb +2 -0
  33. data/lib/ebay/requests/add_item_from_selling_manager_template.rb +20 -0
  34. data/lib/ebay/requests/add_items.rb +16 -0
  35. data/lib/ebay/requests/add_selling_manager_inventory_folder.rb +19 -0
  36. data/lib/ebay/requests/add_selling_manager_product.rb +18 -0
  37. data/lib/ebay/requests/add_selling_manager_template.rb +20 -0
  38. data/lib/ebay/requests/complete_sale.rb +5 -0
  39. data/lib/ebay/requests/confirm_identity.rb +15 -0
  40. data/lib/ebay/requests/delete_selling_manager_inventory_folder.rb +15 -0
  41. data/lib/ebay/requests/delete_selling_manager_item_automation_rule.rb +19 -0
  42. data/lib/ebay/requests/delete_selling_manager_product.rb +15 -0
  43. data/lib/ebay/requests/delete_selling_manager_template.rb +15 -0
  44. data/lib/ebay/requests/delete_selling_manager_template_automation_rule.rb +21 -0
  45. data/lib/ebay/requests/end_items.rb +16 -0
  46. data/lib/ebay/requests/fetch_token.rb +2 -0
  47. data/lib/ebay/requests/get_account.rb +2 -0
  48. data/lib/ebay/requests/get_ad_format_leads.rb +4 -0
  49. data/lib/ebay/requests/get_attributes_cs.rb +0 -2
  50. data/lib/ebay/requests/get_category_listings.rb +2 -0
  51. data/lib/ebay/requests/get_charities.rb +2 -0
  52. data/lib/ebay/requests/{get_live_auction_catalog_details.rb → get_client_alerts_auth_token.rb} +2 -2
  53. data/lib/ebay/requests/get_feedback.rb +10 -2
  54. data/lib/ebay/requests/get_item.rb +4 -2
  55. data/lib/ebay/requests/get_item_transactions.rb +2 -0
  56. data/lib/ebay/requests/get_my_ebay_buying.rb +6 -0
  57. data/lib/ebay/requests/get_my_ebay_selling.rb +8 -0
  58. data/lib/ebay/requests/get_my_messages.rb +2 -0
  59. data/lib/ebay/requests/get_order_transactions.rb +2 -0
  60. data/lib/ebay/requests/get_products.rb +2 -0
  61. data/lib/ebay/requests/get_search_results.rb +2 -2
  62. data/lib/ebay/requests/get_seller_dashboard.rb +13 -0
  63. data/lib/ebay/requests/get_seller_list.rb +4 -0
  64. data/lib/ebay/requests/get_seller_transactions.rb +4 -0
  65. data/lib/ebay/requests/get_selling_manager_alerts.rb +13 -0
  66. data/lib/ebay/requests/get_selling_manager_email_log.rb +22 -0
  67. data/lib/ebay/requests/get_selling_manager_inventory.rb +29 -0
  68. data/lib/ebay/requests/get_selling_manager_inventory_folder.rb +19 -0
  69. data/lib/ebay/requests/get_selling_manager_item_automation_rule.rb +15 -0
  70. data/lib/ebay/requests/get_selling_manager_sale_record.rb +19 -0
  71. data/lib/ebay/requests/get_selling_manager_sold_listings.rb +32 -0
  72. data/lib/ebay/requests/get_selling_manager_template_automation_rule.rb +15 -0
  73. data/lib/ebay/requests/get_selling_manager_templates.rb +15 -0
  74. data/lib/ebay/{responses/get_ru_name.rb → requests/get_session_id.rb} +3 -3
  75. data/lib/ebay/requests/{get_return_url.rb → get_token_status.rb} +2 -2
  76. data/lib/ebay/requests/get_user_preferences.rb +2 -0
  77. data/lib/ebay/requests/move_selling_manager_inventory_folder.rb +17 -0
  78. data/lib/ebay/requests/revise_checkout_status.rb +2 -0
  79. data/lib/ebay/requests/revise_inventory_status.rb +16 -0
  80. data/lib/ebay/requests/revise_selling_manager_inventory_folder.rb +16 -0
  81. data/lib/ebay/requests/revise_selling_manager_product.rb +21 -0
  82. data/lib/ebay/requests/revise_selling_manager_sale_record.rb +22 -0
  83. data/lib/ebay/requests/revise_selling_manager_template.rb +26 -0
  84. data/lib/ebay/requests/revoke_token.rb +15 -0
  85. data/lib/ebay/requests/save_item_to_selling_manager_template.rb +19 -0
  86. data/lib/ebay/requests/send_invoice.rb +4 -0
  87. data/lib/ebay/requests/set_notification_preferences.rb +2 -0
  88. data/lib/ebay/requests/set_promotional_sale_listings.rb +2 -0
  89. data/lib/ebay/requests/set_selling_manager_feedback_options.rb +18 -0
  90. data/lib/ebay/requests/set_selling_manager_item_automation_rule.rb +21 -0
  91. data/lib/ebay/requests/set_selling_manager_template_automation_rule.rb +24 -0
  92. data/lib/ebay/requests/set_user_notes.rb +2 -0
  93. data/lib/ebay/requests/set_user_preferences.rb +2 -3
  94. data/lib/ebay/requests/upload_site_hosted_pictures.rb +4 -0
  95. data/lib/ebay/responses.rb +36 -11
  96. data/lib/ebay/responses/abstract.rb +2 -0
  97. data/lib/ebay/responses/{add_live_auction_item.rb → add_item_from_selling_manager_template.rb} +6 -2
  98. data/lib/ebay/responses/add_items.rb +16 -0
  99. data/lib/ebay/responses/add_selling_manager_inventory_folder.rb +15 -0
  100. data/lib/ebay/responses/add_selling_manager_product.rb +16 -0
  101. data/lib/ebay/responses/add_selling_manager_template.rb +29 -0
  102. data/lib/ebay/responses/confirm_identity.rb +15 -0
  103. data/lib/ebay/responses/delete_selling_manager_inventory_folder.rb +13 -0
  104. data/lib/ebay/responses/delete_selling_manager_item_automation_rule.rb +25 -0
  105. data/lib/ebay/responses/delete_selling_manager_product.rb +16 -0
  106. data/lib/ebay/responses/delete_selling_manager_template.rb +17 -0
  107. data/lib/ebay/responses/delete_selling_manager_template_automation_rule.rb +25 -0
  108. data/lib/ebay/responses/end_items.rb +16 -0
  109. data/lib/ebay/responses/get_category_listings.rb +2 -0
  110. data/lib/ebay/responses/get_client_alerts_auth_token.rb +17 -0
  111. data/lib/ebay/responses/get_ebay_details.rb +15 -0
  112. data/lib/ebay/responses/get_feedback.rb +7 -0
  113. data/lib/ebay/responses/get_my_ebay_buying.rb +4 -0
  114. data/lib/ebay/responses/get_my_ebay_selling.rb +6 -0
  115. data/lib/ebay/responses/get_notification_preferences.rb +2 -0
  116. data/lib/ebay/responses/get_products.rb +2 -0
  117. data/lib/ebay/responses/get_search_results.rb +2 -0
  118. data/lib/ebay/responses/get_seller_dashboard.rb +31 -0
  119. data/lib/ebay/responses/get_selling_manager_alerts.rb +16 -0
  120. data/lib/ebay/responses/get_selling_manager_email_log.rb +16 -0
  121. data/lib/ebay/responses/get_selling_manager_inventory.rb +21 -0
  122. data/lib/ebay/responses/get_selling_manager_inventory_folder.rb +16 -0
  123. data/lib/ebay/responses/get_selling_manager_item_automation_rule.rb +25 -0
  124. data/lib/ebay/responses/get_selling_manager_sale_record.rb +16 -0
  125. data/lib/ebay/responses/get_selling_manager_sold_listings.rb +19 -0
  126. data/lib/ebay/responses/get_selling_manager_template_automation_rule.rb +25 -0
  127. data/lib/ebay/responses/get_selling_manager_templates.rb +16 -0
  128. data/lib/ebay/responses/get_session_id.rb +15 -0
  129. data/lib/ebay/responses/get_token_status.rb +16 -0
  130. data/lib/ebay/responses/get_user_preferences.rb +2 -3
  131. data/lib/ebay/responses/items_canceled_event.rb +19 -0
  132. data/lib/ebay/responses/move_selling_manager_inventory_folder.rb +13 -0
  133. data/lib/ebay/responses/place_offer.rb +5 -0
  134. data/lib/ebay/responses/revise_inventory_status.rb +16 -0
  135. data/lib/ebay/responses/revise_selling_manager_inventory_folder.rb +16 -0
  136. data/lib/ebay/responses/revise_selling_manager_product.rb +16 -0
  137. data/lib/ebay/responses/revise_selling_manager_sale_record.rb +13 -0
  138. data/lib/ebay/responses/revise_selling_manager_template.rb +29 -0
  139. data/lib/ebay/responses/{set_return_url.rb → revoke_token.rb} +2 -2
  140. data/lib/ebay/responses/save_item_to_selling_manager_template.rb +15 -0
  141. data/lib/ebay/responses/set_selling_manager_feedback_options.rb +13 -0
  142. data/lib/ebay/responses/set_selling_manager_item_automation_rule.rb +25 -0
  143. data/lib/ebay/responses/set_selling_manager_template_automation_rule.rb +25 -0
  144. data/lib/ebay/schema/ebaySvc.xsd +110905 -0
  145. data/lib/ebay/schema/version.rb +1 -1
  146. data/lib/ebay/types.rb +51 -9
  147. data/lib/ebay/types/account_detail_entry_code.rb +8 -0
  148. data/lib/ebay/types/ad_format_lead.rb +16 -8
  149. data/lib/ebay/{requests/add_live_auction_item.rb → types/add_item_request_container.rb} +5 -3
  150. data/lib/ebay/types/add_item_response_container.rb +33 -0
  151. data/lib/ebay/types/address.rb +6 -0
  152. data/lib/ebay/types/announcement_message.rb +19 -0
  153. data/lib/ebay/types/announcement_message_code.rb +13 -0
  154. data/lib/ebay/types/application_delivery_preferences.rb +5 -0
  155. data/lib/ebay/types/automated_leave_feedback_event_code.rb +12 -0
  156. data/lib/ebay/types/average_rating_summary.rb +18 -0
  157. data/lib/ebay/types/best_offer_auto_accept_enabled_definition.rb +13 -0
  158. data/lib/ebay/types/bid_action_code.rb +4 -0
  159. data/lib/ebay/types/bid_approval_array.rb +0 -3
  160. data/lib/ebay/types/bidder_detail.rb +2 -3
  161. data/lib/ebay/types/business_seller_details.rb +31 -0
  162. data/lib/ebay/types/{digital_delivery_enabled_definition.rb → buyer_guarantee_enabled_definition.rb} +2 -2
  163. data/lib/ebay/types/buyer_payment_method_code.rb +7 -0
  164. data/lib/ebay/types/buyer_protection_code.rb +1 -0
  165. data/lib/ebay/types/{buyer_requirements.rb → buyer_requirement_details.rb} +8 -4
  166. data/lib/ebay/types/buyer_role_metrics.rb +21 -0
  167. data/lib/ebay/types/buyer_satisfaction_dashboard.rb +18 -0
  168. data/lib/ebay/types/buyer_satisfaction_status_code.rb +15 -0
  169. data/lib/ebay/types/calculated_shipping_rate.rb +2 -0
  170. data/lib/ebay/types/catalog_product.rb +2 -0
  171. data/lib/ebay/types/category_feature.rb +122 -2
  172. data/lib/ebay/types/charity_affiliation_detail.rb +19 -0
  173. data/lib/ebay/types/charity_info.rb +6 -0
  174. data/lib/ebay/types/charity_seller.rb +2 -0
  175. data/lib/ebay/types/charity_seller_status_code.rb +2 -0
  176. data/lib/ebay/types/checkout_status.rb +2 -0
  177. data/lib/ebay/types/classified_ad_auto_accept_enabled_definition.rb +13 -0
  178. data/lib/ebay/types/classified_ad_company_name_enabled_definition.rb +13 -0
  179. data/lib/ebay/types/classified_ad_contact_by_address_enabled_definition.rb +13 -0
  180. data/lib/ebay/types/classified_ad_phone_count_definition.rb +13 -0
  181. data/lib/ebay/types/classified_ad_street_count_definition.rb +13 -0
  182. data/lib/ebay/types/combined_fixed_price_treatment_enabled_definition.rb +13 -0
  183. data/lib/ebay/types/cost_group_flat_code.rb +12 -0
  184. data/lib/ebay/types/country_code.rb +2 -0
  185. data/lib/ebay/types/cross_border_trade_australia_enabled_definition.rb +13 -0
  186. data/lib/ebay/types/cross_border_trade_gb_enabled_definition.rb +13 -0
  187. data/lib/ebay/types/cross_border_trade_north_america_enabled_definition.rb +13 -0
  188. data/lib/ebay/types/day_of_week_code.rb +16 -0
  189. data/lib/ebay/types/delivery_url_detail.rb +19 -0
  190. data/lib/ebay/types/detail_name_code.rb +5 -0
  191. data/lib/ebay/types/device_type_code.rb +1 -0
  192. data/lib/ebay/types/dispute_record_type_code.rb +1 -0
  193. data/lib/ebay/types/ebay_motors_pro_ad_format_enabled_definition.rb +13 -0
  194. data/lib/ebay/types/ebay_motors_pro_auto_accept_enabled_definition.rb +13 -0
  195. data/lib/ebay/types/ebay_motors_pro_auto_decline_enabled_definition.rb +13 -0
  196. data/lib/ebay/types/ebay_motors_pro_best_offer_enabled_definition.rb +13 -0
  197. data/lib/ebay/types/ebay_motors_pro_company_name_enabled_definition.rb +13 -0
  198. data/lib/ebay/types/ebay_motors_pro_contact_by_address_enabled_definition.rb +13 -0
  199. data/lib/ebay/types/ebay_motors_pro_contact_by_email_enabled_definition.rb +13 -0
  200. data/lib/ebay/types/ebay_motors_pro_contact_by_phone_enabled_definition.rb +13 -0
  201. data/lib/ebay/types/ebay_motors_pro_counter_offer_enabled_definition.rb +13 -0
  202. data/lib/ebay/types/ebay_motors_pro_payment_method_check_out_enabled_definition.rb +13 -0
  203. data/lib/ebay/types/ebay_motors_pro_phone_count_definition.rb +13 -0
  204. data/lib/ebay/types/ebay_motors_pro_seller_contact_details_enabled_definition.rb +13 -0
  205. data/lib/ebay/types/ebay_motors_pro_shipping_method_enabled_definition.rb +13 -0
  206. data/lib/ebay/types/ebay_motors_pro_street_count_definition.rb +13 -0
  207. data/lib/ebay/types/end_item_request_container.rb +19 -0
  208. data/lib/ebay/types/end_item_response_container.rb +20 -0
  209. data/lib/ebay/types/express_item_requirements.rb +0 -2
  210. data/lib/ebay/types/express_product.rb +4 -0
  211. data/lib/ebay/types/feature_definitions.rb +183 -3
  212. data/lib/ebay/types/feature_id_code.rb +54 -0
  213. data/lib/ebay/types/fee.rb +4 -0
  214. data/lib/ebay/types/feedback_comment_array.rb +15 -0
  215. data/lib/ebay/types/feedback_detail.rb +2 -0
  216. data/lib/ebay/types/feedback_summary.rb +11 -3
  217. data/lib/ebay/types/feedback_summary_period_code.rb +11 -0
  218. data/lib/ebay/types/feedback_type_code.rb +13 -0
  219. data/lib/ebay/types/geographic_exposure_code.rb +12 -0
  220. data/lib/ebay/types/group1_max_flat_shipping_cost_definition.rb +13 -0
  221. data/lib/ebay/types/group2_max_flat_shipping_cost_definition.rb +13 -0
  222. data/lib/ebay/types/group3_max_flat_shipping_cost_definition.rb +13 -0
  223. data/lib/ebay/types/handling_time_enabled_definition.rb +13 -0
  224. data/lib/ebay/types/in_escrow_workflow_timeline_code.rb +12 -0
  225. data/lib/ebay/types/in_escrow_workflow_timeline_definition.rb +13 -0
  226. data/lib/ebay/types/integrated_merchant_credit_card_info.rb +15 -0
  227. data/lib/ebay/types/inventory_status.rb +21 -0
  228. data/lib/ebay/types/{express_detail_level_code.rb → inventory_tracking_method_code.rb} +3 -4
  229. data/lib/ebay/types/item.rb +30 -18
  230. data/lib/ebay/types/item_policy_violation.rb +17 -0
  231. data/lib/ebay/types/item_transaction_id.rb +2 -0
  232. data/lib/ebay/types/item_type_code.rb +19 -0
  233. data/lib/ebay/types/listing_details.rb +2 -5
  234. data/lib/ebay/types/listing_enhancement_duration_code.rb +60 -0
  235. data/lib/ebay/types/listing_enhancement_duration_definition.rb +13 -0
  236. data/lib/ebay/types/listing_enhancement_duration_reference.rb +15 -0
  237. data/lib/ebay/types/listing_start_price_details.rb +19 -0
  238. data/lib/ebay/types/{listing_subtype_enum.rb → listing_subtype_code.rb} +2 -1
  239. data/lib/ebay/types/listing_type_code.rb +1 -0
  240. data/lib/ebay/types/local_market_ad_format_enabled_definition.rb +13 -0
  241. data/lib/ebay/types/local_market_auto_accept_enabled_definition.rb +13 -0
  242. data/lib/ebay/types/local_market_auto_decline_enabled_definition.rb +13 -0
  243. data/lib/ebay/types/local_market_best_offer_enabled_definition.rb +13 -0
  244. data/lib/ebay/types/local_market_company_name_enabled_definition.rb +13 -0
  245. data/lib/ebay/types/local_market_contact_by_address_enabled_definition.rb +13 -0
  246. data/lib/ebay/types/local_market_contact_by_email_enabled_definition.rb +13 -0
  247. data/lib/ebay/types/local_market_contact_by_phone_enabled_definition.rb +13 -0
  248. data/lib/ebay/types/local_market_counter_offer_enabled_definition.rb +13 -0
  249. data/lib/ebay/types/local_market_payment_method_check_out_enabled_definition.rb +13 -0
  250. data/lib/ebay/types/local_market_phone_count_definition.rb +13 -0
  251. data/lib/ebay/types/local_market_seller_contact_details_enabled_definition.rb +13 -0
  252. data/lib/ebay/types/local_market_shipping_method_enabled_definition.rb +13 -0
  253. data/lib/ebay/types/local_market_street_count_definition.rb +13 -0
  254. data/lib/ebay/types/max_flat_shipping_cost_cbt_exempt_definition.rb +13 -0
  255. data/lib/ebay/types/max_flat_shipping_cost_definition.rb +13 -0
  256. data/lib/ebay/types/maximum_buyer_policy_violations.rb +17 -0
  257. data/lib/ebay/types/maximum_unpaid_item_strikes_info.rb +17 -0
  258. data/lib/ebay/types/my_ebay_favorite_search.rb +50 -0
  259. data/lib/ebay/types/my_messages_external_message_id_array.rb +15 -0
  260. data/lib/ebay/types/my_messages_message.rb +8 -0
  261. data/lib/ebay/types/non_subscription_definition.rb +13 -0
  262. data/lib/ebay/types/notification_details.rb +2 -0
  263. data/lib/ebay/types/notification_event_type_code.rb +20 -0
  264. data/lib/ebay/types/notification_user_data.rb +2 -0
  265. data/lib/ebay/types/offer.rb +4 -0
  266. data/lib/ebay/types/order.rb +6 -2
  267. data/lib/ebay/types/paid_status_code.rb +6 -0
  268. data/lib/ebay/types/paisa_pay_full_escrow_enabled_definition.rb +13 -0
  269. data/lib/ebay/types/payment_hold_status_code.rb +13 -0
  270. data/lib/ebay/types/payment_method_definition.rb +13 -0
  271. data/lib/ebay/types/payment_method_search_code.rb +1 -0
  272. data/lib/ebay/types/paypal_buyer_protection_enabled_definition.rb +13 -0
  273. data/lib/ebay/types/paypal_required_definition.rb +13 -0
  274. data/lib/ebay/types/paypal_required_for_store_owner_definition.rb +13 -0
  275. data/lib/ebay/types/period_code.rb +14 -0
  276. data/lib/ebay/types/picture_details.rb +2 -0
  277. data/lib/ebay/types/picture_upload_policy_code.rb +11 -0
  278. data/lib/ebay/types/policy_compliance_dashboard.rb +18 -0
  279. data/lib/ebay/types/policy_compliance_status_code.rb +13 -0
  280. data/lib/ebay/types/power_seller_dashboard.rb +18 -0
  281. data/lib/ebay/types/preferred_location_code.rb +14 -0
  282. data/lib/ebay/types/premium_subscription_definition.rb +13 -0
  283. data/lib/ebay/types/product_info.rb +2 -0
  284. data/lib/ebay/types/product_state_code.rb +14 -0
  285. data/lib/ebay/types/promotional_sale.rb +2 -0
  286. data/lib/ebay/types/promotional_sale_type_code.rb +12 -0
  287. data/lib/ebay/types/question_type_code.rb +1 -0
  288. data/lib/ebay/types/refund_details.rb +17 -0
  289. data/lib/ebay/types/refund_options_code.rb +12 -0
  290. data/lib/ebay/types/region_of_origin_details.rb +19 -0
  291. data/lib/ebay/types/regular_subscription_definition.rb +13 -0
  292. data/lib/ebay/types/reminders.rb +20 -0
  293. data/lib/ebay/types/return_policy.rb +45 -0
  294. data/lib/ebay/types/return_policy_details.rb +38 -0
  295. data/lib/ebay/types/return_policy_enabled_definition.rb +13 -0
  296. data/lib/ebay/types/returns_accepted_details.rb +17 -0
  297. data/lib/ebay/types/returns_accepted_options_code.rb +11 -0
  298. data/lib/ebay/types/returns_within_details.rb +17 -0
  299. data/lib/ebay/types/returns_within_options_code.rb +15 -0
  300. data/lib/ebay/types/revise_price_allowed_definition.rb +13 -0
  301. data/lib/ebay/types/revise_quantity_allowed_definition.rb +13 -0
  302. data/lib/ebay/types/search_flag_code.rb +20 -0
  303. data/lib/ebay/types/{live_auction_approval_status.rb → search_standing_dashboard.rb} +2 -4
  304. data/lib/ebay/types/search_standing_status_code.rb +12 -0
  305. data/lib/ebay/types/seller.rb +12 -9
  306. data/lib/ebay/types/seller_account_dashboard.rb +18 -0
  307. data/lib/ebay/types/seller_account_status_code.rb +12 -0
  308. data/lib/ebay/types/seller_dashboard_alert.rb +17 -0
  309. data/lib/ebay/types/seller_dashboard_alert_severity_code.rb +12 -0
  310. data/lib/ebay/types/seller_fee_discount_dashboard.rb +15 -0
  311. data/lib/ebay/types/seller_payment_method_code.rb +1 -0
  312. data/lib/ebay/types/seller_role_metrics.rb +33 -0
  313. data/lib/ebay/types/selling_manager_alert.rb +29 -0
  314. data/lib/ebay/types/selling_manager_alert_type_code.rb +14 -0
  315. data/lib/ebay/types/selling_manager_auto_list.rb +21 -0
  316. data/lib/ebay/types/selling_manager_auto_list_according_to_schedule.rb +27 -0
  317. data/lib/ebay/types/selling_manager_auto_list_min_active_items.rb +23 -0
  318. data/lib/ebay/types/selling_manager_auto_relist.rb +36 -0
  319. data/lib/ebay/types/selling_manager_auto_relist_option_code.rb +12 -0
  320. data/lib/ebay/types/selling_manager_auto_relist_type_code.rb +12 -0
  321. data/lib/ebay/types/selling_manager_auto_second_chance_offer.rb +23 -0
  322. data/lib/ebay/types/selling_manager_auto_second_chance_offer_type_code.rb +12 -0
  323. data/lib/ebay/types/selling_manager_automation_property_type_code.rb +12 -0
  324. data/lib/ebay/types/selling_manager_email_log.rb +21 -0
  325. data/lib/ebay/types/selling_manager_email_sent_status_code.rb +12 -0
  326. data/lib/ebay/types/selling_manager_email_type_code.rb +38 -0
  327. data/lib/ebay/types/selling_manager_folder_details.rb +28 -0
  328. data/lib/ebay/types/selling_manager_general_property_type_code.rb +12 -0
  329. data/lib/ebay/types/selling_manager_inventory_property_type_code.rb +15 -0
  330. data/lib/ebay/types/selling_manager_order_status.rb +45 -0
  331. data/lib/ebay/types/selling_manager_paid_status_code.rb +14 -0
  332. data/lib/ebay/types/selling_manager_paisa_pay_property_type_code.rb +14 -0
  333. data/lib/ebay/types/selling_manager_product.rb +22 -0
  334. data/lib/ebay/types/selling_manager_product_details.rb +13 -6
  335. data/lib/ebay/types/selling_manager_product_inventory_status.rb +25 -0
  336. data/lib/ebay/types/selling_manager_product_sort_code.rb +21 -0
  337. data/lib/ebay/types/selling_manager_search.rb +17 -0
  338. data/lib/ebay/types/selling_manager_search_type_code.rb +18 -0
  339. data/lib/ebay/types/selling_manager_shipped_status_code.rb +11 -0
  340. data/lib/ebay/types/selling_manager_sold_listings_property_type_code.rb +58 -0
  341. data/lib/ebay/types/selling_manager_sold_listings_sort_type_code.rb +30 -0
  342. data/lib/ebay/types/selling_manager_sold_order.rb +74 -0
  343. data/lib/ebay/types/selling_manager_sold_transaction.rb +52 -0
  344. data/lib/ebay/types/selling_manager_template_details.rb +25 -0
  345. data/lib/ebay/types/selling_manager_vendor_details.rb +17 -0
  346. data/lib/ebay/types/selling_status.rb +2 -0
  347. data/lib/ebay/types/shipment.rb +2 -0
  348. data/lib/ebay/types/shipment_delivery_status_code.rb +3 -0
  349. data/lib/ebay/types/shipping_carrier_code.rb +1 -0
  350. data/lib/ebay/types/shipping_carrier_details.rb +19 -0
  351. data/lib/ebay/types/shipping_cost_paid_by_details.rb +17 -0
  352. data/lib/ebay/types/shipping_cost_paid_by_options_code.rb +11 -0
  353. data/lib/ebay/types/shipping_details.rb +2 -0
  354. data/lib/ebay/types/shipping_package_details.rb +23 -0
  355. data/lib/ebay/types/shipping_service_code.rb +92 -0
  356. data/lib/ebay/types/shipping_service_details.rb +16 -0
  357. data/lib/ebay/types/shipping_service_options.rb +2 -0
  358. data/lib/ebay/types/shipping_service_package_details.rb +17 -0
  359. data/lib/ebay/types/shipping_type_code.rb +1 -0
  360. data/lib/ebay/types/simple_item_sort_code.rb +18 -0
  361. data/lib/ebay/types/site_defaults.rb +124 -2
  362. data/lib/ebay/types/speciality_subscription_definition.rb +13 -0
  363. data/lib/ebay/types/{transaction_platform.rb → status_code.rb} +3 -3
  364. data/lib/ebay/types/store_item_list_sort_order_code.rb +2 -0
  365. data/lib/ebay/types/store_owner_extended_listing_durations.rb +15 -0
  366. data/lib/ebay/types/store_owner_extended_listing_durations_definition.rb +13 -0
  367. data/lib/ebay/types/store_owner_extended_listing_durations_enabled_definition.rb +13 -0
  368. data/lib/ebay/types/time_range.rb +17 -0
  369. data/lib/ebay/types/token_status.rb +21 -0
  370. data/lib/ebay/types/token_status_code.rb +15 -0
  371. data/lib/ebay/types/transaction.rb +8 -2
  372. data/lib/ebay/types/transaction_platform_code.rb +1 -0
  373. data/lib/ebay/types/transaction_status.rb +4 -0
  374. data/lib/ebay/types/unit_code.rb +2 -0
  375. data/lib/ebay/types/unpaid_item_status_type_code.rb +16 -0
  376. data/lib/ebay/types/user.rb +6 -3
  377. data/lib/ebay/types/user_status_code.rb +1 -0
  378. data/lib/ebay/types/vat_details.rb +4 -0
  379. data/lib/ebay/types/vat_rate.rb +19 -0
  380. data/lib/ebay/types/warranty_duration_details.rb +17 -0
  381. data/lib/ebay/types/warranty_duration_options_code.rb +16 -0
  382. data/lib/ebay/types/{condition_selection_code.rb → warranty_offered_code.rb} +2 -3
  383. data/lib/ebay/types/warranty_offered_details.rb +17 -0
  384. data/lib/ebay/types/warranty_type_details.rb +17 -0
  385. data/lib/ebay/types/warranty_type_options_code.rb +12 -0
  386. data/lib/ebay/types/wish_list_entry.rb +27 -0
  387. data/test/unit/notifications_test.rb +0 -1
  388. data/test/unit/xml_mapping_money_node_test.rb +16 -1
  389. metadata +328 -116
  390. data/lib/ebay/requests/approve_live_auction_bidders.rb +0 -22
  391. data/lib/ebay/requests/get_cart.rb +0 -21
  392. data/lib/ebay/requests/get_live_auction_bidders.rb +0 -20
  393. data/lib/ebay/requests/get_ru_name.rb +0 -15
  394. data/lib/ebay/requests/get_search_results_express.rb +0 -56
  395. data/lib/ebay/requests/revise_live_auction_item.rb +0 -18
  396. data/lib/ebay/requests/set_cart.rb +0 -27
  397. data/lib/ebay/requests/set_return_url.rb +0 -20
  398. data/lib/ebay/responses/approve_live_auction_bidders.rb +0 -16
  399. data/lib/ebay/responses/get_cart.rb +0 -16
  400. data/lib/ebay/responses/get_live_auction_bidders.rb +0 -27
  401. data/lib/ebay/responses/get_live_auction_catalog_details.rb +0 -16
  402. data/lib/ebay/responses/get_return_url.rb +0 -18
  403. data/lib/ebay/responses/get_search_results_express.rb +0 -28
  404. data/lib/ebay/responses/revise_live_auction_item.rb +0 -22
  405. data/lib/ebay/responses/set_cart.rb +0 -16
  406. data/lib/ebay/types/authentication_entry.rb +0 -23
  407. data/lib/ebay/types/cart.rb +0 -35
  408. data/lib/ebay/types/checkout_complete_redirect.rb +0 -17
  409. data/lib/ebay/types/digital_delivery_details.rb +0 -21
  410. data/lib/ebay/types/digital_delivery_enabled_code.rb +0 -12
  411. data/lib/ebay/types/digital_delivery_method_code.rb +0 -12
  412. data/lib/ebay/types/domain_histogram.rb +0 -16
  413. data/lib/ebay/types/express_histogram_sort_code.rb +0 -12
  414. data/lib/ebay/types/express_item_sort_code.rb +0 -12
  415. data/lib/ebay/types/express_product_sort_code.rb +0 -12
  416. data/lib/ebay/types/live_auction_approval_status_array.rb +0 -16
  417. data/lib/ebay/types/live_auction_bid.rb +0 -21
  418. data/lib/ebay/types/live_auction_bid_array.rb +0 -16
  419. data/lib/ebay/types/live_auction_catalog.rb +0 -20
  420. data/lib/ebay/types/live_auction_details.rb +0 -23
  421. data/rakefile +0 -148
@@ -11,6 +11,11 @@ require 'ebay/types/url_details'
11
11
  require 'ebay/types/time_zone_details'
12
12
  require 'ebay/types/item_specific_details'
13
13
  require 'ebay/types/unit_of_measurement_details'
14
+ require 'ebay/types/region_of_origin_details'
15
+ require 'ebay/types/shipping_package_details'
16
+ require 'ebay/types/shipping_carrier_details'
17
+ require 'ebay/types/return_policy_details'
18
+ require 'ebay/types/listing_start_price_details'
14
19
 
15
20
  module Ebay # :nodoc:
16
21
  module Responses # :nodoc:
@@ -28,6 +33,11 @@ module Ebay # :nodoc:
28
33
  # array_node :time_zone_details, 'TimeZoneDetails', :class => TimeZoneDetails, :default_value => []
29
34
  # array_node :item_specific_details, 'ItemSpecificDetails', :class => ItemSpecificDetails, :default_value => []
30
35
  # array_node :unit_of_measurement_details, 'UnitOfMeasurementDetails', :class => UnitOfMeasurementDetails, :default_value => []
36
+ # array_node :region_of_origin_details, 'RegionOfOriginDetails', :class => RegionOfOriginDetails, :default_value => []
37
+ # array_node :shipping_package_details, 'ShippingPackageDetails', :class => ShippingPackageDetails, :default_value => []
38
+ # array_node :shipping_carrier_details, 'ShippingCarrierDetails', :class => ShippingCarrierDetails, :default_value => []
39
+ # object_node :return_policy_details, 'ReturnPolicyDetails', :class => ReturnPolicyDetails, :optional => true
40
+ # array_node :listing_start_price_details, 'ListingStartPriceDetails', :class => ListingStartPriceDetails, :default_value => []
31
41
  class GeteBayDetails < Abstract
32
42
  include XML::Mapping
33
43
  include Initializer
@@ -45,6 +55,11 @@ module Ebay # :nodoc:
45
55
  array_node :time_zone_details, 'TimeZoneDetails', :class => TimeZoneDetails, :default_value => []
46
56
  array_node :item_specific_details, 'ItemSpecificDetails', :class => ItemSpecificDetails, :default_value => []
47
57
  array_node :unit_of_measurement_details, 'UnitOfMeasurementDetails', :class => UnitOfMeasurementDetails, :default_value => []
58
+ array_node :region_of_origin_details, 'RegionOfOriginDetails', :class => RegionOfOriginDetails, :default_value => []
59
+ array_node :shipping_package_details, 'ShippingPackageDetails', :class => ShippingPackageDetails, :default_value => []
60
+ array_node :shipping_carrier_details, 'ShippingCarrierDetails', :class => ShippingCarrierDetails, :default_value => []
61
+ object_node :return_policy_details, 'ReturnPolicyDetails', :class => ReturnPolicyDetails, :optional => true
62
+ array_node :listing_start_price_details, 'ListingStartPriceDetails', :class => ListingStartPriceDetails, :default_value => []
48
63
  end
49
64
  end
50
65
  end
@@ -1,5 +1,6 @@
1
1
  require 'ebay/types/feedback_detail'
2
2
  require 'ebay/types/feedback_summary'
3
+ require 'ebay/types/pagination_result'
3
4
 
4
5
  module Ebay # :nodoc:
5
6
  module Responses # :nodoc:
@@ -8,6 +9,9 @@ module Ebay # :nodoc:
8
9
  # numeric_node :feedback_detail_item_total, 'FeedbackDetailItemTotal', :optional => true
9
10
  # object_node :feedback_summary, 'FeedbackSummary', :class => FeedbackSummary, :optional => true
10
11
  # numeric_node :feedback_score, 'FeedbackScore', :optional => true
12
+ # object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
13
+ # numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
14
+ # numeric_node :page_number, 'PageNumber', :optional => true
11
15
  class GetFeedback < Abstract
12
16
  include XML::Mapping
13
17
  include Initializer
@@ -16,6 +20,9 @@ module Ebay # :nodoc:
16
20
  numeric_node :feedback_detail_item_total, 'FeedbackDetailItemTotal', :optional => true
17
21
  object_node :feedback_summary, 'FeedbackSummary', :class => FeedbackSummary, :optional => true
18
22
  numeric_node :feedback_score, 'FeedbackScore', :optional => true
23
+ object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
24
+ numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
25
+ numeric_node :page_number, 'PageNumber', :optional => true
19
26
  end
20
27
  end
21
28
  end
@@ -19,6 +19,8 @@ module Ebay # :nodoc:
19
19
  # object_node :favorite_sellers, 'FavoriteSellers', :class => MyeBayFavoriteSellerList, :optional => true
20
20
  # array_node :second_chance_offers, 'SecondChanceOffer', :class => Item, :default_value => []
21
21
  # array_node :bid_assistant_lists, 'BidAssistantList', 'BidGroup', :class => BidGroup, :default_value => []
22
+ # object_node :deleted_from_won_list, 'DeletedFromWonList', :class => PaginatedOrderTransactionArray, :optional => true
23
+ # object_node :deleted_from_lost_list, 'DeletedFromLostList', :class => PaginatedItemArray, :optional => true
22
24
  class GetMyeBayBuying < Abstract
23
25
  include XML::Mapping
24
26
  include Initializer
@@ -33,6 +35,8 @@ module Ebay # :nodoc:
33
35
  object_node :favorite_sellers, 'FavoriteSellers', :class => MyeBayFavoriteSellerList, :optional => true
34
36
  array_node :second_chance_offers, 'SecondChanceOffer', :class => Item, :default_value => []
35
37
  array_node :bid_assistant_lists, 'BidAssistantList', 'BidGroup', :class => BidGroup, :default_value => []
38
+ object_node :deleted_from_won_list, 'DeletedFromWonList', :class => PaginatedOrderTransactionArray, :optional => true
39
+ object_node :deleted_from_lost_list, 'DeletedFromLostList', :class => PaginatedItemArray, :optional => true
36
40
  end
37
41
  end
38
42
  end
@@ -12,6 +12,9 @@ module Ebay # :nodoc:
12
12
  # object_node :sold_list, 'SoldList', :class => PaginatedOrderTransactionArray, :optional => true
13
13
  # object_node :unsold_list, 'UnsoldList', :class => PaginatedItemArray, :optional => true
14
14
  # object_node :summary, 'Summary', :class => MyeBaySellingSummary, :optional => true
15
+ # object_node :bid_list, 'BidList', :class => PaginatedItemArray, :optional => true
16
+ # object_node :deleted_from_sold_list, 'DeletedFromSoldList', :class => PaginatedOrderTransactionArray, :optional => true
17
+ # object_node :deleted_from_unsold_list, 'DeletedFromUnsoldList', :class => PaginatedItemArray, :optional => true
15
18
  class GetMyeBaySelling < Abstract
16
19
  include XML::Mapping
17
20
  include Initializer
@@ -22,6 +25,9 @@ module Ebay # :nodoc:
22
25
  object_node :sold_list, 'SoldList', :class => PaginatedOrderTransactionArray, :optional => true
23
26
  object_node :unsold_list, 'UnsoldList', :class => PaginatedItemArray, :optional => true
24
27
  object_node :summary, 'Summary', :class => MyeBaySellingSummary, :optional => true
28
+ object_node :bid_list, 'BidList', :class => PaginatedItemArray, :optional => true
29
+ object_node :deleted_from_sold_list, 'DeletedFromSoldList', :class => PaginatedOrderTransactionArray, :optional => true
30
+ object_node :deleted_from_unsold_list, 'DeletedFromUnsoldList', :class => PaginatedItemArray, :optional => true
25
31
  end
26
32
  end
27
33
  end
@@ -7,6 +7,7 @@ module Ebay # :nodoc:
7
7
  module Responses # :nodoc:
8
8
  # == Attributes
9
9
  # object_node :application_delivery_preferences, 'ApplicationDeliveryPreferences', :class => ApplicationDeliveryPreferences, :optional => true
10
+ # text_node :delivery_url_name, 'DeliveryURLName', :optional => true
10
11
  # array_node :user_delivery_preferences, 'UserDeliveryPreferenceArray', 'NotificationEnable', :class => NotificationEnable, :default_value => []
11
12
  # object_node :user_data, 'UserData', :class => NotificationUserData, :optional => true
12
13
  # array_node :event_properties, 'EventProperty', :class => NotificationEventProperty, :default_value => []
@@ -15,6 +16,7 @@ module Ebay # :nodoc:
15
16
  include Initializer
16
17
  root_element_name 'GetNotificationPreferencesResponse'
17
18
  object_node :application_delivery_preferences, 'ApplicationDeliveryPreferences', :class => ApplicationDeliveryPreferences, :optional => true
19
+ text_node :delivery_url_name, 'DeliveryURLName', :optional => true
18
20
  array_node :user_delivery_preferences, 'UserDeliveryPreferenceArray', 'NotificationEnable', :class => NotificationEnable, :default_value => []
19
21
  object_node :user_data, 'UserData', :class => NotificationUserData, :optional => true
20
22
  array_node :event_properties, 'EventProperty', :class => NotificationEventProperty, :default_value => []
@@ -14,6 +14,7 @@ module Ebay # :nodoc:
14
14
  # array_node :products, 'Product', :class => CatalogProduct, :default_value => []
15
15
  # array_node :items, 'ItemArray', 'Item', :class => Item, :default_value => []
16
16
  # object_node :buying_guide_details, 'BuyingGuideDetails', :class => BuyingGuideDetails, :optional => true
17
+ # boolean_node :duplicate_items, 'DuplicateItems', 'true', 'false', :optional => true
17
18
  class GetProducts < Abstract
18
19
  include XML::Mapping
19
20
  include Initializer
@@ -26,6 +27,7 @@ module Ebay # :nodoc:
26
27
  array_node :products, 'Product', :class => CatalogProduct, :default_value => []
27
28
  array_node :items, 'ItemArray', 'Item', :class => Item, :default_value => []
28
29
  object_node :buying_guide_details, 'BuyingGuideDetails', :class => BuyingGuideDetails, :optional => true
30
+ boolean_node :duplicate_items, 'DuplicateItems', 'true', 'false', :optional => true
29
31
  end
30
32
  end
31
33
  end
@@ -22,6 +22,7 @@ module Ebay # :nodoc:
22
22
  # object_node :all_categories_expansions, 'AllCategoriesExpansionArray', :class => ExpansionArray, :optional => true
23
23
  # object_node :spelling_suggestion, 'SpellingSuggestion', :class => SpellingSuggestion, :optional => true
24
24
  # array_node :related_search_keywords, 'RelatedSearchKeywordArray', :class => RelatedSearchKeywordArray, :default_value => []
25
+ # boolean_node :duplicate_items, 'DuplicateItems', 'true', 'false', :optional => true
25
26
  class GetSearchResults < Abstract
26
27
  include XML::Mapping
27
28
  include Initializer
@@ -39,6 +40,7 @@ module Ebay # :nodoc:
39
40
  object_node :all_categories_expansions, 'AllCategoriesExpansionArray', :class => ExpansionArray, :optional => true
40
41
  object_node :spelling_suggestion, 'SpellingSuggestion', :class => SpellingSuggestion, :optional => true
41
42
  array_node :related_search_keywords, 'RelatedSearchKeywordArray', :class => RelatedSearchKeywordArray, :default_value => []
43
+ boolean_node :duplicate_items, 'DuplicateItems', 'true', 'false', :optional => true
42
44
  end
43
45
  end
44
46
  end
@@ -0,0 +1,31 @@
1
+ require 'ebay/types/search_standing_dashboard'
2
+ require 'ebay/types/seller_fee_discount_dashboard'
3
+ require 'ebay/types/power_seller_dashboard'
4
+ require 'ebay/types/policy_compliance_dashboard'
5
+ require 'ebay/types/buyer_satisfaction_dashboard'
6
+ require 'ebay/types/seller_account_dashboard'
7
+
8
+ module Ebay # :nodoc:
9
+ module Responses # :nodoc:
10
+ # == Attributes
11
+ # object_node :search_standing, 'SearchStanding', :class => SearchStandingDashboard, :optional => true
12
+ # object_node :seller_fee_discount, 'SellerFeeDiscount', :class => SellerFeeDiscountDashboard, :optional => true
13
+ # object_node :power_seller_status, 'PowerSellerStatus', :class => PowerSellerDashboard, :optional => true
14
+ # object_node :policy_compliance, 'PolicyCompliance', :class => PolicyComplianceDashboard, :optional => true
15
+ # object_node :buyer_satisfaction, 'BuyerSatisfaction', :class => BuyerSatisfactionDashboard, :optional => true
16
+ # object_node :seller_account, 'SellerAccount', :class => SellerAccountDashboard, :optional => true
17
+ class GetSellerDashboard < Abstract
18
+ include XML::Mapping
19
+ include Initializer
20
+ root_element_name 'GetSellerDashboardResponse'
21
+ object_node :search_standing, 'SearchStanding', :class => SearchStandingDashboard, :optional => true
22
+ object_node :seller_fee_discount, 'SellerFeeDiscount', :class => SellerFeeDiscountDashboard, :optional => true
23
+ object_node :power_seller_status, 'PowerSellerStatus', :class => PowerSellerDashboard, :optional => true
24
+ object_node :policy_compliance, 'PolicyCompliance', :class => PolicyComplianceDashboard, :optional => true
25
+ object_node :buyer_satisfaction, 'BuyerSatisfaction', :class => BuyerSatisfactionDashboard, :optional => true
26
+ object_node :seller_account, 'SellerAccount', :class => SellerAccountDashboard, :optional => true
27
+ end
28
+ end
29
+ end
30
+
31
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/selling_manager_alert'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # array_node :alerts, 'Alert', :class => SellingManagerAlert, :default_value => []
7
+ class GetSellingManagerAlerts < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetSellingManagerAlertsResponse'
11
+ array_node :alerts, 'Alert', :class => SellingManagerAlert, :default_value => []
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/selling_manager_email_log'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # array_node :email_logs, 'EmailLog', :class => SellingManagerEmailLog, :default_value => []
7
+ class GetSellingManagerEmailLog < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetSellingManagerEmailLogResponse'
11
+ array_node :email_logs, 'EmailLog', :class => SellingManagerEmailLog, :default_value => []
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,21 @@
1
+ require 'ebay/types/selling_manager_product'
2
+ require 'ebay/types/pagination_result'
3
+
4
+ module Ebay # :nodoc:
5
+ module Responses # :nodoc:
6
+ # == Attributes
7
+ # time_node :inventory_count_last_calculated_date, 'InventoryCountLastCalculatedDate', :optional => true
8
+ # array_node :selling_manager_products, 'SellingManagerProduct', :class => SellingManagerProduct, :default_value => []
9
+ # object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
10
+ class GetSellingManagerInventory < Abstract
11
+ include XML::Mapping
12
+ include Initializer
13
+ root_element_name 'GetSellingManagerInventoryResponse'
14
+ time_node :inventory_count_last_calculated_date, 'InventoryCountLastCalculatedDate', :optional => true
15
+ array_node :selling_manager_products, 'SellingManagerProduct', :class => SellingManagerProduct, :default_value => []
16
+ object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
17
+ end
18
+ end
19
+ end
20
+
21
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/selling_manager_folder_details'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # object_node :folder, 'Folder', :class => SellingManagerFolderDetails, :optional => true
7
+ class GetSellingManagerInventoryFolder < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetSellingManagerInventoryFolderResponse'
11
+ object_node :folder, 'Folder', :class => SellingManagerFolderDetails, :optional => true
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,25 @@
1
+ require 'ebay/types/selling_manager_auto_list'
2
+ require 'ebay/types/selling_manager_auto_relist'
3
+ require 'ebay/types/selling_manager_auto_second_chance_offer'
4
+ require 'ebay/types/fee'
5
+
6
+ module Ebay # :nodoc:
7
+ module Responses # :nodoc:
8
+ # == Attributes
9
+ # object_node :automated_listing_rule, 'AutomatedListingRule', :class => SellingManagerAutoList, :optional => true
10
+ # object_node :automated_relisting_rule, 'AutomatedRelistingRule', :class => SellingManagerAutoRelist, :optional => true
11
+ # object_node :automated_second_chance_offer_rule, 'AutomatedSecondChanceOfferRule', :class => SellingManagerAutoSecondChanceOffer, :optional => true
12
+ # array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
13
+ class GetSellingManagerItemAutomationRule < Abstract
14
+ include XML::Mapping
15
+ include Initializer
16
+ root_element_name 'GetSellingManagerItemAutomationRuleResponse'
17
+ object_node :automated_listing_rule, 'AutomatedListingRule', :class => SellingManagerAutoList, :optional => true
18
+ object_node :automated_relisting_rule, 'AutomatedRelistingRule', :class => SellingManagerAutoRelist, :optional => true
19
+ object_node :automated_second_chance_offer_rule, 'AutomatedSecondChanceOfferRule', :class => SellingManagerAutoSecondChanceOffer, :optional => true
20
+ array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
21
+ end
22
+ end
23
+ end
24
+
25
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/selling_manager_sold_order'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # object_node :selling_manager_sold_order, 'SellingManagerSoldOrder', :class => SellingManagerSoldOrder, :optional => true
7
+ class GetSellingManagerSaleRecord < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetSellingManagerSaleRecordResponse'
11
+ object_node :selling_manager_sold_order, 'SellingManagerSoldOrder', :class => SellingManagerSoldOrder, :optional => true
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,19 @@
1
+ require 'ebay/types/selling_manager_sold_order'
2
+ require 'ebay/types/pagination_result'
3
+
4
+ module Ebay # :nodoc:
5
+ module Responses # :nodoc:
6
+ # == Attributes
7
+ # array_node :sale_records, 'SaleRecord', :class => SellingManagerSoldOrder, :default_value => []
8
+ # object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
9
+ class GetSellingManagerSoldListings < Abstract
10
+ include XML::Mapping
11
+ include Initializer
12
+ root_element_name 'GetSellingManagerSoldListingsResponse'
13
+ array_node :sale_records, 'SaleRecord', :class => SellingManagerSoldOrder, :default_value => []
14
+ object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
15
+ end
16
+ end
17
+ end
18
+
19
+
@@ -0,0 +1,25 @@
1
+ require 'ebay/types/selling_manager_auto_list'
2
+ require 'ebay/types/selling_manager_auto_relist'
3
+ require 'ebay/types/selling_manager_auto_second_chance_offer'
4
+ require 'ebay/types/fee'
5
+
6
+ module Ebay # :nodoc:
7
+ module Responses # :nodoc:
8
+ # == Attributes
9
+ # object_node :automated_listing_rule, 'AutomatedListingRule', :class => SellingManagerAutoList, :optional => true
10
+ # object_node :automated_relisting_rule, 'AutomatedRelistingRule', :class => SellingManagerAutoRelist, :optional => true
11
+ # object_node :automated_second_chance_offer_rule, 'AutomatedSecondChanceOfferRule', :class => SellingManagerAutoSecondChanceOffer, :optional => true
12
+ # array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
13
+ class GetSellingManagerTemplateAutomationRule < Abstract
14
+ include XML::Mapping
15
+ include Initializer
16
+ root_element_name 'GetSellingManagerTemplateAutomationRuleResponse'
17
+ object_node :automated_listing_rule, 'AutomatedListingRule', :class => SellingManagerAutoList, :optional => true
18
+ object_node :automated_relisting_rule, 'AutomatedRelistingRule', :class => SellingManagerAutoRelist, :optional => true
19
+ object_node :automated_second_chance_offer_rule, 'AutomatedSecondChanceOfferRule', :class => SellingManagerAutoSecondChanceOffer, :optional => true
20
+ array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
21
+ end
22
+ end
23
+ end
24
+
25
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/selling_manager_template_details'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # array_node :selling_manager_template_details, 'SellingManagerTemplateDetailsArray', 'SellingManagerTemplateDetails', :class => SellingManagerTemplateDetails, :default_value => []
7
+ class GetSellingManagerTemplates < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetSellingManagerTemplatesResponse'
11
+ array_node :selling_manager_template_details, 'SellingManagerTemplateDetailsArray', 'SellingManagerTemplateDetails', :class => SellingManagerTemplateDetails, :default_value => []
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,15 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Responses # :nodoc:
4
+ # == Attributes
5
+ # text_node :session_id, 'SessionID', :optional => true
6
+ class GetSessionID < Abstract
7
+ include XML::Mapping
8
+ include Initializer
9
+ root_element_name 'GetSessionIDResponse'
10
+ text_node :session_id, 'SessionID', :optional => true
11
+ end
12
+ end
13
+ end
14
+
15
+
@@ -0,0 +1,16 @@
1
+ require 'ebay/types/token_status'
2
+
3
+ module Ebay # :nodoc:
4
+ module Responses # :nodoc:
5
+ # == Attributes
6
+ # object_node :token_status, 'TokenStatus', :class => TokenStatus, :optional => true
7
+ class GetTokenStatus < Abstract
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'GetTokenStatusResponse'
11
+ object_node :token_status, 'TokenStatus', :class => TokenStatus, :optional => true
12
+ end
13
+ end
14
+ end
15
+
16
+
@@ -4,7 +4,6 @@ require 'ebay/types/cross_promotion_preferences'
4
4
  require 'ebay/types/seller_payment_preferences'
5
5
  require 'ebay/types/seller_favorite_item_preferences'
6
6
  require 'ebay/types/end_of_auction_email_preferences'
7
- require 'ebay/types/express_preferences'
8
7
  require 'ebay/types/pro_stores_checkout_preference'
9
8
 
10
9
  module Ebay # :nodoc:
@@ -16,7 +15,7 @@ module Ebay # :nodoc:
16
15
  # object_node :seller_payment_preferences, 'SellerPaymentPreferences', :class => SellerPaymentPreferences, :optional => true
17
16
  # object_node :seller_favorite_item_preferences, 'SellerFavoriteItemPreferences', :class => SellerFavoriteItemPreferences, :optional => true
18
17
  # object_node :end_of_auction_email_preferences, 'EndOfAuctionEmailPreferences', :class => EndOfAuctionEmailPreferences, :optional => true
19
- # object_node :express_preferences, 'ExpressPreferences', :class => ExpressPreferences, :optional => true
18
+ # boolean_node :email_shipment_tracking_number_preference, 'EmailShipmentTrackingNumberPreference', 'true', 'false', :optional => true
20
19
  # object_node :pro_stores_preference, 'ProStoresPreference', :class => ProStoresCheckoutPreference, :optional => true
21
20
  class GetUserPreferences < Abstract
22
21
  include XML::Mapping
@@ -28,7 +27,7 @@ module Ebay # :nodoc:
28
27
  object_node :seller_payment_preferences, 'SellerPaymentPreferences', :class => SellerPaymentPreferences, :optional => true
29
28
  object_node :seller_favorite_item_preferences, 'SellerFavoriteItemPreferences', :class => SellerFavoriteItemPreferences, :optional => true
30
29
  object_node :end_of_auction_email_preferences, 'EndOfAuctionEmailPreferences', :class => EndOfAuctionEmailPreferences, :optional => true
31
- object_node :express_preferences, 'ExpressPreferences', :class => ExpressPreferences, :optional => true
30
+ boolean_node :email_shipment_tracking_number_preference, 'EmailShipmentTrackingNumberPreference', 'true', 'false', :optional => true
32
31
  object_node :pro_stores_preference, 'ProStoresPreference', :class => ProStoresCheckoutPreference, :optional => true
33
32
  end
34
33
  end
@@ -0,0 +1,19 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Responses # :nodoc:
4
+ # == Attributes
5
+ # value_array_node :canceled_item_ids, 'CanceledItemIDArray', 'ItemID', :default_value => []
6
+ # boolean_node :eligible_for_relist, 'EligibleForRelist', 'true', 'false', :optional => true
7
+ # text_node :seller_id, 'SellerID', :optional => true
8
+ class ItemsCanceledEvent < Abstract
9
+ include XML::Mapping
10
+ include Initializer
11
+ root_element_name 'ItemsCanceledEvent'
12
+ value_array_node :canceled_item_ids, 'CanceledItemIDArray', 'ItemID', :default_value => []
13
+ boolean_node :eligible_for_relist, 'EligibleForRelist', 'true', 'false', :optional => true
14
+ text_node :seller_id, 'SellerID', :optional => true
15
+ end
16
+ end
17
+ end
18
+
19
+