(self)
return version or self.DEFAULT_STRIPE_API_VERSION
Get the desired API version to use for Stripe requests.
Get the desired API version to use for Stripe requests.
Get the desired API version to use for Stripe requests .
def STRIPE_API_VERSION(self):
        """
        Get the desired API version to use for Stripe requests.
        """
        version = getattr(settings, "STRIPE_API_VERSION", stripe.api_version)
        return version or self.DEFAULT_STRIPE_API_VERSION
def STRIPE_API_VERSION ( self ) : version = getattr ( settings , "STRIPE_API_VERSION" , stripe . api_version ) return version or self . DEFAULT_STRIPE_API_VERSION