Reposted
Stripe · OA
In processStripe Internship Tracking-Invoices OA
Software engineer · InternshipNov 2019
Shared by
Role: Software Engineering Intern
Result: Not disclosed
Timing: November 4, 2019
The OA processed action strings for invoice state changes:
CREATEadded an invoice.FINALIZEmade it payable.PAYremoved the debt after finalization.
Created and finalized invoices counted toward the unpaid total using their current integer-cent amount. Only USD invoices counted. Actions were applied in input order, and state changes were permanent.
The examples returned 800, 600, and 0.
The source did not fully define invalid transitions, duplicate IDs, or input bounds. A second document asked for written code-improvement thoughts.
Practice: Track Invoice Lifecycle and Outstanding USD Balance.
0 total reactions. Your reactions: none.
0 comments
Comments
0No comments yet — be the first to share what you know.