mapReceiptPaymentSummary method
Implementation
ReceiptPaymentSummary mapReceiptPaymentSummary(
ReceiptPaymentSummaryResp? resp,
) {
return ReceiptPaymentSummary(
paymentMethod: resp?.paymentMethod ?? "",
totalPrice: resp?.totalPrice ?? 0,
totalQuantity: resp?.totalQuantity ?? 0,
totalDiscount: resp?.totalDiscount ?? 0,
);
}