protected function getUserByStripeId($stripeId)
    {
        $model = Yii::$app->user->identityClass;

        return $model::findOne(['stripe_id' => $stripeId]);
    }
protected function getUserByStripeId($stripeId)
    {
        $model = Yii::$app->user->identityClass;

        return $model::findOne(['stripe_id' => $stripeId]);
    }
protected function getUserByStripeId ( $ stripeId ) { $ model = Yii :: $ app -> user -> identityClass ; return $ model :: findOne ( [ 'stripe_id' => $ stripeId ] ) ; }
Get the billable entity instance by Stripe ID.

@param string $stripeId

@return null|static
Get the billable entity instance by Stripe ID .