utils/payment_items_from_request library

Functions

paymentItemsFromRequest(PaymentRequest request) List<PaymentItem>
Builds a PaymentItem list for the pay package from PaymentRequest.orderDetails (single "Total" line with summed amount).