Skip to main content

TriggerAction


TriggerAction

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:

ParameterTypeDescription
$namestring
$type\Onslip360\API\TriggerAction\Type
$autoCloseBatch\Onslip360\API\AutoCloseBatchAction|null
$descriptionstring|null
$digitalReceiptAction\Onslip360\API\DigitalReceiptAction|null
$dmCampaign\Onslip360\API\DMCampaignAction|null
$erpIntegration\Onslip360\API\ERPAction|null
$logLevel\Onslip360\API\TriggerAction\LogLevel|null
$notificationUristring|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:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05