public ResultInfoEbayDetails GetDetails(DetailNameCodeType[] detailNameCodeType = null) { var req = new GeteBayDetailsRequestType(); req.DetailName = detailNameCodeType; var rez = base.GetServiceData(Service.GeteBayDetails, req); return(new ResultInfoEbayDetails(rez)); }
public static void GetEbayDetailsRequest() { eBayAPIInterfaceService service = EbayCalls.EbayServiceCall("GetEbayDetails"); GeteBayDetailsRequestType request = new GeteBayDetailsRequestType(); request.Version = "949"; request.DetailName = new DetailNameCodeTypeCollection { DetailNameCodeType.ReturnPolicyDetails }; GeteBayDetailsResponseType response = service.GeteBayDetails(request); Console.WriteLine("================"); Console.WriteLine("Ebay request Details"); Console.WriteLine("================"); Console.WriteLine("Ack: {0}", response.Ack); Console.WriteLine("Version: {0}", response.Version); Console.WriteLine("Build: {0}", response.Build); }
/// <summary> /// /// </summary> /// <param name="ApiContext">The <see cref="ApiCall.ApiContext"/> for this API Call of type <see cref="ApiContext"/>.</param> public GeteBayDetailsCall(ApiContext ApiContext) { ApiRequest = new GeteBayDetailsRequestType(); this.ApiContext = ApiContext; }
/// <summary> /// /// </summary> public GeteBayDetailsCall() { ApiRequest = new GeteBayDetailsRequestType(); }