ebayapi 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +42 -29
- data/MIT-LICENSE +1 -1
- data/README +1 -1
- data/Rakefile +4 -3
- data/examples/add_item.rb +46 -11
- data/examples/config.rb +6 -0
- data/examples/end_item.rb +0 -0
- data/examples/get_api_usage.rb +0 -0
- data/examples/get_attributes_xsl.rb +0 -0
- data/examples/get_ebay_details.rb +0 -0
- data/examples/get_ebay_time.rb +0 -0
- data/examples/get_ebay_time_raw.rb +0 -0
- data/examples/get_item.rb +0 -0
- data/examples/get_item_transactions.rb +0 -0
- data/examples/get_items_selling.rb +0 -0
- data/examples/get_my_messages.rb +0 -0
- data/examples/get_my_messages_folders.rb +0 -0
- data/examples/get_notification_preferences.rb +0 -0
- data/examples/get_notifications_usage.rb +0 -0
- data/examples/get_product_finder_xsl.rb +0 -0
- data/examples/get_search_results.rb +0 -0
- data/examples/get_user.rb +0 -0
- data/examples/mark_my_messages_message_as_read.rb +0 -0
- data/examples/revise_item.rb +0 -0
- data/examples/set_notification_preferences.rb +0 -0
- data/examples/verify_add_item.rb +0 -0
- data/lib/ebay/api.rb +5 -1
- data/lib/ebay/api_methods.rb +279 -79
- data/lib/ebay/request/base.rb +3 -3
- data/lib/ebay/request/connection.rb +4 -7
- data/lib/ebay/requests.rb +36 -11
- data/lib/ebay/requests/abstract.rb +2 -0
- data/lib/ebay/requests/add_item_from_selling_manager_template.rb +20 -0
- data/lib/ebay/requests/add_items.rb +16 -0
- data/lib/ebay/requests/add_selling_manager_inventory_folder.rb +19 -0
- data/lib/ebay/requests/add_selling_manager_product.rb +18 -0
- data/lib/ebay/requests/add_selling_manager_template.rb +20 -0
- data/lib/ebay/requests/complete_sale.rb +5 -0
- data/lib/ebay/requests/confirm_identity.rb +15 -0
- data/lib/ebay/requests/delete_selling_manager_inventory_folder.rb +15 -0
- data/lib/ebay/requests/delete_selling_manager_item_automation_rule.rb +19 -0
- data/lib/ebay/requests/delete_selling_manager_product.rb +15 -0
- data/lib/ebay/requests/delete_selling_manager_template.rb +15 -0
- data/lib/ebay/requests/delete_selling_manager_template_automation_rule.rb +21 -0
- data/lib/ebay/requests/end_items.rb +16 -0
- data/lib/ebay/requests/fetch_token.rb +2 -0
- data/lib/ebay/requests/get_account.rb +2 -0
- data/lib/ebay/requests/get_ad_format_leads.rb +4 -0
- data/lib/ebay/requests/get_attributes_cs.rb +0 -2
- data/lib/ebay/requests/get_category_listings.rb +2 -0
- data/lib/ebay/requests/get_charities.rb +2 -0
- data/lib/ebay/requests/{get_live_auction_catalog_details.rb → get_client_alerts_auth_token.rb} +2 -2
- data/lib/ebay/requests/get_feedback.rb +10 -2
- data/lib/ebay/requests/get_item.rb +4 -2
- data/lib/ebay/requests/get_item_transactions.rb +2 -0
- data/lib/ebay/requests/get_my_ebay_buying.rb +6 -0
- data/lib/ebay/requests/get_my_ebay_selling.rb +8 -0
- data/lib/ebay/requests/get_my_messages.rb +2 -0
- data/lib/ebay/requests/get_order_transactions.rb +2 -0
- data/lib/ebay/requests/get_products.rb +2 -0
- data/lib/ebay/requests/get_search_results.rb +2 -2
- data/lib/ebay/requests/get_seller_dashboard.rb +13 -0
- data/lib/ebay/requests/get_seller_list.rb +4 -0
- data/lib/ebay/requests/get_seller_transactions.rb +4 -0
- data/lib/ebay/requests/get_selling_manager_alerts.rb +13 -0
- data/lib/ebay/requests/get_selling_manager_email_log.rb +22 -0
- data/lib/ebay/requests/get_selling_manager_inventory.rb +29 -0
- data/lib/ebay/requests/get_selling_manager_inventory_folder.rb +19 -0
- data/lib/ebay/requests/get_selling_manager_item_automation_rule.rb +15 -0
- data/lib/ebay/requests/get_selling_manager_sale_record.rb +19 -0
- data/lib/ebay/requests/get_selling_manager_sold_listings.rb +32 -0
- data/lib/ebay/requests/get_selling_manager_template_automation_rule.rb +15 -0
- data/lib/ebay/requests/get_selling_manager_templates.rb +15 -0
- data/lib/ebay/{responses/get_ru_name.rb → requests/get_session_id.rb} +3 -3
- data/lib/ebay/requests/{get_return_url.rb → get_token_status.rb} +2 -2
- data/lib/ebay/requests/get_user_preferences.rb +2 -0
- data/lib/ebay/requests/move_selling_manager_inventory_folder.rb +17 -0
- data/lib/ebay/requests/revise_checkout_status.rb +2 -0
- data/lib/ebay/requests/revise_inventory_status.rb +16 -0
- data/lib/ebay/requests/revise_selling_manager_inventory_folder.rb +16 -0
- data/lib/ebay/requests/revise_selling_manager_product.rb +21 -0
- data/lib/ebay/requests/revise_selling_manager_sale_record.rb +22 -0
- data/lib/ebay/requests/revise_selling_manager_template.rb +26 -0
- data/lib/ebay/requests/revoke_token.rb +15 -0
- data/lib/ebay/requests/save_item_to_selling_manager_template.rb +19 -0
- data/lib/ebay/requests/send_invoice.rb +4 -0
- data/lib/ebay/requests/set_notification_preferences.rb +2 -0
- data/lib/ebay/requests/set_promotional_sale_listings.rb +2 -0
- data/lib/ebay/requests/set_selling_manager_feedback_options.rb +18 -0
- data/lib/ebay/requests/set_selling_manager_item_automation_rule.rb +21 -0
- data/lib/ebay/requests/set_selling_manager_template_automation_rule.rb +24 -0
- data/lib/ebay/requests/set_user_notes.rb +2 -0
- data/lib/ebay/requests/set_user_preferences.rb +2 -3
- data/lib/ebay/requests/upload_site_hosted_pictures.rb +4 -0
- data/lib/ebay/responses.rb +36 -11
- data/lib/ebay/responses/abstract.rb +2 -0
- data/lib/ebay/responses/{add_live_auction_item.rb → add_item_from_selling_manager_template.rb} +6 -2
- data/lib/ebay/responses/add_items.rb +16 -0
- data/lib/ebay/responses/add_selling_manager_inventory_folder.rb +15 -0
- data/lib/ebay/responses/add_selling_manager_product.rb +16 -0
- data/lib/ebay/responses/add_selling_manager_template.rb +29 -0
- data/lib/ebay/responses/confirm_identity.rb +15 -0
- data/lib/ebay/responses/delete_selling_manager_inventory_folder.rb +13 -0
- data/lib/ebay/responses/delete_selling_manager_item_automation_rule.rb +25 -0
- data/lib/ebay/responses/delete_selling_manager_product.rb +16 -0
- data/lib/ebay/responses/delete_selling_manager_template.rb +17 -0
- data/lib/ebay/responses/delete_selling_manager_template_automation_rule.rb +25 -0
- data/lib/ebay/responses/end_items.rb +16 -0
- data/lib/ebay/responses/get_category_listings.rb +2 -0
- data/lib/ebay/responses/get_client_alerts_auth_token.rb +17 -0
- data/lib/ebay/responses/get_ebay_details.rb +15 -0
- data/lib/ebay/responses/get_feedback.rb +7 -0
- data/lib/ebay/responses/get_my_ebay_buying.rb +4 -0
- data/lib/ebay/responses/get_my_ebay_selling.rb +6 -0
- data/lib/ebay/responses/get_notification_preferences.rb +2 -0
- data/lib/ebay/responses/get_products.rb +2 -0
- data/lib/ebay/responses/get_search_results.rb +2 -0
- data/lib/ebay/responses/get_seller_dashboard.rb +31 -0
- data/lib/ebay/responses/get_selling_manager_alerts.rb +16 -0
- data/lib/ebay/responses/get_selling_manager_email_log.rb +16 -0
- data/lib/ebay/responses/get_selling_manager_inventory.rb +21 -0
- data/lib/ebay/responses/get_selling_manager_inventory_folder.rb +16 -0
- data/lib/ebay/responses/get_selling_manager_item_automation_rule.rb +25 -0
- data/lib/ebay/responses/get_selling_manager_sale_record.rb +16 -0
- data/lib/ebay/responses/get_selling_manager_sold_listings.rb +19 -0
- data/lib/ebay/responses/get_selling_manager_template_automation_rule.rb +25 -0
- data/lib/ebay/responses/get_selling_manager_templates.rb +16 -0
- data/lib/ebay/responses/get_session_id.rb +15 -0
- data/lib/ebay/responses/get_token_status.rb +16 -0
- data/lib/ebay/responses/get_user_preferences.rb +2 -3
- data/lib/ebay/responses/items_canceled_event.rb +19 -0
- data/lib/ebay/responses/move_selling_manager_inventory_folder.rb +13 -0
- data/lib/ebay/responses/place_offer.rb +5 -0
- data/lib/ebay/responses/revise_inventory_status.rb +16 -0
- data/lib/ebay/responses/revise_selling_manager_inventory_folder.rb +16 -0
- data/lib/ebay/responses/revise_selling_manager_product.rb +16 -0
- data/lib/ebay/responses/revise_selling_manager_sale_record.rb +13 -0
- data/lib/ebay/responses/revise_selling_manager_template.rb +29 -0
- data/lib/ebay/responses/{set_return_url.rb → revoke_token.rb} +2 -2
- data/lib/ebay/responses/save_item_to_selling_manager_template.rb +15 -0
- data/lib/ebay/responses/set_selling_manager_feedback_options.rb +13 -0
- data/lib/ebay/responses/set_selling_manager_item_automation_rule.rb +25 -0
- data/lib/ebay/responses/set_selling_manager_template_automation_rule.rb +25 -0
- data/lib/ebay/schema/ebaySvc.xsd +110905 -0
- data/lib/ebay/schema/version.rb +1 -1
- data/lib/ebay/types.rb +51 -9
- data/lib/ebay/types/account_detail_entry_code.rb +8 -0
- data/lib/ebay/types/ad_format_lead.rb +16 -8
- data/lib/ebay/{requests/add_live_auction_item.rb → types/add_item_request_container.rb} +5 -3
- data/lib/ebay/types/add_item_response_container.rb +33 -0
- data/lib/ebay/types/address.rb +6 -0
- data/lib/ebay/types/announcement_message.rb +19 -0
- data/lib/ebay/types/announcement_message_code.rb +13 -0
- data/lib/ebay/types/application_delivery_preferences.rb +5 -0
- data/lib/ebay/types/automated_leave_feedback_event_code.rb +12 -0
- data/lib/ebay/types/average_rating_summary.rb +18 -0
- data/lib/ebay/types/best_offer_auto_accept_enabled_definition.rb +13 -0
- data/lib/ebay/types/bid_action_code.rb +4 -0
- data/lib/ebay/types/bid_approval_array.rb +0 -3
- data/lib/ebay/types/bidder_detail.rb +2 -3
- data/lib/ebay/types/business_seller_details.rb +31 -0
- data/lib/ebay/types/{digital_delivery_enabled_definition.rb → buyer_guarantee_enabled_definition.rb} +2 -2
- data/lib/ebay/types/buyer_payment_method_code.rb +7 -0
- data/lib/ebay/types/buyer_protection_code.rb +1 -0
- data/lib/ebay/types/{buyer_requirements.rb → buyer_requirement_details.rb} +8 -4
- data/lib/ebay/types/buyer_role_metrics.rb +21 -0
- data/lib/ebay/types/buyer_satisfaction_dashboard.rb +18 -0
- data/lib/ebay/types/buyer_satisfaction_status_code.rb +15 -0
- data/lib/ebay/types/calculated_shipping_rate.rb +2 -0
- data/lib/ebay/types/catalog_product.rb +2 -0
- data/lib/ebay/types/category_feature.rb +122 -2
- data/lib/ebay/types/charity_affiliation_detail.rb +19 -0
- data/lib/ebay/types/charity_info.rb +6 -0
- data/lib/ebay/types/charity_seller.rb +2 -0
- data/lib/ebay/types/charity_seller_status_code.rb +2 -0
- data/lib/ebay/types/checkout_status.rb +2 -0
- data/lib/ebay/types/classified_ad_auto_accept_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_company_name_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_contact_by_address_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_phone_count_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_street_count_definition.rb +13 -0
- data/lib/ebay/types/combined_fixed_price_treatment_enabled_definition.rb +13 -0
- data/lib/ebay/types/cost_group_flat_code.rb +12 -0
- data/lib/ebay/types/country_code.rb +2 -0
- data/lib/ebay/types/cross_border_trade_australia_enabled_definition.rb +13 -0
- data/lib/ebay/types/cross_border_trade_gb_enabled_definition.rb +13 -0
- data/lib/ebay/types/cross_border_trade_north_america_enabled_definition.rb +13 -0
- data/lib/ebay/types/day_of_week_code.rb +16 -0
- data/lib/ebay/types/delivery_url_detail.rb +19 -0
- data/lib/ebay/types/detail_name_code.rb +5 -0
- data/lib/ebay/types/device_type_code.rb +1 -0
- data/lib/ebay/types/dispute_record_type_code.rb +1 -0
- data/lib/ebay/types/ebay_motors_pro_ad_format_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_auto_accept_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_auto_decline_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_best_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_company_name_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_contact_by_address_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_contact_by_email_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_contact_by_phone_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_counter_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_payment_method_check_out_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_phone_count_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_seller_contact_details_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_shipping_method_enabled_definition.rb +13 -0
- data/lib/ebay/types/ebay_motors_pro_street_count_definition.rb +13 -0
- data/lib/ebay/types/end_item_request_container.rb +19 -0
- data/lib/ebay/types/end_item_response_container.rb +20 -0
- data/lib/ebay/types/express_item_requirements.rb +0 -2
- data/lib/ebay/types/express_product.rb +4 -0
- data/lib/ebay/types/feature_definitions.rb +183 -3
- data/lib/ebay/types/feature_id_code.rb +54 -0
- data/lib/ebay/types/fee.rb +4 -0
- data/lib/ebay/types/feedback_comment_array.rb +15 -0
- data/lib/ebay/types/feedback_detail.rb +2 -0
- data/lib/ebay/types/feedback_summary.rb +11 -3
- data/lib/ebay/types/feedback_summary_period_code.rb +11 -0
- data/lib/ebay/types/feedback_type_code.rb +13 -0
- data/lib/ebay/types/geographic_exposure_code.rb +12 -0
- data/lib/ebay/types/group1_max_flat_shipping_cost_definition.rb +13 -0
- data/lib/ebay/types/group2_max_flat_shipping_cost_definition.rb +13 -0
- data/lib/ebay/types/group3_max_flat_shipping_cost_definition.rb +13 -0
- data/lib/ebay/types/handling_time_enabled_definition.rb +13 -0
- data/lib/ebay/types/in_escrow_workflow_timeline_code.rb +12 -0
- data/lib/ebay/types/in_escrow_workflow_timeline_definition.rb +13 -0
- data/lib/ebay/types/integrated_merchant_credit_card_info.rb +15 -0
- data/lib/ebay/types/inventory_status.rb +21 -0
- data/lib/ebay/types/{express_detail_level_code.rb → inventory_tracking_method_code.rb} +3 -4
- data/lib/ebay/types/item.rb +30 -18
- data/lib/ebay/types/item_policy_violation.rb +17 -0
- data/lib/ebay/types/item_transaction_id.rb +2 -0
- data/lib/ebay/types/item_type_code.rb +19 -0
- data/lib/ebay/types/listing_details.rb +2 -5
- data/lib/ebay/types/listing_enhancement_duration_code.rb +60 -0
- data/lib/ebay/types/listing_enhancement_duration_definition.rb +13 -0
- data/lib/ebay/types/listing_enhancement_duration_reference.rb +15 -0
- data/lib/ebay/types/listing_start_price_details.rb +19 -0
- data/lib/ebay/types/{listing_subtype_enum.rb → listing_subtype_code.rb} +2 -1
- data/lib/ebay/types/listing_type_code.rb +1 -0
- data/lib/ebay/types/local_market_ad_format_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_auto_accept_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_auto_decline_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_best_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_company_name_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_contact_by_address_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_contact_by_email_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_contact_by_phone_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_counter_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_payment_method_check_out_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_phone_count_definition.rb +13 -0
- data/lib/ebay/types/local_market_seller_contact_details_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_shipping_method_enabled_definition.rb +13 -0
- data/lib/ebay/types/local_market_street_count_definition.rb +13 -0
- data/lib/ebay/types/max_flat_shipping_cost_cbt_exempt_definition.rb +13 -0
- data/lib/ebay/types/max_flat_shipping_cost_definition.rb +13 -0
- data/lib/ebay/types/maximum_buyer_policy_violations.rb +17 -0
- data/lib/ebay/types/maximum_unpaid_item_strikes_info.rb +17 -0
- data/lib/ebay/types/my_ebay_favorite_search.rb +50 -0
- data/lib/ebay/types/my_messages_external_message_id_array.rb +15 -0
- data/lib/ebay/types/my_messages_message.rb +8 -0
- data/lib/ebay/types/non_subscription_definition.rb +13 -0
- data/lib/ebay/types/notification_details.rb +2 -0
- data/lib/ebay/types/notification_event_type_code.rb +20 -0
- data/lib/ebay/types/notification_user_data.rb +2 -0
- data/lib/ebay/types/offer.rb +4 -0
- data/lib/ebay/types/order.rb +6 -2
- data/lib/ebay/types/paid_status_code.rb +6 -0
- data/lib/ebay/types/paisa_pay_full_escrow_enabled_definition.rb +13 -0
- data/lib/ebay/types/payment_hold_status_code.rb +13 -0
- data/lib/ebay/types/payment_method_definition.rb +13 -0
- data/lib/ebay/types/payment_method_search_code.rb +1 -0
- data/lib/ebay/types/paypal_buyer_protection_enabled_definition.rb +13 -0
- data/lib/ebay/types/paypal_required_definition.rb +13 -0
- data/lib/ebay/types/paypal_required_for_store_owner_definition.rb +13 -0
- data/lib/ebay/types/period_code.rb +14 -0
- data/lib/ebay/types/picture_details.rb +2 -0
- data/lib/ebay/types/picture_upload_policy_code.rb +11 -0
- data/lib/ebay/types/policy_compliance_dashboard.rb +18 -0
- data/lib/ebay/types/policy_compliance_status_code.rb +13 -0
- data/lib/ebay/types/power_seller_dashboard.rb +18 -0
- data/lib/ebay/types/preferred_location_code.rb +14 -0
- data/lib/ebay/types/premium_subscription_definition.rb +13 -0
- data/lib/ebay/types/product_info.rb +2 -0
- data/lib/ebay/types/product_state_code.rb +14 -0
- data/lib/ebay/types/promotional_sale.rb +2 -0
- data/lib/ebay/types/promotional_sale_type_code.rb +12 -0
- data/lib/ebay/types/question_type_code.rb +1 -0
- data/lib/ebay/types/refund_details.rb +17 -0
- data/lib/ebay/types/refund_options_code.rb +12 -0
- data/lib/ebay/types/region_of_origin_details.rb +19 -0
- data/lib/ebay/types/regular_subscription_definition.rb +13 -0
- data/lib/ebay/types/reminders.rb +20 -0
- data/lib/ebay/types/return_policy.rb +45 -0
- data/lib/ebay/types/return_policy_details.rb +38 -0
- data/lib/ebay/types/return_policy_enabled_definition.rb +13 -0
- data/lib/ebay/types/returns_accepted_details.rb +17 -0
- data/lib/ebay/types/returns_accepted_options_code.rb +11 -0
- data/lib/ebay/types/returns_within_details.rb +17 -0
- data/lib/ebay/types/returns_within_options_code.rb +15 -0
- data/lib/ebay/types/revise_price_allowed_definition.rb +13 -0
- data/lib/ebay/types/revise_quantity_allowed_definition.rb +13 -0
- data/lib/ebay/types/search_flag_code.rb +20 -0
- data/lib/ebay/types/{live_auction_approval_status.rb → search_standing_dashboard.rb} +2 -4
- data/lib/ebay/types/search_standing_status_code.rb +12 -0
- data/lib/ebay/types/seller.rb +12 -9
- data/lib/ebay/types/seller_account_dashboard.rb +18 -0
- data/lib/ebay/types/seller_account_status_code.rb +12 -0
- data/lib/ebay/types/seller_dashboard_alert.rb +17 -0
- data/lib/ebay/types/seller_dashboard_alert_severity_code.rb +12 -0
- data/lib/ebay/types/seller_fee_discount_dashboard.rb +15 -0
- data/lib/ebay/types/seller_payment_method_code.rb +1 -0
- data/lib/ebay/types/seller_role_metrics.rb +33 -0
- data/lib/ebay/types/selling_manager_alert.rb +29 -0
- data/lib/ebay/types/selling_manager_alert_type_code.rb +14 -0
- data/lib/ebay/types/selling_manager_auto_list.rb +21 -0
- data/lib/ebay/types/selling_manager_auto_list_according_to_schedule.rb +27 -0
- data/lib/ebay/types/selling_manager_auto_list_min_active_items.rb +23 -0
- data/lib/ebay/types/selling_manager_auto_relist.rb +36 -0
- data/lib/ebay/types/selling_manager_auto_relist_option_code.rb +12 -0
- data/lib/ebay/types/selling_manager_auto_relist_type_code.rb +12 -0
- data/lib/ebay/types/selling_manager_auto_second_chance_offer.rb +23 -0
- data/lib/ebay/types/selling_manager_auto_second_chance_offer_type_code.rb +12 -0
- data/lib/ebay/types/selling_manager_automation_property_type_code.rb +12 -0
- data/lib/ebay/types/selling_manager_email_log.rb +21 -0
- data/lib/ebay/types/selling_manager_email_sent_status_code.rb +12 -0
- data/lib/ebay/types/selling_manager_email_type_code.rb +38 -0
- data/lib/ebay/types/selling_manager_folder_details.rb +28 -0
- data/lib/ebay/types/selling_manager_general_property_type_code.rb +12 -0
- data/lib/ebay/types/selling_manager_inventory_property_type_code.rb +15 -0
- data/lib/ebay/types/selling_manager_order_status.rb +45 -0
- data/lib/ebay/types/selling_manager_paid_status_code.rb +14 -0
- data/lib/ebay/types/selling_manager_paisa_pay_property_type_code.rb +14 -0
- data/lib/ebay/types/selling_manager_product.rb +22 -0
- data/lib/ebay/types/selling_manager_product_details.rb +13 -6
- data/lib/ebay/types/selling_manager_product_inventory_status.rb +25 -0
- data/lib/ebay/types/selling_manager_product_sort_code.rb +21 -0
- data/lib/ebay/types/selling_manager_search.rb +17 -0
- data/lib/ebay/types/selling_manager_search_type_code.rb +18 -0
- data/lib/ebay/types/selling_manager_shipped_status_code.rb +11 -0
- data/lib/ebay/types/selling_manager_sold_listings_property_type_code.rb +58 -0
- data/lib/ebay/types/selling_manager_sold_listings_sort_type_code.rb +30 -0
- data/lib/ebay/types/selling_manager_sold_order.rb +74 -0
- data/lib/ebay/types/selling_manager_sold_transaction.rb +52 -0
- data/lib/ebay/types/selling_manager_template_details.rb +25 -0
- data/lib/ebay/types/selling_manager_vendor_details.rb +17 -0
- data/lib/ebay/types/selling_status.rb +2 -0
- data/lib/ebay/types/shipment.rb +2 -0
- data/lib/ebay/types/shipment_delivery_status_code.rb +3 -0
- data/lib/ebay/types/shipping_carrier_code.rb +1 -0
- data/lib/ebay/types/shipping_carrier_details.rb +19 -0
- data/lib/ebay/types/shipping_cost_paid_by_details.rb +17 -0
- data/lib/ebay/types/shipping_cost_paid_by_options_code.rb +11 -0
- data/lib/ebay/types/shipping_details.rb +2 -0
- data/lib/ebay/types/shipping_package_details.rb +23 -0
- data/lib/ebay/types/shipping_service_code.rb +92 -0
- data/lib/ebay/types/shipping_service_details.rb +16 -0
- data/lib/ebay/types/shipping_service_options.rb +2 -0
- data/lib/ebay/types/shipping_service_package_details.rb +17 -0
- data/lib/ebay/types/shipping_type_code.rb +1 -0
- data/lib/ebay/types/simple_item_sort_code.rb +18 -0
- data/lib/ebay/types/site_defaults.rb +124 -2
- data/lib/ebay/types/speciality_subscription_definition.rb +13 -0
- data/lib/ebay/types/{transaction_platform.rb → status_code.rb} +3 -3
- data/lib/ebay/types/store_item_list_sort_order_code.rb +2 -0
- data/lib/ebay/types/store_owner_extended_listing_durations.rb +15 -0
- data/lib/ebay/types/store_owner_extended_listing_durations_definition.rb +13 -0
- data/lib/ebay/types/store_owner_extended_listing_durations_enabled_definition.rb +13 -0
- data/lib/ebay/types/time_range.rb +17 -0
- data/lib/ebay/types/token_status.rb +21 -0
- data/lib/ebay/types/token_status_code.rb +15 -0
- data/lib/ebay/types/transaction.rb +8 -2
- data/lib/ebay/types/transaction_platform_code.rb +1 -0
- data/lib/ebay/types/transaction_status.rb +4 -0
- data/lib/ebay/types/unit_code.rb +2 -0
- data/lib/ebay/types/unpaid_item_status_type_code.rb +16 -0
- data/lib/ebay/types/user.rb +6 -3
- data/lib/ebay/types/user_status_code.rb +1 -0
- data/lib/ebay/types/vat_details.rb +4 -0
- data/lib/ebay/types/vat_rate.rb +19 -0
- data/lib/ebay/types/warranty_duration_details.rb +17 -0
- data/lib/ebay/types/warranty_duration_options_code.rb +16 -0
- data/lib/ebay/types/{condition_selection_code.rb → warranty_offered_code.rb} +2 -3
- data/lib/ebay/types/warranty_offered_details.rb +17 -0
- data/lib/ebay/types/warranty_type_details.rb +17 -0
- data/lib/ebay/types/warranty_type_options_code.rb +12 -0
- data/lib/ebay/types/wish_list_entry.rb +27 -0
- data/test/unit/notifications_test.rb +0 -1
- data/test/unit/xml_mapping_money_node_test.rb +16 -1
- metadata +328 -116
- data/lib/ebay/requests/approve_live_auction_bidders.rb +0 -22
- data/lib/ebay/requests/get_cart.rb +0 -21
- data/lib/ebay/requests/get_live_auction_bidders.rb +0 -20
- data/lib/ebay/requests/get_ru_name.rb +0 -15
- data/lib/ebay/requests/get_search_results_express.rb +0 -56
- data/lib/ebay/requests/revise_live_auction_item.rb +0 -18
- data/lib/ebay/requests/set_cart.rb +0 -27
- data/lib/ebay/requests/set_return_url.rb +0 -20
- data/lib/ebay/responses/approve_live_auction_bidders.rb +0 -16
- data/lib/ebay/responses/get_cart.rb +0 -16
- data/lib/ebay/responses/get_live_auction_bidders.rb +0 -27
- data/lib/ebay/responses/get_live_auction_catalog_details.rb +0 -16
- data/lib/ebay/responses/get_return_url.rb +0 -18
- data/lib/ebay/responses/get_search_results_express.rb +0 -28
- data/lib/ebay/responses/revise_live_auction_item.rb +0 -22
- data/lib/ebay/responses/set_cart.rb +0 -16
- data/lib/ebay/types/authentication_entry.rb +0 -23
- data/lib/ebay/types/cart.rb +0 -35
- data/lib/ebay/types/checkout_complete_redirect.rb +0 -17
- data/lib/ebay/types/digital_delivery_details.rb +0 -21
- data/lib/ebay/types/digital_delivery_enabled_code.rb +0 -12
- data/lib/ebay/types/digital_delivery_method_code.rb +0 -12
- data/lib/ebay/types/domain_histogram.rb +0 -16
- data/lib/ebay/types/express_histogram_sort_code.rb +0 -12
- data/lib/ebay/types/express_item_sort_code.rb +0 -12
- data/lib/ebay/types/express_product_sort_code.rb +0 -12
- data/lib/ebay/types/live_auction_approval_status_array.rb +0 -16
- data/lib/ebay/types/live_auction_bid.rb +0 -21
- data/lib/ebay/types/live_auction_bid_array.rb +0 -16
- data/lib/ebay/types/live_auction_catalog.rb +0 -20
- data/lib/ebay/types/live_auction_details.rb +0 -23
- data/rakefile +0 -148
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'ebay/types/bid_approval'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Requests # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# numeric_node :user_catalog_id, 'UserCatalogID', :optional => true
|
7
|
-
# array_node :bid_approvals, 'BidApproval', 'LiveAuctionBid', :class => BidApproval, :default_value => []
|
8
|
-
# boolean_node :approve_all_pending, 'ApproveAllPending', 'true', 'false', :optional => true
|
9
|
-
# money_node :all_approved_bidding_limit, 'AllApprovedBiddingLimit', :optional => true
|
10
|
-
class ApproveLiveAuctionBidders < Abstract
|
11
|
-
include XML::Mapping
|
12
|
-
include Initializer
|
13
|
-
root_element_name 'ApproveLiveAuctionBiddersRequest'
|
14
|
-
numeric_node :user_catalog_id, 'UserCatalogID', :optional => true
|
15
|
-
array_node :bid_approvals, 'BidApproval', 'LiveAuctionBid', :class => BidApproval, :default_value => []
|
16
|
-
boolean_node :approve_all_pending, 'ApproveAllPending', 'true', 'false', :optional => true
|
17
|
-
money_node :all_approved_bidding_limit, 'AllApprovedBiddingLimit', :optional => true
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'ebay/types/affiliate_tracking_details'
|
2
|
-
require 'ebay/types/address'
|
3
|
-
|
4
|
-
module Ebay # :nodoc:
|
5
|
-
module Requests # :nodoc:
|
6
|
-
# == Attributes
|
7
|
-
# object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
8
|
-
# numeric_node :cart_id, 'CartID', :optional => true
|
9
|
-
# object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
10
|
-
class GetCart < Abstract
|
11
|
-
include XML::Mapping
|
12
|
-
include Initializer
|
13
|
-
root_element_name 'GetCartRequest'
|
14
|
-
object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
15
|
-
numeric_node :cart_id, 'CartID', :optional => true
|
16
|
-
object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'ebay/types/pagination'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Requests # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# numeric_node :user_catalog_id, 'UserCatalogID', :optional => true
|
7
|
-
# value_array_node :bidder_statuses, 'BidderStatus', :default_value => []
|
8
|
-
# object_node :pagination, 'Pagination', :class => Pagination, :optional => true
|
9
|
-
class GetLiveAuctionBidders < Abstract
|
10
|
-
include XML::Mapping
|
11
|
-
include Initializer
|
12
|
-
root_element_name 'GetLiveAuctionBiddersRequest'
|
13
|
-
numeric_node :user_catalog_id, 'UserCatalogID', :optional => true
|
14
|
-
value_array_node :bidder_statuses, 'BidderStatus', :default_value => []
|
15
|
-
object_node :pagination, 'Pagination', :class => Pagination, :optional => true
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
module Ebay # :nodoc:
|
3
|
-
module Requests # :nodoc:
|
4
|
-
# == Attributes
|
5
|
-
# text_node :client_use_case, 'ClientUseCase', :optional => true
|
6
|
-
class GetRuName < Abstract
|
7
|
-
include XML::Mapping
|
8
|
-
include Initializer
|
9
|
-
root_element_name 'GetRuNameRequest'
|
10
|
-
text_node :client_use_case, 'ClientUseCase', :optional => true
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
|
@@ -1,56 +0,0 @@
|
|
1
|
-
require 'ebay/types/affiliate_tracking_details'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Requests # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# text_node :query, 'Query', :optional => true
|
7
|
-
# text_node :external_product_id_type, 'ExternalProductIDType', :optional => true
|
8
|
-
# text_node :external_product_id_value, 'ExternalProductIDValue', :optional => true
|
9
|
-
# numeric_node :product_reference_id, 'ProductReferenceID', :optional => true
|
10
|
-
# text_node :department_name, 'DepartmentName', :optional => true
|
11
|
-
# text_node :aisle_name, 'AisleName', :optional => true
|
12
|
-
# text_node :product_type_name, 'ProductTypeName', :optional => true
|
13
|
-
# text_node :histogram_sort, 'HistogramSort', :optional => true
|
14
|
-
# text_node :item_sort, 'ItemSort', :optional => true
|
15
|
-
# text_node :product_sort, 'ProductSort', :optional => true
|
16
|
-
# money_node :highest_price, 'HighestPrice', :optional => true
|
17
|
-
# money_node :lowest_price, 'LowestPrice', :optional => true
|
18
|
-
# text_node :condition, 'Condition', :optional => true
|
19
|
-
# text_node :seller_id, 'SellerID', :optional => true
|
20
|
-
# text_node :postal_code, 'PostalCode', :optional => true
|
21
|
-
# text_node :histogram_details, 'HistogramDetails', :optional => true
|
22
|
-
# text_node :product_details, 'ProductDetails', :optional => true
|
23
|
-
# text_node :item_details, 'ItemDetails', :optional => true
|
24
|
-
# numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
|
25
|
-
# numeric_node :page_number, 'PageNumber', :optional => true
|
26
|
-
# object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
27
|
-
class GetSearchResultsExpress < Abstract
|
28
|
-
include XML::Mapping
|
29
|
-
include Initializer
|
30
|
-
root_element_name 'GetSearchResultsExpressRequest'
|
31
|
-
text_node :query, 'Query', :optional => true
|
32
|
-
text_node :external_product_id_type, 'ExternalProductIDType', :optional => true
|
33
|
-
text_node :external_product_id_value, 'ExternalProductIDValue', :optional => true
|
34
|
-
numeric_node :product_reference_id, 'ProductReferenceID', :optional => true
|
35
|
-
text_node :department_name, 'DepartmentName', :optional => true
|
36
|
-
text_node :aisle_name, 'AisleName', :optional => true
|
37
|
-
text_node :product_type_name, 'ProductTypeName', :optional => true
|
38
|
-
text_node :histogram_sort, 'HistogramSort', :optional => true
|
39
|
-
text_node :item_sort, 'ItemSort', :optional => true
|
40
|
-
text_node :product_sort, 'ProductSort', :optional => true
|
41
|
-
money_node :highest_price, 'HighestPrice', :optional => true
|
42
|
-
money_node :lowest_price, 'LowestPrice', :optional => true
|
43
|
-
text_node :condition, 'Condition', :optional => true
|
44
|
-
text_node :seller_id, 'SellerID', :optional => true
|
45
|
-
text_node :postal_code, 'PostalCode', :optional => true
|
46
|
-
text_node :histogram_details, 'HistogramDetails', :optional => true
|
47
|
-
text_node :product_details, 'ProductDetails', :optional => true
|
48
|
-
text_node :item_details, 'ItemDetails', :optional => true
|
49
|
-
numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
|
50
|
-
numeric_node :page_number, 'PageNumber', :optional => true
|
51
|
-
object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'ebay/types/item'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Requests # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# object_node :item, 'Item', :class => Item, :optional => true
|
7
|
-
# text_node :deleted_field, 'DeletedField', :optional => true
|
8
|
-
class ReviseLiveAuctionItem < Abstract
|
9
|
-
include XML::Mapping
|
10
|
-
include Initializer
|
11
|
-
root_element_name 'ReviseLiveAuctionItemRequest'
|
12
|
-
object_node :item, 'Item', :class => Item, :optional => true
|
13
|
-
text_node :deleted_field, 'DeletedField', :optional => true
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require 'ebay/types/affiliate_tracking_details'
|
2
|
-
require 'ebay/types/address'
|
3
|
-
require 'ebay/types/checkout_complete_redirect'
|
4
|
-
require 'ebay/types/cart_item'
|
5
|
-
|
6
|
-
module Ebay # :nodoc:
|
7
|
-
module Requests # :nodoc:
|
8
|
-
# == Attributes
|
9
|
-
# object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
10
|
-
# numeric_node :cart_id, 'CartID', :optional => true
|
11
|
-
# object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
12
|
-
# object_node :checkout_complete_redirect, 'CheckoutCompleteRedirect', :class => CheckoutCompleteRedirect, :optional => true
|
13
|
-
# array_node :cart_items, 'CartItemArray', 'CartItem', :class => CartItem, :default_value => []
|
14
|
-
class SetCart < Abstract
|
15
|
-
include XML::Mapping
|
16
|
-
include Initializer
|
17
|
-
root_element_name 'SetCartRequest'
|
18
|
-
object_node :affiliate_tracking_details, 'AffiliateTrackingDetails', :class => AffiliateTrackingDetails, :optional => true
|
19
|
-
numeric_node :cart_id, 'CartID', :optional => true
|
20
|
-
object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
21
|
-
object_node :checkout_complete_redirect, 'CheckoutCompleteRedirect', :class => CheckoutCompleteRedirect, :optional => true
|
22
|
-
array_node :cart_items, 'CartItemArray', 'CartItem', :class => CartItem, :default_value => []
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'ebay/types/authentication_entry'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Requests # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# object_node :authentication_entry, 'AuthenticationEntry', :class => AuthenticationEntry, :optional => true
|
7
|
-
# text_node :application_display_name, 'ApplicationDisplayName', :optional => true
|
8
|
-
# text_node :action, 'Action', :optional => true
|
9
|
-
class SetReturnURL < Abstract
|
10
|
-
include XML::Mapping
|
11
|
-
include Initializer
|
12
|
-
root_element_name 'SetReturnURLRequest'
|
13
|
-
object_node :authentication_entry, 'AuthenticationEntry', :class => AuthenticationEntry, :optional => true
|
14
|
-
text_node :application_display_name, 'ApplicationDisplayName', :optional => true
|
15
|
-
text_node :action, 'Action', :optional => true
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'ebay/types/live_auction_approval_status'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# array_node :bidder_update_statuses, 'BidderUpdateStatus', 'LiveAuctionStatus', :class => LiveAuctionApprovalStatus, :default_value => []
|
7
|
-
class ApproveLiveAuctionBidders < Abstract
|
8
|
-
include XML::Mapping
|
9
|
-
include Initializer
|
10
|
-
root_element_name 'ApproveLiveAuctionBiddersResponse'
|
11
|
-
array_node :bidder_update_statuses, 'BidderUpdateStatus', 'LiveAuctionStatus', :class => LiveAuctionApprovalStatus, :default_value => []
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'ebay/types/cart'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# object_node :cart, 'Cart', :class => Cart, :optional => true
|
7
|
-
class GetCart < Abstract
|
8
|
-
include XML::Mapping
|
9
|
-
include Initializer
|
10
|
-
root_element_name 'GetCartResponse'
|
11
|
-
object_node :cart, 'Cart', :class => Cart, :optional => true
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require 'ebay/types/bidder_detail'
|
2
|
-
require 'ebay/types/pagination_result'
|
3
|
-
|
4
|
-
module Ebay # :nodoc:
|
5
|
-
module Responses # :nodoc:
|
6
|
-
# == Attributes
|
7
|
-
# array_node :bidder_details, 'BidderDetails', 'BidderDetail', :class => BidderDetail, :default_value => []
|
8
|
-
# numeric_node :total_pending, 'TotalPending', :optional => true
|
9
|
-
# numeric_node :total_approved, 'TotalApproved', :optional => true
|
10
|
-
# numeric_node :total_denied, 'TotalDenied', :optional => true
|
11
|
-
# numeric_node :page_number, 'PageNumber', :optional => true
|
12
|
-
# object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
|
13
|
-
class GetLiveAuctionBidders < Abstract
|
14
|
-
include XML::Mapping
|
15
|
-
include Initializer
|
16
|
-
root_element_name 'GetLiveAuctionBiddersResponse'
|
17
|
-
array_node :bidder_details, 'BidderDetails', 'BidderDetail', :class => BidderDetail, :default_value => []
|
18
|
-
numeric_node :total_pending, 'TotalPending', :optional => true
|
19
|
-
numeric_node :total_approved, 'TotalApproved', :optional => true
|
20
|
-
numeric_node :total_denied, 'TotalDenied', :optional => true
|
21
|
-
numeric_node :page_number, 'PageNumber', :optional => true
|
22
|
-
object_node :pagination_result, 'PaginationResult', :class => PaginationResult, :optional => true
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'ebay/types/live_auction_catalog'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# array_node :live_auction_catalogs, 'LiveAuctionCatalog', :class => LiveAuctionCatalog, :default_value => []
|
7
|
-
class GetLiveAuctionCatalogDetails < Abstract
|
8
|
-
include XML::Mapping
|
9
|
-
include Initializer
|
10
|
-
root_element_name 'GetLiveAuctionCatalogDetailsResponse'
|
11
|
-
array_node :live_auction_catalogs, 'LiveAuctionCatalog', :class => LiveAuctionCatalog, :default_value => []
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'ebay/types/authentication_entry'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# text_node :application_display_name, 'ApplicationDisplayName', :optional => true
|
7
|
-
# array_node :authentication_entries, 'AuthenticationEntryArray', 'AuthenticationEntry', :class => AuthenticationEntry, :default_value => []
|
8
|
-
class GetReturnURL < Abstract
|
9
|
-
include XML::Mapping
|
10
|
-
include Initializer
|
11
|
-
root_element_name 'GetReturnURLResponse'
|
12
|
-
text_node :application_display_name, 'ApplicationDisplayName', :optional => true
|
13
|
-
array_node :authentication_entries, 'AuthenticationEntryArray', 'AuthenticationEntry', :class => AuthenticationEntry, :default_value => []
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
|
@@ -1,28 +0,0 @@
|
|
1
|
-
require 'ebay/types/express_histogram_department'
|
2
|
-
require 'ebay/types/item'
|
3
|
-
require 'ebay/types/express_product'
|
4
|
-
|
5
|
-
module Ebay # :nodoc:
|
6
|
-
module Responses # :nodoc:
|
7
|
-
# == Attributes
|
8
|
-
# array_node :histograms, 'Histogram', 'Department', :class => ExpressHistogramDepartment, :default_value => []
|
9
|
-
# array_node :items, 'ItemArray', 'Item', :class => Item, :default_value => []
|
10
|
-
# array_node :products, 'ProductArray', 'Product', :class => ExpressProduct, :default_value => []
|
11
|
-
# numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
|
12
|
-
# numeric_node :page_number, 'PageNumber', :optional => true
|
13
|
-
# boolean_node :has_more_entries, 'HasMoreEntries', 'true', 'false'
|
14
|
-
class GetSearchResultsExpress < Abstract
|
15
|
-
include XML::Mapping
|
16
|
-
include Initializer
|
17
|
-
root_element_name 'GetSearchResultsExpressResponse'
|
18
|
-
array_node :histograms, 'Histogram', 'Department', :class => ExpressHistogramDepartment, :default_value => []
|
19
|
-
array_node :items, 'ItemArray', 'Item', :class => Item, :default_value => []
|
20
|
-
array_node :products, 'ProductArray', 'Product', :class => ExpressProduct, :default_value => []
|
21
|
-
numeric_node :entries_per_page, 'EntriesPerPage', :optional => true
|
22
|
-
numeric_node :page_number, 'PageNumber', :optional => true
|
23
|
-
boolean_node :has_more_entries, 'HasMoreEntries', 'true', 'false'
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'ebay/types/fee'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# text_node :item_id, 'ItemID', :optional => true
|
7
|
-
# array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
|
8
|
-
# text_node :category_id, 'CategoryID', :optional => true
|
9
|
-
# text_node :category2_id, 'Category2ID', :optional => true
|
10
|
-
class ReviseLiveAuctionItem < Abstract
|
11
|
-
include XML::Mapping
|
12
|
-
include Initializer
|
13
|
-
root_element_name 'ReviseLiveAuctionItemResponse'
|
14
|
-
text_node :item_id, 'ItemID', :optional => true
|
15
|
-
array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []
|
16
|
-
text_node :category_id, 'CategoryID', :optional => true
|
17
|
-
text_node :category2_id, 'Category2ID', :optional => true
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'ebay/types/cart'
|
2
|
-
|
3
|
-
module Ebay # :nodoc:
|
4
|
-
module Responses # :nodoc:
|
5
|
-
# == Attributes
|
6
|
-
# object_node :cart, 'Cart', :class => Cart, :optional => true
|
7
|
-
class SetCart < Abstract
|
8
|
-
include XML::Mapping
|
9
|
-
include Initializer
|
10
|
-
root_element_name 'SetCartResponse'
|
11
|
-
object_node :cart, 'Cart', :class => Cart, :optional => true
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
|
2
|
-
module Ebay # :nodoc:
|
3
|
-
module Types # :nodoc:
|
4
|
-
# == Attributes
|
5
|
-
# text_node :accept_url, 'AcceptURL', :optional => true
|
6
|
-
# text_node :privacy_policy_url, 'PrivacyPolicyURL', :optional => true
|
7
|
-
# text_node :reject_url, 'RejectURL', :optional => true
|
8
|
-
# text_node :ru_name, 'RuName', :optional => true
|
9
|
-
# text_node :token_return_method, 'TokenReturnMethod', :optional => true
|
10
|
-
class AuthenticationEntry
|
11
|
-
include XML::Mapping
|
12
|
-
include Initializer
|
13
|
-
root_element_name 'AuthenticationEntry'
|
14
|
-
text_node :accept_url, 'AcceptURL', :optional => true
|
15
|
-
text_node :privacy_policy_url, 'PrivacyPolicyURL', :optional => true
|
16
|
-
text_node :reject_url, 'RejectURL', :optional => true
|
17
|
-
text_node :ru_name, 'RuName', :optional => true
|
18
|
-
text_node :token_return_method, 'TokenReturnMethod', :optional => true
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
|
data/lib/ebay/types/cart.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
require 'ebay/types/address'
|
2
|
-
require 'ebay/types/checkout_complete_redirect'
|
3
|
-
require 'ebay/types/cart_item'
|
4
|
-
require 'ebay/types/checkout_order_detail'
|
5
|
-
|
6
|
-
module Ebay # :nodoc:
|
7
|
-
module Types # :nodoc:
|
8
|
-
# == Attributes
|
9
|
-
# numeric_node :cart_id, 'CartID', :optional => true
|
10
|
-
# object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
11
|
-
# text_node :cart_status, 'CartStatus', :optional => true
|
12
|
-
# time_node :creation_time, 'CreationTime', :optional => true
|
13
|
-
# time_node :expiration_time, 'ExpirationTime', :optional => true
|
14
|
-
# text_node :checkout_url, 'CheckoutURL', :optional => true
|
15
|
-
# object_node :checkout_complete_redirect, 'CheckoutCompleteRedirect', :class => CheckoutCompleteRedirect, :optional => true
|
16
|
-
# array_node :cart_items, 'CartItemArray', 'CartItem', :class => CartItem, :default_value => []
|
17
|
-
# object_node :order_detail, 'OrderDetail', :class => CheckoutOrderDetail, :optional => true
|
18
|
-
class Cart
|
19
|
-
include XML::Mapping
|
20
|
-
include Initializer
|
21
|
-
root_element_name 'Cart'
|
22
|
-
numeric_node :cart_id, 'CartID', :optional => true
|
23
|
-
object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
24
|
-
text_node :cart_status, 'CartStatus', :optional => true
|
25
|
-
time_node :creation_time, 'CreationTime', :optional => true
|
26
|
-
time_node :expiration_time, 'ExpirationTime', :optional => true
|
27
|
-
text_node :checkout_url, 'CheckoutURL', :optional => true
|
28
|
-
object_node :checkout_complete_redirect, 'CheckoutCompleteRedirect', :class => CheckoutCompleteRedirect, :optional => true
|
29
|
-
array_node :cart_items, 'CartItemArray', 'CartItem', :class => CartItem, :default_value => []
|
30
|
-
object_node :order_detail, 'OrderDetail', :class => CheckoutOrderDetail, :optional => true
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
module Ebay # :nodoc:
|
3
|
-
module Types # :nodoc:
|
4
|
-
# == Attributes
|
5
|
-
# text_node :url, 'URL', :optional => true
|
6
|
-
# text_node :name, 'Name', :optional => true
|
7
|
-
class CheckoutCompleteRedirect
|
8
|
-
include XML::Mapping
|
9
|
-
include Initializer
|
10
|
-
root_element_name 'CheckoutCompleteRedirect'
|
11
|
-
text_node :url, 'URL', :optional => true
|
12
|
-
text_node :name, 'Name', :optional => true
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
|