(default_list_kwargs)
return all_list_kwargs
Returns sequence of kwrags to sync Payment Methods for
        all Stripe Accounts
Returns sequence of kwrags to sync Payment Methods for
        all Stripe Accounts
Returns sequence of kwrags to sync Payment Methods for all Stripe Accounts
def get_list_kwargs_pm(default_list_kwargs):
        """Returns sequence of kwrags to sync Payment Methods for
        all Stripe Accounts"""

        all_list_kwargs = []
        payment_method_types = enums.PaymentMethodType.__members__

        for def_kwarg in default_list_kwargs:
            stripe_account = def_kwarg.get("stripe_account")
            for stripe_customer in models.Customer.api_list(
                stripe_account=stripe_account
            ):
                for type in payment_method_types:
                    all_list_kwargs.append(
                        {"customer": stripe_customer.id, "type": type, **def_kwarg}
                    )

        return all_list_kwargs
def get_list_kwargs_pm ( default_list_kwargs ) : all_list_kwargs = [ ] payment_method_types = enums . PaymentMethodType . __members__ for def_kwarg in default_list_kwargs : stripe_account = def_kwarg . get ( "stripe_account" ) for stripe_customer in models . Customer . api_list ( stripe_account = stripe_account ) : for type in payment_method_types : all_list_kwargs . append ( { "customer" : stripe_customer . id , "type" : type , * * def_kwarg } ) return all_list_kwargs