All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mustangproject.DirectDebit Maven / Gradle / Ivy

Go to download

FOSS Java library to read, write and validate european electronic invoices and orders in the UN/CEFACT Cross Industry Invoice based formats Factur-X/ZUGFeRD, XRechnung and Order-X in your invoice PDFs.

There is a newer version: 2.15.2
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy