package com.ruoyi.erp.request;

import com.alibaba.fastjson2.JSONObject;

/**
 * 订单修改价格请求
 *
 * 对应接口：POST /api/open/order/modify/price
 */
public class OrderModifyPriceRequest extends ERPRequestBase {
	public OrderModifyPriceRequest(IERPAccount erpAccount) {
		super("https://open.goofish.pro/api/open/order/modify/price", erpAccount);
	}

	public void setOrderNo(String orderNo) { ensureBody(); this.requestBody.put("order_no", orderNo); }
	public void setExpressFee(long expressFee) { ensureBody(); this.requestBody.put("express_fee", expressFee); }
	public void setOrderPrice(long orderPrice) { ensureBody(); this.requestBody.put("order_price", orderPrice); }

	private void ensureBody() { if (this.requestBody == null) this.requestBody = new JSONObject(); }
}


