@@ -569,7 +569,7 @@ await makeItemPayment(
569569
570570### Réalisation de paiements basés sur les reçus
571571
572- - `makeIbPayment `
572+ - `make 2 WayPayment `
573573
574574| **Argument** | **Type** | **Default** | **Required** | **Description** |
575575| -------------- | ------------------------------ | ----------- | ------------ | ------------------------------------------------------------- |
@@ -603,15 +603,15 @@ const actifReception = initIAssetItem({
603603 "drs_tx_hash": "default_drs_tx_hash"
604604 }});
605605
606- const resultatPaiement = await makeIbPayment (
606+ const resultatPaiement = await make 2 WayPayment (
607607 "18 f70 ...caeda", // Adresse de paiement
608608 actifEnvoi, // Actif de paiement
609609 actifReception, // Actif de réception
610610 toutesLesPaires, // Toutes les paires clé-valeur
611611 adresseReception, // Adresse de réception
612612 );
613613
614- const { druid, encryptedTx } = paymentResult.content.makeIbPaymentResponse ;
614+ const { druid, encryptedTx } = paymentResult.content.make 2 WayPaymentResponse ;
615615
616616// Enregistrer la transaction chiffrée avec sa valeur DRUID correspondante
617617saveEncryptedTx(druid, encryptedTx);
@@ -622,7 +622,7 @@ saveEncryptedTx(druid, encryptedTx);
622622
623623### Récupération des paiements en attente basés sur les reçus
624624
625- - `fetchPendingIbTransactions `
625+ - `fetchPending 2 WayPayments `
626626
627627 ```typescript
628628 import { ABlockWallet } from '@a-block/a-blockjs';
@@ -639,7 +639,7 @@ saveEncryptedTx(druid, encryptedTx);
639639 const allEncryptedTxs = getAllEncryptedTxs();
640640
641641 // Récupérer les paiements en attente basés sur les reçus
642- const pendingIbTransactionsResult = await client.fetchPendingIbTransactions (
642+ const pendingIbTransactionsResult = await client.fetchPending 2 WayPayments (
643643 allKeypairs,
644644 allEncryptedTxs:,
645645 )
@@ -689,7 +689,7 @@ saveEncryptedTx(druid, encryptedTx);
689689
690690### Répondre aux paiements basés sur le reçu en attente
691691
692- - `acceptIbTx ` et `rejectIbTx `
692+ - `accept 2 WayPayment ` et `reject 2 WayPayment `
693693
694694 ```typescript
695695 import { ABlockWallet } from '@a-block/a-blockjs';
@@ -708,12 +708,12 @@ saveEncryptedTx(druid, encryptedTx);
708708 const allKeypairs = getAllKeypairs();
709709
710710 // Accepter un paiement basé sur un reçu en utilisant son identifiant unique `DRUID`
711- await client.acceptIbTx ('DRUID0xd0f407436f7f1fc494d7aee22939090e ', pendingIbTransactions, allKeypairs);
711+ await client.accept 2 WayPayment ('DRUID0xd0f407436f7f1fc494d7aee22939090e ', pendingIbTransactions, allKeypairs);
712712
713713 <!-- --------------------------------- OR ---------------------------------- -->
714714
715715 // Rejeter un paiement basé sur un reçu en utilisant son identifiant unique `DRUID`
716- await client.rejectIbTx ('DRUID0xd0f407436f7f1fc494d7aee22939090e ', pendingIbTransactions, allKeypairs);
716+ await client.reject 2 WayPayment ('DRUID0xd0f407436f7f1fc494d7aee22939090e ', pendingIbTransactions, allKeypairs);
717717 ```
718718
719719 Les transactions basées sur les reçus sont acceptées **ou** rejetées en passant leur identifiant DRUID unique en tant qu'argument aux méthodes correspondantes.
0 commit comments