OrderLineItemDiscount constructor

OrderLineItemDiscount({
  1. int? catalogVersion,
  2. String? catalogObjectId,
  3. String? name,
  4. String? uid,
  5. Map<String, String>? metadata,
  6. OrderLineItemDiscountScope? scope,
  7. String? type,
  8. Money? amountMoney,
  9. Money? appliedMoney,
  10. String? percentage,
  11. String? pricingRuleId,
  12. List<String>? rewardIds,
})

Implementation

OrderLineItemDiscount(
    {this.catalogVersion,
    this.catalogObjectId,
    this.name,
    this.uid,
    this.metadata,
    this.scope,
    this.type,
    this.amountMoney,
    this.appliedMoney,
    this.percentage,
    this.pricingRuleId,
    this.rewardIds});