Partial_Campaign
Partial_Campaign
- Full name:
\Onslip360\API\Partial_Campaign
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$activeLabels | int[]|null|\Onslip360\Nil | |
$amount | float|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$description | string|null|\Onslip360\Nil | |
$discountRate | float|null|\Onslip360\Nil | |
$endDate | string|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$locations | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$packagePrice | bool|null|\Onslip360\Nil | |
$rules | \Onslip360\API\Partial_CampaignRules[]|null | |
$schedules | string[]|null|\Onslip360\Nil | |
$startDate | string|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\Campaign\Type|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