-
StackOverflow 文件
-
amazon-web-services 教程
-
根類
-
Amazon api root 類如下
public class AmazonRootobject
{
public Itemsearchresponse ItemSearchResponse { get; set; }
}
public class Itemsearchresponse
{
public string xmlns { get; set; }
public Operationrequest OperationRequest { get; set; }
public Items Items { get; set; }
}
public class Operationrequest
{
public Httpheaders HTTPHeaders { get; set; }
public string RequestId { get; set; }
public Arguments Arguments { get; set; }
public string RequestProcessingTime { get; set; }
}
public class Httpheaders
{
public Header Header { get; set; }
}
public class Header
{
public string Name { get; set; }
public string Value { get; set; }
}
public class Arguments
{
public Argument[] Argument { get; set; }
}
public class Argument
{
public string Name { get; set; }
public object Value { get; set; }
}
public class Items
{
public Request Request { get; set; }
public string TotalResults { get; set; }
public string TotalPages { get; set; }
public string MoreSearchResultsUrl { get; set; }
public Item[] Item { get; set; }
}
public class Request
{
public string IsValid { get; set; }
public Itemsearchrequest ItemSearchRequest { get; set; }
}
public class Itemsearchrequest
{
public string Keywords { get; set; }
public string[] ResponseGroup { get; set; }
public string SearchIndex { get; set; }
public string Sort { get; set; }
}
public class Item
{
public string ASIN { get; set; }
public string ParentASIN { get; set; }
public string DetailPageURL { get; set; }
public Itemlinks ItemLinks { get; set; }
public Smallimage SmallImage { get; set; }
public Mediumimage MediumImage { get; set; }
public Largeimage LargeImage { get; set; }
public Imagesets ImageSets { get; set; }
public Itemattributes ItemAttributes { get; set; }
public OfferSummary OfferSummary { get; set; }
public Offers Offers { get; set; }
public Variationsummary VariationSummary { get; set; }
}
public class Variationsummary
{
public Highestprice HighestPrice { get; set; }
public Lowestprice LowestPrice { get; set; }
public Highestsaleprice HighestSalePrice { get; set; }
public Lowestsaleprice LowestSalePrice { get; set; }
}
public class Highestprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Lowestprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Highestsaleprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Lowestsaleprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Itemlinks
{
public Itemlink[] ItemLink { get; set; }
}
public class Itemlink
{
public string Description { get; set; }
public string URL { get; set; }
}
public class Smallimage
{
public string URL { get; set; }
public Height Height { get; set; }
public Width Width { get; set; }
}
public class Height
{
public string Units { get; set; }
public string text { get; set; }
}
public class Width
{
public string Units { get; set; }
public string text { get; set; }
}
public class Mediumimage
{
public string URL { get; set; }
public Height1 Height { get; set; }
public Width1 Width { get; set; }
}
public class Height1
{
public string Units { get; set; }
public string text { get; set; }
}
public class Width1
{
public string Units { get; set; }
public string text { get; set; }
}
public class Largeimage
{
public string URL { get; set; }
public Height2 Height { get; set; }
public Width2 Width { get; set; }
}
public class Height2
{
public string Units { get; set; }
public string text { get; set; }
}
public class Width2
{
public string Units { get; set; }
public string text { get; set; }
}
public class Imagesets
{
public object ImageSet { get; set; }
}
public class Itemattributes
{
public string Binding { get; set; }
public string Brand { get; set; }
public string Color { get; set; }
public string Model { get; set; }
public string Manufacturer { get; set; }
public string ProductGroup { get; set; }
public string Title { get; set; }
public ListPrice ListPrice { get; set; }
}
public class ListPrice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class OfferSummary
{
public Lowestnewprice LowestNewPrice { get; set; }
public Lowestusedprice LowestUsedPrice { get; set; }
public string TotalNew { get; set; }
public string TotalUsed { get; set; }
public string TotalCollectible { get; set; }
public string TotalRefurbished { get; set; }
public Lowestrefurbishedprice LowestRefurbishedPrice { get; set; }
}
public class Lowestnewprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Lowestusedprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Lowestrefurbishedprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Offers
{
public string TotalOffers { get; set; }
public string TotalOfferPages { get; set; }
public string MoreOffersUrl { get; set; }
public Offer Offer { get; set; }
}
public class Offer
{
public Merchant Merchant { get; set; }
public Offerattributes OfferAttributes { get; set; }
public Offerlisting OfferListing { get; set; }
}
public class Merchant
{
public string Name { get; set; }
}
public class Offerattributes
{
public string Condition { get; set; }
}
public class Offerlisting
{
public string OfferListingId { get; set; }
public string PricePerUnit { get; set; }
public Price Price { get; set; }
public string Availability { get; set; }
public Availabilityattributes AvailabilityAttributes { get; set; }
public string IsEligibleForSuperSaverShipping { get; set; }
public string IsEligibleForPrime { get; set; }
public Saleprice SalePrice { get; set; }
public Amountsaved AmountSaved { get; set; }
public string PercentageSaved { get; set; }
}
public class Price
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Availabilityattributes
{
public string AvailabilityType { get; set; }
public string MinimumHours { get; set; }
public string MaximumHours { get; set; }
}
public class Saleprice
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}
public class Amountsaved
{
public string Amount { get; set; }
public string CurrencyCode { get; set; }
public string FormattedPrice { get; set; }
}