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
4 changes: 4 additions & 0 deletions src/main/java/io/craftgate/request/SearchProductsRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
@Builder
public class SearchProductsRequest {

private Long id;
private String name;
private String orderId;
private String conversationId;
private String externalId;
private BigDecimal minPrice;
private BigDecimal maxPrice;
private Currency currency;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ public class UpdateProductRequest {
private Currency currency;
private String description;
private LocalDateTime expiresAt;
private boolean multiPayment;
private Set<Integer> enabledInstallments;
}
2 changes: 1 addition & 1 deletion src/main/java/io/craftgate/response/ProductResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ProductResponse {
private String token;
private Set<Integer> enabledInstallments;
private String url;
private String qrCodeUrl;
private String channel;
private boolean multiPayment;
private LocalDateTime expiresAt;
}
1 change: 0 additions & 1 deletion src/test/java/io/craftgate/sample/PayByLinkSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ void retrieve_product() {
assertNotNull(response.getPrice());
assertNotNull(response.getUrl());
assertNotNull(response.getToken());
assertNotNull(response.getQrCodeUrl());
}

@Test
Expand Down