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
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'ebay/types/selling_manager_product_details'
|
2
|
+
require 'ebay/types/item'
|
3
|
+
|
4
|
+
module Ebay # :nodoc:
|
5
|
+
module Types # :nodoc:
|
6
|
+
# == Attributes
|
7
|
+
# text_node :sale_template_id, 'SaleTemplateID', :optional => true
|
8
|
+
# text_node :sale_template_name, 'SaleTemplateName', :optional => true
|
9
|
+
# numeric_node :success_percent, 'SuccessPercent', :optional => true
|
10
|
+
# object_node :selling_manager_product_details, 'SellingManagerProductDetails', :class => SellingManagerProductDetails, :optional => true
|
11
|
+
# object_node :template, 'Template', :class => Item, :optional => true
|
12
|
+
class SellingManagerTemplateDetails
|
13
|
+
include XML::Mapping
|
14
|
+
include Initializer
|
15
|
+
root_element_name 'SellingManagerTemplateDetails'
|
16
|
+
text_node :sale_template_id, 'SaleTemplateID', :optional => true
|
17
|
+
text_node :sale_template_name, 'SaleTemplateName', :optional => true
|
18
|
+
numeric_node :success_percent, 'SuccessPercent', :optional => true
|
19
|
+
object_node :selling_manager_product_details, 'SellingManagerProductDetails', :class => SellingManagerProductDetails, :optional => true
|
20
|
+
object_node :template, 'Template', :class => Item, :optional => true
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
module Ebay # :nodoc:
|
3
|
+
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :vendor_name, 'VendorName', :optional => true
|
6
|
+
# text_node :vendor_contact_info, 'VendorContactInfo', :optional => true
|
7
|
+
class SellingManagerVendorDetails
|
8
|
+
include XML::Mapping
|
9
|
+
include Initializer
|
10
|
+
root_element_name 'SellingManagerVendorDetails'
|
11
|
+
text_node :vendor_name, 'VendorName', :optional => true
|
12
|
+
text_node :vendor_contact_info, 'VendorContactInfo', :optional => true
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
|
@@ -18,6 +18,7 @@ module Ebay # :nodoc:
|
|
18
18
|
# text_node :listing_status, 'ListingStatus', :optional => true
|
19
19
|
# money_node :final_value_fee, 'FinalValueFee', :optional => true
|
20
20
|
# object_node :promotional_sale_details, 'PromotionalSaleDetails', :class => PromotionalSaleDetails, :optional => true
|
21
|
+
# boolean_node :admin_ended, 'AdminEnded', 'true', 'false', :optional => true
|
21
22
|
class SellingStatus
|
22
23
|
include XML::Mapping
|
23
24
|
include Initializer
|
@@ -36,6 +37,7 @@ module Ebay # :nodoc:
|
|
36
37
|
text_node :listing_status, 'ListingStatus', :optional => true
|
37
38
|
money_node :final_value_fee, 'FinalValueFee', :optional => true
|
38
39
|
object_node :promotional_sale_details, 'PromotionalSaleDetails', :class => PromotionalSaleDetails, :optional => true
|
40
|
+
boolean_node :admin_ended, 'AdminEnded', 'true', 'false', :optional => true
|
39
41
|
end
|
40
42
|
end
|
41
43
|
end
|
data/lib/ebay/types/shipment.rb
CHANGED
@@ -29,6 +29,7 @@ module Ebay # :nodoc:
|
|
29
29
|
# time_node :refund_granted_time, 'RefundGrantedTime', :optional => true
|
30
30
|
# time_node :refund_requested_time, 'RefundRequestedTime', :optional => true
|
31
31
|
# text_node :status, 'Status', :optional => true
|
32
|
+
# time_node :shipped_time, 'ShippedTime', :optional => true
|
32
33
|
class Shipment
|
33
34
|
include XML::Mapping
|
34
35
|
include Initializer
|
@@ -57,6 +58,7 @@ module Ebay # :nodoc:
|
|
57
58
|
time_node :refund_granted_time, 'RefundGrantedTime', :optional => true
|
58
59
|
time_node :refund_requested_time, 'RefundRequestedTime', :optional => true
|
59
60
|
text_node :status, 'Status', :optional => true
|
61
|
+
time_node :shipped_time, 'ShippedTime', :optional => true
|
60
62
|
end
|
61
63
|
end
|
62
64
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
module Ebay # :nodoc:
|
3
|
+
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# numeric_node :shipping_carrier_id, 'ShippingCarrierID', :optional => true
|
6
|
+
# text_node :description, 'Description', :optional => true
|
7
|
+
# text_node :shipping_carrier, 'ShippingCarrier', :optional => true
|
8
|
+
class ShippingCarrierDetails
|
9
|
+
include XML::Mapping
|
10
|
+
include Initializer
|
11
|
+
root_element_name 'ShippingCarrierDetails'
|
12
|
+
numeric_node :shipping_carrier_id, 'ShippingCarrierID', :optional => true
|
13
|
+
text_node :description, 'Description', :optional => true
|
14
|
+
text_node :shipping_carrier, 'ShippingCarrier', :optional => true
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
module Ebay # :nodoc:
|
3
|
+
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :shipping_cost_paid_by_option, 'ShippingCostPaidByOption', :optional => true
|
6
|
+
# text_node :description, 'Description', :optional => true
|
7
|
+
class ShippingCostPaidByDetails
|
8
|
+
include XML::Mapping
|
9
|
+
include Initializer
|
10
|
+
root_element_name 'ShippingCostPaidByDetails'
|
11
|
+
text_node :shipping_cost_paid_by_option, 'ShippingCostPaidByOption', :optional => true
|
12
|
+
text_node :description, 'Description', :optional => true
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
|
@@ -44,6 +44,7 @@ module Ebay # :nodoc:
|
|
44
44
|
# object_node :international_calculated_shipping_discount, 'InternationalCalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
45
45
|
# boolean_node :international_promotional_shipping_discount, 'InternationalPromotionalShippingDiscount', 'true', 'false', :optional => true
|
46
46
|
# object_node :promotional_shipping_discount_details, 'PromotionalShippingDiscountDetails', :class => PromotionalShippingDiscountDetails, :optional => true
|
47
|
+
# money_node :cod_cost, 'CODCost', :optional => true
|
47
48
|
class ShippingDetails
|
48
49
|
include XML::Mapping
|
49
50
|
include Initializer
|
@@ -81,6 +82,7 @@ module Ebay # :nodoc:
|
|
81
82
|
object_node :international_calculated_shipping_discount, 'InternationalCalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
82
83
|
boolean_node :international_promotional_shipping_discount, 'InternationalPromotionalShippingDiscount', 'true', 'false', :optional => true
|
83
84
|
object_node :promotional_shipping_discount_details, 'PromotionalShippingDiscountDetails', :class => PromotionalShippingDiscountDetails, :optional => true
|
85
|
+
money_node :cod_cost, 'CODCost', :optional => true
|
84
86
|
end
|
85
87
|
end
|
86
88
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
|
2
|
+
module Ebay # :nodoc:
|
3
|
+
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# numeric_node :package_id, 'PackageID', :optional => true
|
6
|
+
# text_node :description, 'Description', :optional => true
|
7
|
+
# text_node :shipping_package, 'ShippingPackage', :optional => true
|
8
|
+
# boolean_node :default_value, 'DefaultValue', 'true', 'false', :optional => true
|
9
|
+
# boolean_node :dimensions_supported, 'DimensionsSupported', 'true', 'false', :optional => true
|
10
|
+
class ShippingPackageDetails
|
11
|
+
include XML::Mapping
|
12
|
+
include Initializer
|
13
|
+
root_element_name 'ShippingPackageDetails'
|
14
|
+
numeric_node :package_id, 'PackageID', :optional => true
|
15
|
+
text_node :description, 'Description', :optional => true
|
16
|
+
text_node :shipping_package, 'ShippingPackage', :optional => true
|
17
|
+
boolean_node :default_value, 'DefaultValue', 'true', 'false', :optional => true
|
18
|
+
boolean_node :dimensions_supported, 'DimensionsSupported', 'true', 'false', :optional => true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
|
@@ -16,6 +16,11 @@ module Ebay # :nodoc:
|
|
16
16
|
USPSExpressMail = 'USPSExpressMail'
|
17
17
|
UPSNextDayAir = 'UPSNextDayAir'
|
18
18
|
UPS2DayAirAM = 'UPS2DayAirAM'
|
19
|
+
USPSExpressMailFlatRateEnvelope = 'USPSExpressMailFlatRateEnvelope'
|
20
|
+
USPSPriorityMailFlatRateEnvelope = 'USPSPriorityMailFlatRateEnvelope'
|
21
|
+
USPSPriorityMailSmallFlatRateBox = 'USPSPriorityMailSmallFlatRateBox'
|
22
|
+
USPSPriorityMailFlatRateBox = 'USPSPriorityMailFlatRateBox'
|
23
|
+
USPSPriorityMailLargeFlatRateBox = 'USPSPriorityMailLargeFlatRateBox'
|
19
24
|
Other = 'Other'
|
20
25
|
LocalDelivery = 'LocalDelivery'
|
21
26
|
NotSelected = 'NotSelected'
|
@@ -32,6 +37,11 @@ module Ebay # :nodoc:
|
|
32
37
|
UPSWorldWideExpress = 'UPSWorldWideExpress'
|
33
38
|
UPSWorldWideExpedited = 'UPSWorldWideExpedited'
|
34
39
|
UPSStandardToCanada = 'UPSStandardToCanada'
|
40
|
+
USPSExpressMailInternationalFlatRateEnvelope = 'USPSExpressMailInternationalFlatRateEnvelope'
|
41
|
+
USPSPriorityMailInternationalFlatRateEnvelope = 'USPSPriorityMailInternationalFlatRateEnvelope'
|
42
|
+
USPSPriorityMailInternationalSmallFlatRateBox = 'USPSPriorityMailInternationalSmallFlatRateBox'
|
43
|
+
USPSPriorityMailInternationalFlatRateBox = 'USPSPriorityMailInternationalFlatRateBox'
|
44
|
+
USPSPriorityMailInternationalLargeFlatRateBox = 'USPSPriorityMailInternationalLargeFlatRateBox'
|
35
45
|
OtherInternational = 'OtherInternational'
|
36
46
|
ATStandardDispatch = 'AT_StandardDispatch'
|
37
47
|
ATInsuredDispatch = 'AT_InsuredDispatch'
|
@@ -75,6 +85,14 @@ module Ebay # :nodoc:
|
|
75
85
|
BEFRExpeditedInternational = 'BEFR_ExpeditedInternational'
|
76
86
|
BEFROtherInternational = 'BEFR_OtherInternational'
|
77
87
|
BEFRLaPosteInternational = 'BEFR_LaPosteInternational'
|
88
|
+
BEFRLaPosteStandardShipping = 'BEFR_LaPosteStandardShipping'
|
89
|
+
BEFRLaPosteCertifiedShipping = 'BEFR_LaPosteCertifiedShipping'
|
90
|
+
BEFRLaPosteTaxipostLLS = 'BEFR_LaPosteTaxipostLLS'
|
91
|
+
BEFRLaPosteTaxipost24h = 'BEFR_LaPosteTaxipost24h'
|
92
|
+
BEFRLaPosteTaxipostSecur = 'BEFR_LaPosteTaxipostSecur'
|
93
|
+
BEFRPostInternationalStandard = 'BEFR_PostInternationalStandard'
|
94
|
+
BEFRPostInternationalRegistered = 'BEFR_PostInternationalRegistered'
|
95
|
+
BEFRTNTInternational = 'BEFR_TNTInternational'
|
78
96
|
BENLStandardDelivery = 'BENL_StandardDelivery'
|
79
97
|
BENLPriorityDelivery = 'BENL_PriorityDelivery'
|
80
98
|
BENLParcelPost = 'BENL_ParcelPost'
|
@@ -89,6 +107,15 @@ module Ebay # :nodoc:
|
|
89
107
|
BENLExpeditedInternational = 'BENL_ExpeditedInternational'
|
90
108
|
BENLOtherInternational = 'BENL_OtherInternational'
|
91
109
|
BENLLaPosteInternational = 'BENL_LaPosteInternational'
|
110
|
+
BENLDePostStandardShipping = 'BENL_DePostStandardShipping'
|
111
|
+
BENLDePostCertifiedShipping = 'BENL_DePostCertifiedShipping'
|
112
|
+
BENLDePostTaxipostLLS = 'BENL_DePostTaxipostLLS'
|
113
|
+
BENLDePostTaxipost24h = 'BENL_DePostTaxipost24h'
|
114
|
+
BENLDePostTaxipostSecur = 'BENL_DePostTaxipostSecur'
|
115
|
+
BENLOtherShippingMethods = 'BENL_OtherShippingMethods'
|
116
|
+
BENLPostInternationalStandard = 'BENL_PostInternationalStandard'
|
117
|
+
BENLPostInternationalRegistered = 'BENL_PostInternationalRegistered'
|
118
|
+
BENLTNTInternational = 'BENL_TNTInternational'
|
92
119
|
CAStandardDelivery = 'CA_StandardDelivery'
|
93
120
|
CAExpeditedDelivery = 'CA_ExpeditedDelivery'
|
94
121
|
CAPostLettermail = 'CA_PostLettermail'
|
@@ -96,6 +123,8 @@ module Ebay # :nodoc:
|
|
96
123
|
CAPostExpeditedParcel = 'CA_PostExpeditedParcel'
|
97
124
|
CAPostXpresspost = 'CA_PostXpresspost'
|
98
125
|
CAPostPriorityCourier = 'CA_PostPriorityCourier'
|
126
|
+
CanadaPostExpeditedFlatRateBox = 'CanadaPostExpeditedFlatRateBox'
|
127
|
+
CAPostExpeditedFlatRateBox = 'CA_PostExpeditedFlatRateBox'
|
99
128
|
CAStandardInternational = 'CA_StandardInternational'
|
100
129
|
CAExpeditedInternational = 'CA_ExpeditedInternational'
|
101
130
|
CAOtherInternational = 'CA_OtherInternational'
|
@@ -113,6 +142,7 @@ module Ebay # :nodoc:
|
|
113
142
|
CASmallPacketsInternationalAir = 'CA_SmallPacketsInternationalAir'
|
114
143
|
CAPostUSALetterPost = 'CA_PostUSALetterPost'
|
115
144
|
CAPostInternationalLetterPost = 'CA_PostInternationalLetterPost'
|
145
|
+
CAPostExpeditedFlatRateBoxUSA = 'CA_PostExpeditedFlatRateBoxUSA'
|
116
146
|
CAUPSExpressCanada = 'CA_UPSExpressCanada'
|
117
147
|
CAUPSExpressSaverCanada = 'CA_UPSExpressSaverCanada'
|
118
148
|
CAUPSExpeditedCanada = 'CA_UPSExpeditedCanada'
|
@@ -123,6 +153,8 @@ module Ebay # :nodoc:
|
|
123
153
|
CAUPSStandardUnitedStates = 'CA_UPSStandardUnitedStates'
|
124
154
|
CAUPSWorldWideExpress = 'CA_UPSWorldWideExpress'
|
125
155
|
CAUPSWorldWideExpedited = 'CA_UPSWorldWideExpedited'
|
156
|
+
CAPriorityWorldwide = 'CA_PriorityWorldwide'
|
157
|
+
CanadaPostExpeditedFlatRateBoxUSA = 'CanadaPostExpeditedFlatRateBoxUSA'
|
126
158
|
CHStandardDispatchAPost = 'CH_StandardDispatchAPost'
|
127
159
|
CHStandardDispatchBPost = 'CH_StandardDispatchBPost'
|
128
160
|
CHInsuredDispatch = 'CH_InsuredDispatch'
|
@@ -184,6 +216,37 @@ module Ebay # :nodoc:
|
|
184
216
|
DEDeutschePostBriefLuftInternational = 'DE_DeutschePostBriefLuftInternational'
|
185
217
|
DEIloxxEuropaInternational = 'DE_IloxxEuropaInternational'
|
186
218
|
DEIloxxWorldWideInternational = 'DE_IloxxWorldWideInternational'
|
219
|
+
DEPaket = 'DE_Paket'
|
220
|
+
DEExpress = 'DE_Express'
|
221
|
+
DEDHLPaket = 'DE_DHLPaket'
|
222
|
+
DEDPBuecherWarensendung = 'DE_DPBuecherWarensendung'
|
223
|
+
DEHermesPaket = 'DE_HermesPaket'
|
224
|
+
DEIloxxTransport = 'DE_IloxxTransport'
|
225
|
+
DESonstigeDomestic = 'DE_SonstigeDomestic'
|
226
|
+
DEEinschreiben = 'DE_Einschreiben'
|
227
|
+
DENachname = 'DE_Nachname'
|
228
|
+
DESpecialDelivery = 'DE_SpecialDelivery'
|
229
|
+
DEUPS = 'DE_UPS'
|
230
|
+
DEDPD = 'DE_DPD'
|
231
|
+
DEGLS = 'DE_GLS'
|
232
|
+
DEPaketInternational = 'DE_PaketInternational'
|
233
|
+
DEDHLPaketInternational = 'DE_DHLPaketInternational'
|
234
|
+
DESonstigeInternational = 'DE_SonstigeInternational'
|
235
|
+
DEExpressInternational = 'DE_ExpressInternational'
|
236
|
+
DEDPBriefInternational = 'DE_DPBriefInternational'
|
237
|
+
DEIloxxTransportInternational = 'DE_IloxxTransportInternational'
|
238
|
+
DEHermesPaketInternational = 'DE_HermesPaketInternational'
|
239
|
+
DEUPSInternational = 'DE_UPSInternational'
|
240
|
+
DEDPDInternational = 'DE_DPDInternational'
|
241
|
+
DEGLSInternational = 'DE_GLSInternational'
|
242
|
+
DEEBayHermesPaketShop2ShopKaeufer = 'DE_eBayHermesPaketShop2ShopKaeufer'
|
243
|
+
DEHermesPaketShop2ShopKaeufer = 'DE_HermesPaketShop2ShopKaeufer'
|
244
|
+
DEEBayHermesPaketShop2Shop = 'DE_eBayHermesPaketShop2Shop'
|
245
|
+
DEHermesPaketShop2Shop = 'DE_HermesPaketShop2Shop'
|
246
|
+
DEDHLPaeckchenPackstation = 'DE_DHLPaeckchenPackstation'
|
247
|
+
DEDHLPaketPackstation = 'DE_DHLPaketPackstation'
|
248
|
+
DEEBayDHLPaeckchen = 'DE_eBayDHLPaeckchen'
|
249
|
+
DEDHLStarPaeckchen = 'DE_DHLStarPaeckchen'
|
187
250
|
ESCartasNacionalesHasta20 = 'ES_CartasNacionalesHasta20'
|
188
251
|
ESCartasNacionalesDeMas20 = 'ES_CartasNacionalesDeMas20'
|
189
252
|
ESCartasInternacionalesHasta20 = 'ES_CartasInternacionalesHasta20'
|
@@ -227,6 +290,7 @@ module Ebay # :nodoc:
|
|
227
290
|
FRUPSStandardInternational = 'FR_UPSStandardInternational'
|
228
291
|
FRUPSExpressInternational = 'FR_UPSExpressInternational'
|
229
292
|
FRDHLInternational = 'FR_DHLInternational'
|
293
|
+
FRLaPosteLetterMax = 'FR_LaPosteLetterMax'
|
230
294
|
INRegular = 'IN_Regular'
|
231
295
|
INExpress = 'IN_Express'
|
232
296
|
INNationalCOD = 'IN_NationalCOD'
|
@@ -247,6 +311,7 @@ module Ebay # :nodoc:
|
|
247
311
|
ITQuickPackage1 = 'IT_QuickPackage1'
|
248
312
|
ITQuickPackage3 = 'IT_QuickPackage3'
|
249
313
|
ITExpressCourier = 'IT_ExpressCourier'
|
314
|
+
ITExpressPackageMaxi = 'IT_ExpressPackageMaxi'
|
250
315
|
ITStandardInternational = 'IT_StandardInternational'
|
251
316
|
ITExpeditedInternational = 'IT_ExpeditedInternational'
|
252
317
|
ITOtherInternational = 'IT_OtherInternational'
|
@@ -327,6 +392,8 @@ module Ebay # :nodoc:
|
|
327
392
|
PLDomesticRegular = 'PL_DomesticRegular'
|
328
393
|
PLDomesticSpecial = 'PL_DomesticSpecial'
|
329
394
|
FreightShipping = 'FreightShipping'
|
395
|
+
FreightOtherShipping = 'FreightOtherShipping'
|
396
|
+
Freight = 'Freight'
|
330
397
|
FreightShippingInternational = 'FreightShippingInternational'
|
331
398
|
USPSGround = 'USPSGround'
|
332
399
|
ShippingMethodOvernight = 'ShippingMethodOvernight'
|
@@ -493,6 +560,26 @@ module Ebay # :nodoc:
|
|
493
560
|
CAPickup = 'CA_Pickup'
|
494
561
|
DEPickup = 'DE_Pickup'
|
495
562
|
AUPickup = 'AU_Pickup'
|
563
|
+
AUSmallParcels = 'AU_SmallParcels'
|
564
|
+
AUPrePaidParcelPostSatchels500g = 'AU_PrePaidParcelPostSatchels500g'
|
565
|
+
AUPrePaidParcelPostSatchels3kg = 'AU_PrePaidParcelPostSatchels3kg'
|
566
|
+
AUPrePaidExpressPostSatchel500g = 'AU_PrePaidExpressPostSatchel500g'
|
567
|
+
AUPrePaidExpressPostSatchel3kg = 'AU_PrePaidExpressPostSatchel3kg'
|
568
|
+
AUPrePaidExpressPostPlatinum500g = 'AU_PrePaidExpressPostPlatinum500g'
|
569
|
+
AUPrePaidExpressPostPlatinum3kg = 'AU_PrePaidExpressPostPlatinum3kg'
|
570
|
+
AUExpressCourierInternational = 'AU_ExpressCourierInternational'
|
571
|
+
AUExpressPostInternational = 'AU_ExpressPostInternational'
|
572
|
+
AUPrePaidExpressPostInternationalEnvelopeC5 = 'AU_PrePaidExpressPostInternationalEnvelopeC5'
|
573
|
+
AUPrePaidExpressPostInternationalEnvelopeB4 = 'AU_PrePaidExpressPostInternationalEnvelopeB4'
|
574
|
+
AUPrePaidExpressPostInternationalSatchels2kg = 'AU_PrePaidExpressPostInternationalSatchels2kg'
|
575
|
+
AUPrePaidExpressPostInternationalSatchels3kg = 'AU_PrePaidExpressPostInternationalSatchels3kg'
|
576
|
+
AUPrePaidExpressPostInternationalBox5kg = 'AU_PrePaidExpressPostInternationalBox5kg'
|
577
|
+
AUPrePaidExpressPostInternationalBox10kg = 'AU_PrePaidExpressPostInternationalBox10kg'
|
578
|
+
AUPrePaidExpressPostInternationalBox20kg = 'AU_PrePaidExpressPostInternationalBox20kg'
|
579
|
+
AURegisteredParcelPost = 'AU_RegisteredParcelPost'
|
580
|
+
AURegisteredSmallParcel = 'AU_RegisteredSmallParcel'
|
581
|
+
AURegisteredParcelPostPrepaidSatchel500g = 'AU_RegisteredParcelPostPrepaidSatchel500g'
|
582
|
+
AURegisteredParcelPostPrepaidSatchel3kg = 'AU_RegisteredParcelPostPrepaidSatchel3kg'
|
496
583
|
FRPickup = 'FR_Pickup'
|
497
584
|
ATPickup = 'AT_Pickup'
|
498
585
|
BENLPickup = 'BENL_Pickup'
|
@@ -503,6 +590,11 @@ module Ebay # :nodoc:
|
|
503
590
|
PLPickup = 'PL_Pickup'
|
504
591
|
ESPickup = 'ES_Pickup'
|
505
592
|
SGDelivery = 'SG_Delivery'
|
593
|
+
UKOtherCourier24 = 'UK_OtherCourier24'
|
594
|
+
UKOtherCourier48 = 'UK_OtherCourier48'
|
595
|
+
UKOtherCourier3Days = 'UK_OtherCourier3Days'
|
596
|
+
UKOtherCourier5Days = 'UK_OtherCourier5Days'
|
597
|
+
Courier = 'Courier'
|
506
598
|
end
|
507
599
|
end
|
508
600
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'ebay/types/announcement_message'
|
2
|
+
require 'ebay/types/shipping_service_package_details'
|
1
3
|
|
2
4
|
module Ebay # :nodoc:
|
3
5
|
module Types # :nodoc:
|
@@ -15,6 +17,13 @@ module Ebay # :nodoc:
|
|
15
17
|
# boolean_node :dimensions_required, 'DimensionsRequired', 'true', 'false', :optional => true
|
16
18
|
# boolean_node :valid_for_selling_flow, 'ValidForSellingFlow', 'true', 'false', :optional => true
|
17
19
|
# boolean_node :surcharge_applicable, 'SurchargeApplicable', 'true', 'false', :optional => true
|
20
|
+
# value_array_node :shipping_carriers, 'ShippingCarrier', :default_value => []
|
21
|
+
# boolean_node :cod_service, 'CODService', 'true', 'false', :optional => true
|
22
|
+
# array_node :deprecation_details, 'DeprecationDetails', :class => AnnouncementMessage, :default_value => []
|
23
|
+
# numeric_node :mapped_to_shipping_service_id, 'MappedToShippingServiceID', :optional => true
|
24
|
+
# text_node :cost_group_flat, 'CostGroupFlat', :optional => true
|
25
|
+
# array_node :shipping_service_package_details, 'ShippingServicePackageDetails', :class => ShippingServicePackageDetails, :default_value => []
|
26
|
+
# boolean_node :weight_required, 'WeightRequired', 'true', 'false', :optional => true
|
18
27
|
class ShippingServiceDetails
|
19
28
|
include XML::Mapping
|
20
29
|
include Initializer
|
@@ -32,6 +41,13 @@ module Ebay # :nodoc:
|
|
32
41
|
boolean_node :dimensions_required, 'DimensionsRequired', 'true', 'false', :optional => true
|
33
42
|
boolean_node :valid_for_selling_flow, 'ValidForSellingFlow', 'true', 'false', :optional => true
|
34
43
|
boolean_node :surcharge_applicable, 'SurchargeApplicable', 'true', 'false', :optional => true
|
44
|
+
value_array_node :shipping_carriers, 'ShippingCarrier', :default_value => []
|
45
|
+
boolean_node :cod_service, 'CODService', 'true', 'false', :optional => true
|
46
|
+
array_node :deprecation_details, 'DeprecationDetails', :class => AnnouncementMessage, :default_value => []
|
47
|
+
numeric_node :mapped_to_shipping_service_id, 'MappedToShippingServiceID', :optional => true
|
48
|
+
text_node :cost_group_flat, 'CostGroupFlat', :optional => true
|
49
|
+
array_node :shipping_service_package_details, 'ShippingServicePackageDetails', :class => ShippingServicePackageDetails, :default_value => []
|
50
|
+
boolean_node :weight_required, 'WeightRequired', 'true', 'false', :optional => true
|
35
51
|
end
|
36
52
|
end
|
37
53
|
end
|
@@ -11,6 +11,7 @@ module Ebay # :nodoc:
|
|
11
11
|
# numeric_node :shipping_time_min, 'ShippingTimeMin', :optional => true
|
12
12
|
# numeric_node :shipping_time_max, 'ShippingTimeMax', :optional => true
|
13
13
|
# money_node :shipping_surcharge, 'ShippingSurcharge', :optional => true
|
14
|
+
# boolean_node :free_shipping, 'FreeShipping', 'true', 'false', :optional => true
|
14
15
|
class ShippingServiceOptions
|
15
16
|
include XML::Mapping
|
16
17
|
include Initializer
|
@@ -24,6 +25,7 @@ module Ebay # :nodoc:
|
|
24
25
|
numeric_node :shipping_time_min, 'ShippingTimeMin', :optional => true
|
25
26
|
numeric_node :shipping_time_max, 'ShippingTimeMax', :optional => true
|
26
27
|
money_node :shipping_surcharge, 'ShippingSurcharge', :optional => true
|
28
|
+
boolean_node :free_shipping, 'FreeShipping', 'true', 'false', :optional => true
|
27
29
|
end
|
28
30
|
end
|
29
31
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
module Ebay # :nodoc:
|
3
|
+
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :name, 'Name', :optional => true
|
6
|
+
# boolean_node :dimensions_required, 'DimensionsRequired', 'true', 'false', :optional => true
|
7
|
+
class ShippingServicePackageDetails
|
8
|
+
include XML::Mapping
|
9
|
+
include Initializer
|
10
|
+
root_element_name 'ShippingServicePackageDetails'
|
11
|
+
text_node :name, 'Name', :optional => true
|
12
|
+
boolean_node :dimensions_required, 'DimensionsRequired', 'true', 'false', :optional => true
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
|
@@ -10,6 +10,7 @@ module Ebay # :nodoc:
|
|
10
10
|
NotSpecified = 'NotSpecified'
|
11
11
|
FlatDomesticCalculatedInternational = 'FlatDomesticCalculatedInternational'
|
12
12
|
CalculatedDomesticFlatInternational = 'CalculatedDomesticFlatInternational'
|
13
|
+
FreightFlat = 'FreightFlat'
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Ebay # :nodoc:
|
2
|
+
module Types # :nodoc:
|
3
|
+
class SimpleItemSortCode
|
4
|
+
extend Enumerable
|
5
|
+
extend Enumeration
|
6
|
+
BestMatch = 'BestMatch'
|
7
|
+
EndTime = 'EndTime'
|
8
|
+
BidCount = 'BidCount'
|
9
|
+
Country = 'Country'
|
10
|
+
CurrentBid = 'CurrentBid'
|
11
|
+
Distance = 'Distance'
|
12
|
+
StartDate = 'StartDate'
|
13
|
+
BestMatchCategoryGroup = 'BestMatchCategoryGroup'
|
14
|
+
PricePlusShipping = 'PricePlusShipping'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|