removeReceiptItem

public final Unit removeReceiptItem(String name, TaxRateSymbol taxRate, Array<String> additionalInformation, Integer quantity, Integer MP, String unit, Integer price, Integer value, DiscountSurchargeInfo discountInfo)

remove item from automaticGrantedToReceipt

Parameters

name

item name

taxRate

tax rate symbol without 'all'

additionalInformation

information about automaticGrantedToReceipt item, printed under name, could be empty, max. 3 lines

quantity

quantity

MP

number of digits after decimal point in quantity

unit

unit name (max. 4 characters)

price

price for 1 item in currency subunit

value

value in currency subunit

discountInfo

information about discount, can be null


public final Unit removeReceiptItem(ReceiptItem receiptItem, DiscountSurchargeInfo discountInfo)

remove item from automaticGrantedToReceipt

Parameters

receiptItem

item to add

discountInfo

information about discount/surcharge