|
StripeKit 0.1.1
Stripe integration toolkit for C++
|
Asks the store to reserve an event id. More...
#include <WebhookDedupStore.h>
Public Attributes | |
| std::string | event_id |
| The Stripe event id to reserve. | |
| std::chrono::system_clock::time_point | now |
| Current time, used for claim timestamps and staleness checks. | |
| std::chrono::minutes | stale_inflight_timeout = defaultStaleInflightTimeout |
| How old an unfinished claim must be before it can be taken over. | |
Asks the store to reserve an event id.
The store must hand out a reservation to exactly one caller. If the id is already reserved or already finished, it reports a duplicate instead, which is what keeps repeated Stripe deliveries from being processed twice.
Definition at line 55 of file WebhookDedupStore.h.
| std::string stripekit::ClaimRequest::event_id |
The Stripe event id to reserve.
Definition at line 57 of file WebhookDedupStore.h.
| std::chrono::system_clock::time_point stripekit::ClaimRequest::now |
Current time, used for claim timestamps and staleness checks.
Definition at line 60 of file WebhookDedupStore.h.
| std::chrono::minutes stripekit::ClaimRequest::stale_inflight_timeout = defaultStaleInflightTimeout |
How old an unfinished claim must be before it can be taken over.
Definition at line 63 of file WebhookDedupStore.h.