package com.yc.ship.module.trade.service.invoice;

import cn.hutool.json.JSONObject;
import com.yc.ship.framework.common.pojo.CommonResult;
import com.yc.ship.module.trade.dal.dataobject.invoice.InvoiceDO;

public interface InvoiceHangxinService {

    Boolean login (String username, String password);

    /**
     *  登录第一步（申请登录）
     * @param username
     * @param password
     * @param userIdentity
     * @return
     */
    JSONObject loginStepOne(String username, String password,String userIdentity);

    /**
     * 登录第二步（确认登录）
     * @param username
     * @param smsCode
     * @return
     */
    JSONObject loginStepTwo(String username,String smsCode);

    CommonResult<InvoiceDO> invoiceIssuance (InvoiceDO invoice);

    JSONObject queryInvoiceUrl (Long invoiceId , String invoiceNo, String invoiceDate);


}
