C# 클래스 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.
파일 보기 프로젝트 열기: TradeMe/trade-me-api-wrapper 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

EditListedItem() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

GetFeesForListingItems() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

ListItem() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

RelistItem() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

SellBluRayFromCatalogue() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

SellDvdFromCatalogue() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

SellSimilarItem() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument

SellingMethods() 공개 메소드

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
리턴 System

WithdrawListedItem() 공개 메소드

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.
리턴 System.Xml.Linq.XDocument