FiscusEnums (API Reference)
The Fiscus SDK defines several enumerations (Enums) to provide clear, standardized values for certain parameters like connection types and response formats. These enums are used to specify options when executing operations or configuring clients, ensuring type safety and clarity in the code.
Enum Classes
FiscusConnectionType
FiscusConnectionType
The FiscusConnectionType
enum specifies the connection method used for API operations, allowing the user to choose between REST or WebSocket connections.
Enum Members:
REST
: Specifies that the operation should use a REST connection.WEBSOCKET
: Specifies that the operation should use a WebSocket connection.
FiscusResponseFormat
FiscusResponseFormat
The FiscusResponseFormat
enum specifies the format of the response returned by an API operation, allowing the user to choose between text or JSON formats.
Enum Members:
TEXT
: Specifies that the response should be returned as plain text.JSON
: Specifies that the response should be returned in JSON format.
These enums help standardize and simplify the configuration of operations within the Fiscus SDK, ensuring that the correct connection types and response formats are used consistently across different services and workflows.