C# Class TradeMe.Api.Client.SellingMethods

The SellingMethods class These methods allow you to list an item on the site. When selling you can choose to either list and not view the fees that you will be charged, or get a response back to confirm the total fees for the particular listing you are creating.
Datei anzeigen Open project: TradeMe/trade-me-api-wrapper Class Usage Examples

Public Methods

Method Description
EditListedItem ( EditListingRequest request ) : System.Xml.Linq.XDocument

Edit an auction or classified that you have created.

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.

REQUIRES AUTHENTICATION.

GetFeesForListingItems ( ListingRequest request ) : System.Xml.Linq.XDocument

Returns the fees that will be charged for a listing once the auction or classified has been created.

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.

REQUIRES AUTHENTICATION.

ListItem ( ListingRequest request ) : System.Xml.Linq.XDocument

Starts a new auction or classified.

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.

REQUIRES AUTHENTICATION.

RelistItem ( RelistListingRequest request ) : System.Xml.Linq.XDocument

Relist an item that has expired. Relists an item without modifying editable fields.

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.

REQUIRES AUTHENTICATION.

SellBluRayFromCatalogue ( SellCatalogueRequest request ) : System.Xml.Linq.XDocument

List a Blu-ray disc using listing details that are sourced from the Trade Me Blu-ray catalogue.

REQUIRES AUTHENTICATION.

SellDvdFromCatalogue ( SellCatalogueRequest request ) : System.Xml.Linq.XDocument

List a DVD using listing details that are sourced from the Trade Me DVD catalogue.

REQUIRES AUTHENTICATION.

SellSimilarItem ( SellSimilarListingRequest request ) : System.Xml.Linq.XDocument

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.

Sell similar from an existing or expired auction or classified. Creates a new listing without modifying editable fields.

REQUIRES AUTHENTICATION.

SellingMethods ( ConnectionMethods connect ) : System

Initializes a new instance of the SellingMethods class.

WithdrawListedItem ( WithdrawRequest request ) : System.Xml.Linq.XDocument

Withdraw a listing from Trade Me for either being sold or unsold.

REQUIRES AUTHENTICATION.

Method Details

EditListedItem() public method

Edit an auction or classified that you have created.

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.

REQUIRES AUTHENTICATION.
public EditListedItem ( EditListingRequest request ) : System.Xml.Linq.XDocument
request EditListingRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

GetFeesForListingItems() public method

Returns the fees that will be charged for a listing once the auction or classified has been created.

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.

REQUIRES AUTHENTICATION.
public GetFeesForListingItems ( ListingRequest request ) : System.Xml.Linq.XDocument
request ListingRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

ListItem() public method

Starts a new auction or classified.

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.

REQUIRES AUTHENTICATION.
public ListItem ( ListingRequest request ) : System.Xml.Linq.XDocument
request ListingRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

RelistItem() public method

Relist an item that has expired. Relists an item without modifying editable fields.

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.

REQUIRES AUTHENTICATION.
public RelistItem ( RelistListingRequest request ) : System.Xml.Linq.XDocument
request RelistListingRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

SellBluRayFromCatalogue() public method

List a Blu-ray disc using listing details that are sourced from the Trade Me Blu-ray catalogue.

REQUIRES AUTHENTICATION.
public SellBluRayFromCatalogue ( SellCatalogueRequest request ) : System.Xml.Linq.XDocument
request SellCatalogueRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

SellDvdFromCatalogue() public method

List a DVD using listing details that are sourced from the Trade Me DVD catalogue.

REQUIRES AUTHENTICATION.
public SellDvdFromCatalogue ( SellCatalogueRequest request ) : System.Xml.Linq.XDocument
request SellCatalogueRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

SellSimilarItem() public method

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.

Sell similar from an existing or expired auction or classified. Creates a new listing without modifying editable fields.

REQUIRES AUTHENTICATION.
public SellSimilarItem ( SellSimilarListingRequest request ) : System.Xml.Linq.XDocument
request SellSimilarListingRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument

SellingMethods() public method

Initializes a new instance of the SellingMethods class.
public SellingMethods ( ConnectionMethods connect ) : System
connect ConnectionMethods A ConnectionMethods class used to make calls to the API
return System

WithdrawListedItem() public method

Withdraw a listing from Trade Me for either being sold or unsold.

REQUIRES AUTHENTICATION.
public WithdrawListedItem ( WithdrawRequest request ) : System.Xml.Linq.XDocument
request WithdrawRequest The object that will be serialized into xml and then sent in a POST message.
return System.Xml.Linq.XDocument