Class Transaction

java.lang.Object
com.apptasticsoftware.insynsregistret.Transaction
All Implemented Interfaces:
Comparable<Transaction>

public class Transaction extends Object implements Comparable<Transaction>
Represents a inside trade transaction.
  • Constructor Details

    • Transaction

      public Transaction()
      Default constructor.
    • Transaction

      public Transaction(Transaction o)
      Copy constructor.
      Parameters:
      o - - copy
  • Method Details

    • getPublicationDate

      public LocalDateTime getPublicationDate()
      Get the date when the transaction was published by @see Finansinspektionen (FI).
      Returns:
      publication date
    • setPublicationDate

      public void setPublicationDate(String publicationDate)
      Set the date when the transaction was published by @see Finansinspektionen (FI). Date string format: yyyy-MM-dd HH:mm:ss
      Parameters:
      publicationDate - publication
    • setPublicationDate

      public void setPublicationDate(LocalDateTime publicationDate)
      Set the date when the transaction was published by @see Finansinspektionen (FI).
      Parameters:
      publicationDate - publication
    • getIssuer

      public String getIssuer()
      Get the issuer name for the transaction, for example Kinnevik AB.
      Returns:
      issuer name
    • setIssuer

      public void setIssuer(String issuer)
      Set the issuer name for the transaction, for example Kinnevik AB.
      Parameters:
      issuer - issuer name
    • getLeiCode

      public String getLeiCode()
      Get the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.
      Returns:
      LEI-code
    • setLeiCode

      public void setLeiCode(String leiCode)
      Set the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.
      Parameters:
      leiCode - LEI-code
    • getNotifier

      public String getNotifier()
      Get the notifier for the transaction.
      Returns:
      notifier
    • setNotifier

      public void setNotifier(String notifier)
      Set the notifier for the transaction.
      Parameters:
      notifier - notifier
    • getPdmr

      public String getPdmr()
      Get the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.
      Returns:
      PDMR name
    • setPdmr

      public void setPdmr(String pdmr)
      Set the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.
      Parameters:
      pdmr - PDMR name
    • getPosition

      public String getPosition()
      Get the position, for example CFO or VD.
      Returns:
      position
    • setPosition

      public void setPosition(String position)
      Set the position, for example CFO or VD.
      Parameters:
      position - position
    • isCloselyAssociated

      public boolean isCloselyAssociated()
      Check if there is a closely associated for the transaction.
      Returns:
      is closely associated
    • setCloselyAssociated

      public void setCloselyAssociated(boolean closelyAssociated)
      Set if there is a closely associated for the transaction.
      Parameters:
      closelyAssociated - - is closely associated
    • isAmendment

      public boolean isAmendment()
      Check if amendment for the transaction.
      Returns:
      amendment
    • setAmendment

      public void setAmendment(boolean amendment)
      Set if there is a amendment for the transaction.
      Parameters:
      amendment - amendment
    • getDetailsOfAmendment

      public String getDetailsOfAmendment()
      Get details of amendment for the transaction. Example value: "Uppgift om person i ledande ställning"
      Returns:
      details of amendment
    • setDetailsOfAmendment

      public void setDetailsOfAmendment(String detailsOfAmendment)
      Set details of amendment for the transaction. Example value: "Uppgift om person i ledande ställning"
      Parameters:
      detailsOfAmendment - details of amendment
    • isInitialNotification

      public boolean isInitialNotification()
      Check if initial notification for the transaction.
      Returns:
      initial notification
    • setInitialNotification

      public void setInitialNotification(boolean initialNotification)
      Set initial notification for the transaction.
      Parameters:
      initialNotification - initial notification
    • isLinkedToShareOptionProgramme

      public boolean isLinkedToShareOptionProgramme()
      Is transaction linked to an share option programme.
      Returns:
      is linked to share option programme
    • setLinkedToShareOptionProgramme

      public void setLinkedToShareOptionProgramme(boolean linkedToShareOptionProgramme)
      Set if the transaction is linked to an share option programme.
      Parameters:
      linkedToShareOptionProgramme - linked to share option programme
    • getNatureOfTransaction

      public String getNatureOfTransaction()
      Get the nature of the transaction. Example value: Förvärv, Avyttring, Teckning eller Tilldelning.
      Returns:
      nature of transaction
    • setNatureOfTransaction

      public void setNatureOfTransaction(String natureOfTransaction)
      Set the nature of the transaction. Example value: Förvärv, Avyttring, Teckning eller Tilldelning.
      Parameters:
      natureOfTransaction - nature of transaction
    • getInstrumentType

      public String getInstrumentType()
      Get instrument value.
      Returns:
      instrument value
    • setInstrumentType

      public void setInstrumentType(String instrumentType)
      Set instrument value.
      Parameters:
      instrumentType - instrument value
    • getInstrumentTypeDescription

      public Transaction.InstrumentType getInstrumentTypeDescription()
      Get instrument value description
      Returns:
      instrument value description
    • getInstrumentName

      public String getInstrumentName()
      Get instrument long name. Exmaple value: Kinnevik AB ser. A
      Returns:
      instrument name
    • setInstrumentName

      public void setInstrumentName(String instrumentName)
      Set instrument long name. Example value: Kinnevik AB ser. A
      Parameters:
      instrumentName - instrument name
    • getIsin

      public String getIsin()
      Get International Securities Identification Number (ISIN) code. Example value: SE0008373898
      Returns:
      ISIN-code
    • setIsin

      public void setIsin(String isin)
      Set International Securities Identification Number (ISIN) code. Example value: SE0008373898
      Parameters:
      isin - ISIN-code
    • getTransactionDate

      public LocalDateTime getTransactionDate()
      Get the date when the transaction was made.
      Returns:
      transaction date
    • setTransactionDate

      public void setTransactionDate(String transactionDate)
      Set the date when the transaction was made. Date string format: yyyy-MM-dd HH:mm:ss
      Parameters:
      transactionDate - transaction date
    • setTransactionDate

      public void setTransactionDate(LocalDateTime transactionDate)
      Set the date when the transaction was made.
      Parameters:
      transactionDate - transaction date
    • getQuantity

      public double getQuantity()
      Get the quantity.
      Returns:
      quantity
    • setQuantity

      public void setQuantity(double quantity)
      Set the quantity.
      Parameters:
      quantity - quantity
    • getUnit

      public String getUnit()
      Get the quantity unit. Example value: Antal
      Returns:
      unit
    • setUnit

      public void setUnit(String unit)
      Set the quantity unit. Example value: Antal
      Parameters:
      unit - unit
    • getPrice

      public double getPrice()
      Get the price.
      Returns:
      price
    • setPrice

      public void setPrice(double price)
      Set the price.
      Parameters:
      price - price
    • getCurrency

      public String getCurrency()
      Get the currency. Example value: SEK
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
      Set the currency Example value: SEK
      Parameters:
      currency - currency.
    • getTradingVenue

      public String getTradingVenue()
      Get the trading venue, (e.g., Nordic Growth Market (NGM) or Nasdaq Stockholm) from where the transaction was made. Example value: NASDAQ STOCKHOLM AB or Utanför handelsplats
      Returns:
      trading venue
    • setTradingVenue

      public void setTradingVenue(String tradingVenue)
      Get the trading venue, (e.g., Nordic Growth Market (NGM) or Nasdaq Stockholm) from where the transaction was made. Example value: NASDAQ STOCKHOLM AB or Utanför handelsplats
      Parameters:
      tradingVenue - trading venue
    • getStatus

      public String getStatus()
      Get status for the transaction. Example values: Aktuell, Reviderad, Makulerad
      Returns:
      status
    • setStatus

      public void setStatus(String status)
      Set status for the transaction. Example values: Aktuell, Reviderad, Makulerad
      Parameters:
      status - status
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(Transaction o)
      Specified by:
      compareTo in interface Comparable<Transaction>