@Validated
public interface OrderInvoiceApi
| Modifier and Type | Method and Description |
|---|---|
BaseResponse<String> |
addOrderInvoiceRelationShip(Long tenantId,
@NotNull(message="\u4ea7\u54c1\u7ebfid\u4e0d\u80fd\u4e3a\u7a7a") Long appId,
Long orderId,
@Valid @NotEmpty List<OrderInvoiceRelation> orderInvoiceRelations) |
BaseResponse<String> |
discardInvoice(Long tenantId,
Long appId,
String invoiceNo,
String invoiceCode) |
@RequestMapping(value="/{tenantId}/order/v1/orders/{orderId}/invoices",
produces="application/json",
method=POST)
BaseResponse<String> addOrderInvoiceRelationShip(@PathVariable(value="tenantId")
Long tenantId,
@RequestParam(value="appId") @NotNull(message="\u4ea7\u54c1\u7ebfid\u4e0d\u80fd\u4e3a\u7a7a")
@NotNull(message="\u4ea7\u54c1\u7ebfid\u4e0d\u80fd\u4e3a\u7a7a") Long appId,
@PathVariable
Long orderId,
@Valid @RequestBody @NotEmpty
@Valid @NotEmpty List<OrderInvoiceRelation> orderInvoiceRelations)
@RequestMapping(value="/{tenantId}/order/v1/orders/invoices/{invoiceNo}/{invoiceCode}",
produces="application/json",
method=PUT)
BaseResponse<String> discardInvoice(@PathVariable(value="tenantId")
Long tenantId,
@RequestParam(value="appId")
Long appId,
@PathVariable(value="invoiceNo")
String invoiceNo,
@PathVariable(value="invoiceCode")
String invoiceCode)
Copyright © 2020. All rights reserved.