stateset-a2a 1.22.0

Agent-to-Agent commerce service layer: splits, subscriptions, escrow, webhooks, event streaming
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Split payment service types and logic.
//!
//! Supports percentage-based and fixed-amount multi-party splits
//! with optional platform fees and rounding drift prevention.

pub mod calculation;
pub mod state_machine;

pub use calculation::{
    Recipient, SplitResult, SplitShare, SplitType, calculate_fixed_split,
    calculate_percentage_split,
};
pub use state_machine::{SplitPaymentStatus, SplitPaymentTransition};