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>
|
||||
<groupId>dev.lions.unionflow</groupId>
|
||||
<artifactId>unionflow-parent</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<version>1.0.5</version>
|
||||
<relativePath>../unionflow-server-api/parent-pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
<dependency>
|
||||
<groupId>dev.lions.unionflow</groupId>
|
||||
<artifactId>unionflow-server-api</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<version>1.0.5</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Lions User Manager Client - Module réutilisable de gestion d'utilisateurs Keycloak -->
|
||||
|
||||
@@ -645,11 +645,9 @@ public class CotisationsBean implements Serializable {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
InitierPaiementEnLigneRequest request = InitierPaiementEnLigneRequest.builder()
|
||||
.cotisationId(cotisationSelectionnee.getId())
|
||||
.methodePaiement("WAVE")
|
||||
// Pas de numéro de téléphone → QR non restreint (tout abonné Wave peut payer)
|
||||
.build();
|
||||
// Pas de numéro de téléphone → QR non restreint (tout abonné Wave peut payer)
|
||||
InitierPaiementEnLigneRequest request = new InitierPaiementEnLigneRequest(
|
||||
cotisationSelectionnee.getId(), "WAVE", null);
|
||||
|
||||
PaiementGatewayResponse response = retryService.executeWithRetrySupplier(
|
||||
() -> paiementClientService.initierPaiementEnLigne(request),
|
||||
|
||||
Reference in New Issue
Block a user