PHP 클래스 Smalot\Magento\Catalog\ProductCustomOptionValue

상속: extends Smalot\Magento\MagentoModuleAbstract
파일 보기 프로젝트 열기: smalot/magento-client

공개 메소드들

메소드 설명
add ( string $optionId, array $data, string $store = null ) : Smalot\Magento\ActionInterface Allows you to add a new custom option value to a custom option.
getInfo ( string $valueId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve full information about the specified product custom option value.
getList ( string $optionId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of product custom option values.
remove ( string $valueId ) : Smalot\Magento\ActionInterface Allows you to remove the custom option value from a product.
update ( string $valueId, array $data, string $store = null ) : Smalot\Magento\ActionInterface Allows you to update the product custom option value.

메소드 상세

add() 공개 메소드

Note that the custom option value can be added only to the option with the Select Input Type.
public add ( string $optionId, array $data, string $store = null ) : Smalot\Magento\ActionInterface
$optionId string
$data array
$store string
리턴 Smalot\Magento\ActionInterface

getInfo() 공개 메소드

Allows you to retrieve full information about the specified product custom option value.
public getInfo ( string $valueId, string $store = null ) : Smalot\Magento\ActionInterface
$valueId string
$store string
리턴 Smalot\Magento\ActionInterface

getList() 공개 메소드

Note that the method is available only for the option Select Input Type.
public getList ( string $optionId, string $store = null ) : Smalot\Magento\ActionInterface
$optionId string
$store string
리턴 Smalot\Magento\ActionInterface

remove() 공개 메소드

Allows you to remove the custom option value from a product.
public remove ( string $valueId ) : Smalot\Magento\ActionInterface
$valueId string
리턴 Smalot\Magento\ActionInterface

update() 공개 메소드

Allows you to update the product custom option value.
public update ( string $valueId, array $data, string $store = null ) : Smalot\Magento\ActionInterface
$valueId string
$data array
$store string
리턴 Smalot\Magento\ActionInterface