Copied!

ProductVariantGenerateStruct

ProductVariantGenerateStruct.php : 11

Methods

public__construct()

ProductVariantGenerateStruct.php : 19
public __construct(array<string, array<string|int, mixed>> $attributes)

Parameters

Name Type Default value Description
$attributes array<string, array<string|int, mixed>> - -

publicgetAttribute()

ProductVariantGenerateStruct.php : 43
public getAttribute(string $identifier) : array<string|int, mixed>|null

Parameters

Name Type Default value Description
$identifier string - -

Return values

array<string|int, mixed>|null

publicgetAttributes()

ProductVariantGenerateStruct.php : 27
public getAttributes() : array<string, array<string|int, mixed>>

Return values

array<string, array<string|int, mixed>>

publicsetAttribute()

ProductVariantGenerateStruct.php : 51
public setAttribute(string $identifier, array<string|int, mixed> $value) : void

Parameters

Name Type Default value Description
$identifier string - -
$value array<string|int, mixed> - -

publicsetAttributes()

ProductVariantGenerateStruct.php : 35
public setAttributes(array<string, array<string|int, mixed>> $attributes) : void

Parameters

Name Type Default value Description
$attributes array<string, array<string|int, mixed>> - -