-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #618 from Mangopay/feature/integrate-the-format-of…
…-user-data feature/ Integrate Validate the format of User data endpoint
- Loading branch information
Showing
5 changed files
with
79 additions
and
3 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
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,29 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
class CompanyNumber extends Libraries\EntityBase | ||
{ | ||
/** | ||
* Information about the registration number of a legal entity. | ||
* @var string | ||
*/ | ||
public $CompanyNumber; | ||
|
||
/** | ||
* The country of the registration of the legal entity, against which the company number format is validated. | ||
* @var string | ||
*/ | ||
public $CountryCode; | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
public $IsValid; | ||
|
||
/** | ||
* Validation rules applied for a given country | ||
* @var array | ||
*/ | ||
public $ValidationRules; | ||
} |
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,12 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
class CompanyNumberDetails extends Libraries\EntityBase | ||
{ | ||
/** | ||
* Company number details | ||
* @var object | ||
*/ | ||
public $CompanyNumber; | ||
} |
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