Crate stripe_client_core

Source
Expand description

This crate provides shared utilities for implementing clients capable of making Stripe API requests.

Structs§

AccountId
ApplicationId
ConfigOverride
Per-request configuration overrides.
CustomizableStripeRequest
A CustomizableStripeRequest allows for configuring per-request behavior that overrides default configuration values.
CustomizedStripeRequest
The request specification used by a compatible Stripe client to make a request.
IdempotencyKey
Represents valid idempotency key
ListPaginator
Stream designed to support pagination.
RequestBuilder
A builder for specifying the possible pieces of a Stripe API request.
SharedConfigBuilder
Shared configuration utilities for implementing a Stripe client.

Enums§

ApiVersion
IdempotentKeyError
Error that can be returned when constructing IdempotencyKey
Outcome
Representation of whether to retry the API request, including a potential waiting period.
RequestStrategy
Possible strategies for sending Stripe API requests, including retry behavior and use of idempotency keys.
StripeMethod
REST API methods used by Stripe.

Constants§

VERSION

Traits§

PaginationExt
An extension trait to allow converting List<T> and SearchList<T> into a type that can be paginated. Not meant to be implemented by any other types.
StripeBlockingClient
An abstraction for defining HTTP clients capable of making blocking Stripe API requests compatible with request information generated in the stripe request crates.
StripeClient
An abstraction for defining HTTP clients capable of making Stripe API requests compatible with request information generated in the stripe request crates.
StripeClientErr
This trait allows clients implementing StripeClient to define their own error type, while ensuring they can receive deserialization errors.
StripeRequest
Define how to convert structs into the data required to make a specific Stripe API call.