invoiceReceipt abstract method
- @POST("${Api.invoiceReceipt}/{orderId}/invoice-receipt:{status}")
Future<InvoiceReceiptModel>
invoiceReceipt(
{ - @Body() required dynamic body,
- @Header("X-User-Name") String xUserName = "",
- @Header("X-User-Id") String xUserId = "",
- @Header("content-type") String contentType = "application/json",
- @Path("status") required String status,
- @Path("orderId") required String orderId,
})
Implementation
@POST("${Api.invoiceReceipt}/{orderId}/invoice-receipt:{status}")
Future<InvoiceReceiptModel> invoiceReceipt({
@Body() required dynamic body,
@Header("X-User-Name") String xUserName = "",
@Header("X-User-Id") String xUserId = "",
@Header("content-type") String contentType = "application/json",
@Path("status") required String status,
@Path("orderId") required String orderId,
});