Skip to content

Commit e707c07

Browse files
committed
chore: update PaymentRequest to use UUID for productCode instead of String
1 parent ed3ec04 commit e707c07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/acme/payment/PaymentRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package com.acme.payment;
22

33
import java.math.BigDecimal;
4+
import java.util.UUID;
45

5-
public record PaymentRequest(String productCode,
6+
public record PaymentRequest(UUID productCode,
67
String productName,
78
int quantity,
89
BigDecimal unitPrice) {

0 commit comments

Comments
 (0)