You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Invoice.php
+34-1Lines changed: 34 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,12 @@ class Invoice implements \JsonSerializable
298
298
*/
299
299
protected$verification;
300
300
301
+
/**
302
+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
303
+
* @var string
304
+
*/
305
+
protected$autoCaptureAt;
306
+
301
307
/**
302
308
* Invoice constructor
303
309
* @param ProcessOut\ProcessOut $client
@@ -1448,6 +1454,28 @@ public function setVerification($value)
1448
1454
return$this;
1449
1455
}
1450
1456
1457
+
/**
1458
+
* Get AutoCaptureAt
1459
+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
1460
+
* @return string
1461
+
*/
1462
+
publicfunctiongetAutoCaptureAt()
1463
+
{
1464
+
return$this->autoCaptureAt;
1465
+
}
1466
+
1467
+
/**
1468
+
* Set AutoCaptureAt
1469
+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
1470
+
* @param string $value
1471
+
* @return $this
1472
+
*/
1473
+
publicfunctionsetAutoCaptureAt($value)
1474
+
{
1475
+
$this->autoCaptureAt = $value;
1476
+
return$this;
1477
+
}
1478
+
1451
1479
1452
1480
/**
1453
1481
* Fills the current object with the new values pulled from the data
@@ -1597,6 +1625,9 @@ public function fillWithData($data)
0 commit comments