java.lang.Object
es.kukenan.smartfi.microservice.contracts.api.assets.AssetDto
es.kukenan.smartfi.microservice.contracts.api.assets.FundAssetDto
All Implemented Interfaces:
Dto, Visitable, Serializable
Direct Known Subclasses:
FundAssetDetailDto

public class FundAssetDto extends AssetDto
This class is use to describe the contact of a Product object.
See Also:
  • Field Details

    • serialVersionUID

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

      private String isin
      Fund asset ISIN.
    • effectiveValue

      private AmountDto effectiveValue
      Effective value.
    • liquidationValue

      private AmountDto liquidationValue
      Liquid value.
    • unityQuantity

      private Double unityQuantity
      Shares count.
    • costEffectiveness

      private Double costEffectiveness
      Fund profit calculated from its creation.
  • Constructor Details

    • FundAssetDto

      public FundAssetDto(String id, String name, String isin, AmountDto effectiveValue, AmountDto liquidationValue, Double unityQuantity, Double costEffectiveness)
      State constructor.
      Parameters:
      id - fund asset identifier.
      name - fund asset ISIN name.
      isin - fund asset ISIN.
      effectiveValue - effective value.
      liquidationValue - liquid value.
      unityQuantity - shares count.
      costEffectiveness - fund profit calculated from its creation.
  • 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 AssetDto
      Parameters:
      visitor - visitor.