1
0

Release 0.7.0

Beta Release 0.7.0 including:

- Bug fixes
- Updated model/function names
- Updated models to reflect changes in APIs
This commit is contained in:
Patrick Powers
2025-03-20 13:18:55 -05:00
committed by GitHub
parent bba7e8b3d0
commit 504c367386
707 changed files with 22368 additions and 9237 deletions

View File

@@ -10,18 +10,19 @@ declare(strict_types=1);
namespace PaypalServerSdkLib\Models;
use PaypalServerSdkLib\ApiHelper;
use stdClass;
/**
* Reauthorizes an authorized PayPal account payment, by ID. To ensure that funds are still available,
* reauthorize a payment after its initial three-day honor period expires. You can reauthorize a
* payment only once from days four to 29.<br/><br/>If 30 days have transpired since the date of the
* original authorization, you must create an authorized payment instead of reauthorizing the original
* authorized payment.<br/><br/>A reauthorized payment itself has a new honor period of three days.
* <br/><br/>You can reauthorize an authorized payment once. The allowed amount depends on context and
* geography, for example in US it is up to 115% of the original authorized amount, not to exceed an
* increase of $75 USD.<br/><br/>Supports only the `amount` request parameter.<blockquote><strong>Note:
* </strong> This request is currently not supported for Partner use cases.</blockquote>
* payment only once from days four to 29. If 30 days have transpired since the date of the original
* authorization, you must create an authorized payment instead of reauthorizing the original
* authorized payment. A reauthorized payment itself has a new honor period of three days. You can
* reauthorize an authorized payment once. The allowed amount depends on context and geography, for
* example in US it is up to 115% of the original authorized amount, not to exceed an increase of $75
* USD. Supports only the `amount` request parameter. Note: This request is currently not supported for
* Partner use cases.
*/
class ReauthorizeRequest implements \JsonSerializable
{
@@ -50,6 +51,16 @@ class ReauthorizeRequest implements \JsonSerializable
$this->amount = $amount;
}
/**
* Converts the ReauthorizeRequest object to a human-readable string representation.
*
* @return string The string representation of the ReauthorizeRequest object.
*/
public function __toString(): string
{
return ApiHelper::stringify('ReauthorizeRequest', ['amount' => $this->amount]);
}
/**
* Encode this object to JSON
*