Files
paulandClaude Opus 5.5 f66230b1fb Rename the domain Digital Core to Digital (2.0.0)
"Digital Core" is to be the name of a canonical data product the domain
will run, so the domain itself is Digital: its title, description and
owner address in domain.md, the back-link heading of every entity, enum
and product file, and the README, CLAUDE.md, Copilot instructions and
package description.

A breaking change by MD-DDL's test: a product generated from 1.0.0, such
as Canonical Party, names its domain, and would come out different now.
So version 2.0.0. v1.0.0 is tagged on the commit Canonical Party was
generated from, which was never tagged.

Lint: no findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 16:19:39 +13:00

48 lines
1.2 KiB
Markdown

# [Digital](../domain.md)
## Entities
### Payee
A Payee is a Party Role representing the party value goes to in a transaction. Kept distinct from Merchant: every merchant being paid is a payee, but plenty of payees are not merchants — a refunded customer, an employee reimbursed, a partner receiving a share.
```mermaid
---
config:
layout: elk
---
classDiagram
class Payee{
* Payee Identifier : string
Beneficiary Reference : string
}
Payee --|> PartyRole
class PartyRole["<a href='./party_role.md'>Party Role</a>"]
```
```yaml
extends: Party Role
existence: independent
mutability: slowly_changing
attributes:
Payee Identifier:
type: string
identifier: primary
description: Unique identifier for the payee role instance.
Beneficiary Reference:
type: string
description: Reference identifying the beneficiary in payment instructions.
```
```yaml
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
```
## Relationships
No relationships are sourced directly from Payee. The canonical direction is Transaction-owned — see [Transaction Has Payee](transaction.md#transaction-has-payee).