Skip to content

Commit ff9b3ad

Browse files
authored
Payment: cast Amount as Currency (#245)
fixes #244
1 parent 5b8c174 commit ff9b3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Payment.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ final class Payment extends DataObject implements PermissionProvider
6565
];
6666

6767
private static $casting = [
68-
'Amount' => 'Decimal'
68+
'Amount' => 'Currency'
6969
];
7070

7171
private static $summary_fields = [

0 commit comments

Comments
 (0)