FINERACT-1971: Swagger classes primary keys fix (#3545)

FINERACT-1971 Swagger adjustments

---------

Co-authored-by: Arnold Galovics <galovicsarnold@gmail.com>
This commit is contained in:
peter-kovacs-dpc
2023-10-31 13:18:05 +01:00
committed by GitHub
co-authored by Arnold Galovics
parent 03e71a29ff
commit 5ebeca0f2d
57 changed files with 637 additions and 636 deletions
@@ -39,13 +39,13 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersFromOffice() {} private GetAccountTransfersFromOffice() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "HO") @Schema(example = "HO")
public String name; public String name;
@Schema(example = "HO") @Schema(example = "HO")
public String nameDecorated; public String nameDecorated;
@Schema(example = "1") @Schema(example = "1")
public Integer externalId; public String externalId;
@Schema(example = "[2009, 1, 1]") @Schema(example = "[2009, 1, 1]")
public LocalDate openingDate; public LocalDate openingDate;
@Schema(example = ".") @Schema(example = ".")
@@ -57,7 +57,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersFromAccountType() {} private GetAccountTransfersFromAccountType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.savings") @Schema(example = "accountType.savings")
public String code; public String code;
@Schema(example = "Savings Account") @Schema(example = "Savings Account")
@@ -69,7 +69,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersFromOfficeOptions() {} private GetAccountTransfersFromOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "HO") @Schema(example = "HO")
public String name; public String name;
@Schema(example = "HO") @Schema(example = "HO")
@@ -81,11 +81,11 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersFromClientOptions() {} private GetAccountTransfersFromClientOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Small shop") @Schema(example = "Small shop")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "HO") @Schema(example = "HO")
public String officeName; public String officeName;
} }
@@ -95,7 +95,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersFromAccountTypeOptions() {} private GetAccountTransfersFromAccountTypeOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.savings") @Schema(example = "accountType.savings")
public String code; public String code;
@Schema(example = "Savings Account") @Schema(example = "Savings Account")
@@ -107,7 +107,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersToOfficeOptions() {} private GetAccountTransfersToOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "HO") @Schema(example = "HO")
public String name; public String name;
@Schema(example = "HO") @Schema(example = "HO")
@@ -119,7 +119,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersToAccountTypeOptions() {} private GetAccountTransfersToAccountTypeOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.savings") @Schema(example = "accountType.savings")
public String code; public String code;
@Schema(example = "Savings Account") @Schema(example = "Savings Account")
@@ -145,21 +145,21 @@ final class AccountTransfersApiResourceSwagger {
private PostAccountTransfersRequest() {} private PostAccountTransfersRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer fromOfficeId; public Long fromOfficeId;
@Schema(example = "1") @Schema(example = "1")
public Integer fromClientId; public Long fromClientId;
@Schema(example = "2") @Schema(example = "2")
public Integer fromAccountType; public Integer fromAccountType;
@Schema(example = "1") @Schema(example = "1")
public Integer fromAccountId; public Long fromAccountId;
@Schema(example = "1") @Schema(example = "1")
public Integer toOfficeId; public Long toOfficeId;
@Schema(example = "1") @Schema(example = "1")
public Integer toClientId; public Long toClientId;
@Schema(example = "2") @Schema(example = "2")
public Integer toAccountType; public Integer toAccountType;
@Schema(example = "2") @Schema(example = "2")
public Integer toAccountId; public Long toAccountId;
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
public String dateFormat; public String dateFormat;
@Schema(example = "en") @Schema(example = "en")
@@ -178,9 +178,9 @@ final class AccountTransfersApiResourceSwagger {
private PostAccountTransfersResponse() {} private PostAccountTransfersResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetAccountTransfersResponse") @Schema(description = "GetAccountTransfersResponse")
@@ -215,7 +215,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersPageItemsFromOffice() {} private GetAccountTransfersPageItemsFromOffice() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "HO") @Schema(example = "HO")
public String name; public String name;
} }
@@ -225,7 +225,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersPageItemsFromAccount() {} private GetAccountTransfersPageItemsFromAccount() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
} }
@@ -235,7 +235,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersPageItemsToAccountType() {} private GetAccountTransfersPageItemsToAccountType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "accountType.loan") @Schema(example = "accountType.loan")
public String code; public String code;
@Schema(example = "Loan Account") @Schema(example = "Loan Account")
@@ -243,7 +243,7 @@ final class AccountTransfersApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "false") @Schema(example = "false")
public Boolean reversed; public Boolean reversed;
public GetAccountTransfersPageItemsCurrency currency; public GetAccountTransfersPageItemsCurrency currency;
@@ -298,13 +298,13 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferFromOffice() {} private GetAccountTransfersTemplateRefundByTransferFromOffice() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String name; public String name;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String nameDecorated; public String nameDecorated;
@Schema(example = "1") @Schema(example = "1")
public Integer externalId; public String externalId;
@Schema(example = "[2009, 1, 1]") @Schema(example = "[2009, 1, 1]")
public LocalDate openingDate; public LocalDate openingDate;
@Schema(example = ".") @Schema(example = ".")
@@ -320,7 +320,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersStatus() {} private GetAccountTransfersStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "clientStatusType.active") @Schema(example = "clientStatusType.active")
public String code; public String code;
@Schema(example = "Active") @Schema(example = "Active")
@@ -370,7 +370,7 @@ final class AccountTransfersApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
public GetAccountTransfersStatus status; public GetAccountTransfersStatus status;
@@ -388,7 +388,7 @@ final class AccountTransfersApiResourceSwagger {
public GetAccountTransfersClientType clientType; public GetAccountTransfersClientType clientType;
public GetAccountTransfersClientClassification clientClassification; public GetAccountTransfersClientClassification clientClassification;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
public GetAccountTransfersTimeline timeline; public GetAccountTransfersTimeline timeline;
@@ -400,19 +400,19 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferFromAccount() {} private GetAccountTransfersTemplateRefundByTransferFromAccount() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "000000002") @Schema(example = "000000002")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Daniel Owusu") @Schema(example = "Daniel Owusu")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "CTRL") @Schema(example = "CTRL")
public String productName; public String productName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetAccountTransfersTemplateRefundByTransferCurrency currency; public GetAccountTransfersTemplateRefundByTransferCurrency currency;
@Schema(example = "130") @Schema(example = "130")
public Float amtForTransfer; public Float amtForTransfer;
@@ -423,11 +423,11 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferToClient() {} private GetAccountTransfersTemplateRefundByTransferToClient() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Daniel Owusu") @Schema(example = "Daniel Owusu")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
} }
@@ -437,19 +437,19 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferToAccount() {} private GetAccountTransfersTemplateRefundByTransferToAccount() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Daniel Owusu") @Schema(example = "Daniel Owusu")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "TEST") @Schema(example = "TEST")
public String productName; public String productName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetAccountTransfersTemplateRefundByTransferCurrency currency; public GetAccountTransfersTemplateRefundByTransferCurrency currency;
} }
@@ -458,7 +458,7 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferFromOfficeOptions() {} private GetAccountTransfersTemplateRefundByTransferFromOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String name; public String name;
@Schema(example = "Head Office") @Schema(example = "Head Office")
@@ -470,11 +470,11 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferFromClientOptions() {} private GetAccountTransfersTemplateRefundByTransferFromClientOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Daniel Owusu") @Schema(example = "Daniel Owusu")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
} }
@@ -484,19 +484,19 @@ final class AccountTransfersApiResourceSwagger {
private GetAccountTransfersTemplateRefundByTransferFromAccountOptions() {} private GetAccountTransfersTemplateRefundByTransferFromAccountOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "000000002") @Schema(example = "000000002")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Daniel Owusu") @Schema(example = "Daniel Owusu")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "CTRL") @Schema(example = "CTRL")
public String productName; public String productName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetAccountTransfersTemplateRefundByTransferCurrency currency; public GetAccountTransfersTemplateRefundByTransferCurrency currency;
} }
@@ -529,17 +529,17 @@ final class AccountTransfersApiResourceSwagger {
private PostAccountTransfersRefundByTransferRequest() {} private PostAccountTransfersRefundByTransferRequest() {}
@Schema(example = "2") @Schema(example = "2")
public Integer fromAccountId; public Long fromAccountId;
@Schema(example = "1") @Schema(example = "1")
public Integer fromAccountType; public Integer fromAccountType;
@Schema(example = "1") @Schema(example = "1")
public Integer toOfficeId; public Long toOfficeId;
@Schema(example = "1") @Schema(example = "1")
public Integer toClientId; public Long toClientId;
@Schema(example = "2") @Schema(example = "2")
public Integer toAccountType; public Integer toAccountType;
@Schema(example = "1") @Schema(example = "1")
public Integer toAccountId; public Long toAccountId;
@Schema(example = "130") @Schema(example = "130")
public Float transferAmount; public Float transferAmount;
@Schema(example = "31 October 2014") @Schema(example = "31 October 2014")
@@ -551,9 +551,9 @@ final class AccountTransfersApiResourceSwagger {
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
public String dateFormat; public String dateFormat;
@Schema(example = "1") @Schema(example = "1")
public Integer fromClientId; public Long fromClientId;
@Schema(example = "1") @Schema(example = "1")
public Integer fromOfficeId; public Long fromOfficeId;
} }
@Schema(description = "PostAccountTransfersRefundByTransferResponse") @Schema(description = "PostAccountTransfersRefundByTransferResponse")
@@ -562,8 +562,8 @@ final class AccountTransfersApiResourceSwagger {
private PostAccountTransfersRefundByTransferResponse() {} private PostAccountTransfersRefundByTransferResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -47,7 +47,7 @@ final class StandingInstructionApiResourceSwagger {
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String decoratedName; public String decoratedName;
@Schema(example = "1") @Schema(example = "1")
public Integer externalId; public String externalId;
@Schema(example = "[2009, 1, 1]") @Schema(example = "[2009, 1, 1]")
public LocalDate openingDate; public LocalDate openingDate;
@Schema(example = ".") @Schema(example = ".")
@@ -40,7 +40,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsTypeProductOptions() {} private GetAccountsTypeProductOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Share Product") @Schema(example = "Share Product")
public String name; public String name;
@Schema(example = "SP") @Schema(example = "SP")
@@ -50,7 +50,7 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "7") @Schema(example = "7")
public Integer clientId; public Long clientId;
@Schema(example = "Client Name") @Schema(example = "Client Name")
public String clientName; public String clientName;
public Set<GetAccountsTypeProductOptions> productOptions; public Set<GetAccountsTypeProductOptions> productOptions;
@@ -66,7 +66,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsStatus() {} private GetAccountsStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "shareAccountStatusType.active") @Schema(example = "shareAccountStatusType.active")
public String code; public String code;
@Schema(example = "Active") @Schema(example = "Active")
@@ -132,7 +132,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsSummary() {} private GetAccountsSummary() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "000000002") @Schema(example = "000000002")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
@@ -140,7 +140,7 @@ final class AccountsApiResourceSwagger {
@Schema(example = "0") @Schema(example = "0")
public Integer totalPendingForApprovalShares; public Integer totalPendingForApprovalShares;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "Conflux Share Product") @Schema(example = "Conflux Share Product")
public String productName; public String productName;
public GetAccountsStatus status; public GetAccountsStatus status;
@@ -157,7 +157,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsPurchasedSharesStatus() {} private GetAccountsPurchasedSharesStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "purchasedSharesStatusType.approved") @Schema(example = "purchasedSharesStatusType.approved")
public String code; public String code;
@Schema(example = "Approved") @Schema(example = "Approved")
@@ -169,7 +169,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsPurchasedSharesType() {} private GetAccountsPurchasedSharesType() {}
@Schema(example = "500") @Schema(example = "500")
public Integer id; public Long id;
@Schema(example = "purchasedSharesType.purchased") @Schema(example = "purchasedSharesType.purchased")
public String code; public String code;
@Schema(example = "Purchase") @Schema(example = "Purchase")
@@ -177,9 +177,9 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "6") @Schema(example = "6")
public Integer id; public Long id;
@Schema(example = "2") @Schema(example = "2")
public Integer accountId; public Long accountId;
@Schema(example = "[2016, 4, 1]") @Schema(example = "[2016, 4, 1]")
public LocalDate purchasedDate; public LocalDate purchasedDate;
@Schema(example = "10") @Schema(example = "10")
@@ -201,7 +201,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsLockPeriodTypeEnum() {} private GetAccountsLockPeriodTypeEnum() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "savings.lockin.sharePeriodFrequencyType.days") @Schema(example = "savings.lockin.sharePeriodFrequencyType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -217,7 +217,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsChargeTimeType() {} private GetAccountsChargeTimeType() {}
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
@Schema(example = "chargeTimeType.activation") @Schema(example = "chargeTimeType.activation")
public String code; public String code;
@Schema(example = "Share Account Activate") @Schema(example = "Share Account Activate")
@@ -229,7 +229,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsChargeCalculationType() {} private GetAccountsChargeCalculationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "chargeCalculationType.flat") @Schema(example = "chargeCalculationType.flat")
public String code; public String code;
@Schema(example = "Flat") @Schema(example = "Flat")
@@ -255,11 +255,11 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "9") @Schema(example = "9")
public Integer id; public Long id;
@Schema(example = "20") @Schema(example = "20")
public Integer chargeId; public Long chargeId;
@Schema(example = "2") @Schema(example = "2")
public Integer accountId; public Long accountId;
@Schema(example = "Share Account Activation Flat") @Schema(example = "Share Account Activation Flat")
public String name; public String name;
public GetAccountsChargeTimeType chargeTimeType; public GetAccountsChargeTimeType chargeTimeType;
@@ -286,17 +286,17 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "000000002") @Schema(example = "000000002")
public Long accountNo; public Long accountNo;
@Schema(example = "000000013") @Schema(example = "000000013")
public Long savingsAccountNumber; public Long savingsAccountNumber;
@Schema(example = "7") @Schema(example = "7")
public Integer clientId; public Long clientId;
@Schema(example = "Client_FirstName_2KX8C Client_LastName_NWNG") @Schema(example = "Client_FirstName_2KX8C Client_LastName_NWNG")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "Share Product") @Schema(example = "Share Product")
public String productName; public String productName;
public GetAccountsStatus status; public GetAccountsStatus status;
@@ -305,7 +305,7 @@ final class AccountsApiResourceSwagger {
public GetAccountsSummary summary; public GetAccountsSummary summary;
public Set<GetAccountsPurchasedShares> purchasedShares; public Set<GetAccountsPurchasedShares> purchasedShares;
@Schema(example = "13") @Schema(example = "13")
public Integer savingsAccountId; public Long savingsAccountId;
@Schema(example = "5") @Schema(example = "5")
public Integer currentMarketPrice; public Integer currentMarketPrice;
@Schema(example = "1") @Schema(example = "1")
@@ -335,7 +335,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsTypeStatus() {} private GetAccountsTypeStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "shareAccountStatusType.submitted.and.pending.approval") @Schema(example = "shareAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -365,7 +365,7 @@ final class AccountsApiResourceSwagger {
private GetAccountsTypePurchasedShares() {} private GetAccountsTypePurchasedShares() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "01 May 2013") @Schema(example = "01 May 2013")
public String purchasedDate; public String purchasedDate;
@Schema(example = "10") @Schema(example = "10")
@@ -382,15 +382,15 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Client Name") @Schema(example = "Client Name")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "Share Product Name") @Schema(example = "Share Product Name")
public String productName; public String productName;
public GetAccountsTypeStatus status; public GetAccountsTypeStatus status;
@@ -415,19 +415,19 @@ final class AccountsApiResourceSwagger {
private PostAccountsCharges() {} private PostAccountsCharges() {}
@Schema(example = "20") @Schema(example = "20")
public Integer chargeId; public Long chargeId;
@Schema(example = "1") @Schema(example = "1")
public Integer amount; public Integer amount;
} }
@Schema(example = "7") @Schema(example = "7")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "100") @Schema(example = "100")
public Integer requestedShares; public Integer requestedShares;
@Schema(example = "1") @Schema(example = "1")
public Integer externalId; public String externalId;
@Schema(example = "01 May 2016") @Schema(example = "01 May 2016")
public String submittedDate; public String submittedDate;
@Schema(example = "1") @Schema(example = "1")
@@ -448,7 +448,7 @@ final class AccountsApiResourceSwagger {
public String dateFormat; public String dateFormat;
public Set<PostAccountsCharges> charges; public Set<PostAccountsCharges> charges;
@Schema(example = "13") @Schema(example = "13")
public Integer savingsAccountId; public Long savingsAccountId;
} }
@Schema(description = "PostAccountsTypeResponse") @Schema(description = "PostAccountsTypeResponse")
@@ -457,7 +457,7 @@ final class AccountsApiResourceSwagger {
private PostAccountsTypeResponse() {} private PostAccountsTypeResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PostAccountsTypeAccountIdRequest") @Schema(description = "PostAccountsTypeAccountIdRequest")
@@ -470,7 +470,7 @@ final class AccountsApiResourceSwagger {
private PostAccountsRequestedShares() {} private PostAccountsRequestedShares() {}
@Schema(example = "35") @Schema(example = "35")
public Integer id; public Long id;
} }
public Set<PostAccountsRequestedShares> requestedShares; public Set<PostAccountsRequestedShares> requestedShares;
@@ -482,7 +482,7 @@ final class AccountsApiResourceSwagger {
private PostAccountsTypeAccountIdResponse() {} private PostAccountsTypeAccountIdResponse() {}
@Schema(example = "5") @Schema(example = "5")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutAccountsTypeAccountIdRequest") @Schema(description = "PutAccountsTypeAccountIdRequest")
@@ -520,7 +520,7 @@ final class AccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutAccountsChanges changes; public PutAccountsChanges changes;
} }
} }
@@ -34,7 +34,7 @@ final class EntityFieldConfigurationApiResourcesSwagger {
private GetFieldConfigurationEntityResponse() {} private GetFieldConfigurationEntityResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer fieldConfigurationId; public Long fieldConfigurationId;
@Schema(example = "ADDRESS") @Schema(example = "ADDRESS")
public String entity; public String entity;
@Schema(example = "CLIENT") @Schema(example = "CLIENT")
@@ -44,9 +44,9 @@ final class ClientAddressApiResourcesSwagger {
@Schema(example = "Mumbai") @Schema(example = "Mumbai")
public String city; public String city;
@Schema(example = "800") @Schema(example = "800")
public Integer stateProvinceId; public Long stateProvinceId;
@Schema(example = "802") @Schema(example = "802")
public Integer countryId; public Long countryId;
@Schema(example = "400064") @Schema(example = "400064")
public Long postalCode; public Long postalCode;
@Schema(example = "true") @Schema(example = "true")
@@ -59,7 +59,7 @@ final class ClientAddressApiResourcesSwagger {
private PostClientClientIdAddressesResponse() {} private PostClientClientIdAddressesResponse() {}
@Schema(example = "15") @Schema(example = "15")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetClientClientIdAddressesResponse") @Schema(description = "GetClientClientIdAddressesResponse")
@@ -72,9 +72,9 @@ final class ClientAddressApiResourcesSwagger {
@Schema(example = "PERMANENT ADDRESS") @Schema(example = "PERMANENT ADDRESS")
public String addressType; public String addressType;
@Schema(example = "14") @Schema(example = "14")
public Integer addressId; public Long addressId;
@Schema(example = "804") @Schema(example = "804")
public Integer addressTypeId; public Long addressTypeId;
@Schema(example = "false") @Schema(example = "false")
public Boolean isActive; public Boolean isActive;
@Schema(example = "anki's home") @Schema(example = "anki's home")
@@ -92,13 +92,13 @@ final class ClientAddressApiResourcesSwagger {
@Schema(example = " ") @Schema(example = " ")
public String countyDistrict; public String countyDistrict;
@Schema(example = "801") @Schema(example = "801")
public Integer stateProvinceId; public Long stateProvinceId;
@Schema(example = "UNITED STATES") @Schema(example = "UNITED STATES")
public String countryName; public String countryName;
@Schema(example = "GUJRAT") @Schema(example = "GUJRAT")
public String stateName; public String stateName;
@Schema(example = "807") @Schema(example = "807")
public Integer countryId; public Long countryId;
@Schema(example = "400095") @Schema(example = "400095")
public Long postalCode; public Long postalCode;
@Schema(example = " ") @Schema(example = " ")
@@ -113,7 +113,7 @@ final class ClientAddressApiResourcesSwagger {
private PutClientClientIdAddressesRequest() {} private PutClientClientIdAddressesRequest() {}
@Schema(example = "67") @Schema(example = "67")
public Integer addressId; public Long addressId;
@Schema(example = "goldensource") @Schema(example = "goldensource")
public String street; public String street;
} }
@@ -124,6 +124,6 @@ final class ClientAddressApiResourcesSwagger {
private PutClientClientIdAddressesResponse() {} private PutClientClientIdAddressesResponse() {}
@Schema(example = "67") @Schema(example = "67")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -82,11 +82,11 @@ final class ClientChargesApiResourceSwagger {
} }
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "5") @Schema(example = "5")
public Integer chargeId; public Long chargeId;
@Schema(example = "Client Fee 1") @Schema(example = "Client Fee 1")
public String name; public String name;
public GetClientChargeTimeType chargeTimeType; public GetClientChargeTimeType chargeTimeType;
@@ -127,7 +127,7 @@ final class ClientChargesApiResourceSwagger {
@Schema(example = "100") @Schema(example = "100")
public Integer amount; public Integer amount;
@Schema(example = "226") @Schema(example = "226")
public Integer chargeId; public Long chargeId;
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
public String dateFormat; public String dateFormat;
@Schema(example = "01 September 2015") @Schema(example = "01 September 2015")
@@ -142,11 +142,11 @@ final class ClientChargesApiResourceSwagger {
private PostClientsClientIdChargesResponse() {} private PostClientsClientIdChargesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "189") @Schema(example = "189")
public Integer chargeId; public Long chargeId;
@Schema(example = "164") @Schema(example = "164")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PostClientsClientIdChargesChargeIdRequest") @Schema(description = "PostClientsClientIdChargesChargeIdRequest")
@@ -172,13 +172,13 @@ final class ClientChargesApiResourceSwagger {
private PostClientsClientIdChargesChargeIdResponse() {} private PostClientsClientIdChargesChargeIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "189") @Schema(example = "189")
public Integer clientId; public Long clientId;
@Schema(example = "157") @Schema(example = "157")
public Integer resourceId; public Long resourceId;
@Schema(example = "221") @Schema(example = "221")
public Integer transactionId; public Long transactionId;
} }
@Schema(description = "DeleteClientsClientIdChargesChargeIdResponse") @Schema(description = "DeleteClientsClientIdChargesChargeIdResponse")
@@ -187,10 +187,10 @@ final class ClientChargesApiResourceSwagger {
private DeleteClientsClientIdChargesChargeIdResponse() {} private DeleteClientsClientIdChargesChargeIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "189") @Schema(example = "189")
public Integer clientId; public Long clientId;
@Schema(example = "164") @Schema(example = "164")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -38,15 +38,15 @@ final class ClientIdentifiersApiResourceSwagger {
private GetClientsDocumentType() {} private GetClientsDocumentType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "Drivers License") @Schema(example = "Drivers License")
public String name; public String name;
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
public GetClientsDocumentType documentType; public GetClientsDocumentType documentType;
@Schema(example = "12345") @Schema(example = "12345")
public String documentKey; public String documentKey;
@@ -64,7 +64,7 @@ final class ClientIdentifiersApiResourceSwagger {
private GetClientsAllowedDocumentTypes() {} private GetClientsAllowedDocumentTypes() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Passport") @Schema(example = "Passport")
public String name; public String name;
@Schema(example = "0") @Schema(example = "0")
@@ -80,7 +80,7 @@ final class ClientIdentifiersApiResourceSwagger {
private PostClientsClientIdIdentifiersRequest() {} private PostClientsClientIdIdentifiersRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer documentTypeId; public Long documentTypeId;
@Schema(example = "KA-54677") @Schema(example = "KA-54677")
public String documentKey; public String documentKey;
@Schema(example = "Document has been verified") @Schema(example = "Document has been verified")
@@ -93,7 +93,7 @@ final class ClientIdentifiersApiResourceSwagger {
private PutClientsClientIdIdentifiersIdentifierIdRequest() {} private PutClientsClientIdIdentifiersIdentifierIdRequest() {}
@Schema(example = "4") @Schema(example = "4")
public Integer documentTypeId; public Long documentTypeId;
@Schema(example = "KA-94667") @Schema(example = "KA-94667")
public String documentKey; public String documentKey;
@Schema(example = "Document has been updated") @Schema(example = "Document has been updated")
@@ -106,11 +106,11 @@ final class ClientIdentifiersApiResourceSwagger {
private PutClientsClientIdIdentifiersIdentifierIdResponse() {} private PutClientsClientIdIdentifiersIdentifierIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "3") @Schema(example = "3")
public Integer resourceId; public Long resourceId;
public PutClientsClientIdIdentifiersIdentifierIdRequest changes; public PutClientsClientIdIdentifiersIdentifierIdRequest changes;
} }
@@ -120,11 +120,11 @@ final class ClientIdentifiersApiResourceSwagger {
private PostClientsClientIdIdentifiersResponse() {} private PostClientsClientIdIdentifiersResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "3") @Schema(example = "3")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteClientsClientIdIdentifiersIdentifierIdResponse") @Schema(description = "DeleteClientsClientIdIdentifiersIdentifierIdResponse")
@@ -133,10 +133,10 @@ final class ClientIdentifiersApiResourceSwagger {
private DeleteClientsClientIdIdentifiersIdentifierIdResponse() {} private DeleteClientsClientIdIdentifiersIdentifierIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "3") @Schema(example = "3")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -44,7 +44,7 @@ final class ClientTransactionsApiResourceSwagger {
private GetClientsClientIdTransactionsType() {} private GetClientsClientIdTransactionsType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "clientTransactionType.payCharge") @Schema(example = "clientTransactionType.payCharge")
public String code; public String code;
@Schema(example = "PAY_CHARGE") @Schema(example = "PAY_CHARGE")
@@ -70,9 +70,9 @@ final class ClientTransactionsApiResourceSwagger {
} }
@Schema(example = "226") @Schema(example = "226")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
public GetClientsClientIdTransactionsType type; public GetClientsClientIdTransactionsType type;
@@ -98,9 +98,9 @@ final class ClientTransactionsApiResourceSwagger {
private GetClientsClientIdTransactionsTransactionIdResponse() {} private GetClientsClientIdTransactionsTransactionIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
public GetClientsClientIdTransactionsResponse.GetClientsPageItems.GetClientsClientIdTransactionsType type; public GetClientsClientIdTransactionsResponse.GetClientsPageItems.GetClientsClientIdTransactionsType type;
@@ -121,10 +121,10 @@ final class ClientTransactionsApiResourceSwagger {
private PostClientsClientIdTransactionsTransactionIdResponse() {} private PostClientsClientIdTransactionsTransactionIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "189") @Schema(example = "189")
public Integer clientId; public Long clientId;
@Schema(example = "222") @Schema(example = "222")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -41,7 +41,7 @@ final class ClientsApiResourceSwagger {
private GetClientsOfficeOptions() {} private GetClientsOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String name; public String name;
@Schema(example = "Head Office") @Schema(example = "Head Office")
@@ -53,7 +53,7 @@ final class ClientsApiResourceSwagger {
private GetClientsStaffOptions() {} private GetClientsStaffOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "xyz") @Schema(example = "xyz")
public String firstname; public String firstname;
@Schema(example = "sjs") @Schema(example = "sjs")
@@ -61,7 +61,7 @@ final class ClientsApiResourceSwagger {
@Schema(example = "sjs, xyz") @Schema(example = "sjs, xyz")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = "true") @Schema(example = "true")
@@ -75,7 +75,7 @@ final class ClientsApiResourceSwagger {
private GetClientsSavingProductOptions() {} private GetClientsSavingProductOptions() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "account overdraft") @Schema(example = "account overdraft")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -118,7 +118,7 @@ final class ClientsApiResourceSwagger {
@Schema(example = "[2014, 3, 4]") @Schema(example = "[2014, 3, 4]")
public LocalDate activationDate; public LocalDate activationDate;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
public Set<GetClientsOfficeOptions> officeOptions; public Set<GetClientsOfficeOptions> officeOptions;
public Set<GetClientsStaffOptions> staffOptions; public Set<GetClientsStaffOptions> staffOptions;
public Set<GetClientsSavingProductOptions> savingProductOptions; public Set<GetClientsSavingProductOptions> savingProductOptions;
@@ -139,7 +139,7 @@ final class ClientsApiResourceSwagger {
private GetClientStatus() {} private GetClientStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "clientStatusType.pending") @Schema(example = "clientStatusType.pending")
public String code; public String code;
@Schema(example = "Pending") @Schema(example = "Pending")
@@ -158,7 +158,7 @@ final class ClientsApiResourceSwagger {
@Schema(example = "Home Farm Produce") @Schema(example = "Home Farm Produce")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = "test@test.com") @Schema(example = "test@test.com")
@@ -180,7 +180,7 @@ final class ClientsApiResourceSwagger {
private GetClientsClientIdStatus() {} private GetClientsClientIdStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "clientStatusType.active") @Schema(example = "clientStatusType.active")
public String code; public String code;
@Schema(example = "Active") @Schema(example = "Active")
@@ -225,7 +225,7 @@ final class ClientsApiResourceSwagger {
} }
@Schema(example = "27") @Schema(example = "27")
public Integer id; public Long id;
@Schema(example = "000000027") @Schema(example = "000000027")
public String accountNo; public String accountNo;
public GetClientsClientIdStatus status; public GetClientsClientIdStatus status;
@@ -240,12 +240,12 @@ final class ClientsApiResourceSwagger {
@Schema(example = "savings test") @Schema(example = "savings test")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
public GetClientsTimeline timeline; public GetClientsTimeline timeline;
@Schema(example = "4") @Schema(example = "4")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "account overdraft") @Schema(example = "account overdraft")
public String savingsProductName; public String savingsProductName;
@Schema(example = "[]") @Schema(example = "[]")
@@ -285,9 +285,9 @@ final class ClientsApiResourceSwagger {
@Schema(example = "Mumbai") @Schema(example = "Mumbai")
public String city; public String city;
@Schema(example = "800") @Schema(example = "800")
public Integer stateProvinceId; public Long stateProvinceId;
@Schema(example = "802") @Schema(example = "802")
public Integer countryId; public Long countryId;
@Schema(example = "400064") @Schema(example = "400064")
public Long postalCode; public Long postalCode;
@Schema(example = "1") @Schema(example = "1")
@@ -297,9 +297,9 @@ final class ClientsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer legalFormId; public Long legalFormId;
@Schema(example = "Client of group") @Schema(example = "Client of group")
public String fullname; public String fullname;
@Schema(example = "Client_FirstName") @Schema(example = "Client_FirstName")
@@ -313,7 +313,7 @@ final class ClientsApiResourceSwagger {
@Schema(example = "[2013, 1, 1]") @Schema(example = "[2013, 1, 1]")
public LocalDate dateOfBirth; public LocalDate dateOfBirth;
@Schema(example = "1") @Schema(example = "1")
public Integer groupId; public Long groupId;
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
public String dateFormat; public String dateFormat;
@Schema(example = "en") @Schema(example = "en")
@@ -338,13 +338,13 @@ final class ClientsApiResourceSwagger {
private PostClientsResponse() {} private PostClientsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer groupId; public Long groupId;
@Schema(example = "2") @Schema(example = "2")
public Long clientId; public Long clientId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
@Schema(example = "123-456") @Schema(example = "123-456")
public String resourceExternalId; public String resourceExternalId;
} }
@@ -366,11 +366,11 @@ final class ClientsApiResourceSwagger {
private PutClientsClientIdResponse() {} private PutClientsClientIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
@Schema(example = "123-456") @Schema(example = "123-456")
public String resourceExternalId; public String resourceExternalId;
public PutClientsClientIdRequest changes; public PutClientsClientIdRequest changes;
@@ -388,11 +388,11 @@ final class ClientsApiResourceSwagger {
private DeleteClientsClientIdResponse() {} private DeleteClientsClientIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "3") @Schema(example = "3")
public Integer clientId; public Long clientId;
@Schema(example = "3") @Schema(example = "3")
public Integer resourceId; public Long resourceId;
@Schema(example = "123-456") @Schema(example = "123-456")
public String resourceExternalId; public String resourceExternalId;
} }
@@ -416,11 +416,11 @@ final class ClientsApiResourceSwagger {
private PostClientsClientIdResponse() {} private PostClientsClientIdResponse() {}
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "2") @Schema(example = "2")
public Integer clientId; public Long clientId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
@Schema(example = "123-456") @Schema(example = "123-456")
public String resourceExternalId; public String resourceExternalId;
} }
@@ -475,7 +475,7 @@ final class ClientsApiResourceSwagger {
private GetClientsLoanAccountsStatus() {} private GetClientsLoanAccountsStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "loanStatusType.active") @Schema(example = "loanStatusType.active")
public String code; public String code;
@Schema(example = "Active") @Schema(example = "Active")
@@ -503,7 +503,7 @@ final class ClientsApiResourceSwagger {
private GetClientsLoanAccountsType() {} private GetClientsLoanAccountsType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "loanType.individual") @Schema(example = "loanType.individual")
public String code; public String code;
@Schema(example = "Individual") @Schema(example = "Individual")
@@ -511,13 +511,13 @@ final class ClientsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public String accountNo; public String accountNo;
@Schema(example = "456") @Schema(example = "456")
public Integer externalId; public String externalId;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "TestOne") @Schema(example = "TestOne")
public String productName; public String productName;
public GetClientsLoanAccountsStatus status; public GetClientsLoanAccountsStatus status;
@@ -553,7 +553,7 @@ final class ClientsApiResourceSwagger {
private GetClientsSavingsAccountsStatus() {} private GetClientsSavingsAccountsStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "savingsAccountStatusType.submitted.and.pending.approval") @Schema(example = "savingsAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -585,7 +585,7 @@ final class ClientsApiResourceSwagger {
private GetClientsSavingsAccountsDepositType() {} private GetClientsSavingsAccountsDepositType() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "depositAccountType.savingsDeposit") @Schema(example = "depositAccountType.savingsDeposit")
public String code; public String code;
@Schema(example = "Savings") @Schema(example = "Savings")
@@ -593,11 +593,11 @@ final class ClientsApiResourceSwagger {
} }
@Schema(example = "7") @Schema(example = "7")
public Integer id; public Long id;
@Schema(example = "000000007") @Schema(example = "000000007")
public String accountNo; public String accountNo;
@Schema(example = "2") @Schema(example = "2")
public Integer productId; public Long productId;
@Schema(example = "Other product") @Schema(example = "Other product")
public String productName; public String productName;
@Schema(example = "OP") @Schema(example = "OP")
@@ -38,7 +38,7 @@ final class CollateralsApiResourceSwagger {
private GetCollateralTypeResponse() {} private GetCollateralTypeResponse() {}
@Schema(example = "8") @Schema(example = "8")
public Integer id; public Long id;
@Schema(example = "Gold") @Schema(example = "Gold")
public String name; public String name;
} }
@@ -62,7 +62,7 @@ final class CollateralsApiResourceSwagger {
} }
@Schema(example = "12") @Schema(example = "12")
public Integer id; public Long id;
public GetCollateralTypeResponse type; public GetCollateralTypeResponse type;
@Schema(example = "50000") @Schema(example = "50000")
public Long value; public Long value;
@@ -77,7 +77,7 @@ final class CollateralsApiResourceSwagger {
private PostLoansLoanIdCollateralsRequest() {} private PostLoansLoanIdCollateralsRequest() {}
@Schema(example = "9") @Schema(example = "9")
public Integer collateralTypeId; public Long collateralTypeId;
} }
@Schema(description = "PostLoansLoanIdCollateralsResponse") @Schema(description = "PostLoansLoanIdCollateralsResponse")
@@ -86,7 +86,7 @@ final class CollateralsApiResourceSwagger {
private PostLoansLoanIdCollateralsResponse() {} private PostLoansLoanIdCollateralsResponse() {}
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutLoansLoandIdCollateralsCollateralIdRequest") @Schema(description = "PutLoansLoandIdCollateralsCollateralIdRequest")
@@ -104,9 +104,9 @@ final class CollateralsApiResourceSwagger {
private PutLoansLoanIdCollateralsCollateralIdResponse() {} private PutLoansLoanIdCollateralsCollateralIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer loanId; public Long loanId;
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
public PutLoansLoandIdCollateralsCollateralIdRequest changes; public PutLoansLoandIdCollateralsCollateralIdRequest changes;
} }
@@ -120,7 +120,7 @@ final class CollateralsApiResourceSwagger {
private GetCollateralsTemplateAllowedTypes() {} private GetCollateralsTemplateAllowedTypes() {}
@Schema(example = "9") @Schema(example = "9")
public Integer id; public Long id;
@Schema(example = "Silver") @Schema(example = "Silver")
public String name; public String name;
@Schema(example = "0") @Schema(example = "0")
@@ -136,8 +136,8 @@ final class CollateralsApiResourceSwagger {
private DeleteLoansLoanIdCollateralsCollateralIdResponse() {} private DeleteLoansLoanIdCollateralsCollateralIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer loanId; public Long loanId;
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -112,9 +112,9 @@ final class ClientCollateralManagementApiResourceSwagger {
private PostClientCollateralResponse() {} private PostClientCollateralResponse() {}
@Schema(example = "14") @Schema(example = "14")
public Integer resourceId; public Long resourceId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
} }
@@ -136,9 +136,9 @@ final class ClientCollateralManagementApiResourceSwagger {
private PutClientCollateralResponse() {} private PutClientCollateralResponse() {}
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
public PutClientCollateralRequest changes; public PutClientCollateralRequest changes;
} }
@@ -148,7 +148,7 @@ final class ClientCollateralManagementApiResourceSwagger {
private DeleteClientCollateralResponse() {} private DeleteClientCollateralResponse() {}
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
} }
@@ -115,7 +115,7 @@ final class CollateralManagementApiResourceSwagger {
private PostCollateralManagementProductResponse() {} private PostCollateralManagementProductResponse() {}
@Schema(example = "14") @Schema(example = "14")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutCollateralProductRequest") @Schema(description = "PutCollateralProductRequest")
@@ -144,7 +144,7 @@ final class CollateralManagementApiResourceSwagger {
private PutCollateralProductResponse() {} private PutCollateralProductResponse() {}
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
public CollateralManagementApiResourceSwagger.PutCollateralProductRequest changes; public CollateralManagementApiResourceSwagger.PutCollateralProductRequest changes;
} }
@@ -154,6 +154,6 @@ final class CollateralManagementApiResourceSwagger {
private DeleteCollateralProductResponse() {} private DeleteCollateralProductResponse() {}
@Schema(example = "12") @Schema(example = "12")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -39,11 +39,11 @@ final class CollectionSheetApiResourceSwagger {
private PostCollectionSheetBulkRepaymentTransactions() {} private PostCollectionSheetBulkRepaymentTransactions() {}
@Schema(example = "10") @Schema(example = "10")
public Integer loanId; public Long loanId;
@Schema(example = "1221.36") @Schema(example = "1221.36")
public Double transactionAmount; public Double transactionAmount;
@Schema(example = "19") @Schema(example = "19")
public Integer paymentTypeId; public Long paymentTypeId;
@Schema(example = "1245356") @Schema(example = "1245356")
public Long receiptNumber; public Long receiptNumber;
} }
@@ -81,9 +81,9 @@ final class CollectionSheetApiResourceSwagger {
} }
@Schema(example = "10") @Schema(example = "10")
public Integer groupId; public Long groupId;
@Schema(example = "10") @Schema(example = "10")
public Integer resourceId; public Long resourceId;
public PostCollectionSheetChanges changes; public PostCollectionSheetChanges changes;
} }
} }
@@ -31,13 +31,13 @@ public final class DelinquencyApiResourceSwagger {
private GetDelinquencyRangesResponse() {} private GetDelinquencyRangesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Delinquent 1") @Schema(example = "Delinquent 1")
public String classification; public String classification;
@Schema(example = "1") @Schema(example = "1")
public Long minimumAgeDays; public Integer minimumAgeDays;
@Schema(example = "3") @Schema(example = "3")
public Long maximumAgeDays; public Integer maximumAgeDays;
} }
@Schema(description = "GetDelinquencyBucketsResponse") @Schema(description = "GetDelinquencyBucketsResponse")
@@ -46,7 +46,7 @@ public final class DelinquencyApiResourceSwagger {
private GetDelinquencyBucketsResponse() {} private GetDelinquencyBucketsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Delinquent Bucket Set 1") @Schema(example = "Delinquent Bucket Set 1")
public String name; public String name;
@@ -140,7 +140,7 @@ public final class DelinquencyApiResourceSwagger {
private GetDelinquencyTagHistoryResponse() {} private GetDelinquencyTagHistoryResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "10") @Schema(example = "10")
public Long loanId; public Long loanId;
public GetDelinquencyRangesResponse delinquencyRange; public GetDelinquencyRangesResponse delinquencyRange;
@@ -62,7 +62,7 @@ final class FloatingRatesApiResourceSwagger {
private PostFloatingRatesResponse() {} private PostFloatingRatesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetFloatingRatesResponse") @Schema(description = "GetFloatingRatesResponse")
@@ -71,7 +71,7 @@ final class FloatingRatesApiResourceSwagger {
private GetFloatingRatesResponse() {} private GetFloatingRatesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Floating Rate 1") @Schema(example = "Floating Rate 1")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -98,7 +98,7 @@ final class FloatingRatesApiResourceSwagger {
private GetFloatingRatesRatePeriods() {} private GetFloatingRatesRatePeriods() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Dec 15, 2015") @Schema(example = "Dec 15, 2015")
public String fromDate; public String fromDate;
@Schema(example = "11") @Schema(example = "11")
@@ -118,7 +118,7 @@ final class FloatingRatesApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Floating Rate 1") @Schema(example = "Floating Rate 1")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -163,7 +163,7 @@ final class FloatingRatesApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutFloatingRatesChanges changes; public PutFloatingRatesChanges changes;
} }
} }
@@ -33,7 +33,7 @@ final class FundsApiResourceSwagger {
private GetFundsResponse() {} private GetFundsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "EU Agri Fund") @Schema(example = "EU Agri Fund")
public String name; public String name;
} }
@@ -53,7 +53,7 @@ final class FundsApiResourceSwagger {
private PostFundsResponse() {} private PostFundsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutFundsFundIdRequest") @Schema(description = "PutFundsFundIdRequest")
@@ -71,7 +71,7 @@ final class FundsApiResourceSwagger {
private PutFundsFundIdResponse() {} private PutFundsFundIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutFundsFundIdRequest changes; public PutFundsFundIdRequest changes;
} }
} }
@@ -39,7 +39,7 @@ final class CentersApiResourceSwagger {
private GetCentersOfficeOptions() {} private GetCentersOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String name; public String name;
@Schema(example = "Head Office") @Schema(example = "Head Office")
@@ -51,7 +51,7 @@ final class CentersApiResourceSwagger {
private GetCentersStaffOptions() {} private GetCentersStaffOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "D, Mary") @Schema(example = "D, Mary")
public String displayName; public String displayName;
} }
@@ -61,7 +61,7 @@ final class CentersApiResourceSwagger {
@Schema(example = "[2013, 4, 18]") @Schema(example = "[2013, 4, 18]")
public LocalDate activationDate; public LocalDate activationDate;
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
public Set<GetCentersOfficeOptions> officeOptions; public Set<GetCentersOfficeOptions> officeOptions;
public Set<GetCentersStaffOptions> staffOptions; public Set<GetCentersStaffOptions> staffOptions;
} }
@@ -80,7 +80,7 @@ final class CentersApiResourceSwagger {
private GetCentersStatus() {} private GetCentersStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "groupingStatusType.pending") @Schema(example = "groupingStatusType.pending")
public String code; public String code;
@Schema(example = "Pending") @Schema(example = "Pending")
@@ -88,14 +88,14 @@ final class CentersApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
public GetCentersStatus status; public GetCentersStatus status;
@Schema(example = "false") @Schema(example = "false")
public Boolean active; public Boolean active;
@Schema(example = "Center 1") @Schema(example = "Center 1")
public String name; public String name;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = ".2.") @Schema(example = ".2.")
@@ -113,14 +113,14 @@ final class CentersApiResourceSwagger {
private GetCentersCenterIdResponse() {} private GetCentersCenterIdResponse() {}
@Schema(example = "8") @Schema(example = "8")
public Integer id; public Long id;
public GetCentersResponse.GetCentersPageItems.GetCentersStatus status; public GetCentersResponse.GetCentersPageItems.GetCentersStatus status;
@Schema(example = "false") @Schema(example = "false")
public Boolean active; public Boolean active;
@Schema(example = "First Center (No groups)") @Schema(example = "First Center (No groups)")
public String name; public String name;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = ".8.") @Schema(example = ".8.")
@@ -135,7 +135,7 @@ final class CentersApiResourceSwagger {
@Schema(example = "First Center (No groups)") @Schema(example = "First Center (No groups)")
public String name; public String name;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "false") @Schema(example = "false")
public Boolean active; public Boolean active;
} }
@@ -146,11 +146,11 @@ final class CentersApiResourceSwagger {
private PostCentersResponse() {} private PostCentersResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "8") @Schema(example = "8")
public Integer groupId; public Long groupId;
@Schema(example = "8") @Schema(example = "8")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutCentersCenterIdRequest") @Schema(description = "PutCentersCenterIdRequest")
@@ -176,11 +176,11 @@ final class CentersApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "8") @Schema(example = "8")
public Integer groupId; public Long groupId;
@Schema(example = "8") @Schema(example = "8")
public Integer resourceId; public Long resourceId;
public PutCentersChanges changes; public PutCentersChanges changes;
} }
@@ -195,7 +195,7 @@ final class CentersApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public DeleteCentersChanges changes; public DeleteCentersChanges changes;
} }
@@ -205,7 +205,7 @@ final class CentersApiResourceSwagger {
private PostCentersCenterIdRequest() {} private PostCentersCenterIdRequest() {}
@Schema(example = "32") @Schema(example = "32")
public Integer closureReasonId; public Long closureReasonId;
@Schema(example = "05 May 2014") @Schema(example = "05 May 2014")
public String closureDate; public String closureDate;
@Schema(example = "en") @Schema(example = "en")
@@ -220,7 +220,7 @@ final class CentersApiResourceSwagger {
private PostCentersCenterIdResponse() {} private PostCentersCenterIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetCentersCenterIdAccountsResponse") @Schema(description = "GetCentersCenterIdAccountsResponse")
@@ -237,7 +237,7 @@ final class CentersApiResourceSwagger {
private GetCentersCenterIdStatus() {} private GetCentersCenterIdStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "savingsAccountStatusType.submitted.and.pending.approval") @Schema(example = "savingsAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -287,7 +287,7 @@ final class CentersApiResourceSwagger {
private GetCentersAccountType() {} private GetCentersAccountType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.group") @Schema(example = "accountType.group")
public String code; public String code;
@Schema(example = "Group") @Schema(example = "Group")
@@ -313,7 +313,7 @@ final class CentersApiResourceSwagger {
private GetCentersDepositType() {} private GetCentersDepositType() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "depositAccountType.savingsDeposit") @Schema(example = "depositAccountType.savingsDeposit")
public String code; public String code;
@Schema(example = "Savings") @Schema(example = "Savings")
@@ -321,11 +321,11 @@ final class CentersApiResourceSwagger {
} }
@Schema(example = "16") @Schema(example = "16")
public Integer id; public Long id;
@Schema(example = "000000016") @Schema(example = "000000016")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "Voluntary savings") @Schema(example = "Voluntary savings")
public String productName; public String productName;
public GetCentersCenterIdStatus status; public GetCentersCenterIdStatus status;
@@ -39,7 +39,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsTemplateOfficeOptions() {} private GetGroupsTemplateOfficeOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String name; public String name;
@Schema(example = "Head Office") @Schema(example = "Head Office")
@@ -51,7 +51,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsTemplateStaffOptions() {} private GetGroupsTemplateStaffOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "C, Mike") @Schema(example = "C, Mike")
public String displayName; public String displayName;
} }
@@ -61,11 +61,11 @@ final class GroupsApiResourceSwagger {
private GetGroupsTemplateClientOptions() {} private GetGroupsTemplateClientOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Petra Yton") @Schema(example = "Petra Yton")
public String displayName; public String displayName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
} }
@@ -106,7 +106,7 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
public Set<GetGroupsTemplateOfficeOptions> officeOptions; public Set<GetGroupsTemplateOfficeOptions> officeOptions;
public Set<GetGroupsTemplateStaffOptions> staffOptions; public Set<GetGroupsTemplateStaffOptions> staffOptions;
public Set<GetGroupsTemplateClientOptions> clientOptions; public Set<GetGroupsTemplateClientOptions> clientOptions;
@@ -127,7 +127,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsStatus() {} private GetGroupsStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "clientStatusType.pending") @Schema(example = "clientStatusType.pending")
public String code; public String code;
@Schema(example = "Pending") @Schema(example = "Pending")
@@ -135,14 +135,14 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "AnotherGroup") @Schema(example = "AnotherGroup")
public String name; public String name;
public GetGroupsStatus status; public GetGroupsStatus status;
@Schema(example = "false") @Schema(example = "false")
public Boolean active; public Boolean active;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = ".4.") @Schema(example = ".4.")
@@ -174,13 +174,13 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "First Group") @Schema(example = "First Group")
public String name; public String name;
@Schema(example = "000-1A") @Schema(example = "000-1A")
public String externalId; public String externalId;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = ".1.") @Schema(example = ".1.")
@@ -194,7 +194,7 @@ final class GroupsApiResourceSwagger {
private PostGroupsRequest() {} private PostGroupsRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Pending Group") @Schema(example = "Pending Group")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -207,11 +207,11 @@ final class GroupsApiResourceSwagger {
private PostGroupsResponse() {} private PostGroupsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "2") @Schema(example = "2")
public Integer groupId; public Long groupId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteGroupsGroupIdResponse") @Schema(description = "DeleteGroupsGroupIdResponse")
@@ -220,11 +220,11 @@ final class GroupsApiResourceSwagger {
private DeleteGroupsGroupIdResponse() {} private DeleteGroupsGroupIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "2") @Schema(example = "2")
public Integer groupId; public Long groupId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PostGroupsGroupIdCommandUnassignStaffRequest") @Schema(description = "PostGroupsGroupIdCommandUnassignStaffRequest")
@@ -233,7 +233,7 @@ final class GroupsApiResourceSwagger {
private PostGroupsGroupIdCommandUnassignStaffRequest() {} private PostGroupsGroupIdCommandUnassignStaffRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer staffId; public Long staffId;
} }
@Schema(description = "PostGroupsGroupIdCommandUnassignStaffResponse") @Schema(description = "PostGroupsGroupIdCommandUnassignStaffResponse")
@@ -247,11 +247,11 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer groupId; public Long groupId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PostGroupsGroupIdCommandUnassignStaffChanges changes; public PostGroupsGroupIdCommandUnassignStaffChanges changes;
} }
@@ -278,11 +278,11 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer groupId; public Long groupId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutGroupsGroupIdChanges changes; public PutGroupsGroupIdChanges changes;
} }
@@ -300,7 +300,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsStatus() {} private GetGroupsGroupIdAccountsStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "loanStatusType.submitted.and.pending.approval") @Schema(example = "loanStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -328,7 +328,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsLoanType() {} private GetGroupsGroupIdAccountsLoanType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.group") @Schema(example = "accountType.group")
public String code; public String code;
@Schema(example = "Group") @Schema(example = "Group")
@@ -336,11 +336,11 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "000000003") @Schema(example = "000000003")
public Long accountNo; public Long accountNo;
@Schema(example = "3") @Schema(example = "3")
public Integer productId; public Long productId;
@Schema(example = "daily product") @Schema(example = "daily product")
public String productName; public String productName;
public GetGroupsGroupIdAccountsStatus status; public GetGroupsGroupIdAccountsStatus status;
@@ -356,7 +356,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsSavingStatus() {} private GetGroupsGroupIdAccountsSavingStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "savingsAccountStatusType.submitted.and.pending.approval") @Schema(example = "savingsAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -398,7 +398,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsSavingAccountType() {} private GetGroupsGroupIdAccountsSavingAccountType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.group") @Schema(example = "accountType.group")
public String code; public String code;
@Schema(example = "Group") @Schema(example = "Group")
@@ -406,11 +406,11 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "9") @Schema(example = "9")
public Integer id; public Long id;
@Schema(example = "000000009") @Schema(example = "000000009")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "p_sav") @Schema(example = "p_sav")
public String productName; public String productName;
public GetGroupsGroupIdAccountsSavingStatus status; public GetGroupsGroupIdAccountsSavingStatus status;
@@ -427,7 +427,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsMemberLoanStatus() {} private GetGroupsGroupIdAccountsMemberLoanStatus() {}
@Schema(example = "200") @Schema(example = "200")
public Integer id; public Long id;
@Schema(example = "loanStatusType.approved") @Schema(example = "loanStatusType.approved")
public String code; public String code;
@Schema(example = "Approved") @Schema(example = "Approved")
@@ -455,7 +455,7 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsMemberLoanType() {} private GetGroupsGroupIdAccountsMemberLoanType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "accountType.jlg") @Schema(example = "accountType.jlg")
public String code; public String code;
@Schema(example = "JLG") @Schema(example = "JLG")
@@ -463,11 +463,11 @@ final class GroupsApiResourceSwagger {
} }
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "000000004") @Schema(example = "000000004")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "testLoan") @Schema(example = "testLoan")
public String productName; public String productName;
public GetGroupsGroupIdAccountsMemberLoanStatus status; public GetGroupsGroupIdAccountsMemberLoanStatus status;
@@ -479,11 +479,11 @@ final class GroupsApiResourceSwagger {
private GetGroupsGroupIdAccountsMemberSavingsAccounts() {} private GetGroupsGroupIdAccountsMemberSavingsAccounts() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "000000003") @Schema(example = "000000003")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "p_sav") @Schema(example = "p_sav")
public String productName; public String productName;
public GetGroupsGroupIdAccountsSavingAccounts.GetGroupsGroupIdAccountsSavingStatus status; public GetGroupsGroupIdAccountsSavingAccounts.GetGroupsGroupIdAccountsSavingStatus status;
@@ -507,11 +507,11 @@ final class GroupsApiResourceSwagger {
private PostGroupsGroupIdClients() {} private PostGroupsGroupIdClients() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
} }
@Schema(example = "2") @Schema(example = "2")
public Integer destinationGroupId; public Long destinationGroupId;
public Set<PostGroupsGroupIdClients> clients; public Set<PostGroupsGroupIdClients> clients;
} }
@@ -521,6 +521,6 @@ final class GroupsApiResourceSwagger {
private PostGroupsGroupIdResponse() {} private PostGroupsGroupIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -19,6 +19,7 @@
package org.apache.fineract.portfolio.interestratechart.api; package org.apache.fineract.portfolio.interestratechart.api;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.Set; import java.util.Set;
/** /**
@@ -42,7 +43,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private GetInterestRateChartsChartIdChartSlabsEntityType() {} private GetInterestRateChartsChartIdChartSlabsEntityType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "InterestIncentiveEntityType.customer") @Schema(example = "InterestIncentiveEntityType.customer")
public Integer code; public Integer code;
@Schema(example = "Customer") @Schema(example = "Customer")
@@ -54,7 +55,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private GetInterestRateChartsChartIdChartSlabsAttributeName() {} private GetInterestRateChartsChartIdChartSlabsAttributeName() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "InterestIncentiveAttributeName.gender") @Schema(example = "InterestIncentiveAttributeName.gender")
public Integer code; public Integer code;
@Schema(example = "Gender") @Schema(example = "Gender")
@@ -66,7 +67,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private GetInterestRateChartsChartIdChartSlabsConditionType() {} private GetInterestRateChartsChartIdChartSlabsConditionType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "incentiveConditionType.equal") @Schema(example = "incentiveConditionType.equal")
public Integer code; public Integer code;
@Schema(example = "equal") @Schema(example = "equal")
@@ -78,7 +79,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private GetInterestRateChartsChartIdChartSlabsIncentiveType() {} private GetInterestRateChartsChartIdChartSlabsIncentiveType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "InterestIncentiveType.incentive") @Schema(example = "InterestIncentiveType.incentive")
public Integer code; public Integer code;
@Schema(example = "Incentive") @Schema(example = "Incentive")
@@ -86,7 +87,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
public GetInterestRateChartsChartIdChartSlabsEntityType entityType; public GetInterestRateChartsChartIdChartSlabsEntityType entityType;
public GetInterestRateChartsChartIdChartSlabsAttributeName attributeName; public GetInterestRateChartsChartIdChartSlabsAttributeName attributeName;
public GetInterestRateChartsChartIdChartSlabsConditionType conditionType; public GetInterestRateChartsChartIdChartSlabsConditionType conditionType;
@@ -100,7 +101,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "5% interest from 1 day till 180 days of deposit") @Schema(example = "5% interest from 1 day till 180 days of deposit")
public String description; public String description;
public InterestRateChartsApiResourceSwagger.GetInterestRateChartsTemplateResponse.GetInterestRateChartsTemplatePeriodTypes periodTypes; public InterestRateChartsApiResourceSwagger.GetInterestRateChartsTemplateResponse.GetInterestRateChartsTemplatePeriodTypes periodTypes;
@@ -130,11 +131,11 @@ final class InterestRateChartSlabsApiResourceSwagger {
@Schema(example = "2") @Schema(example = "2")
public Integer conditionType; public Integer conditionType;
@Schema(example = "11") @Schema(example = "11")
public Integer attributeValue; public String attributeValue;
@Schema(example = "2") @Schema(example = "2")
public Integer incentiveType; public Integer incentiveType;
@Schema(example = "-1") @Schema(example = "-1")
public Float amount; public BigDecimal amount;
} }
@Schema(example = "0") @Schema(example = "0")
@@ -158,7 +159,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private PostInterestRateChartsChartIdChartSlabsResponse() {} private PostInterestRateChartsChartIdChartSlabsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutInterestRateChartsChartIdChartSlabsChartSlabIdRequest") @Schema(description = "PutInterestRateChartsChartIdChartSlabsChartSlabIdRequest")
@@ -178,7 +179,7 @@ final class InterestRateChartSlabsApiResourceSwagger {
private PutInterestRateChartsChartIdChartSlabsChartSlabIdResponse() {} private PutInterestRateChartsChartIdChartSlabsChartSlabIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutInterestRateChartsChartIdChartSlabsChartSlabIdRequest changes; public PutInterestRateChartsChartIdChartSlabsChartSlabIdRequest changes;
} }
@@ -188,6 +189,6 @@ final class InterestRateChartSlabsApiResourceSwagger {
private DeleteInterestRateChartsChartIdChartSlabsResponse() {} private DeleteInterestRateChartsChartIdChartSlabsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -59,7 +59,7 @@ final class InterestRateChartsApiResourceSwagger {
private GetInterestRateChartsChartSlabs() {} private GetInterestRateChartsChartSlabs() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
public GetInterestRateChartsTemplateResponse.GetInterestRateChartsTemplatePeriodTypes periodTypes; public GetInterestRateChartsTemplateResponse.GetInterestRateChartsTemplatePeriodTypes periodTypes;
@Schema(example = "1") @Schema(example = "1")
public Integer fromPeriod; public Integer fromPeriod;
@@ -87,11 +87,11 @@ final class InterestRateChartsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "[2014, 1, 1]") @Schema(example = "[2014, 1, 1]")
public LocalDate fromDate; public LocalDate fromDate;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "Fixed Deposit Product 001") @Schema(example = "Fixed Deposit Product 001")
public String savingsProductName; public String savingsProductName;
public Set<GetInterestRateChartsChartSlabs> chartSlabs; public Set<GetInterestRateChartsChartSlabs> chartSlabs;
@@ -122,7 +122,7 @@ final class InterestRateChartsApiResourceSwagger {
private PostInterestRateChartsResponse() {} private PostInterestRateChartsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutInterestRateChartsChartIdRequest") @Schema(description = "PutInterestRateChartsChartIdRequest")
@@ -142,7 +142,7 @@ final class InterestRateChartsApiResourceSwagger {
private PutInterestRateChartsChartIdResponse() {} private PutInterestRateChartsChartIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteInterestRateChartsChartIdResponse") @Schema(description = "DeleteInterestRateChartsChartIdResponse")
@@ -151,6 +151,6 @@ final class InterestRateChartsApiResourceSwagger {
private DeleteInterestRateChartsChartIdResponse() {} private DeleteInterestRateChartsChartIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -48,7 +48,7 @@ final class LoanScheduleApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer loanId; public Long loanId;
public PostLoanChanges changes; public PostLoanChanges changes;
} }
} }
@@ -276,7 +276,7 @@ final class LoanTransactionsApiResourceSwagger {
@Schema(example = "ban123") @Schema(example = "ban123")
public String bankNumber; public String bankNumber;
@Schema(example = "3") @Schema(example = "3")
public Integer loanChargeId; public Long loanChargeId;
@Schema(example = "28 June 2022") @Schema(example = "28 June 2022")
public String dueDate; public String dueDate;
@Schema(example = "1") @Schema(example = "1")
@@ -63,7 +63,7 @@ final class LoansApiResourceSwagger {
private GetLoansTemplateProductOptions() {} private GetLoansTemplateProductOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Kampala Product (with cash accounting)") @Schema(example = "Kampala Product (with cash accounting)")
public String name; public String name;
} }
@@ -73,7 +73,7 @@ final class LoansApiResourceSwagger {
@Schema(example = "Kampala first Client") @Schema(example = "Kampala first Client")
public String clientName; public String clientName;
@Schema(example = "2") @Schema(example = "2")
public Integer clientOfficeId; public Long clientOfficeId;
public GetLoansTemplateTimeline timeline; public GetLoansTemplateTimeline timeline;
public Set<GetLoansTemplateProductOptions> productOptions; public Set<GetLoansTemplateProductOptions> productOptions;
} }
@@ -88,7 +88,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdStatus() {} private GetLoansLoanIdStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "loanStatusType.active") @Schema(example = "loanStatusType.active")
public String code; public String code;
@Schema(example = "Active") @Schema(example = "Active")
@@ -116,7 +116,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdLoanType() {} private GetLoansLoanIdLoanType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "loanType.individual") @Schema(example = "loanType.individual")
public String code; public String code;
@Schema(example = "Individual") @Schema(example = "Individual")
@@ -146,7 +146,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdTermPeriodFrequencyType() {} private GetLoansLoanIdTermPeriodFrequencyType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "termFrequency.periodFrequencyType.months") @Schema(example = "termFrequency.periodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -158,7 +158,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdRepaymentFrequencyType() {} private GetLoansLoanIdRepaymentFrequencyType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "repaymentFrequency.periodFrequencyType.months") @Schema(example = "repaymentFrequency.periodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -170,7 +170,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdInterestRateFrequencyType() {} private GetLoansLoanIdInterestRateFrequencyType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "interestRateFrequency.periodFrequencyType.years") @Schema(example = "interestRateFrequency.periodFrequencyType.years")
public String code; public String code;
@Schema(example = "Per year") @Schema(example = "Per year")
@@ -182,7 +182,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdAmortizationType() {} private GetLoansLoanIdAmortizationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "amortizationType.equal.installments") @Schema(example = "amortizationType.equal.installments")
public String code; public String code;
@Schema(example = "Equal installments") @Schema(example = "Equal installments")
@@ -194,7 +194,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdInterestType() {} private GetLoansLoanIdInterestType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "interestType.flat") @Schema(example = "interestType.flat")
public String code; public String code;
@Schema(example = "Flat") @Schema(example = "Flat")
@@ -206,7 +206,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdInterestCalculationPeriodType() {} private GetLoansLoanIdInterestCalculationPeriodType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "interestCalculationPeriodType.same.as.repayment.period") @Schema(example = "interestCalculationPeriodType.same.as.repayment.period")
public String code; public String code;
@Schema(example = "Same as repayment period") @Schema(example = "Same as repayment period")
@@ -384,7 +384,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdDisbursementDetails() {} private GetLoansLoanIdDisbursementDetails() {}
@Schema(example = "71") @Schema(example = "71")
public Integer id; public Long id;
@Schema(example = "[2022, 07, 01]") @Schema(example = "[2022, 07, 01]")
public LocalDate expectedDisbursementDate; public LocalDate expectedDisbursementDate;
@Schema(example = "[2022, 07, 01]") @Schema(example = "[2022, 07, 01]")
@@ -421,7 +421,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdLinkedAccount() {} private GetLoansLoanIdLinkedAccount() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public String accountNo; public String accountNo;
} }
@@ -435,7 +435,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdChargeTimeType() {} private GetLoansLoanIdChargeTimeType() {}
@Schema(example = "9") @Schema(example = "9")
public Integer id; public Long id;
@Schema(example = "chargeTimeType.overdueInstallment") @Schema(example = "chargeTimeType.overdueInstallment")
public String code; public String code;
@Schema(example = "overdue fees") @Schema(example = "overdue fees")
@@ -447,7 +447,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdChargeCalculationType() {} private GetLoansLoanIdChargeCalculationType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "chargeCalculationType.percent.of.amount") @Schema(example = "chargeCalculationType.percent.of.amount")
public String code; public String code;
@Schema(example = "% Amount") @Schema(example = "% Amount")
@@ -459,7 +459,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdChargePaymentMode() {} private GetLoansLoanIdChargePaymentMode() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "chargepaymentmode.regular") @Schema(example = "chargepaymentmode.regular")
public String code; public String code;
@Schema(example = "Regular") @Schema(example = "Regular")
@@ -471,7 +471,7 @@ final class LoansApiResourceSwagger {
private GetLoansLoanIdFeeFrequency() {} private GetLoansLoanIdFeeFrequency() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "feeFrequencyperiodFrequencyType.weeks") @Schema(example = "feeFrequencyperiodFrequencyType.weeks")
public String code; public String code;
@Schema(example = "Weeks") @Schema(example = "Weeks")
@@ -479,7 +479,7 @@ final class LoansApiResourceSwagger {
} }
@Schema(example = "20") @Schema(example = "20")
public Integer id; public Long id;
@Schema(example = "overdraft penality") @Schema(example = "overdraft penality")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -842,7 +842,7 @@ final class LoansApiResourceSwagger {
@Schema(example = "[2022, 07, 01]") @Schema(example = "[2022, 07, 01]")
public LocalDate transactionDate; public LocalDate transactionDate;
@Schema(example = "101") @Schema(example = "101")
public Long paymentTypeId; public Integer paymentTypeId;
@Schema(example = "acct123") @Schema(example = "acct123")
public String accountNumber; public String accountNumber;
@Schema(example = "10001") @Schema(example = "10001")
@@ -1000,25 +1000,25 @@ final class LoansApiResourceSwagger {
@Schema(example = "false") @Schema(example = "false")
public boolean disallowExpectedDisbursements; public boolean disallowExpectedDisbursements;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "5e77989e-aa11-11bc-b109-0242ac120004") @Schema(example = "5e77989e-aa11-11bc-b109-0242ac120004")
public String clientExternalId; public String clientExternalId;
@Schema(example = "Kampala first Client") @Schema(example = "Kampala first Client")
public String clientName; public String clientName;
@Schema(example = "2") @Schema(example = "2")
public Integer clientOfficeId; public Long clientOfficeId;
@Schema(example = "1") @Schema(example = "1")
public Integer loanProductId; public Long loanProductId;
@Schema(example = "Kampala Product (with cash accounting)") @Schema(example = "Kampala Product (with cash accounting)")
public String loanProductName; public String loanProductName;
@Schema(example = "Typical Kampala loan product with cash accounting enabled for testing.") @Schema(example = "Typical Kampala loan product with cash accounting enabled for testing.")
public String loanProductDescription; public String loanProductDescription;
@Schema(example = "22") @Schema(example = "22")
public Integer loanPurposeId; public Long loanPurposeId;
@Schema(example = "option.HousingImprovement") @Schema(example = "option.HousingImprovement")
public String loanPurposeName; public String loanPurposeName;
@Schema(example = "2") @Schema(example = "2")
public Integer loanOfficerId; public Long loanOfficerId;
@Schema(example = "LoanOfficer, Kampala") @Schema(example = "LoanOfficer, Kampala")
public String loanOfficerName; public String loanOfficerName;
public GetLoansLoanIdLoanType loanType; public GetLoansLoanIdLoanType loanType;
@@ -1231,9 +1231,9 @@ final class LoansApiResourceSwagger {
public Long totalOutstanding; public Long totalOutstanding;
public Set<PostLoansRepaymentSchedulePeriods> periods; public Set<PostLoansRepaymentSchedulePeriods> periods;
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Long loanId; public Long loanId;
@Schema(example = "1") @Schema(example = "1")
@@ -1386,9 +1386,9 @@ final class LoansApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Long loanId; public Long loanId;
@Schema(example = "1") @Schema(example = "1")
@@ -1404,9 +1404,9 @@ final class LoansApiResourceSwagger {
private DeleteLoansLoanIdResponse() {} private DeleteLoansLoanIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Long loanId; public Long loanId;
@Schema(example = "1") @Schema(example = "1")
@@ -1477,7 +1477,7 @@ final class LoansApiResourceSwagger {
private PostLoansLoanIdStatus() {} private PostLoansLoanIdStatus() {}
@Schema(example = "300") @Schema(example = "300")
public Integer id; public Long id;
@Schema(example = "loanStatusType.approved") @Schema(example = "loanStatusType.approved")
public String code; public String code;
@Schema(example = "Approved") @Schema(example = "Approved")
@@ -40,7 +40,7 @@ final class RescheduleLoansApiResourceSwagger {
private GetRescheduleReasonsAllowedTypes() {} private GetRescheduleReasonsAllowedTypes() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "reason") @Schema(example = "reason")
public String name; public String name;
@Schema(example = "0") @Schema(example = "0")
@@ -66,7 +66,7 @@ final class RescheduleLoansApiResourceSwagger {
private GetLoanRescheduleRequestStatus() {} private GetLoanRescheduleRequestStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "loanStatusType.submitted.and.pending.approval") @Schema(example = "loanStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -84,7 +84,7 @@ final class RescheduleLoansApiResourceSwagger {
private RescheduleReasonsCodeValue() {} private RescheduleReasonsCodeValue() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "reason") @Schema(example = "reason")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -120,7 +120,7 @@ final class RescheduleLoansApiResourceSwagger {
private LoanTermTypeOptions() {} private LoanTermTypeOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "loanTermType.dueDate") @Schema(example = "loanTermType.dueDate")
public String code; public String code;
@Schema(example = "dueDate") @Schema(example = "dueDate")
@@ -132,7 +132,7 @@ final class RescheduleLoansApiResourceSwagger {
private LoanTermVariationsData() {} private LoanTermVariationsData() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
public LoanTermTypeOptions termType; public LoanTermTypeOptions termType;
@Schema(example = "[2022, 5, 1]") @Schema(example = "[2022, 5, 1]")
public LocalDate termVariationApplicableFrom; public LocalDate termVariationApplicableFrom;
@@ -148,11 +148,11 @@ final class RescheduleLoansApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "18") @Schema(example = "18")
public Integer loanId; public Long loanId;
@Schema(example = "15") @Schema(example = "15")
public Integer clientId; public Long clientId;
@Schema(example = "clientName") @Schema(example = "clientName")
public String clientName; public String clientName;
@Schema(example = "000000018") @Schema(example = "000000018")
@@ -102,7 +102,7 @@ final class LoanProductsApiResourceSwagger {
@Schema(example = "false") @Schema(example = "false")
public Boolean useBorrowerCycle; public Boolean useBorrowerCycle;
@Schema(example = "2") @Schema(example = "2")
public Integer repaymentFrequencyType; public Long repaymentFrequencyType;
@Schema(example = "2") @Schema(example = "2")
public Integer interestRateFrequencyType; public Integer interestRateFrequencyType;
@Schema(example = "1") @Schema(example = "1")
@@ -1351,9 +1351,9 @@ final class LoanProductsApiResourceSwagger {
@Schema(example = "50") @Schema(example = "50")
public Integer overAppliedNumber; public Integer overAppliedNumber;
@Schema(example = "1") @Schema(example = "1")
public Integer daysInMonthType; public Long daysInMonthType;
@Schema(example = "1") @Schema(example = "1")
public Integer daysInYearType; public Long daysInYearType;
@Schema(example = "true") @Schema(example = "true")
public Boolean allowPartialPeriodInterestCalcualtion; public Boolean allowPartialPeriodInterestCalcualtion;
@Schema(example = "179") @Schema(example = "179")
@@ -38,7 +38,7 @@ public final class NotesApiResourceSwagger {
private GetNotesNoteType() {} private GetNotesNoteType() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "noteType.client") @Schema(example = "noteType.client")
public String code; public String code;
@Schema(example = "Client note") @Schema(example = "Client note")
@@ -46,20 +46,20 @@ public final class NotesApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
public GetNotesNoteType noteType; public GetNotesNoteType noteType;
@Schema(example = "First note edited") @Schema(example = "First note edited")
public String note; public String note;
@Schema(example = "1") @Schema(example = "1")
public Integer createdById; public Long createdById;
@Schema(example = "mifos") @Schema(example = "mifos")
public String createdByUsername; public String createdByUsername;
@Schema(example = "1342498505000") @Schema(example = "1342498505000")
public ZonedDateTime createdOn; public ZonedDateTime createdOn;
@Schema(example = "1") @Schema(example = "1")
public Integer updatedById; public Long updatedById;
@Schema(example = "mifos") @Schema(example = "mifos")
public String updatedByUsername; public String updatedByUsername;
@Schema(example = "1342498517000") @Schema(example = "1342498517000")
@@ -72,20 +72,20 @@ public final class NotesApiResourceSwagger {
private GetResourceTypeResourceIdNotesNoteIdResponse() {} private GetResourceTypeResourceIdNotesNoteIdResponse() {}
@Schema(example = "76") @Schema(example = "76")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
public GetResourceTypeResourceIdNotesResponse.GetNotesNoteType noteType; public GetResourceTypeResourceIdNotesResponse.GetNotesNoteType noteType;
@Schema(example = "a note about the client") @Schema(example = "a note about the client")
public String note; public String note;
@Schema(example = "1") @Schema(example = "1")
public Integer createdById; public Long createdById;
@Schema(example = "mifos") @Schema(example = "mifos")
public String createdByUsername; public String createdByUsername;
@Schema(example = "1359463135000") @Schema(example = "1359463135000")
public ZonedDateTime createdOn; public ZonedDateTime createdOn;
@Schema(example = "1") @Schema(example = "1")
public Integer updatedById; public Long updatedById;
@Schema(example = "mifos") @Schema(example = "mifos")
public String updatedByUsername; public String updatedByUsername;
@Schema(example = "1359463135000") @Schema(example = "1359463135000")
@@ -107,9 +107,9 @@ public final class NotesApiResourceSwagger {
private PostResourceTypeResourceIdNotesResponse() {} private PostResourceTypeResourceIdNotesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "76") @Schema(example = "76")
public Integer resourceId; public Integer resourceId;
} }
@@ -137,9 +137,9 @@ public final class NotesApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "76") @Schema(example = "76")
public Integer resourceId; public Integer resourceId;
public PutNotesChanges changes; public PutNotesChanges changes;
@@ -58,7 +58,7 @@ final class ProductsApiResourceSwagger {
private GetProductsMarketPrice() {} private GetProductsMarketPrice() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "Feb 1, 2016") @Schema(example = "Feb 1, 2016")
public String fromDate; public String fromDate;
@Schema(example = "1") @Schema(example = "1")
@@ -92,7 +92,7 @@ final class ProductsApiResourceSwagger {
private GetChargeTimeType() {} private GetChargeTimeType() {}
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
@Schema(example = "chargeTimeType.activation") @Schema(example = "chargeTimeType.activation")
public String code; public String code;
@Schema(example = "Share Account Activate") @Schema(example = "Share Account Activate")
@@ -104,7 +104,7 @@ final class ProductsApiResourceSwagger {
private GetChargeAppliesTo() {} private GetChargeAppliesTo() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "chargeAppliesTo.shares") @Schema(example = "chargeAppliesTo.shares")
public String code; public String code;
@Schema(example = "Shares") @Schema(example = "Shares")
@@ -116,7 +116,7 @@ final class ProductsApiResourceSwagger {
private GetChargeCalculationType() {} private GetChargeCalculationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "chargeCalculationType.flat") @Schema(example = "chargeCalculationType.flat")
public String code; public String code;
@Schema(example = "Flat") @Schema(example = "Flat")
@@ -128,7 +128,7 @@ final class ProductsApiResourceSwagger {
private GetChargePaymentMode() {} private GetChargePaymentMode() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "chargepaymentmode.regular") @Schema(example = "chargepaymentmode.regular")
public String code; public String code;
@Schema(example = "Regular") @Schema(example = "Regular")
@@ -136,7 +136,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "20") @Schema(example = "20")
public Integer id; public Long id;
@Schema(example = "Share Account Activation Flat") @Schema(example = "Share Account Activation Flat")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -157,7 +157,7 @@ final class ProductsApiResourceSwagger {
private GetLockPeriodTypeEnum() {} private GetLockPeriodTypeEnum() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "Days") @Schema(example = "Days")
public String description; public String description;
} }
@@ -167,7 +167,7 @@ final class ProductsApiResourceSwagger {
private GetProductsAccountingRule() {} private GetProductsAccountingRule() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountingRuleType.cash") @Schema(example = "accountingRuleType.cash")
public String code; public String code;
@Schema(example = "CASH BASED") @Schema(example = "CASH BASED")
@@ -183,7 +183,7 @@ final class ProductsApiResourceSwagger {
private GetShareReferenceId() {} private GetShareReferenceId() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "ASSET_ED1461237837829") @Schema(example = "ASSET_ED1461237837829")
@@ -195,7 +195,7 @@ final class ProductsApiResourceSwagger {
private GetIncomeFromFeeAccountId() {} private GetIncomeFromFeeAccountId() {}
@Schema(example = "14") @Schema(example = "14")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "INCOME_OY1461237869836") @Schema(example = "INCOME_OY1461237869836")
@@ -207,7 +207,7 @@ final class ProductsApiResourceSwagger {
private GetShareEquityId() {} private GetShareEquityId() {}
@Schema(example = "66") @Schema(example = "66")
public Integer id; public Long id;
@Schema(example = "Equity Account") @Schema(example = "Equity Account")
public String name; public String name;
@Schema(example = "EQUITY1") @Schema(example = "EQUITY1")
@@ -219,7 +219,7 @@ final class ProductsApiResourceSwagger {
private GetShareSuspenseId() {} private GetShareSuspenseId() {}
@Schema(example = "8") @Schema(example = "8")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "LIABILITY_MA1461237860198") @Schema(example = "LIABILITY_MA1461237860198")
@@ -237,7 +237,7 @@ final class ProductsApiResourceSwagger {
private GetProductsMinimumActivePeriodFrequencyTypeOptions() {} private GetProductsMinimumActivePeriodFrequencyTypeOptions() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "savings.lockin.sharePeriodFrequencyType.days") @Schema(example = "savings.lockin.sharePeriodFrequencyType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -257,7 +257,7 @@ final class ProductsApiResourceSwagger {
private GetProductsLiabilityType() {} private GetProductsLiabilityType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.liability") @Schema(example = "accountType.liability")
public String code; public String code;
@Schema(example = "LIABILITY") @Schema(example = "LIABILITY")
@@ -269,7 +269,7 @@ final class ProductsApiResourceSwagger {
private GetProductsLiabilityUsage() {} private GetProductsLiabilityUsage() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "accountUsage.detail") @Schema(example = "accountUsage.detail")
public String code; public String code;
@Schema(example = "DETAIL") @Schema(example = "DETAIL")
@@ -281,13 +281,13 @@ final class ProductsApiResourceSwagger {
private GetProductsTagId() {} private GetProductsTagId() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "false") @Schema(example = "false")
public Boolean isActive; public Boolean isActive;
} }
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "LIABILITY_2T1461237838897") @Schema(example = "LIABILITY_2T1461237838897")
@@ -314,7 +314,7 @@ final class ProductsApiResourceSwagger {
private GetAssetType() {} private GetAssetType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "accountType.asset") @Schema(example = "accountType.asset")
public String code; public String code;
@Schema(example = "ASSET") @Schema(example = "ASSET")
@@ -322,7 +322,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "ASSET_ED1461237837829") @Schema(example = "ASSET_ED1461237837829")
@@ -349,7 +349,7 @@ final class ProductsApiResourceSwagger {
private GetIncomeType() {} private GetIncomeType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "accountType.income") @Schema(example = "accountType.income")
public String code; public String code;
@Schema(example = "INCOME") @Schema(example = "INCOME")
@@ -357,7 +357,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "ACCOUNT_NAME_1FJBQ") @Schema(example = "ACCOUNT_NAME_1FJBQ")
public String name; public String name;
@Schema(example = "INCOME_9O1461237838422") @Schema(example = "INCOME_9O1461237838422")
@@ -384,7 +384,7 @@ final class ProductsApiResourceSwagger {
private GetEquityType() {} private GetEquityType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "accountType.equity") @Schema(example = "accountType.equity")
public String code; public String code;
@Schema(example = "EQUITY") @Schema(example = "EQUITY")
@@ -392,7 +392,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "66") @Schema(example = "66")
public Integer id; public Long id;
@Schema(example = "Equity Account") @Schema(example = "Equity Account")
public String name; public String name;
@Schema(example = "EQUITY1") @Schema(example = "EQUITY1")
@@ -415,7 +415,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Share Product") @Schema(example = "Share Product")
public String name; public String name;
@Schema(example = "SP") @Schema(example = "SP")
@@ -466,7 +466,7 @@ final class ProductsApiResourceSwagger {
private GetProductsPageItems() {} private GetProductsPageItems() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Share Product") @Schema(example = "Share Product")
public String name; public String name;
@Schema(example = "Share Product Description") @Schema(example = "Share Product Description")
@@ -504,7 +504,7 @@ final class ProductsApiResourceSwagger {
private PostProductsChargesSelected() {} private PostProductsChargesSelected() {}
@Schema(example = "20") @Schema(example = "20")
public Integer id; public Long id;
} }
@Schema(example = "Share Product") @Schema(example = "Share Product")
@@ -555,7 +555,7 @@ final class ProductsApiResourceSwagger {
private PostProductsTypeResponse() {} private PostProductsTypeResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutProductsTypeProductIdRequest") @Schema(description = "PutProductsTypeProductIdRequest")
@@ -589,7 +589,7 @@ final class ProductsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutProductsChanges changes; public PutProductsChanges changes;
} }
} }
@@ -39,13 +39,13 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsProductOptions() {} private GetFixedDepositAccountsProductOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Passbook Savings") @Schema(example = "Passbook Savings")
public String name; public String name;
} }
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "small business") @Schema(example = "small business")
public String clientName; public String clientName;
public Set<GetFixedDepositAccountsProductOptions> productOptions; public Set<GetFixedDepositAccountsProductOptions> productOptions;
@@ -61,7 +61,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsStatus() {} private GetFixedDepositAccountsStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "savingsAccountStatusType.submitted.and.pending.approval") @Schema(example = "savingsAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -125,7 +125,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsInterestCompoundingPeriodType() {} private GetFixedDepositAccountsInterestCompoundingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly") @Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -137,7 +137,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsInterestPostingPeriodType() {} private GetFixedDepositAccountsInterestPostingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly") @Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -149,7 +149,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsInterestCalculationType() {} private GetFixedDepositAccountsInterestCalculationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationType.dailybalance") @Schema(example = "savingsInterestCalculationType.dailybalance")
public String code; public String code;
@Schema(example = "Daily Balance") @Schema(example = "Daily Balance")
@@ -161,7 +161,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsInterestCalculationDaysInYearType() {} private GetFixedDepositAccountsInterestCalculationDaysInYearType() {}
@Schema(example = "365") @Schema(example = "365")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationDaysInYearType.days365") @Schema(example = "savingsInterestCalculationDaysInYearType.days365")
public String code; public String code;
@Schema(example = "365 Days") @Schema(example = "365 Days")
@@ -182,7 +182,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsMinDepositTermType() {} private GetFixedDepositAccountsMinDepositTermType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.months") @Schema(example = "deposit.term.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -194,7 +194,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsMaxDepositTermType() {} private GetFixedDepositAccountsMaxDepositTermType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.years") @Schema(example = "deposit.term.savingsPeriodFrequencyType.years")
public String code; public String code;
@Schema(example = "Years") @Schema(example = "Years")
@@ -206,7 +206,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsDepositPeriodFrequency() {} private GetFixedDepositAccountsDepositPeriodFrequency() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "deposit.period.savingsPeriodFrequencyType.months") @Schema(example = "deposit.period.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -214,19 +214,19 @@ final class FixedDepositAccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Sangamesh N") @Schema(example = "Sangamesh N")
public String clientName; public String clientName;
@Schema(example = "3") @Schema(example = "3")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "FD01") @Schema(example = "FD01")
public String savingsProductName; public String savingsProductName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetFixedDepositAccountsStatus status; public GetFixedDepositAccountsStatus status;
public GetFixedDepositAccountsTimeline timeline; public GetFixedDepositAccountsTimeline timeline;
public GetFixedDepositAccountsCurrency currency; public GetFixedDepositAccountsCurrency currency;
@@ -262,9 +262,9 @@ final class FixedDepositAccountsApiResourceSwagger {
private PostFixedDepositAccountsRequest() {} private PostFixedDepositAccountsRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "en") @Schema(example = "en")
public String locale; public String locale;
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
@@ -276,7 +276,7 @@ final class FixedDepositAccountsApiResourceSwagger {
@Schema(example = "6") @Schema(example = "6")
public Integer depositPeriod; public Integer depositPeriod;
@Schema(example = "2") @Schema(example = "2")
public Integer depositPeriodFrequencyId; public Long depositPeriodFrequencyId;
} }
@Schema(description = "PostFixedDepositAccountsResponse") @Schema(description = "PostFixedDepositAccountsResponse")
@@ -285,13 +285,13 @@ final class FixedDepositAccountsApiResourceSwagger {
private PostFixedDepositAccountsResponse() {} private PostFixedDepositAccountsResponse() {}
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetFixedDepositAccountsAccountIdResponse") @Schema(description = "GetFixedDepositAccountsAccountIdResponse")
@@ -312,7 +312,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsPeriodType() {} private GetFixedDepositAccountsPeriodType() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.days") @Schema(example = "interestChartPeriodType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -338,7 +338,7 @@ final class FixedDepositAccountsApiResourceSwagger {
} }
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
public GetFixedDepositAccountsPeriodType periodType; public GetFixedDepositAccountsPeriodType periodType;
@Schema(example = "181") @Schema(example = "181")
public Integer fromPeriod; public Integer fromPeriod;
@@ -354,7 +354,7 @@ final class FixedDepositAccountsApiResourceSwagger {
private GetFixedDepositAccountsPeriodTypes() {} private GetFixedDepositAccountsPeriodTypes() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.days") @Schema(example = "interestChartPeriodType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -362,11 +362,11 @@ final class FixedDepositAccountsApiResourceSwagger {
} }
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "[2013, 10, 2]") @Schema(example = "[2013, 10, 2]")
public LocalDate fromDate; public LocalDate fromDate;
@Schema(example = "5") @Schema(example = "5")
public Integer accountId; public Long accountId;
@Schema(example = "FD000023") @Schema(example = "FD000023")
public Long accountNumber; public Long accountNumber;
public Set<GetFixedDepositAccountsChartSlabs> chartSlabs; public Set<GetFixedDepositAccountsChartSlabs> chartSlabs;
@@ -403,21 +403,21 @@ final class FixedDepositAccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "FD000023") @Schema(example = "FD000023")
public Long accountNo; public Long accountNo;
@Schema(example = "FD-23") @Schema(example = "FD-23")
public String externalId; public String externalId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Sangamesh N") @Schema(example = "Sangamesh N")
public String clientName; public String clientName;
@Schema(example = "3") @Schema(example = "3")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "FD01") @Schema(example = "FD01")
public String savingsProductName; public String savingsProductName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetFixedDepositAccountsResponse.GetFixedDepositAccountsStatus status; public GetFixedDepositAccountsResponse.GetFixedDepositAccountsStatus status;
public GetFixedDepositAccountsResponse.GetFixedDepositAccountsTimeline timeline; public GetFixedDepositAccountsResponse.GetFixedDepositAccountsTimeline timeline;
public GetFixedDepositAccountsAccountIdCurrency currency; public GetFixedDepositAccountsAccountIdCurrency currency;
@@ -475,13 +475,13 @@ final class FixedDepositAccountsApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutFixedDepositAccountsChanges changes; public PutFixedDepositAccountsChanges changes;
} }
@@ -497,13 +497,13 @@ final class FixedDepositAccountsApiResourceSwagger {
private PostFixedDepositAccountsAccountIdResponse() {} private PostFixedDepositAccountsAccountIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteFixedDepositAccountsAccountIdResponse") @Schema(description = "DeleteFixedDepositAccountsAccountIdResponse")
@@ -512,10 +512,10 @@ final class FixedDepositAccountsApiResourceSwagger {
private DeleteFixedDepositAccountsAccountIdResponse() {} private DeleteFixedDepositAccountsAccountIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -178,7 +178,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsMinDepositTermType() {} private GetFixedDepositProductsMinDepositTermType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.months") @Schema(example = "deposit.term.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -190,7 +190,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsMaxDepositTermType() {} private GetFixedDepositProductsMaxDepositTermType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.years") @Schema(example = "deposit.term.savingsPeriodFrequencyType.years")
public String code; public String code;
@Schema(example = "Years") @Schema(example = "Years")
@@ -202,7 +202,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsInterestCompoundingPeriodType() {} private GetFixedDepositProductsInterestCompoundingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly") @Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -214,7 +214,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsInterestPostingPeriodType() {} private GetFixedDepositProductsInterestPostingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly") @Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -226,7 +226,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsInterestCalculationType() {} private GetFixedDepositProductsInterestCalculationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationType.dailybalance") @Schema(example = "savingsInterestCalculationType.dailybalance")
public String code; public String code;
@Schema(example = "Daily Balance") @Schema(example = "Daily Balance")
@@ -238,7 +238,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsInterestCalculationDaysInYearType() {} private GetFixedDepositProductsInterestCalculationDaysInYearType() {}
@Schema(example = "365") @Schema(example = "365")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationDaysInYearType.days365") @Schema(example = "savingsInterestCalculationDaysInYearType.days365")
public String code; public String code;
@Schema(example = "365 Days") @Schema(example = "365 Days")
@@ -250,7 +250,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsAccountingRule() {} private GetFixedDepositProductsAccountingRule() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "accountingRuleType.none") @Schema(example = "accountingRuleType.none")
public String code; public String code;
@Schema(example = "NONE") @Schema(example = "NONE")
@@ -258,7 +258,7 @@ final class FixedDepositProductsApiResourceSwagger {
} }
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "FD01") @Schema(example = "FD01")
public String name; public String name;
@Schema(example = "FD01") @Schema(example = "FD01")
@@ -311,7 +311,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdInterestCompoundingPeriodType() {} private GetFixedDepositProductsProductIdInterestCompoundingPeriodType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.daily") @Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.daily")
public String code; public String code;
@Schema(example = "Daily") @Schema(example = "Daily")
@@ -327,11 +327,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdSavingsReferenceAccount() {} private GetFixedDepositProductsProductIdSavingsReferenceAccount() {}
@Schema(example = "12") @Schema(example = "12")
public Integer id; public Long id;
@Schema(example = "savings ref") @Schema(example = "savings ref")
public String name; public String name;
@Schema(example = "20") @Schema(example = "20")
public Integer glCode; public String glCode;
} }
static final class GetFixedDepositProductsProductIdIncomeFromFeeAccount { static final class GetFixedDepositProductsProductIdIncomeFromFeeAccount {
@@ -339,11 +339,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdIncomeFromFeeAccount() {} private GetFixedDepositProductsProductIdIncomeFromFeeAccount() {}
@Schema(example = "16") @Schema(example = "16")
public Integer id; public Long id;
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
static final class GetFixedDepositProductsProductIdIncomeFromPenaltyAccount { static final class GetFixedDepositProductsProductIdIncomeFromPenaltyAccount {
@@ -351,11 +351,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdIncomeFromPenaltyAccount() {} private GetFixedDepositProductsProductIdIncomeFromPenaltyAccount() {}
@Schema(example = "17") @Schema(example = "17")
public Integer id; public Long id;
@Schema(example = "income from sav penalties") @Schema(example = "income from sav penalties")
public String name; public String name;
@Schema(example = "25") @Schema(example = "25")
public Integer glCode; public String glCode;
} }
static final class GetFixedDepositProductsProductIdInterestOnSavingsAccount { static final class GetFixedDepositProductsProductIdInterestOnSavingsAccount {
@@ -363,11 +363,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdInterestOnSavingsAccount() {} private GetFixedDepositProductsProductIdInterestOnSavingsAccount() {}
@Schema(example = "15") @Schema(example = "15")
public Integer id; public Long id;
@Schema(example = "interest on savings") @Schema(example = "interest on savings")
public String name; public String name;
@Schema(example = "23") @Schema(example = "23")
public Integer glCode; public String glCode;
} }
static final class GetFixedDepositProductsProductIdSavingsControlAccount { static final class GetFixedDepositProductsProductIdSavingsControlAccount {
@@ -375,11 +375,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdSavingsControlAccount() {} private GetFixedDepositProductsProductIdSavingsControlAccount() {}
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
@Schema(example = "savings ref tool kit") @Schema(example = "savings ref tool kit")
public String name; public String name;
@Schema(example = "21") @Schema(example = "21")
public Integer glCode; public String glCode;
} }
static final class GetFixedDepositProductsProductIdTransfersInSuspenseAccount { static final class GetFixedDepositProductsProductIdTransfersInSuspenseAccount {
@@ -387,11 +387,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdTransfersInSuspenseAccount() {} private GetFixedDepositProductsProductIdTransfersInSuspenseAccount() {}
@Schema(example = "14") @Schema(example = "14")
public Integer id; public Long id;
@Schema(example = "saving transfers") @Schema(example = "saving transfers")
public String name; public String name;
@Schema(example = "22") @Schema(example = "22")
public Integer glCode; public String glCode;
} }
public GetFixedDepositProductsProductIdSavingsReferenceAccount savingsReferenceAccount; public GetFixedDepositProductsProductIdSavingsReferenceAccount savingsReferenceAccount;
@@ -411,7 +411,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsCharge() {} private GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsCharge() {}
@Schema(example = "11") @Schema(example = "11")
public Integer id; public Long id;
@Schema(example = "sav charge") @Schema(example = "sav charge")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -425,11 +425,11 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsIncomeAccount() {} private GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsIncomeAccount() {}
@Schema(example = "16") @Schema(example = "16")
public Integer id; public Long id;
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
public GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsCharge charge; public GetFixedDepositProductsProductIdFeeToIncomeAccountMappingsCharge charge;
@@ -445,7 +445,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdPenaltyToIncomeAccountMappingsCharge() {} private GetFixedDepositProductsProductIdPenaltyToIncomeAccountMappingsCharge() {}
@Schema(example = "12") @Schema(example = "12")
public Integer id; public Long id;
@Schema(example = "sav 2") @Schema(example = "sav 2")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -463,7 +463,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdPreClosurePenalInterestOnType() {} private GetFixedDepositProductsProductIdPreClosurePenalInterestOnType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "preClosurePenalInterestOnType.wholeTerm") @Schema(example = "preClosurePenalInterestOnType.wholeTerm")
public String code; public String code;
@Schema(example = "Whole term") @Schema(example = "Whole term")
@@ -475,7 +475,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdMinDepositTermType() {} private GetFixedDepositProductsProductIdMinDepositTermType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.weeks") @Schema(example = "deposit.term.savingsPeriodFrequencyType.weeks")
public String code; public String code;
@Schema(example = "Weeks") @Schema(example = "Weeks")
@@ -487,7 +487,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdMaxDepositTermType() {} private GetFixedDepositProductsProductIdMaxDepositTermType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.years") @Schema(example = "deposit.term.savingsPeriodFrequencyType.years")
public String code; public String code;
@Schema(example = "Years") @Schema(example = "Years")
@@ -507,7 +507,7 @@ final class FixedDepositProductsApiResourceSwagger {
private GetFixedDepositProductsProductIdPeriodType() {} private GetFixedDepositProductsProductIdPeriodType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.weeks") @Schema(example = "interestChartPeriodType.weeks")
public String code; public String code;
@Schema(example = "Weeks") @Schema(example = "Weeks")
@@ -515,7 +515,7 @@ final class FixedDepositProductsApiResourceSwagger {
} }
@Schema(example = "18") @Schema(example = "18")
public Integer id; public Long id;
@Schema(example = "from 0 to 90 days") @Schema(example = "from 0 to 90 days")
public String description; public String description;
public GetFixedDepositProductsProductIdPeriodType periodType; public GetFixedDepositProductsProductIdPeriodType periodType;
@@ -529,11 +529,11 @@ final class FixedDepositProductsApiResourceSwagger {
} }
@Schema(example = "8") @Schema(example = "8")
public Integer id; public Long id;
@Schema(example = "[2014, 1, 1]") @Schema(example = "[2014, 1, 1]")
public LocalDate fromDate; public LocalDate fromDate;
@Schema(example = "8") @Schema(example = "8")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "Fixed deposit product") @Schema(example = "Fixed deposit product")
public String savingsProductName; public String savingsProductName;
public Set<GetFixedDepositProductsProductIdChartSlabs> chartSlabs; public Set<GetFixedDepositProductsProductIdChartSlabs> chartSlabs;
@@ -541,7 +541,7 @@ final class FixedDepositProductsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Fixed deposit product") @Schema(example = "Fixed deposit product")
public String name; public String name;
@Schema(example = "FD01") @Schema(example = "FD01")
@@ -40,7 +40,7 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
private GetRecurringTransactionType() {} private GetRecurringTransactionType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "savingsAccountTransactionType.deposit") @Schema(example = "savingsAccountTransactionType.deposit")
public String code; public String code;
@Schema(example = "Deposit") @Schema(example = "Deposit")
@@ -90,10 +90,10 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
public GetRecurringTransactionType transactionType; public GetRecurringTransactionType transactionType;
@Schema(example = "1") @Schema(example = "1")
public Integer accountId; public Long accountId;
@Schema(example = "000000001") @Schema(example = "000000001")
public String accountNo; public String accountNo;
@Schema(example = "[2014, 6, 25]") @Schema(example = "[2014, 6, 25]")
@@ -137,7 +137,7 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
private GetRecurringTransactionsTransactionType() {} private GetRecurringTransactionsTransactionType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "savingsAccountTransactionType.withdrawal") @Schema(example = "savingsAccountTransactionType.withdrawal")
public String code; public String code;
@Schema(example = "Withdrawal") @Schema(example = "Withdrawal")
@@ -161,13 +161,13 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
private GetRecurringPaymentType() {} private GetRecurringPaymentType() {}
@Schema(example = "11") @Schema(example = "11")
public Integer id; public Long id;
@Schema(example = "cash") @Schema(example = "cash")
public String name; public String name;
} }
@Schema(example = "62") @Schema(example = "62")
public Integer id; public Long id;
public GetRecurringPaymentType paymentType; public GetRecurringPaymentType paymentType;
@Schema(example = "") @Schema(example = "")
public Integer accountNumber; public Integer accountNumber;
@@ -182,10 +182,10 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
public GetRecurringTransactionsTransactionType transactionType; public GetRecurringTransactionsTransactionType transactionType;
@Schema(example = "1") @Schema(example = "1")
public Integer accountId; public Long accountId;
@Schema(example = "000000001") @Schema(example = "000000001")
public String accountNo; public String accountNo;
@Schema(example = "[2013, 8, 7]") @Schema(example = "[2013, 8, 7]")
@@ -249,13 +249,13 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "2") @Schema(example = "2")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "47") @Schema(example = "47")
public Integer resourceId; public Long resourceId;
public PostRecurringChanges changes; public PostRecurringChanges changes;
} }
@@ -265,13 +265,13 @@ final class RecurringDepositAccountTransactionsApiResourceSwagger {
private PostRecurringDepositAccountsRecurringDepositAccountIdTransactionsTransactionIdResponse() {} private PostRecurringDepositAccountsRecurringDepositAccountIdTransactionsTransactionIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "2") @Schema(example = "2")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "48") @Schema(example = "48")
public Integer resourceId; public Long resourceId;
public PostRecurringDepositAccountsRecurringDepositAccountIdTransactionsResponse.PostRecurringChanges changes; public PostRecurringDepositAccountsRecurringDepositAccountIdTransactionsResponse.PostRecurringChanges changes;
} }
} }
@@ -39,13 +39,13 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringProductOptions() {} private GetRecurringProductOptions() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Passbook Savings") @Schema(example = "Passbook Savings")
public String name; public String name;
} }
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "small business") @Schema(example = "small business")
public String clientName; public String clientName;
public Set<GetRecurringProductOptions> productOptions; public Set<GetRecurringProductOptions> productOptions;
@@ -61,7 +61,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsStatus() {} private GetRecurringDepositAccountsStatus() {}
@Schema(example = "100") @Schema(example = "100")
public Integer id; public Long id;
@Schema(example = "savingsAccountStatusType.submitted.and.pending.approval") @Schema(example = "savingsAccountStatusType.submitted.and.pending.approval")
public String code; public String code;
@Schema(example = "Submitted and pending approval") @Schema(example = "Submitted and pending approval")
@@ -125,7 +125,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsInterestCompoundingPeriodType() {} private GetRecurringDepositAccountsInterestCompoundingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly") @Schema(example = "savings.interest.period.savingsCompoundingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -137,7 +137,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsInterestPostingPeriodType() {} private GetRecurringDepositAccountsInterestPostingPeriodType() {}
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly") @Schema(example = "savings.interest.posting.period.savingsPostingInterestPeriodType.monthly")
public String code; public String code;
@Schema(example = "Monthly") @Schema(example = "Monthly")
@@ -149,7 +149,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsInterestCalculationType() {} private GetRecurringDepositAccountsInterestCalculationType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationType.dailybalance") @Schema(example = "savingsInterestCalculationType.dailybalance")
public String code; public String code;
@Schema(example = "Daily Balance") @Schema(example = "Daily Balance")
@@ -161,7 +161,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsInterestCalculationDaysInYearType() {} private GetRecurringDepositAccountsInterestCalculationDaysInYearType() {}
@Schema(example = "365") @Schema(example = "365")
public Integer id; public Long id;
@Schema(example = "savingsInterestCalculationDaysInYearType.days365") @Schema(example = "savingsInterestCalculationDaysInYearType.days365")
public String code; public String code;
@Schema(example = "365 Days") @Schema(example = "365 Days")
@@ -182,7 +182,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsMinDepositTermType() {} private GetRecurringDepositAccountsMinDepositTermType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.months") @Schema(example = "deposit.term.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -194,7 +194,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsMaxDepositTermType() {} private GetRecurringDepositAccountsMaxDepositTermType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.years") @Schema(example = "deposit.term.savingsPeriodFrequencyType.years")
public String code; public String code;
@Schema(example = "Years") @Schema(example = "Years")
@@ -206,7 +206,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsDepositPeriodFrequency() {} private GetRecurringDepositAccountsDepositPeriodFrequency() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "deposit.period.savingsPeriodFrequencyType.months") @Schema(example = "deposit.period.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -218,7 +218,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsRecurringDepositFrequencyType() {} private GetRecurringDepositAccountsRecurringDepositFrequencyType() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "recurring.deposit.savingsPeriodFrequencyType.months") @Schema(example = "recurring.deposit.savingsPeriodFrequencyType.months")
public String code; public String code;
@Schema(example = "Months") @Schema(example = "Months")
@@ -226,19 +226,19 @@ final class RecurringDepositAccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "000000001") @Schema(example = "000000001")
public Long accountNo; public Long accountNo;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Sangamesh N") @Schema(example = "Sangamesh N")
public String clientName; public String clientName;
@Schema(example = "3") @Schema(example = "3")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "RD01") @Schema(example = "RD01")
public String savingsProductName; public String savingsProductName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetRecurringDepositAccountsStatus status; public GetRecurringDepositAccountsStatus status;
public GetRecurringDepositAccountsTimeline timeline; public GetRecurringDepositAccountsTimeline timeline;
public GetRecurringDepositAccountsCurrency currency; public GetRecurringDepositAccountsCurrency currency;
@@ -277,9 +277,9 @@ final class RecurringDepositAccountsApiResourceSwagger {
private PostRecurringDepositAccountsRequest() {} private PostRecurringDepositAccountsRequest() {}
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer productId; public Long productId;
@Schema(example = "en") @Schema(example = "en")
public String locale; public String locale;
@Schema(example = "dd MMMM yyyy") @Schema(example = "dd MMMM yyyy")
@@ -308,13 +308,13 @@ final class RecurringDepositAccountsApiResourceSwagger {
private PostRecurringDepositAccountsResponse() {} private PostRecurringDepositAccountsResponse() {}
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "GetRecurringDepositAccountsAccountIdResponse") @Schema(description = "GetRecurringDepositAccountsAccountIdResponse")
@@ -335,7 +335,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsPeriodType() {} private GetRecurringDepositAccountsPeriodType() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.days") @Schema(example = "interestChartPeriodType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -361,7 +361,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
} }
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
public GetRecurringDepositAccountsPeriodType periodType; public GetRecurringDepositAccountsPeriodType periodType;
@Schema(example = "181") @Schema(example = "181")
public Integer fromPeriod; public Integer fromPeriod;
@@ -377,7 +377,7 @@ final class RecurringDepositAccountsApiResourceSwagger {
private GetRecurringDepositAccountsPeriodTypes() {} private GetRecurringDepositAccountsPeriodTypes() {}
@Schema(example = "0") @Schema(example = "0")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.days") @Schema(example = "interestChartPeriodType.days")
public String code; public String code;
@Schema(example = "Days") @Schema(example = "Days")
@@ -385,11 +385,11 @@ final class RecurringDepositAccountsApiResourceSwagger {
} }
@Schema(example = "4") @Schema(example = "4")
public Integer id; public Long id;
@Schema(example = "[2013, 10, 2]") @Schema(example = "[2013, 10, 2]")
public LocalDate fromDate; public LocalDate fromDate;
@Schema(example = "5") @Schema(example = "5")
public Integer accountId; public Long accountId;
@Schema(example = "RD000023") @Schema(example = "RD000023")
public Long accountNumber; public Long accountNumber;
public Set<GetRecurringDepositAccountsChartSlabs> chartSlabs; public Set<GetRecurringDepositAccountsChartSlabs> chartSlabs;
@@ -397,21 +397,21 @@ final class RecurringDepositAccountsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "RD000023") @Schema(example = "RD000023")
public Long accountNo; public Long accountNo;
@Schema(example = "RD-23") @Schema(example = "RD-23")
public String externalId; public String externalId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "Sangamesh N") @Schema(example = "Sangamesh N")
public String clientName; public String clientName;
@Schema(example = "3") @Schema(example = "3")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "RD01") @Schema(example = "RD01")
public String savingsProductName; public String savingsProductName;
@Schema(example = "0") @Schema(example = "0")
public Integer fieldOfficerId; public Long fieldOfficerId;
public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsStatus status; public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsStatus status;
public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsTimeline timeline; public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsTimeline timeline;
public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsCurrency currency; public GetRecurringDepositAccountsResponse.GetRecurringDepositAccountsCurrency currency;
@@ -468,13 +468,13 @@ final class RecurringDepositAccountsApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
public PutRecurringDepositAccountsChanges changes; public PutRecurringDepositAccountsChanges changes;
} }
@@ -490,13 +490,13 @@ final class RecurringDepositAccountsApiResourceSwagger {
private PostRecurringDepositAccountsAccountIdResponse() {} private PostRecurringDepositAccountsAccountIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteRecurringDepositAccountsResponse") @Schema(description = "DeleteRecurringDepositAccountsResponse")
@@ -505,10 +505,10 @@ final class RecurringDepositAccountsApiResourceSwagger {
private DeleteRecurringDepositAccountsResponse() {} private DeleteRecurringDepositAccountsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -280,7 +280,7 @@ final class RecurringDepositProductsApiResourceSwagger {
} }
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "RD01") @Schema(example = "RD01")
public String name; public String name;
@Schema(example = "RD01") @Schema(example = "RD01")
@@ -352,11 +352,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdSavingsReferenceAccount() {} private GetRecurringDepositProductsProductIdSavingsReferenceAccount() {}
@Schema(example = "12") @Schema(example = "12")
public Integer id; public Long id;
@Schema(example = "savings ref") @Schema(example = "savings ref")
public String name; public String name;
@Schema(example = "20") @Schema(example = "20")
public Integer glCode; public String glCode;
} }
static final class GetRecurringDepositProductsProductIdIncomeFromFeeAccount { static final class GetRecurringDepositProductsProductIdIncomeFromFeeAccount {
@@ -364,11 +364,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdIncomeFromFeeAccount() {} private GetRecurringDepositProductsProductIdIncomeFromFeeAccount() {}
@Schema(example = "16") @Schema(example = "16")
public Integer id; public Long id;
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
static final class GetRecurringDepositProductsProductIdIncomeFromPenaltyAccount { static final class GetRecurringDepositProductsProductIdIncomeFromPenaltyAccount {
@@ -376,11 +376,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdIncomeFromPenaltyAccount() {} private GetRecurringDepositProductsProductIdIncomeFromPenaltyAccount() {}
@Schema(example = "17") @Schema(example = "17")
public Integer id; public Long id;
@Schema(example = "income from sav penalties") @Schema(example = "income from sav penalties")
public String name; public String name;
@Schema(example = "25") @Schema(example = "25")
public Integer glCode; public String glCode;
} }
static final class GetRecurringDepositProductsProductIdInterestOnSavingsAccount { static final class GetRecurringDepositProductsProductIdInterestOnSavingsAccount {
@@ -388,11 +388,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdInterestOnSavingsAccount() {} private GetRecurringDepositProductsProductIdInterestOnSavingsAccount() {}
@Schema(example = "15") @Schema(example = "15")
public Integer id; public Long id;
@Schema(example = "interest on savings") @Schema(example = "interest on savings")
public String name; public String name;
@Schema(example = "23") @Schema(example = "23")
public Integer glCode; public String glCode;
} }
static final class GetRecurringDepositProductsProductIdSavingsControlAccount { static final class GetRecurringDepositProductsProductIdSavingsControlAccount {
@@ -400,11 +400,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdSavingsControlAccount() {} private GetRecurringDepositProductsProductIdSavingsControlAccount() {}
@Schema(example = "13") @Schema(example = "13")
public Integer id; public Long id;
@Schema(example = "savings ref tool kit") @Schema(example = "savings ref tool kit")
public String name; public String name;
@Schema(example = "21") @Schema(example = "21")
public Integer glCode; public String glCode;
} }
static final class GetRecurringDepositProductsProductIdTransfersInSuspenseAccount { static final class GetRecurringDepositProductsProductIdTransfersInSuspenseAccount {
@@ -412,11 +412,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdTransfersInSuspenseAccount() {} private GetRecurringDepositProductsProductIdTransfersInSuspenseAccount() {}
@Schema(example = "14") @Schema(example = "14")
public Integer id; public Long id;
@Schema(example = "saving transfers") @Schema(example = "saving transfers")
public String name; public String name;
@Schema(example = "22") @Schema(example = "22")
public Integer glCode; public String glCode;
} }
public GetRecurringDepositProductsProductIdSavingsReferenceAccount savingsReferenceAccount; public GetRecurringDepositProductsProductIdSavingsReferenceAccount savingsReferenceAccount;
@@ -436,7 +436,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsCharge() {} private GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsCharge() {}
@Schema(example = "11") @Schema(example = "11")
public Integer id; public Long id;
@Schema(example = "sav charge") @Schema(example = "sav charge")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -450,11 +450,11 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsIncomeAccount() {} private GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsIncomeAccount() {}
@Schema(example = "16") @Schema(example = "16")
public Integer id; public Long id;
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
public GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsCharge charge; public GetRecurringDepositProductsProductIdFeeToIncomeAccountMappingsCharge charge;
@@ -470,7 +470,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdPenaltyToIncomeAccountMappingsCharge() {} private GetRecurringDepositProductsProductIdPenaltyToIncomeAccountMappingsCharge() {}
@Schema(example = "12") @Schema(example = "12")
public Integer id; public Long id;
@Schema(example = "sav 2") @Schema(example = "sav 2")
public String name; public String name;
@Schema(example = "false") @Schema(example = "false")
@@ -488,7 +488,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdPreClosurePenalInterestOnType() {} private GetRecurringDepositProductsProductIdPreClosurePenalInterestOnType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "preClosurePenalInterestOnType.wholeTerm") @Schema(example = "preClosurePenalInterestOnType.wholeTerm")
public String code; public String code;
@Schema(example = "Whole term") @Schema(example = "Whole term")
@@ -500,7 +500,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdMinDepositTermType() {} private GetRecurringDepositProductsProductIdMinDepositTermType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.weeks") @Schema(example = "deposit.term.savingsPeriodFrequencyType.weeks")
public String code; public String code;
@Schema(example = "Weeks") @Schema(example = "Weeks")
@@ -512,7 +512,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdMaxDepositTermType() {} private GetRecurringDepositProductsProductIdMaxDepositTermType() {}
@Schema(example = "3") @Schema(example = "3")
public Integer id; public Long id;
@Schema(example = "deposit.term.savingsPeriodFrequencyType.years") @Schema(example = "deposit.term.savingsPeriodFrequencyType.years")
public String code; public String code;
@Schema(example = "Years") @Schema(example = "Years")
@@ -532,7 +532,7 @@ final class RecurringDepositProductsApiResourceSwagger {
private GetRecurringDepositProductsProductIdPeriodType() {} private GetRecurringDepositProductsProductIdPeriodType() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "interestChartPeriodType.weeks") @Schema(example = "interestChartPeriodType.weeks")
public String code; public String code;
@Schema(example = "Weeks") @Schema(example = "Weeks")
@@ -540,7 +540,7 @@ final class RecurringDepositProductsApiResourceSwagger {
} }
@Schema(example = "18") @Schema(example = "18")
public Integer id; public Long id;
@Schema(example = "from 0 to 90 days") @Schema(example = "from 0 to 90 days")
public String description; public String description;
public GetRecurringDepositProductsProductIdPeriodType periodType; public GetRecurringDepositProductsProductIdPeriodType periodType;
@@ -554,11 +554,11 @@ final class RecurringDepositProductsApiResourceSwagger {
} }
@Schema(example = "8") @Schema(example = "8")
public Integer id; public Long id;
@Schema(example = "[2014, 1, 1]") @Schema(example = "[2014, 1, 1]")
public LocalDate fromDate; public LocalDate fromDate;
@Schema(example = "8") @Schema(example = "8")
public Integer savingsProductId; public Long savingsProductId;
@Schema(example = "Recurring deposit product") @Schema(example = "Recurring deposit product")
public String savingsProductName; public String savingsProductName;
public Set<GetRecurringDepositProductsProductIdChartSlabs> chartSlabs; public Set<GetRecurringDepositProductsProductIdChartSlabs> chartSlabs;
@@ -566,7 +566,7 @@ final class RecurringDepositProductsApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "Recurring deposit product") @Schema(example = "Recurring deposit product")
public String name; public String name;
@Schema(example = "RD01") @Schema(example = "RD01")
@@ -74,11 +74,11 @@ final class SavingsAccountChargesApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "3") @Schema(example = "3")
public Integer chargeId; public Long chargeId;
@Schema(example = "57") @Schema(example = "57")
public Integer accountId; public Long accountId;
@Schema(example = "Savings account maintenance fee") @Schema(example = "Savings account maintenance fee")
public String name; public String name;
public GetChargesChargeTimeType chargeTimeType; public GetChargesChargeTimeType chargeTimeType;
@@ -138,7 +138,7 @@ final class SavingsAccountChargesApiResourceSwagger {
} }
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "Passbook Fee") @Schema(example = "Passbook Fee")
public String name; public String name;
@Schema(example = "true") @Schema(example = "true")
@@ -170,9 +170,9 @@ final class SavingsAccountChargesApiResourceSwagger {
private GetSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {} private GetSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "1") @Schema(example = "1")
public Integer chargeId; public Long chargeId;
@Schema(example = "Passbook fee") @Schema(example = "Passbook fee")
public String name; public String name;
public GetSavingsAccountsSavingsAccountIdChargesResponse.GetChargesChargeTimeType chargeTimeType; public GetSavingsAccountsSavingsAccountIdChargesResponse.GetChargesChargeTimeType chargeTimeType;
@@ -204,7 +204,7 @@ final class SavingsAccountChargesApiResourceSwagger {
private PostSavingsAccountsSavingsAccountIdChargesRequest() {} private PostSavingsAccountsSavingsAccountIdChargesRequest() {}
@Schema(example = "2") @Schema(example = "2")
public Integer chargeId; public Long chargeId;
@Schema(example = "en") @Schema(example = "en")
public String locale; public String locale;
@Schema(example = "100") @Schema(example = "100")
@@ -221,13 +221,13 @@ final class SavingsAccountChargesApiResourceSwagger {
private PostSavingsAccountsSavingsAccountIdChargesResponse() {} private PostSavingsAccountsSavingsAccountIdChargesResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "6") @Schema(example = "6")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PutSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdRequest") @Schema(description = "PutSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdRequest")
@@ -265,13 +265,13 @@ final class SavingsAccountChargesApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "6") @Schema(example = "6")
public Integer resourceId; public Long resourceId;
public PutSavingsChanges changes; public PutSavingsChanges changes;
} }
@@ -296,13 +296,13 @@ final class SavingsAccountChargesApiResourceSwagger {
private PostSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {} private PostSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "DeleteSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse") @Schema(description = "DeleteSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse")
@@ -311,12 +311,12 @@ final class SavingsAccountChargesApiResourceSwagger {
private DeleteSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {} private DeleteSavingsAccountsSavingsAccountIdChargesSavingsAccountChargeIdResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "2") @Schema(example = "2")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -216,13 +216,13 @@ final class SavingsAccountTransactionsApiResourceSwagger {
private PostSavingsAccountTransactionsResponse() {} private PostSavingsAccountTransactionsResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
@Schema(description = "PostSavingsAccountBulkReversalTransactionsRequest") @Schema(description = "PostSavingsAccountBulkReversalTransactionsRequest")
@@ -239,7 +239,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "savings ref") @Schema(example = "savings ref")
public String name; public String name;
@Schema(example = "20") @Schema(example = "20")
public Integer glCode; public String glCode;
} }
static final class GetSavingsProductsIncomeFromFeeAccount { static final class GetSavingsProductsIncomeFromFeeAccount {
@@ -251,7 +251,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
static final class GetSavingsProductsIncomeFromPenaltyAccount { static final class GetSavingsProductsIncomeFromPenaltyAccount {
@@ -263,7 +263,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "income from sav penalties") @Schema(example = "income from sav penalties")
public String name; public String name;
@Schema(example = "25") @Schema(example = "25")
public Integer glCode; public String glCode;
} }
static final class GetSavingsProductsInterestOnSavingsAccount { static final class GetSavingsProductsInterestOnSavingsAccount {
@@ -275,7 +275,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "interest on savings") @Schema(example = "interest on savings")
public String name; public String name;
@Schema(example = "23") @Schema(example = "23")
public Integer glCode; public String glCode;
} }
static final class GetSavingsProductsSavingsControlAccount { static final class GetSavingsProductsSavingsControlAccount {
@@ -287,7 +287,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "savings ref tool kit") @Schema(example = "savings ref tool kit")
public String name; public String name;
@Schema(example = "21") @Schema(example = "21")
public Integer glCode; public String glCode;
} }
static final class GetSavingsProductsTransfersInSuspenseAccount { static final class GetSavingsProductsTransfersInSuspenseAccount {
@@ -299,7 +299,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "saving transfers") @Schema(example = "saving transfers")
public String name; public String name;
@Schema(example = "22") @Schema(example = "22")
public Integer glCode; public String glCode;
} }
public GetSavingsProductsSavingsReferenceAccount savingsReferenceAccount; public GetSavingsProductsSavingsReferenceAccount savingsReferenceAccount;
@@ -333,7 +333,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "savings ref") @Schema(example = "savings ref")
public String name; public String name;
@Schema(example = "20") @Schema(example = "20")
public Integer glCode; public String glCode;
} }
public GetSavingsProductsPaymentType paymentType; public GetSavingsProductsPaymentType paymentType;
@@ -367,7 +367,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "income from savings fee") @Schema(example = "income from savings fee")
public String name; public String name;
@Schema(example = "24") @Schema(example = "24")
public Integer glCode; public String glCode;
} }
public GetSavingsProductsFeeToIncomeAccountMappingsCharge charge; public GetSavingsProductsFeeToIncomeAccountMappingsCharge charge;
@@ -524,7 +524,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "Savings Control") @Schema(example = "Savings Control")
public String name; public String name;
@Schema(example = "50001") @Schema(example = "50001")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -562,7 +562,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "Cash") @Schema(example = "Cash")
public String name; public String name;
@Schema(example = "100001") @Schema(example = "100001")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -593,7 +593,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "Write Off Expenses") @Schema(example = "Write Off Expenses")
public String name; public String name;
@Schema(example = "60001") @Schema(example = "60001")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -624,7 +624,7 @@ final class SavingsProductsApiResourceSwagger {
@Schema(example = "income from interest") @Schema(example = "income from interest")
public String name; public String name;
@Schema(example = "40001") @Schema(example = "40001")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -39,7 +39,7 @@ final class SelfAccountTransferApiResourceSwagger {
private GetAccountOptions() {} private GetAccountOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer id; public Long id;
@Schema(example = "accountType.savings") @Schema(example = "accountType.savings")
public String code; public String code;
@Schema(example = "Savings Account") @Schema(example = "Savings Account")
@@ -53,16 +53,16 @@ final class SelfAccountTransferApiResourceSwagger {
private GetFromAccountOptions() {} private GetFromAccountOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer accountId; public Long accountId;
@Schema(example = "00000001") @Schema(example = "00000001")
public Integer accountNo; public Integer accountNo;
public GetAccountTransferTemplateResponse.GetAccountOptions accountType; public GetAccountTransferTemplateResponse.GetAccountOptions accountType;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "ABC") @Schema(example = "ABC")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "HEAD OFFICE") @Schema(example = "HEAD OFFICE")
public String officeName; public String officeName;
@@ -75,16 +75,16 @@ final class SelfAccountTransferApiResourceSwagger {
private GetToAccountOptions() {} private GetToAccountOptions() {}
@Schema(example = "2") @Schema(example = "2")
public Integer accountId; public Long accountId;
@Schema(example = "00000001") @Schema(example = "00000001")
public Integer accountNo; public Integer accountNo;
public GetAccountTransferTemplateResponse.GetAccountOptions accountType; public GetAccountTransferTemplateResponse.GetAccountOptions accountType;
@Schema(example = "1") @Schema(example = "1")
public Integer clientId; public Long clientId;
@Schema(example = "ABC") @Schema(example = "ABC")
public String clientName; public String clientName;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "HEAD OFFICE") @Schema(example = "HEAD OFFICE")
public String officeName; public String officeName;
@@ -133,8 +133,8 @@ final class SelfAccountTransferApiResourceSwagger {
private PostNewTransferResponse() {} private PostNewTransferResponse() {}
@Schema(example = "1") @Schema(example = "1")
public Integer savingsId; public Long savingsId;
@Schema(example = "1") @Schema(example = "1")
public Integer resourceId; public Long resourceId;
} }
} }
@@ -39,7 +39,7 @@ final class PocketApiResourceSwagger {
private GetPocketAccountDetail() {} private GetPocketAccountDetail() {}
@Schema(example = "11") @Schema(example = "11")
public Integer accountId; public Long accountId;
@Schema(example = "LOAN") @Schema(example = "LOAN")
public String accountType; public String accountType;
} }
@@ -66,15 +66,15 @@ final class PocketApiResourceSwagger {
private GetPocketLoanAccounts() {} private GetPocketLoanAccounts() {}
@Schema(example = "6") @Schema(example = "6")
public Integer pocketId; public Long pocketId;
@Schema(example = "11") @Schema(example = "11")
public Integer accountId; public Long accountId;
@Schema(example = "2") @Schema(example = "2")
public Integer accountType; public Integer accountType;
@Schema(example = "000000011") @Schema(example = "000000011")
public Integer accountNumber; public Integer accountNumber;
@Schema(example = "10") @Schema(example = "10")
public Integer id; public Long id;
} }
static final class GetPocketSavingAccounts { static final class GetPocketSavingAccounts {
@@ -82,15 +82,15 @@ final class PocketApiResourceSwagger {
private GetPocketSavingAccounts() {} private GetPocketSavingAccounts() {}
@Schema(example = "6") @Schema(example = "6")
public Integer pocketId; public Long pocketId;
@Schema(example = "2") @Schema(example = "2")
public Integer accountId; public Long accountId;
@Schema(example = "3") @Schema(example = "3")
public Integer accountType; public Integer accountType;
@Schema(example = "000000002") @Schema(example = "000000002")
public Integer accountNumber; public Integer accountNumber;
@Schema(example = "11") @Schema(example = "11")
public Integer id; public Long id;
} }
static final class GetPocketShareAccounts { static final class GetPocketShareAccounts {
@@ -52,9 +52,9 @@ final class SelfUserApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "6") @Schema(example = "6")
public Integer resourceId; public Long resourceId;
public PutSelfUserChanges changes; public PutSelfUserChanges changes;
} }
} }
@@ -61,17 +61,17 @@ final class SelfUserDetailsApiResourceSwagger {
@Schema(example = "mifos") @Schema(example = "mifos")
public String username; public String username;
@Schema(example = "1") @Schema(example = "1")
public Integer userId; public Long userId;
@Schema(example = "bWlmb3M6cGFzc3dvcmQ=") @Schema(example = "bWlmb3M6cGFzc3dvcmQ=")
public String base64EncodedAuthenticationKey; public String base64EncodedAuthenticationKey;
@Schema(example = "true") @Schema(example = "true")
public Boolean authenticated; public Boolean authenticated;
@Schema(example = "1") @Schema(example = "1")
public Integer officeId; public Long officeId;
@Schema(example = "Head Office") @Schema(example = "Head Office")
public String officeName; public String officeName;
@Schema(example = "1") @Schema(example = "1")
public Integer staffId; public Long staffId;
@Schema(example = "Director, Program") @Schema(example = "Director, Program")
public String staffDisplayName; public String staffDisplayName;
public GetSelfUserDetailsOrganisationalRole organisationalRole; public GetSelfUserDetailsOrganisationalRole organisationalRole;
@@ -207,7 +207,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "Cash in Hand") @Schema(example = "Cash in Hand")
public String name; public String name;
@Schema(example = "20301") @Schema(example = "20301")
public Integer glCode; public String glCode;
} }
@@ -220,7 +220,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "Other Operating Income") @Schema(example = "Other Operating Income")
public String name; public String name;
@Schema(example = "30105") @Schema(example = "30105")
public Integer glCode; public String glCode;
} }
@@ -233,7 +233,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "Share Equity") @Schema(example = "Share Equity")
public String name; public String name;
@Schema(example = "00098") @Schema(example = "00098")
public Integer glCode; public String glCode;
} }
@@ -246,7 +246,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "Overpayment Liability") @Schema(example = "Overpayment Liability")
public String name; public String name;
@Schema(example = "10200") @Schema(example = "10200")
public Integer glCode; public String glCode;
} }
@@ -336,7 +336,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "1") @Schema(example = "1")
public Integer parentId; public Integer parentId;
@Schema(example = "10104") @Schema(example = "10104")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -399,7 +399,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "8") @Schema(example = "8")
public Integer parentId; public Integer parentId;
@Schema(example = "20101") @Schema(example = "20101")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -460,7 +460,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "Loan Recovery (Temp)") @Schema(example = "Loan Recovery (Temp)")
public String name; public String name;
@Schema(example = "220002-Temp") @Schema(example = "220002-Temp")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -524,7 +524,7 @@ final class SelfShareAccountsApiResourceSwagger {
@Schema(example = "25") @Schema(example = "25")
public Integer parentId; public Integer parentId;
@Schema(example = "00098") @Schema(example = "00098")
public Integer glCode; public String glCode;
@Schema(example = "false") @Schema(example = "false")
public Boolean disabled; public Boolean disabled;
@Schema(example = "true") @Schema(example = "true")
@@ -64,7 +64,7 @@ final class TaxComponentApiResourceSwagger {
} }
@Schema(example = "1") @Schema(example = "1")
public Integer id; public Long id;
@Schema(example = "tax component 1") @Schema(example = "tax component 1")
public String name; public String name;
@Schema(example = "10.000000") @Schema(example = "10.000000")
@@ -44,20 +44,20 @@ final class TaxGroupApiResourceSwagger {
private GetTaxesGroupTaxComponent() {} private GetTaxesGroupTaxComponent() {}
@Schema(example = "7") @Schema(example = "7")
public Integer id; public Long id;
@Schema(example = "tax component 2") @Schema(example = "tax component 2")
public String name; public String name;
} }
@Schema(example = "7") @Schema(example = "7")
public Integer id; public Long id;
public GetTaxesGroupTaxComponent taxComponent; public GetTaxesGroupTaxComponent taxComponent;
@Schema(example = "[2016, 4, 11]") @Schema(example = "[2016, 4, 11]")
public LocalDate startDate; public LocalDate startDate;
} }
@Schema(example = "7") @Schema(example = "7")
public Integer id; public Long id;
@Schema(example = "tax group 1") @Schema(example = "tax group 1")
public String name; public String name;
public Set<GetTaxesGroupTaxAssociations> taxAssociations; public Set<GetTaxesGroupTaxAssociations> taxAssociations;
@@ -73,7 +73,7 @@ final class TaxGroupApiResourceSwagger {
private PostTaxesGroupTaxComponents() {} private PostTaxesGroupTaxComponents() {}
@Schema(example = "7") @Schema(example = "7")
public Integer taxComponentId; public Long taxComponentId;
@Schema(example = "11 April 2016") @Schema(example = "11 April 2016")
public String startDate; public String startDate;
} }
@@ -106,9 +106,9 @@ final class TaxGroupApiResourceSwagger {
private PutTaxesGroupTaxComponents() {} private PutTaxesGroupTaxComponents() {}
@Schema(example = "7") @Schema(example = "7")
public Integer id; public Long id;
@Schema(example = "7") @Schema(example = "7")
public Integer taxComponentId; public Long taxComponentId;
@Schema(example = "22 April 2016") @Schema(example = "22 April 2016")
public String endDate; public String endDate;
} }
@@ -121,7 +121,7 @@ public abstract class BaseLoanIntegrationTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.amortizationType(1)// .amortizationType(1)//
.interestType(0)// .interestType(0)//
.isEqualAmortization(false)// .isEqualAmortization(false)//
@@ -6894,7 +6894,7 @@ public class ClientLoanIntegrationTest {
} }
private PostClientsRequest createRandomClientWithDate(String date) { private PostClientsRequest createRandomClientWithDate(String date) {
return new PostClientsRequest().officeId(1).legalFormId(1).firstname(Utils.randomStringGenerator("", 5)) return new PostClientsRequest().officeId(1L).legalFormId(1L).firstname(Utils.randomStringGenerator("", 5))
.lastname(Utils.randomStringGenerator("", 5)).active(true).locale("en").activationDate(date).dateFormat(DATETIME_PATTERN); .lastname(Utils.randomStringGenerator("", 5)).active(true).locale("en").activationDate(date).dateFormat(DATETIME_PATTERN);
} }
@@ -8036,7 +8036,7 @@ public class ClientLoanIntegrationTest {
return SavingsProductHelper.createSavingsProduct(savingsProductJSON, REQUEST_SPEC, RESPONSE_SPEC); return SavingsProductHelper.createSavingsProduct(savingsProductJSON, REQUEST_SPEC, RESPONSE_SPEC);
} }
private PostLoansResponse applyForLoanApplicationForOnePeriod30DaysLongNoInterestPeriodicAccrual(Integer clientId, Long loanProductId, private PostLoansResponse applyForLoanApplicationForOnePeriod30DaysLongNoInterestPeriodicAccrual(Long clientId, Long loanProductId,
String loanDisbursementDate, String repaymentStrategyCode) { String loanDisbursementDate, String repaymentStrategyCode) {
return LOAN_TRANSACTION_HELPER.applyLoan(new PostLoansRequest().clientId(clientId.longValue()).productId(loanProductId) return LOAN_TRANSACTION_HELPER.applyLoan(new PostLoansRequest().clientId(clientId.longValue()).productId(loanProductId)
.expectedDisbursementDate(loanDisbursementDate).dateFormat(DATETIME_PATTERN) .expectedDisbursementDate(loanDisbursementDate).dateFormat(DATETIME_PATTERN)
@@ -8068,7 +8068,7 @@ public class ClientLoanIntegrationTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.amortizationType(1)// .amortizationType(1)//
.interestType(0)// .interestType(0)//
.isEqualAmortization(false)// .isEqualAmortization(false)//
@@ -39,7 +39,7 @@ public final class ClientStatusChecker {
} }
public static void verifyClientStatus(final ClientStatus status, final GetClientsClientIdResponse clientResponse) { public static void verifyClientStatus(final ClientStatus status, final GetClientsClientIdResponse clientResponse) {
assertEquals(status.getValue(), clientResponse.getStatus().getId()); assertEquals(status.getValue().longValue(), clientResponse.getStatus().getId());
} }
public static void verifyClientClosed(final HashMap<String, Object> clientStatusHashMap) { public static void verifyClientClosed(final HashMap<String, Object> clientStatusHashMap) {
@@ -222,8 +222,9 @@ public class ClientTest {
long postalCode = 1000L; long postalCode = 1000L;
// when // when
PostClientsAddressRequest addressRequest = new PostClientsAddressRequest().postalCode(postalCode).city(city).countryId(countryId) PostClientsAddressRequest addressRequest = new PostClientsAddressRequest().postalCode(postalCode).city(city)
.stateProvinceId(stateId).addressTypeId(addressTypeId.longValue()).isActive(addressIsActive); .countryId(Long.valueOf(countryId)).stateProvinceId(Long.valueOf(stateId)).addressTypeId(addressTypeId.longValue())
.isActive(addressIsActive);
PostClientsRequest request = ClientHelper.defaultClientCreationRequest().address(List.of(addressRequest)); PostClientsRequest request = ClientHelper.defaultClientCreationRequest().address(List.of(addressRequest));
final Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, request); final Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, request);
@@ -254,7 +255,7 @@ public class ClientTest {
final Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, clientRequest); final Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, clientRequest);
// when // when
PostClientClientIdAddressesRequest request = new PostClientClientIdAddressesRequest().postalCode(postalCode).city(city) PostClientClientIdAddressesRequest request = new PostClientClientIdAddressesRequest().postalCode(postalCode).city(city)
.countryId(countryId).stateProvinceId(stateId).isActive(addressIsActive); .countryId(Long.valueOf(countryId)).stateProvinceId(Long.valueOf(stateId)).isActive(addressIsActive);
PostClientClientIdAddressesResponse response = ClientHelper.createClientAddress(requestSpec, responseSpec, clientId.longValue(), PostClientClientIdAddressesResponse response = ClientHelper.createClientAddress(requestSpec, responseSpec, clientId.longValue(),
addressTypeId, request); addressTypeId, request);
// then // then
@@ -276,7 +277,7 @@ public class ClientTest {
String lastName = Utils.randomStringGenerator("LN", 48); String lastName = Utils.randomStringGenerator("LN", 48);
String fullName = firstName + ' ' + middleName + ' ' + lastName; String fullName = firstName + ' ' + middleName + ' ' + lastName;
PostClientsRequest request = new PostClientsRequest().officeId(1).legalFormId(LEGALFORM_ID_PERSON).firstname(firstName) PostClientsRequest request = new PostClientsRequest().officeId(1L).legalFormId(LEGALFORM_ID_PERSON).firstname(firstName)
.middlename(middleName).lastname(lastName).externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT) .middlename(middleName).lastname(lastName).externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT)
.locale("en").active(true).activationDate(DEFAULT_DATE); .locale("en").active(true).activationDate(DEFAULT_DATE);
Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, request); Integer clientId = ClientHelper.createClient(requestSpec, responseSpec, request);
@@ -286,7 +287,7 @@ public class ClientTest {
assertNotNull(client); assertNotNull(client);
assertEquals(fullName, client.getDisplayName()); assertEquals(fullName, client.getDisplayName());
request = new PostClientsRequest().officeId(1).legalFormId(LEGALFORM_ID_PERSON).fullname(fullName) request = new PostClientsRequest().officeId(1L).legalFormId(LEGALFORM_ID_PERSON).fullname(fullName)
.externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT).locale("en").active(true) .externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT).locale("en").active(true)
.activationDate(DEFAULT_DATE); .activationDate(DEFAULT_DATE);
clientId = ClientHelper.createClient(requestSpec, responseSpec, request); clientId = ClientHelper.createClient(requestSpec, responseSpec, request);
@@ -108,7 +108,7 @@ public class DelinquencyAndChargebackIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), loanProductTestBuilder); Math.toIntExact(delinquencyBucket.getId()), loanProductTestBuilder);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
// Older date to have more than one overdue installment // Older date to have more than one overdue installment
@@ -228,7 +228,7 @@ public class DelinquencyAndChargebackIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), loanProductTestBuilder); Math.toIntExact(delinquencyBucket.getId()), loanProductTestBuilder);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
// Older date to have more than one overdue installment // Older date to have more than one overdue installment
@@ -285,7 +285,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -381,7 +381,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -478,7 +478,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -571,7 +571,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -679,7 +679,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -768,7 +768,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), null); Math.toIntExact(delinquencyBucket.getId()), null);
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -870,7 +870,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), "3"); Math.toIntExact(delinquencyBucket.getId()), "3");
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName()); log.info("Loan Product Bucket Name: {}", getLoanProductsProductResponse.getDelinquencyBucket().getName());
assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName()); assertEquals(getLoanProductsProductResponse.getDelinquencyBucket().getName(), delinquencyBucket.getName());
@@ -949,7 +949,7 @@ public class DelinquencyBucketsIntegrationTest {
// Client and Loan account creation // Client and Loan account creation
final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012"); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec, "01 January 2012");
final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper, final GetLoanProductsProductIdResponse getLoanProductsProductResponse = createLoanProduct(loanTransactionHelper,
delinquencyBucket.getId(), "3"); Math.toIntExact(delinquencyBucket.getId()), "3");
assertNotNull(getLoanProductsProductResponse); assertNotNull(getLoanProductsProductResponse);
log.info("Loan Product Arrears: {}", getLoanProductsProductResponse.getInArrearsTolerance()); log.info("Loan Product Arrears: {}", getLoanProductsProductResponse.getInArrearsTolerance());
assertEquals(3, getLoanProductsProductResponse.getInArrearsTolerance()); assertEquals(3, getLoanProductsProductResponse.getInArrearsTolerance());
@@ -413,15 +413,15 @@ public class ExternalIdSupportIntegrationTest extends IntegrationTest {
// Check whether an external id was generated // Check whether an external id was generated
final PostLoansLoanIdTransactionsResponse chargeRefundResult = loanTransactionHelper.makeChargeRefund(loanExternalIdStr, final PostLoansLoanIdTransactionsResponse chargeRefundResult = loanTransactionHelper.makeChargeRefund(loanExternalIdStr,
new PostLoansLoanIdTransactionsRequest().dateFormat("dd MMMM yyyy").locale("en").loanChargeId(penalty1LoanChargeId) new PostLoansLoanIdTransactionsRequest().dateFormat("dd MMMM yyyy").locale("en")
.transactionAmount(1.0)); .loanChargeId(Long.valueOf(penalty1LoanChargeId)).transactionAmount(1.0));
assertNotNull(chargeRefundResult.getResourceExternalId()); assertNotNull(chargeRefundResult.getResourceExternalId());
// Check whether the provided external id was retrieved // Check whether the provided external id was retrieved
transactionExternalIdStr = UUID.randomUUID().toString(); transactionExternalIdStr = UUID.randomUUID().toString();
final PostLoansLoanIdTransactionsResponse chargeRefundResultWithExternalId = loanTransactionHelper final PostLoansLoanIdTransactionsResponse chargeRefundResultWithExternalId = loanTransactionHelper
.makeChargeRefund(loanExternalIdStr, new PostLoansLoanIdTransactionsRequest().dateFormat("dd MMMM yyyy").locale("en") .makeChargeRefund(loanExternalIdStr, new PostLoansLoanIdTransactionsRequest().dateFormat("dd MMMM yyyy").locale("en")
.loanChargeId(penalty1LoanChargeId).transactionAmount(1.0).externalId(transactionExternalIdStr)); .loanChargeId(Long.valueOf(penalty1LoanChargeId)).transactionAmount(1.0).externalId(transactionExternalIdStr));
assertEquals(transactionExternalIdStr, chargeRefundResultWithExternalId.getResourceExternalId()); assertEquals(transactionExternalIdStr, chargeRefundResultWithExternalId.getResourceExternalId());
response = loanTransactionHelper.getLoanTransactionDetails((long) loanId, transactionExternalIdStr); response = loanTransactionHelper.getLoanTransactionDetails((long) loanId, transactionExternalIdStr);
@@ -671,7 +671,7 @@ public class LoanAccountChargeOffWithAdvancedPaymentAllocationTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)// .principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)//
.numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)// .numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)//
.interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)// .interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)//
@@ -423,7 +423,7 @@ public class LoanAccountChargeReveseReplayWithAdvancedPaymentAllocationTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)// .principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)//
.numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)// .numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)//
.interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)// .interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)//
@@ -1176,7 +1176,7 @@ public class LoanPostChargeOffScenariosTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)// .principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)//
.numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)// .numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)//
.interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)// .interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)//
@@ -92,7 +92,7 @@ public class LoanWithAdvancedPaymentAllocationIntegrationTests {
Assertions.assertNotNull(loanProductId); Assertions.assertNotNull(loanProductId);
GetLoanProductsProductIdResponse loanProduct = LOAN_TRANSACTION_HELPER.getLoanProduct(loanProductId); GetLoanProductsProductIdResponse loanProduct = LOAN_TRANSACTION_HELPER.getLoanProduct(loanProductId);
final PostClientsResponse clientResponse = CLIENT_HELPER.createClient(new PostClientsRequest().activationDate("01 January 2022") final PostClientsResponse clientResponse = CLIENT_HELPER.createClient(new PostClientsRequest().activationDate("01 January 2022")
.active(true).dateFormat("dd MMMM yyyy").fullname("fullName").locale("en").legalFormId(1).officeId(1)); .active(true).dateFormat("dd MMMM yyyy").fullname("fullName").locale("en").legalFormId(1L).officeId(1L));
Integer loanId = createLoanAccount(LOAN_TRANSACTION_HELPER, clientResponse.getClientId().toString(), loanProductId.toString(), Integer loanId = createLoanAccount(LOAN_TRANSACTION_HELPER, clientResponse.getClientId().toString(), loanProductId.toString(),
"02 January 2022"); "02 January 2022");
// then // then
@@ -262,7 +262,7 @@ public class UndoRepaymentWithDownPaymentIntegrationTest {
.maxInterestRatePerPeriod((double) 0)// .maxInterestRatePerPeriod((double) 0)//
.interestRateFrequencyType(2)// .interestRateFrequencyType(2)//
.repaymentEvery(30)// .repaymentEvery(30)//
.repaymentFrequencyType(0)// .repaymentFrequencyType(0L)//
.principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)// .principalVariationsForBorrowerCycle(principalVariationsForBorrowerCycle)//
.numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)// .numberOfRepaymentVariationsForBorrowerCycle(numberOfRepaymentVariationsForBorrowerCycle)//
.interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)// .interestRateVariationsForBorrowerCycle(interestRateVariationsForBorrowerCycle)//
@@ -56,7 +56,7 @@ public class ClientTest extends IntegrationTest {
// TODO why dateFormat and locale required even when no activationDate?! // TODO why dateFormat and locale required even when no activationDate?!
// https://issues.apache.org/jira/browse/FINERACT-1233 // https://issues.apache.org/jira/browse/FINERACT-1233
return ok(fineract().clients.create6( return ok(fineract().clients.create6(
new PostClientsRequest().legalFormId(1).officeId(1).fullname("TestClient").dateFormat(dateFormat()).locale("en_US"))) new PostClientsRequest().legalFormId(1L).officeId(1L).fullname("TestClient").dateFormat(dateFormat()).locale("en_US")))
.getClientId(); .getClientId();
} }
@@ -81,8 +81,8 @@ public class ClientHelper extends IntegrationTest {
public static final String UNDOREJECT_CLIENT_COMMAND = "undoRejection"; public static final String UNDOREJECT_CLIENT_COMMAND = "undoRejection";
public static final String UNDOWITHDRAWN_CLIENT_COMMAND = "undoWithdrawal"; public static final String UNDOWITHDRAWN_CLIENT_COMMAND = "undoWithdrawal";
public static final String DEFAULT_OFFICE_ID = "1"; public static final String DEFAULT_OFFICE_ID = "1";
public static final Integer LEGALFORM_ID_PERSON = 1; public static final Long LEGALFORM_ID_PERSON = 1L;
public static final Integer LEGALFORM_ID_ENTITY = 2; public static final Long LEGALFORM_ID_ENTITY = 2L;
public static final String CREATED_DATE = Utils.getLocalDateOfTenant().minusDays(5).format(Utils.dateFormatter); public static final String CREATED_DATE = Utils.getLocalDateOfTenant().minusDays(5).format(Utils.dateFormatter);
public static final String CREATED_DATE_PLUS_ONE = Utils.getLocalDateOfTenant().minusDays(4).format(Utils.dateFormatter); public static final String CREATED_DATE_PLUS_ONE = Utils.getLocalDateOfTenant().minusDays(4).format(Utils.dateFormatter);
public static final String CREATED_DATE_PLUS_TWO = Utils.getLocalDateOfTenant().minusDays(3).format(Utils.dateFormatter); public static final String CREATED_DATE_PLUS_TWO = Utils.getLocalDateOfTenant().minusDays(3).format(Utils.dateFormatter);
@@ -319,12 +319,11 @@ public class ClientHelper extends IntegrationTest {
return (Integer) getClient(requestSpec, responseSpec, clientId, "staffId"); return (Integer) getClient(requestSpec, responseSpec, clientId, "staffId");
} }
public static HashMap<String, Object> setInitialClientValues(final String officeId, final Integer legalFormId) { public static HashMap<String, Object> setInitialClientValues(final String officeId, final Long legalFormId) {
return setInitialClientValues(officeId, legalFormId, UUID.randomUUID().toString()); return setInitialClientValues(officeId, legalFormId, UUID.randomUUID().toString());
} }
public static HashMap<String, Object> setInitialClientValues(final String officeId, final Integer legalFormId, public static HashMap<String, Object> setInitialClientValues(final String officeId, final Long legalFormId, final String externalId) {
final String externalId) {
HashMap<String, Object> map = new HashMap<>(); HashMap<String, Object> map = new HashMap<>();
map.put("officeId", officeId); map.put("officeId", officeId);
map.put("legalFormId", legalFormId); map.put("legalFormId", legalFormId);
@@ -338,7 +337,7 @@ public class ClientHelper extends IntegrationTest {
return map; return map;
} }
public static String getBasicClientAsJSON(final String officeId, final Integer legalFormId, final String externalId) { public static String getBasicClientAsJSON(final String officeId, final Long legalFormId, final String externalId) {
HashMap<String, Object> map = setInitialClientValues(officeId, legalFormId, externalId); HashMap<String, Object> map = setInitialClientValues(officeId, legalFormId, externalId);
map.put("active", "true"); map.put("active", "true");
map.put("activationDate", DEFAULT_DATE); map.put("activationDate", DEFAULT_DATE);
@@ -867,7 +866,7 @@ public class ClientHelper extends IntegrationTest {
} }
public static PostClientsRequest defaultClientCreationRequest() { public static PostClientsRequest defaultClientCreationRequest() {
return new PostClientsRequest().officeId(1).legalFormId(LEGALFORM_ID_PERSON) return new PostClientsRequest().officeId(1L).legalFormId(LEGALFORM_ID_PERSON)
.firstname(Utils.randomStringGenerator("Client_FirstName_", 5)).lastname(Utils.randomStringGenerator("Client_LastName_", 5)) .firstname(Utils.randomStringGenerator("Client_FirstName_", 5)).lastname(Utils.randomStringGenerator("Client_LastName_", 5))
.externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT).locale("en").active(true) .externalId(UUID.randomUUID().toString()).dateFormat(Utils.DATE_FORMAT).locale("en").active(true)
.activationDate(DEFAULT_DATE); .activationDate(DEFAULT_DATE);
@@ -185,7 +185,7 @@ public class InlineLoanCOBTest {
final GetDelinquencyBucketsResponse delinquencyBucket = DelinquencyBucketsHelper.getDelinquencyBucket(requestSpec, responseSpec, final GetDelinquencyBucketsResponse delinquencyBucket = DelinquencyBucketsHelper.getDelinquencyBucket(requestSpec, responseSpec,
delinquencyBucketResponse.getResourceId()); delinquencyBucketResponse.getResourceId());
final Integer loanProductID = createLoanProduct(loanTransactionHelper, delinquencyBucket.getId()); final Integer loanProductID = createLoanProduct(loanTransactionHelper, Math.toIntExact(delinquencyBucket.getId()));
Assertions.assertNotNull(loanProductID); Assertions.assertNotNull(loanProductID);
HashMap loanStatusHashMap; HashMap loanStatusHashMap;