Expand description
This crate provides shared utilities for implementing clients capable of making Stripe API requests.
Structs§
- Account
Id - Application
Id - Config
Override - Per-request configuration overrides.
- Customizable
Stripe Request - A
CustomizableStripeRequest
allows for configuring per-request behavior that overrides default configuration values. - Customized
Stripe Request - The request specification used by a compatible Stripe client to make a request.
- Idempotency
Key - Represents valid idempotency key
- List
Paginator - Stream designed to support pagination.
- Request
Builder - A builder for specifying the possible pieces of a Stripe API request.
- Shared
Config Builder - Shared configuration utilities for implementing a Stripe client.
Enums§
- ApiVersion
- Idempotent
KeyError - Error that can be returned when constructing
IdempotencyKey
- Outcome
- Representation of whether to retry the API request, including a potential waiting period.
- Request
Strategy - Possible strategies for sending Stripe API requests, including retry behavior and use of idempotency keys.
- Stripe
Method - REST API methods used by Stripe.
Constants§
Traits§
- Pagination
Ext - An extension trait to allow converting
List<T>
andSearchList<T>
into a type that can be paginated. Not meant to be implemented by any other types. - Stripe
Blocking Client - An abstraction for defining HTTP clients capable of making blocking Stripe API requests compatible with request information generated in the stripe request crates.
- Stripe
Client - An abstraction for defining HTTP clients capable of making Stripe API requests compatible with request information generated in the stripe request crates.
- Stripe
Client Err - This trait allows clients implementing
StripeClient
to define their own error type, while ensuring they can receive deserialization errors. - Stripe
Request - Define how to convert structs into the data required to make a specific Stripe API call.