Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.49 KB

File metadata and controls

20 lines (12 loc) · 1.49 KB

ApplicationDetailsItem

Object representing item replacement.

Properties

Name Type Description
sourceIndex Integer Index number of the source item that is replaced. The enumeration starts from `0`, which represents the first item in the request, e.g., if the replaced item is passed as the second in the request, `source_index` equals `3`.
sourceAppliedQuantity Integer Number of source units that are replaced.
sourceAppliedQuantityAmount Integer Amount equal to the price of the units that are replaced. Determines the change of the amount of the source item quantity.
targetIndex Integer Index number of the target item that is a replacement of the source item. The enumeration continues the values for the order items, e.g. if there are three items in the request, `target_index` equals `3`, as enumeration starts from `0`.
targetAppliedQuantity Integer Number of added target units that are replacements.
targetAppliedQuantityAmount Integer Amount equal to the price of the units that are replacements. Determines the change in the amount of the target item quantity.
targetAppliedDiscountAmount Integer Discount amount applied to the target item with regard to the replacement. Equals the `target_applied_quantity_amount` minus `source_applied_quantity_amount`.