Package com.tnsai.payment
package com.tnsai.payment
-
ClassDescription
PaymentBrokerthat prices everything at 0.00 USD and settles instantly (TNS-298).Settlement bus for agent-to-agent payments (TNS-298).Thrown byPaymentBroker.quote(com.tnsai.identity.AgentPrincipal, com.tnsai.identity.AgentPrincipal, com.tnsai.payment.Service)when broker policy refuses to price.Priced commitment for aServicebetween twoAgentPrincipalagents (TNS-298).Description of a unit-of-work an agent offers (TNS-298).Outcome ofPaymentBroker.settle(com.tnsai.payment.Quote)(TNS-298).Idempotency replay — a prior settlement with the sameQuote.idempotencyKeyalready succeeded; broker returns the originaltransactionIdso callers can reconcile.Quote was pastQuote.expiresAtwhen settlement was attempted.Broker refused — insufficient funds, payer KYC failure, broker policy block.Funds moved successfully.