Skip to main content

Partial_Product


Partial_Product

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:

ParameterTypeDescription
$alertstring|null|\Onslip360\Nil
$brandstring|null|\Onslip360\Nil
$defaultQuantityfloat|null|\Onslip360\Nil
$deletedstring|null|\Onslip360\Nil
$descriptionstring|null|\Onslip360\Nil
$descriptionT9Nstring[][]|null|\Onslip360\Nil
$eanstring|null|\Onslip360\Nil
$expirationstring|null|\Onslip360\Nil
$htmlDescriptionstring|null|\Onslip360\Nil
$htmlDescriptionT9Nstring[][]|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$modelNumberstring|null|\Onslip360\Nil
$modifiersint[]|null|\Onslip360\Nil
$namestring|null
$nameT9Nstring[][]|null|\Onslip360\Nil
$pluint|null|\Onslip360\Nil
$pricefloat|null|\Onslip360\Nil
$productGroupint|null
$purchasePricefloat|null|\Onslip360\Nil
$skustring|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$type\Onslip360\API\Product\Type|null|\Onslip360\Nil
$unitstring|null|\Onslip360\Nil
$voucherCouponProductint|null|\Onslip360\Nil
$voucherCouponQuantityfloat|null|\Onslip360\Nil
$voucherPaymentMethodint|null|\Onslip360\Nil

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