fraudtwin.SourceTrajectory#

class fraudtwin.SourceTrajectory(**data)[source][source]#

Bases: BaseModel

One legitimate source payment and its point-in-time snapshot.

Parameters:
  • source_payment (Payment)

  • source_events (tuple[PaymentEvent, ...])

  • source_ledger_entries (tuple[LedgerEntry, ...])

  • decision_at (datetime)

  • available_event_ids (tuple[str, ...])

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].