Partial_ButtonMapItem
Partial_ButtonMapItem
- Full name:
\Onslip360\API\Partial_ButtonMapItem
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$action | \Onslip360\API\ButtonMapItem\Action|null | |
$amount | float|null|\Onslip360\Nil | |
$buttonMap | int|null|\Onslip360\Nil | |
$discountRate | float|null|\Onslip360\Nil | |
$discountType | \Onslip360\API\ButtonMapItem\DiscountType|null|\Onslip360\Nil | |
$name | string|null|\Onslip360\Nil | |
$product | int|null|\Onslip360\Nil | |
$theme | int|null|\Onslip360\Nil | |
$uri | string|null|\Onslip360\Nil | |
$x | int|null | |
$y | int|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