stripity_stripe v2.0.0-alpha.6 Stripe.Changeset

Summary

Functions

Takes changes as a map with atom or string keys, a nested schema map, and an optional list of keys that can be unset

Functions

cast(changes, schema, operation, nullable_keys \\ [])
cast(map, map, atom, list) :: map

Takes changes as a map with atom or string keys, a nested schema map, and an optional list of keys that can be unset.

Returns a whitelisted map that can be used to send to Stripe.