Skip to main content

adk_payments/kernel/
mod.rs

1//! Canonical commerce kernel contracts.
2//!
3//! The kernel exposes protocol-neutral command types, state-transition errors,
4//! cross-protocol correlation, and backend-facing service traits used by ACP
5//! stable `2026-01-30` and AP2 `v0.1-alpha` (`2026-03-22`) adapters.
6
7pub mod commands;
8pub mod correlator;
9pub mod errors;
10pub mod service;
11
12pub use commands::{
13    BeginInterventionCommand, CancelCheckoutCommand, CommerceContext, CompleteCheckoutCommand,
14    ContinueInterventionCommand, CreateCheckoutCommand, DelegatePaymentAllowance,
15    DelegatePaymentCommand, DelegatedPaymentResult, DelegatedRiskSignal, EvidenceLookup,
16    ExecutePaymentCommand, ListUnresolvedTransactionsRequest, OrderUpdateCommand,
17    PaymentExecutionOutcome, PaymentExecutionResult, StoreEvidenceCommand, StoredEvidence,
18    SyncPaymentOutcomeCommand, TransactionLookup, UpdateCheckoutCommand,
19};
20pub use correlator::{
21    LossyConversionError, ProjectionResult, ProtocolCorrelator, ProtocolOrigin, ProtocolRefKind,
22};
23pub use errors::PaymentsKernelError;
24pub use service::{
25    DelegatedPaymentService, EvidenceStore, InterventionService, MerchantCheckoutService,
26    PaymentExecutionService, TransactionStore,
27};