Class Transaction
java.lang.Object
com.apptasticsoftware.insynsregistret.Transaction
- All Implemented Interfaces:
Comparable<Transaction>
Represents a inside trade transaction.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGet the currency.Get details of amendment for the transaction.Get instrument long name.Get instrument value.Get instrument value descriptiongetIsin()Get International Securities Identification Number (ISIN) code.Get the issuer name for the transaction, for example Kinnevik AB.Get the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.Get the nature of the transaction.Get the notifier for the transaction.getPdmr()Get the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.Get the position, for example CFO or VD.doublegetPrice()Get the price.Get the date when the transaction was published by @see Finansinspektionen (FI).doubleGet the quantity.Get status for the transaction.Get the trading venue, (e.g., Nordic Growth Market (NGM) or Nasdaq Stockholm) from where the transaction was made.Get the date when the transaction was made.getUnit()Get the quantity unit.inthashCode()booleanCheck if amendment for the transaction.booleanCheck if there is a closely associated for the transaction.booleanCheck if initial notification for the transaction.booleanIs transaction linked to an share option programme.voidsetAmendment(boolean amendment) Set if there is a amendment for the transaction.voidsetCloselyAssociated(boolean closelyAssociated) Set if there is a closely associated for the transaction.voidsetCurrency(String currency) Set the currency Example value: SEKvoidsetDetailsOfAmendment(String detailsOfAmendment) Set details of amendment for the transaction.voidsetInitialNotification(boolean initialNotification) Set initial notification for the transaction.voidsetInstrumentName(String instrumentName) Set instrument long name.voidsetInstrumentType(String instrumentType) Set instrument value.voidSet International Securities Identification Number (ISIN) code.voidSet the issuer name for the transaction, for example Kinnevik AB.voidsetLeiCode(String leiCode) Set the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.voidsetLinkedToShareOptionProgramme(boolean linkedToShareOptionProgramme) Set if the transaction is linked to an share option programme.voidsetNatureOfTransaction(String natureOfTransaction) Set the nature of the transaction.voidsetNotifier(String notifier) Set the notifier for the transaction.voidSet the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.voidsetPosition(String position) Set the position, for example CFO or VD.voidsetPrice(double price) Set the price.voidsetPublicationDate(String publicationDate) Set the date when the transaction was published by @see Finansinspektionen (FI).voidsetPublicationDate(LocalDateTime publicationDate) Set the date when the transaction was published by @see Finansinspektionen (FI).voidsetQuantity(double quantity) Set the quantity.voidSet status for the transaction.voidsetTradingVenue(String tradingVenue) Get the trading venue, (e.g., Nordic Growth Market (NGM) or Nasdaq Stockholm) from where the transaction was made.voidsetTransactionDate(String transactionDate) Set the date when the transaction was made.voidsetTransactionDate(LocalDateTime transactionDate) Set the date when the transaction was made.voidSet the quantity unit.
-
Constructor Details
-
Transaction
public Transaction()Default constructor. -
Transaction
-
-
Method Details
-
getPublicationDate
Get the date when the transaction was published by @see Finansinspektionen (FI).- Returns:
- publication date
-
setPublicationDate
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
Set the date when the transaction was published by @see Finansinspektionen (FI).- Parameters:
publicationDate- publication
-
getIssuer
Get the issuer name for the transaction, for example Kinnevik AB.- Returns:
- issuer name
-
setIssuer
Set the issuer name for the transaction, for example Kinnevik AB.- Parameters:
issuer- issuer name
-
getLeiCode
Get the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.- Returns:
- LEI-code
-
setLeiCode
Set the Legal Entity Identifier (LEI) code for the transaction, for example 2138006PZH76JOS6MN27.- Parameters:
leiCode- LEI-code
-
getNotifier
-
setNotifier
Set the notifier for the transaction.- Parameters:
notifier- notifier
-
getPdmr
Get the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.- Returns:
- PDMR name
-
setPdmr
Set the person discharging managerial responsibilities (PDMR) name for the transaction, for example Stefan Persson.- Parameters:
pdmr- PDMR name
-
getPosition
-
setPosition
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
Get details of amendment for the transaction. Example value: "Uppgift om person i ledande ställning"- Returns:
- details of amendment
-
setDetailsOfAmendment
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
-
getNatureOfTransaction
Get the nature of the transaction. Example value: Förvärv, Avyttring, Teckning eller Tilldelning.- Returns:
- nature of transaction
-
setNatureOfTransaction
Set the nature of the transaction. Example value: Förvärv, Avyttring, Teckning eller Tilldelning.- Parameters:
natureOfTransaction- nature of transaction
-
getInstrumentType
-
setInstrumentType
Set instrument value.- Parameters:
instrumentType- instrument value
-
getInstrumentTypeDescription
Get instrument value description- Returns:
- instrument value description
-
getInstrumentName
Get instrument long name. Exmaple value: Kinnevik AB ser. A- Returns:
- instrument name
-
setInstrumentName
Set instrument long name. Example value: Kinnevik AB ser. A- Parameters:
instrumentName- instrument name
-
getIsin
Get International Securities Identification Number (ISIN) code. Example value: SE0008373898- Returns:
- ISIN-code
-
setIsin
Set International Securities Identification Number (ISIN) code. Example value: SE0008373898- Parameters:
isin- ISIN-code
-
getTransactionDate
Get the date when the transaction was made.- Returns:
- transaction date
-
setTransactionDate
Set the date when the transaction was made. Date string format: yyyy-MM-dd HH:mm:ss- Parameters:
transactionDate- transaction date
-
setTransactionDate
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
-
setUnit
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
-
setCurrency
Set the currency Example value: SEK- Parameters:
currency- currency.
-
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
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
Get status for the transaction. Example values: Aktuell, Reviderad, Makulerad- Returns:
- status
-
setStatus
Set status for the transaction. Example values: Aktuell, Reviderad, Makulerad- Parameters:
status- status
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<Transaction>
-