@@ -1,6 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.bill; | |||
import cn.com.taiji.common.entity.BaseEntity; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -9,53 +10,70 @@ import lombok.Setter; | |||
@Getter | |||
public class BillInvoicesModel extends BaseEntity { | |||
/** 开票流水号 */ | |||
@JsonProperty(value ="SerialNo") | |||
private String serialNo; | |||
/** 外部订单号 */ | |||
@JsonProperty(value ="OutOrderNo") | |||
private String outOrderNo; | |||
/** 发票类型名称 */ | |||
@JsonProperty(value ="InvoiceTypeName") | |||
private String invoiceTypeName; | |||
/** 商品名称 */ | |||
@JsonProperty(value ="GoodsName") | |||
private String goodsName; | |||
/** 税率 */ | |||
@JsonProperty(value ="TaxRate") | |||
private Double taxRate; | |||
/** 发票抬头 */ | |||
@JsonProperty(value ="BuyerName") | |||
private String buyerName; | |||
/** 购方税号 */ | |||
@JsonProperty(value ="BuyerTaxNo") | |||
private String buyerTaxNo; | |||
/** 含税价 */ | |||
@JsonProperty(value ="TotalAmount") | |||
private Double totalAmount; | |||
/** 商品价(不含税) */ | |||
@JsonProperty(value ="GoodsAmount") | |||
private Double goodsAmount; | |||
/** 税额 */ | |||
@JsonProperty(value ="TaxAmount") | |||
private Double taxAmount; | |||
/** 发票代码 */ | |||
@JsonProperty(value ="InvoiceCode") | |||
private String invoiceCode; | |||
/** 发票号码 */ | |||
@JsonProperty(value ="InvoiceNo") | |||
private String invoiceNo; | |||
/** 开票日期 */ | |||
@JsonProperty(value ="InvoiceDate") | |||
private String invoiceDate; | |||
/** 发票开具时间 yyyy-MM-dd HH:mm:ss格式 */ | |||
@JsonProperty(value ="InvoiceOpenTime") | |||
private String invoiceOpenTime; | |||
/** 发票板式文件下载链路 */ | |||
@JsonProperty(value ="FileUrl") | |||
private String fileUrl; | |||
/** 状态 1:正常;-1:已红冲; */ | |||
@JsonProperty(value ="Status") | |||
private Integer status; | |||
/** 备注 */ | |||
@JsonProperty(value ="Remarks") | |||
private String remarks; | |||
} |
@@ -14,7 +14,7 @@ import java.util.List; | |||
@Getter | |||
@Setter | |||
public class BillMergeInvoicingRequest extends AbstractIasRequest<BillMergeInvoicingResponse> { | |||
protected BillMergeInvoicingRequest() { | |||
public BillMergeInvoicingRequest() { | |||
super(IasServiceCmd.BILLMERGEINVOICING); | |||
} | |||
/** |
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotBlank; | |||
@Getter | |||
@Setter | |||
public class BillOrderPushLogRequest extends AbstractIasRequest<BillOrderPushLogResponse> { | |||
protected BillOrderPushLogRequest() { | |||
public BillOrderPushLogRequest() { | |||
super(IasServiceCmd.BILLORDERPUSH); | |||
} | |||
/** 订单号*/ |
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull; | |||
@Getter | |||
@Setter | |||
public class BillRaiseDeleteRequest extends AbstractIasRequest<BillRaiseDeleteResponse> { | |||
protected BillRaiseDeleteRequest() { | |||
public BillRaiseDeleteRequest() { | |||
super(IasServiceCmd.BILLRAISEDELETE); | |||
} | |||
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotBlank; | |||
@Getter | |||
@Setter | |||
public class BillRaiseInsertRequest extends AbstractIasRequest<BillRaiseInsertResponse> { | |||
protected BillRaiseInsertRequest() { | |||
public BillRaiseInsertRequest() { | |||
super(IasServiceCmd.BILLRAISEINSERT); | |||
} | |||
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotBlank; | |||
@Getter | |||
@Setter | |||
public class BillRaiseUpdateRequest extends AbstractIasRequest<BillRaiseUpdateResponse> { | |||
protected BillRaiseUpdateRequest() { | |||
public BillRaiseUpdateRequest() { | |||
super(IasServiceCmd.BILLRAISEUPDATE); | |||
} | |||
@@ -13,7 +13,7 @@ import javax.validation.constraints.NotNull; | |||
@Getter | |||
@Setter | |||
public class BillRecordRequest extends AbstractIasRequest<BillRecordResponse> { | |||
protected BillRecordRequest() { | |||
public BillRecordRequest() { | |||
super(IasServiceCmd.BILLRECORD); | |||
} | |||
/** 状态 正常_1,红冲_-1*/ |
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotBlank; | |||
@Getter | |||
@Setter | |||
public class BillReversalRequest extends AbstractIasRequest<BillReversalResponse> { | |||
protected BillReversalRequest() { | |||
public BillReversalRequest() { | |||
super(IasServiceCmd.BILLREVERSAL); | |||
} | |||
/** 开票流水号*/ |
@@ -1,12 +1,12 @@ | |||
package cn.com.taiji.ias.manager.bill.model; | |||
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), | |||
; | |||