Class DirectDebitInformation


  • public class DirectDebitInformation
    extends Object
    DirectDebitInformation
    • Constructor Detail

      • DirectDebitInformation

        public DirectDebitInformation()
    • Method Detail

      • dateOfSignature

        public DirectDebitInformation dateOfSignature​(OffsetDateTime dateOfSignature)
        The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.
        Parameters:
        dateOfSignature -
        Returns:
        the current DirectDebitInformation instance, allowing for method chaining
      • getDateOfSignature

        public OffsetDateTime getDateOfSignature()
        The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.
        Returns:
        dateOfSignature
      • setDateOfSignature

        public void setDateOfSignature​(OffsetDateTime dateOfSignature)
        The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.
        Parameters:
        dateOfSignature -
      • dueDate

        public DirectDebitInformation dueDate​(OffsetDateTime dueDate)
        The date when the funds are deducted from your user's balance account.
        Parameters:
        dueDate -
        Returns:
        the current DirectDebitInformation instance, allowing for method chaining
      • getDueDate

        public OffsetDateTime getDueDate()
        The date when the funds are deducted from your user's balance account.
        Returns:
        dueDate
      • setDueDate

        public void setDueDate​(OffsetDateTime dueDate)
        The date when the funds are deducted from your user's balance account.
        Parameters:
        dueDate -
      • mandateId

        public DirectDebitInformation mandateId​(String mandateId)
        Your unique identifier for the direct debit mandate.
        Parameters:
        mandateId -
        Returns:
        the current DirectDebitInformation instance, allowing for method chaining
      • getMandateId

        public String getMandateId()
        Your unique identifier for the direct debit mandate.
        Returns:
        mandateId
      • setMandateId

        public void setMandateId​(String mandateId)
        Your unique identifier for the direct debit mandate.
        Parameters:
        mandateId -
      • sequenceType

        public DirectDebitInformation sequenceType​(String sequenceType)
        Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.
        Parameters:
        sequenceType -
        Returns:
        the current DirectDebitInformation instance, allowing for method chaining
      • getSequenceType

        public String getSequenceType()
        Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.
        Returns:
        sequenceType
      • setSequenceType

        public void setSequenceType​(String sequenceType)
        Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.
        Parameters:
        sequenceType -
      • equals

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

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

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

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