ebayapi 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -13,6 +13,10 @@ module Ebay # :nodoc:
13
13
  Absentee = 'Absentee'
14
14
  BuyItNow = 'BuyItNow'
15
15
  Purchase = 'Purchase'
16
+ Offer = 'Offer'
17
+ Counter = 'Counter'
18
+ Accept = 'Accept'
19
+ Decline = 'Decline'
16
20
  end
17
21
  end
18
22
  end
@@ -1,14 +1,11 @@
1
- require 'ebay/types/bid_approval'
2
1
 
3
2
  module Ebay # :nodoc:
4
3
  module Types # :nodoc:
5
4
  # == Attributes
6
- # array_node :live_auction_bids, 'LiveAuctionBid', :class => BidApproval, :default_value => []
7
5
  class BidApprovalArray
8
6
  include XML::Mapping
9
7
  include Initializer
10
8
  root_element_name 'BidApprovalArray'
11
- array_node :live_auction_bids, 'LiveAuctionBid', :class => BidApproval, :default_value => []
12
9
  end
13
10
  end
14
11
  end
@@ -1,4 +1,3 @@
1
- require 'ebay/types/live_auction_bid'
2
1
 
3
2
  module Ebay # :nodoc:
4
3
  module Types # :nodoc:
@@ -8,7 +7,7 @@ module Ebay # :nodoc:
8
7
  # numeric_node :feedback_score, 'FeedbackScore', :optional => true
9
8
  # numeric_node :unique_negative_feedback_count, 'UniqueNegativeFeedbackCount', :optional => true
10
9
  # numeric_node :unique_positive_feedback_count, 'UniquePositiveFeedbackCount', :optional => true
11
- # object_node :live_auction_bid_result, 'LiveAuctionBidResult', :class => LiveAuctionBid, :optional => true
10
+ # numeric_node :unique_neutral_feedback_count, 'UniqueNeutralFeedbackCount', :optional => true
12
11
  class BidderDetail
13
12
  include XML::Mapping
14
13
  include Initializer
@@ -18,7 +17,7 @@ module Ebay # :nodoc:
18
17
  numeric_node :feedback_score, 'FeedbackScore', :optional => true
19
18
  numeric_node :unique_negative_feedback_count, 'UniqueNegativeFeedbackCount', :optional => true
20
19
  numeric_node :unique_positive_feedback_count, 'UniquePositiveFeedbackCount', :optional => true
21
- object_node :live_auction_bid_result, 'LiveAuctionBidResult', :class => LiveAuctionBid, :optional => true
20
+ numeric_node :unique_neutral_feedback_count, 'UniqueNeutralFeedbackCount', :optional => true
22
21
  end
23
22
  end
24
23
  end
@@ -0,0 +1,31 @@
1
+ require 'ebay/types/address'
2
+ require 'ebay/types/vat_details'
3
+
4
+ module Ebay # :nodoc:
5
+ module Types # :nodoc:
6
+ # == Attributes
7
+ # object_node :address, 'Address', :class => Address, :optional => true
8
+ # text_node :fax, 'Fax', :optional => true
9
+ # text_node :email, 'Email', :optional => true
10
+ # text_node :additional_contact_information, 'AdditionalContactInformation', :optional => true
11
+ # text_node :trade_registration_number, 'TradeRegistrationNumber', :optional => true
12
+ # boolean_node :legal_invoice, 'LegalInvoice', 'true', 'false', :optional => true
13
+ # text_node :terms_and_conditions, 'TermsAndConditions', :optional => true
14
+ # object_node :vat_details, 'VATDetails', :class => VATDetails, :optional => true
15
+ class BusinessSellerDetails
16
+ include XML::Mapping
17
+ include Initializer
18
+ root_element_name 'BusinessSellerDetails'
19
+ object_node :address, 'Address', :class => Address, :optional => true
20
+ text_node :fax, 'Fax', :optional => true
21
+ text_node :email, 'Email', :optional => true
22
+ text_node :additional_contact_information, 'AdditionalContactInformation', :optional => true
23
+ text_node :trade_registration_number, 'TradeRegistrationNumber', :optional => true
24
+ boolean_node :legal_invoice, 'LegalInvoice', 'true', 'false', :optional => true
25
+ text_node :terms_and_conditions, 'TermsAndConditions', :optional => true
26
+ object_node :vat_details, 'VATDetails', :class => VATDetails, :optional => true
27
+ end
28
+ end
29
+ end
30
+
31
+
@@ -2,10 +2,10 @@
2
2
  module Ebay # :nodoc:
3
3
  module Types # :nodoc:
4
4
  # == Attributes
5
- class DigitalDeliveryEnabledDefinition
5
+ class BuyerGuaranteeEnabledDefinition
6
6
  include XML::Mapping
7
7
  include Initializer
8
- root_element_name 'DigitalDeliveryEnabledDefinition'
8
+ root_element_name 'BuyerGuaranteeEnabledDefinition'
9
9
  end
10
10
  end
11
11
  end
@@ -26,6 +26,13 @@ module Ebay # :nodoc:
26
26
  LoanCheck = 'LoanCheck'
27
27
  CashInPerson = 'CashInPerson'
28
28
  ELV = 'ELV'
29
+ PaisaPayEscrow = 'PaisaPayEscrow'
30
+ PaisaPayEscrowEMI = 'PaisaPayEscrowEMI'
31
+ IntegratedMerchantCreditCard = 'IntegratedMerchantCreditCard'
32
+ Moneybookers = 'Moneybookers'
33
+ Paymate = 'Paymate'
34
+ ProPay = 'ProPay'
35
+ PayOnPickup = 'PayOnPickup'
29
36
  end
30
37
  end
31
38
  end
@@ -7,6 +7,7 @@ module Ebay # :nodoc:
7
7
  ItemEligible = 'ItemEligible'
8
8
  ItemMarkedIneligible = 'ItemMarkedIneligible'
9
9
  ItemMarkedEligible = 'ItemMarkedEligible'
10
+ NoCoverage = 'NoCoverage'
10
11
  end
11
12
  end
12
13
  end
@@ -1,5 +1,7 @@
1
1
  require 'ebay/types/maximum_item_requirements'
2
2
  require 'ebay/types/verified_user_requirements'
3
+ require 'ebay/types/maximum_unpaid_item_strikes_info'
4
+ require 'ebay/types/maximum_buyer_policy_violations'
3
5
 
4
6
  module Ebay # :nodoc:
5
7
  module Types # :nodoc:
@@ -7,21 +9,23 @@ module Ebay # :nodoc:
7
9
  # boolean_node :ship_to_registration_country, 'ShipToRegistrationCountry', 'true', 'false', :optional => true
8
10
  # boolean_node :zero_feedback_score, 'ZeroFeedbackScore', 'true', 'false', :optional => true
9
11
  # numeric_node :minimum_feedback_score, 'MinimumFeedbackScore', :optional => true
10
- # boolean_node :maximum_unpaid_item_strikes, 'MaximumUnpaidItemStrikes', 'true', 'false', :optional => true
11
12
  # object_node :maximum_item_requirements, 'MaximumItemRequirements', :class => MaximumItemRequirements, :optional => true
12
13
  # boolean_node :linked_paypal_account, 'LinkedPayPalAccount', 'true', 'false', :optional => true
13
14
  # object_node :verified_user_requirements, 'VerifiedUserRequirements', :class => VerifiedUserRequirements, :optional => true
14
- class BuyerRequirements
15
+ # object_node :maximum_unpaid_item_strikes_info, 'MaximumUnpaidItemStrikesInfo', :class => MaximumUnpaidItemStrikesInfo, :optional => true
16
+ # object_node :maximum_buyer_policy_violations, 'MaximumBuyerPolicyViolations', :class => MaximumBuyerPolicyViolations, :optional => true
17
+ class BuyerRequirementDetails
15
18
  include XML::Mapping
16
19
  include Initializer
17
- root_element_name 'BuyerRequirements'
20
+ root_element_name 'BuyerRequirementDetails'
18
21
  boolean_node :ship_to_registration_country, 'ShipToRegistrationCountry', 'true', 'false', :optional => true
19
22
  boolean_node :zero_feedback_score, 'ZeroFeedbackScore', 'true', 'false', :optional => true
20
23
  numeric_node :minimum_feedback_score, 'MinimumFeedbackScore', :optional => true
21
- boolean_node :maximum_unpaid_item_strikes, 'MaximumUnpaidItemStrikes', 'true', 'false', :optional => true
22
24
  object_node :maximum_item_requirements, 'MaximumItemRequirements', :class => MaximumItemRequirements, :optional => true
23
25
  boolean_node :linked_paypal_account, 'LinkedPayPalAccount', 'true', 'false', :optional => true
24
26
  object_node :verified_user_requirements, 'VerifiedUserRequirements', :class => VerifiedUserRequirements, :optional => true
27
+ object_node :maximum_unpaid_item_strikes_info, 'MaximumUnpaidItemStrikesInfo', :class => MaximumUnpaidItemStrikesInfo, :optional => true
28
+ object_node :maximum_buyer_policy_violations, 'MaximumBuyerPolicyViolations', :class => MaximumBuyerPolicyViolations, :optional => true
25
29
  end
26
30
  end
27
31
  end
@@ -0,0 +1,21 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Types # :nodoc:
4
+ # == Attributes
5
+ # numeric_node :positive_feedback_left_count, 'PositiveFeedbackLeftCount', :optional => true
6
+ # numeric_node :negative_feedback_left_count, 'NegativeFeedbackLeftCount', :optional => true
7
+ # numeric_node :neutral_feedback_left_count, 'NeutralFeedbackLeftCount', :optional => true
8
+ # numeric_node :feedback_left_percent, 'FeedbackLeftPercent', :optional => true
9
+ class BuyerRoleMetrics
10
+ include XML::Mapping
11
+ include Initializer
12
+ root_element_name 'BuyerRoleMetrics'
13
+ numeric_node :positive_feedback_left_count, 'PositiveFeedbackLeftCount', :optional => true
14
+ numeric_node :negative_feedback_left_count, 'NegativeFeedbackLeftCount', :optional => true
15
+ numeric_node :neutral_feedback_left_count, 'NeutralFeedbackLeftCount', :optional => true
16
+ numeric_node :feedback_left_percent, 'FeedbackLeftPercent', :optional => true
17
+ end
18
+ end
19
+ end
20
+
21
+
@@ -0,0 +1,18 @@
1
+ require 'ebay/types/seller_dashboard_alert'
2
+
3
+ module Ebay # :nodoc:
4
+ module Types # :nodoc:
5
+ # == Attributes
6
+ # text_node :status, 'Status', :optional => true
7
+ # array_node :alerts, 'Alert', :class => SellerDashboardAlert, :default_value => []
8
+ class BuyerSatisfactionDashboard
9
+ include XML::Mapping
10
+ include Initializer
11
+ root_element_name 'BuyerSatisfactionDashboard'
12
+ text_node :status, 'Status', :optional => true
13
+ array_node :alerts, 'Alert', :class => SellerDashboardAlert, :default_value => []
14
+ end
15
+ end
16
+ end
17
+
18
+
@@ -0,0 +1,15 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class BuyerSatisfactionStatusCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Excellent = 'Excellent'
7
+ Good = 'Good'
8
+ NeedsWork = 'NeedsWork'
9
+ Poor = 'Poor'
10
+ VeryPoor = 'VeryPoor'
11
+ Unacceptable = 'Unacceptable'
12
+ end
13
+ end
14
+ end
15
+
@@ -4,6 +4,7 @@ module Ebay # :nodoc:
4
4
  module Types # :nodoc:
5
5
  # == Attributes
6
6
  # text_node :originating_postal_code, 'OriginatingPostalCode', :optional => true
7
+ # text_node :measurement_unit, 'MeasurementUnit', :optional => true
7
8
  # object_node :package_depth, 'PackageDepth', :class => Measure, :optional => true
8
9
  # object_node :package_length, 'PackageLength', :class => Measure, :optional => true
9
10
  # object_node :package_width, 'PackageWidth', :class => Measure, :optional => true
@@ -18,6 +19,7 @@ module Ebay # :nodoc:
18
19
  include Initializer
19
20
  root_element_name 'CalculatedShippingRate'
20
21
  text_node :originating_postal_code, 'OriginatingPostalCode', :optional => true
22
+ text_node :measurement_unit, 'MeasurementUnit', :optional => true
21
23
  object_node :package_depth, 'PackageDepth', :class => Measure, :optional => true
22
24
  object_node :package_length, 'PackageLength', :class => Measure, :optional => true
23
25
  object_node :package_width, 'PackageWidth', :class => Measure, :optional => true
@@ -16,6 +16,7 @@ module Ebay # :nodoc:
16
16
  # array_node :item_specifics, 'ItemSpecifics', 'NameValueList', :class => NameValueList, :default_value => []
17
17
  # numeric_node :review_count, 'ReviewCount', :optional => true
18
18
  # object_node :review_details, 'ReviewDetails', :class => ReviewDetails, :optional => true
19
+ # text_node :product_state, 'ProductState', :optional => true
19
20
  class CatalogProduct
20
21
  include XML::Mapping
21
22
  include Initializer
@@ -31,6 +32,7 @@ module Ebay # :nodoc:
31
32
  array_node :item_specifics, 'ItemSpecifics', 'NameValueList', :class => NameValueList, :default_value => []
32
33
  numeric_node :review_count, 'ReviewCount', :optional => true
33
34
  object_node :review_details, 'ReviewDetails', :class => ReviewDetails, :optional => true
35
+ text_node :product_state, 'ProductState', :optional => true
34
36
  end
35
37
  end
36
38
  end
@@ -1,4 +1,6 @@
1
1
  require 'ebay/types/listing_duration_reference'
2
+ require 'ebay/types/listing_enhancement_duration_reference'
3
+ require 'ebay/types/store_owner_extended_listing_durations'
2
4
 
3
5
  module Ebay # :nodoc:
4
6
  module Types # :nodoc:
@@ -15,7 +17,6 @@ module Ebay # :nodoc:
15
17
  # boolean_node :value_pack_enabled, 'ValuePackEnabled', 'true', 'false', :optional => true
16
18
  # boolean_node :pro_pack_plus_enabled, 'ProPackPlusEnabled', 'true', 'false', :optional => true
17
19
  # text_node :ad_format_enabled, 'AdFormatEnabled', :optional => true
18
- # text_node :digital_delivery_enabled, 'DigitalDeliveryEnabled', :optional => true
19
20
  # boolean_node :best_offer_counter_enabled, 'BestOfferCounterEnabled', 'true', 'false', :optional => true
20
21
  # boolean_node :best_offer_auto_decline_enabled, 'BestOfferAutoDeclineEnabled', 'true', 'false', :optional => true
21
22
  # boolean_node :local_market_speciality_subscription, 'LocalMarketSpecialitySubscription', 'true', 'false', :optional => true
@@ -41,6 +42,66 @@ module Ebay # :nodoc:
41
42
  # boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
42
43
  # boolean_node :classified_ad_pay_per_lead_enabled, 'ClassifiedAdPayPerLeadEnabled', 'true', 'false', :optional => true
43
44
  # text_node :item_specifics_enabled, 'ItemSpecificsEnabled', :optional => true
45
+ # boolean_node :paisa_pay_full_escrow_enabled, 'PaisaPayFullEscrowEnabled', 'true', 'false', :optional => true
46
+ # boolean_node :classified_ad_auto_accept_enabled, 'ClassifiedAdAutoAcceptEnabled', 'true', 'false', :optional => true
47
+ # boolean_node :best_offer_auto_accept_enabled, 'BestOfferAutoAcceptEnabled', 'true', 'false', :optional => true
48
+ # boolean_node :cross_border_trade_north_america_enabled, 'CrossBorderTradeNorthAmericaEnabled', 'true', 'false', :optional => true
49
+ # boolean_node :cross_border_trade_gb_enabled, 'CrossBorderTradeGBEnabled', 'true', 'false', :optional => true
50
+ # boolean_node :cross_border_trade_australia_enabled, 'CrossBorderTradeAustraliaEnabled', 'true', 'false', :optional => true
51
+ # boolean_node :paypal_buyer_protection_enabled, 'PayPalBuyerProtectionEnabled', 'true', 'false', :optional => true
52
+ # boolean_node :buyer_guarantee_enabled, 'BuyerGuaranteeEnabled', 'true', 'false', :optional => true
53
+ # boolean_node :combined_fixed_price_treatment_enabled, 'CombinedFixedPriceTreatmentEnabled', 'true', 'false', :optional => true
54
+ # array_node :gallery_featured_durations, 'GalleryFeaturedDurations', :class => ListingEnhancementDurationReference, :default_value => []
55
+ # boolean_node :paypal_required, 'PayPalRequired', 'true', 'false', :optional => true
56
+ # text_node :ebay_motors_pro_ad_format_enabled, 'eBayMotorsProAdFormatEnabled', :optional => true
57
+ # boolean_node :ebay_motors_pro_contact_by_phone_enabled, 'eBayMotorsProContactByPhoneEnabled', 'true', 'false', :optional => true
58
+ # numeric_node :ebay_motors_pro_phone_count, 'eBayMotorsProPhoneCount', :optional => true
59
+ # boolean_node :ebay_motors_pro_contact_by_address_enabled, 'eBayMotorsProContactByAddressEnabled', 'true', 'false', :optional => true
60
+ # numeric_node :ebay_motors_pro_street_count, 'eBayMotorsProStreetCount', :optional => true
61
+ # boolean_node :ebay_motors_pro_company_name_enabled, 'eBayMotorsProCompanyNameEnabled', 'true', 'false', :optional => true
62
+ # boolean_node :ebay_motors_pro_contact_by_email_enabled, 'eBayMotorsProContactByEmailEnabled', 'true', 'false', :optional => true
63
+ # text_node :ebay_motors_pro_best_offer_enabled, 'eBayMotorsProBestOfferEnabled', :optional => true
64
+ # boolean_node :ebay_motors_pro_auto_accept_enabled, 'eBayMotorsProAutoAcceptEnabled', 'true', 'false', :optional => true
65
+ # boolean_node :ebay_motors_pro_auto_decline_enabled, 'eBayMotorsProAutoDeclineEnabled', 'true', 'false', :optional => true
66
+ # text_node :ebay_motors_pro_payment_method_check_out_enabled, 'eBayMotorsProPaymentMethodCheckOutEnabled', :optional => true
67
+ # boolean_node :ebay_motors_pro_shipping_method_enabled, 'eBayMotorsProShippingMethodEnabled', 'true', 'false', :optional => true
68
+ # boolean_node :ebay_motors_pro_counter_offer_enabled, 'eBayMotorsProCounterOfferEnabled', 'true', 'false', :optional => true
69
+ # boolean_node :ebay_motors_pro_seller_contact_details_enabled, 'eBayMotorsProSellerContactDetailsEnabled', 'true', 'false', :optional => true
70
+ # text_node :local_market_ad_format_enabled, 'LocalMarketAdFormatEnabled', :optional => true
71
+ # boolean_node :local_market_contact_by_phone_enabled, 'LocalMarketContactByPhoneEnabled', 'true', 'false', :optional => true
72
+ # numeric_node :local_market_phone_count, 'LocalMarketPhoneCount', :optional => true
73
+ # boolean_node :local_market_contact_by_address_enabled, 'LocalMarketContactByAddressEnabled', 'true', 'false', :optional => true
74
+ # numeric_node :local_market_street_count, 'LocalMarketStreetCount', :optional => true
75
+ # boolean_node :local_market_company_name_enabled, 'LocalMarketCompanyNameEnabled', 'true', 'false', :optional => true
76
+ # boolean_node :local_market_contact_by_email_enabled, 'LocalMarketContactByEmailEnabled', 'true', 'false', :optional => true
77
+ # text_node :local_market_best_offer_enabled, 'LocalMarketBestOfferEnabled', :optional => true
78
+ # boolean_node :local_market_auto_accept_enabled, 'LocalMarketAutoAcceptEnabled', 'true', 'false', :optional => true
79
+ # boolean_node :local_market_auto_decline_enabled, 'LocalMarketAutoDeclineEnabled', 'true', 'false', :optional => true
80
+ # text_node :local_market_payment_method_check_out_enabled, 'LocalMarketPaymentMethodCheckOutEnabled', :optional => true
81
+ # boolean_node :local_market_shipping_method_enabled, 'LocalMarketShippingMethodEnabled', 'true', 'false', :optional => true
82
+ # boolean_node :local_market_counter_offer_enabled, 'LocalMarketCounterOfferEnabled', 'true', 'false', :optional => true
83
+ # boolean_node :local_market_seller_contact_details_enabled, 'LocalMarketSellerContactDetailsEnabled', 'true', 'false', :optional => true
84
+ # numeric_node :classified_ad_phone_count, 'ClassifiedAdPhoneCount', :optional => true
85
+ # boolean_node :classified_ad_contact_by_address_enabled, 'ClassifiedAdContactByAddressEnabled', 'true', 'false', :optional => true
86
+ # numeric_node :classified_ad_street_count, 'ClassifiedAdStreetCount', :optional => true
87
+ # boolean_node :classified_ad_company_name_enabled, 'ClassifiedAdCompanyNameEnabled', 'true', 'false', :optional => true
88
+ # text_node :speciality_subscription, 'SpecialitySubscription', :optional => true
89
+ # text_node :regular_subscription, 'RegularSubscription', :optional => true
90
+ # text_node :premium_subscription, 'PremiumSubscription', :optional => true
91
+ # text_node :non_subscription, 'NonSubscription', :optional => true
92
+ # text_node :in_escrow_workflow_timeline, 'INEscrowWorkflowTimeline', :optional => true
93
+ # boolean_node :paypal_required_for_store_owner, 'PayPalRequiredForStoreOwner', 'true', 'false', :optional => true
94
+ # boolean_node :revise_quantity_allowed, 'ReviseQuantityAllowed', 'true', 'false', :optional => true
95
+ # boolean_node :revise_price_allowed, 'RevisePriceAllowed', 'true', 'false', :optional => true
96
+ # boolean_node :store_owner_extended_listing_durations_enabled, 'StoreOwnerExtendedListingDurationsEnabled', 'true', 'false', :optional => true
97
+ # array_node :store_owner_extended_listing_durations, 'StoreOwnerExtendedListingDurations', :class => StoreOwnerExtendedListingDurations, :default_value => []
98
+ # boolean_node :return_policy_enabled, 'ReturnPolicyEnabled', 'true', 'false', :optional => true
99
+ # boolean_node :handling_time_enabled, 'HandlingTimeEnabled', 'true', 'false', :optional => true
100
+ # money_node :max_flat_shipping_cost, 'MaxFlatShippingCost', :optional => true
101
+ # money_node :group1_max_flat_shipping_cost, 'Group1MaxFlatShippingCost', :optional => true
102
+ # money_node :group2_max_flat_shipping_cost, 'Group2MaxFlatShippingCost', :optional => true
103
+ # money_node :group3_max_flat_shipping_cost, 'Group3MaxFlatShippingCost', :optional => true
104
+ # value_array_node :payment_methods, 'PaymentMethod', :default_value => []
44
105
  class CategoryFeature
45
106
  include XML::Mapping
46
107
  include Initializer
@@ -57,7 +118,6 @@ module Ebay # :nodoc:
57
118
  boolean_node :value_pack_enabled, 'ValuePackEnabled', 'true', 'false', :optional => true
58
119
  boolean_node :pro_pack_plus_enabled, 'ProPackPlusEnabled', 'true', 'false', :optional => true
59
120
  text_node :ad_format_enabled, 'AdFormatEnabled', :optional => true
60
- text_node :digital_delivery_enabled, 'DigitalDeliveryEnabled', :optional => true
61
121
  boolean_node :best_offer_counter_enabled, 'BestOfferCounterEnabled', 'true', 'false', :optional => true
62
122
  boolean_node :best_offer_auto_decline_enabled, 'BestOfferAutoDeclineEnabled', 'true', 'false', :optional => true
63
123
  boolean_node :local_market_speciality_subscription, 'LocalMarketSpecialitySubscription', 'true', 'false', :optional => true
@@ -83,6 +143,66 @@ module Ebay # :nodoc:
83
143
  boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
84
144
  boolean_node :classified_ad_pay_per_lead_enabled, 'ClassifiedAdPayPerLeadEnabled', 'true', 'false', :optional => true
85
145
  text_node :item_specifics_enabled, 'ItemSpecificsEnabled', :optional => true
146
+ boolean_node :paisa_pay_full_escrow_enabled, 'PaisaPayFullEscrowEnabled', 'true', 'false', :optional => true
147
+ boolean_node :classified_ad_auto_accept_enabled, 'ClassifiedAdAutoAcceptEnabled', 'true', 'false', :optional => true
148
+ boolean_node :best_offer_auto_accept_enabled, 'BestOfferAutoAcceptEnabled', 'true', 'false', :optional => true
149
+ boolean_node :cross_border_trade_north_america_enabled, 'CrossBorderTradeNorthAmericaEnabled', 'true', 'false', :optional => true
150
+ boolean_node :cross_border_trade_gb_enabled, 'CrossBorderTradeGBEnabled', 'true', 'false', :optional => true
151
+ boolean_node :cross_border_trade_australia_enabled, 'CrossBorderTradeAustraliaEnabled', 'true', 'false', :optional => true
152
+ boolean_node :paypal_buyer_protection_enabled, 'PayPalBuyerProtectionEnabled', 'true', 'false', :optional => true
153
+ boolean_node :buyer_guarantee_enabled, 'BuyerGuaranteeEnabled', 'true', 'false', :optional => true
154
+ boolean_node :combined_fixed_price_treatment_enabled, 'CombinedFixedPriceTreatmentEnabled', 'true', 'false', :optional => true
155
+ array_node :gallery_featured_durations, 'GalleryFeaturedDurations', :class => ListingEnhancementDurationReference, :default_value => []
156
+ boolean_node :paypal_required, 'PayPalRequired', 'true', 'false', :optional => true
157
+ text_node :ebay_motors_pro_ad_format_enabled, 'eBayMotorsProAdFormatEnabled', :optional => true
158
+ boolean_node :ebay_motors_pro_contact_by_phone_enabled, 'eBayMotorsProContactByPhoneEnabled', 'true', 'false', :optional => true
159
+ numeric_node :ebay_motors_pro_phone_count, 'eBayMotorsProPhoneCount', :optional => true
160
+ boolean_node :ebay_motors_pro_contact_by_address_enabled, 'eBayMotorsProContactByAddressEnabled', 'true', 'false', :optional => true
161
+ numeric_node :ebay_motors_pro_street_count, 'eBayMotorsProStreetCount', :optional => true
162
+ boolean_node :ebay_motors_pro_company_name_enabled, 'eBayMotorsProCompanyNameEnabled', 'true', 'false', :optional => true
163
+ boolean_node :ebay_motors_pro_contact_by_email_enabled, 'eBayMotorsProContactByEmailEnabled', 'true', 'false', :optional => true
164
+ text_node :ebay_motors_pro_best_offer_enabled, 'eBayMotorsProBestOfferEnabled', :optional => true
165
+ boolean_node :ebay_motors_pro_auto_accept_enabled, 'eBayMotorsProAutoAcceptEnabled', 'true', 'false', :optional => true
166
+ boolean_node :ebay_motors_pro_auto_decline_enabled, 'eBayMotorsProAutoDeclineEnabled', 'true', 'false', :optional => true
167
+ text_node :ebay_motors_pro_payment_method_check_out_enabled, 'eBayMotorsProPaymentMethodCheckOutEnabled', :optional => true
168
+ boolean_node :ebay_motors_pro_shipping_method_enabled, 'eBayMotorsProShippingMethodEnabled', 'true', 'false', :optional => true
169
+ boolean_node :ebay_motors_pro_counter_offer_enabled, 'eBayMotorsProCounterOfferEnabled', 'true', 'false', :optional => true
170
+ boolean_node :ebay_motors_pro_seller_contact_details_enabled, 'eBayMotorsProSellerContactDetailsEnabled', 'true', 'false', :optional => true
171
+ text_node :local_market_ad_format_enabled, 'LocalMarketAdFormatEnabled', :optional => true
172
+ boolean_node :local_market_contact_by_phone_enabled, 'LocalMarketContactByPhoneEnabled', 'true', 'false', :optional => true
173
+ numeric_node :local_market_phone_count, 'LocalMarketPhoneCount', :optional => true
174
+ boolean_node :local_market_contact_by_address_enabled, 'LocalMarketContactByAddressEnabled', 'true', 'false', :optional => true
175
+ numeric_node :local_market_street_count, 'LocalMarketStreetCount', :optional => true
176
+ boolean_node :local_market_company_name_enabled, 'LocalMarketCompanyNameEnabled', 'true', 'false', :optional => true
177
+ boolean_node :local_market_contact_by_email_enabled, 'LocalMarketContactByEmailEnabled', 'true', 'false', :optional => true
178
+ text_node :local_market_best_offer_enabled, 'LocalMarketBestOfferEnabled', :optional => true
179
+ boolean_node :local_market_auto_accept_enabled, 'LocalMarketAutoAcceptEnabled', 'true', 'false', :optional => true
180
+ boolean_node :local_market_auto_decline_enabled, 'LocalMarketAutoDeclineEnabled', 'true', 'false', :optional => true
181
+ text_node :local_market_payment_method_check_out_enabled, 'LocalMarketPaymentMethodCheckOutEnabled', :optional => true
182
+ boolean_node :local_market_shipping_method_enabled, 'LocalMarketShippingMethodEnabled', 'true', 'false', :optional => true
183
+ boolean_node :local_market_counter_offer_enabled, 'LocalMarketCounterOfferEnabled', 'true', 'false', :optional => true
184
+ boolean_node :local_market_seller_contact_details_enabled, 'LocalMarketSellerContactDetailsEnabled', 'true', 'false', :optional => true
185
+ numeric_node :classified_ad_phone_count, 'ClassifiedAdPhoneCount', :optional => true
186
+ boolean_node :classified_ad_contact_by_address_enabled, 'ClassifiedAdContactByAddressEnabled', 'true', 'false', :optional => true
187
+ numeric_node :classified_ad_street_count, 'ClassifiedAdStreetCount', :optional => true
188
+ boolean_node :classified_ad_company_name_enabled, 'ClassifiedAdCompanyNameEnabled', 'true', 'false', :optional => true
189
+ text_node :speciality_subscription, 'SpecialitySubscription', :optional => true
190
+ text_node :regular_subscription, 'RegularSubscription', :optional => true
191
+ text_node :premium_subscription, 'PremiumSubscription', :optional => true
192
+ text_node :non_subscription, 'NonSubscription', :optional => true
193
+ text_node :in_escrow_workflow_timeline, 'INEscrowWorkflowTimeline', :optional => true
194
+ boolean_node :paypal_required_for_store_owner, 'PayPalRequiredForStoreOwner', 'true', 'false', :optional => true
195
+ boolean_node :revise_quantity_allowed, 'ReviseQuantityAllowed', 'true', 'false', :optional => true
196
+ boolean_node :revise_price_allowed, 'RevisePriceAllowed', 'true', 'false', :optional => true
197
+ boolean_node :store_owner_extended_listing_durations_enabled, 'StoreOwnerExtendedListingDurationsEnabled', 'true', 'false', :optional => true
198
+ array_node :store_owner_extended_listing_durations, 'StoreOwnerExtendedListingDurations', :class => StoreOwnerExtendedListingDurations, :default_value => []
199
+ boolean_node :return_policy_enabled, 'ReturnPolicyEnabled', 'true', 'false', :optional => true
200
+ boolean_node :handling_time_enabled, 'HandlingTimeEnabled', 'true', 'false', :optional => true
201
+ money_node :max_flat_shipping_cost, 'MaxFlatShippingCost', :optional => true
202
+ money_node :group1_max_flat_shipping_cost, 'Group1MaxFlatShippingCost', :optional => true
203
+ money_node :group2_max_flat_shipping_cost, 'Group2MaxFlatShippingCost', :optional => true
204
+ money_node :group3_max_flat_shipping_cost, 'Group3MaxFlatShippingCost', :optional => true
205
+ value_array_node :payment_methods, 'PaymentMethod', :default_value => []
86
206
  end
87
207
  end
88
208
  end
@@ -0,0 +1,19 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Types # :nodoc:
4
+ # == Attributes
5
+ # text_node :charity_id, 'CharityID', :optional => true
6
+ # text_node :affiliation_type, 'AffiliationType', :optional => true
7
+ # time_node :last_used_time, 'LastUsedTime', :optional => true
8
+ class CharityAffiliationDetail
9
+ include XML::Mapping
10
+ include Initializer
11
+ root_element_name 'CharityAffiliationDetail'
12
+ text_node :charity_id, 'CharityID', :optional => true
13
+ text_node :affiliation_type, 'AffiliationType', :optional => true
14
+ time_node :last_used_time, 'LastUsedTime', :optional => true
15
+ end
16
+ end
17
+ end
18
+
19
+
@@ -10,6 +10,9 @@ module Ebay # :nodoc:
10
10
  # numeric_node :charity_region, 'CharityRegion', :optional => true
11
11
  # numeric_node :charity_domain, 'CharityDomain', :optional => true
12
12
  # text_node :charity_id, 'CharityID', :optional => true
13
+ # text_node :logo_url_selling, 'LogoURLSelling', :optional => true
14
+ # boolean_node :display_logo_selling, 'DisplayLogoSelling', 'true', 'false', :optional => true
15
+ # boolean_node :display_name_in_checkout, 'DisplayNameInCheckout', 'true', 'false', :optional => true
13
16
  # text_node :id, '@id', :optional => true
14
17
  class CharityInfo
15
18
  include XML::Mapping
@@ -23,6 +26,9 @@ module Ebay # :nodoc:
23
26
  numeric_node :charity_region, 'CharityRegion', :optional => true
24
27
  numeric_node :charity_domain, 'CharityDomain', :optional => true
25
28
  text_node :charity_id, 'CharityID', :optional => true
29
+ text_node :logo_url_selling, 'LogoURLSelling', :optional => true
30
+ boolean_node :display_logo_selling, 'DisplayLogoSelling', 'true', 'false', :optional => true
31
+ boolean_node :display_name_in_checkout, 'DisplayNameInCheckout', 'true', 'false', :optional => true
26
32
  text_node :id, '@id', :optional => true
27
33
  end
28
34
  end
@@ -5,12 +5,14 @@ module Ebay # :nodoc:
5
5
  # == Attributes
6
6
  # text_node :charity_seller_status, 'CharitySellerStatus', :optional => true
7
7
  # array_node :charity_affiliations, 'CharityAffiliation', :class => CharityAffiliation, :default_value => []
8
+ # boolean_node :terms_and_conditions_accepted, 'TermsAndConditionsAccepted', 'true', 'false', :optional => true
8
9
  class CharitySeller
9
10
  include XML::Mapping
10
11
  include Initializer
11
12
  root_element_name 'CharitySeller'
12
13
  text_node :charity_seller_status, 'CharitySellerStatus', :optional => true
13
14
  array_node :charity_affiliations, 'CharityAffiliation', :class => CharityAffiliation, :default_value => []
15
+ boolean_node :terms_and_conditions_accepted, 'TermsAndConditionsAccepted', 'true', 'false', :optional => true
14
16
  end
15
17
  end
16
18
  end