Class FundOnFlyMovementDto
java.lang.Object
es.kukenan.smartfi.microservice.contracts.api.movement.MovementDto
es.kukenan.smartfi.microservice.contracts.api.movement.FundOnFlyMovementDto
- All Implemented Interfaces:
Dto,Visitable,Serializable
DTO describing an fund on fly movement contract.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IdNamePairDtoDestination fund.private IdNamePairDtoOrigin fund.private static final longserialVersionUID. -
Constructor Summary
ConstructorsConstructorDescriptionFundOnFlyMovementDto(String id, String reason, AmountDto amount, LocalDate operationDate, IdNamePairDto originFund, IdNamePairDto destinationFund) Full state constructor. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID.- See Also:
-
originFund
Origin fund. -
destinationFund
Destination fund.
-
-
Constructor Details
-
FundOnFlyMovementDto
public FundOnFlyMovementDto(String id, String reason, AmountDto amount, LocalDate operationDate, IdNamePairDto originFund, IdNamePairDto destinationFund) Full state constructor.- Parameters:
id- movement identifier.reason- movement subject/type.amount- movement amount.operationDate- operation date.originFund- Origin fund.destinationFund- Destination fund.
-
-
Method Details
-
accept
Description copied from interface:VisitableAccept a visitor. Normally, this is implemented in the concrete class by delegating to a concrete visit method in the visitor.- Specified by:
acceptin interfaceVisitable- Overrides:
acceptin classMovementDto- Parameters:
visitor- visitor.
-