Merge branch 'master' into gbn

This commit is contained in:
Jochen Staerk
2019-08-07 13:34:34 +02:00
committed by GitHub

View File

@@ -267,11 +267,22 @@ public class ZUGFeRDImporter {
/** /**
* @return the sender's bank's BLZ code * @return the sender's bank's BLZ code
* @deprecated use BIC and IBAN instead of BLZ and KTO
*/ */
@Deprecated
public String getBLZ() { public String getBLZ() {
return extractString("//PayeeSpecifiedCreditorFinancialInstitution/GermanBankleitzahlID"); 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 * @return the sender's bank's BIC code
*/ */
@@ -279,19 +290,26 @@ public class ZUGFeRDImporter {
return extractString("//PayeeSpecifiedCreditorFinancialInstitution/BICID"); return extractString("//PayeeSpecifiedCreditorFinancialInstitution/BICID");
} }
/** /**
* @return the sender's bankname * @return the sender's bank name code
*/ */
public String getBankName() { public String getBankName() {
return extractString("//PayeeSpecifiedCreditorFinancialInstitution/Name"); return extractString("//PayeeSpecifiedCreditorFinancialInstitution/Name");
} }
/**
* @return the sender's account IBAN code
*/
public String getIBAN() { public String getIBAN() {
return extractString("//PayeePartyCreditorFinancialAccount/IBANID"); 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() { public String getHolder() {