-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Identification.result
and its sub-entities
- Loading branch information
Showing
6 changed files
with
75 additions
and
0 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,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DigitalCz\DigiSign\Resource; | ||
|
||
use DigitalCz\DigiSign\Resource\Traits\EntityResourceTrait; | ||
|
||
class IdentificationBankStatement extends BaseResource | ||
{ | ||
use EntityResourceTrait; | ||
|
||
public File $file; | ||
} |
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 | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DigitalCz\DigiSign\Resource; | ||
|
||
use DigitalCz\DigiSign\Resource\Traits\EntityResourceTrait; | ||
|
||
class IdentificationDocument extends BaseResource | ||
{ | ||
use EntityResourceTrait; | ||
|
||
public string $type; | ||
public File $front; | ||
public ?File $back; | ||
} |
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 | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DigitalCz\DigiSign\Resource; | ||
|
||
use DigitalCz\DigiSign\Resource\Traits\EntityResourceTrait; | ||
|
||
class IdentificationInspection extends BaseResource | ||
{ | ||
use EntityResourceTrait; | ||
} |
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,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DigitalCz\DigiSign\Resource; | ||
|
||
use DigitalCz\DigiSign\Resource\Traits\EntityResourceTrait; | ||
|
||
class IdentificationResult extends BaseResource | ||
{ | ||
use EntityResourceTrait; | ||
|
||
public ?IdentificationDocument $primaryDocument; | ||
public ?IdentificationDocument $secondaryDocument; | ||
public ?IdentificationBankStatement $bankStatement; | ||
public ?IdentificationSelfie $selfie; | ||
public ?IdentificationInspection $inspection; | ||
} |
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 | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DigitalCz\DigiSign\Resource; | ||
|
||
use DigitalCz\DigiSign\Resource\Traits\EntityResourceTrait; | ||
|
||
class IdentificationSelfie extends BaseResource | ||
{ | ||
use EntityResourceTrait; | ||
|
||
public Image $image; | ||
} |