Object OrderStatus.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • create

         final OrderStatus create(String to, String from, String exchangeId, OrderStatusData data, String protocol, String externalId)

        Creates a new Order Status message.

        Parameters:
        to - The DID of the recipient (Alice).
        from - The DID of the sender (the PFI).
        exchangeId - The exchange ID shared between Alice and the PFI.
        data - The data containing the order status.
        protocol - Optional protocol version.
        externalId - Optional external identifier.
        Returns:

        The newly created Order Status message.

      • fromJsonString

         final OrderStatus fromJsonString(String json)

        Parses an Order Status from a JSON string.

        Parameters:
        json - The JSON string representing the Order Status.
        Returns:

        The deserialized Order Status message.