Updated Invoicing APIs

- Updated Model objects.
- Updated Samples.
- Updated Tests.
This commit is contained in:
Jay Patel
2016-07-13 15:16:25 -05:00
parent 9534bcb176
commit c714f77980
48 changed files with 3320 additions and 2881 deletions

View File

@@ -7,7 +7,7 @@ use PayPal\Common\PayPalModel;
/**
* Class CustomAmount
*
* Custom amount applied on an invoice. If a label is included then the amount cannot be empty.
* The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
*
* @package PayPal\Api
*
@@ -17,7 +17,7 @@ use PayPal\Common\PayPalModel;
class CustomAmount extends PayPalModel
{
/**
* Custom amount label. 25 characters max.
* The custom amount label. Maximum length is 25 characters.
*
* @param string $label
*
@@ -30,7 +30,7 @@ class CustomAmount extends PayPalModel
}
/**
* Custom amount label. 25 characters max.
* The custom amount label. Maximum length is 25 characters.
*
* @return string
*/
@@ -40,7 +40,7 @@ class CustomAmount extends PayPalModel
}
/**
* Custom amount value. Range of 0 to 999999.99.
* The custom amount value. Valid range is from -999999.99 to 999999.99.
*
* @param \PayPal\Api\Currency $amount
*
@@ -53,7 +53,7 @@ class CustomAmount extends PayPalModel
}
/**
* Custom amount value. Range of 0 to 999999.99.
* The custom amount value. Valid range is from -999999.99 to 999999.99.
*
* @return \PayPal\Api\Currency
*/