public class StockDividend extends Object
Constructor and Description |
---|
StockDividend(String symbol) |
StockDividend(String symbol,
Calendar payDate,
Calendar exDate,
BigDecimal annualYield,
BigDecimal annualYieldPercent) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAnnualYield() |
BigDecimal |
getAnnualYieldPercent() |
Calendar |
getExDate() |
Calendar |
getPayDate() |
String |
getSymbol() |
void |
setAnnualYield(BigDecimal annualYield) |
void |
setAnnualYieldPercent(BigDecimal annualYieldPercent) |
void |
setExDate(Calendar exDate) |
void |
setPayDate(Calendar payDate) |
String |
toString() |
public StockDividend(String symbol)
public StockDividend(String symbol, Calendar payDate, Calendar exDate, BigDecimal annualYield, BigDecimal annualYieldPercent)
public String getSymbol()
public Calendar getPayDate()
public void setPayDate(Calendar payDate)
public Calendar getExDate()
public void setExDate(Calendar exDate)
public BigDecimal getAnnualYield()
public void setAnnualYield(BigDecimal annualYield)
public BigDecimal getAnnualYieldPercent()
public void setAnnualYieldPercent(BigDecimal annualYieldPercent)
Copyright © 2022. All rights reserved.