Skip to content

Commit

Permalink
Update Payment Contexts and Onboard Entity (#244)
Browse files Browse the repository at this point in the history
* Update payment contexts

* Update onboard entity request
  • Loading branch information
armando-rodriguez-cko authored Mar 20, 2024
1 parent 7db00ad commit 79a0909
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Checkout/Accounts/EntityFinancialDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ class EntityFinancialDetails
* @var EntityFinancialDocuments
*/
public $documents;

/**
* @var string value of Currency
*/
public $currency;
}
5 changes: 5 additions & 0 deletions lib/Checkout/Accounts/Individual.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ class Individual
* @var Identification
*/
public $identification;

/**
* @var EntityFinancialDetails
*/
public $financialDetails;
}
5 changes: 5 additions & 0 deletions lib/Checkout/Accounts/Representative.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ class Representative
* @var array values of EntityRoles
*/
public $roles;

/**
* @var OnboardSubEntityDocuments
*/
public $documents;
}
11 changes: 11 additions & 0 deletions lib/Checkout/Payments/Contexts/PaymentContextsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Checkout\Payments\Contexts;

use Checkout\Common\CustomerRequest;
use Checkout\Payments\Request\Source\AbstractRequestSource;
use Checkout\Payments\ShippingDetails;

Expand All @@ -27,11 +28,21 @@ class PaymentContextsRequest
*/
public $payment_type;

/**
* @var string
*/
public $authorizationType;

/**
* @var bool
*/
public $capture;

/**
* @var CustomerRequest
*/
public $customer;

/**
* @var ShippingDetails
*/
Expand Down

0 comments on commit 79a0909

Please sign in to comment.