-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add organisation id for related parties and add proprietary amount #141
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## master #141 +/- ##
============================================
+ Coverage 83.06% 83.07% +0.01%
- Complexity 663 668 +5
============================================
Files 78 78
Lines 1612 1625 +13
============================================
+ Hits 1339 1350 +11
- Misses 273 275 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OrgId seems fine, as long as the null
thing is fixed.
I am less sure about the proprietary amount though. You are reading Tp
, and according to spec this is:
6.1.3.1.5.1 Type
Presence: [1..1]
Definition: Specifies the type of amount.
Datatype: "Max35Text" on page 372
It does not sound like an amount of money at all. It could be pretty much any free text. What data to you see in this field ? Instead should you not read 6.1.3.1.5.2 Amount <Amt>
?
Also the proprietary amount is not covered by any tests, and this is a no-go. You should at the very least add a realistic example of data in regression tests.
Hi, regarding this I've added a real TxDtls from the statement that we receive from the bank (of course real data is changed for some dummy data). And in our case we need that parsed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checks on this PR are still failing. Everything need to be green, and the PR should be rebased on top of master, before I can properly review the whole thing.
@@ -26,4 +27,14 @@ public function getName(): ?string | |||
{ | |||
return $this->name; | |||
} | |||
|
|||
public function setOrgId(string $orgId): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
orgId
must be renamed into organisationId
, in the private member, setter and getter.
Yes, Related Parties and ID-s are very neede, maybe I can help with that:
|
No description provided.