pub fn apply_payment_lifecycle_delta(
adapter: &dyn DatabaseOperations,
config: &DbBackendConfig,
schema: &AppSchema,
declaration: &Value,
actor_id: i64,
before: &Value,
after: &Value,
) -> Result<Value, DatabaseError>Expand description
Commits changed payment rows atomically, with compare-and-write guards and transaction-local references for identities generated by any backend.