DiscountApplicationTargetSelection enum

Version unstable

Which lines on the order that the discount is allocated over, of the type defined by the Discount Application's target_type.

Values

  • ALL

    The discount is allocated onto all the lines.

  • ENTITLED

    The discount is allocated onto only the lines it is entitled for.

  • EXPLICIT

    The discount is allocated onto explicitly chosen lines.

Types that return DiscountApplicationTargetSelection

Version 2021-10 (Release candidate)

Which lines on the order that the discount is allocated over, of the type defined by the Discount Application's target_type.

Values

  • ALL

    The discount is allocated onto all the lines.

  • ENTITLED

    The discount is allocated onto only the lines it is entitled for.

  • EXPLICIT

    The discount is allocated onto explicitly chosen lines.

Types that return DiscountApplicationTargetSelection

Version 2021-07 (Latest)

Which lines on the order that the discount is allocated over, of the type defined by the Discount Application's target_type.

Values

  • ALL

    The discount is allocated onto all the lines.

  • ENTITLED

    The discount is allocated onto only the lines it is entitled for.

  • EXPLICIT

    The discount is allocated onto explicitly chosen lines.