OrderfulClient
Attributes
TRIGGER_OPERATIONS
module-attribute
TRIGGER_OPERATIONS: Dict[str, Dict[str, Any]] = {'Communication-Channel': {'operation_id': 'Communication-Channel', 'path': '/{connectionId}/v2/destinations', 'method': 'post', 'required_parameters': [], 'callback_payload_type': 'CommunicationChannelCreationResponse'}}
Classes
CreateTransactionInput
dataclass
CommunicationChannelInput
dataclass
CommunicationChannelInput(is_active: Optional[bool] = None, name: Optional[str] = None, config: Optional[Dict[str, Any]] = None, owner_id: Optional[int] = None)
Listen to Communication Channel
Attributes
config
class-attribute
instance-attribute
Configuration of the Trigger
CommunicationChannelCreationResponse
dataclass
Response for Listen to Communication Channel
CommunicationChannelEventResponse
dataclass
CommunicationChannelRequestBody
dataclass
CommunicationChannelRequestBody(is_active: Optional[bool] = None, name: Optional[str] = None, config: Optional[Dict[str, Any]] = None, owner_id: Optional[int] = None)
Definition: CommunicationChannelRequestBody
Attributes
is_active
class-attribute
instance-attribute
If the State of the Trigger is active.
config
class-attribute
instance-attribute
Configuration of the Trigger.
OrderfulClient
OrderfulClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for orderful connector.
Initialize a OrderfulClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
list_transactions_async
async
List Transactions
Fetches a list of transactions as specified by the filter/sort parameters supplied.
create_transaction_async
async
Create Transaction
Create Transaction.