|
|
@@ -21,8 +21,8 @@ final readonly class AutomaticAnticipationSettingsData extends PagarmeData
|
|
|
throw new \InvalidArgumentException('automatic_anticipation_settings.volume_percentage deve estar entre 0 e 100.');
|
|
|
}
|
|
|
|
|
|
- if ($this->delay !== null && $this->delay < 0) {
|
|
|
- throw new \InvalidArgumentException('automatic_anticipation_settings.delay deve ser maior ou igual a zero.');
|
|
|
+ if ($this->delay !== null && $this->delay < 1) {
|
|
|
+ throw new \InvalidArgumentException('automatic_anticipation_settings.delay deve ser maior ou igual a um.');
|
|
|
}
|
|
|
}
|
|
|
|