amountOutstanding property

Decimal get amountOutstanding

Remaining balance: orderTotal - amountPaid. Can be negative when surplus payments (tips) are accepted.

Implementation

Decimal get amountOutstanding => orderTotal - amountPaid;