Share via


RetailContosoDemoDataPricing::createDiscountOffer Method

Syntax

client server public static RetailDiscountOffer createDiscountOffer(
    RetailDiscountOfferId _offerid, 
    Name _name, 
    RetailMemo _description, 
    RetailMemo _disclaimer, 
    RetailDisabledEnabled _status, 
    RetailDiscountCodeRequired _discountCodeRequired, 
    RetailDiscountValidationPeriodId _discountvalidationperiodid, 
    CurrencyCode _currency, 
    RetailDateValidationTypeBase _datevalidationtype, 
    RetailDiscountConcurrency _concurrencyMode, 
    PriceGroupId _priceDiscGroup, 
   [RetailDiscountOfferTypeBase _discountType, 
    date _validFrom, 
    date _validTo, 
    boolean _attachImage])

Run On

Called

Parameters

  • _validFrom
    Type: date
  • _validTo
    Type: date

See Also

Reference

RetailContosoDemoDataPricing Class