入参命名修改
parent
7f1594c49e
commit
9e8243e856
|
|
@ -35,21 +35,21 @@ public class InvoiceService {
|
||||||
/**
|
/**
|
||||||
* 232007-发票匹配
|
* 232007-发票匹配
|
||||||
*/
|
*/
|
||||||
public InvoiceSettleMatchApiResponse settleMatch(InvoiceSettleMatchApiRequest request) {
|
public InvoiceSettleMatchResponse settleMatch(InvoiceSettleMatchRequest request) {
|
||||||
String url = "/invoice/settle/match";
|
String url = "/invoice/settle/match";
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
headers.addHeader(API_VERSION, V_2);
|
headers.addHeader(API_VERSION, V_2);
|
||||||
HttpResponse<InvoiceSettleMatchApiResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), InvoiceSettleMatchApiResponse.class);
|
HttpResponse<InvoiceSettleMatchResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), InvoiceSettleMatchResponse.class);
|
||||||
return httpResponse.getServiceResponse();
|
return httpResponse.getServiceResponse();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 232008-发票来账明细查询
|
* 232008-发票来账明细查询
|
||||||
*/
|
*/
|
||||||
public InvoiceDepositQueryApiResponse invoiceDepositQuery(InvoiceDepositQueryApiRequest request) {
|
public InvoiceDepositQueryResponse invoiceDepositQuery(InvoiceDepositQueryRequest request) {
|
||||||
String url = "/invoice/deposit/query";
|
String url = "/invoice/deposit/query";
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
headers.addHeader(API_VERSION, V_2);
|
headers.addHeader(API_VERSION, V_2);
|
||||||
HttpResponse<InvoiceDepositQueryApiResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), InvoiceDepositQueryApiResponse.class);
|
HttpResponse<InvoiceDepositQueryResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), InvoiceDepositQueryResponse.class);
|
||||||
return httpResponse.getServiceResponse();
|
return httpResponse.getServiceResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import lombok.experimental.Accessors;
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@TransType("232008")
|
@TransType("232008")
|
||||||
public class InvoiceDepositQueryApiRequest implements ApiRequest {
|
public class InvoiceDepositQueryRequest implements ApiRequest {
|
||||||
/**
|
/**
|
||||||
* 渠道编号
|
* 渠道编号
|
||||||
*/
|
*/
|
||||||
|
|
@ -19,7 +19,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class InvoiceDepositQueryApiResponse implements ApiResponse {
|
public class InvoiceDepositQueryResponse implements ApiResponse {
|
||||||
/**
|
/**
|
||||||
* 000000:表示成功
|
* 000000:表示成功
|
||||||
*/
|
*/
|
||||||
|
|
@ -21,7 +21,7 @@ import java.util.List;
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@TransType("232007")
|
@TransType("232007")
|
||||||
public class InvoiceSettleMatchApiRequest implements ApiRequest {
|
public class InvoiceSettleMatchRequest implements ApiRequest {
|
||||||
/**
|
/**
|
||||||
* 渠道编号
|
* 渠道编号
|
||||||
*/
|
*/
|
||||||
|
|
@ -18,7 +18,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class InvoiceSettleMatchApiResponse implements ApiResponse {
|
public class InvoiceSettleMatchResponse implements ApiResponse {
|
||||||
/**
|
/**
|
||||||
* 000000:表示成功
|
* 000000:表示成功
|
||||||
*/
|
*/
|
||||||
Loading…
Reference in New Issue