generated from openMF/ph-ee-start-here
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
240 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...n/java/org/mifos/connector/common/identityaccountmapper/dto/AccountLookupResponseDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
import java.util.List; | ||
|
||
public class AccountLookupResponseDTO { | ||
private String payeeIdentity; | ||
private List<PaymentModalityDTO> paymentModalityList; | ||
|
||
public AccountLookupResponseDTO(String payeeIdentity, List<PaymentModalityDTO> paymentModalityList) { | ||
this.payeeIdentity = payeeIdentity; | ||
this.paymentModalityList = paymentModalityList; | ||
} | ||
|
||
public String getPayeeIdentity() { | ||
return payeeIdentity; | ||
} | ||
|
||
public void setPayeeIdentity(String payeeIdentity) { | ||
this.payeeIdentity = payeeIdentity; | ||
} | ||
|
||
public List<PaymentModalityDTO> getPaymentModalityList() { | ||
return paymentModalityList; | ||
} | ||
|
||
public void setPaymentModalityList(List<PaymentModalityDTO> paymentModalityList) { | ||
this.paymentModalityList = paymentModalityList; | ||
} | ||
|
||
} |
39 changes: 39 additions & 0 deletions
39
...in/java/org/mifos/connector/common/identityaccountmapper/dto/AccountMapperRequestDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
import java.util.List; | ||
|
||
public class AccountMapperRequestDTO { | ||
private String requestID; | ||
private String sourceBBID; | ||
private List< BeneficiaryDTO > beneficiaries ; | ||
|
||
public AccountMapperRequestDTO(String requestID, String sourceBBID, List<BeneficiaryDTO> beneficiaries) { | ||
this.requestID = requestID; | ||
this.sourceBBID = sourceBBID; | ||
this.beneficiaries = beneficiaries; | ||
} | ||
|
||
public String getRequestID() { | ||
return requestID; | ||
} | ||
|
||
public void setRequestID(String requestID) { | ||
this.requestID = requestID; | ||
} | ||
|
||
public String getSourceBBID() { | ||
return sourceBBID; | ||
} | ||
|
||
public void setSourceBBID(String sourceBBID) { | ||
this.sourceBBID = sourceBBID; | ||
} | ||
|
||
public List<BeneficiaryDTO> getBeneficiaries() { | ||
return beneficiaries; | ||
} | ||
|
||
public void setBeneficiaries(List<BeneficiaryDTO> beneficiaries) { | ||
this.beneficiaries = beneficiaries; | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
src/main/java/org/mifos/connector/common/identityaccountmapper/dto/BeneficiaryDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
public class BeneficiaryDTO { | ||
private String payeeIdentity; | ||
private String paymentModality; | ||
private String financialAddress; | ||
private String bankingInstitutionCode; | ||
|
||
public BeneficiaryDTO(String payeeIdentity, String paymentModality, String financialAddress, String bankingInstitutionCode) { | ||
this.payeeIdentity = payeeIdentity; | ||
this.paymentModality = paymentModality; | ||
this.financialAddress = financialAddress; | ||
this.bankingInstitutionCode = bankingInstitutionCode; | ||
} | ||
|
||
public String getBankingInstitutionCode() { | ||
return bankingInstitutionCode; | ||
} | ||
|
||
public void setBankingInstitutionCode(String bankingInstitutionCode) { | ||
this.bankingInstitutionCode = bankingInstitutionCode; | ||
} | ||
|
||
public String getPayeeIdentity() { | ||
return payeeIdentity; | ||
} | ||
|
||
public void setPayeeIdentity(String payeeIdentity) { | ||
this.payeeIdentity = payeeIdentity; | ||
} | ||
|
||
public String getPaymentModality() { | ||
return paymentModality; | ||
} | ||
|
||
public void setPaymentModality(String paymentModality) { | ||
this.paymentModality = paymentModality; | ||
} | ||
|
||
public String getFinancialAddress() { | ||
return financialAddress; | ||
} | ||
|
||
public void setFinancialAddress(String financialAddress) { | ||
this.financialAddress = financialAddress; | ||
} | ||
|
||
} |
49 changes: 49 additions & 0 deletions
49
src/main/java/org/mifos/connector/common/identityaccountmapper/dto/CallbackDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
import java.util.List; | ||
|
||
public class CallbackDTO { | ||
private String requestID; | ||
private String registerRequestID; | ||
private int numberFailedCases; | ||
private List<FailedCaseDTO> failedCases; | ||
|
||
public CallbackDTO(String requestID, String registerRequestID, int numberFailedCases, List<FailedCaseDTO> failedCases) { | ||
this.requestID = requestID; | ||
this.registerRequestID = registerRequestID; | ||
this.numberFailedCases = numberFailedCases; | ||
this.failedCases = failedCases; | ||
} | ||
|
||
public String getRequestID() { | ||
return requestID; | ||
} | ||
|
||
public void setRequestID(String requestID) { | ||
this.requestID = requestID; | ||
} | ||
|
||
public String getRegisterRequestID() { | ||
return registerRequestID; | ||
} | ||
|
||
public void setRegisterRequestID(String registerRequestID) { | ||
this.registerRequestID = registerRequestID; | ||
} | ||
|
||
public int getNumberFailedCases() { | ||
return numberFailedCases; | ||
} | ||
|
||
public void setNumberFailedCases(int numberFailedCases) { | ||
this.numberFailedCases = numberFailedCases; | ||
} | ||
|
||
public List<FailedCaseDTO> getFailedCases() { | ||
return failedCases; | ||
} | ||
|
||
public void setFailedCases(List<FailedCaseDTO> failedCases) { | ||
this.failedCases = failedCases; | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/main/java/org/mifos/connector/common/identityaccountmapper/dto/FailedCaseDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
public class FailedCaseDTO { | ||
private String payeeIdentity ; | ||
private String paymentModality; | ||
private String failureReason; | ||
|
||
public FailedCaseDTO(String payeeIdentity, String paymentModality, String failureReason) { | ||
this.payeeIdentity = payeeIdentity; | ||
this.paymentModality = paymentModality; | ||
this.failureReason = failureReason; | ||
} | ||
|
||
public String getPayeeIdentity() { | ||
return payeeIdentity; | ||
} | ||
|
||
public void setPayeeIdentity(String payeeIdentity) { | ||
this.payeeIdentity = payeeIdentity; | ||
} | ||
|
||
public String getPaymentModality() { | ||
return paymentModality; | ||
} | ||
|
||
public void setPaymentModality(String paymentModality) { | ||
this.paymentModality = paymentModality; | ||
} | ||
|
||
public String getFailureReason() { | ||
return failureReason; | ||
} | ||
|
||
public void setFailureReason(String failureReason) { | ||
this.failureReason = failureReason; | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/main/java/org/mifos/connector/common/identityaccountmapper/dto/PaymentModalityDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package org.mifos.connector.common.identityaccountmapper.dto; | ||
|
||
public class PaymentModalityDTO { | ||
private String paymentModality; | ||
private String financialAddress; | ||
private String bankingInstitutionCode; | ||
|
||
public PaymentModalityDTO(String paymentModality, String financialAddress, String bankingInstitutionCode) { | ||
this.paymentModality = paymentModality; | ||
this.financialAddress = financialAddress; | ||
this.bankingInstitutionCode = bankingInstitutionCode; | ||
} | ||
|
||
public String getPaymentModality() { | ||
return paymentModality; | ||
} | ||
|
||
public void setPaymentModality(String paymentModality) { | ||
this.paymentModality = paymentModality; | ||
} | ||
|
||
public String getFinancialAddress() { | ||
return financialAddress; | ||
} | ||
|
||
public void setFinancialAddress(String financialAddress) { | ||
this.financialAddress = financialAddress; | ||
} | ||
|
||
public String getBankingInstitutionCode() { | ||
return bankingInstitutionCode; | ||
} | ||
|
||
public void setBankingInstitutionCode(String bankingInstitutionCode) { | ||
this.bankingInstitutionCode = bankingInstitutionCode; | ||
} | ||
} |