Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package io.craftgate.request;

import io.craftgate.model.*;
import io.craftgate.model.Currency;
import io.craftgate.model.PaymentGroup;
import io.craftgate.model.PaymentMethod;
import io.craftgate.model.PaymentSource;
import io.craftgate.request.dto.PaymentItem;
import lombok.Builder;
import lombok.Data;
Expand All @@ -22,11 +25,10 @@ public class InitMultiPaymentRequest {
private String externalId;
private String callbackUrl;

@Builder.Default
protected PaymentPhase paymentPhase = PaymentPhase.AUTH;
private String paymentChannel;

private List<PaymentMethod> enabledPaymentMethods;
private List<Integer> enabledInstallments;

private String cardUserKey;

Expand Down
1 change: 0 additions & 1 deletion src/test/java/io/craftgate/sample/PaymentSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,6 @@ void init_multi_payment() {
.conversationId("456d1297-908e-4bd6-a13b-4be31a6e47d5")
.externalId("external_id-123456789")
.paymentGroup(PaymentGroup.LISTING_OR_SUBSCRIPTION)
.paymentPhase(PaymentPhase.AUTH)
.items(items)
.build();

Expand Down
Loading