Class InterledgerMethod
java.lang.Object
io.fliqa.client.interledger.model.InterledgerMethod
Represents an Interledger payment method for establishing STREAM connections.
This class defines the ILP (Interledger Protocol) payment method used for making payments through the Interledger network. It contains the necessary information to establish a secure STREAM connection between the sender and receiver for transferring value.
The payment method includes the ILP address for routing payments and a shared secret for encrypting and authenticating the payment stream.
- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe ILP address to use when establishing a STREAM connection.The shared secret used for STREAM connection encryption and authentication.The type of payment method. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The type of payment method.For Interledger payments, this is always "ilp" indicating the use of the Interledger Protocol for payment delivery.
- See Also:
-
ilpAddress
The ILP address to use when establishing a STREAM connection.This is a hierarchical address that follows the ILP address format (e.g., "g.ilp.example.alice"). The address is used to route payments through the Interledger network to the intended recipient.
Valid ILP addresses must:
- Start with a scheme: g, private, example, peer, self, test[1-3], or local
- Be followed by segments separated by dots
- Contain only alphanumeric characters, underscores, tildes, and hyphens
- Be at most 1023 characters long
- See Also:
-
-
Constructor Details
-
InterledgerMethod
public InterledgerMethod()
-