Represents the trial_settings nested object on a Stripe Subscription.
Currently exposes end_behavior as a plain map. The leaf field inside
(missing_payment_method) is intentionally not promoted to a typed field —
Stripe may add more end-behavior controls in future and end_behavior is
documented as an open map.
Example:
%LatticeStripe.Subscription.TrialSettings{
end_behavior: %{"missing_payment_method" => "cancel"}
}
Summary
Functions
Converts a decoded Stripe API map to a %TrialSettings{} struct.