def update_stripe_gateway_by_id(cls, stripe_gateway_id, stripe_gateway, **kwargs):
        """Update StripeGateway

        Update attributes of StripeGateway
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_stripe_gateway_by_id(stripe_gateway_id, stripe_gateway, async=True)
        >>> result = thread.get()

        :param async bool
        :param str stripe_gateway_id: ID of stripeGateway to update. (required)
        :param StripeGateway stripe_gateway: Attributes of stripeGateway to update. (required)
        :return: StripeGateway
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_stripe_gateway_by_id_with_http_info(stripe_gateway_id, stripe_gateway, **kwargs)
        else:
            (data) = cls._update_stripe_gateway_by_id_with_http_info(stripe_gateway_id, stripe_gateway, **kwargs)
            return data
def update_stripe_gateway_by_id ( cls , stripe_gateway_id , stripe_gateway , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async' ) : return cls . _update_stripe_gateway_by_id_with_http_info ( stripe_gateway_id , stripe_gateway , ** kwargs ) else : ( data ) = cls . _update_stripe_gateway_by_id_with_http_info ( stripe_gateway_id , stripe_gateway , ** kwargs ) return data
Update StripeGateway

        Update attributes of StripeGateway
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_stripe_gateway_by_id(stripe_gateway_id, stripe_gateway, async=True)
        >>> result = thread.get()

        :param async bool
        :param str stripe_gateway_id: ID of stripeGateway to update. (required)
        :param StripeGateway stripe_gateway: Attributes of stripeGateway to update. (required)
        :return: StripeGateway
                 If the method is called asynchronously,
                 returns the request thread.