Updating samples to use fluent setters + doc fixes

This commit is contained in:
aydiv
2013-08-22 17:24:04 +05:30
parent 14b9a13f8a
commit f4d687b52b
27 changed files with 422 additions and 893 deletions

View File

@@ -15,8 +15,8 @@ use PayPal\Api\Sale;
// Create a refund object indicating
// refund amount
$amt = new Amount();
$amt->setCurrency('USD');
$amt->setTotal('0.01');
$amt->setCurrency('USD')
->setTotal('0.01');
$refund = new Refund();
$refund->setAmount($amt);