-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #439 from langfr/feature/436
Direct Debit: add field CreditorReferenceID.
- Loading branch information
Showing
6 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package org.mustangproject; | ||
|
||
import org.mustangproject.ZUGFeRD.IZUGFeRDTradeSettlementDebit; | ||
|
||
/** | ||
* provides e.g. the IBAN to transfer money to :-) | ||
*/ | ||
public class DirectDebit implements IZUGFeRDTradeSettlementDebit { | ||
/** | ||
* Debited account identifier (BT-91) | ||
*/ | ||
protected final String IBAN; | ||
|
||
/** | ||
* Mandate reference identifier (BT-89) | ||
*/ | ||
protected final String mandate; | ||
|
||
/*** | ||
* constructor for normal use :-) | ||
* @param IBAN the IBAN as string | ||
* @param mandate the mandate as string | ||
*/ | ||
public DirectDebit(String IBAN, String mandate) { | ||
this.IBAN = IBAN; | ||
this.mandate = mandate; | ||
} | ||
|
||
/*** | ||
* getter for the IBAN | ||
* @return IBAN | ||
*/ | ||
@Override | ||
public String getIBAN() { | ||
return this.IBAN; | ||
} | ||
|
||
@Override | ||
public String getMandate() { | ||
return this.mandate; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters