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

public class FundOnFlyMovementDto extends MovementDto
DTO describing an fund on fly movement contract.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      serialVersionUID.
      See Also:
    • originFund

      private IdNamePairDto originFund
      Origin fund.
    • destinationFund

      private IdNamePairDto 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

      public void accept(Visitor visitor)
      Description copied from interface: Visitable
      Accept a visitor. Normally, this is implemented in the concrete class by delegating to a concrete visit method in the visitor.
      Specified by:
      accept in interface Visitable
      Overrides:
      accept in class MovementDto
      Parameters:
      visitor - visitor.