diff --git a/src/Model/Payment.php b/src/Model/Payment.php index 9644041..0263cff 100644 --- a/src/Model/Payment.php +++ b/src/Model/Payment.php @@ -65,7 +65,7 @@ final class Payment extends DataObject implements PermissionProvider ]; private static $casting = [ - 'Amount' => 'Decimal' + 'Amount' => 'Currency' ]; private static $summary_fields = [