Skip to content

Commit

Permalink
refactored pricing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoudAA committed Dec 10, 2024
1 parent f42593d commit e0932e8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.ecommerce.service;

import java.math.BigDecimal;
import java.util.UUID;

import jakarta.ws.rs.GET;
Expand All @@ -14,7 +15,9 @@
public interface PricingService {

@GET
@Path("/{id}")
public double getProductPrice(@PathParam("id") UUID id);
@Path("/base-price/{id}")
public BigDecimal getProductPrice(@PathParam("id") UUID id);



}

0 comments on commit e0932e8

Please sign in to comment.