final |
|---|
The address capture action (SDK Address v0.9 D11) — the one path through which a
sdk_partner_addresses row is written, wherever the write originates (the
partners console for master data; downstream never touches this table).
Both provenances converge on the canonical {@see NormalizedAddress}:
providedBy === null) → validation_status = Unverified.fetch() yields a NormalizedAddress carrying providedBy / providerId →
validation_status = Validated.The formatted string is rendered once and cached at save (D7): the provider's own canonical string when it carried one, else the country-derived formatter's output — so an improved formatter never retro-edits the printed-envelope snapshot. The model's write-path guards (either/or capture, singular Primary) fire on save.
| Methods | ||
|---|---|---|
public
|
__construct(AddressFormatterRegistry $formatters)
|
# |
public
|
save(
int $partnerId,
NormalizedAddress $address,
AddressType $type = AddressType::Primary,
?int $id = null,
): PartnerAddress
|
# |