TriggerAction
TriggerAction
- Full name:
\Onslip360\API\TriggerAction
- Parent class:
\Onslip360\Onslip360Object
Properties
name
public string $name
type
public \Onslip360\API\TriggerAction\Type $type
autoCloseBatch
public \Onslip360\API\AutoCloseBatchAction|null $autoCloseBatch
description
public string|null $description
digitalReceiptAction
public \Onslip360\API\DigitalReceiptAction|null $digitalReceiptAction
dmCampaign
public \Onslip360\API\DMCampaignAction|null $dmCampaign
erpIntegration
public \Onslip360\API\ERPAction|null $erpIntegration
logLevel
public \Onslip360\API\TriggerAction\LogLevel|null $logLevel
notificationUri
public string|null $notificationUri
report
public \Onslip360\API\ReportAction|null $report
sendEmailAction
public \Onslip360\API\SendEmailAction|null $sendEmailAction
webhook
public \Onslip360\API\WebhookAction|null $webhook
Methods
__construct
public __construct(string $name, \Onslip360\API\TriggerAction\Type $type, \Onslip360\API\AutoCloseBatchAction|null $autoCloseBatch = null, string|null $description = null, \Onslip360\API\DigitalReceiptAction|null $digitalReceiptAction = null, \Onslip360\API\DMCampaignAction|null $dmCampaign = null, \Onslip360\API\ERPAction|null $erpIntegration = null, \Onslip360\API\TriggerAction\LogLevel|null $logLevel = null, string|null $notificationUri = null, \Onslip360\API\ReportAction|null $report = null, \Onslip360\API\SendEmailAction|null $sendEmailAction = null, \Onslip360\API\WebhookAction|null $webhook = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$type | \Onslip360\API\TriggerAction\Type | |
$autoCloseBatch | \Onslip360\API\AutoCloseBatchAction|null | |
$description | string|null | |
$digitalReceiptAction | \Onslip360\API\DigitalReceiptAction|null | |
$dmCampaign | \Onslip360\API\DMCampaignAction|null | |
$erpIntegration | \Onslip360\API\ERPAction|null | |
$logLevel | \Onslip360\API\TriggerAction\LogLevel|null | |
$notificationUri | string|null | |
$report | \Onslip360\API\ReportAction|null | |
$sendEmailAction | \Onslip360\API\SendEmailAction|null | |
$webhook | \Onslip360\API\WebhookAction|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05