Skip to Content
Paycose Docs
Test clocks

Test clocks

The test_clock_advance object

The report of one test clock advance: what ran up to the new time.

Attributes

  • objectstringRequired

    String naming the object's type.

  • test_clockobject (test_clock)RequiredNullable

    The clock after the advance.

  • providerstringRequired

    Who ran the advance: internal or the provider of the attached subscriptions.

  • iterationsintegerRequired

    Number of passes made over the due steps.

  • schedules_seenintegerRequired

    Number of scheduled steps that fell due.

  • schedules_doneintegerRequired

    Number of those steps that ran.

  • events_emittedintegerRequired

    Number of events the steps sent.

  • errorsarray of strings

    Steps that failed, with why; omitted when none failed.

  • driverstring

    internal when Paycose ran its own schedules, remote when the provider's clock was advanced.

  • statusstring

    completed when every due step ran; advancing while the provider is still catching up, so more events will follow.

  • remote_statusstring

    Status of the provider's clock; omitted for internal clocks.

  • remote_frozen_timetimestampNullable

    Time the provider's clock reports; omitted for internal clocks.

  • provider_events_expectedboolean

    true when the provider will send further events as it catches up.

  • stripe_advancedboolean

    Older name of provider_events_expected, with the same value.