def list_discounts(location_id, opts = {})
      data, _status_code, _headers = list_discounts_with_http_info(location_id, opts)
      return data
    end
def list_discounts(location_id, opts = {})
      data, _status_code, _headers = list_discounts_with_http_info(location_id, opts)
      return data
    end
ListDiscounts
 Lists all of a location's discounts.
 @param location_id The ID of the location to list categories for.
 @param [Hash] opts the optional parameters
 @return [Array<V1Discount>]