(cls, target_cls, data)
return tax_rates
Retrieves TaxRates for a Subscription or Invoice
        :param target_cls:
        :param data:
        :param instance:
        :type instance: Union[djstripe.models.Invoice, djstripe.models.Subscription]
        :return:
Retrieves TaxRates for a Subscription or Invoice
        :param target_cls:
        :param data:
        :param instance:
        :type instance: Union[djstripe.models.Invoice, djstripe.models.Subscription]
        :return:
Retrieves TaxRates for a Subscription or Invoice : param target_cls : : param data : : param instance : : type instance : Union [ djstripe . models . Invoice djstripe . models . Subscription ] : return :
def _stripe_object_to_default_tax_rates(cls, target_cls, data):
        """
        Retrieves TaxRates for a Subscription or Invoice
        :param target_cls:
        :param data:
        :param instance:
        :type instance: Union[djstripe.models.Invoice, djstripe.models.Subscription]
        :return:
        """
        tax_rates = []

        for tax_rate_data in data.get("default_tax_rates", []):
            tax_rate, _ = target_cls._get_or_create_from_stripe_object(
                tax_rate_data, refetch=False
            )
            tax_rates.append(tax_rate)

        return tax_rates
def _stripe_object_to_default_tax_rates ( cls , target_cls , data ) : tax_rates = [ ] for tax_rate_data in data . get ( "default_tax_rates" , [ ] ) : tax_rate , _ = target_cls . _get_or_create_from_stripe_object ( tax_rate_data , refetch = False ) tax_rates . append ( tax_rate ) return tax_rates