rd account save api update
This commit is contained in:
+2
-1
@@ -47,7 +47,8 @@ public class SavingsAccountConstant extends SavingsApiConstants {
|
||||
guardianClientIdParamName, minorDateOfBirthParamName,
|
||||
introducerIdParamName, introducerNameParamName, introducerCifNumberParamName,
|
||||
nomineeParamName, linkedAccountIdParamName, linkedAccountTypeParamName, linkedAccountNoParamName,
|
||||
accountFacilityConfigParamName, jointHoldersParamName));
|
||||
accountFacilityConfigParamName, jointHoldersParamName,
|
||||
balanceSwapOptionParamName, msmeParamName, autoDebitFacilityParamName));
|
||||
|
||||
/**
|
||||
* These parameters will match the class level parameters of {@link SavingsAccountData}. Where possible, we try to
|
||||
|
||||
+6
-1
@@ -56,10 +56,13 @@ public class SavingsAccountJointHolder extends AbstractPersistableCustom<Long> {
|
||||
@Column(name = "is_primary")
|
||||
private boolean primary = false;
|
||||
|
||||
@Column(name = "is_mandatory")
|
||||
private boolean mandatory = false;
|
||||
|
||||
protected SavingsAccountJointHolder() {}
|
||||
|
||||
public SavingsAccountJointHolder(SavingsAccount account, Long clientId, String cifNumber,
|
||||
String displayName, BigDecimal sharePercentage, String signingAuthority, String role, boolean primary) {
|
||||
String displayName, BigDecimal sharePercentage, String signingAuthority, String role, boolean primary, boolean mandatory) {
|
||||
this.savingsAccount = account;
|
||||
this.clientId = clientId;
|
||||
this.cifNumber = cifNumber;
|
||||
@@ -68,6 +71,7 @@ public class SavingsAccountJointHolder extends AbstractPersistableCustom<Long> {
|
||||
this.signingAuthority = signingAuthority;
|
||||
this.role = role;
|
||||
this.primary = primary;
|
||||
this.mandatory = mandatory;
|
||||
}
|
||||
|
||||
public SavingsAccount getSavingsAccount() { return savingsAccount; }
|
||||
@@ -78,4 +82,5 @@ public class SavingsAccountJointHolder extends AbstractPersistableCustom<Long> {
|
||||
public String getSigningAuthority() { return signingAuthority; }
|
||||
public String getRole() { return role; }
|
||||
public boolean isPrimary() { return primary; }
|
||||
public boolean isMandatory() { return mandatory; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user