Browse Source

GCC changes

prod
shakun 6 months ago
parent
commit
eac05e7110
  1. 10
      GCCRemit/App.config
  2. 61
      GCCRemit/GCCRemit.csproj
  3. 15
      GCCRemit/Program.cs
  4. 36
      GCCRemit/Properties/AssemblyInfo.cs
  5. 40
      TPServices/App.config
  6. 8569
      TPServices/Connected Services/GCCReference/Reference.cs
  7. 31
      TPServices/Connected Services/GCCReference/Reference.svcmap
  8. 1966
      TPServices/Connected Services/GCCReference/SendAPI1.wsdl
  9. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ApproveTransferResponse.datasource
  10. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.AvailableBalanceResponse.datasource
  11. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.BranchListResponse.datasource
  12. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CancelTransferResponse.datasource
  13. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ChangePasswordResponse.datasource
  14. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CityListResponse.datasource
  15. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CountryListResponse.datasource
  16. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CountryServiceChargesResponse.datasource
  17. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CurrencyListResponse.datasource
  18. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ExchangeRateListResponse.datasource
  19. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ExchangeRateResponse.datasource
  20. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.IDTypeListResponse.datasource
  21. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.IncomeSourceListResponse.datasource
  22. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ModifyTransferResponse.datasource
  23. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ModifyTransferStatusResponse.datasource
  24. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PaymentModeListResponse.datasource
  25. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PayoutBranchListResponse.datasource
  26. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PurposeListResponse.datasource
  27. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.RefundTransferResponse.datasource
  28. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.RelationshipListResponse.datasource
  29. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SendAuxiliaryPaymentResponse.datasource
  30. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SendTransferResponse.datasource
  31. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SentTransferListResponse.datasource
  32. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ServiceChargesResponse.datasource
  33. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.StatusChangeResponse.datasource
  34. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.TransferFinancialsResponse.datasource
  35. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.TransferStatusResponse.datasource
  36. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.UpdateSettlementRateResponse.datasource
  37. 10
      TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ValidateTransferResponse.datasource
  38. 10
      TPServices/Connected Services/GCCReference/configuration.svcinfo
  39. 201
      TPServices/Connected Services/GCCReference/configuration91.svcinfo
  40. 13
      TPServices/GCC/Model/GCCSendMoney.cs
  41. 573
      TPServices/GCC/Services/GCCAPI.cs
  42. 15
      TPServices/Program.cs
  43. 36
      TPServices/Properties/AssemblyInfo.cs
  44. 190
      TPServices/TPServices.csproj
  45. 5
      TPServices/packages.config
  46. 2
      ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs
  47. 10
      ThirdPartyAPIs/Web.config

10
GCCRemit/App.config

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<system.serviceModel>
<bindings />
<client />
</system.serviceModel>
</configuration>

61
GCCRemit/GCCRemit.csproj

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{EC4A6D3D-E1C2-4E7A-9D65-AC3F353B844D}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>GCCRemit</RootNamespace>
<AssemblyName>GCCRemit</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<Folder Include="GCCAPIService\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

15
GCCRemit/Program.cs

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GCCRemit
{
class Program
{
static void Main(string[] args)
{
}
}
}

36
GCCRemit/Properties/AssemblyInfo.cs

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GCCRemit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("GCCRemit")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("ec4a6d3d-e1c2-4e7a-9d65-ac3f353b844d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

40
TPServices/App.config

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpsBinding_ISendAPI">
<security mode="Transport" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://api.gccremit.com/SendAPI.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpsBinding_ISendAPI" contract="GCCReference.ISendAPI"
name="BasicHttpsBinding_ISendAPI" />
</client>
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

8569
TPServices/Connected Services/GCCReference/Reference.cs
File diff suppressed because it is too large
View File

31
TPServices/Connected Services/GCCReference/Reference.svcmap

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="1e29390b-3d2f-48be-8fda-f9a0e9d850d2" 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="https://api.gccremit.com/SendAPI.svc?singleWsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="SendAPI1.wsdl" MetadataType="Wsdl" ID="97e171ae-6b91-4ea0-8f67-4024678ed953" SourceId="1" SourceUrl="https://api.gccremit.com/SendAPI.svc?singleWsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

1966
TPServices/Connected Services/GCCReference/SendAPI1.wsdl
File diff suppressed because it is too large
View File

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ApproveTransferResponse.datasource

@ -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="ApproveTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ApproveTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.AvailableBalanceResponse.datasource

@ -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="AvailableBalanceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.AvailableBalanceResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.BranchListResponse.datasource

@ -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="BranchListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.BranchListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CancelTransferResponse.datasource

@ -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="CancelTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.CancelTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ChangePasswordResponse.datasource

@ -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="ChangePasswordResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ChangePasswordResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CityListResponse.datasource

@ -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="CityListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.CityListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CountryListResponse.datasource

@ -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="CountryListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.CountryListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CountryServiceChargesResponse.datasource

@ -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="CountryServiceChargesResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.CountryServiceChargesResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.CurrencyListResponse.datasource

@ -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="CurrencyListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.CurrencyListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ExchangeRateListResponse.datasource

@ -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="ExchangeRateListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ExchangeRateListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ExchangeRateResponse.datasource

@ -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="ExchangeRateResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ExchangeRateResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.IDTypeListResponse.datasource

@ -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="IDTypeListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.IDTypeListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.IncomeSourceListResponse.datasource

@ -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="IncomeSourceListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.IncomeSourceListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ModifyTransferResponse.datasource

@ -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="ModifyTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ModifyTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ModifyTransferStatusResponse.datasource

@ -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="ModifyTransferStatusResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ModifyTransferStatusResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PaymentModeListResponse.datasource

@ -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="PaymentModeListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.PaymentModeListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PayoutBranchListResponse.datasource

@ -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="PayoutBranchListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.PayoutBranchListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.PurposeListResponse.datasource

@ -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="PurposeListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.PurposeListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.RefundTransferResponse.datasource

@ -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="RefundTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.RefundTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.RelationshipListResponse.datasource

@ -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="RelationshipListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.RelationshipListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SendAuxiliaryPaymentResponse.datasource

@ -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="SendAuxiliaryPaymentResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.SendAuxiliaryPaymentResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SendTransferResponse.datasource

@ -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="SendTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.SendTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.SentTransferListResponse.datasource

@ -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="SentTransferListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.SentTransferListResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ServiceChargesResponse.datasource

@ -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="ServiceChargesResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ServiceChargesResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.StatusChangeResponse.datasource

@ -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="StatusChangeResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.StatusChangeResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.TransferFinancialsResponse.datasource

@ -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="TransferFinancialsResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.TransferFinancialsResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.TransferStatusResponse.datasource

@ -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="TransferStatusResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.TransferStatusResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.UpdateSettlementRateResponse.datasource

@ -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="UpdateSettlementRateResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.UpdateSettlementRateResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/TPApiServices.GCCReference.ValidateTransferResponse.datasource

@ -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="ValidateTransferResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>TPApiServices.GCCReference.ValidateTransferResponse, Connected Services.GCCReference.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

10
TPServices/Connected Services/GCCReference/configuration.svcinfo

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 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:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;BasicHttpsBinding_ISendAPI&quot;&gt;&lt;security mode=&quot;Transport&quot; /&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="BasicHttpsBinding_ISendAPI" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://api.gccremit.com/SendAPI.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpsBinding_ISendAPI&quot; contract=&quot;GCCReference.ISendAPI&quot; name=&quot;BasicHttpsBinding_ISendAPI&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://api.gccremit.com/SendAPI.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpsBinding_ISendAPI&quot; contract=&quot;GCCReference.ISendAPI&quot; name=&quot;BasicHttpsBinding_ISendAPI&quot; /&gt;" contractName="GCCReference.ISendAPI" name="BasicHttpsBinding_ISendAPI" />
</endpoints>
</configurationSnapshot>

201
TPServices/Connected Services/GCCReference/configuration91.svcinfo

@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="24Z+8evEqSV3iIHyZ7IJ4cfTImlHJf8d3/dC/mPt+Ew=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpsBinding_ISendAPI">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>BasicHttpsBinding_ISendAPI</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="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</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="BasicHttpsBinding_ISendAPI" contract="GCCReference.ISendAPI" bindingType="basicHttpBinding" address="https://api.gccremit.com/SendAPI.svc" bindingConfiguration="BasicHttpsBinding_ISendAPI">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://api.gccremit.com/SendAPI.svc</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>BasicHttpsBinding_ISendAPI</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>GCCReference.ISendAPI</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>&lt;Header /&gt;</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>BasicHttpsBinding_ISendAPI</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>

13
TPServices/GCC/Model/GCCSendMoney.cs

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TPService.GCC.Model
{
public class GCCSendMoney
{
}
}

573
TPServices/GCC/Services/GCCAPI.cs

@ -0,0 +1,573 @@
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.IO;
using System.Xml.Serialization;
using TPApiServices.GCCReference;
namespace TPService.GCC.Services
{
public class GCCAPI : ITPApiServices
{
//private readonly ISendAPI _sendAPI;
private readonly ILog _log = LogManager.GetLogger(typeof(GCCAPI));
private readonly SendAPIClient _sendAPI = new SendAPIClient();
string PartnerId = GetStatic.ReadWebConfig("gcc_partnerId", "");
string Password = GetStatic.ReadWebConfig("gcc_password", "");
string SecurityKey = GetStatic.ReadWebConfig("gcc_securityKey", "");
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class
{
switch (MethodName)
{
case "getCountryList":
return GetCountryList(model as CountryListRequest);
case "currencyList":
return GetCurrencyList(model as CurrencyListRequest);
case "paymentModeList":
return GetPaymentModeList(model as PaymentModeListRequest);
case "agentList":
return GetCityList(model as AgentRequest);
case "bankList":
return GetBranchList(model as BankRequest);
case "exchangeRate":
return GetExRate(model as ExchangeRate);
case "serviceCharge":
return GetServiceCharges(model as ServiceChargesRequest);
case "send":
return SendTransaction(model as SendTransaction);
case "release":
return ApproveTransfer(model as TFReleaseTxnRequest);
case "status":
return GetTransferStatus(model as GetStatus);
case "cancelTransfer":
return CancelTransfer(model as CancelTransferRequest);
case "refundTransfer":
return RefundTransfer(model as RefundTransferRequest);
case "modifyTransfer":
return ModifyTransfer(model as ModifyTransferRequest);
case "modifyTransferStatus":
return GetModifyTransferStatus(model as ModifyTransferStatusRequest);
case "transferFinancialsList":
return GetTransferFinancialsList(model as TransferFinancialsRequest);
case "exchangeRateList":
return GetExchangeRateList(model as ExchangeRateListRequest);
case "availableBalance":
return GetAvailableBalance(model as AvailableBalanceRequest);
case "idTypeList":
return GetIDTypeList(model as IDTypeListRequest);
case "purposeList":
return GetPurposeList(model as PurposeListRequest);
case "incomeSourceList":
return GetIncomeSourceList(model as IncomeSourceListRequest);
case "relationshipList":
return GetRelationshipList(model as RelationshipListRequest);
case "ChangePassword":
return ChangePassword(model as ChangePasswordRequest);
default:
return new TPResponse() { ResponseCode = "1", Msg = "Method Name Not Found !" };
}
}
private TPResponse GetCityList(AgentRequest getCity)
{
TPResponse _response = new TPResponse();
CityListRequest req = new CityListRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
CountryCode = getCity.PayoutCountry,
CurrencyCode = getCity.ExternalBankId,
PaymentModeCode = getCity.PaymentType,
//PayoutBranchCode = exRate.PAgentId
};
try
{
_log.Info("GetExchangeRate | REQUEST :" + JsonConvert.SerializeObject(req));
CityListResponse res = _sendAPI.GetCityList(req);
_log.Info("GetExchangeRate | RESPONSE :" + JsonConvert.SerializeObject(res));
_response.ResponseCode = res.ResponseCode;
_response.Msg = res.ResponseMessage;
//_response.Extra = res.g;
//_response.Extra2 = res.CostRate;
//_response.Id = res.CustomerRate;
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("ExchangeRateResponse | Exception occured On ExchangeRat Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private TPResponse GetBranchList(BankRequest getbranch)
{
TPResponse _response = new TPResponse();
BranchListRequest req = new BranchListRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
CountryCode = getbranch.CountryCode,
CurrencyCode = getbranch.BankName,
PaymentModeCode = getbranch.PaymentMethod,
CityCode = getbranch.CityId.ToString(),
Search = "",
//PayoutBranchCode = exRate.PAgentId
};
try
{
_log.Info("GetExchangeRate | REQUEST :" + JsonConvert.SerializeObject(req));
BranchListResponse res = _sendAPI.GetBranchList(req);
_log.Info("GetExchangeRate | RESPONSE :" + JsonConvert.SerializeObject(res));
_response.ResponseCode = res.ResponseCode;
_response.Msg = res.ResponseMessage;
//_response.Extra = res.g;
//_response.Extra2 = res.CostRate;
//_response.Id = res.CustomerRate;
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("ExchangeRateResponse | Exception occured On ExchangeRat Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private TPResponse GetExRate(ExchangeRate exRate)
{
TPResponse _response = new TPResponse();
ExchangeRateRequest req = new ExchangeRateRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
PayoutBranchCode = exRate.PAgentId
};
try
{
_log.Info("GetExchangeRate | REQUEST :" + JsonConvert.SerializeObject(req));
ExchangeRateResponse res = _sendAPI.GetExchangeRate(req);
_log.Info("GetExchangeRate | RESPONSE :" + JsonConvert.SerializeObject(res));
_response.ResponseCode = res.ResponseCode;
_response.Msg = res.ResponseMessage;
_response.Extra = res.PayoutBranchCode;
_response.Extra2 = res.CostRate;
_response.Id = res.CustomerRate;
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("ExchangeRateResponse | Exception occured On ExchangeRat Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private static string ObjectToXML(object input)
{
try
{
StringWriter stringwriter = new StringWriter();
XmlSerializer serializer = new XmlSerializer(input.GetType());
serializer.Serialize(stringwriter, input);
return stringwriter.ToString();
}
catch (Exception ex)
{
if (ex.InnerException != null)
ex = ex.InnerException;
return "Could not convert: " + ex.Message;
}
}
private TPResponse SendTransaction(SendTransaction sendTransferRequest)
{
TPResponse _response = new TPResponse();
SendTransferRequest mapreq = SendTransferMap(sendTransferRequest);
ExchangeRate exrate = new ExchangeRate()
{
PAgentId = mapreq.PayoutBranchCode
};
TPResponse exrateRes = GetExRate(exrate);
mapreq.CostRate = exrateRes.Extra2;
var costR = Convert.ToDecimal(mapreq.CostRate);
var payoutA = Convert.ToDecimal(mapreq.PayoutAmount);
var paingA = payoutA / costR;
mapreq.PayinAmount = paingA.ToString();
try
{
_log.Info("SendTransferRequest | REQUEST :" + JsonConvert.SerializeObject(mapreq));
// _log.Info("SendTransferRequest | REQUEST :" + ObjectToXML(mapreq));
SendTransferResponse res = _sendAPI.SendTransfer(mapreq);
// _log.Info("SendTransferResponse | RESPONSE :" + ObjectToXML(res));
_log.Info("SendTransferResponse | RESPONSE :" + JsonConvert.SerializeObject(res));
_response.ResponseCode = res.ResponseCode == "001" ? "0" : "1";
_response.Id = res.TransactionNo;
//_response.Extra = res.PayoutCountryName;
_response.Msg = res.ResponseMessage;
//_response.Extra1 =
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("SendTransferResponse | Exception occured On SendTransfer Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private SendTransferRequest SendTransferMap(SendTransaction sT)
{
return new SendTransferRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
PayoutBranchCode = sT.Agent.PBranchId,
BankAccountNo = sT.Receiver.RAccountNo,
BankAddress = sT.Receiver.RCountry,//"India",
BankBranchCode = sT.Agent.PAgentName, // get IFSC code
BankBranchName = sT.Agent.PBankBranchName,
BankCity = sT.Agent.PBranchCity,
BankCountry = sT.Receiver.RCountryId.ToString(),
BankName = sT.Agent.PBankName,
BankState = "",//sT.BankState,
BankZipCode = "",//sT.BankZipCode,
PayoutAmount = sT.Transaction.PAmt.ToString(),
PayinAmount = sT.Transaction.TAmt.ToString(),
//ExtensionData = '',
PayoutCurrencyCode = sT.Transaction.PCurr,
CostRate = sT.Transaction.ExRate.ToString(),
PurposeCode = sT.Transaction.PurposeOfRemittanceName,
ReceiverAddress = sT.Receiver.RAdd1,
ReceiverDOB = sT.Receiver.RDob,
ReceiverFirstName = sT.Receiver.RFirstName,
ReceiverMiddleName = sT.Receiver.RMiddleName,
ReceiverLastName = sT.Receiver.RLastName,
ReceiverFourthName = "",//sT.Receiver.,
ReceiverIDExpiryDate = sT.Receiver.RIdValidDate,
ReceiverIDNumber = sT.Receiver.RIdNo,
ReceiverIDPlaceOfIssue = "",//sT.Receiver.reid,
ReceiverIDType = sT.Receiver.RIdType,
ReceiverMessage = "",//sT.Receiver.me,,
ReceiverMobileNo = sT.Receiver.RMobile,
//ReceiverNationality = "IN",// sT.Receiver.RCountry,//
ReceiverNationality = sT.Receiver.RNativeCountry,
ReceiverTelephoneNo = sT.Receiver.RTel,
ReceiverRelationship = sT.Receiver.RelWithSenderName,//"Self",
ReceiverZipCode = "",//sT.Receiver,
ReferenceNo = sT.Transaction.JMEControlNo,
SenderDOB = sT.Sender.SBirthDate,
SenderEmail = sT.Sender.SEmail,
SenderFirstName = sT.Sender.SFirstName,
SenderMiddleName = sT.Sender.SMiddleName,
SenderLastName = sT.Sender.SLastName1,
SenderFourthName = sT.Sender.SLastName2,
SenderTelephoneNo = "",
SenderIDExpiryDate = sT.Sender.SIdExpiryDate,
SenderIDNumber = sT.Sender.SIdNo,
// SenderIDPlaceOfIssue = "GB",//sT.Sender.SZipCode,
SenderIDPlaceOfIssue = sT.Sender.SZipCode,
SenderIDType = sT.Sender.SIdType,
SenderMobileNo = sT.Sender.SMobile,
SenderNationality = sT.Sender.SCountryName,
//SenderTelephoneNo = sT.Sender.STel,
//SenderEmail = sT.Sender.SEmail,
SenderZipCode = "", //sT.Sender.SZipCode,
SenderAddress = sT.Sender.SAddress,
TransactionNo = "",//sT.TranId.ToString(),
};
}
private TPResponse ApproveTransfer(TFReleaseTxnRequest approve)
{
//DbResult response = new DbResult();
//TPResponse _response = new TPResponse();
TPResponse _response = new TPResponse();
ApproveTransferRequest req = new ApproveTransferRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
TransactionNo = approve.TxnId,
};
///ApproveTransferRequest appMap = ApproveTransferMap(approveTransferRequest);
try
{
// _log.Info("ApproveTransferRequest | REQUEST :" + JsonConvert.SerializeObject(appMap));
_log.Info("ApproveTransferRequest | REQUEST :" + ObjectToXML(req));
var res = _sendAPI.ApproveTransfer(req);
//_log.Info("ApproveTransferResponse | RESPONSE :" + JsonConvert.SerializeObject(res));
_log.Info("ApproveTransferResponse | RESPONSE :" + ObjectToXML(res));
_response.ResponseCode = res.ResponseCode == "001" ? "0" : "1";
_response.Msg = res.ResponseMessage;
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("ApproveTransferResponse | Exception occured On ApproveTransfer Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private TPResponse GetTransferStatus(GetStatus status)
{
TPResponse _response = new TPResponse();
TransferStatusRequest req = new TransferStatusRequest()
{
UniqueID = PartnerId,
Password = Password,
SecurityKey = SecurityKey,
TransactionNo = status.PartnerPinNo,
};
try
{
_log.Info("StatusTransferRequest | REQUEST :" + ObjectToXML(req));
var res = _sendAPI.GetTransferStatus(req);
_log.Info("StatusTransferResponse | RESPONSE :" + ObjectToXML(res));
_response.ResponseCode = res.ResponseCode == "001" ? "0" : "1";
_response.Msg = res.ResponseMessage;
_response.Data = res;
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("StatusrResponse | Exception occured On ApproveTransfer Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
//private ApproveTransferRequest ApproveTransferMap(TFReleaseTxnRequest ap)
//{
// return new ApproveTransferRequest()
// {
// UniqueID = PartnerId,
// Password = Password,
// SecurityKey = SecurityKey,
// //TransactionNo = ap.TxnId
// };
//}
private TPResponse CancelTransfer(CancelTransferRequest cancelTransferRequest)
{
DbResult response = new DbResult();
TPResponse _response = new TPResponse();
CancelTransferRequest cancMap = CancelTransferMap(cancelTransferRequest);
try
{
_log.Info("CancelTransferRequest | REQUEST :" + JsonConvert.SerializeObject(cancelTransferRequest));
var req = _sendAPI.CancelTransfer(cancMap);
_log.Info("CancelTransferResponse | RESPONSE :" + JsonConvert.SerializeObject(req));
_response.Data = response;
_response.Msg = req.ResponseMessage;
_response.ResponseCode = "0";
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("SendTransferResponse | Exception occured On ApproveTransfer Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private CancelTransferRequest CancelTransferMap(CancelTransferRequest tc)
{
return new CancelTransferRequest()
{
TransactionNo = tc.TransactionNo,
Remarks = tc.Remarks
};
}
private TPResponse RefundTransfer(RefundTransferRequest refundTransferRequest)
{
DbResult response = new DbResult();
TPResponse _response = new TPResponse();
RefundTransferRequest cancMap = RefundTransferMap(refundTransferRequest);
try
{
_log.Info("RefundTransferRequest | REQUEST :" + JsonConvert.SerializeObject(refundTransferRequest));
var req = _sendAPI.RefundTransfer(cancMap);
_log.Info("RefundTransferResponse | RESPONSE :" + JsonConvert.SerializeObject(req));
_response.Data = response;
_response.Msg = req.ResponseMessage;
_response.ResponseCode = "0";
}
catch (Exception ex)
{
_response.ResponseCode = "1";
_response.Msg = "Unknown error!";
_log.ErrorFormat("RefundTransfer | Exception occured On RefundTransfer Method At GCCREMITApi ! Details :" + ex.Message);
}
return _response;
}
private RefundTransferRequest RefundTransferMap(RefundTransferRequest rt)
{
return new RefundTransferRequest()
{
TransactionNo = rt.TransactionNo,
Remarks = rt.Remarks
};
}
private TPResponse ModifyTransfer(ModifyTransferRequest modifyTransferRequest)
{
throw new NotImplementedException();
}
private TPResponse GetModifyTransferStatus(ModifyTransferStatusRequest modifyTransferStatusRequest)
{
throw new NotImplementedException();
}
//private TPResponse GetTransferStatus(TransferStatusRequest transferStatusRequest)
//{
// throw new NotImplementedException();
//}
private TPResponse GetTransferFinancialsList(TransferFinancialsRequest transferFinancialsRequest)
{
throw new NotImplementedException();
}
private TPResponse GetExchangeRateList(ExchangeRateListRequest exchangeRateListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetAvailableBalance(AvailableBalanceRequest availableBalanceRequest)
{
throw new NotImplementedException();
}
private TPResponse GetIDTypeList(IDTypeListRequest iDTypeListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetPurposeList(PurposeListRequest purposeListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetIncomeSourceList(IncomeSourceListRequest incomeSourceListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetRelationshipList(RelationshipListRequest relationshipListRequest)
{
throw new NotImplementedException();
}
private TPResponse ChangePassword(ChangePasswordRequest changePasswordRequest)
{
throw new NotImplementedException();
}
private TPResponse GetServiceCharges(ServiceChargesRequest serviceChargesRequest)
{
throw new NotImplementedException();
}
private TPResponse GetBranchList(BranchListRequest branchListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetCityList(CityListRequest cityListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetPaymentModeList(PaymentModeListRequest paymentModeListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetCurrencyList(CurrencyListRequest currencyListRequest)
{
throw new NotImplementedException();
}
private TPResponse GetCountryList(CountryListRequest countryListRequest)
{
throw new NotImplementedException();
}
}
}

15
TPServices/Program.cs

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TPServices
{
class Program
{
static void Main(string[] args)
{
}
}
}

36
TPServices/Properties/AssemblyInfo.cs

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TPServices")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TPServices")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("4eb6bf60-ad44-4913-8794-c91341879288")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

190
TPServices/TPServices.csproj

@ -0,0 +1,190 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{4EB6BF60-AD44-4913-8794-C91341879288}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>TPApiServices</RootNamespace>
<AssemblyName>TPApiServices</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Connected Services\GCCReference\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="GCC\Model\GCCSendMoney.cs" />
<Compile Include="GCC\Services\GCCAPI.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Connected Services\GCCReference\SendAPI1.wsdl" />
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ApproveTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.AvailableBalanceResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.BranchListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.CancelTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ChangePasswordResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.CityListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.CountryListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.CountryServiceChargesResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.CurrencyListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ExchangeRateListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ExchangeRateResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.IDTypeListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.IncomeSourceListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ModifyTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ModifyTransferStatusResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.PaymentModeListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.PayoutBranchListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.PurposeListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.RefundTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.RelationshipListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.SendAuxiliaryPaymentResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.SendTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.SentTransferListResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ServiceChargesResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.StatusChangeResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.TransferFinancialsResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.TransferStatusResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.UpdateSettlementRateResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Connected Services\GCCReference\TPApiServices.GCCReference.ValidateTransferResponse.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Connected Services\GCCReference\" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\GCCReference\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\GCCReference\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\GCCReference\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj">
<Project>{D626FE23-51C8-4441-B3C7-92A54D1F572E}</Project>
<Name>Common</Name>
</ProjectReference>
<ProjectReference Include="..\GMENepal\GMENepal.csproj">
<Project>{0F5ACC33-43D7-46D3-BB17-0F067EAEE173}</Project>
<Name>GMENepal</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

5
TPServices/packages.config

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.8" targetFramework="net472" />
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net472" />
</packages>

2
ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs

@ -15,11 +15,11 @@ using Common.Models.Status;
using Common.Models.TxnAmendModel;
using Common.Models.TxnModel;
using log4net;
using Newtonsoft.Json;
using System;
using System.Web.Http;
using Common.Utility;
using Common.Models.DigitalSignature;
using Newtonsoft.Json;
namespace ThirdPartyAPIs.ApiControllers
{

10
ThirdPartyAPIs/Web.config

@ -64,11 +64,17 @@
<add key="gccremit" value="394449" />
<!--GCC Remit API -->
<add key="gcc_base_url" value="http://demo.api.gccremit.com/SendAPI.svc" />
<!--<add key="gcc_base_url" value="http://demo.api.gccremit.com/SendAPI.svc" />
<add key="gcc_password" value="demo123@" />
<add key="gcc_securityKey" value="6HumnMSbNxltKc8UmOJ/mA==" />
<add key="gcc_partnerId" value="06327532" />
<add key="gcc_partnerId" value="06327532" />-->
<add key="gcc_base_url" value="https://api.gccremit.com/SendAPI.svc" />
<add key="gcc_password" value="welcome123@" />
<add key="gcc_securityKey" value="t4W6KciZOZmpiH+9xcl7ng==" />
<add key="gcc_partnerId" value="11069047" />
<!-- END API PartnerId-->
<!--SMS API URL-->
<add key="onewaysmsURL" value="https://api.textmarketer.co.uk/gateway/" />

Loading…
Cancel
Save