item_discount_amount Property
Amount of the discount for each line item (if any).
Syntax
def get_item_discount_amount(item_index: int) -> str: ... def set_item_discount_amount(item_index: int, value: str) -> None: ...
Default Value
""
Remarks
Amount of the discount for each line item (if any).
This property contains the amount of any discount applied by the merchant to this line item. This property should be empty (or zero) if the item_unit_cost reflects a discount price or if no line item discount applies.
The item_index parameter specifies the index of the item in the array. The size of the array is controlled by the line_item_count property.