Ejemplo n.º 1
0
        /// <summary>
        /// Enables a user to leave feedback about another user at the conclusion of a successful
        /// sales transaction (item sold).
        /// </summary>
        /// 
        /// <param name="ItemID">
        /// The ID of an item. Specify the ID for the item of the transaction of the
        /// users. The transaction must not have been created more than 60 days before
        /// your attempt to leave feedback.
        /// </param>
        ///
        /// <param name="CommentText">
        /// Textual comment that explains, clarifies, or justifies the feedback
        /// score specified in CommentType.
        /// </param>
        ///
        /// <param name="CommentType">
        /// Score for the feedback being left. May be Positive, Neutral, or Negative.
        /// 
        /// <span class="tablenote"><b>Note:</b>
        /// Sellers can not leave neutral or negative feedback for buyers. In addition,
        /// buyers can not leave neutral or negative feedback within 7 days from the end of
        /// the transaction for active PowerSellers who have been on eBay for 12 months.
        /// </span> ;
        /// </param>
        ///
        /// <param name="TransactionID">
        /// The item purchase transaction from the listing specified in ItemID for
        /// which the feedback is being left. Required if the listing identified in
        /// ItemID is a multi-item fixed-price listing.
        /// <span class="tablenote"><strong>Note:</strong>
        /// As of version 619, Dutch-style (multi-item) competitive-bid auctions are
        /// deprecated. eBay throws an error if you submit a Dutch item listing with
        /// AddItem or VerifyAddItem. If you use RelistItem to update a Dutch auction
        /// listing, eBay generates a warning and resets the Quantity value to 1.
        /// </span>
        /// 
        /// </param>
        ///
        /// <param name="TargetUser">
        /// Specifies the recipient user about whom the feedback is being left.
        /// </param>
        ///
        /// <param name="SellerItemRatingDetailArrayList">
        /// Container for detailed seller ratings (DSRs). If a buyer is providing DSRs,
        /// they are specified in this container. Sellers have access to the number of
        /// ratings they've received, as well as to the averages of the DSRs they've
        /// received in each DSR area (i.e., to the average of ratings in the
        /// item-description area, etc.).
        /// </param>
        ///
        public string LeaveFeedback(string ItemID, string CommentText, CommentTypeCodeType CommentType, string TransactionID, string TargetUser, ItemRatingDetailsTypeCollection SellerItemRatingDetailArrayList)
        {
            this.ItemID = ItemID;
            this.CommentText = CommentText;
            this.CommentType = CommentType;
            this.TransactionID = TransactionID;
            this.TargetUser = TargetUser;
            this.SellerItemRatingDetailArrayList = SellerItemRatingDetailArrayList;

            Execute();
            return ApiResponse.FeedbackID;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Enables a buyer and seller to leave Feedback for their order partner at the
        /// conclusion of a successful order.
        /// </summary>
        ///
        /// <param name="ItemID">
        /// Unique identifier for an eBay listing. A listing can have multiple
        /// order line items, but only one <b>ItemID</b>. Unless an
        /// <b>OrderLineItemID</b> is specified in the <b>LeaveFeedback</b> request, the <b>ItemID</b> is
        /// required along with the <b>TargetUser</b> to identify an order line item
        /// existing between the caller and the <b>TargetUser</b> that requires feedback. A
        /// Feedback comment will be posted for this order line item. If there are
        /// multiple order line items between the two order partners that still
        /// require feedback, the <b>TransactionID</b> will also be required to isolate the
        /// targeted order line item. Feedback cannot be left for order line items
        /// with creation dates more than 60 days in the past.
        /// </param>
        ///
        /// <param name="CommentText">
        /// Textual comment that explains, clarifies, or justifies the feedback
        /// score specified in <b>CommentType</b>.
        /// </param>
        ///
        /// <param name="CommentType">
        /// Score for the Feedback being left. May be Positive, Neutral, or Negative.
        ///
        /// <span class="tablenote"><b>Note:</b>
        /// Sellers can not leave neutral or negative feedback for buyers. In addition, buyers can not leave neutral or negative feedback within 7 days from the completion of the order for active Power Sellers who have been on eBay for 12 months.
        /// </span>
        /// </param>
        ///
        /// <param name="TransactionID">
        /// Unique identifier for an eBay order line item. If there
        /// are multiple order line items between the two order partners that still
        /// require Feedback, the <b>TransactionID</b> is required along with the
        /// corresponding <b>ItemID</b> and <b>TargetUser</b> to isolate the targeted order line
        /// item. If an <b>OrderLineItemID</b> is included in the response to identify a
        /// specific order line item, none of the preceding fields (<b>ItemID</b>,
        /// <b>TransactionID</b>, <b>TargetUser</b>) are needed. Feedback cannot be left for order
        /// line items with creation dates more than 60 days in the past.
        /// </param>
        ///
        /// <param name="TargetUser">
        /// Specifies the recipient user about whom the Feedback is being left.
        /// </param>
        ///
        /// <param name="SellerItemRatingDetailArrayList">
        /// Container for detailed seller ratings (DSRs). If a buyer is providing DSRs, they are specified in this container. Sellers have access to the number of ratings they've received, as well as to the averages of the DSRs they've received in each DSR area (i.e., to the average of ratings in the item-description area, etc.).
        /// </param>
        ///
        /// <param name="OrderLineItemID">
        /// <b>OrderLineItemID</b> is a unique identifier for an eBay order line item. If an <b>OrderLineItemID</b> is included in
        /// the request, the <b>ItemID</b>, <b>TransactionID</b>, and <b>TargetUser</b> fields are not
        /// required. Feedback cannot be left for order line items with creation
        /// dates more than 60 days in the past.
        ///
        /// </param>
        ///
        /// <param name="ItemArrivedWithinEDDType">
        /// This field or the <b>ItemDeliveredWithinEDD</b> field should be included if it is the buyer leaving feedback for the seller. This field will inform eBay about whether or not the buyer received the order line item within the estimated delivery date, which is established once a buyer purchases or commits to buy an item.
        ///
        ///
        /// <span class="tablenote"><b>Note:</b> A new "Late shipment rate" metric became a new component of Seller Standards beginning in February 2016. On-time shipping means that the seller shipped the item before the "handling time" expired and/or the item was received by the buyer within the estimated delivery date window, which is established once the buyer pays for the order line item. Previously, a seller's account could be dinged just for getting a low rating for the "shippping time" Detailed Seller Rating. </span>
        /// </param>
        ///
        /// <param name="ItemDeliveredWithinEDD">
        /// This field or the <b>ItemArrivedWithinEDDType</b> field should be included if it is the buyer leaving feedback for the seller. This field will inform eBay about whether or not the buyer received the order line item within the estimated delivery date window, which is established once a buyer purchases or commits to buy an item. The value of this field is set to <code>true</code> if the item did arrive within the estimated delivery date, or <code>false</code> if the item arrived past the estimated delivery date.
        ///
        ///
        /// <span class="tablenote"><b>Note:</b> A new "Late shipment rate" metric became a new component of Seller Standards beginning in February 2016. On-time shipping means that the seller shipped the item before the "handling time" expired and/or the item was received by the buyer within the estimated delivery date window, which is established once the buyer pays for the order line item. Previously, a seller's account could be dinged just for getting a low rating for the "shippping time" Detailed Seller Rating. </span>
        /// </param>
        ///
        public string LeaveFeedback(string ItemID, string CommentText, CommentTypeCodeType CommentType, string TransactionID, string TargetUser, ItemRatingDetailsTypeCollection SellerItemRatingDetailArrayList, string OrderLineItemID, ItemArrivedWithinEDDCodeType ItemArrivedWithinEDDType, bool ItemDeliveredWithinEDD)
        {
            this.ItemID        = ItemID;
            this.CommentText   = CommentText;
            this.CommentType   = CommentType;
            this.TransactionID = TransactionID;
            this.TargetUser    = TargetUser;
            this.SellerItemRatingDetailArrayList = SellerItemRatingDetailArrayList;
            this.OrderLineItemID          = OrderLineItemID;
            this.ItemArrivedWithinEDDType = ItemArrivedWithinEDDType;
            this.ItemDeliveredWithinEDD   = ItemDeliveredWithinEDD;

            Execute();
            return(ApiResponse.FeedbackID);
        }