Class TransferInstrumentReference


  • public class TransferInstrumentReference
    extends Object
    TransferInstrumentReference
    • Constructor Detail

      • TransferInstrumentReference

        public TransferInstrumentReference()
    • Method Detail

      • accountIdentifier

        public TransferInstrumentReference accountIdentifier​(String accountIdentifier)
        The masked IBAN or bank account number.
        Parameters:
        accountIdentifier -
        Returns:
        the current TransferInstrumentReference instance, allowing for method chaining
      • getAccountIdentifier

        public String getAccountIdentifier()
        The masked IBAN or bank account number.
        Returns:
        accountIdentifier
      • setAccountIdentifier

        public void setAccountIdentifier​(String accountIdentifier)
        The masked IBAN or bank account number.
        Parameters:
        accountIdentifier -
      • id

        public TransferInstrumentReference id​(String id)
        The unique identifier of the resource.
        Parameters:
        id -
        Returns:
        the current TransferInstrumentReference instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the resource.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the resource.
        Parameters:
        id -
      • realLastFour

        public TransferInstrumentReference realLastFour​(String realLastFour)
        Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.
        Parameters:
        realLastFour -
        Returns:
        the current TransferInstrumentReference instance, allowing for method chaining
      • getRealLastFour

        public String getRealLastFour()
        Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.
        Returns:
        realLastFour
      • setRealLastFour

        public void setRealLastFour​(String realLastFour)
        Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.
        Parameters:
        realLastFour -
      • trustedSource

        public TransferInstrumentReference trustedSource​(Boolean trustedSource)
        Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).
        Parameters:
        trustedSource -
        Returns:
        the current TransferInstrumentReference instance, allowing for method chaining
      • getTrustedSource

        public Boolean getTrustedSource()
        Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).
        Returns:
        trustedSource
      • setTrustedSource

        public void setTrustedSource​(Boolean trustedSource)
        Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).
        Parameters:
        trustedSource -
      • equals

        public boolean equals​(Object o)
        Return true if this TransferInstrumentReference object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static TransferInstrumentReference fromJson​(String jsonString)
                                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TransferInstrumentReference given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransferInstrumentReference
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TransferInstrumentReference
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of TransferInstrumentReference to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException