Class PaymentAccountReferenceExtractor
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.validator.pis.payment.raw.PaymentAccountReferenceExtractor
-
@Component public class PaymentAccountReferenceExtractor extends Object
-
-
Constructor Summary
Constructors Constructor Description PaymentAccountReferenceExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
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 paymentpaymentType- payment type- Returns:
- account references
-
-