<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mirgate from AIM to API  .Net core. How to map V1 and APICore classes? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Mirgate-from-AIM-to-API-Net-core-How-to-map-V1-and-APICore/m-p/69593#M42587</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am moving my current application using AIM to API (with .Net Core).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem i am having is the class definitions are not the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example for Customer class (Authorize.Customer) contains the PaymentProfile class&lt;/P&gt;&lt;P&gt;which accept customerPaymentProfileMaskedType in its constructor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public PaymentProfile(customerPaymentProfileMaskedType apiType);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the apiType is &lt;STRONG&gt;AuthorizeNet.APICore&lt;/STRONG&gt;.customerPaymentProfileMaskedType&amp;nbsp; class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while in from the API i got the &lt;STRONG&gt;AuthorizeNet.Api.Contracts.V1&lt;/STRONG&gt;.customerPaymentProfileMaskedType back?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an simple way to mapped these classes?&amp;nbsp; i tried to look through our forum and could not find one.&lt;/P&gt;&lt;P&gt;(i am using Authorize.Net.AspCore2 version 1.9.3 package)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ken&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 16:37:14 GMT</pubDate>
    <dc:creator>doxess123</dc:creator>
    <dc:date>2019-11-04T16:37:14Z</dc:date>
    <item>
      <title>Mirgate from AIM to API  .Net core. How to map V1 and APICore classes?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Mirgate-from-AIM-to-API-Net-core-How-to-map-V1-and-APICore/m-p/69593#M42587</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am moving my current application using AIM to API (with .Net Core).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem i am having is the class definitions are not the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example for Customer class (Authorize.Customer) contains the PaymentProfile class&lt;/P&gt;&lt;P&gt;which accept customerPaymentProfileMaskedType in its constructor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public PaymentProfile(customerPaymentProfileMaskedType apiType);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the apiType is &lt;STRONG&gt;AuthorizeNet.APICore&lt;/STRONG&gt;.customerPaymentProfileMaskedType&amp;nbsp; class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while in from the API i got the &lt;STRONG&gt;AuthorizeNet.Api.Contracts.V1&lt;/STRONG&gt;.customerPaymentProfileMaskedType back?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an simple way to mapped these classes?&amp;nbsp; i tried to look through our forum and could not find one.&lt;/P&gt;&lt;P&gt;(i am using Authorize.Net.AspCore2 version 1.9.3 package)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ken&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 16:37:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Mirgate-from-AIM-to-API-Net-core-How-to-map-V1-and-APICore/m-p/69593#M42587</guid>
      <dc:creator>doxess123</dc:creator>
      <dc:date>2019-11-04T16:37:14Z</dc:date>
    </item>
  </channel>
</rss>

