Type alias OrderDiscount

OrderDiscount: {
    amount: StrNumber | null;
    applied_discount: StrNumber;
    code: string | null;
    discount_id: UUID;
    id: UUID;
    name: string;
    percentage: StrNumber | null;
    target_type: DiscountTargetType;
}

Type declaration

  • amount: StrNumber | null
  • applied_discount: StrNumber

    The amount that the discount has been calculated

  • code: string | null
  • discount_id: UUID
  • id: UUID
  • name: string
  • percentage: StrNumber | null
  • target_type: DiscountTargetType

Generated using TypeDoc