Skip to content

Commit

Permalink
Added missing Capture fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sandervanhooft committed Mar 19, 2024
1 parent 3920816 commit 38f542b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Resources/Capture.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit 38f542b

Please sign in to comment.