diff --git a/src/main/java/io/craftgate/request/InitGarantiPayPaymentRequest.java b/src/main/java/io/craftgate/request/InitGarantiPayPaymentRequest.java index fad8d4e0..3e739f2d 100644 --- a/src/main/java/io/craftgate/request/InitGarantiPayPaymentRequest.java +++ b/src/main/java/io/craftgate/request/InitGarantiPayPaymentRequest.java @@ -28,4 +28,5 @@ public class InitGarantiPayPaymentRequest { protected String bankOrderId; protected List items; protected List installments; + private List enabledInstallments; } \ No newline at end of file diff --git a/src/test/java/io/craftgate/sample/PaymentSample.java b/src/test/java/io/craftgate/sample/PaymentSample.java index 1e70c6f9..90d817b2 100644 --- a/src/test/java/io/craftgate/sample/PaymentSample.java +++ b/src/test/java/io/craftgate/sample/PaymentSample.java @@ -915,6 +915,7 @@ void init_garanti_pay_payment() { .paymentGroup(PaymentGroup.LISTING_OR_SUBSCRIPTION) .items(items) .installments(installments) + .enabledInstallments(Arrays.asList(2,3)) .build(); InitGarantiPayPaymentResponse response = craftgate.payment().initGarantiPayPayment(request);