Crate payjp_client_core

Source
Expand description

This crate provides shared utilities for implementing clients

Structs§

ConfigOverride
Per-request configuration overrides.
CustomizablePayjpRequest
A CustomizablePayjpRequest allows for configuring per-request behavior that overrides default configuration values.
CustomizedPayjpRequest
The request specification used by a compatible client to make a request.
ListPaginator
Stream designed to support pagination.
RequestBuilder
A builder for specifying the possible pieces of a API request.
SharedConfigBuilder
This is meant for internal use when implementing compatible clients, so it may be more unstable with respect to semver.

Enums§

Outcome
Representation of whether to retry the API request, including a potential waiting period.
PayjpMethod
REST API methods used by Payjp.
RequestStrategy
Possible strategies for sending API requests, including retry behavior and use of idempotency keys.

Traits§

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