Class Mandate


  • public class Mandate
    extends Object
    Mandate
    • Constructor Detail

      • Mandate

        public Mandate()
    • Method Detail

      • balanceAccountId

        public Mandate balanceAccountId​(String balanceAccountId)
        The unique identifier of the balance account linked to the payment instrument.
        Parameters:
        balanceAccountId - The unique identifier of the balance account linked to the payment instrument.
        Returns:
        the current Mandate instance, allowing for method chaining
      • getBalanceAccountId

        public String getBalanceAccountId()
        The unique identifier of the balance account linked to the payment instrument.
        Returns:
        balanceAccountId The unique identifier of the balance account linked to the payment instrument.
      • setBalanceAccountId

        public void setBalanceAccountId​(String balanceAccountId)
        The unique identifier of the balance account linked to the payment instrument.
        Parameters:
        balanceAccountId - The unique identifier of the balance account linked to the payment instrument.
      • counterparty

        public Mandate counterparty​(MandateBankAccount counterparty)
        counterparty
        Parameters:
        counterparty -
        Returns:
        the current Mandate instance, allowing for method chaining
      • getCounterparty

        public MandateBankAccount getCounterparty()
        Get counterparty
        Returns:
        counterparty
      • setCounterparty

        public void setCounterparty​(MandateBankAccount counterparty)
        counterparty
        Parameters:
        counterparty -
      • createdAt

        public Mandate createdAt​(OffsetDateTime createdAt)
        The date when the mandate was created.
        Parameters:
        createdAt - The date when the mandate was created.
        Returns:
        the current Mandate instance, allowing for method chaining
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        The date when the mandate was created.
        Returns:
        createdAt The date when the mandate was created.
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
        The date when the mandate was created.
        Parameters:
        createdAt - The date when the mandate was created.
      • id

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

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

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

        public Mandate paymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument linked to the mandate.
        Parameters:
        paymentInstrumentId - The unique identifier of the payment instrument linked to the mandate.
        Returns:
        the current Mandate instance, allowing for method chaining
      • getPaymentInstrumentId

        public String getPaymentInstrumentId()
        The unique identifier of the payment instrument linked to the mandate.
        Returns:
        paymentInstrumentId The unique identifier of the payment instrument linked to the mandate.
      • setPaymentInstrumentId

        public void setPaymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument linked to the mandate.
        Parameters:
        paymentInstrumentId - The unique identifier of the payment instrument linked to the mandate.
      • status

        public Mandate status​(MandateStatus status)
        status
        Parameters:
        status -
        Returns:
        the current Mandate instance, allowing for method chaining
      • getStatus

        public MandateStatus getStatus()
        Get status
        Returns:
        status
      • setStatus

        public void setStatus​(MandateStatus status)
        status
        Parameters:
        status -
      • type

        public Mandate type​(MandateType type)
        type
        Parameters:
        type -
        Returns:
        the current Mandate instance, allowing for method chaining
      • getType

        public MandateType getType()
        Get type
        Returns:
        type
      • setType

        public void setType​(MandateType type)
        type
        Parameters:
        type -
      • updatedAt

        public Mandate updatedAt​(OffsetDateTime updatedAt)
        The date when the mandate was updated.
        Parameters:
        updatedAt - The date when the mandate was updated.
        Returns:
        the current Mandate instance, allowing for method chaining
      • getUpdatedAt

        public OffsetDateTime getUpdatedAt()
        The date when the mandate was updated.
        Returns:
        updatedAt The date when the mandate was updated.
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
        The date when the mandate was updated.
        Parameters:
        updatedAt - The date when the mandate was updated.
      • includeNullValues

        public Mandate includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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