def create_discount(location_id, body, opts = {})
      data, _status_code, _headers = create_discount_with_http_info(location_id, body, opts)
      return data
    end
def create_discount(location_id, body, opts = {})
      data, _status_code, _headers = create_discount_with_http_info(location_id, body, opts)
      return data
    end
CreateDiscount
 Creates a discount.
 @param location_id The ID of the location to create an item for.
 @param body An object containing the fields to POST for the request.  See the corresponding object definition for field details.
 @param [Hash] opts the optional parameters
 @return [V1Discount]