diff --git a/lib/Checkout/Payments/Sessions/PaymentSessionsRequest.php b/lib/Checkout/Payments/Sessions/PaymentSessionsRequest.php index c239a9f..a174a8f 100644 --- a/lib/Checkout/Payments/Sessions/PaymentSessionsRequest.php +++ b/lib/Checkout/Payments/Sessions/PaymentSessionsRequest.php @@ -2,13 +2,17 @@ namespace Checkout\Payments\Sessions; +use Checkout\Payments\Request\PaymentRetryRequest; +use Checkout\Payments\RiskRequest; +use Checkout\Payments\Sender\PaymentSender; use Checkout\Payments\ShippingDetails; use Checkout\Payments\PaymentRecipient; use Checkout\Payments\BillingDescriptor; use Checkout\Payments\BillingInformation; use Checkout\Payments\ProcessingSettings; use Checkout\Payments\PaymentCustomerRequest; -use Checkout\Payments\Sessions\PaymentMethodConfiguration; +use Checkout\Payments\ThreeDsRequest; +use DateTime; class PaymentSessionsRequest { @@ -67,6 +71,11 @@ class PaymentSessionsRequest */ public $processing; + /** + * @var string + */ + public $processing_channel_id; + /** * @var DateTime */ @@ -147,8 +156,18 @@ class PaymentSessionsRequest */ public $capture; + /** + * @var DateTime + */ + public $capture_on; + /** * @var string */ public $ip_address; + + /** + * @var int + */ + public $tax_amount; } diff --git a/test/Checkout/Tests/Payments/RequestApmPaymentsIntegrationTest.php b/test/Checkout/Tests/Payments/RequestApmPaymentsIntegrationTest.php index 1fe6fca..573eb51 100644 --- a/test/Checkout/Tests/Payments/RequestApmPaymentsIntegrationTest.php +++ b/test/Checkout/Tests/Payments/RequestApmPaymentsIntegrationTest.php @@ -268,7 +268,7 @@ public function shouldMakePayPalPayment() $requestSource->plan = $plan; - $product = new \Checkout\Payments\Product(); + $product = new Product(); $product->name = "laptop"; $product->unit_price = 10; $product->quantity = 1;