Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the OfferDetail class.
 /// </summary>
 /// <param name="subCondition">The subcondition of the item.
 /// Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor,
 /// Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box,
 /// or Other.</param>
 /// <param name="shippingTime">The maximum time within which the item
 /// will likely be shipped once an order has been placed.</param>
 /// <param name="listingPrice">The price of the item.</param>
 /// <param name="shipping">The shipping cost.</param>
 /// <param name="isFulfilledByAmazon">When true, the offer is fulfilled
 /// by Amazon.</param>
 /// <param name="myOffer">When true, this is the seller's
 /// offer.</param>
 /// <param name="sellerFeedbackRating">Information about the seller's
 /// feedback, including the percentage of positive feedback, and the
 /// total number of ratings received.</param>
 /// <param name="points">The number of Amazon Points offered with the
 /// purchase of an item.</param>
 /// <param name="shipsFrom">The state and country from where the item
 /// is shipped.</param>
 /// <param name="isBuyBoxWinner">When true, the offer is currently in
 /// the Buy Box. There can be up to two Buy Box winners at any time per
 /// ASIN, one that is eligible for Prime and one that is not eligible
 /// for Prime.</param>
 /// <param name="isFeaturedMerchant">When true, the seller of the item
 /// is eligible to win the Buy Box.</param>
 public OfferDetail(string subCondition, DetailedShippingTimeType shippingTime, MoneyType listingPrice, MoneyType shipping, bool isFulfilledByAmazon, bool?myOffer = default(bool?), SellerFeedbackType sellerFeedbackRating = default(SellerFeedbackType), Points points = default(Points), ShipsFromType shipsFrom = default(ShipsFromType), bool?isBuyBoxWinner = default(bool?), bool?isFeaturedMerchant = default(bool?))
 {
     MyOffer              = myOffer;
     SubCondition         = subCondition;
     SellerFeedbackRating = sellerFeedbackRating;
     ShippingTime         = shippingTime;
     ListingPrice         = listingPrice;
     Points              = points;
     Shipping            = shipping;
     ShipsFrom           = shipsFrom;
     IsFulfilledByAmazon = isFulfilledByAmazon;
     IsBuyBoxWinner      = isBuyBoxWinner;
     IsFeaturedMerchant  = isFeaturedMerchant;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the OfferDetail class.
 /// </summary>
 /// <param name="subCondition">The subcondition of the item.
 /// Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor,
 /// Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box,
 /// or Other.</param>
 /// <param name="shippingTime">The maximum time within which the item
 /// will likely be shipped once an order has been placed.</param>
 /// <param name="listingPrice">The price of the item.</param>
 /// <param name="shipping">The shipping cost.</param>
 /// <param name="isFulfilledByAmazon">When true, the offer is fulfilled
 /// by Amazon.</param>
 /// <param name="myOffer">When true, this is the seller's
 /// offer.</param>
 /// <param name="offerType">Indicates the type of customer that the
 /// offer is valid for. Possible values include: 'B2C', 'B2B'</param>
 /// <param name="sellerId">The seller identifier for the offer.</param>
 /// <param name="conditionNotes">Information about the condition of the
 /// item.</param>
 /// <param name="sellerFeedbackRating">Information about the seller's
 /// feedback, including the percentage of positive feedback, and the
 /// total number of ratings received.</param>
 /// <param name="points">The number of Amazon Points offered with the
 /// purchase of an item.</param>
 /// <param name="shipsFrom">The state and country from where the item
 /// is shipped.</param>
 /// <param name="primeInformation">Amazon Prime information.</param>
 /// <param name="isBuyBoxWinner">When true, the offer is currently in
 /// the Buy Box. There can be up to two Buy Box winners at any time per
 /// ASIN, one that is eligible for Prime and one that is not eligible
 /// for Prime.</param>
 /// <param name="isFeaturedMerchant">When true, the seller of the item
 /// is eligible to win the Buy Box.</param>
 public OfferDetail(string subCondition, DetailedShippingTimeType shippingTime, MoneyType listingPrice, MoneyType shipping, bool isFulfilledByAmazon, bool?myOffer = default(bool?), string offerType = default(string), string sellerId = default(string), string conditionNotes = default(string), SellerFeedbackType sellerFeedbackRating = default(SellerFeedbackType), IList <QuantityDiscountPriceType> quantityDiscountPrices = default(IList <QuantityDiscountPriceType>), Points points = default(Points), ShipsFromType shipsFrom = default(ShipsFromType), PrimeInformationType primeInformation = default(PrimeInformationType), bool?isBuyBoxWinner = default(bool?), bool?isFeaturedMerchant = default(bool?))
 {
     MyOffer                = myOffer;
     OfferType              = offerType;
     SubCondition           = subCondition;
     SellerId               = sellerId;
     ConditionNotes         = conditionNotes;
     SellerFeedbackRating   = sellerFeedbackRating;
     ShippingTime           = shippingTime;
     ListingPrice           = listingPrice;
     QuantityDiscountPrices = quantityDiscountPrices;
     Points              = points;
     Shipping            = shipping;
     ShipsFrom           = shipsFrom;
     IsFulfilledByAmazon = isFulfilledByAmazon;
     PrimeInformation    = primeInformation;
     IsBuyBoxWinner      = isBuyBoxWinner;
     IsFeaturedMerchant  = isFeaturedMerchant;
     CustomInit();
 }