Package nl.b3p.commons.clieop3.record
Class Transactie
- java.lang.Object
-
- nl.b3p.commons.clieop3.record.Record
-
- nl.b3p.commons.clieop3.record.Transactie
-
public class Transactie extends Record
-
-
Field Summary
Fields Modifier and Type Field Description static intTRANSACTIE_BETALINGstatic intTRANSACTIE_INCASSOstatic StringTRANSACTIE_ONZUIVERE_CREDITEURENBETALINGstatic StringTRANSACTIE_ONZUIVERE_INCASSOstatic StringTRANSACTIE_ONZUIVERE_SALARISBETALINGstatic StringTRANSACTIE_ZUIVERE_CREDITEURENBETALINGstatic StringTRANSACTIE_ZUIVERE_INCASSOstatic StringTRANSACTIE_ZUIVERE_SALARISBETALINGstatic intTRANSATIIE_SALARIS
-
Constructor Summary
Constructors Constructor Description Transactie(String transactieSoort, BigInteger bedragCenten, BigInteger rekeningnummerBetaler, BigInteger rekeningnummerBegunstigde)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendRecordContents(StringBuffer buf)BigIntegergetBedragCenten()BigIntegergetRekeningnummberBegunstigde()BigIntegergetRekeningnummerBetaler()StringgetTransactieSoort()static StringgetTransactieSoort(BigInteger rekeningnummer, int soort)Controleert of het rekeningnummer een girorekening of een bankrekening is en geeft aan de hand daarvan een transactiesoort met zuiver of onzuiver terug voor gebruik bij de constructor.-
Methods inherited from class nl.b3p.commons.clieop3.record.Record
getRecordCode, getRecordData, getVariantCode
-
-
-
-
Field Detail
-
TRANSACTIE_ONZUIVERE_CREDITEURENBETALING
public static final String TRANSACTIE_ONZUIVERE_CREDITEURENBETALING
- See Also:
- Constant Field Values
-
TRANSACTIE_ONZUIVERE_SALARISBETALING
public static final String TRANSACTIE_ONZUIVERE_SALARISBETALING
- See Also:
- Constant Field Values
-
TRANSACTIE_ZUIVERE_CREDITEURENBETALING
public static final String TRANSACTIE_ZUIVERE_CREDITEURENBETALING
- See Also:
- Constant Field Values
-
TRANSACTIE_ZUIVERE_SALARISBETALING
public static final String TRANSACTIE_ZUIVERE_SALARISBETALING
- See Also:
- Constant Field Values
-
TRANSACTIE_ZUIVERE_INCASSO
public static final String TRANSACTIE_ZUIVERE_INCASSO
- See Also:
- Constant Field Values
-
TRANSACTIE_ONZUIVERE_INCASSO
public static final String TRANSACTIE_ONZUIVERE_INCASSO
- See Also:
- Constant Field Values
-
TRANSACTIE_BETALING
public static final int TRANSACTIE_BETALING
- See Also:
- Constant Field Values
-
TRANSATIIE_SALARIS
public static final int TRANSATIIE_SALARIS
- See Also:
- Constant Field Values
-
TRANSACTIE_INCASSO
public static final int TRANSACTIE_INCASSO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Transactie
public Transactie(String transactieSoort, BigInteger bedragCenten, BigInteger rekeningnummerBetaler, BigInteger rekeningnummerBegunstigde)
-
-
Method Detail
-
getTransactieSoort
public String getTransactieSoort()
-
getBedragCenten
public BigInteger getBedragCenten()
-
getRekeningnummerBetaler
public BigInteger getRekeningnummerBetaler()
-
getRekeningnummberBegunstigde
public BigInteger getRekeningnummberBegunstigde()
-
appendRecordContents
protected void appendRecordContents(StringBuffer buf)
- Specified by:
appendRecordContentsin classRecord
-
getTransactieSoort
public static String getTransactieSoort(BigInteger rekeningnummer, int soort)
Controleert of het rekeningnummer een girorekening of een bankrekening is en geeft aan de hand daarvan een transactiesoort met zuiver of onzuiver terug voor gebruik bij de constructor.- Throws:
IllegalArgumentException- indien het rekeningnummer geen giro- of bankrekeningnummer is of indien soort ongeldig is.
-
-