Class PaymentAccountReferenceExtractor


  • @Component
    public class PaymentAccountReferenceExtractor
    extends Object
    • Constructor Detail

      • PaymentAccountReferenceExtractor

        public PaymentAccountReferenceExtractor()
    • Method Detail

      • extractAccountReferences

        public Set<de.adorsys.psd2.xs2a.core.profile.AccountReference> extractAccountReferences​(byte[] paymentBody,
                                                                                                de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType)
        Extracts account references that are present in JSON payment body
        Parameters:
        paymentBody - byte representation of JSON payment
        paymentType - payment type
        Returns:
        account references