Class ReceiptRequestElement

java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.ReceiptRequestElement
All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement

public class ReceiptRequestElement extends DefaultEbicsRootElement
The ReceiptRequestElement is the element containing the receipt request to tell the server bank that all segments are received.
See Also:
  • Constructor Details

    • ReceiptRequestElement

      public ReceiptRequestElement(EbicsSession session, byte[] transactionId, String name)
      Construct a new ReceiptRequestElement element.
      Parameters:
      session - the current ebics session
      name - the element name
  • Method Details

    • build

      public void build() throws EbicsException
      Description copied from interface: EbicsElement
      Builds the EbicsElement XML fragment
      Throws:
      EbicsException
    • toByteArray

      public byte[] toByteArray()
      Description copied from interface: EbicsRootElement
      Converts the EbicsElement to a byte array
      Specified by:
      toByteArray in interface EbicsRootElement
      Overrides:
      toByteArray in class DefaultEbicsRootElement
      Returns:
      the equivalent byte array of this EbicsElement
    • getName

      public String getName()
      Description copied from interface: EbicsElement
      Returns the name of this EbicsElement
      Returns:
      the name of the element
    • getDigest

      public byte[] getDigest() throws EbicsException
      Returns the digest value of the authenticated XML portions.
      Returns:
      the digest value.
      Throws:
      EbicsException - Failed to retrieve the digest value.