Compare commits
merge into: IME-LONDON:master
IME-LONDON:#feature/Redmine-34481-AliPay
IME-LONDON:GuavaPay
IME-LONDON:feature/Redmine-17825-Email_Template
IME-LONDON:features/consume_IME_Nepal_Send_API
IME-LONDON:gcc
IME-LONDON:master
IME-LONDON:prod
IME-LONDON:staging
pull from: IME-LONDON:#feature/Redmine-34481-AliPay
IME-LONDON:#feature/Redmine-34481-AliPay
IME-LONDON:GuavaPay
IME-LONDON:feature/Redmine-17825-Email_Template
IME-LONDON:features/consume_IME_Nepal_Send_API
IME-LONDON:gcc
IME-LONDON:master
IME-LONDON:prod
IME-LONDON:staging
37 Commits
57 changed files with 7680 additions and 42 deletions
-
1Business/BusinessLogic/SMSApiService/SMSService.cs
-
18Business/BusinessLogic/TPApiServices/Factory/ApiFactoryServices.cs
-
1Common/Models/Enums/GeneralEnum.cs
-
17GMENepal/GMENepalAPIService/GMENepalAPI.cs
-
1Repository/DAO/ThirdParty/ThirdPartyRepo.cs
-
103TPServices/AliPayRemit/Model/AliPayModel.cs
-
226TPServices/AliPayRemit/Services/AliPayAPI.cs
-
2TPServices/App.config
-
4924TPServices/Connected Services/IMENepalSendAPI/Reference.cs
-
31TPServices/Connected Services/IMENepalSendAPI/Reference.svcmap
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.AccountValidationResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.BankAccountValidationResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CancelTXNResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CancelTXNResult.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CheckAccountResult.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.ChekAccountResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.ConfirmTXNResponse1.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.ConfirmTxnResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CreateTXNResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CreateTXNResult.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CreateTXNV2Response.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.CreateTXNV3Response.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetAgentBranchResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetAgentResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetAgent_V2Response.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetCalculationResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetCalculationResult.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetStatusByTxnRefIdResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetStatusResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.GetStatusResult.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.ReconcileReportResponse.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.Return_AGENT.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.Return_AGENTBRANCH.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.Return_AGENT_V2.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/TPApiServices.IMENepalSendAPI.Return_TRANSREPORT.datasource
-
10TPServices/Connected Services/IMENepalSendAPI/configuration.svcinfo
-
201TPServices/Connected Services/IMENepalSendAPI/configuration91.svcinfo
-
938TPServices/Connected Services/IMENepalSendAPI/imeServiceV2.wsdl
-
99TPServices/GuavaPayRemit/Model/GuavaPayModel.cs
-
236TPServices/GuavaPayRemit/Services/GuavaPayAPI.cs
-
21TPServices/IME/Model/BankLists.cs
-
19TPServices/IME/Model/BankValidation.cs
-
16TPServices/IME/Model/BranchList.cs
-
16TPServices/IME/Model/CheckTranStatus.cs
-
42TPServices/IME/Model/CreateTransaction.cs
-
15TPServices/IME/Model/Credentials.cs
-
20TPServices/IME/Model/GetCalculation.cs
-
18TPServices/IME/Model/Reconcilation.cs
-
202TPServices/IME/Services/IMEServices.cs
-
110TPServices/TPServices.csproj
-
1TPServices/packages.config
-
34ThirdPartyAPIs/App_Data/Templates/BANK_TRANSFER_TXN_PENDING.html
-
49ThirdPartyAPIs/App_Data/Templates/CUSTOMER_KYC_APPROVED.html
-
48ThirdPartyAPIs/App_Data/Templates/PAID_TXN.html
-
5ThirdPartyAPIs/App_Data/Templates/PIN_PASSWORD_EMAIL.html
-
2ThirdPartyAPIs/ThirdPartyAPIs.csproj
-
46ThirdPartyAPIs/Web.config
@ -0,0 +1,103 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.AliPay.Model |
|||
{ |
|||
public class AliPayModel |
|||
{ |
|||
} |
|||
public class AliPaySendRequest |
|||
{ |
|||
public string transferRequestId { get; set; } |
|||
public BeneficiaryReceiptMethod beneficiaryReceiptMethod { get; set; } |
|||
public string instructedAmountType { get; set; } |
|||
public string bizSceneType { get; set; } |
|||
public TrahsferToAmount trahsferToAmount { get; set; } |
|||
public additionalTransferDetails additionalTransferDetails { get; set; } |
|||
public string transferReference { get; set; } |
|||
} |
|||
|
|||
public class BeneficiaryReceiptMethod |
|||
{ |
|||
public WalletDetail walletDetail { get; set; } |
|||
public string paymentMethodType { get; set; } |
|||
} |
|||
public class WalletDetail |
|||
{ |
|||
public string walletName { get; set; } |
|||
public string customerId { get; set; } |
|||
public CustomerName customerName { get; set; } |
|||
} |
|||
public class CustomerName |
|||
{ |
|||
public string firstName { get; set; } |
|||
public string lastName { get; set; } |
|||
public string fullName { get; set; } |
|||
public string middleName { get; set; } |
|||
} |
|||
|
|||
public class TrahsferToAmount |
|||
{ |
|||
public string currency { get; set; } |
|||
public string value { get; set; } |
|||
} |
|||
|
|||
public class additionalTransferDetails |
|||
{ |
|||
public beneficiary beneficiary { get; set; } |
|||
public string transferPurpose { get; set; } |
|||
public string subTransferPurpose { get; set; } |
|||
public string transferFromRegion { get; set; } |
|||
public payer payer { get; set; } |
|||
public string transferToRegion { get; set; } |
|||
|
|||
} |
|||
public class beneficiary |
|||
{ |
|||
public string nationality { get; set; } |
|||
public CustomerName userName { get; set; } |
|||
} |
|||
|
|||
public class payer |
|||
{ |
|||
public userAddress userAddress { get; set; } |
|||
public string nationality { get; set; } |
|||
public string userPhoneNo { get; set; } |
|||
public certificate certificate { get; set; } |
|||
public CustomerName userName { get; set; } |
|||
public string userId { get; set; } |
|||
public string birthDate { get; set; } |
|||
} |
|||
|
|||
public class userAddress |
|||
{ |
|||
public string zipCode { get; set; } |
|||
public string city { get; set; } |
|||
public string address2 { get; set; } |
|||
public string address1 { get; set; } |
|||
public string region { get; set; } |
|||
} |
|||
|
|||
|
|||
public class certificate |
|||
{ |
|||
public string certificateNo { get; set; } |
|||
public string certificateType { get; set; } |
|||
} |
|||
|
|||
|
|||
|
|||
public class AliPayAuthResponsetModel |
|||
{ |
|||
public class result |
|||
{ |
|||
public string resultCode { get; set; } |
|||
public string resultMessage { get; set; } |
|||
public string resultStatus { get; set; } |
|||
} |
|||
public string transferId { get; set; } |
|||
} |
|||
} |
@ -0,0 +1,226 @@ |
|||
using Common.Models.RequestResponse; |
|||
using Common.Models.Status; |
|||
using Common.Models.TxnModel; |
|||
using Common.TPService; |
|||
using Common.Utility; |
|||
using log4net; |
|||
using Newtonsoft.Json; |
|||
using Org.BouncyCastle.Crypto; |
|||
using Org.BouncyCastle.OpenSsl; |
|||
using Org.BouncyCastle.Security; |
|||
using RestSharp; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.IO; |
|||
using System.Linq; |
|||
using System.Security.Cryptography; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using TPApiServices.AliPay.Model; |
|||
|
|||
namespace TPApiServices.AliPayRemit.Services |
|||
{ |
|||
public class AliPayAPI : ITPApiServices |
|||
{ |
|||
private readonly ILog _log = LogManager.GetLogger(typeof(AliPayAPI)); |
|||
protected string baseUrl { get; set; } |
|||
protected string clientId { get; set; } |
|||
protected string private_key { get; set; } |
|||
protected string requestTime { get; set; } |
|||
|
|||
public AliPayAPI() |
|||
{ |
|||
baseUrl = GetStatic.ReadWebConfig("aliPay_base_url", ""); |
|||
clientId = GetStatic.ReadWebConfig("aliPay_clint_Id", ""); |
|||
private_key = GetStatic.ReadWebConfig("aliPay_private_key", ""); |
|||
} |
|||
|
|||
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class |
|||
{ |
|||
switch (MethodName) |
|||
{ |
|||
case "send": |
|||
return SendTransaction(model as SendTransaction); |
|||
case "status": |
|||
return GetStatus(model as GetStatus); |
|||
default: |
|||
throw new NotImplementedException(); |
|||
} |
|||
} |
|||
|
|||
private TPResponse GetStatus(GetStatus getStatus) |
|||
{ |
|||
throw new NotImplementedException(); |
|||
} |
|||
|
|||
private TPResponse SendTransaction(SendTransaction model) |
|||
{ |
|||
TPResponse txnResponse = new TPResponse(); |
|||
|
|||
// Map transaction details to AliPaySendRequest
|
|||
AliPaySendRequest aliPaySendRequest = MapSendTxnDetails(model); |
|||
|
|||
// Generate the signature
|
|||
string signature = GenerateSignature(aliPaySendRequest); |
|||
|
|||
// Create a new REST client and request
|
|||
var client = new RestClient(baseUrl); |
|||
var request = new RestRequest("/transfer", Method.POST); |
|||
|
|||
// Set headers
|
|||
request.AddHeader("Content-Type", "application/json"); |
|||
request.AddHeader("clientId", clientId); |
|||
request.AddHeader("requestTime", DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss+08:00")); // Adjust to match your request time format
|
|||
request.AddHeader("signature", $"algorithm=RSA256, keyVersion=0, signature={signature}"); |
|||
|
|||
// Set the request body
|
|||
string bodyContent = JsonConvert.SerializeObject(aliPaySendRequest, Formatting.Indented); |
|||
request.AddParameter("application/json", bodyContent, ParameterType.RequestBody); |
|||
|
|||
// Execute the request
|
|||
IRestResponse response = client.Execute(request); |
|||
|
|||
// Handle the response
|
|||
if (response.IsSuccessful) |
|||
{ |
|||
txnResponse = JsonConvert.DeserializeObject<TPResponse>(response.Content); |
|||
_log.Info($"Transaction successful: {response.Content}"); |
|||
} |
|||
else |
|||
{ |
|||
_log.Error($"Transaction failed: {response.ErrorMessage}"); |
|||
txnResponse.Msg = response.ErrorMessage; |
|||
} |
|||
|
|||
return txnResponse; |
|||
} |
|||
|
|||
public AliPaySendRequest MapSendTxnDetails(SendTransaction model) |
|||
{ |
|||
return new AliPaySendRequest |
|||
{ |
|||
transferRequestId = model.Transaction.JMEControlNo, |
|||
beneficiaryReceiptMethod = new BeneficiaryReceiptMethod |
|||
{ |
|||
walletDetail = new WalletDetail |
|||
{ |
|||
walletName = "ALIPAY_CN", |
|||
customerId = model.Receiver.REmail, |
|||
customerName = new CustomerName |
|||
{ |
|||
firstName = model.Receiver.RFirstName, |
|||
lastName = model.Receiver.RLastName, |
|||
fullName = model.Receiver.RFullName, |
|||
middleName = model.Receiver.RMiddleName |
|||
} |
|||
}, |
|||
paymentMethodType = model.Transaction.PaymentType |
|||
}, |
|||
instructedAmountType = "TRANSFER_TO", |
|||
bizSceneType = "TRANSFER", |
|||
trahsferToAmount = new TrahsferToAmount |
|||
{ |
|||
currency = model.Transaction.PCurr, |
|||
value = Convert.ToString(model.Transaction.PAmt) |
|||
}, |
|||
additionalTransferDetails = new additionalTransferDetails |
|||
{ |
|||
beneficiary = new beneficiary |
|||
{ |
|||
nationality = model.Receiver.RNativeCountry, |
|||
userName = new CustomerName |
|||
{ |
|||
firstName = model.Receiver.RFirstName, |
|||
lastName = model.Receiver.RLastName, |
|||
fullName = model.Receiver.RFullName, |
|||
middleName = model.Receiver.RMiddleName |
|||
} |
|||
}, |
|||
transferPurpose = model.Transaction.PurposeOfRemittanceName, |
|||
subTransferPurpose = "", |
|||
transferFromRegion = "GB", |
|||
payer = new payer |
|||
{ |
|||
userAddress = new userAddress |
|||
{ |
|||
zipCode = model.Sender.SZipCode, |
|||
city = model.Sender.SCity, |
|||
address1 = model.Sender.SAddress, |
|||
address2 = model.Sender.SCityId, |
|||
region = "GB" |
|||
}, |
|||
nationality = model.Sender.SNativeCountry, |
|||
userPhoneNo = model.Sender.SMobile, |
|||
certificate = new certificate |
|||
{ |
|||
certificateNo = model.Sender.SIdNo, |
|||
certificateType = model.Sender.SIdType |
|||
}, |
|||
userName = new CustomerName |
|||
{ |
|||
firstName = model.Sender.SFirstName, |
|||
lastName = model.Sender.SMiddleName, |
|||
fullName = model.Sender.SFullName, |
|||
middleName = model.Sender.SMiddleName |
|||
}, |
|||
userId = model.Sender.SEmail, |
|||
birthDate = model.Sender.SBirthDate |
|||
}, |
|||
transferToRegion = "CN" |
|||
}, |
|||
transferReference = "" |
|||
}; |
|||
} |
|||
|
|||
private string GenerateSignature(AliPaySendRequest aliPaySendRequest) |
|||
{ |
|||
string textToEncrypt = aliPaySendRequest.additionalTransferDetails.payer.userName.firstName |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userName.middleName |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userName.lastName |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userName.fullName |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.nationality |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userAddress.city |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userAddress.address1 |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.certificate.certificateType |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.certificate.certificateNo |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userPhoneNo |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.userId |
|||
+ aliPaySendRequest.additionalTransferDetails.payer.birthDate |
|||
+ aliPaySendRequest.beneficiaryReceiptMethod.walletDetail.walletName |
|||
+ aliPaySendRequest.beneficiaryReceiptMethod.walletDetail.customerId |
|||
+ aliPaySendRequest.beneficiaryReceiptMethod.walletDetail.customerName.firstName |
|||
+ aliPaySendRequest.beneficiaryReceiptMethod.walletDetail.customerName.middleName |
|||
+ aliPaySendRequest.beneficiaryReceiptMethod.walletDetail.customerName.lastName |
|||
+ aliPaySendRequest.additionalTransferDetails.beneficiary.nationality |
|||
+ aliPaySendRequest.additionalTransferDetails.beneficiary.userName.firstName |
|||
+ aliPaySendRequest.additionalTransferDetails.beneficiary.userName.middleName |
|||
+ aliPaySendRequest.additionalTransferDetails.beneficiary.userName.lastName |
|||
+ aliPaySendRequest.trahsferToAmount.currency |
|||
+ aliPaySendRequest.trahsferToAmount.value |
|||
+ aliPaySendRequest.additionalTransferDetails.transferPurpose |
|||
+ aliPaySendRequest.additionalTransferDetails.transferFromRegion |
|||
+ aliPaySendRequest.additionalTransferDetails.transferToRegion |
|||
+ aliPaySendRequest.transferReference; |
|||
|
|||
// Convert the text to encrypt into bytes
|
|||
byte[] dataBytes = Encoding.UTF8.GetBytes(textToEncrypt); |
|||
|
|||
// Load private key and sign the data
|
|||
byte[] signatureBytes; |
|||
using (TextReader reader = new StringReader(private_key)) |
|||
{ |
|||
PemReader pemReader = new PemReader(reader); |
|||
AsymmetricCipherKeyPair keyPair = (AsymmetricCipherKeyPair)pemReader.ReadObject(); |
|||
ISigner signer = SignerUtilities.GetSigner("SHA256withRSA"); |
|||
signer.Init(true, keyPair.Private); |
|||
signer.BlockUpdate(dataBytes, 0, dataBytes.Length); |
|||
signatureBytes = signer.GenerateSignature(); |
|||
} |
|||
|
|||
// Convert the signature to Base64
|
|||
string signature = Convert.ToBase64String(signatureBytes); |
|||
|
|||
return signature; |
|||
} |
|||
} |
|||
} |
4924
TPServices/Connected Services/IMENepalSendAPI/Reference.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,31 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="6f263437-852e-44ef-a506-8ed656db4e5f" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> |
|||
<ClientOptions> |
|||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods> |
|||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod> |
|||
<EnableDataBinding>true</EnableDataBinding> |
|||
<ExcludedTypes /> |
|||
<ImportXmlTypes>false</ImportXmlTypes> |
|||
<GenerateInternalTypes>false</GenerateInternalTypes> |
|||
<GenerateMessageContracts>false</GenerateMessageContracts> |
|||
<NamespaceMappings /> |
|||
<CollectionMappings /> |
|||
<GenerateSerializableTypes>true</GenerateSerializableTypes> |
|||
<Serializer>Auto</Serializer> |
|||
<UseSerializerForFaults>true</UseSerializerForFaults> |
|||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies> |
|||
<ReferencedAssemblies /> |
|||
<ReferencedDataContractTypes /> |
|||
<ServiceContractMappings /> |
|||
</ClientOptions> |
|||
<MetadataSources> |
|||
<MetadataSource Address="http://211.25.249.199:9001/imeServiceV2.asmx?wsdl" Protocol="http" SourceId="1" /> |
|||
</MetadataSources> |
|||
<Metadata> |
|||
<MetadataFile FileName="imeServiceV2.wsdl" MetadataType="Wsdl" ID="443ec5f1-6b2d-4db3-9d4b-a5c4a9a22206" SourceId="1" SourceUrl="http://211.25.249.199:9001/imeServiceV2.asmx?wsdl" /> |
|||
</Metadata> |
|||
<Extensions> |
|||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> |
|||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> |
|||
</Extensions> |
|||
</ReferenceGroup> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="AccountValidationResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.AccountValidationResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="BankAccountValidationResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.BankAccountValidationResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CancelTXNResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CancelTXNResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CancelTXNResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CancelTXNResult, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CheckAccountResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CheckAccountResult, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="ChekAccountResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.ChekAccountResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="ConfirmTXNResponse1" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.ConfirmTXNResponse1, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="ConfirmTxnResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.ConfirmTxnResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CreateTXNResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CreateTXNResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CreateTXNResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CreateTXNResult, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CreateTXNV2Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CreateTXNV2Response, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="CreateTXNV3Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.CreateTXNV3Response, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetAgentBranchResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetAgentBranchResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetAgentResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetAgentResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetAgent_V2Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetAgent_V2Response, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetCalculationResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetCalculationResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetCalculationResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetCalculationResult, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetStatusByTxnRefIdResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetStatusByTxnRefIdResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetStatusResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetStatusResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="GetStatusResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.GetStatusResult, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="ReconcileReportResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.ReconcileReportResponse, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="Return_AGENT" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.Return_AGENT, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="Return_AGENTBRANCH" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.Return_AGENTBRANCH, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="Return_AGENT_V2" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.Return_AGENT_V2, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
This file is automatically generated by Visual Studio .Net. It is |
|||
used to store generic object data source configuration information. |
|||
Renaming the file extension or editing the content of this file may |
|||
cause the file to be unrecognizable by the program. |
|||
--> |
|||
<GenericObjectDataSource DisplayName="Return_TRANSREPORT" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|||
<TypeInfo>TPApiServices.IMENepalSendAPI.Return_TRANSREPORT, Connected Services.IMENepalSendAPI.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|||
</GenericObjectDataSource> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> |
|||
<behaviors /> |
|||
<bindings> |
|||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="imeServiceV2Soap" />" bindingType="basicHttpBinding" name="imeServiceV2Soap" /> |
|||
</bindings> |
|||
<endpoints> |
|||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://211.25.249.199:9001/imeServiceV2.asmx" binding="basicHttpBinding" bindingConfiguration="imeServiceV2Soap" contract="IMENepalSendAPI.imeServiceV2Soap" name="imeServiceV2Soap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://211.25.249.199:9001/imeServiceV2.asmx" binding="basicHttpBinding" bindingConfiguration="imeServiceV2Soap" contract="IMENepalSendAPI.imeServiceV2Soap" name="imeServiceV2Soap" />" contractName="IMENepalSendAPI.imeServiceV2Soap" name="imeServiceV2Soap" /> |
|||
</endpoints> |
|||
</configurationSnapshot> |
@ -0,0 +1,201 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="TrTVxQ476XmuoFPIIHMS5qkPCEkYin9Z0AO3gi75Yvc="> |
|||
<bindingConfigurations> |
|||
<bindingConfiguration bindingType="basicHttpBinding" name="imeServiceV2Soap"> |
|||
<properties> |
|||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>imeServiceV2Soap</serializedValue> |
|||
</property> |
|||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>StrongWildcard</serializedValue> |
|||
</property> |
|||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>65536</serializedValue> |
|||
</property> |
|||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> |
|||
</property> |
|||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>0</serializedValue> |
|||
</property> |
|||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>0</serializedValue> |
|||
</property> |
|||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>0</serializedValue> |
|||
</property> |
|||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>0</serializedValue> |
|||
</property> |
|||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>0</serializedValue> |
|||
</property> |
|||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.Text.UTF8Encoding</serializedValue> |
|||
</property> |
|||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>Buffered</serializedValue> |
|||
</property> |
|||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>Text</serializedValue> |
|||
</property> |
|||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> |
|||
</property> |
|||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>None</serializedValue> |
|||
</property> |
|||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>None</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>None</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>Never</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>TransportSelected</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>(Collection)</serializedValue> |
|||
</property> |
|||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> |
|||
</property> |
|||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>UserName</serializedValue> |
|||
</property> |
|||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>Default</serializedValue> |
|||
</property> |
|||
</properties> |
|||
</bindingConfiguration> |
|||
</bindingConfigurations> |
|||
<endpoints> |
|||
<endpoint name="imeServiceV2Soap" contract="IMENepalSendAPI.imeServiceV2Soap" bindingType="basicHttpBinding" address="http://211.25.249.199:9001/imeServiceV2.asmx" bindingConfiguration="imeServiceV2Soap"> |
|||
<properties> |
|||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>http://211.25.249.199:9001/imeServiceV2.asmx</serializedValue> |
|||
</property> |
|||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>basicHttpBinding</serializedValue> |
|||
</property> |
|||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>imeServiceV2Soap</serializedValue> |
|||
</property> |
|||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>IMENepalSendAPI.imeServiceV2Soap</serializedValue> |
|||
</property> |
|||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> |
|||
</property> |
|||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue><Header /></serializedValue> |
|||
</property> |
|||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> |
|||
</property> |
|||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>My</serializedValue> |
|||
</property> |
|||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>LocalMachine</serializedValue> |
|||
</property> |
|||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>FindBySubjectDistinguishedName</serializedValue> |
|||
</property> |
|||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>False</serializedValue> |
|||
</property> |
|||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue>imeServiceV2Soap</serializedValue> |
|||
</property> |
|||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|||
<serializedValue /> |
|||
</property> |
|||
</properties> |
|||
</endpoint> |
|||
</endpoints> |
|||
</SavedWcfConfigurationInformation> |
@ -0,0 +1,938 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="WebServicesRemit" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="WebServicesRemit" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
|||
<wsdl:types> |
|||
<s:schema elementFormDefault="qualified" targetNamespace="WebServicesRemit"> |
|||
<s:element name="CancelTXN"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REFNO" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CANCEL_REASON" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="CancelTXNResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CancelTXNResult" type="tns:CancelTXNResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="CancelTXNResult"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="REFNO" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="COLLECT_AMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="EXCHANGE_RATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="SERVICE_CHARGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTAMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTCURRENCY" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="CreateTXN"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="FOREX_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REMITTER_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_MOBILE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDERS_IDENTITY_TYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_IDENTITY_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CONTACT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="COLLECT_AMT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUTAMT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYMENTTYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANKID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_BRANCH_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="TRNDATE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CALC_BY" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="CreateTXNResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CreateTXNResult" type="tns:CreateTXNResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="CreateTXNResult"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="REFNO" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="COLLECT_AMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="EXCHANGE_RATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="SERVICE_CHARGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTAMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTCURRENCY" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="CreateTXNV2"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="FOREX_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REMITTER_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_MOBILE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDERS_IDENTITY_TYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_IDENTITY_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CONTACT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="OCCUPATION" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SOURCE_OF_FUND" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RELATIONSHIP" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PURPOSE_OF_REMITTANCE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="COLLECT_AMT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUTAMT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYMENTTYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANKID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_BRANCH_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="TRNDATE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CALC_BY" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="CreateTXNV2Response"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CreateTXNV2Result" type="tns:CreateTXNResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetCalculation"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUT_AGENT_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REMIT_AMOUNT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYMENTTYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUT_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CALC_BY" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetCalculationResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetCalculationResult" type="tns:GetCalculationResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="GetCalculationResult"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="COLLECT_AMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="COLLECT_CURRENCY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="SERVICE_CHARGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="EXCHANGE_RATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTAMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTCURRENCY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="FOREX_SESSION_ID" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetStatus"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REFNO" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetStatusResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetStatusResult" type="tns:GetStatusResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="GetStatusResult"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="REFNO" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="SENDER_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="RECEIVER_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTAMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUTCURRENCY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="STATUS" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="STATUS_DATE" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetStatusByTxnRefId"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetStatusByTxnRefIdResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetStatusByTxnRefIdResult" type="tns:GetStatusResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="ReconcileReport"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REPORT_TYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="FROM_DATE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="TO_DATE" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="ReconcileReportResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ReconcileReportResult" type="tns:ArrayOfReturn_TRANSREPORT" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="ArrayOfReturn_TRANSREPORT"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="unbounded" name="Return_TRANSREPORT" nillable="true" type="tns:Return_TRANSREPORT" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:complexType name="Return_TRANSREPORT"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_BRANCH" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="TRANSACTION_STATUS" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="REFNO" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="SENDER_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="RECEIVER_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="RECEIVER_COUNTRY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUT_AMT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUT_CCY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="TRANSACTION_DATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="STATUS" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAID_DATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUT_AGENT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CANCEL_DATE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetAgent"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYMENTTYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUT_COUNTRY" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetAgentResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetAgentResult" type="tns:ArrayOfReturn_AGENT" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="ArrayOfReturn_AGENT"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="unbounded" name="Return_AGENT" nillable="true" type="tns:Return_AGENT" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:complexType name="Return_AGENT"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ADDRESS" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CITY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CURRENCY" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetAgentBranch"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="GetAgentBranchResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetAgentBranchResult" type="tns:Return_AGENTBRANCH" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="Return_AGENTBRANCH"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TXN_REF_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BRANCHES" type="tns:ArrayOfReturn_AGENTBRANCHLIST" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:complexType name="ArrayOfReturn_AGENTBRANCHLIST"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="unbounded" name="Return_AGENTBRANCHLIST" nillable="true" type="tns:Return_AGENTBRANCHLIST" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:complexType name="Return_AGENTBRANCHLIST"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="LOCATIONID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BRANCH" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ADDRESS" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CITY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BANK_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="EXT_BANK_BRANCH_ID" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="ChekAccount"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="input" nillable="true" type="tns:CheckAccountRequest" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="CheckAccountRequest"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANKID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="ChekAccountResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ChekAccountResult" type="tns:CheckAccountResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="CheckAccountResult"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="MESSAGE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NAME" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="CreateTXNV3"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CreateTXNRequest" nillable="true" type="tns:CreateTXNRequest" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="CreateTXNRequest"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TXN_REF_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="REMITTER_ID" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_MOBILE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDERS_IDENTITY_TYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SENDER_IDENTITY_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_ADDRESS" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CONTACT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_CITY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RECEIVER_COUNTRY" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUTAMT" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SEND_CURR_COST_RATE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAY_CURR_COST_RATE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYMENTTYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BANKID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BANK_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BANK_BRANCH_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="OCCUPATION" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="SOURCE_OF_FUND" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="RELATIONSHIP" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PURPOSE_OF_REMITTANCE" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="CreateTXNV3Response"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CreateTXNV3Result" type="tns:CreateTXNResult" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:element name="ConfirmTXN"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="request" nillable="true" type="tns:ConfirmTxnRequest" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="ConfirmTxnRequest"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="REFNO" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="ConfirmTXNResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ConfirmTXNResult" type="tns:ConfirmTxnResponse" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="ConfirmTxnResponse"> |
|||
<s:complexContent mixed="false"> |
|||
<s:extension base="tns:CreateTXNResult" /> |
|||
</s:complexContent> |
|||
</s:complexType> |
|||
<s:element name="BankAccountValidation"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="request" nillable="true" type="tns:AccountValidationRequest" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="AccountValidationRequest"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCOUNTNUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCOUNTNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANKBRANCHID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANKNAME" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="BankAccountValidationResponse"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="BankAccountValidationResult" type="tns:AccountValidationResponse" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="AccountValidationResponse"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="CODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="MESSAGE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NUMBER" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="BANK_ACCOUNT_NAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="MATCH_PERCENTAGE" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetAgent_V2"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="request" nillable="true" type="tns:GetAgentV2Request" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="GetAgentV2Request"> |
|||
<s:sequence> |
|||
<s:element minOccurs="1" maxOccurs="1" name="ACCESSCODE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="USERNAME" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PASSWORD" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_SESSION_ID" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="AGENT_TYPE" nillable="true" type="s:string" /> |
|||
<s:element minOccurs="1" maxOccurs="1" name="PAYOUT_COUNTRY" nillable="true" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:element name="GetAgent_V2Response"> |
|||
<s:complexType> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="GetAgent_V2Result" type="tns:ArrayOfReturn_AGENT_V2" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:element> |
|||
<s:complexType name="ArrayOfReturn_AGENT_V2"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="unbounded" name="Return_AGENT_V2" nillable="true" type="tns:Return_AGENT_V2" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
<s:complexType name="Return_AGENT_V2"> |
|||
<s:sequence> |
|||
<s:element minOccurs="0" maxOccurs="1" name="CODE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_SESSION_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_ID" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_NAME" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="AGENT_TYPE" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="PAYOUT_COUNTRY" type="s:string" /> |
|||
<s:element minOccurs="0" maxOccurs="1" name="ADDRESS" type="s:string" /> |
|||
</s:sequence> |
|||
</s:complexType> |
|||
</s:schema> |
|||
</wsdl:types> |
|||
<wsdl:message name="CancelTXNSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:CancelTXN" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CancelTXNSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:CancelTXNResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXN" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXNResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNV2SoapIn"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXNV2" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNV2SoapOut"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXNV2Response" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetCalculationSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetCalculation" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetCalculationSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetCalculationResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetStatusSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetStatus" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetStatusSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetStatusResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetStatusByTxnRefIdSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetStatusByTxnRefId" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetStatusByTxnRefIdSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetStatusByTxnRefIdResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ReconcileReportSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:ReconcileReport" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ReconcileReportSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:ReconcileReportResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgentSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetAgent" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgentSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetAgentResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgentBranchSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetAgentBranch" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgentBranchSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetAgentBranchResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ChekAccountSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:ChekAccount" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ChekAccountSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:ChekAccountResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNV3SoapIn"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXNV3" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="CreateTXNV3SoapOut"> |
|||
<wsdl:part name="parameters" element="tns:CreateTXNV3Response" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ConfirmTXNSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:ConfirmTXN" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="ConfirmTXNSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:ConfirmTXNResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="BankAccountValidationSoapIn"> |
|||
<wsdl:part name="parameters" element="tns:BankAccountValidation" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="BankAccountValidationSoapOut"> |
|||
<wsdl:part name="parameters" element="tns:BankAccountValidationResponse" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgent_V2SoapIn"> |
|||
<wsdl:part name="parameters" element="tns:GetAgent_V2" /> |
|||
</wsdl:message> |
|||
<wsdl:message name="GetAgent_V2SoapOut"> |
|||
<wsdl:part name="parameters" element="tns:GetAgent_V2Response" /> |
|||
</wsdl:message> |
|||
<wsdl:portType name="imeServiceV2Soap"> |
|||
<wsdl:operation name="CancelTXN"> |
|||
<wsdl:input message="tns:CancelTXNSoapIn" /> |
|||
<wsdl:output message="tns:CancelTXNSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXN"> |
|||
<wsdl:input message="tns:CreateTXNSoapIn" /> |
|||
<wsdl:output message="tns:CreateTXNSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV2"> |
|||
<wsdl:input message="tns:CreateTXNV2SoapIn" /> |
|||
<wsdl:output message="tns:CreateTXNV2SoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetCalculation"> |
|||
<wsdl:input message="tns:GetCalculationSoapIn" /> |
|||
<wsdl:output message="tns:GetCalculationSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatus"> |
|||
<wsdl:input message="tns:GetStatusSoapIn" /> |
|||
<wsdl:output message="tns:GetStatusSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatusByTxnRefId"> |
|||
<wsdl:input message="tns:GetStatusByTxnRefIdSoapIn" /> |
|||
<wsdl:output message="tns:GetStatusByTxnRefIdSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ReconcileReport"> |
|||
<wsdl:input message="tns:ReconcileReportSoapIn" /> |
|||
<wsdl:output message="tns:ReconcileReportSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent"> |
|||
<wsdl:input message="tns:GetAgentSoapIn" /> |
|||
<wsdl:output message="tns:GetAgentSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgentBranch"> |
|||
<wsdl:input message="tns:GetAgentBranchSoapIn" /> |
|||
<wsdl:output message="tns:GetAgentBranchSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ChekAccount"> |
|||
<wsdl:input message="tns:ChekAccountSoapIn" /> |
|||
<wsdl:output message="tns:ChekAccountSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV3"> |
|||
<wsdl:input message="tns:CreateTXNV3SoapIn" /> |
|||
<wsdl:output message="tns:CreateTXNV3SoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ConfirmTXN"> |
|||
<wsdl:input message="tns:ConfirmTXNSoapIn" /> |
|||
<wsdl:output message="tns:ConfirmTXNSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="BankAccountValidation"> |
|||
<wsdl:input message="tns:BankAccountValidationSoapIn" /> |
|||
<wsdl:output message="tns:BankAccountValidationSoapOut" /> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent_V2"> |
|||
<wsdl:input message="tns:GetAgent_V2SoapIn" /> |
|||
<wsdl:output message="tns:GetAgent_V2SoapOut" /> |
|||
</wsdl:operation> |
|||
</wsdl:portType> |
|||
<wsdl:binding name="imeServiceV2Soap" type="tns:imeServiceV2Soap"> |
|||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
|||
<wsdl:operation name="CancelTXN"> |
|||
<soap:operation soapAction="WebServicesRemit/CancelTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXN"> |
|||
<soap:operation soapAction="WebServicesRemit/CreateTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV2"> |
|||
<soap:operation soapAction="WebServicesRemit/CreateTXNV2" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetCalculation"> |
|||
<soap:operation soapAction="WebServicesRemit/GetCalculation" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatus"> |
|||
<soap:operation soapAction="WebServicesRemit/GetStatus" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatusByTxnRefId"> |
|||
<soap:operation soapAction="WebServicesRemit/GetStatusByTxnRefId" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ReconcileReport"> |
|||
<soap:operation soapAction="WebServicesRemit/ReconcileReport" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent"> |
|||
<soap:operation soapAction="WebServicesRemit/GetAgent" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgentBranch"> |
|||
<soap:operation soapAction="WebServicesRemit/GetAgentBranch" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ChekAccount"> |
|||
<soap:operation soapAction="WebServicesRemit/ChekAccount" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV3"> |
|||
<soap:operation soapAction="WebServicesRemit/CreateTXNV3" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ConfirmTXN"> |
|||
<soap:operation soapAction="WebServicesRemit/ConfirmTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="BankAccountValidation"> |
|||
<soap:operation soapAction="WebServicesRemit/BankAccountValidation" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent_V2"> |
|||
<soap:operation soapAction="WebServicesRemit/GetAgent_V2" style="document" /> |
|||
<wsdl:input> |
|||
<soap:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
</wsdl:binding> |
|||
<wsdl:binding name="imeServiceV2Soap12" type="tns:imeServiceV2Soap"> |
|||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
|||
<wsdl:operation name="CancelTXN"> |
|||
<soap12:operation soapAction="WebServicesRemit/CancelTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXN"> |
|||
<soap12:operation soapAction="WebServicesRemit/CreateTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV2"> |
|||
<soap12:operation soapAction="WebServicesRemit/CreateTXNV2" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetCalculation"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetCalculation" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatus"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetStatus" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetStatusByTxnRefId"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetStatusByTxnRefId" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ReconcileReport"> |
|||
<soap12:operation soapAction="WebServicesRemit/ReconcileReport" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetAgent" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgentBranch"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetAgentBranch" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ChekAccount"> |
|||
<soap12:operation soapAction="WebServicesRemit/ChekAccount" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="CreateTXNV3"> |
|||
<soap12:operation soapAction="WebServicesRemit/CreateTXNV3" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="ConfirmTXN"> |
|||
<soap12:operation soapAction="WebServicesRemit/ConfirmTXN" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="BankAccountValidation"> |
|||
<soap12:operation soapAction="WebServicesRemit/BankAccountValidation" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
<wsdl:operation name="GetAgent_V2"> |
|||
<soap12:operation soapAction="WebServicesRemit/GetAgent_V2" style="document" /> |
|||
<wsdl:input> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:input> |
|||
<wsdl:output> |
|||
<soap12:body use="literal" /> |
|||
</wsdl:output> |
|||
</wsdl:operation> |
|||
</wsdl:binding> |
|||
<wsdl:service name="imeServiceV2"> |
|||
<wsdl:port name="imeServiceV2Soap" binding="tns:imeServiceV2Soap"> |
|||
<soap:address location="http://211.25.249.199:9001/imeServiceV2.asmx" /> |
|||
</wsdl:port> |
|||
<wsdl:port name="imeServiceV2Soap12" binding="tns:imeServiceV2Soap12"> |
|||
<soap12:address location="http://211.25.249.199:9001/imeServiceV2.asmx" /> |
|||
</wsdl:port> |
|||
</wsdl:service> |
|||
</wsdl:definitions> |
@ -0,0 +1,99 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.GuavaPayRemit.Model |
|||
{ |
|||
public class GuavaPayModel |
|||
{ |
|||
public string clientId { get; set; } |
|||
public string secretKey { get; set; } |
|||
|
|||
} |
|||
|
|||
public class AuthResponseModel |
|||
{ |
|||
public string accessToken { get; set; } |
|||
public string refreshToken { get; set; } |
|||
public string Message { get; set; } |
|||
public string Code { get; set; } |
|||
public DateTime ExpiryTime { get; set; } |
|||
} |
|||
public class GuavaSendTransaction |
|||
{ |
|||
public string Country { get; set; } |
|||
public string AgentName { get; set; } |
|||
public string Amount { get; set; } |
|||
public string Currency { get; set; } |
|||
public string AgentTransactionId { get; set; } |
|||
public string CallBackUrl { get; set; } |
|||
public Sender senderClient { get; set; } |
|||
public Receiver receiverClient { get; set; } |
|||
} |
|||
public class Sender |
|||
{ |
|||
public string FirstName { get; set; } |
|||
public string MiddleName { get; set; } |
|||
public string LastName { get; set; } |
|||
public string Phone { get; set; } |
|||
public string Address { get; set; } |
|||
public string BirthDate { get; set; } |
|||
public string zipCode { get; set; } |
|||
public DocumentInfo documentInfo { get; set; } |
|||
|
|||
} |
|||
public class DocumentInfo |
|||
{ |
|||
public string DocumentType { get; set; } |
|||
public string DocumentNumber { get; set; } |
|||
public string RDocumentNumber { get; set; } |
|||
public string DocumentIssuedCountry { get; set; } |
|||
public string DocumentIssuedDate { get; set; } |
|||
public string DocumentEndDate { get; set; } |
|||
} |
|||
|
|||
public class Receiver |
|||
{ |
|||
public string FirstName { get; set; } |
|||
public string MiddleName { get; set; } |
|||
public string LastName { get; set; } |
|||
public string Phone { get; set; } |
|||
public DocumentInfo documentInfo { get; set; } |
|||
public AccountInfo accountInfo { get; set; } |
|||
|
|||
} |
|||
public class AccountInfo |
|||
{ |
|||
public string AccountNumber { get; set; } |
|||
public string BankName { get; set; } |
|||
public string BankBranchCode { get; set; } |
|||
public string BankCode { get; set; } |
|||
public string AccountType { get; set; } |
|||
} |
|||
|
|||
public class SendTransactionResponse |
|||
{ |
|||
public string Status { get; set; } |
|||
public string StatusDescription { get; set; } |
|||
public string RRN { get; set; } |
|||
public string Fee { get; set; } |
|||
public string Rate { get; set; } |
|||
public string StatusCode { get; set; } |
|||
public string Msg { get; set; } |
|||
public string Message { get; set; } |
|||
public List<string> Errors { get; internal set; } |
|||
} |
|||
|
|||
public class StatusResponseModel |
|||
{ |
|||
public string statusDescription; |
|||
|
|||
public string referenceCode { get; set; } |
|||
|
|||
public string Status { get; set; } |
|||
//public Detail Detail { get; set; }
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,236 @@ |
|||
using Common.Models.RequestResponse; |
|||
using Common.Models.Status; |
|||
using Common.Models.TxnModel; |
|||
using Common.TPService; |
|||
using Common.Utility; |
|||
using log4net; |
|||
using Newtonsoft.Json; |
|||
using RestSharp; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Net; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using TPApiServices.GuavaPayRemit.Model; |
|||
|
|||
namespace TPApiServices.GuavaPayRemit.Services |
|||
{ |
|||
public class GuavaPayAPI : ITPApiServices |
|||
{ |
|||
private readonly ILog _log = LogManager.GetLogger(typeof(GuavaPayAPI)); |
|||
protected string baseUrl { get; set; } |
|||
protected string clientId { get; set; } |
|||
protected string secretKey { get; set; } |
|||
protected string agentCode { get; set; } |
|||
|
|||
public GuavaPayAPI() |
|||
{ |
|||
baseUrl = GetStatic.ReadWebConfig("guavaPay_base_url", ""); |
|||
clientId = GetStatic.ReadWebConfig("guavaPay_clint_Id", ""); |
|||
secretKey = GetStatic.ReadWebConfig("guavaPay_secret_key", ""); |
|||
//agentCode = GetStatic.ReadWebConfig("guavaPay_agent_code", "");
|
|||
} |
|||
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class |
|||
{ |
|||
switch (MethodName) |
|||
{ |
|||
//case "exRate":
|
|||
// return GetExRate(model as SendExRateRequestModel);
|
|||
case "send": |
|||
return SendTransaction(model as SendTransaction); |
|||
|
|||
//case "verify":
|
|||
// return AccountVerifySendMN(model as AccountValidate);
|
|||
|
|||
case "status": |
|||
return GetStatus(model as GetStatus); |
|||
|
|||
//case "staticData":
|
|||
// return GetStaticData(model as StaticData);
|
|||
|
|||
default: |
|||
throw new NotImplementedException(); |
|||
} |
|||
} |
|||
private AuthResponseModel GetToken(string user) |
|||
{ |
|||
AuthResponseModel tokenResponse = new AuthResponseModel(); |
|||
try |
|||
{ |
|||
var requestBody = new GuavaPayModel |
|||
{ |
|||
clientId = clientId, |
|||
secretKey = secretKey//"7cf3288cc67d4a2b965a5d41a4005fc1123fa64081"
|
|||
}; |
|||
var client = new RestClient(baseUrl); |
|||
var request = new RestRequest("/v2/auth", Method.POST); |
|||
request.AddHeader("Content-Type", "application/json"); |
|||
request.AddJsonBody(requestBody); |
|||
// _log.Info($"GUAVAPAYAPI|GETTOKEN|REQUEST URL: {client.BaseUrl}{request.Resource}");
|
|||
//_log.Info($"GUAVAPAYAPI|GETTOKEN|REQUEST BODY: {JsonConvert.SerializeObject(requestBody)}");
|
|||
var response = client.Execute(request); |
|||
if (response.StatusCode == HttpStatusCode.OK) |
|||
{ |
|||
tokenResponse = JsonConvert.DeserializeObject<AuthResponseModel>(response.Content); |
|||
tokenResponse.ExpiryTime = DateTime.UtcNow.AddMinutes(90); |
|||
_log.Info($"GUAVAPAYAPI|GETTOKEN|RESPONSE : {JsonConvert.SerializeObject(tokenResponse)}"); |
|||
} |
|||
else |
|||
{ |
|||
_log.Error($"GUAVAPAYAPI|GETTOKEN|ERROR RESPONSE : {response.Content}"); |
|||
} |
|||
} |
|||
catch (Exception ex) |
|||
{ |
|||
tokenResponse = new AuthResponseModel |
|||
{ |
|||
Code = "999" |
|||
}; |
|||
_log.Error($"GUAVAPAYAPI|GETTOKEN|EXCEPTION OCCURRED : {ex}"); |
|||
} |
|||
|
|||
return tokenResponse; |
|||
} |
|||
private TPResponse GetStatus(GetStatus model) |
|||
{ |
|||
TPResponse statusResponse = new TPResponse(); |
|||
var tokenResponse = GetToken(model.RequestBy); |
|||
var client = new RestClient(baseUrl); |
|||
var request = new RestRequest($"/v2/transactions/{model.PartnerPinNo}/status", Method.GET); |
|||
request.AddHeader("Content-Type", "application/json"); |
|||
request.AddHeader("Authorization", "Bearer " + tokenResponse.accessToken); |
|||
request.RequestFormat = DataFormat.Json; |
|||
// request.AddJsonBody(requestBody);
|
|||
var getStatusResponse = client.Execute<StatusResponseModel>(request).Data; |
|||
//var statusres = getStatusResponse.Data;
|
|||
_log.Info($"GUAVAPAYAPI|GETSTATUSSENDMN|RESPONSE : {JsonConvert.SerializeObject(getStatusResponse)}"); |
|||
statusResponse.ResponseCode = "0"; |
|||
statusResponse.Id = getStatusResponse.referenceCode; |
|||
statusResponse.Extra2 = getStatusResponse.Status; |
|||
statusResponse.Extra4 = getStatusResponse.statusDescription; |
|||
statusResponse.Data = getStatusResponse; |
|||
return statusResponse; |
|||
} |
|||
public TPResponse SendTransaction(SendTransaction model) |
|||
{ |
|||
TPResponse txnResponse = new TPResponse(); |
|||
try |
|||
{ |
|||
var tokenResponse = GetToken(model.RequestBy); // Method to get the token
|
|||
var requestBody = MapSendTxnDetails(model); // Method to map transaction details
|
|||
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|REQUEST BODY : {JsonConvert.SerializeObject(requestBody)}"); |
|||
var client = new RestClient(baseUrl); |
|||
if (model?.Transaction == null || string.IsNullOrEmpty(model.Transaction.PaymentType)) |
|||
{ |
|||
throw new ArgumentNullException("Transaction or PaymentType is null or empty."); |
|||
} |
|||
//_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|PAYMENT TYPE : {model.Transaction.PaymentType}");
|
|||
string endpoint = model.Transaction.PaymentType == "CASH" ? "/v2/payments/cash" : "/v2/payments/account"; |
|||
var request = new RestRequest(endpoint, Method.POST); |
|||
// request = new RestRequest(endpoint, Method.POST);
|
|||
request.AddHeader("Content-Type", "application/json"); |
|||
request.AddHeader("Authorization", "Bearer " + tokenResponse.accessToken); |
|||
request.AddJsonBody(requestBody); |
|||
request.RequestFormat = DataFormat.Json; |
|||
var txnResponseData = client.Execute<SendTransactionResponse>(request); |
|||
var sendTxnResponse = txnResponseData.Data; |
|||
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|REQUEST URL: {client.BaseUrl}{request.Resource}"); |
|||
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|RESPONSE : {txnResponseData.Content}"); |
|||
|
|||
if (sendTxnResponse != null) |
|||
{ |
|||
//_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|RESPONSE DATA : {JsonConvert.SerializeObject(sendTxnResponse)}");
|
|||
|
|||
if (string.IsNullOrEmpty(sendTxnResponse.RRN) || string.IsNullOrEmpty(sendTxnResponse.Rate) || |
|||
string.IsNullOrEmpty(sendTxnResponse.Status) || string.IsNullOrEmpty(sendTxnResponse.Fee) || |
|||
string.IsNullOrEmpty(sendTxnResponse.StatusDescription)) |
|||
{ |
|||
txnResponse.ResponseCode = "1"; |
|||
txnResponse.Msg = "One or more critical response fields are null."; |
|||
_log.Warn($"GUAVAPAYAPI|SENDTRANSACTION|MISSING FIELDS: " + |
|||
$"RRN: {sendTxnResponse.RRN}, " + |
|||
$"Rate: {sendTxnResponse.Rate}, " + |
|||
$"Status: {sendTxnResponse.Status}, " + |
|||
$"Fee: {sendTxnResponse.Fee}, " + |
|||
$"StatusDescription: {sendTxnResponse.StatusDescription}"); |
|||
} |
|||
else |
|||
{ |
|||
txnResponse.ResponseCode = "0"; |
|||
txnResponse.Id = sendTxnResponse.RRN; |
|||
txnResponse.Extra = sendTxnResponse.Rate; |
|||
txnResponse.Extra2 = sendTxnResponse.Status; |
|||
txnResponse.Extra3 = sendTxnResponse.Fee; |
|||
txnResponse.Extra4 = sendTxnResponse.StatusDescription; |
|||
txnResponse.Data = sendTxnResponse; |
|||
} |
|||
} |
|||
else |
|||
{ |
|||
txnResponse.ResponseCode = "1"; |
|||
txnResponse.Msg = "Response data is null"; |
|||
_log.Warn($"GUAVAPAYAPI|SENDTRANSACTION|RESPONSE DATA IS NULL"); |
|||
} |
|||
} |
|||
catch (Exception ex) |
|||
{ |
|||
txnResponse.ResponseCode = "999"; |
|||
txnResponse.Msg = ex.ToString(); |
|||
_log.Error($"GUAVAPAYAPI|SENDTRANSACTION|EXCEPTION OCCURRED|RESPONSE : {JsonConvert.SerializeObject(txnResponse)}"); |
|||
} |
|||
return txnResponse; |
|||
} |
|||
public GuavaSendTransaction MapSendTxnDetails(SendTransaction model) |
|||
{ |
|||
return new GuavaSendTransaction |
|||
{ |
|||
senderClient = new Sender |
|||
{ |
|||
FirstName = model.Sender.SFirstName, |
|||
MiddleName = model.Sender.SMiddleName, |
|||
LastName = model.Sender.SLastName1, |
|||
Address = model.Sender.SCityId, |
|||
BirthDate = model.Sender.SBirthDate, |
|||
Phone = model.Sender.SMobile, |
|||
zipCode = model.Sender.SZipCode, |
|||
documentInfo = new DocumentInfo |
|||
{ |
|||
DocumentType = model.Sender.SIdType, |
|||
DocumentNumber = model.Sender.SIdNo, |
|||
DocumentIssuedCountry = model.Sender.SCountryName, |
|||
DocumentIssuedDate = model.Sender.SIdIssueDate, |
|||
DocumentEndDate = model.Sender.SIdExpiryDate, |
|||
} |
|||
}, |
|||
receiverClient = new Receiver |
|||
{ |
|||
FirstName = model.Receiver.RFirstName, |
|||
MiddleName = model.Receiver.RMiddleName, |
|||
LastName = model.Receiver.RLastName, |
|||
Phone = model.Receiver.RMobile, |
|||
documentInfo = new DocumentInfo |
|||
{ |
|||
//DocumentType = model.Receiver.RIdType,
|
|||
DocumentNumber = model.Receiver.RIdNo |
|||
}, |
|||
accountInfo = new AccountInfo |
|||
{ |
|||
AccountNumber = model.Receiver.UnitaryBankAccountNo,// "1312431424141414",
|
|||
BankName = model.Agent.PBankName, //"MeezanBank"
|
|||
BankBranchCode = model.Agent.PAgentName, |
|||
BankCode = model.Agent.PBranchId, |
|||
//AccountType = model.Agent.PBankType
|
|||
} |
|||
}, |
|||
Country = model.Receiver.RNativeCountry, |
|||
AgentName = model.Agent.PBankId, //"MeezanBank",
|
|||
Amount = Convert.ToString(model.Transaction.PAmt), |
|||
AgentTransactionId = model.Transaction.JMEControlNo, |
|||
Currency = model.Transaction.PCurr, |
|||
CallBackUrl = "" |
|||
|
|||
}; |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class BankLists |
|||
{ |
|||
public string ACCESSCODE { get; set; } |
|||
public string USERNAME { get; set; } |
|||
public string PASSWORD { get; set; } |
|||
|
|||
public string AGENT_SESSION_ID { get; set; } |
|||
public string AGENT_TYPE { get; set; } |
|||
public string PAYOUT_COUNTRY { get; set; } |
|||
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,19 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class BankValidation : Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string AGENT_SESSION_ID { get; set; } |
|||
public string ACCOUNTNUMBER { get; set; } |
|||
public string ACCOUNTNAME { get; set; } |
|||
public string BANKBRANCHID { get; set; } |
|||
public string BANKNAME { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class BranchListsRequest : Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string AGENT_ID { get; set; } |
|||
public string AGENT_SESSION_ID { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class CheckTranStatus : Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string REFNO { get; set; } |
|||
public string AGENT_TXN_REF_ID { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,42 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class CreateTransaction: Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string AGENT_TXN_REF_ID { get; set; } |
|||
public string FOREX_SESSION_ID { get; set; } |
|||
public string REMITTER_ID { get; set; } |
|||
public string SENDER_NAME { get; set; } |
|||
public string SENDER_ADDRESS { get; set; } |
|||
public string SENDER_MOBILE { get; set; } |
|||
public string SENDER_CITY { get; set; } |
|||
public string SENDER_COUNTRY { get; set; } |
|||
public string SENDERS_IDENTITY_TYPE { get; set; } |
|||
public string SENDER_IDENTITY_NUMBER { get; set; } |
|||
public string RECEIVER_NAME { get; set; } |
|||
public string RECEIVER_ADDRESS { get; set; } |
|||
public string RECEIVER_CONTACT_NUMBER { get; set; } |
|||
public string RECEIVER_CITY { get; set; } |
|||
public string RECEIVER_COUNTRY { get; set; } |
|||
public string COLLECT_AMT { get; set; } |
|||
public string SOURCE_OF_FUND { get; set; } |
|||
public string PURPOSE_OF_REMITTANCE { get; set; } |
|||
public string RELATIONSHIP { get; set; } |
|||
public string OCCUPATION { get; set; } |
|||
public string PAYOUTAMT { get; set; } |
|||
public string PAYMENTTYPE { get; set; } |
|||
public string BANKID { get; set; } |
|||
public string BANK_NAME { get; set; } |
|||
public string BANK_BRANCH_NAME { get; set; } |
|||
public string BANK_ACCOUNT_NUMBER { get; set; } |
|||
public string TRNDATE { get; set; } |
|||
public string CALC_BY { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,15 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class Credentials |
|||
{ |
|||
public string ACCESSCODE { get; set; } |
|||
public string USERNAME { get; set; } |
|||
public string PASSWORD { get; set; } |
|||
} |
|||
} |
@ -0,0 +1,20 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class GetCalculation: Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string AGENT_TXN_REF_ID { get; set; } |
|||
public string PAYOUT_AGENT_ID { get; set; } |
|||
public string REMIT_AMOUNT { get; set; } |
|||
public string PAYMENTTYPE { get; set; } |
|||
public string PAYOUT_COUNTRY { get; set; } |
|||
public string CALC_BY { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,18 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace TPApiServices.IME.Model |
|||
{ |
|||
public class Reconcilation : Credentials |
|||
{ |
|||
public Credentials Credentials { get; set; } |
|||
public string AGENT_TXN_REF_ID { get; set; } |
|||
public string REPORT_TYPE { get; set; } |
|||
public string FROM_DATE { get; set; } |
|||
public string TO_DATE { get; set; } |
|||
|
|||
} |
|||
} |
@ -0,0 +1,202 @@ |
|||
using Common.Models.Agent; |
|||
using Common.Models.Bank; |
|||
using Common.Models.ExchangeRate; |
|||
using Common.Models.RequestResponse; |
|||
using Common.Models.Status; |
|||
using Common.Models.TxnModel; |
|||
using Common.TPService; |
|||
using Common.Utility; |
|||
using GMENepal.GMEReference; |
|||
using log4net; |
|||
using Newtonsoft.Json; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.IO; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using System.Xml.Serialization; |
|||
using TPApiServices.GCCReference; |
|||
using TPApiServices.IME.Model; |
|||
using TPApiServices.IMENepalSendAPI; |
|||
namespace TPApiServices.IME.Services |
|||
{ |
|||
public class IMEServices : ITPApiServices |
|||
{ |
|||
private readonly ILog _log = LogManager.GetLogger(typeof(IMEServices)); |
|||
private readonly imeServiceV2SoapClient _sendAPI = new imeServiceV2SoapClient(); |
|||
TPResponse _response = new TPResponse(); |
|||
string PartnerId = GetStatic.ReadWebConfig("ime_partnerId", ""); |
|||
string URL = GetStatic.ReadWebConfig("ime_url", ""); |
|||
string AccessCode = GetStatic.ReadWebConfig("ime_accessCode", ""); |
|||
string Username = GetStatic.ReadWebConfig("ime_username", ""); |
|||
string Password = GetStatic.ReadWebConfig("ime_password", ""); |
|||
|
|||
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class |
|||
{ |
|||
switch (MethodName) |
|||
{ |
|||
case "getBankList": |
|||
return GetBankList(model as GetAgentV2Request); |
|||
|
|||
case "getBranchList": |
|||
return GetBranchList(model as BranchListsRequest); |
|||
|
|||
case "getCalculation": |
|||
return GetCalculate(model as GetCalculation); |
|||
|
|||
case "createTxn": |
|||
return CreateTran(model as CreateTransaction); |
|||
|
|||
case "BankAccountValidation": |
|||
return ValidateBankAccount(model as AccountValidationRequest); |
|||
|
|||
case "checkStatus": |
|||
return CheckStatus(model as CheckTranStatus); |
|||
|
|||
case "reconcileRpt": |
|||
return GetReconcileRpt(model as Reconcilation); |
|||
|
|||
default: |
|||
return new TPResponse() { ResponseCode = "1", Msg = "Method Name Not Found !" }; |
|||
} |
|||
} |
|||
/// <summary>
|
|||
/// this method is used to reconcile transaction with IME
|
|||
/// Currently no need to Consume
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse GetReconcileRpt(Reconcilation req) |
|||
{ |
|||
_log.Info("GetReconcileRpt | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
var res = _sendAPI.ReconcileReport(AccessCode, Username, Password, req.AGENT_TXN_REF_ID, req.REPORT_TYPE,req.FROM_DATE,req.TO_DATE); |
|||
_log.Info("GetReconcileRpt | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = "0"; |
|||
_response.Msg = "Success"; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
/// <summary>
|
|||
/// This method is used to check the status of transaction
|
|||
/// Need to Cunsume
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse CheckStatus(CheckTranStatus req) |
|||
{ |
|||
_log.Info("CheckStatus | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
var res = _sendAPI.GetStatusByTxnRefId(AccessCode, Username, Password, req.REFNO, req.AGENT_TXN_REF_ID); |
|||
_log.Info("CheckStatus | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = res.CODE; |
|||
_response.Msg = res.MESSAGE; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
/// <summary>
|
|||
/// this method is used to validate bank Account of Customer
|
|||
/// this is only for bank deposite transctions
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse ValidateBankAccount(AccountValidationRequest req) |
|||
{ |
|||
_log.Info("ValidateBankAccount | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
req.ACCESSCODE = AccessCode; |
|||
req.USERNAME = Username; |
|||
req.PASSWORD = Password; |
|||
var res = _sendAPI.BankAccountValidation(req); |
|||
_log.Info("ValidateBankAccount | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = res.CODE; |
|||
_response.Msg = res.MESSAGE; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
/// <summary>
|
|||
/// this method is used to calculate service charge along with exchange rate
|
|||
/// collect amount and payout amount
|
|||
/// this method return FOREX_SESSION_ID which needs to pass on Create transaction method
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse GetCalculate(GetCalculation req) |
|||
{ |
|||
_log.Info("GetCalculation | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
var res = _sendAPI.GetCalculation(AccessCode, Username, Password, req.AGENT_TXN_REF_ID, req.PAYOUT_AGENT_ID, req.REMIT_AMOUNT, req.PAYMENTTYPE, req.PAYOUT_COUNTRY, req.CALC_BY); |
|||
_log.Info("GetExchangeRate | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = res.CODE; |
|||
_response.Msg = res.MESSAGE; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// this method is used to Create transaction at IME end, before calling this
|
|||
/// Api we need to call get calculation method and pass FOREX_SESSION_ID value get from
|
|||
/// Get calculation
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
|
|||
private TPResponse CreateTran(CreateTransaction req) |
|||
{ |
|||
_log.Info("CreateTran | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
var res = _sendAPI.CreateTXNV2(AccessCode, Username, Password, req.AGENT_TXN_REF_ID, req.FOREX_SESSION_ID, |
|||
req.REMITTER_ID, req.SENDER_NAME, req.SENDER_ADDRESS, req.SENDER_MOBILE, req.SENDER_CITY, |
|||
req.SENDER_COUNTRY, req.SENDERS_IDENTITY_TYPE, req.SENDER_IDENTITY_NUMBER, req.RECEIVER_NAME, |
|||
req.RECEIVER_ADDRESS, req.RECEIVER_CONTACT_NUMBER, req.RECEIVER_CITY, req.RECEIVER_COUNTRY, |
|||
req.OCCUPATION,req.SOURCE_OF_FUND,req.RELATIONSHIP,req.PURPOSE_OF_REMITTANCE,req.COLLECT_AMT,req.PAYOUTAMT, |
|||
req.PAYMENTTYPE,req.BANKID,req.BANK_NAME,req.BANK_BRANCH_NAME,req.BANK_ACCOUNT_NUMBER,req.TRNDATE,req.CALC_BY); |
|||
_log.Info("CreateTran | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = res.CODE; |
|||
_response.Msg = res.MESSAGE; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
/// <summary>
|
|||
/// This methid returns all the bank list
|
|||
/// no need to call this api for now
|
|||
/// it will be updated from back end
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse GetBankList(GetAgentV2Request req) |
|||
{ |
|||
|
|||
_log.Info("GetBankList | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
req.ACCESSCODE = AccessCode; |
|||
req.USERNAME = Username; |
|||
req.PASSWORD = Password; |
|||
var res = _sendAPI.GetAgent_V2(req); |
|||
_log.Info("GetBankList | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = "0"; |
|||
_response.Msg = "Success"; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// this methid returs branch list of particular bank
|
|||
/// no need to call this api for now
|
|||
/// it will be updated from back end
|
|||
/// </summary>
|
|||
/// <param name="req"></param>
|
|||
/// <returns></returns>
|
|||
private TPResponse GetBranchList(BranchListsRequest req) |
|||
{ |
|||
|
|||
_log.Info("GetBranchList | REQUEST :" + JsonConvert.SerializeObject(req)); |
|||
req.ACCESSCODE = AccessCode; |
|||
req.USERNAME = Username; |
|||
req.PASSWORD = Password; |
|||
var res = _sendAPI.GetAgentBranch(AccessCode,Username,Password,req.AGENT_ID,req.AGENT_SESSION_ID); |
|||
_log.Info("GetBranchList | RESPONSE :" + JsonConvert.SerializeObject(res)); |
|||
_response.ResponseCode = res.CODE; |
|||
_response.Msg = res.MESSAGE; |
|||
_response.Data = res; |
|||
return _response; |
|||
} |
|||
|
|||
} |
|||
} |
@ -0,0 +1,49 @@ |
|||
|
|||
<body> |
|||
|
|||
|
|||
<div style="color:#434444; padding: 15px; font-family: Roboto; font-size: 15px; margin-top: 20px"> |
|||
<div style="text-align: right;"> |
|||
<img src="https://japanremit.com/assets/img/jmelogo.jpg" alt="Japan Money Express" class="CToWUd" height="90"> |
|||
</div> |
|||
<br /> |
|||
<hr style="background-color: #fff; border-top: 1.5px solid #2B3C90; border-bottom: none;" /> |
|||
|
|||
|
|||
<div class="body"> |
|||
Dear <strong>{CustomerName}</strong>, |
|||
|
|||
<p style="margin-top: 20px"> |
|||
The details provided by you have been successfully verified and your registration process is complete. You can start sending transaction now. <br /> |
|||
ご提供いただいた詳細が正常に確認され、登録プロセスが完了しました。これでトランザクションの送信を開始できます。 |
|||
</p> |
|||
|
|||
<p style="margin-top: 20px"> |
|||
Please contact Customer Care at <strong>03-5475-3913 </strong>at 9:30 AM- 6:30 PM or email to info@jmejapan.com if you need further assistance. <br /> |
|||
さらにサポートが必要な場合は、カスタマーケア(03-5475-3913)の午前9時30分から午後6時30分までに連絡するか、info@jmejapan.comに電子メールを送信してください。 |
|||
|
|||
</p> |
|||
</div> |
|||
<p style="margin-top: 20px;"> |
|||
Regards,<br /> |
|||
|
|||
<span style="color:#333333;font-size:15px;font-weight:bold;">ありがとうございます</span><br /> |
|||
<span style="color:#333333;font-size:15px;font-weight:bold;">Japan Money Express Co. Ltd.</span> |
|||
</p> |
|||
|
|||
|
|||
|
|||
<hr style="background-color: #fff; border-top: 1.5px solid #2B3C90; border-bottom: none;" /> |
|||
<p> |
|||
<table width="100%"> |
|||
<tr> |
|||
<td></td> |
|||
<td style="text-align: right; color: #4F81BD; font-family:Arial">www.japanremit.com</td> |
|||
</tr> |
|||
</table> |
|||
</p> |
|||
|
|||
|
|||
|
|||
</div> |
|||
</body> |
@ -0,0 +1,48 @@ |
|||
|
|||
<body> |
|||
|
|||
|
|||
<div style="color:#434444; padding: 15px; font-family: Roboto; font-size: 15px; margin-top: 20px"> |
|||
<div style="text-align: right;"> |
|||
<img src="https://japanremit.com/assets/img/jmelogo.jpg" alt="IME London" class="CToWUd" height="90"> |
|||
</div> |
|||
<br /> |
|||
<hr style="background-color: #fff; border-top: 1.5px solid #2B3C90; border-bottom: none;" /> |
|||
|
|||
|
|||
<div class="body"> |
|||
Dear <strong>{CustomerName}</strong>, |
|||
|
|||
<p style="margin-top: 20px"> |
|||
Your transaction with Reference number {RefNum} has been paid. </b> |
|||
</p> |
|||
|
|||
<p style="margin-top: 20px"> |
|||
Should you require any further assistance, please do not hesitate to contact us on 02088660307 or info@imelondon.co.uk <br /> |
|||
For further details please visit our website www.imelondon.co.uk<br /> |
|||
|
|||
</p> |
|||
|
|||
|
|||
</div> |
|||
<p style="margin-top: 20px;"> |
|||
Regards, <br /> |
|||
Customer Support Department <br /> |
|||
IME London <br /> |
|||
UK<br /> |
|||
</p> |
|||
|
|||
|
|||
|
|||
<hr style="background-color: #fff; border-top: 1.5px solid #2B3C90; border-bottom: none;" /> |
|||
<p> |
|||
<b> |
|||
IME London is a trading name of Subhida UK Ltd, Pentax House, South Hill Avenue, South Harrow, London, HA2 0DU, Company Registration No: 06432399. |
|||
Subhida UK Ltd is authorized and regulated by the Financial Conduct Authority (FCA) under the Payment Service Regulations 2017, FCA Registration No: 576127, HMRC Registration No: XYML000000119350 |
|||
</b> |
|||
</p> |
|||
|
|||
|
|||
|
|||
</div> |
|||
</body> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue