diff --git a/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java b/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java index 873211a7..7d80a203 100644 --- a/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java +++ b/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java @@ -6,13 +6,12 @@ import io.craftgate.request.dto.PaymentItem; import lombok.Builder; import lombok.Data; -import lombok.experimental.SuperBuilder; import java.math.BigDecimal; import java.util.List; @Data -@SuperBuilder +@Builder public class InitCheckoutPaymentRequest { protected BigDecimal price; diff --git a/src/main/java/io/craftgate/response/InitCheckoutPaymentResponse.java b/src/main/java/io/craftgate/response/InitCheckoutPaymentResponse.java index ee752665..404649c8 100644 --- a/src/main/java/io/craftgate/response/InitCheckoutPaymentResponse.java +++ b/src/main/java/io/craftgate/response/InitCheckoutPaymentResponse.java @@ -1,10 +1,10 @@ package io.craftgate.response; +import lombok.Builder; import lombok.Data; -import lombok.experimental.SuperBuilder; @Data -@SuperBuilder +@Builder public class InitCheckoutPaymentResponse { protected String token; diff --git a/src/test/java/io/craftgate/sample/PaymentSample.java b/src/test/java/io/craftgate/sample/PaymentSample.java index fd3a4926..edb3365d 100644 --- a/src/test/java/io/craftgate/sample/PaymentSample.java +++ b/src/test/java/io/craftgate/sample/PaymentSample.java @@ -514,7 +514,9 @@ void init_checkout_payment() { .price(BigDecimal.valueOf(100)) .paidPrice(BigDecimal.valueOf(100)) .walletPrice(BigDecimal.ZERO) + .buyerMemberId(1L) .installment(1) + .callbackUrl("https://www.your-website.com/craftgate-3DSecure-callback") .currency(Currency.TRY) .conversationId("456d1297-908e-4bd6-a13b-4be31a6e47d5") .paymentGroup(PaymentGroup.LISTING_OR_SUBSCRIPTION)