コード例 #1
0
 /// <summary>
 /// Create a new CartOffers object.
 /// </summary>
 /// <param name="itemGuid">Initial value of the ItemGuid property.</param>
 /// <param name="cartGuid">Initial value of the CartGuid property.</param>
 /// <param name="offerGuid">Initial value of the OfferGuid property.</param>
 /// <param name="offerPrice">Initial value of the OfferPrice property.</param>
 /// <param name="addedToCart">Initial value of the AddedToCart property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="tax">Initial value of the Tax property.</param>
 public static CartOffers CreateCartOffers(global::System.Guid itemGuid, global::System.Guid cartGuid, global::System.Guid offerGuid, global::System.Decimal offerPrice, global::System.DateTime addedToCart, global::System.Int32 quantity, global::System.Decimal tax)
 {
     CartOffers cartOffers = new CartOffers();
     cartOffers.ItemGuid = itemGuid;
     cartOffers.CartGuid = cartGuid;
     cartOffers.OfferGuid = offerGuid;
     cartOffers.OfferPrice = offerPrice;
     cartOffers.AddedToCart = addedToCart;
     cartOffers.Quantity = quantity;
     cartOffers.Tax = tax;
     return cartOffers;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CartOffers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartOffers(CartOffers cartOffers)
 {
     base.AddObject("CartOffers", cartOffers);
 }