Skip to main content

Partial_ButtonMapItem


Partial_ButtonMapItem

Properties

action

public \Onslip360\API\ButtonMapItem\Action|null $action

amount

public float|null|\Onslip360\Nil $amount

buttonMap

public int|null|\Onslip360\Nil $buttonMap

discountRate

public float|null|\Onslip360\Nil $discountRate

discountType

public \Onslip360\API\ButtonMapItem\DiscountType|null|\Onslip360\Nil $discountType

name

public string|null|\Onslip360\Nil $name

product

public int|null|\Onslip360\Nil $product

theme

public int|null|\Onslip360\Nil $theme

uri

public string|null|\Onslip360\Nil $uri

x

public int|null $x

y

public int|null $y

Methods

__construct

public __construct(\Onslip360\API\ButtonMapItem\Action|null $action = null, float|null|\Onslip360\Nil $amount = null, int|null|\Onslip360\Nil $buttonMap = null, float|null|\Onslip360\Nil $discountRate = null, \Onslip360\API\ButtonMapItem\DiscountType|null|\Onslip360\Nil $discountType = null, string|null|\Onslip360\Nil $name = null, int|null|\Onslip360\Nil $product = null, int|null|\Onslip360\Nil $theme = null, string|null|\Onslip360\Nil $uri = null, int|null $x = null, int|null $y = null): mixed

Parameters:

ParameterTypeDescription
$action\Onslip360\API\ButtonMapItem\Action|null
$amountfloat|null|\Onslip360\Nil
$buttonMapint|null|\Onslip360\Nil
$discountRatefloat|null|\Onslip360\Nil
$discountType\Onslip360\API\ButtonMapItem\DiscountType|null|\Onslip360\Nil
$namestring|null|\Onslip360\Nil
$productint|null|\Onslip360\Nil
$themeint|null|\Onslip360\Nil
$uristring|null|\Onslip360\Nil
$xint|null
$yint|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