Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPUB-2001 Updating personal info identity pieces #880

Merged
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
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
Loading