Skip to content

Commit

Permalink
BPUB-2001 Updating personal info identity pieces (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0by1 authored Jan 10, 2024
1 parent 268863e commit 87a13b9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,17 @@ public interface IExtensionContext {
*/
boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentityPiece);

/**
* Update an existing personal info identity piece.
*
* <p>This method can only be used to update <b>Personal Info</b> identity pieces.
*
* @param identityPublicId public ID of an existing identity to be updated
* @param identityPiece identity piece to be updated
* @return true in case of success, false otherwise
*/
boolean updateIdentityPiecePersonalInfo(String identityPublicId, IIdentityPiece identityPiece);

/**
* @param identityId public ID of an existing identity to be updated
* @param state new state to be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ public boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentit
return false;
}

@Override
public boolean updateIdentityPiecePersonalInfo(String identityPublicId, IIdentityPiece identityPiece) {
return false;
}

@Override
public IIdentity updateIdentity(String identityId, String externalId, int state, int type, Date created, Date registered, BigDecimal vipBuyDiscount, BigDecimal vipSellDiscount, String note, List<ILimit> limitCashPerTransaction, List<ILimit> limitCashPerHour, List<ILimit> limitCashPerDay, List<ILimit> limitCashPerWeek, List<ILimit> limitCashPerMonth, List<ILimit> limitCashPer3Months, List<ILimit> limitCashPer12Months, List<ILimit> limitCashPerCalendarQuarter, List<ILimit> limitCashPerCalendarYear, List<ILimit> limitCashTotalIdentity, String configurationCashCurrency) {
return null;
Expand Down

0 comments on commit 87a13b9

Please sign in to comment.