Defines request and response structs for creating, updating, and retrieving payment intents and attempts, used across the payment API layer.
// Source: https://github.com/mperkins0155/hyperswitch | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
#[cfg(feature = "v1")]
use std::fmt;
use std::{
collections::{HashMap, HashSet},
num::{NonZeroI64, NonZeroU8},
};
pub mod additional_info;
pub mod trait_impls;
use cards::{CardNumber, NetworkToken};
#[cfg(feature = "v2")]
use common_enums::enums::PaymentConnectorTransmission;
use common_enums::{self, GooglePayCardFundingSource, ProductType};
#[cfg(feature = "v1")]
use common_types::primitive_wrappers::{
ExtendedAuthorizationAppliedBool, RequestExtendedAuthorizationBool,
};
use common_types::{
customers::DocumentKind, payments as common_payments_types, primitive_wr
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key