Skip to content

Commit

Permalink
Payment: cast Amount as Currency (#245)
Browse files Browse the repository at this point in the history
fixes #244
  • Loading branch information
wernerkrauss authored Sep 3, 2024
1 parent 5b8c174 commit ff9b3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ final class Payment extends DataObject implements PermissionProvider
];

private static $casting = [
'Amount' => 'Decimal'
'Amount' => 'Currency'
];

private static $summary_fields = [
Expand Down

0 comments on commit ff9b3ad

Please sign in to comment.