Skip to content

Commit

Permalink
Merge pull request #709 from sandervanhooft/add_missing_capture_fields
Browse files Browse the repository at this point in the history
Added missing Capture fields
  • Loading branch information
sandervanhooft authored Mar 19, 2024
2 parents 3920816 + 38f542b commit 6b6a39c
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 6b6a39c

Please sign in to comment.