Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.57 KB

ApplicationDetailsItem.md

File metadata and controls

14 lines (11 loc) · 1.57 KB

VoucherifySdk::ApplicationDetailsItem

Properties

Name Type Description Notes
source_index 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`. [optional]
source_applied_quantity Integer Number of source units that are replaced. [optional]
source_applied_quantity_amount Integer Amount equal to the price of the units that are replaced. Determines the change of the amount of the source item quantity. [optional]
target_index 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`. [optional]
target_applied_quantity Integer Number of added target units that are replacements. [optional]
target_applied_quantity_amount Integer Amount equal to the price of the units that are replacements. Determines the change in the amount of the target item quantity. [optional]
target_applied_discount_amount Integer Discount amount applied to the target item with regard to the replacement. Equals the `target_applied_quantity_amount` minus `source_applied_quantity_amount`. [optional]