Skip to main content

Partial_Campaign


Partial_Campaign

Properties

activeLabels

public array|null|\Onslip360\Nil $activeLabels

amount

public float|null|\Onslip360\Nil $amount

deleted

public string|null|\Onslip360\Nil $deleted

description

public string|null|\Onslip360\Nil $description

discountRate

public float|null|\Onslip360\Nil $discountRate

endDate

public string|null|\Onslip360\Nil $endDate

labels

public array|null|\Onslip360\Nil $labels

locations

public array|null|\Onslip360\Nil $locations

name

public string|null $name

packagePrice

public bool|null|\Onslip360\Nil $packagePrice

rules

public array|null $rules

schedules

public array|null|\Onslip360\Nil $schedules

startDate

public string|null|\Onslip360\Nil $startDate

tags

public array|null|\Onslip360\Nil $tags

type

public \Onslip360\API\Campaign\Type|null $type

Methods

__construct

public __construct(int[]|null|\Onslip360\Nil $activeLabels = null, float|null|\Onslip360\Nil $amount = null, string|null|\Onslip360\Nil $deleted = null, string|null|\Onslip360\Nil $description = null, float|null|\Onslip360\Nil $discountRate = null, string|null|\Onslip360\Nil $endDate = null, int[]|null|\Onslip360\Nil $labels = null, int[]|null|\Onslip360\Nil $locations = null, string|null $name = null, bool|null|\Onslip360\Nil $packagePrice = null, \Onslip360\API\Partial_CampaignRules[]|null $rules = null, string[]|null|\Onslip360\Nil $schedules = null, string|null|\Onslip360\Nil $startDate = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\Campaign\Type|null $type = null): mixed

Parameters:

ParameterTypeDescription
$activeLabelsint[]|null|\Onslip360\Nil
$amountfloat|null|\Onslip360\Nil
$deletedstring|null|\Onslip360\Nil
$descriptionstring|null|\Onslip360\Nil
$discountRatefloat|null|\Onslip360\Nil
$endDatestring|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$locationsint[]|null|\Onslip360\Nil
$namestring|null
$packagePricebool|null|\Onslip360\Nil
$rules\Onslip360\API\Partial_CampaignRules[]|null
$schedulesstring[]|null|\Onslip360\Nil
$startDatestring|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$type\Onslip360\API\Campaign\Type|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