C# 클래스 TradeMe.Api.Client.FixedPriceOfferMethods

The MyTradeMeMethods class contains the methods requried for making calls to the API related to My TradeMe.
파일 보기 프로젝트 열기: TradeMe/trade-me-api-wrapper 1 사용 예제들

공개 메소드들

메소드 설명
FixedPriceOfferMethods ( ConnectionMethods connect ) : System

Initializes a new instance of the FixedPriceOfferMethods class.

FixedPriceOffers ( string query ) : FixedPriceOffers

Performs the Fixed Price Offer Method: Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user. GET

using the "query" string provided - should be the "MyTradeMe/FixedPriceOffers.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

FixedPriceOffersByMember ( ) : FixedPriceOffers

Performs the Fixed Price Offer Method: Retrieve the fixed price offers offered by a member. GET

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.

FixedPriceOffersToMember ( ) : FixedPriceOffers

Performs the Fixed Price Offer Method: Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user. GET

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.

MakeFixedPriceOffer ( FixedPriceOfferToMembersRequest request ) : System.Xml.Linq.XDocument

Performs the Fixed Price Offer Method: Makes a fixed price offer for an auction to the specified members. POST

REQUIRES AUTHENTICATION.

RespondToFixedPriceOffer ( FixedPriceOfferRequest request ) : System.Xml.Linq.XDocument

Performs the Fixed Price Offer Method: Accepts or rejects a fixed price offer. POST

REQUIRES AUTHENTICATION.

RetrieveListOfMembersForFixedPriceOffer ( string listingId, string filter ) : FixedPriceOfferMembersResponse

Performs the Fixed Price Offer method: Returns a list of members you can make a fixed price offer to for a particular auction. GET

REQUIRE AUTHENTICATION.

WithdrawFixedPriceOffer ( FixedPriceOfferWithdrawalRequest request ) : System.Xml.Linq.XDocument

Performs the Fixed Price Offer Method: Withdraws an offer that is current and not expired, accepted or rejected by all users. POST

REQUIRES AUTHENTICATION.

메소드 상세

FixedPriceOfferMethods() 공개 메소드

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

FixedPriceOffers() 공개 메소드

Performs the Fixed Price Offer Method: Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user. GET

using the "query" string provided - should be the "MyTradeMe/FixedPriceOffers.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public FixedPriceOffers ( string query ) : FixedPriceOffers
query string The query string that will be added to the base url and used to connect to the API.
리턴 FixedPriceOffers

FixedPriceOffersByMember() 공개 메소드

Performs the Fixed Price Offer Method: Retrieve the fixed price offers offered by a member. GET

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.
public FixedPriceOffersByMember ( ) : FixedPriceOffers
리턴 FixedPriceOffers

FixedPriceOffersToMember() 공개 메소드

Performs the Fixed Price Offer Method: Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user. GET

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.
public FixedPriceOffersToMember ( ) : FixedPriceOffers
리턴 FixedPriceOffers

MakeFixedPriceOffer() 공개 메소드

Performs the Fixed Price Offer Method: Makes a fixed price offer for an auction to the specified members. POST

REQUIRES AUTHENTICATION.
public MakeFixedPriceOffer ( FixedPriceOfferToMembersRequest request ) : System.Xml.Linq.XDocument
request FixedPriceOfferToMembersRequest The object that will be serialized into xml and then sent in a POST message.
리턴 System.Xml.Linq.XDocument

RespondToFixedPriceOffer() 공개 메소드

Performs the Fixed Price Offer Method: Accepts or rejects a fixed price offer. POST

REQUIRES AUTHENTICATION.
public RespondToFixedPriceOffer ( FixedPriceOfferRequest request ) : System.Xml.Linq.XDocument
request FixedPriceOfferRequest The object that will be serialized into xml and then sent in a POST message.
리턴 System.Xml.Linq.XDocument

RetrieveListOfMembersForFixedPriceOffer() 공개 메소드

Performs the Fixed Price Offer method: Returns a list of members you can make a fixed price offer to for a particular auction. GET

REQUIRE AUTHENTICATION.
public RetrieveListOfMembersForFixedPriceOffer ( string listingId, string filter ) : FixedPriceOfferMembersResponse
listingId string The listing ID of the auction you wish to make a fixed price offer for. The listing must be closed.
filter string Filters the returned list to a subset of possible members /// (“All”, “Bidders” – only return bidders, “Watchers” – only return watchers).
리턴 FixedPriceOfferMembersResponse

WithdrawFixedPriceOffer() 공개 메소드

Performs the Fixed Price Offer Method: Withdraws an offer that is current and not expired, accepted or rejected by all users. POST

REQUIRES AUTHENTICATION.
public WithdrawFixedPriceOffer ( FixedPriceOfferWithdrawalRequest request ) : System.Xml.Linq.XDocument
request FixedPriceOfferWithdrawalRequest The object that will be serialized into xml and then sent in a POST message.
리턴 System.Xml.Linq.XDocument