stripity_stripe v2.7.0 Stripe.Converter View Source
Link to this section Summary
Functions
Takes a result map or list of maps from a Stripe response and returns a
struct (e.g. %Stripe.Card{}
) or list of structs.
Link to this section Functions
Link to this function
convert_result(result) View Source
Takes a result map or list of maps from a Stripe response and returns a
struct (e.g. %Stripe.Card{}
) or list of structs.
If the result is not a supported Stripe object, it just returns a plain map with atomized keys.