ebayapi 0.9.4 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +6 -0
- data/README +1 -1
- data/Rakefile +12 -5
- data/lib/ebay.rb +2 -10
- data/lib/ebay/api.rb +18 -23
- data/lib/ebay/api_methods.rb +1061 -0
- data/lib/ebay/ebay.rb +13 -3
- data/lib/ebay/inflections.rb +42 -0
- data/lib/ebay/notification.rb +1 -0
- data/lib/ebay/requests.rb +10 -2
- data/lib/ebay/requests/abstract.rb +9 -0
- data/lib/ebay/requests/add_dispute.rb +5 -0
- data/lib/ebay/requests/add_dispute_response.rb +7 -0
- data/lib/ebay/requests/add_item.rb +2 -2
- data/lib/ebay/requests/add_live_auction_item.rb +2 -0
- data/lib/ebay/requests/add_member_message_aaq_to_partner.rb +3 -0
- data/lib/ebay/requests/add_member_message_rtq.rb +3 -0
- data/lib/ebay/requests/add_member_messages_aaq_to_bidder.rb +2 -0
- data/lib/ebay/requests/add_order.rb +2 -0
- data/lib/ebay/requests/add_second_chance_item.rb +6 -2
- data/lib/ebay/requests/add_to_item_description.rb +3 -0
- data/lib/ebay/requests/add_to_watch_list.rb +2 -0
- data/lib/ebay/requests/add_transaction_confirmation_item.rb +9 -0
- data/lib/ebay/requests/approve_live_auction_bidders.rb +5 -0
- data/lib/ebay/requests/complete_sale.rb +7 -0
- data/lib/ebay/requests/delete_my_messages.rb +3 -0
- data/lib/ebay/requests/end_item.rb +4 -0
- data/lib/ebay/requests/fetch_token.rb +2 -0
- data/lib/ebay/requests/get_account.rb +10 -0
- data/lib/ebay/requests/get_ad_format_leads.rb +6 -0
- data/lib/ebay/requests/get_all_bidders.rb +4 -0
- data/lib/ebay/requests/get_api_access_rules.rb +1 -0
- data/lib/ebay/requests/get_attributes_cs.rb +5 -0
- data/lib/ebay/requests/get_attributes_xsl.rb +3 -0
- data/lib/ebay/requests/get_best_offers.rb +4 -0
- data/lib/ebay/requests/get_bidder_list.rb +6 -0
- data/lib/ebay/requests/get_cart.rb +21 -0
- data/lib/ebay/requests/get_categories.rb +5 -0
- data/lib/ebay/requests/get_category2_cs.rb +3 -0
- data/lib/ebay/requests/get_category2_finance_offer.rb +3 -0
- data/lib/ebay/requests/get_category_features.rb +5 -0
- data/lib/ebay/requests/get_category_listings.rb +18 -1
- data/lib/ebay/requests/get_category_mappings.rb +2 -0
- data/lib/ebay/requests/get_challenge_token.rb +1 -0
- data/lib/ebay/requests/get_charities.rb +8 -0
- data/lib/ebay/requests/get_contextual_keywords.rb +4 -0
- data/lib/ebay/requests/get_cross_promotions.rb +4 -0
- data/lib/ebay/requests/get_description_templates.rb +4 -0
- data/lib/ebay/requests/get_dispute.rb +2 -0
- data/lib/ebay/requests/get_ebay_details.rb +2 -0
- data/lib/ebay/requests/get_ebay_official_time.rb +1 -0
- data/lib/ebay/requests/get_feedback.rb +4 -0
- data/lib/ebay/requests/get_finance_offers.rb +3 -0
- data/lib/ebay/requests/get_high_bidders.rb +2 -0
- data/lib/ebay/requests/get_item.rb +5 -0
- data/lib/ebay/requests/get_item_recommendations.rb +2 -0
- data/lib/ebay/requests/get_item_shipping.rb +5 -0
- data/lib/ebay/requests/get_item_transactions.rb +8 -0
- data/lib/ebay/requests/get_items_awaiting_feedback.rb +3 -0
- data/lib/ebay/requests/get_live_auction_bidders.rb +4 -0
- data/lib/ebay/requests/get_live_auction_catalog_details.rb +1 -0
- data/lib/ebay/requests/get_member_messages.rb +11 -0
- data/lib/ebay/requests/get_message_preferences.rb +17 -0
- data/lib/ebay/requests/get_my_ebay_buying.rb +9 -0
- data/lib/ebay/requests/get_my_ebay_reminders.rb +3 -0
- data/lib/ebay/requests/get_my_ebay_selling.rb +5 -0
- data/lib/ebay/requests/get_my_messages.rb +8 -0
- data/lib/ebay/requests/get_notification_preferences.rb +2 -0
- data/lib/ebay/requests/get_notifications_usage.rb +4 -0
- data/lib/ebay/requests/get_order_transactions.rb +3 -0
- data/lib/ebay/requests/get_orders.rb +8 -0
- data/lib/ebay/requests/get_picture_manager_details.rb +4 -0
- data/lib/ebay/requests/get_picture_manager_options.rb +1 -0
- data/lib/ebay/requests/get_popular_keywords.rb +5 -0
- data/lib/ebay/requests/get_product_family_members.rb +2 -0
- data/lib/ebay/requests/get_product_finder.rb +3 -0
- data/lib/ebay/requests/get_product_finder_xsl.rb +3 -0
- data/lib/ebay/requests/get_product_search_page.rb +3 -0
- data/lib/ebay/requests/get_product_search_results.rb +2 -0
- data/lib/ebay/requests/get_product_selling_pages.rb +3 -0
- data/lib/ebay/requests/get_products.rb +29 -0
- data/lib/ebay/requests/get_promotion_rules.rb +4 -0
- data/lib/ebay/requests/get_promotional_sale_details.rb +15 -0
- data/lib/ebay/requests/get_return_url.rb +1 -0
- data/lib/ebay/requests/get_ru_name.rb +2 -0
- data/lib/ebay/requests/get_search_results.rb +39 -1
- data/lib/ebay/requests/get_search_results_express.rb +22 -0
- data/lib/ebay/requests/get_seller_events.rb +10 -0
- data/lib/ebay/requests/get_seller_list.rb +12 -0
- data/lib/ebay/requests/get_seller_payments.rb +5 -0
- data/lib/ebay/requests/get_seller_transactions.rb +7 -0
- data/lib/ebay/requests/get_shipping_discount_profiles.rb +13 -0
- data/lib/ebay/requests/get_store.rb +4 -0
- data/lib/ebay/requests/get_store_category_update_status.rb +2 -0
- data/lib/ebay/requests/get_store_custom_page.rb +3 -1
- data/lib/ebay/requests/get_store_options.rb +1 -0
- data/lib/ebay/requests/get_store_preferences.rb +1 -0
- data/lib/ebay/requests/get_suggested_categories.rb +2 -0
- data/lib/ebay/requests/get_tax_table.rb +1 -0
- data/lib/ebay/requests/get_user.rb +4 -0
- data/lib/ebay/requests/get_user_contact_details.rb +4 -0
- data/lib/ebay/requests/get_user_disputes.rb +6 -0
- data/lib/ebay/requests/get_user_preferences.rb +8 -1
- data/lib/ebay/requests/get_vero_reason_code_details.rb +3 -0
- data/lib/ebay/requests/get_vero_report_status.rb +7 -0
- data/lib/ebay/requests/get_want_it_now_post.rb +2 -0
- data/lib/ebay/requests/get_want_it_now_search_results.rb +6 -0
- data/lib/ebay/requests/issue_refund.rb +7 -0
- data/lib/ebay/requests/leave_feedback.rb +9 -0
- data/lib/ebay/requests/place_offer.rb +4 -0
- data/lib/ebay/requests/relist_item.rb +3 -2
- data/lib/ebay/requests/remove_from_watch_list.rb +3 -0
- data/lib/ebay/requests/respond_to_best_offer.rb +7 -0
- data/lib/ebay/requests/respond_to_feedback.rb +7 -0
- data/lib/ebay/requests/respond_to_want_it_now_post.rb +3 -0
- data/lib/ebay/requests/revise_checkout_status.rb +21 -0
- data/lib/ebay/requests/revise_item.rb +3 -2
- data/lib/ebay/requests/revise_live_auction_item.rb +3 -2
- data/lib/ebay/requests/revise_my_messages.rb +6 -0
- data/lib/ebay/requests/revise_my_messages_folders.rb +4 -0
- data/lib/ebay/requests/seller_reverse_dispute.rb +3 -0
- data/lib/ebay/requests/send_invoice.rb +13 -0
- data/lib/ebay/requests/set_cart.rb +27 -0
- data/lib/ebay/requests/set_message_preferences.rb +16 -0
- data/lib/ebay/requests/set_notification_preferences.rb +5 -0
- data/lib/ebay/requests/set_picture_manager_details.rb +3 -0
- data/lib/ebay/requests/set_promotion_rules.rb +3 -0
- data/lib/ebay/requests/set_promotional_sale.rb +18 -0
- data/lib/ebay/requests/set_promotional_sale_listings.rb +27 -0
- data/lib/ebay/requests/set_return_url.rb +4 -0
- data/lib/ebay/requests/set_shipping_discount_profiles.rb +36 -0
- data/lib/ebay/requests/set_store.rb +2 -0
- data/lib/ebay/requests/set_store_categories.rb +5 -0
- data/lib/ebay/requests/set_store_custom_page.rb +2 -0
- data/lib/ebay/requests/set_store_preferences.rb +2 -0
- data/lib/ebay/requests/set_tax_table.rb +2 -0
- data/lib/ebay/requests/set_user_notes.rb +4 -0
- data/lib/ebay/requests/set_user_preferences.rb +8 -2
- data/lib/ebay/requests/validate_challenge_input.rb +4 -0
- data/lib/ebay/requests/validate_test_user_registration.rb +7 -0
- data/lib/ebay/requests/verify_add_item.rb +4 -0
- data/lib/ebay/requests/verify_add_second_chance_item.rb +6 -2
- data/lib/ebay/requests/vero_report_items.rb +3 -0
- data/lib/ebay/responses.rb +10 -2
- data/lib/ebay/responses/abstract.rb +14 -0
- data/lib/ebay/responses/add_dispute.rb +2 -0
- data/lib/ebay/responses/add_dispute_response.rb +1 -0
- data/lib/ebay/responses/add_item.rb +7 -0
- data/lib/ebay/responses/add_live_auction_item.rb +5 -0
- data/lib/ebay/responses/add_member_message_aaq_to_partner.rb +1 -0
- data/lib/ebay/responses/add_member_message_rtq.rb +1 -0
- data/lib/ebay/responses/add_member_messages_aaq_to_bidder.rb +2 -0
- data/lib/ebay/responses/add_order.rb +3 -0
- data/lib/ebay/responses/add_second_chance_item.rb +4 -2
- data/lib/ebay/responses/add_to_item_description.rb +1 -0
- data/lib/ebay/responses/add_to_watch_list.rb +3 -0
- data/lib/ebay/responses/add_transaction_confirmation_item.rb +4 -0
- data/lib/ebay/responses/approve_live_auction_bidders.rb +2 -0
- data/lib/ebay/responses/complete_sale.rb +1 -0
- data/lib/ebay/responses/delete_my_messages.rb +1 -0
- data/lib/ebay/responses/end_item.rb +2 -0
- data/lib/ebay/responses/fetch_token.rb +3 -0
- data/lib/ebay/responses/get_account.rb +9 -0
- data/lib/ebay/responses/get_ad_format_leads.rb +3 -0
- data/lib/ebay/responses/get_all_bidders.rb +5 -0
- data/lib/ebay/responses/get_api_access_rules.rb +2 -0
- data/lib/ebay/responses/get_attributes_cs.rb +3 -0
- data/lib/ebay/responses/get_attributes_xsl.rb +2 -0
- data/lib/ebay/responses/get_best_offers.rb +3 -0
- data/lib/ebay/responses/get_bidder_list.rb +3 -0
- data/lib/ebay/responses/get_cart.rb +16 -0
- data/lib/ebay/responses/get_categories.rb +8 -3
- data/lib/ebay/responses/get_category2_cs.rb +5 -0
- data/lib/ebay/responses/get_category2_finance_offer.rb +3 -0
- data/lib/ebay/responses/get_category_features.rb +6 -0
- data/lib/ebay/responses/get_category_listings.rb +10 -0
- data/lib/ebay/responses/get_category_mappings.rb +3 -0
- data/lib/ebay/responses/get_challenge_token.rb +4 -0
- data/lib/ebay/responses/get_charities.rb +2 -0
- data/lib/ebay/responses/get_contextual_keywords.rb +2 -0
- data/lib/ebay/responses/get_cross_promotions.rb +2 -0
- data/lib/ebay/responses/get_description_templates.rb +7 -0
- data/lib/ebay/responses/get_dispute.rb +2 -0
- data/lib/ebay/responses/get_ebay_details.rb +14 -0
- data/lib/ebay/responses/get_ebay_official_time.rb +1 -0
- data/lib/ebay/responses/get_feedback.rb +5 -0
- data/lib/ebay/responses/get_finance_offers.rb +3 -0
- data/lib/ebay/responses/get_high_bidders.rb +3 -0
- data/lib/ebay/responses/get_item.rb +2 -0
- data/lib/ebay/responses/get_item_recommendations.rb +2 -0
- data/lib/ebay/responses/get_item_shipping.rb +2 -0
- data/lib/ebay/responses/get_item_transactions.rb +9 -0
- data/lib/ebay/responses/get_items_awaiting_feedback.rb +2 -0
- data/lib/ebay/responses/get_live_auction_bidders.rb +7 -0
- data/lib/ebay/responses/get_live_auction_catalog_details.rb +2 -0
- data/lib/ebay/responses/get_member_messages.rb +4 -0
- data/lib/ebay/responses/get_message_preferences.rb +16 -0
- data/lib/ebay/responses/get_my_ebay_buying.rb +10 -0
- data/lib/ebay/responses/get_my_ebay_reminders.rb +3 -0
- data/lib/ebay/responses/get_my_ebay_selling.rb +9 -0
- data/lib/ebay/responses/get_my_messages.rb +4 -0
- data/lib/ebay/responses/get_notification_preferences.rb +5 -0
- data/lib/ebay/responses/get_notifications_usage.rb +6 -0
- data/lib/ebay/responses/get_order_transactions.rb +2 -0
- data/lib/ebay/responses/get_orders.rb +7 -0
- data/lib/ebay/responses/get_picture_manager_details.rb +2 -0
- data/lib/ebay/responses/get_picture_manager_options.rb +3 -0
- data/lib/ebay/responses/get_popular_keywords.rb +4 -0
- data/lib/ebay/responses/get_product_family_members.rb +3 -0
- data/lib/ebay/responses/get_product_finder.rb +3 -0
- data/lib/ebay/responses/get_product_finder_xsl.rb +2 -0
- data/lib/ebay/responses/get_product_search_page.rb +3 -0
- data/lib/ebay/responses/get_product_search_results.rb +3 -0
- data/lib/ebay/responses/get_product_selling_pages.rb +2 -0
- data/lib/ebay/responses/get_products.rb +33 -0
- data/lib/ebay/responses/get_promotion_rules.rb +2 -0
- data/lib/ebay/responses/get_promotional_sale_details.rb +16 -0
- data/lib/ebay/responses/get_return_url.rb +3 -0
- data/lib/ebay/responses/get_ru_name.rb +2 -0
- data/lib/ebay/responses/get_search_results.rb +14 -0
- data/lib/ebay/responses/get_search_results_express.rb +7 -0
- data/lib/ebay/responses/get_seller_events.rb +3 -0
- data/lib/ebay/responses/get_seller_list.rb +8 -0
- data/lib/ebay/responses/get_seller_payments.rb +7 -0
- data/lib/ebay/responses/get_seller_transactions.rb +9 -0
- data/lib/ebay/responses/get_shipping_discount_profiles.rb +36 -0
- data/lib/ebay/responses/get_store.rb +2 -0
- data/lib/ebay/responses/get_store_category_update_status.rb +2 -0
- data/lib/ebay/responses/get_store_custom_page.rb +2 -0
- data/lib/ebay/responses/get_store_options.rb +7 -0
- data/lib/ebay/responses/get_store_preferences.rb +2 -0
- data/lib/ebay/responses/get_suggested_categories.rb +3 -0
- data/lib/ebay/responses/get_tax_table.rb +3 -0
- data/lib/ebay/responses/get_user.rb +2 -0
- data/lib/ebay/responses/get_user_contact_details.rb +4 -0
- data/lib/ebay/responses/get_user_disputes.rb +8 -0
- data/lib/ebay/responses/get_user_preferences.rb +9 -2
- data/lib/ebay/responses/get_vero_reason_code_details.rb +2 -0
- data/lib/ebay/responses/get_vero_report_status.rb +8 -0
- data/lib/ebay/responses/get_want_it_now_post.rb +2 -0
- data/lib/ebay/responses/get_want_it_now_search_results.rb +6 -0
- data/lib/ebay/responses/issue_refund.rb +3 -0
- data/lib/ebay/responses/leave_feedback.rb +2 -0
- data/lib/ebay/responses/notification_message.rb +3 -0
- data/lib/ebay/responses/place_offer.rb +2 -0
- data/lib/ebay/responses/relist_item.rb +7 -0
- data/lib/ebay/responses/remove_from_watch_list.rb +3 -0
- data/lib/ebay/responses/respond_to_best_offer.rb +2 -0
- data/lib/ebay/responses/respond_to_feedback.rb +1 -0
- data/lib/ebay/responses/respond_to_want_it_now_post.rb +1 -0
- data/lib/ebay/responses/revise_checkout_status.rb +1 -0
- data/lib/ebay/responses/revise_item.rb +7 -0
- data/lib/ebay/responses/revise_live_auction_item.rb +5 -0
- data/lib/ebay/responses/revise_my_messages.rb +1 -0
- data/lib/ebay/responses/revise_my_messages_folders.rb +1 -0
- data/lib/ebay/responses/seller_reverse_dispute.rb +1 -0
- data/lib/ebay/responses/send_invoice.rb +1 -0
- data/lib/ebay/responses/set_cart.rb +16 -0
- data/lib/ebay/responses/set_message_preferences.rb +13 -0
- data/lib/ebay/responses/set_notification_preferences.rb +1 -0
- data/lib/ebay/responses/set_picture_manager_details.rb +1 -0
- data/lib/ebay/responses/set_promotion_rules.rb +1 -0
- data/lib/ebay/responses/set_promotional_sale.rb +17 -0
- data/lib/ebay/responses/set_promotional_sale_listings.rb +15 -0
- data/lib/ebay/responses/set_return_url.rb +1 -0
- data/lib/ebay/responses/set_shipping_discount_profiles.rb +13 -0
- data/lib/ebay/responses/set_store.rb +1 -0
- data/lib/ebay/responses/set_store_categories.rb +3 -0
- data/lib/ebay/responses/set_store_custom_page.rb +2 -0
- data/lib/ebay/responses/set_store_preferences.rb +1 -0
- data/lib/ebay/responses/set_tax_table.rb +1 -0
- data/lib/ebay/responses/set_user_notes.rb +1 -0
- data/lib/ebay/responses/set_user_preferences.rb +1 -0
- data/lib/ebay/responses/validate_challenge_input.rb +2 -0
- data/lib/ebay/responses/validate_test_user_registration.rb +1 -0
- data/lib/ebay/responses/verify_add_item.rb +7 -0
- data/lib/ebay/responses/verify_add_second_chance_item.rb +3 -2
- data/lib/ebay/responses/vero_report_items.rb +3 -0
- data/lib/ebay/schema/mapper.rb +4 -0
- data/lib/ebay/schema/mapper/class_definition.rb +4 -3
- data/lib/ebay/schema/mapper/ebay_schema_importer.rb +43 -8
- data/lib/ebay/schema/mapper/enumeration.rb +3 -1
- data/lib/ebay/schema/mapper/node.rb +2 -1
- data/lib/ebay/schema/mapper/ruby_class_generator.rb +20 -9
- data/lib/ebay/schema/mapper/ruby_class_generator_helper.rb +0 -32
- data/lib/ebay/schema/mapper/templates/base.erb +4 -0
- data/lib/ebay/schema/mapper/templates/value.erb +1 -1
- data/lib/ebay/schema/mapper/xsd2ebay.rb +1 -1
- data/lib/ebay/schema/version.rb +1 -1
- data/lib/ebay/types.rb +10 -4
- data/lib/ebay/types/account_detail_entry_code.rb +2 -0
- data/lib/ebay/types/account_entry.rb +12 -2
- data/lib/ebay/types/account_summary.rb +21 -0
- data/lib/ebay/types/ad_format_enabled_definition.rb +1 -0
- data/lib/ebay/types/ad_format_lead.rb +22 -0
- data/lib/ebay/types/{skype_option_code.rb → ad_format_lead_status_code.rb} +3 -3
- data/lib/ebay/types/add_member_messages_aaq_to_bidder_request_container.rb +4 -0
- data/lib/ebay/types/add_member_messages_aaq_to_bidder_response_container.rb +3 -0
- data/lib/ebay/types/additional_account.rb +4 -0
- data/lib/ebay/types/address.rb +29 -0
- data/lib/ebay/types/affiliate_tracking_details.rb +5 -0
- data/lib/ebay/types/amount.rb +3 -0
- data/lib/ebay/types/api_access_rule.rb +17 -0
- data/lib/ebay/types/application_delivery_preferences.rb +7 -0
- data/lib/ebay/types/asq_preferences.rb +17 -0
- data/lib/ebay/types/attribute.rb +4 -0
- data/lib/ebay/types/attribute_recommendations.rb +2 -0
- data/lib/ebay/types/attribute_set.rb +4 -0
- data/lib/ebay/types/authentication_entry.rb +6 -0
- data/lib/ebay/types/average_rating_detail_array.rb +16 -0
- data/lib/ebay/types/average_rating_details.rb +19 -0
- data/lib/ebay/types/basic_amount.rb +3 -0
- data/lib/ebay/types/basic_upgrade_pack_enabled_definition.rb +1 -0
- data/lib/ebay/types/best_offer.rb +11 -0
- data/lib/ebay/types/best_offer_auto_decline_enabled_definition.rb +1 -0
- data/lib/ebay/types/best_offer_counter_enabled_definition.rb +1 -0
- data/lib/ebay/types/best_offer_details.rb +6 -0
- data/lib/ebay/types/best_offer_enabled_definition.rb +1 -0
- data/lib/ebay/types/bid_approval.rb +5 -0
- data/lib/ebay/types/bid_approval_array.rb +2 -0
- data/lib/ebay/types/bidder_detail.rb +7 -0
- data/lib/ebay/types/bidder_detail_array.rb +2 -0
- data/lib/ebay/types/bidder_notice_preferences.rb +2 -0
- data/lib/ebay/types/bidding_details.rb +6 -0
- data/lib/ebay/types/bidding_summary.rb +8 -0
- data/lib/ebay/types/buyer.rb +2 -0
- data/lib/ebay/types/buyer_requirements.rb +8 -0
- data/lib/ebay/types/buying_guide.rb +13 -0
- data/lib/ebay/types/buying_guide_details.rb +3 -0
- data/lib/ebay/types/buying_summary.rb +8 -0
- data/lib/ebay/types/calculated_handling_discount.rb +23 -0
- data/lib/ebay/types/calculated_shipping_discount.rb +18 -0
- data/lib/ebay/types/calculated_shipping_preferences.rb +5 -0
- data/lib/ebay/types/calculated_shipping_rate.rb +11 -0
- data/lib/ebay/types/cancel_offer.rb +3 -0
- data/lib/ebay/types/cancel_offer_array.rb +2 -0
- data/lib/ebay/types/cart.rb +35 -0
- data/lib/ebay/types/cart_item.rb +20 -0
- data/lib/ebay/types/catalog_product.rb +38 -0
- data/lib/ebay/types/category.rb +23 -2
- data/lib/ebay/types/category_feature.rb +45 -0
- data/lib/ebay/types/category_finance_offer.rb +3 -0
- data/lib/ebay/types/category_mapping.rb +3 -0
- data/lib/ebay/types/characteristic.rb +8 -0
- data/lib/ebay/types/characteristic_set_ids.rb +2 -0
- data/lib/ebay/types/characteristics_set.rb +5 -0
- data/lib/ebay/types/charity.rb +9 -0
- data/lib/ebay/types/charity_affiliation.rb +3 -0
- data/lib/ebay/types/charity_id.rb +3 -0
- data/lib/ebay/types/charity_info.rb +10 -0
- data/lib/ebay/types/charity_seller.rb +3 -0
- data/lib/ebay/types/checkout_complete_redirect.rb +17 -0
- data/lib/ebay/types/checkout_order_detail.rb +21 -0
- data/lib/ebay/types/checkout_status.rb +5 -0
- data/lib/ebay/types/classified_ad_auto_decline_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_best_offer_enabled_code.rb +12 -0
- data/lib/ebay/types/classified_ad_best_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_contact_by_email_enabled_defintion.rb +13 -0
- data/lib/ebay/types/classified_ad_contact_by_phone_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_counter_offer_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_payment_method_enabled_code.rb +12 -0
- data/lib/ebay/types/classified_ad_payment_method_enabled_definition.rb +13 -0
- data/lib/ebay/types/classified_ad_shipping_method_enabled_definition.rb +13 -0
- data/lib/ebay/types/combined_payment_period_code.rb +1 -0
- data/lib/ebay/types/combined_payment_preferences.rb +5 -0
- data/lib/ebay/types/contact_hours_details.rb +31 -0
- data/lib/ebay/types/context_search_asset.rb +4 -0
- data/lib/ebay/types/country_details.rb +3 -0
- data/lib/ebay/types/cross_promotion_preferences.rb +8 -0
- data/lib/ebay/types/cross_promotions.rb +8 -1
- data/lib/ebay/types/currency_details.rb +3 -0
- data/lib/ebay/types/custom_security_header.rb +5 -0
- data/lib/ebay/types/data_element_set.rb +4 -0
- data/lib/ebay/types/days_code.rb +13 -0
- data/lib/ebay/types/description_template.rb +11 -0
- data/lib/ebay/types/detail_name_code.rb +1 -0
- data/lib/ebay/types/digital_delivery_details.rb +5 -0
- data/lib/ebay/types/digital_delivery_enabled_definition.rb +1 -0
- data/lib/ebay/types/{modify_code.rb → discount_code.rb} +3 -3
- data/lib/ebay/types/discount_name_code.rb +18 -0
- data/lib/ebay/types/discount_profile.rb +28 -0
- data/lib/ebay/types/dispatch_time_max_details.rb +3 -0
- data/lib/ebay/types/dispute.rb +21 -0
- data/lib/ebay/types/dispute_filter_count.rb +3 -0
- data/lib/ebay/types/dispute_message.rb +5 -0
- data/lib/ebay/types/dispute_resolution.rb +4 -0
- data/lib/ebay/types/distance.rb +3 -0
- data/lib/ebay/types/domain_histogram.rb +2 -0
- data/lib/ebay/types/duplicate_invocation_details.rb +4 -0
- data/lib/ebay/types/dutch_bin_enabled_definition.rb +1 -0
- data/lib/ebay/types/end_of_auction_email_preferences.rb +8 -0
- data/lib/ebay/types/error.rb +8 -0
- data/lib/ebay/types/error_parameter.rb +3 -0
- data/lib/ebay/types/expansion_array.rb +3 -0
- data/lib/ebay/types/express_condition_required_definition.rb +1 -0
- data/lib/ebay/types/express_details.rb +4 -0
- data/lib/ebay/types/express_enabled_definition.rb +1 -0
- data/lib/ebay/types/express_histogram_aisle.rb +3 -0
- data/lib/ebay/types/express_histogram_department.rb +3 -0
- data/lib/ebay/types/express_histogram_domain_details.rb +6 -0
- data/lib/ebay/types/express_histogram_product.rb +2 -0
- data/lib/ebay/types/express_item_requirements.rb +20 -0
- data/lib/ebay/types/express_pictures_required_definition.rb +1 -0
- data/lib/ebay/types/express_preferences.rb +3 -0
- data/lib/ebay/types/express_product.rb +9 -0
- data/lib/ebay/types/express_seller_requirements.rb +13 -0
- data/lib/ebay/types/extended_contact_details.rb +16 -0
- data/lib/ebay/types/extended_product_finder_id.rb +3 -0
- data/lib/ebay/types/external_alert_id_array.rb +2 -0
- data/lib/ebay/types/external_product_code.rb +1 -0
- data/lib/ebay/types/external_product_id.rb +10 -0
- data/lib/ebay/types/external_transaction.rb +5 -0
- data/lib/ebay/types/fault_details.rb +4 -0
- data/lib/ebay/types/feature_definitions.rb +55 -0
- data/lib/ebay/types/feature_id_code.rb +8 -0
- data/lib/ebay/types/fee.rb +3 -0
- data/lib/ebay/types/feedback_detail.rb +18 -0
- data/lib/ebay/types/feedback_info.rb +4 -0
- data/lib/ebay/types/feedback_period.rb +3 -0
- data/lib/ebay/types/feedback_period_array.rb +2 -0
- data/lib/ebay/types/feedback_rating_detail_code.rb +13 -0
- data/lib/ebay/types/feedback_requirements.rb +3 -0
- data/lib/ebay/types/feedback_summary.rb +12 -0
- data/lib/ebay/types/finance_offer.rb +9 -0
- data/lib/ebay/types/flat_rate_insurance_range_cost.rb +3 -0
- data/lib/ebay/types/flat_shipping_discount.rb +18 -0
- data/lib/ebay/types/flat_shipping_preferences.rb +6 -0
- data/lib/ebay/types/get_recommendations_request_container.rb +7 -4
- data/lib/ebay/types/get_recommendations_response_container.rb +7 -0
- data/lib/ebay/types/handling_name_code.rb +14 -0
- data/lib/ebay/types/histogram_entry.rb +19 -0
- data/lib/ebay/types/home_page_featured_enabled_definition.rb +1 -0
- data/lib/ebay/types/insurance_details.rb +3 -0
- data/lib/ebay/types/international_shipping_service_options.rb +7 -0
- data/lib/ebay/types/item.rb +111 -11
- data/lib/ebay/types/item_bid_details.rb +6 -0
- data/lib/ebay/types/item_id_array.rb +15 -0
- data/lib/ebay/types/item_list_customization.rb +7 -0
- data/lib/ebay/types/item_rating_detail_array.rb +16 -0
- data/lib/ebay/types/item_rating_details.rb +17 -0
- data/lib/ebay/types/item_sort_type_code.rb +4 -0
- data/lib/ebay/types/item_totals.rb +3 -0
- data/lib/ebay/types/item_transaction_id.rb +3 -0
- data/lib/ebay/types/label.rb +3 -0
- data/lib/ebay/types/listing_analyzer_recommendations.rb +2 -0
- data/lib/ebay/types/listing_checkout_redirect_preference.rb +3 -0
- data/lib/ebay/types/listing_designer.rb +4 -0
- data/lib/ebay/types/listing_details.rb +24 -1
- data/lib/ebay/types/listing_duration_definition.rb +3 -0
- data/lib/ebay/types/listing_duration_definitions.rb +3 -0
- data/lib/ebay/types/listing_duration_reference.rb +3 -0
- data/lib/ebay/types/listing_tip.rb +5 -0
- data/lib/ebay/types/listing_tip_field.rb +5 -0
- data/lib/ebay/types/listing_tip_message.rb +5 -0
- data/lib/ebay/types/live_auction_approval_status.rb +3 -0
- data/lib/ebay/types/live_auction_approval_status_array.rb +2 -0
- data/lib/ebay/types/live_auction_bid.rb +5 -0
- data/lib/ebay/types/live_auction_bid_array.rb +2 -0
- data/lib/ebay/types/live_auction_catalog.rb +4 -0
- data/lib/ebay/types/live_auction_details.rb +6 -0
- data/lib/ebay/types/local_listing_distances_non_subscription_definition.rb +1 -0
- data/lib/ebay/types/local_listing_distances_regular_definition.rb +1 -0
- data/lib/ebay/types/local_listing_distances_specialty_definition.rb +1 -0
- data/lib/ebay/types/local_market_non_subscription_definition.rb +1 -0
- data/lib/ebay/types/local_market_premium_subscription_definition.rb +1 -0
- data/lib/ebay/types/local_market_regular_subscription_definition.rb +1 -0
- data/lib/ebay/types/local_market_speciality_subscription_definition.rb +1 -0
- data/lib/ebay/types/local_search.rb +3 -0
- data/lib/ebay/types/lookup_attribute.rb +3 -0
- data/lib/ebay/types/mark_up_mark_down_event.rb +8 -0
- data/lib/ebay/types/maximum_item_requirements.rb +3 -0
- data/lib/ebay/types/measure.rb +4 -0
- data/lib/ebay/types/member_message.rb +13 -0
- data/lib/ebay/types/member_message_exchange.rb +7 -0
- data/lib/ebay/types/member_message_exchange_array.rb +2 -0
- data/lib/ebay/types/message_type_code.rb +2 -0
- data/lib/ebay/types/minimum_reserve_price_definition.rb +1 -0
- data/lib/ebay/types/my_ebay_favorite_search.rb +3 -0
- data/lib/ebay/types/my_ebay_favorite_search_list.rb +3 -0
- data/lib/ebay/types/my_ebay_favorite_seller.rb +3 -0
- data/lib/ebay/types/my_ebay_favorite_seller_list.rb +3 -0
- data/lib/ebay/types/my_ebay_second_chance_offer_list.rb +3 -0
- data/lib/ebay/types/my_ebay_selection.rb +4 -0
- data/lib/ebay/types/my_ebay_selling_summary.rb +35 -0
- data/lib/ebay/types/my_messages_alert.rb +22 -0
- data/lib/ebay/types/my_messages_alert_array.rb +2 -0
- data/lib/ebay/types/my_messages_alert_id_array.rb +2 -0
- data/lib/ebay/types/my_messages_folder.rb +3 -0
- data/lib/ebay/types/my_messages_folder_summary.rb +7 -0
- data/lib/ebay/types/my_messages_forward_details.rb +3 -0
- data/lib/ebay/types/my_messages_message.rb +18 -0
- data/lib/ebay/types/my_messages_message_array.rb +2 -0
- data/lib/ebay/types/my_messages_message_id_array.rb +2 -0
- data/lib/ebay/types/my_messages_response_details.rb +4 -0
- data/lib/ebay/types/my_messages_summary.rb +8 -0
- data/lib/ebay/types/name_value_list.rb +3 -0
- data/lib/ebay/types/name_value_list_array.rb +2 -0
- data/lib/ebay/types/notification_details.rb +14 -0
- data/lib/ebay/types/notification_enable.rb +3 -0
- data/lib/ebay/types/notification_enable_array.rb +2 -0
- data/lib/ebay/types/notification_event_property.rb +4 -0
- data/lib/ebay/types/notification_event_type_code.rb +1 -0
- data/lib/ebay/types/notification_statistics.rb +6 -0
- data/lib/ebay/types/notification_user_data.rb +3 -0
- data/lib/ebay/types/offer.rb +15 -0
- data/lib/ebay/types/offer_array.rb +2 -0
- data/lib/ebay/types/order.rb +21 -0
- data/lib/ebay/types/order_status_code.rb +4 -0
- data/lib/ebay/types/order_transaction.rb +3 -0
- data/lib/ebay/types/paginated_item_array.rb +3 -0
- data/lib/ebay/types/paginated_order_transaction_array.rb +3 -0
- data/lib/ebay/types/paginated_transaction_array.rb +3 -0
- data/lib/ebay/types/pagination.rb +3 -0
- data/lib/ebay/types/pagination_result.rb +3 -0
- data/lib/ebay/types/payment_details.rb +3 -0
- data/lib/ebay/types/payment_option_details.rb +3 -0
- data/lib/ebay/types/picture_details.rb +6 -0
- data/lib/ebay/types/picture_manager_details.rb +8 -0
- data/lib/ebay/types/picture_manager_folder.rb +4 -0
- data/lib/ebay/types/picture_manager_picture.rb +5 -0
- data/lib/ebay/types/picture_manager_picture_display.rb +6 -0
- data/lib/ebay/types/picture_manager_subscription.rb +4 -0
- data/lib/ebay/types/price_range_filter.rb +3 -0
- data/lib/ebay/types/pricing_recommendations.rb +2 -0
- data/lib/ebay/types/pro_pack_enabled_definition.rb +1 -0
- data/lib/ebay/types/pro_pack_plus_enabled_definition.rb +1 -0
- data/lib/ebay/types/pro_stores_checkout_preference.rb +3 -0
- data/lib/ebay/types/pro_stores_details.rb +4 -0
- data/lib/ebay/types/product.rb +9 -0
- data/lib/ebay/types/product_family.rb +4 -0
- data/lib/ebay/types/product_finder_constraint.rb +3 -0
- data/lib/ebay/types/product_info.rb +5 -0
- data/lib/ebay/types/product_listing_details.rb +7 -0
- data/lib/ebay/types/product_search.rb +17 -0
- data/lib/ebay/types/product_search_page.rb +5 -1
- data/lib/ebay/types/product_search_result.rb +5 -9
- data/lib/ebay/types/product_sort_code.rb +19 -0
- data/lib/ebay/types/promoted_item.rb +9 -3
- data/lib/ebay/types/promotion_details.rb +5 -0
- data/lib/ebay/types/promotion_rule.rb +12 -0
- data/lib/ebay/types/promotional_sale.rb +29 -0
- data/lib/ebay/types/promotional_sale_array.rb +16 -0
- data/lib/ebay/types/promotional_sale_details.rb +19 -0
- data/lib/ebay/types/promotional_sale_status_code.rb +14 -0
- data/lib/ebay/types/promotional_shipping_discount.rb +21 -0
- data/lib/ebay/types/promotional_shipping_discount_details.rb +21 -0
- data/lib/ebay/types/proximity_search.rb +3 -0
- data/lib/ebay/types/quantity.rb +3 -0
- data/lib/ebay/types/question_type_code.rb +1 -0
- data/lib/ebay/types/reason_code_detail.rb +4 -0
- data/lib/ebay/types/refund.rb +4 -0
- data/lib/ebay/types/region_details.rb +3 -0
- data/lib/ebay/types/related_search_keyword_array.rb +2 -0
- data/lib/ebay/types/reminder_customization.rb +3 -0
- data/lib/ebay/types/reminders.rb +11 -0
- data/lib/ebay/types/request_categories.rb +5 -0
- data/lib/ebay/types/response_attribute_set.rb +8 -0
- data/lib/ebay/types/review.rb +25 -0
- data/lib/ebay/types/review_details.rb +18 -0
- data/lib/ebay/types/revise_status.rb +6 -0
- data/lib/ebay/types/safe_payment_required_definition.rb +13 -0
- data/lib/ebay/types/sales_tax.rb +5 -0
- data/lib/ebay/types/schedule.rb +3 -0
- data/lib/ebay/types/scheduling_info.rb +4 -0
- data/lib/ebay/types/search_attributes.rb +5 -0
- data/lib/ebay/types/search_details.rb +4 -0
- data/lib/ebay/types/search_location.rb +3 -0
- data/lib/ebay/types/search_location_filter.rb +5 -0
- data/lib/ebay/types/search_request.rb +3 -1
- data/lib/ebay/types/search_result_item.rb +4 -0
- data/lib/ebay/types/search_store_filter.rb +3 -0
- data/lib/ebay/types/seller.rb +26 -0
- data/lib/ebay/types/seller_contact_details_enabled_definition.rb +1 -0
- data/lib/ebay/types/seller_favorite_item_preferences.rb +8 -0
- data/lib/ebay/types/seller_payment.rb +14 -0
- data/lib/ebay/types/seller_payment_preferences.rb +8 -0
- data/lib/ebay/types/selling_manager_product_details.rb +4 -0
- data/lib/ebay/types/selling_status.rb +17 -0
- data/lib/ebay/types/selling_summary.rb +8 -0
- data/lib/ebay/types/shipment.rb +25 -0
- data/lib/ebay/types/shipping_details.rb +45 -2
- data/lib/ebay/types/shipping_insurance.rb +18 -0
- data/lib/ebay/types/shipping_location_details.rb +3 -0
- data/lib/ebay/types/shipping_service_details.rb +9 -0
- data/lib/ebay/types/shipping_service_options.rb +10 -0
- data/lib/ebay/types/shipping_term_required_definition.rb +1 -0
- data/lib/ebay/types/sifftas_recommendations.rb +2 -0
- data/lib/ebay/types/site_defaults.rb +47 -0
- data/lib/ebay/types/site_details.rb +3 -0
- data/lib/ebay/types/site_location.rb +2 -0
- data/lib/ebay/types/site_wide_characteristics.rb +3 -0
- data/lib/ebay/types/skype_me_non_transactional_enabled_definition.rb +1 -0
- data/lib/ebay/types/skype_me_transactional_enabled_definition.rb +1 -0
- data/lib/ebay/types/sms_subscription.rb +6 -0
- data/lib/ebay/types/spelling_suggestion.rb +3 -0
- data/lib/ebay/types/store.rb +19 -0
- data/lib/ebay/types/store_color.rb +4 -0
- data/lib/ebay/types/store_color_scheme.rb +5 -0
- data/lib/ebay/types/store_color_scheme_array.rb +2 -0
- data/lib/ebay/types/store_custom_category.rb +5 -1
- data/lib/ebay/types/store_custom_category_array.rb +2 -0
- data/lib/ebay/types/store_custom_listing_header.rb +8 -0
- data/lib/ebay/types/store_custom_listing_header_link.rb +4 -0
- data/lib/ebay/types/store_custom_page.rb +10 -0
- data/lib/ebay/types/store_custom_page_array.rb +2 -0
- data/lib/ebay/types/store_font.rb +10 -0
- data/lib/ebay/types/store_inventory_enabled_definition.rb +1 -0
- data/lib/ebay/types/store_logo.rb +4 -0
- data/lib/ebay/types/store_logo_array.rb +2 -0
- data/lib/ebay/types/store_preferences.rb +2 -0
- data/lib/ebay/types/store_subscription.rb +3 -0
- data/lib/ebay/types/store_subscription_array.rb +2 -0
- data/lib/ebay/types/store_theme.rb +4 -0
- data/lib/ebay/types/store_theme_array.rb +3 -0
- data/lib/ebay/types/store_vacation_preferences.rb +8 -0
- data/lib/ebay/types/storefront.rb +5 -0
- data/lib/ebay/types/subscription.rb +4 -0
- data/lib/ebay/types/suggested_category.rb +3 -0
- data/lib/ebay/types/summary_event_schedule.rb +4 -0
- data/lib/ebay/types/supported_event_types_array.rb +2 -0
- data/lib/ebay/types/tax_jurisdiction.rb +5 -0
- data/lib/ebay/types/tcr_enabled_definition.rb +1 -0
- data/lib/ebay/types/theme_group.rb +5 -0
- data/lib/ebay/types/time_zone_details.rb +25 -0
- data/lib/ebay/types/transaction.rb +34 -0
- data/lib/ebay/types/transaction_status.rb +7 -0
- data/lib/ebay/types/url_details.rb +3 -0
- data/lib/ebay/types/user.rb +39 -0
- data/lib/ebay/types/user_consent_required_definition.rb +1 -0
- data/lib/ebay/types/user_id_array.rb +2 -0
- data/lib/ebay/types/user_id_filter.rb +3 -0
- data/lib/ebay/types/user_id_password.rb +6 -0
- data/lib/ebay/types/val.rb +4 -0
- data/lib/ebay/types/value_pack_enabled_definition.rb +1 -0
- data/lib/ebay/types/vat_details.rb +4 -0
- data/lib/ebay/types/verified_user_requirements.rb +3 -0
- data/lib/ebay/types/vero_report_item.rb +5 -0
- data/lib/ebay/types/vero_report_items.rb +2 -0
- data/lib/ebay/types/vero_reported_item.rb +4 -0
- data/lib/ebay/types/vero_reported_item_details.rb +2 -0
- data/lib/ebay/types/vero_site_detail.rb +3 -0
- data/lib/ebay/types/want_it_now_post.rb +8 -0
- data/lib/ebay/types/xml_requester_credentials.rb +4 -0
- data/lib/ebay/types/xsl_file.rb +4 -0
- data/rakefile +12 -5
- data/test/test_helper.rb +9 -0
- data/test/unit/inflections_test.rb +103 -0
- metadata +71 -31
- data/lib/ebay/requests/add_member_message.rb +0 -15
- data/lib/ebay/requests/get_my_ebay.rb +0 -22
- data/lib/ebay/requests/get_recommendations.rb +0 -21
- data/lib/ebay/responses/add_member_message.rb +0 -12
- data/lib/ebay/responses/get_my_ebay.rb +0 -23
- data/lib/ebay/responses/get_recommendations.rb +0 -22
- data/lib/ebay/types/ebx_opt_in_preference.rb +0 -13
- data/lib/ebay/types/modified_field.rb +0 -14
- data/lib/ebay/types/proximity_search_details.rb +0 -13
- data/lib/ebay/types/shipping_option_code.rb +0 -13
- data/lib/ebay/types/shipping_terms_code.rb +0 -11
- data/lib/ebay/types/site_hosted_picture.rb +0 -17
- data/lib/ebay/types/vendor_hosted_picture.rb +0 -17
- data/lib/support/core_ext/hash.rb +0 -24
- data/lib/support/core_ext/string.rb +0 -29
- data/test/unit/core_ext_hash_test.rb +0 -61
- data/test/unit/core_ext_string_test.rb +0 -101
@@ -1,7 +1,23 @@
|
|
1
1
|
require 'ebay/types/user'
|
2
|
+
require 'ebay/types/promotional_sale_details'
|
2
3
|
|
3
4
|
module Ebay # :nodoc:
|
4
5
|
module Types # :nodoc:
|
6
|
+
# == Attributes
|
7
|
+
# numeric_node :bid_count, 'BidCount', :optional => true
|
8
|
+
# money_node :bid_increment, 'BidIncrement', :optional => true
|
9
|
+
# money_node :converted_current_price, 'ConvertedCurrentPrice', :optional => true
|
10
|
+
# money_node :current_price, 'CurrentPrice', :optional => true
|
11
|
+
# object_node :high_bidder, 'HighBidder', :class => User, :optional => true
|
12
|
+
# numeric_node :lead_count, 'LeadCount', :optional => true
|
13
|
+
# money_node :minimum_to_bid, 'MinimumToBid', :optional => true
|
14
|
+
# numeric_node :quantity_sold, 'QuantitySold', :optional => true
|
15
|
+
# boolean_node :reserve_met, 'ReserveMet', 'true', 'false', :optional => true
|
16
|
+
# boolean_node :second_chance_eligible, 'SecondChanceEligible', 'true', 'false', :optional => true
|
17
|
+
# numeric_node :bidder_count, 'BidderCount', :optional => true
|
18
|
+
# text_node :listing_status, 'ListingStatus', :optional => true
|
19
|
+
# money_node :final_value_fee, 'FinalValueFee', :optional => true
|
20
|
+
# object_node :promotional_sale_details, 'PromotionalSaleDetails', :class => PromotionalSaleDetails, :optional => true
|
5
21
|
class SellingStatus
|
6
22
|
include XML::Mapping
|
7
23
|
include Initializer
|
@@ -19,6 +35,7 @@ module Ebay # :nodoc:
|
|
19
35
|
numeric_node :bidder_count, 'BidderCount', :optional => true
|
20
36
|
text_node :listing_status, 'ListingStatus', :optional => true
|
21
37
|
money_node :final_value_fee, 'FinalValueFee', :optional => true
|
38
|
+
object_node :promotional_sale_details, 'PromotionalSaleDetails', :class => PromotionalSaleDetails, :optional => true
|
22
39
|
end
|
23
40
|
end
|
24
41
|
end
|
@@ -1,6 +1,14 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# numeric_node :active_auction_count, 'ActiveAuctionCount', :optional => true
|
6
|
+
# numeric_node :auction_selling_count, 'AuctionSellingCount', :optional => true
|
7
|
+
# numeric_node :auction_bid_count, 'AuctionBidCount', :optional => true
|
8
|
+
# money_node :total_auction_selling_value, 'TotalAuctionSellingValue', :optional => true
|
9
|
+
# numeric_node :total_sold_count, 'TotalSoldCount', :optional => true
|
10
|
+
# money_node :total_sold_value, 'TotalSoldValue', :optional => true
|
11
|
+
# numeric_node :sold_duration_in_days, 'SoldDurationInDays', :optional => true
|
4
12
|
class SellingSummary
|
5
13
|
include XML::Mapping
|
6
14
|
include Initializer
|
data/lib/ebay/types/shipment.rb
CHANGED
@@ -4,6 +4,31 @@ require 'ebay/types/item_transaction_id'
|
|
4
4
|
|
5
5
|
module Ebay # :nodoc:
|
6
6
|
module Types # :nodoc:
|
7
|
+
# == Attributes
|
8
|
+
# time_node :estimated_delivery_date, 'EstimatedDeliveryDate', :optional => true
|
9
|
+
# money_node :insured_value, 'InsuredValue', :optional => true
|
10
|
+
# object_node :package_depth, 'PackageDepth', :class => Measure, :optional => true
|
11
|
+
# object_node :package_length, 'PackageLength', :class => Measure, :optional => true
|
12
|
+
# object_node :package_width, 'PackageWidth', :class => Measure, :optional => true
|
13
|
+
# text_node :paypal_shipment_id, 'PayPalShipmentID', :optional => true
|
14
|
+
# numeric_node :shipment_id, 'ShipmentID', :optional => true
|
15
|
+
# money_node :postage_total, 'PostageTotal', :optional => true
|
16
|
+
# time_node :printed_time, 'PrintedTime', :optional => true
|
17
|
+
# object_node :ship_from_address, 'ShipFromAddress', :class => Address, :optional => true
|
18
|
+
# object_node :shipping_address, 'ShippingAddress', :class => Address, :optional => true
|
19
|
+
# text_node :shipping_carrier_used, 'ShippingCarrierUsed', :optional => true
|
20
|
+
# value_array_node :shipping_features, 'ShippingFeature', :default_value => []
|
21
|
+
# text_node :shipping_package, 'ShippingPackage', :optional => true
|
22
|
+
# text_node :shipping_service_used, 'ShippingServiceUsed', :optional => true
|
23
|
+
# text_node :shipment_tracking_number, 'ShipmentTrackingNumber', :optional => true
|
24
|
+
# object_node :weight_major, 'WeightMajor', :class => Measure, :optional => true
|
25
|
+
# object_node :weight_minor, 'WeightMinor', :class => Measure, :optional => true
|
26
|
+
# array_node :item_transaction_ids, 'ItemTransactionID', :class => ItemTransactionID, :default_value => []
|
27
|
+
# time_node :delivery_date, 'DeliveryDate', :optional => true
|
28
|
+
# text_node :delivery_status, 'DeliveryStatus', :optional => true
|
29
|
+
# time_node :refund_granted_time, 'RefundGrantedTime', :optional => true
|
30
|
+
# time_node :refund_requested_time, 'RefundRequestedTime', :optional => true
|
31
|
+
# text_node :status, 'Status', :optional => true
|
7
32
|
class Shipment
|
8
33
|
include XML::Mapping
|
9
34
|
include Initializer
|
@@ -4,14 +4,49 @@ require 'ebay/types/shipping_service_options'
|
|
4
4
|
require 'ebay/types/international_shipping_service_options'
|
5
5
|
require 'ebay/types/tax_jurisdiction'
|
6
6
|
require 'ebay/types/insurance_details'
|
7
|
+
require 'ebay/types/flat_shipping_discount'
|
8
|
+
require 'ebay/types/calculated_shipping_discount'
|
9
|
+
require 'ebay/types/promotional_shipping_discount_details'
|
7
10
|
|
8
11
|
module Ebay # :nodoc:
|
9
12
|
module Types # :nodoc:
|
13
|
+
# == Attributes
|
14
|
+
# boolean_node :apply_shipping_discount, 'ApplyShippingDiscount', 'true', 'false', :optional => true
|
15
|
+
# object_node :calculated_shipping_rate, 'CalculatedShippingRate', :class => CalculatedShippingRate, :optional => true
|
16
|
+
# boolean_node :change_payment_instructions, 'ChangePaymentInstructions', 'true', 'false', :optional => true
|
17
|
+
# money_node :insurance_fee, 'InsuranceFee', :optional => true
|
18
|
+
# text_node :insurance_option, 'InsuranceOption', :optional => true
|
19
|
+
# boolean_node :insurance_wanted, 'InsuranceWanted', 'true', 'false', :optional => true
|
20
|
+
# boolean_node :payment_edited, 'PaymentEdited', 'true', 'false', :optional => true
|
21
|
+
# text_node :payment_instructions, 'PaymentInstructions', :optional => true
|
22
|
+
# object_node :sales_tax, 'SalesTax', :class => SalesTax, :optional => true
|
23
|
+
# text_node :shipping_rate_error_message, 'ShippingRateErrorMessage', :optional => true
|
24
|
+
# text_node :shipping_rate_type, 'ShippingRateType', :optional => true
|
25
|
+
# array_node :shipping_service_options, 'ShippingServiceOptions', :class => ShippingServiceOptions, :default_value => []
|
26
|
+
# array_node :international_shipping_service_options, 'InternationalShippingServiceOption', :class => InternationalShippingServiceOptions, :default_value => []
|
27
|
+
# text_node :shipping_type, 'ShippingType', :optional => true
|
28
|
+
# numeric_node :selling_manager_sales_record_number, 'SellingManagerSalesRecordNumber', :optional => true
|
29
|
+
# boolean_node :third_party_checkout, 'ThirdPartyCheckout', 'true', 'false', :optional => true
|
30
|
+
# array_node :tax_tables, 'TaxTable', 'TaxJurisdiction', :class => TaxJurisdiction, :default_value => []
|
31
|
+
# boolean_node :get_it_fast, 'GetItFast', 'true', 'false', :optional => true
|
32
|
+
# text_node :shipment_tracking_number, 'ShipmentTrackingNumber', :optional => true
|
33
|
+
# text_node :shipping_service_used, 'ShippingServiceUsed', :optional => true
|
34
|
+
# money_node :default_shipping_cost, 'DefaultShippingCost', :optional => true
|
35
|
+
# object_node :insurance_details, 'InsuranceDetails', :class => InsuranceDetails, :optional => true
|
36
|
+
# object_node :international_insurance_details, 'InternationalInsuranceDetails', :class => InsuranceDetails, :optional => true
|
37
|
+
# text_node :shipping_discount_profile_id, 'ShippingDiscountProfileID', :optional => true
|
38
|
+
# object_node :flat_shipping_discount, 'FlatShippingDiscount', :class => FlatShippingDiscount, :optional => true
|
39
|
+
# object_node :calculated_shipping_discount, 'CalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
40
|
+
# boolean_node :promotional_shipping_discount, 'PromotionalShippingDiscount', 'true', 'false', :optional => true
|
41
|
+
# text_node :international_shipping_discount_profile_id, 'InternationalShippingDiscountProfileID', :optional => true
|
42
|
+
# object_node :international_flat_shipping_discount, 'InternationalFlatShippingDiscount', :class => FlatShippingDiscount, :optional => true
|
43
|
+
# object_node :international_calculated_shipping_discount, 'InternationalCalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
44
|
+
# boolean_node :international_promotional_shipping_discount, 'InternationalPromotionalShippingDiscount', 'true', 'false', :optional => true
|
45
|
+
# object_node :promotional_shipping_discount_details, 'PromotionalShippingDiscountDetails', :class => PromotionalShippingDiscountDetails, :optional => true
|
10
46
|
class ShippingDetails
|
11
47
|
include XML::Mapping
|
12
48
|
include Initializer
|
13
49
|
root_element_name 'ShippingDetails'
|
14
|
-
boolean_node :allow_payment_edit, 'AllowPaymentEdit', 'true', 'false', :optional => true
|
15
50
|
boolean_node :apply_shipping_discount, 'ApplyShippingDiscount', 'true', 'false', :optional => true
|
16
51
|
object_node :calculated_shipping_rate, 'CalculatedShippingRate', :class => CalculatedShippingRate, :optional => true
|
17
52
|
boolean_node :change_payment_instructions, 'ChangePaymentInstructions', 'true', 'false', :optional => true
|
@@ -21,7 +56,6 @@ module Ebay # :nodoc:
|
|
21
56
|
boolean_node :payment_edited, 'PaymentEdited', 'true', 'false', :optional => true
|
22
57
|
text_node :payment_instructions, 'PaymentInstructions', :optional => true
|
23
58
|
object_node :sales_tax, 'SalesTax', :class => SalesTax, :optional => true
|
24
|
-
text_node :seller_postal_code, 'SellerPostalCode', :optional => true
|
25
59
|
text_node :shipping_rate_error_message, 'ShippingRateErrorMessage', :optional => true
|
26
60
|
text_node :shipping_rate_type, 'ShippingRateType', :optional => true
|
27
61
|
array_node :shipping_service_options, 'ShippingServiceOptions', :class => ShippingServiceOptions, :default_value => []
|
@@ -36,6 +70,15 @@ module Ebay # :nodoc:
|
|
36
70
|
money_node :default_shipping_cost, 'DefaultShippingCost', :optional => true
|
37
71
|
object_node :insurance_details, 'InsuranceDetails', :class => InsuranceDetails, :optional => true
|
38
72
|
object_node :international_insurance_details, 'InternationalInsuranceDetails', :class => InsuranceDetails, :optional => true
|
73
|
+
text_node :shipping_discount_profile_id, 'ShippingDiscountProfileID', :optional => true
|
74
|
+
object_node :flat_shipping_discount, 'FlatShippingDiscount', :class => FlatShippingDiscount, :optional => true
|
75
|
+
object_node :calculated_shipping_discount, 'CalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
76
|
+
boolean_node :promotional_shipping_discount, 'PromotionalShippingDiscount', 'true', 'false', :optional => true
|
77
|
+
text_node :international_shipping_discount_profile_id, 'InternationalShippingDiscountProfileID', :optional => true
|
78
|
+
object_node :international_flat_shipping_discount, 'InternationalFlatShippingDiscount', :class => FlatShippingDiscount, :optional => true
|
79
|
+
object_node :international_calculated_shipping_discount, 'InternationalCalculatedShippingDiscount', :class => CalculatedShippingDiscount, :optional => true
|
80
|
+
boolean_node :international_promotional_shipping_discount, 'InternationalPromotionalShippingDiscount', 'true', 'false', :optional => true
|
81
|
+
object_node :promotional_shipping_discount_details, 'PromotionalShippingDiscountDetails', :class => PromotionalShippingDiscountDetails, :optional => true
|
39
82
|
end
|
40
83
|
end
|
41
84
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'ebay/types/flat_rate_insurance_range_cost'
|
2
|
+
|
3
|
+
module Ebay # :nodoc:
|
4
|
+
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# text_node :insurance_option, 'InsuranceOption', :optional => true
|
7
|
+
# array_node :flat_rate_insurance_range_costs, 'FlatRateInsuranceRangeCost', :class => FlatRateInsuranceRangeCost, :default_value => []
|
8
|
+
class ShippingInsurance
|
9
|
+
include XML::Mapping
|
10
|
+
include Initializer
|
11
|
+
root_element_name 'ShippingInsurance'
|
12
|
+
text_node :insurance_option, 'InsuranceOption', :optional => true
|
13
|
+
array_node :flat_rate_insurance_range_costs, 'FlatRateInsuranceRangeCost', :class => FlatRateInsuranceRangeCost, :default_value => []
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
|
@@ -1,6 +1,9 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :shipping_location, 'ShippingLocation', :optional => true
|
6
|
+
# text_node :description, 'Description', :optional => true
|
4
7
|
class ShippingLocationDetails
|
5
8
|
include XML::Mapping
|
6
9
|
include Initializer
|
@@ -1,6 +1,15 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :description, 'Description', :optional => true
|
6
|
+
# boolean_node :expedited_service, 'ExpeditedService', 'true', 'false', :optional => true
|
7
|
+
# boolean_node :international_service, 'InternationalService', 'true', 'false', :optional => true
|
8
|
+
# text_node :shipping_service, 'ShippingService', :optional => true
|
9
|
+
# numeric_node :shipping_service_id, 'ShippingServiceID', :optional => true
|
10
|
+
# numeric_node :shipping_time_max, 'ShippingTimeMax', :optional => true
|
11
|
+
# numeric_node :shipping_time_min, 'ShippingTimeMin', :optional => true
|
12
|
+
# text_node :shipping_service_code, 'ShippingServiceCode', :optional => true
|
4
13
|
class ShippingServiceDetails
|
5
14
|
include XML::Mapping
|
6
15
|
include Initializer
|
@@ -1,6 +1,16 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# money_node :shipping_insurance_cost, 'ShippingInsuranceCost', :optional => true
|
6
|
+
# text_node :shipping_service, 'ShippingService', :optional => true
|
7
|
+
# money_node :shipping_service_cost, 'ShippingServiceCost', :optional => true
|
8
|
+
# money_node :shipping_service_additional_cost, 'ShippingServiceAdditionalCost', :optional => true
|
9
|
+
# numeric_node :shipping_service_priority, 'ShippingServicePriority', :optional => true
|
10
|
+
# boolean_node :expedited_service, 'ExpeditedService', 'true', 'false', :optional => true
|
11
|
+
# numeric_node :shipping_time_min, 'ShippingTimeMin', :optional => true
|
12
|
+
# numeric_node :shipping_time_max, 'ShippingTimeMax', :optional => true
|
13
|
+
# money_node :shipping_surcharge, 'ShippingSurcharge', :optional => true
|
4
14
|
class ShippingServiceOptions
|
5
15
|
include XML::Mapping
|
6
16
|
include Initializer
|
@@ -2,6 +2,8 @@ require 'ebay/types/attribute_set'
|
|
2
2
|
|
3
3
|
module Ebay # :nodoc:
|
4
4
|
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# array_node :attribute_sets, 'AttributeSetArray', 'AttributeSet', :class => AttributeSet, :default_value => []
|
5
7
|
class SIFFTASRecommendations
|
6
8
|
include XML::Mapping
|
7
9
|
include Initializer
|
@@ -2,6 +2,45 @@ require 'ebay/types/listing_duration_reference'
|
|
2
2
|
|
3
3
|
module Ebay # :nodoc:
|
4
4
|
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# array_node :listing_durations, 'ListingDuration', :class => ListingDurationReference, :default_value => []
|
7
|
+
# boolean_node :shipping_terms_required, 'ShippingTermsRequired', 'true', 'false', :optional => true
|
8
|
+
# boolean_node :best_offer_enabled, 'BestOfferEnabled', 'true', 'false', :optional => true
|
9
|
+
# boolean_node :dutch_bin_enabled, 'DutchBINEnabled', 'true', 'false', :optional => true
|
10
|
+
# boolean_node :user_consent_required, 'UserConsentRequired', 'true', 'false', :optional => true
|
11
|
+
# boolean_node :home_page_featured_enabled, 'HomePageFeaturedEnabled', 'true', 'false', :optional => true
|
12
|
+
# boolean_node :pro_pack_enabled, 'ProPackEnabled', 'true', 'false', :optional => true
|
13
|
+
# boolean_node :basic_upgrade_pack_enabled, 'BasicUpgradePackEnabled', 'true', 'false', :optional => true
|
14
|
+
# boolean_node :value_pack_enabled, 'ValuePackEnabled', 'true', 'false', :optional => true
|
15
|
+
# boolean_node :pro_pack_plus_enabled, 'ProPackPlusEnabled', 'true', 'false', :optional => true
|
16
|
+
# text_node :ad_format_enabled, 'AdFormatEnabled', :optional => true
|
17
|
+
# text_node :digital_delivery_enabled, 'DigitalDeliveryEnabled', :optional => true
|
18
|
+
# boolean_node :best_offer_counter_enabled, 'BestOfferCounterEnabled', 'true', 'false', :optional => true
|
19
|
+
# boolean_node :best_offer_auto_decline_enabled, 'BestOfferAutoDeclineEnabled', 'true', 'false', :optional => true
|
20
|
+
# boolean_node :local_market_speciality_subscription, 'LocalMarketSpecialitySubscription', 'true', 'false', :optional => true
|
21
|
+
# boolean_node :local_market_regular_subscription, 'LocalMarketRegularSubscription', 'true', 'false', :optional => true
|
22
|
+
# boolean_node :local_market_premium_subscription, 'LocalMarketPremiumSubscription', 'true', 'false', :optional => true
|
23
|
+
# boolean_node :local_market_non_subscription, 'LocalMarketNonSubscription', 'true', 'false', :optional => true
|
24
|
+
# boolean_node :express_enabled, 'ExpressEnabled', 'true', 'false', :optional => true
|
25
|
+
# boolean_node :express_pictures_required, 'ExpressPicturesRequired', 'true', 'false', :optional => true
|
26
|
+
# boolean_node :express_condition_required, 'ExpressConditionRequired', 'true', 'false', :optional => true
|
27
|
+
# numeric_node :minimum_reserve_price, 'MinimumReservePrice', :optional => true
|
28
|
+
# boolean_node :seller_contact_details_enabled, 'SellerContactDetailsEnabled', 'true', 'false', :optional => true
|
29
|
+
# boolean_node :transaction_confirmation_request_enabled, 'TransactionConfirmationRequestEnabled', 'true', 'false', :optional => true
|
30
|
+
# boolean_node :store_inventory_enabled, 'StoreInventoryEnabled', 'true', 'false', :optional => true
|
31
|
+
# boolean_node :skype_me_transactional_enabled, 'SkypeMeTransactionalEnabled', 'true', 'false', :optional => true
|
32
|
+
# boolean_node :skype_me_non_transactional_enabled, 'SkypeMeNonTransactionalEnabled', 'true', 'false', :optional => true
|
33
|
+
# text_node :local_listing_distances_regular, 'LocalListingDistancesRegular', :optional => true
|
34
|
+
# text_node :local_listing_distances_specialty, 'LocalListingDistancesSpecialty', :optional => true
|
35
|
+
# text_node :local_listing_distances_non_subscription, 'LocalListingDistancesNonSubscription', :optional => true
|
36
|
+
# text_node :classified_ad_payment_method_enabled, 'ClassifiedAdPaymentMethodEnabled', :optional => true
|
37
|
+
# boolean_node :classified_ad_shipping_method_enabled, 'ClassifiedAdShippingMethodEnabled', 'true', 'false', :optional => true
|
38
|
+
# text_node :classified_ad_best_offer_enabled, 'ClassifiedAdBestOfferEnabled', :optional => true
|
39
|
+
# boolean_node :classified_ad_counter_offer_enabled, 'ClassifiedAdCounterOfferEnabled', 'true', 'false', :optional => true
|
40
|
+
# boolean_node :classified_ad_auto_decline_enabled, 'ClassifiedAdAutoDeclineEnabled', 'true', 'false', :optional => true
|
41
|
+
# boolean_node :classified_ad_contact_by_phone_enabled, 'ClassifiedAdContactByPhoneEnabled', 'true', 'false', :optional => true
|
42
|
+
# boolean_node :classified_ad_contact_by_email_enabled, 'ClassifiedAdContactByEmailEnabled', 'true', 'false', :optional => true
|
43
|
+
# boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
|
5
44
|
class SiteDefaults
|
6
45
|
include XML::Mapping
|
7
46
|
include Initializer
|
@@ -36,6 +75,14 @@ module Ebay # :nodoc:
|
|
36
75
|
text_node :local_listing_distances_regular, 'LocalListingDistancesRegular', :optional => true
|
37
76
|
text_node :local_listing_distances_specialty, 'LocalListingDistancesSpecialty', :optional => true
|
38
77
|
text_node :local_listing_distances_non_subscription, 'LocalListingDistancesNonSubscription', :optional => true
|
78
|
+
text_node :classified_ad_payment_method_enabled, 'ClassifiedAdPaymentMethodEnabled', :optional => true
|
79
|
+
boolean_node :classified_ad_shipping_method_enabled, 'ClassifiedAdShippingMethodEnabled', 'true', 'false', :optional => true
|
80
|
+
text_node :classified_ad_best_offer_enabled, 'ClassifiedAdBestOfferEnabled', :optional => true
|
81
|
+
boolean_node :classified_ad_counter_offer_enabled, 'ClassifiedAdCounterOfferEnabled', 'true', 'false', :optional => true
|
82
|
+
boolean_node :classified_ad_auto_decline_enabled, 'ClassifiedAdAutoDeclineEnabled', 'true', 'false', :optional => true
|
83
|
+
boolean_node :classified_ad_contact_by_phone_enabled, 'ClassifiedAdContactByPhoneEnabled', 'true', 'false', :optional => true
|
84
|
+
boolean_node :classified_ad_contact_by_email_enabled, 'ClassifiedAdContactByEmailEnabled', 'true', 'false', :optional => true
|
85
|
+
boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
|
39
86
|
end
|
40
87
|
end
|
41
88
|
end
|
@@ -2,6 +2,9 @@ require 'ebay/types/characteristics_set'
|
|
2
2
|
|
3
3
|
module Ebay # :nodoc:
|
4
4
|
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# object_node :characteristics_set, 'CharacteristicsSet', :class => CharacteristicsSet, :optional => true
|
7
|
+
# text_node :exclude_category_id, 'ExcludeCategoryID', :optional => true
|
5
8
|
class SiteWideCharacteristics
|
6
9
|
include XML::Mapping
|
7
10
|
include Initializer
|
@@ -1,6 +1,12 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :sms_phone, 'SMSPhone', :optional => true
|
6
|
+
# text_node :user_status, 'UserStatus', :optional => true
|
7
|
+
# text_node :carrier_id, 'CarrierID', :optional => true
|
8
|
+
# text_node :error_code, 'ErrorCode', :optional => true
|
9
|
+
# text_node :item_to_unsubscribe, 'ItemToUnsubscribe', :optional => true
|
4
10
|
class SMSSubscription
|
5
11
|
include XML::Mapping
|
6
12
|
include Initializer
|
data/lib/ebay/types/store.rb
CHANGED
@@ -5,6 +5,25 @@ require 'ebay/types/store_custom_listing_header'
|
|
5
5
|
|
6
6
|
module Ebay # :nodoc:
|
7
7
|
module Types # :nodoc:
|
8
|
+
# == Attributes
|
9
|
+
# text_node :name, 'Name', :optional => true
|
10
|
+
# text_node :url_path, 'URLPath', :optional => true
|
11
|
+
# text_node :url, 'URL', :optional => true
|
12
|
+
# text_node :subscription_level, 'SubscriptionLevel', :optional => true
|
13
|
+
# text_node :description, 'Description', :optional => true
|
14
|
+
# object_node :logo, 'Logo', :class => StoreLogo, :optional => true
|
15
|
+
# object_node :theme, 'Theme', :class => StoreTheme, :optional => true
|
16
|
+
# text_node :header_style, 'HeaderStyle', :optional => true
|
17
|
+
# numeric_node :home_page, 'HomePage', :optional => true
|
18
|
+
# text_node :item_list_layout, 'ItemListLayout', :optional => true
|
19
|
+
# text_node :item_list_sort_order, 'ItemListSortOrder', :optional => true
|
20
|
+
# text_node :custom_header_layout, 'CustomHeaderLayout', :optional => true
|
21
|
+
# text_node :custom_header, 'CustomHeader', :optional => true
|
22
|
+
# boolean_node :export_listings, 'ExportListings', 'true', 'false', :optional => true
|
23
|
+
# array_node :custom_categories, 'CustomCategories', 'CustomCategory', :class => StoreCustomCategory, :default_value => []
|
24
|
+
# object_node :custom_listing_header, 'CustomListingHeader', :class => StoreCustomListingHeader, :optional => true
|
25
|
+
# text_node :merch_display, 'MerchDisplay', :optional => true
|
26
|
+
# time_node :last_opened_time, 'LastOpenedTime', :optional => true
|
8
27
|
class Store
|
9
28
|
include XML::Mapping
|
10
29
|
include Initializer
|
@@ -1,6 +1,10 @@
|
|
1
1
|
|
2
2
|
module Ebay # :nodoc:
|
3
3
|
module Types # :nodoc:
|
4
|
+
# == Attributes
|
5
|
+
# text_node :primary, 'Primary', :optional => true
|
6
|
+
# text_node :secondary, 'Secondary', :optional => true
|
7
|
+
# text_node :accent, 'Accent', :optional => true
|
4
8
|
class StoreColor
|
5
9
|
include XML::Mapping
|
6
10
|
include Initializer
|
@@ -3,6 +3,11 @@ require 'ebay/types/store_font'
|
|
3
3
|
|
4
4
|
module Ebay # :nodoc:
|
5
5
|
module Types # :nodoc:
|
6
|
+
# == Attributes
|
7
|
+
# numeric_node :color_scheme_id, 'ColorSchemeID', :optional => true
|
8
|
+
# text_node :name, 'Name', :optional => true
|
9
|
+
# object_node :color, 'Color', :class => StoreColor, :optional => true
|
10
|
+
# object_node :font, 'Font', :class => StoreFont, :optional => true
|
6
11
|
class StoreColorScheme
|
7
12
|
include XML::Mapping
|
8
13
|
include Initializer
|
@@ -2,6 +2,8 @@ require 'ebay/types/store_color_scheme'
|
|
2
2
|
|
3
3
|
module Ebay # :nodoc:
|
4
4
|
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# array_node :color_schemes, 'ColorScheme', :class => StoreColorScheme, :default_value => []
|
5
7
|
class StoreColorSchemeArray
|
6
8
|
include XML::Mapping
|
7
9
|
include Initializer
|
@@ -2,6 +2,11 @@ require 'ebay/types/store_custom_category'
|
|
2
2
|
|
3
3
|
module Ebay # :nodoc:
|
4
4
|
module Types # :nodoc:
|
5
|
+
# == Attributes
|
6
|
+
# numeric_node :category_id, 'CategoryID'
|
7
|
+
# text_node :name, 'Name', :optional => true
|
8
|
+
# numeric_node :order, 'Order'
|
9
|
+
# array_node :child_categories, 'ChildCategory', :class => StoreCustomCategory, :default_value => []
|
5
10
|
class StoreCustomCategory
|
6
11
|
include XML::Mapping
|
7
12
|
include Initializer
|
@@ -9,7 +14,6 @@ module Ebay # :nodoc:
|
|
9
14
|
numeric_node :category_id, 'CategoryID'
|
10
15
|
text_node :name, 'Name', :optional => true
|
11
16
|
numeric_node :order, 'Order'
|
12
|
-
object_node :children_categories, 'ChildrenCategories', :class => StoreCustomCategory, :optional => true
|
13
17
|
array_node :child_categories, 'ChildCategory', :class => StoreCustomCategory, :default_value => []
|
14
18
|
end
|
15
19
|
end
|