Chapter Thirteen. Invoices, Credit Cards, and Discounts

SAM DECIDES IT IS TIME TO ADD THE ABILITY TO INVOICE CUSTOMERS and charge those invoices to credit cards. We explore interfaces to external credit card processors. We add computation of customer discounts in terms that Sam can understand. We also revisit security and privacy in the context of these changes.

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.