From 38f542ba429d16198a04b28c30c0eb5a1b9d24c7 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Tue, 19 Mar 2024 11:41:35 +0100 Subject: [PATCH] Added missing Capture fields --- src/Resources/Capture.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Resources/Capture.php b/src/Resources/Capture.php index 2fc7c4e5..89cd8620 100644 --- a/src/Resources/Capture.php +++ b/src/Resources/Capture.php @@ -24,6 +24,13 @@ class Capture extends BaseResource */ public $mode; + /** + * Status of the capture. + * + * @var string + */ + public $status; + /** * Amount object containing the value and currency * @@ -59,6 +66,15 @@ class Capture extends BaseResource */ public $settlementId; + /** + * Provide any data you like, for example a string or a JSON object. The data will be saved alongside the capture. + * Whenever you fetch the capture, the metadata will be included. + * You can use up to approximately 1kB on this field. + * + * @var \stdClass|mixed|null + */ + public $metadata; + /** * @var string */