-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
191 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class AccountPhone | ||
{ | ||
public $number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
use Checkout\Common\AccountHolderIdentification; | ||
use Checkout\Common\Address; | ||
|
||
abstract class AccountsAccountHolder | ||
{ | ||
/** | ||
* @var string value of AccountHolderType | ||
*/ | ||
public $type; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $tax_id; | ||
|
||
/** | ||
* @var DateOfBirth | ||
*/ | ||
public $date_of_birth; | ||
|
||
/** | ||
* @var string value of CountryCode | ||
*/ | ||
public $country_of_birth; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $residential_status; | ||
|
||
/** | ||
* @var Address | ||
*/ | ||
public $billing_address; | ||
|
||
/** | ||
* @var AccountPhone | ||
*/ | ||
public $phone; | ||
|
||
/** | ||
* @var AccountHolderIdentification | ||
*/ | ||
public $identification; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $email; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class AccountsCorporateAccountHolder extends AccountsAccountHolder | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $company_name; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class AccountsIndividualAccountHolder extends AccountsAccountHolder | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $first_name; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $last_name; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class BusinessType | ||
{ | ||
public static $general_partnership = "general_partnership"; | ||
public static $limited_partnership = "limited_partnership"; | ||
public static $public_limited_company = "public_limited_company"; | ||
public static $limited_company = "limited_company"; | ||
public static $professional_association = "professional_association"; | ||
public static $unincorporated_association = "unincorporated_association"; | ||
public static $auto_entrepreneur = "auto_entrepreneur"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class EntityFinancialDetails | ||
{ | ||
/** | ||
* @var int | ||
*/ | ||
public $annual_processing_volume; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $average_transaction_value; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $highest_transaction_value; | ||
|
||
/** | ||
* @var EntityFinancialDocuments | ||
*/ | ||
public $documents; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class EntityFinancialDocuments | ||
{ | ||
/** | ||
* @var EntityDocument | ||
*/ | ||
public $bank_statement; | ||
|
||
/** | ||
* @var EntityDocument | ||
*/ | ||
public $financial_statement; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class EntityRoles | ||
{ | ||
public static $ubo = "ubo"; | ||
public static $legal_representative = "legal_representative"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Checkout\Accounts; | ||
|
||
class PlaceOfBirth | ||
{ | ||
/** | ||
* @var string value of Country | ||
*/ | ||
public $country; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters