Replace FixedRateShipping

        Replace all attributes of FixedRateShipping
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_fixed_rate_shipping_by_id(fixed_rate_shipping_id, fixed_rate_shipping, async=True)
        >>> result = thread.get()

        :param async bool
        :param str fixed_rate_shipping_id: ID of fixedRateShipping to replace (required)
        :param FixedRateShipping fixed_rate_shipping: Attributes of fixedRateShipping to replace (required)
        :return: FixedRateShipping
                 If the method is called asynchronously,
                 returns the request thread.

def replace_fixed_rate_shipping_by_id(cls, fixed_rate_shipping_id, fixed_rate_shipping, **kwargs):
        """Replace FixedRateShipping

        Replace all attributes of FixedRateShipping
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_fixed_rate_shipping_by_id(fixed_rate_shipping_id, fixed_rate_shipping, async=True)
        >>> result = thread.get()

        :param async bool
        :param str fixed_rate_shipping_id: ID of fixedRateShipping to replace (required)
        :param FixedRateShipping fixed_rate_shipping: Attributes of fixedRateShipping to replace (required)
        :return: FixedRateShipping
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._replace_fixed_rate_shipping_by_id_with_http_info(fixed_rate_shipping_id, fixed_rate_shipping, **kwargs)
        else:
            (data) = cls._replace_fixed_rate_shipping_by_id_with_http_info(fixed_rate_shipping_id, fixed_rate_shipping, **kwargs)
            return data