<?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 Re: Obtain &amp;quot;nameOnAccount&amp;quot; Via TransactionDetailsAPI With Java? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Obtain-quot-nameOnAccount-quot-Via-TransactionDetailsAPI-With/m-p/35002#M19409</link>
    <description>&lt;P&gt;Hello JabariHunt,&lt;BR /&gt;&lt;BR /&gt;It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2013 18:52:54 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2013-07-16T18:52:54Z</dc:date>
    <item>
      <title>Obtain "nameOnAccount" Via TransactionDetailsAPI With Java?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Obtain-quot-nameOnAccount-quot-Via-TransactionDetailsAPI-With/m-p/34967#M19382</link>
      <description>&lt;P&gt;I'm using the Java SDK to process credit card and eCheck transactions as well as obtain transaction history. &amp;nbsp;Up until today, the integration has been flawless.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to obtain the "nameOnAccount" variable for eCheck Transactions (using the TransactionDetails API). &amp;nbsp;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// The "transactionDetail" variable has already been assigned as type "TransactionDetails"

String name             = "";
String paymentType  = transactionDetail.getAccountType().getValue();

if (paymentType.equals("eCheck")) {name = transactionDetail.getPayment().getBankAccount().getBankAccountName();}
else {name = transactionDetail.getFirstName() + " " + transactionDetail.getLastName();}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the paymentType equals "eCheck", one of the methods used is returning a null value (I'm still investigating which one). &amp;nbsp;Has anyone done this successfully? &amp;nbsp;If so, can you paste a quick code example?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 04:34:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Obtain-quot-nameOnAccount-quot-Via-TransactionDetailsAPI-With/m-p/34967#M19382</guid>
      <dc:creator>JabariHunt</dc:creator>
      <dc:date>2013-07-11T04:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain "nameOnAccount" Via TransactionDetailsAPI With Java?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Obtain-quot-nameOnAccount-quot-Via-TransactionDetailsAPI-With/m-p/35002#M19409</link>
      <description>&lt;P&gt;Hello JabariHunt,&lt;BR /&gt;&lt;BR /&gt;It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:52:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Obtain-quot-nameOnAccount-quot-Via-TransactionDetailsAPI-With/m-p/35002#M19409</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2013-07-16T18:52:54Z</dc:date>
    </item>
  </channel>
</rss>

