Пример #1
0
 /// <summary>
 /// Sets the Price property
 /// </summary>
 /// <param name="price">Price property</param>
 /// <returns>this instance</returns>
 public OfferListing WithPrice(Price price)
 {
     this.priceField = price;
     return this;
 }
Пример #2
0
 /// <summary>
 /// Sets the Promotion property
 /// </summary>
 /// <param name="promotion">Promotion property</param>
 /// <returns>this instance</returns>
 public TransactionTotals WithPromotion(Price promotion)
 {
     this.promotionField = promotion;
     return this;
 }
Пример #3
0
 /// <summary>
 /// Sets the AmountSaved property
 /// </summary>
 /// <param name="amountSaved">AmountSaved property</param>
 /// <returns>this instance</returns>
 public OfferListing WithAmountSaved(Price amountSaved)
 {
     this.amountSavedField = amountSaved;
     return this;
 }
Пример #4
0
 /// <summary>
 /// Sets the FixedAmount property
 /// </summary>
 /// <param name="fixedAmount">FixedAmount property</param>
 /// <returns>this instance</returns>
 public PromotionBenefit WithFixedAmount(Price fixedAmount)
 {
     this.fixedAmountField = fixedAmount;
     return this;
 }
Пример #5
0
 /// <summary>
 /// Sets the HighestSalePrice property
 /// </summary>
 /// <param name="highestSalePrice">HighestSalePrice property</param>
 /// <returns>this instance</returns>
 public CollectionSummary WithHighestSalePrice(Price highestSalePrice)
 {
     this.highestSalePriceField = highestSalePrice;
     return this;
 }
Пример #6
0
 /// <summary>
 /// Sets the SubTotal property
 /// </summary>
 /// <param name="subTotal">SubTotal property</param>
 /// <returns>this instance</returns>
 public CartItems WithSubTotal(Price subTotal)
 {
     this.subTotalField = subTotal;
     return this;
 }
Пример #7
0
 /// <summary>
 /// Sets the LowestPrice property
 /// </summary>
 /// <param name="lowestPrice">LowestPrice property</param>
 /// <returns>this instance</returns>
 public VariationSummary WithLowestPrice(Price lowestPrice)
 {
     this.lowestPriceField = lowestPrice;
     return this;
 }
Пример #8
0
 /// <summary>
 /// Sets the UnitPrice property
 /// </summary>
 /// <param name="unitPrice">UnitPrice property</param>
 /// <returns>this instance</returns>
 public TransactionItem WithUnitPrice(Price unitPrice)
 {
     this.unitPriceField = unitPrice;
     return this;
 }
Пример #9
0
 /// <summary>
 /// Sets the ListPrice property
 /// </summary>
 /// <param name="listPrice">ListPrice property</param>
 /// <returns>this instance</returns>
 public ItemAttributes WithListPrice(Price listPrice)
 {
     this.listPriceField = listPrice;
     return this;
 }
Пример #10
0
 /// <summary>
 /// Sets the Total property
 /// </summary>
 /// <param name="total">Total property</param>
 /// <returns>this instance</returns>
 public TransactionTotals WithTotal(Price total)
 {
     this.totalField = total;
     return this;
 }
Пример #11
0
 /// <summary>
 /// Sets the TotalPrice property
 /// </summary>
 /// <param name="totalPrice">TotalPrice property</param>
 /// <returns>this instance</returns>
 public TransactionItem WithTotalPrice(Price totalPrice)
 {
     this.totalPriceField = totalPrice;
     return this;
 }
Пример #12
0
 /// <summary>
 /// Sets the Tax property
 /// </summary>
 /// <param name="tax">Tax property</param>
 /// <returns>this instance</returns>
 public TransactionTotals WithTax(Price tax)
 {
     this.taxField = tax;
     return this;
 }
Пример #13
0
 /// <summary>
 /// Sets the Subtotal property
 /// </summary>
 /// <param name="subtotal">Subtotal property</param>
 /// <returns>this instance</returns>
 public TransactionTotals WithSubtotal(Price subtotal)
 {
     this.subtotalField = subtotal;
     return this;
 }
Пример #14
0
 /// <summary>
 /// Sets the ShippingCharge property
 /// </summary>
 /// <param name="shippingCharge">ShippingCharge property</param>
 /// <returns>this instance</returns>
 public TransactionTotals WithShippingCharge(Price shippingCharge)
 {
     this.shippingChargeField = shippingCharge;
     return this;
 }
Пример #15
0
 /// <summary>
 /// Sets the SalePrice property
 /// </summary>
 /// <param name="salePrice">SalePrice property</param>
 /// <returns>this instance</returns>
 public OfferListing WithSalePrice(Price salePrice)
 {
     this.salePriceField = salePrice;
     return this;
 }
Пример #16
0
 /// <summary>
 /// Sets the WEEETaxValue property
 /// </summary>
 /// <param name="WEEETaxValue">WEEETaxValue property</param>
 /// <returns>this instance</returns>
 public ItemAttributes WithWEEETaxValue(Price WEEETaxValue)
 {
     this.WEEETaxValueField = WEEETaxValue;
     return this;
 }
Пример #17
0
 /// <summary>
 /// Sets the ShippingPrice property
 /// </summary>
 /// <param name="shippingPrice">ShippingPrice property</param>
 /// <returns>this instance</returns>
 public ShippingCharge WithShippingPrice(Price shippingPrice)
 {
     this.shippingPriceField = shippingPrice;
     return this;
 }
 /// <summary>
 /// Sets the CurrencyAmount property
 /// </summary>
 /// <param name="currencyAmount">CurrencyAmount property</param>
 /// <returns>this instance</returns>
 public PromotionEligibilityRequirement WithCurrencyAmount(Price currencyAmount)
 {
     this.currencyAmountField = currencyAmount;
     return this;
 }
Пример #19
0
 /// <summary>
 /// Sets the HighestPrice property
 /// </summary>
 /// <param name="highestPrice">HighestPrice property</param>
 /// <returns>this instance</returns>
 public VariationSummary WithHighestPrice(Price highestPrice)
 {
     this.highestPriceField = highestPrice;
     return this;
 }
Пример #20
0
 /// <summary>
 /// Sets the SubTotal property
 /// </summary>
 /// <param name="subTotal">SubTotal property</param>
 /// <returns>this instance</returns>
 public SavedForLaterItems WithSubTotal(Price subTotal)
 {
     this.subTotalField = subTotal;
     return this;
 }
Пример #21
0
 /// <summary>
 /// Sets the Ceiling property
 /// </summary>
 /// <param name="ceiling">Ceiling property</param>
 /// <returns>this instance</returns>
 public PromotionBenefit WithCeiling(Price ceiling)
 {
     this.ceilingField = ceiling;
     return this;
 }
Пример #22
0
 /// <summary>
 /// Sets the ItemTotal property
 /// </summary>
 /// <param name="itemTotal">ItemTotal property</param>
 /// <returns>this instance</returns>
 public CartItem WithItemTotal(Price itemTotal)
 {
     this.itemTotalField = itemTotal;
     return this;
 }
Пример #23
0
 /// <summary>
 /// Sets the TypicalRedemptionValue property
 /// </summary>
 /// <param name="typicalRedemptionValue">TypicalRedemptionValue property</param>
 /// <returns>this instance</returns>
 public LoyaltyPoints WithTypicalRedemptionValue(Price typicalRedemptionValue)
 {
     this.typicalRedemptionValueField = typicalRedemptionValue;
     return this;
 }
Пример #24
0
 /// <summary>
 /// Sets the Price property
 /// </summary>
 /// <param name="price">Price property</param>
 /// <returns>this instance</returns>
 public CartItem WithPrice(Price price)
 {
     this.priceField = price;
     return this;
 }
Пример #25
0
 /// <summary>
 /// Sets the LowestSalePrice property
 /// </summary>
 /// <param name="lowestSalePrice">LowestSalePrice property</param>
 /// <returns>this instance</returns>
 public CollectionSummary WithLowestSalePrice(Price lowestSalePrice)
 {
     this.lowestSalePriceField = lowestSalePrice;
     return this;
 }
Пример #26
0
 /// <summary>
 /// Sets the FixedShippingCharge property
 /// </summary>
 /// <param name="fixedShippingCharge">FixedShippingCharge property</param>
 /// <returns>this instance</returns>
 public MerchantItemAttributes WithFixedShippingCharge(Price fixedShippingCharge)
 {
     this.fixedShippingChargeField = fixedShippingCharge;
     return this;
 }