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
import java.math.BigDecimal | |
// Risk evaluation stuff | |
data class RiskEvaluation( | |
val status: Status, | |
val message: String? = null, | |
) { | |
enum class Status { | |
OK, WARN, FAIL, |
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
import java.time.LocalDate | |
data class DocumentContext( | |
val personId: Long, | |
val userId: Long?, | |
) | |
interface Document | |
enum class DocumentType { |
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
<?php | |
/** | |
* Delete payment. | |
*/ | |
public function delete($id) | |
{ | |
$this->request->onlyAllow('post', 'delete'); | |
$this->Payment->id = (int) $id; | |
$this->Payment->requireExists(); | |
try { |
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
<?php | |
class PersonalNumber | |
{ | |
private $value; | |
// cached | |
private $age = null; | |
private $gender = null; | |
private $dateOfBirth = null; | |
private $isBlank = null; |