deprecate German BLZ and Kontonummer

This commit is contained in:
Stefan Schmiedl
2019-08-07 11:33:51 +02:00
parent ca229986b2
commit 6e1ea1a3f3

View File

@@ -267,11 +267,22 @@ public class ZUGFeRDImporter {
/**
* @return the sender's bank's BLZ code
* @deprecated use BIC and IBAN instead of BLZ and KTO
*/
@Deprecated
public String getBLZ() {
return extractString("//PayeeSpecifiedCreditorFinancialInstitution/GermanBankleitzahlID");
}
/**
* @return the sender's account number
* @deprecated use BIC and IBAN instead of BLZ and KTO
*/
@Deprecated
public String getKTO() {
return extractString("//PayeePartyCreditorFinancialAccount/ProprietaryID");
}
/**
* @return the sender's bank's BIC code
*/
@@ -280,18 +291,17 @@ public class ZUGFeRDImporter {
}
/**
* @return the sender's bankname
* @return the sender's account IBAN code
*/
public String getBankName() {
return extractString("/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/SpecifiedTradeSettlementPaymentMeans/PayeeSpecifiedCreditorFinancialInstitution/Name");
}
public String getIBAN() {
return extractString("//PayeePartyCreditorFinancialAccount/IBANID");
}
public String getKTO() {
return extractString("//PayeePartyCreditorFinancialAccount/ProprietaryID");
/**
* @return the sender's bankname
*/
public String getBankName() {
return extractString("/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/SpecifiedTradeSettlementPaymentMeans/PayeeSpecifiedCreditorFinancialInstitution/Name");
}
public String getHolder() {