US 11,727,453 B2
Deterministic validation of billing integrations through simulated time
Ji Huang, Bothell, WA (US); Adam Eagle, San Francisco, CA (US); Tanin Na Nakorn, Bellevue, WA (US); Stefan Gawrys, Seattle, WA (US); and Arne Roomann-Kurrik, San Franciso, CA (US)
Assigned to Stripe, Inc., San Francisco, CA (US)
Filed by Stripe, Inc., San Francisco, CA (US)
Filed on Apr. 6, 2021, as Appl. No. 17/223,329.
Prior Publication US 2022/0318864 A1, Oct. 6, 2022
Int. Cl. G06Q 30/04 (2012.01); G06F 16/22 (2019.01)
CPC G06Q 30/04 (2013.01) [G06F 16/2291 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
creating an instance of a clock data structure in a billing system;
attaching the instance of the clock data structure to a first instance of a first billing object in the billing system;
creating a first instance of a second billing object that is a descendant of the first instance of the first billing object, the creating the first instance of the second billing object including automatically inheriting the instance of the clock data structure from the first instance of the first billing object;
operating the billing system in a test mode; and
during the test mode:
advancing a clock value stored in the instance of the clock data structure;
in response to the advancing, firing one or more billing events based on instances of billing objects that have the instance of the clock data structure attached; and
monitoring the fired one or more billing events to validate a proper operation of the billing system.