fix(cotisations): InitierPaiementEnLigneRequest record (new au lieu de builder)
Le DTO est un record Java, pas un @Builder Lombok. builder() n'existe pas. Aussi: pom.xml mis à jour.
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>dev.lions.unionflow</groupId>
|
<groupId>dev.lions.unionflow</groupId>
|
||||||
<artifactId>unionflow-parent</artifactId>
|
<artifactId>unionflow-parent</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.5</version>
|
||||||
<relativePath>../unionflow-server-api/parent-pom.xml</relativePath>
|
<relativePath>../unionflow-server-api/parent-pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.lions.unionflow</groupId>
|
<groupId>dev.lions.unionflow</groupId>
|
||||||
<artifactId>unionflow-server-api</artifactId>
|
<artifactId>unionflow-server-api</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Lions User Manager Client - Module réutilisable de gestion d'utilisateurs Keycloak -->
|
<!-- Lions User Manager Client - Module réutilisable de gestion d'utilisateurs Keycloak -->
|
||||||
|
|||||||
@@ -645,11 +645,9 @@ public class CotisationsBean implements Serializable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
InitierPaiementEnLigneRequest request = InitierPaiementEnLigneRequest.builder()
|
// Pas de numéro de téléphone → QR non restreint (tout abonné Wave peut payer)
|
||||||
.cotisationId(cotisationSelectionnee.getId())
|
InitierPaiementEnLigneRequest request = new InitierPaiementEnLigneRequest(
|
||||||
.methodePaiement("WAVE")
|
cotisationSelectionnee.getId(), "WAVE", null);
|
||||||
// Pas de numéro de téléphone → QR non restreint (tout abonné Wave peut payer)
|
|
||||||
.build();
|
|
||||||
|
|
||||||
PaiementGatewayResponse response = retryService.executeWithRetrySupplier(
|
PaiementGatewayResponse response = retryService.executeWithRetrySupplier(
|
||||||
() -> paiementClientService.initierPaiementEnLigne(request),
|
() -> paiementClientService.initierPaiementEnLigne(request),
|
||||||
|
|||||||
Reference in New Issue
Block a user