package cn.com.taiji.core.model.comm.protocol.ias.bill; | package cn.com.taiji.core.model.comm.protocol.ias.bill; | ||||
import cn.com.taiji.common.entity.BaseEntity; | import cn.com.taiji.common.entity.BaseEntity; | ||||
import com.fasterxml.jackson.annotation.JsonProperty; | |||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; | ||||
@Getter | @Getter | ||||
public class BillInvoicesModel extends BaseEntity { | public class BillInvoicesModel extends BaseEntity { | ||||
/** 开票流水号 */ | /** 开票流水号 */ | ||||
@JsonProperty(value ="SerialNo") | |||||
private String serialNo; | private String serialNo; | ||||
/** 外部订单号 */ | /** 外部订单号 */ | ||||
@JsonProperty(value ="OutOrderNo") | |||||
private String outOrderNo; | private String outOrderNo; | ||||
/** 发票类型名称 */ | /** 发票类型名称 */ | ||||
@JsonProperty(value ="InvoiceTypeName") | |||||
private String invoiceTypeName; | private String invoiceTypeName; | ||||
/** 商品名称 */ | /** 商品名称 */ | ||||
@JsonProperty(value ="GoodsName") | |||||
private String goodsName; | private String goodsName; | ||||
/** 税率 */ | /** 税率 */ | ||||
@JsonProperty(value ="TaxRate") | |||||
private Double taxRate; | private Double taxRate; | ||||
/** 发票抬头 */ | /** 发票抬头 */ | ||||
@JsonProperty(value ="BuyerName") | |||||
private String buyerName; | private String buyerName; | ||||
/** 购方税号 */ | /** 购方税号 */ | ||||
@JsonProperty(value ="BuyerTaxNo") | |||||
private String buyerTaxNo; | private String buyerTaxNo; | ||||
/** 含税价 */ | /** 含税价 */ | ||||
@JsonProperty(value ="TotalAmount") | |||||
private Double totalAmount; | private Double totalAmount; | ||||
/** 商品价(不含税) */ | /** 商品价(不含税) */ | ||||
@JsonProperty(value ="GoodsAmount") | |||||
private Double goodsAmount; | private Double goodsAmount; | ||||
/** 税额 */ | /** 税额 */ | ||||
@JsonProperty(value ="TaxAmount") | |||||
private Double taxAmount; | private Double taxAmount; | ||||
/** 发票代码 */ | /** 发票代码 */ | ||||
@JsonProperty(value ="InvoiceCode") | |||||
private String invoiceCode; | private String invoiceCode; | ||||
/** 发票号码 */ | /** 发票号码 */ | ||||
@JsonProperty(value ="InvoiceNo") | |||||
private String invoiceNo; | private String invoiceNo; | ||||
/** 开票日期 */ | /** 开票日期 */ | ||||
@JsonProperty(value ="InvoiceDate") | |||||
private String invoiceDate; | private String invoiceDate; | ||||
/** 发票开具时间 yyyy-MM-dd HH:mm:ss格式 */ | /** 发票开具时间 yyyy-MM-dd HH:mm:ss格式 */ | ||||
@JsonProperty(value ="InvoiceOpenTime") | |||||
private String invoiceOpenTime; | private String invoiceOpenTime; | ||||
/** 发票板式文件下载链路 */ | /** 发票板式文件下载链路 */ | ||||
@JsonProperty(value ="FileUrl") | |||||
private String fileUrl; | private String fileUrl; | ||||
/** 状态 1:正常;-1:已红冲; */ | /** 状态 1:正常;-1:已红冲; */ | ||||
@JsonProperty(value ="Status") | |||||
private Integer status; | private Integer status; | ||||
/** 备注 */ | /** 备注 */ | ||||
@JsonProperty(value ="Remarks") | |||||
private String remarks; | private String remarks; | ||||
} | } |
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillMergeInvoicingRequest extends AbstractIasRequest<BillMergeInvoicingResponse> { | public class BillMergeInvoicingRequest extends AbstractIasRequest<BillMergeInvoicingResponse> { | ||||
protected BillMergeInvoicingRequest() { | |||||
public BillMergeInvoicingRequest() { | |||||
super(IasServiceCmd.BILLMERGEINVOICING); | super(IasServiceCmd.BILLMERGEINVOICING); | ||||
} | } | ||||
/** | /** |
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillOrderPushLogRequest extends AbstractIasRequest<BillOrderPushLogResponse> { | public class BillOrderPushLogRequest extends AbstractIasRequest<BillOrderPushLogResponse> { | ||||
protected BillOrderPushLogRequest() { | |||||
public BillOrderPushLogRequest() { | |||||
super(IasServiceCmd.BILLORDERPUSH); | super(IasServiceCmd.BILLORDERPUSH); | ||||
} | } | ||||
/** 订单号*/ | /** 订单号*/ |
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillRaiseDeleteRequest extends AbstractIasRequest<BillRaiseDeleteResponse> { | public class BillRaiseDeleteRequest extends AbstractIasRequest<BillRaiseDeleteResponse> { | ||||
protected BillRaiseDeleteRequest() { | |||||
public BillRaiseDeleteRequest() { | |||||
super(IasServiceCmd.BILLRAISEDELETE); | super(IasServiceCmd.BILLRAISEDELETE); | ||||
} | } | ||||
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillRaiseInsertRequest extends AbstractIasRequest<BillRaiseInsertResponse> { | public class BillRaiseInsertRequest extends AbstractIasRequest<BillRaiseInsertResponse> { | ||||
protected BillRaiseInsertRequest() { | |||||
public BillRaiseInsertRequest() { | |||||
super(IasServiceCmd.BILLRAISEINSERT); | super(IasServiceCmd.BILLRAISEINSERT); | ||||
} | } | ||||
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillRaiseUpdateRequest extends AbstractIasRequest<BillRaiseUpdateResponse> { | public class BillRaiseUpdateRequest extends AbstractIasRequest<BillRaiseUpdateResponse> { | ||||
protected BillRaiseUpdateRequest() { | |||||
public BillRaiseUpdateRequest() { | |||||
super(IasServiceCmd.BILLRAISEUPDATE); | super(IasServiceCmd.BILLRAISEUPDATE); | ||||
} | } | ||||
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillRecordRequest extends AbstractIasRequest<BillRecordResponse> { | public class BillRecordRequest extends AbstractIasRequest<BillRecordResponse> { | ||||
protected BillRecordRequest() { | |||||
public BillRecordRequest() { | |||||
super(IasServiceCmd.BILLRECORD); | super(IasServiceCmd.BILLRECORD); | ||||
} | } | ||||
/** 状态 正常_1,红冲_-1*/ | /** 状态 正常_1,红冲_-1*/ |
@Getter | @Getter | ||||
@Setter | @Setter | ||||
public class BillReversalRequest extends AbstractIasRequest<BillReversalResponse> { | public class BillReversalRequest extends AbstractIasRequest<BillReversalResponse> { | ||||
protected BillReversalRequest() { | |||||
public BillReversalRequest() { | |||||
super(IasServiceCmd.BILLREVERSAL); | super(IasServiceCmd.BILLREVERSAL); | ||||
} | } | ||||
/** 开票流水号*/ | /** 开票流水号*/ |
package cn.com.taiji.ias.manager.bill.model; | package cn.com.taiji.ias.manager.bill.model; | ||||
public enum HtlRequestMethod { | public enum HtlRequestMethod { | ||||
BILLRAISEINSERT("发票抬头添加","qtzlinvoice/addInvoiceTitle",1), | |||||
BILLRAISEDELETE("发票抬头删除","qtzlinvoice/deleteInvoiceTitle",2), | |||||
BILLRAISEUPDATE("发票抬头修改","qtzlinvoice/editInvoiceTitle",3), | |||||
BILLRECORD("发票开票记录","qtzlinvoice/queryInvoice",4), | |||||
BILLREVERSAL("发票红冲","qtzlinvoice/invocieReversal",5), | |||||
BILLMERGEINVOICING("ETC产品合并开票","qtzlinvoice/batchOpenEtcProductInvoice",6), | |||||
BILLRAISEINSERT("发票抬头添加","/qtzlinvoice/addInvoiceTitle",1), | |||||
BILLRAISEDELETE("发票抬头删除","/qtzlinvoice/deleteInvoiceTitle",2), | |||||
BILLRAISEUPDATE("发票抬头修改","/qtzlinvoice/editInvoiceTitle",3), | |||||
BILLRECORD("发票开票记录","/qtzlinvoice/queryInvoice",4), | |||||
BILLREVERSAL("发票红冲","/qtzlinvoice/invocieReversal",5), | |||||
BILLMERGEINVOICING("ETC产品合并开票","/qtzlinvoice/batchOpenEtcProductInvoice",6), | |||||
BILLORDERPUSH("发票订单补推","",7), | BILLORDERPUSH("发票订单补推","",7), | ||||
; | ; | ||||