@Generated(value={"Immutables.generator","FfbDisposition"}) public final class ImmutableFfbDisposition extends Object implements FfbDisposition
FfbDisposition.
Use the builder to create immutable instances:
ImmutableFfbDisposition.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFfbDisposition.Builder
Builds instances of type
ImmutableFfbDisposition. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableFfbDisposition.Builder |
builder()
Creates a builder for
ImmutableFfbDisposition. |
static ImmutableFfbDisposition |
copyOf(FfbDisposition instance)
Creates an immutable copy of a
FfbDisposition value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFfbDisposition that have equal attribute values. |
String |
getAuftragtyp()
The type of the order.
|
BigDecimal |
getBetrag()
The worth of the order as string, german format (decimal comma, thousands dots).
|
String |
getDepot()
Returns the name of the depot this transaction belongs to.
|
java.time.LocalDate |
getEingabedatum()
Date of entry as string (when the order was placed).
|
String |
getFondsname()
Returns the name of the fund this transaction belongs to.
|
String |
getIsin()
The Internation Securities Identification Number of the fund which was traded.
|
String |
getKagName()
The name of the Kapitalanlagegesellschaft, the investment trust.
|
Optional<BigDecimal> |
getRabatt()
The rabatt (discount) in german format (decimal comma).
|
BigDecimal |
getStuecke()
How many units of the investment funds are traded.
|
String |
getTeilauftragtyp()
The sub category of the order type (see
getAuftragtyp()). |
String |
getVerrechnungskonto()
The account where the amount will be withdrawn from, if applicable.
|
String |
getWkn()
The german Wertpapierkennnummer.
|
int |
hashCode()
Computes a hash code from attributes:
depot, fondsname, isin, wkn, kagName, auftragtyp, teilauftragtyp, eingabedatum, verrechnungskonto, betrag, stuecke, rabatt. |
String |
toString()
Prints the immutable value
FfbDisposition with attribute values. |
ImmutableFfbDisposition |
withAuftragtyp(String value)
Copy the current immutable object by setting a value for the
auftragtyp attribute. |
ImmutableFfbDisposition |
withBetrag(BigDecimal value)
Copy the current immutable object by setting a value for the
betrag attribute. |
ImmutableFfbDisposition |
withDepot(String value)
Copy the current immutable object by setting a value for the
depot attribute. |
ImmutableFfbDisposition |
withEingabedatum(java.time.LocalDate value)
Copy the current immutable object by setting a value for the
eingabedatum attribute. |
ImmutableFfbDisposition |
withFondsname(String value)
Copy the current immutable object by setting a value for the
fondsname attribute. |
ImmutableFfbDisposition |
withIsin(String value)
Copy the current immutable object by setting a value for the
isin attribute. |
ImmutableFfbDisposition |
withKagName(String value)
Copy the current immutable object by setting a value for the
kagName attribute. |
ImmutableFfbDisposition |
withRabatt(BigDecimal value)
Copy the current immutable object by setting a present value for the optional
rabatt attribute. |
ImmutableFfbDisposition |
withRabatt(Optional<? extends BigDecimal> optional)
Copy the current immutable object by setting an optional value for the
rabatt attribute. |
ImmutableFfbDisposition |
withStuecke(BigDecimal value)
Copy the current immutable object by setting a value for the
stuecke attribute. |
ImmutableFfbDisposition |
withTeilauftragtyp(String value)
Copy the current immutable object by setting a value for the
teilauftragtyp attribute. |
ImmutableFfbDisposition |
withVerrechnungskonto(String value)
Copy the current immutable object by setting a value for the
verrechnungskonto attribute. |
ImmutableFfbDisposition |
withWkn(String value)
Copy the current immutable object by setting a value for the
wkn attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic String getDepot()
getDepot in interface FfbDispositionpublic String getFondsname()
getFondsname in interface FfbDispositionpublic String getIsin()
getIsin in interface FfbDispositionpublic String getWkn()
If you prepend this string with three zeroes (padding), than you have the NSIN.
getWkn in interface FfbDispositionpublic String getKagName()
getKagName in interface FfbDispositionpublic String getAuftragtyp()
Can be one of the following:
getAuftragtyp in interface FfbDispositionpublic String getTeilauftragtyp()
getTeilauftragtyp in interface FfbDispositionpublic java.time.LocalDate getEingabedatum()
getEingabedatum in interface FfbDispositionpublic String getVerrechnungskonto()
Warning! Can be null as seen here: Comment on github issue #1.
Known values:
getVerrechnungskonto in interface FfbDispositionpublic BigDecimal getBetrag()
getBetrag in interface FfbDispositionpublic BigDecimal getStuecke()
getStuecke in interface FfbDispositionpublic Optional<BigDecimal> getRabatt()
getRabatt in interface FfbDispositionpublic final ImmutableFfbDisposition withDepot(String value)
depot attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for depotthis objectpublic final ImmutableFfbDisposition withFondsname(String value)
fondsname attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for fondsnamethis objectpublic final ImmutableFfbDisposition withIsin(String value)
isin attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isinthis objectpublic final ImmutableFfbDisposition withWkn(String value)
wkn attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for wknthis objectpublic final ImmutableFfbDisposition withKagName(String value)
kagName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for kagNamethis objectpublic final ImmutableFfbDisposition withAuftragtyp(String value)
auftragtyp attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for auftragtypthis objectpublic final ImmutableFfbDisposition withTeilauftragtyp(String value)
teilauftragtyp attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for teilauftragtypthis objectpublic final ImmutableFfbDisposition withEingabedatum(java.time.LocalDate value)
eingabedatum attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for eingabedatumthis objectpublic final ImmutableFfbDisposition withVerrechnungskonto(String value)
verrechnungskonto attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for verrechnungskontothis objectpublic final ImmutableFfbDisposition withBetrag(BigDecimal value)
betrag attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for betragthis objectpublic final ImmutableFfbDisposition withStuecke(BigDecimal value)
stuecke attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for stueckethis objectpublic final ImmutableFfbDisposition withRabatt(BigDecimal value)
rabatt attribute.value - The value for rabattthis objectpublic final ImmutableFfbDisposition withRabatt(Optional<? extends BigDecimal> optional)
rabatt attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for rabattthis objectpublic boolean equals(Object another)
ImmutableFfbDisposition that have equal attribute values.public int hashCode()
depot, fondsname, isin, wkn, kagName, auftragtyp, teilauftragtyp, eingabedatum, verrechnungskonto, betrag, stuecke, rabatt.public String toString()
FfbDisposition with attribute values.public static ImmutableFfbDisposition copyOf(FfbDisposition instance)
FfbDisposition value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableFfbDisposition.Builder builder()
ImmutableFfbDisposition.builder in interface FfbDispositionCopyright © 2018. All rights reserved.