Proper changes to samples for Credit Card

This commit is contained in:
mrak and sdcoffey
2016-10-25 17:40:37 -05:00
parent 7b380a1447
commit 7c5ea8b997
7 changed files with 14 additions and 11 deletions

View File

@@ -27,6 +27,7 @@ to correct setting. In this case, it would be &#39;authorize&#39;</p></div></div
-&gt;setCvv2(<span class="hljs-string">"012"</span>)
-&gt;setFirstName(<span class="hljs-string">"Joe"</span>)
-&gt;setLastName(<span class="hljs-string">"Shopper"</span>)
-&gt;setBillingCountry(<span class="hljs-string">"US"</span>)
-&gt;setBillingAddress(<span class="hljs-variable">$addr</span>);
<span class="hljs-variable">$fi</span> = <span class="hljs-keyword">new</span> FundingInstrument();

View File

@@ -21,7 +21,8 @@ used to fund a payment.</p></div></div><div class="code"><div class="wrapper"><s
-&gt;setExpireYear(<span class="hljs-string">"2019"</span>)
-&gt;setCvv2(<span class="hljs-string">"012"</span>)
-&gt;setFirstName(<span class="hljs-string">"Joe"</span>)
-&gt;setLastName(<span class="hljs-string">"Shopper"</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="fundinginstrument">FundingInstrument</h3>
-&gt;setLastName(<span class="hljs-string">"Shopper"</span>)
-&gt;setBillingCountry(<span class="hljs-string">"US"</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="fundinginstrument">FundingInstrument</h3>
<p>A resource representing a Payer&#39;s funding instrument.
For direct credit card payments, set the CreditCard
field on this object.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-variable">$fi</span> = <span class="hljs-keyword">new</span> FundingInstrument();