StripeKit 0.1.1
Stripe integration toolkit for C++
Loading...
Searching...
No Matches
stripekit::ClaimResult Struct Reference

The store's answer to a ClaimRequest. More...

#include <WebhookDedupStore.h>

Public Member Functions

bool should_process () const
 Reports whether the caller won the reservation.

Public Attributes

ClaimOutcome outcome = ClaimOutcome::FatalStoreError
 What happened.
std::string detail
 Optional free-form detail from the implementation, for diagnostics.

Detailed Description

The store's answer to a ClaimRequest.

Definition at line 69 of file WebhookDedupStore.h.

Member Function Documentation

◆ should_process()

bool stripekit::ClaimResult::should_process ( ) const

Reports whether the caller won the reservation.

Returns
True only for ClaimOutcome::Claimed.

Member Data Documentation

◆ outcome

ClaimOutcome stripekit::ClaimResult::outcome = ClaimOutcome::FatalStoreError

What happened.

Definition at line 71 of file WebhookDedupStore.h.

◆ detail

std::string stripekit::ClaimResult::detail

Optional free-form detail from the implementation, for diagnostics.

Definition at line 74 of file WebhookDedupStore.h.


The documentation for this struct was generated from the following file: