Partial_Product
Partial_Product
- Full name:
\Onslip360\API\Partial_Product
- Parent class:
\Onslip360\Onslip360Object
Properties
alert
public string|null|\Onslip360\Nil $alert
brand
public string|null|\Onslip360\Nil $brand
defaultQuantity
public float|null|\Onslip360\Nil $defaultQuantity
deleted
public string|null|\Onslip360\Nil $deleted
description
public string|null|\Onslip360\Nil $description
descriptionT9N
public array|null|\Onslip360\Nil $descriptionT9N
ean
public string|null|\Onslip360\Nil $ean
expiration
public string|null|\Onslip360\Nil $expiration
htmlDescription
public string|null|\Onslip360\Nil $htmlDescription
htmlDescriptionT9N
public array|null|\Onslip360\Nil $htmlDescriptionT9N
labels
public array|null|\Onslip360\Nil $labels
modelNumber
public string|null|\Onslip360\Nil $modelNumber
modifiers
public array|null|\Onslip360\Nil $modifiers
name
public string|null $name
nameT9N
public array|null|\Onslip360\Nil $nameT9N
plu
public int|null|\Onslip360\Nil $plu
price
public float|null|\Onslip360\Nil $price
productGroup
public int|null $productGroup
purchasePrice
public float|null|\Onslip360\Nil $purchasePrice
sku
public string|null|\Onslip360\Nil $sku
tags
public array|null|\Onslip360\Nil $tags
type
public \Onslip360\API\Product\Type|null|\Onslip360\Nil $type
unit
public string|null|\Onslip360\Nil $unit
voucherCouponProduct
public int|null|\Onslip360\Nil $voucherCouponProduct
voucherCouponQuantity
public float|null|\Onslip360\Nil $voucherCouponQuantity
voucherPaymentMethod
public int|null|\Onslip360\Nil $voucherPaymentMethod
Methods
__construct
public __construct(string|null|\Onslip360\Nil $alert = null, string|null|\Onslip360\Nil $brand = null, float|null|\Onslip360\Nil $defaultQuantity = null, string|null|\Onslip360\Nil $deleted = null, string|null|\Onslip360\Nil $description = null, string[][]|null|\Onslip360\Nil $descriptionT9N = null, string|null|\Onslip360\Nil $ean = null, string|null|\Onslip360\Nil $expiration = null, string|null|\Onslip360\Nil $htmlDescription = null, string[][]|null|\Onslip360\Nil $htmlDescriptionT9N = null, int[]|null|\Onslip360\Nil $labels = null, string|null|\Onslip360\Nil $modelNumber = null, int[]|null|\Onslip360\Nil $modifiers = null, string|null $name = null, string[][]|null|\Onslip360\Nil $nameT9N = null, int|null|\Onslip360\Nil $plu = null, float|null|\Onslip360\Nil $price = null, int|null $productGroup = null, float|null|\Onslip360\Nil $purchasePrice = null, string|null|\Onslip360\Nil $sku = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\Product\Type|null|\Onslip360\Nil $type = null, string|null|\Onslip360\Nil $unit = null, int|null|\Onslip360\Nil $voucherCouponProduct = null, float|null|\Onslip360\Nil $voucherCouponQuantity = null, int|null|\Onslip360\Nil $voucherPaymentMethod = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$alert | string|null|\Onslip360\Nil | |
$brand | string|null|\Onslip360\Nil | |
$defaultQuantity | float|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$description | string|null|\Onslip360\Nil | |
$descriptionT9N | string[][]|null|\Onslip360\Nil | |
$ean | string|null|\Onslip360\Nil | |
$expiration | string|null|\Onslip360\Nil | |
$htmlDescription | string|null|\Onslip360\Nil | |
$htmlDescriptionT9N | string[][]|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$modelNumber | string|null|\Onslip360\Nil | |
$modifiers | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$nameT9N | string[][]|null|\Onslip360\Nil | |
$plu | int|null|\Onslip360\Nil | |
$price | float|null|\Onslip360\Nil | |
$productGroup | int|null | |
$purchasePrice | float|null|\Onslip360\Nil | |
$sku | string|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\Product\Type|null|\Onslip360\Nil | |
$unit | string|null|\Onslip360\Nil | |
$voucherCouponProduct | int|null|\Onslip360\Nil | |
$voucherCouponQuantity | float|null|\Onslip360\Nil | |
$voucherPaymentMethod | int|null|\Onslip360\Nil |
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