Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
 /// <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;
 }