@Path(value="/invoice") public class InvoiceService extends Object
| Constructor and Description |
|---|
InvoiceService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCustomer(String id)
Retrieves an invoice record for a given invoice ID.
|
@GET
@Path(value="/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCustomer(@PathParam(value="id")
String id)
throws InvoiceNotFoundException
id - Invoice ID will be taken from the path parameter.InvoiceNotFoundExceptionCopyright © 2025 WSO2. All rights reserved.