Class TransferFundsNotificationContent


  • public class TransferFundsNotificationContent
    extends Object
    TransferFundsNotificationContent
    • Constructor Detail

      • TransferFundsNotificationContent

        public TransferFundsNotificationContent()
    • Method Detail

      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
      • getDestinationAccountCode

        public String getDestinationAccountCode()
        The code of the Account to which funds were credited.
        Returns:
        destinationAccountCode
      • setDestinationAccountCode

        public void setDestinationAccountCode​(String destinationAccountCode)
      • getInvalidFields

        public List<ErrorFieldType> getInvalidFields()
        Invalid fields list.
        Returns:
        invalidFields
      • getMerchantReference

        public String getMerchantReference()
        The reference provided by the merchant.
        Returns:
        merchantReference
      • setMerchantReference

        public void setMerchantReference​(String merchantReference)
      • getSourceAccountCode

        public String getSourceAccountCode()
        The code of the Account from which funds were debited.
        Returns:
        sourceAccountCode
      • setSourceAccountCode

        public void setSourceAccountCode​(String sourceAccountCode)
      • getStatus

        public OperationStatus getStatus()
        Get status
        Returns:
        status
      • getTransferCode

        public String getTransferCode()
        The transfer code.
        Returns:
        transferCode
      • setTransferCode

        public void setTransferCode​(String transferCode)
      • equals

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

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

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

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