Confusion about split transaction amount vs value vs parentAmount vs parentValue

jugdizh's Avatar

jugdizh

30 Dec, 2016 07:00 PM

I am thoroughly confused about the differences between:
SplitTxn.getAmount()
SplitTxn.getValue()
SplitTxn.getParentAmount()
SplitTxn.getParentValue()

For one, the getParentAmount() and getParentValue() seem to be exactly identical. They return the same value and have the same description in the docs. But getAmount() and getValue() return different things. Why?

Also, why is the description for getAmount() and getParentAmount() the same in the docs?

Most importantly, why when I view the details of a split transaction, does the <SPLITAMT> value different from the getAmount() number I get back?

  1. System closed this discussion on 31 Mar, 2017 07:10 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac