/// <summary> /// <para>Returns the fees that will be charged for a listing once the auction or classified has been created. /// </para><para> /// There are several endpoints that should be used to get information needed to list an item. /// Check Category information, Legal Notice information, attributes, fees and listing duration options. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: FeeResponse</returns> public XDocument GetFeesForListingItems(ListingRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.GetFeesForListingItems(request); }
/// <summary> /// <para>Edit an auction or classified that you have created. /// </para><para> /// You will need to resubmit the complete sell form as used when you created the listing but with the fields you wish to edit modified. /// Request format will error if fields are locked and cannot be edited. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument EditListedItem(EditListingRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.EditListedItem(request); }
/// <summary> /// <para>Withdraw a listing from Trade Me for either being sold or unsold. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument WithdrawListedItem(WithdrawRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.WithdrawListedItem(request); }
/// <summary> /// <para>Sell similar from an existing or expired auction or classified. /// Creates a new listing without modifying editable fields.Relist an item that has expired. /// Relists an item without modifying editable fields. /// </para><para> /// Sell similar from an existing or expired auction or classified. /// Creates a new listing without modifying editable fields. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument SellSimilarItem(SellSimilarListingRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.SellSimilarItem(request); }
/// <summary> /// <para>List a DVD using listing details that are sourced from the Trade Me DVD catalogue. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument SellDvdFromCatalogue(SellCatalogueRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.SellDvdFromCatalogue(request); }
/// <summary> /// <para>Relist an item that has expired. Relists an item without modifying editable fields. /// </para><para> /// Relist copies all data from original listing and applies them to the new listing. /// The only exceptions are where there are default durations that are applied on relisted items. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument RelistItem(RelistListingRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.RelistItem(request); }