-
Notifications
You must be signed in to change notification settings - Fork 4
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 #1 from san4io/new-kyc-implementation
New kyc implementation
- Loading branch information
Showing
18 changed files
with
288 additions
and
234 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,11 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Velser\OndatoApiClient\Kyc; | ||
|
||
final class DocumentTypes | ||
{ | ||
const DOCUMENT_ID_CARD = 1; | ||
const DOCUMENT_PASSPORT = 2; | ||
const DOCUMENT_DRIVER_LICENSE = 3; | ||
} |
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,50 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Velser\OndatoApiClient\Kyc\Entity; | ||
|
||
|
||
class FlowData | ||
{ | ||
private $language; | ||
private $redirectUrl; | ||
private $formType; | ||
|
||
public function getLanguage(): string | ||
{ | ||
return $this->language; | ||
} | ||
|
||
public function setLanguage(string $language): FlowData | ||
{ | ||
$this->language = $language; | ||
|
||
return $this; | ||
} | ||
|
||
public function getRedirectUrl(): ?string | ||
{ | ||
return $this->redirectUrl; | ||
} | ||
|
||
public function setRedirectUrl(string $redirectUrl): FlowData | ||
{ | ||
$this->redirectUrl = $redirectUrl; | ||
|
||
return $this; | ||
} | ||
|
||
public function getFormType(): ?string | ||
{ | ||
return $this->formType; | ||
} | ||
|
||
public function setFormType(string $formType): FlowData | ||
{ | ||
$this->formType = $formType; | ||
|
||
return $this; | ||
} | ||
|
||
|
||
} |
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
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
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
Oops, something went wrong.