Background
ScheduledTransfer, UnscheduledTransfer, and ContingentTransfer all exists inTransferExpression. They each share a number of attributes in Transfer which could be contained in a base type, and this base type is what extends AssetFlowBase
settlementOrigin should only be on scheduled & contingent transfers, as this tells you the payout which generated the transfer.
Task Details
- Create a new type called
TransferBase which contains the identifier and payerReceiver attributes in Transfer. This type extends AssetFlowBase.
- Make
ScheduledTransfer, UnscheduledTransfer, and ContingentTransfer extend TransferBase.
- Add
settlementOrigin as an attribute to ScheduledTransfer and ContingentTransfer
Parent Feature
No response
Additional Context
No response
Background
ScheduledTransfer,UnscheduledTransfer, andContingentTransferall exists inTransferExpression. They each share a number of attributes in Transfer which could be contained in a base type, and this base type is what extends AssetFlowBasesettlementOriginshould only be on scheduled & contingent transfers, as this tells you the payout which generated the transfer.Task Details
TransferBasewhich contains theidentifierandpayerReceiverattributes inTransfer. This type extendsAssetFlowBase.ScheduledTransfer,UnscheduledTransfer, andContingentTransferextendTransferBase.settlementOriginas an attribute toScheduledTransferandContingentTransferParent Feature
No response
Additional Context
No response