Represents the tos_acceptance nested object on a Stripe Account.
This struct holds PII (ip, user_agent). Its Inspect implementation
redacts those fields to prevent leakage into logs and IEx output (Phase 17 T-17-01).
Unknown fields from the Stripe API response are preserved in :extra per the
F-001 forward-compatibility pattern.
See Stripe Account API.
Summary
Functions
Converts a decoded Stripe API map to a %TosAcceptance{} struct.
Types
Functions
Converts a decoded Stripe API map to a %TosAcceptance{} struct.
Returns nil when given nil.
Security: The ip and user_agent fields contain PII. Use inspect/1 safely —
this struct's Inspect implementation redacts those fields (T-17-01 mitigation).
Unknown fields from the Stripe API are captured in :extra (F-001 pattern)
for forward compatibility.