add Payment
See also
public final Unit addPayment(Integer paymentNumber, String paymentName, Integer paymentValue, PaymentOrChange paymentOrChange, PaymentSetOrAddOrSubtract paymentSetOrAddOrSub, PaymentKind paymentKindONLINE)
save payment details on printer and print them at the end of automaticGrantedToReceipt
Parameters
payment Number
number of payment
payment Name
name of payment
payment Value
value of payment
payment Or Change
is payment or is change
payment Set Or Add Or Sub
can be null; if 'Set' then value of this number is set to paidInForeignCurrency if 'Add' then paidInForeignCurrency is add to value of this currency number; if 'Sub' then paidInForeignCurrency is subtracted from value of this currency number