PHP 클래스 Smalot\Magento\Catalog\ProductCustomOption

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

공개 메소드들

메소드 설명
add ( string $productId, array $data, string $store = null ) : Smalot\Magento\ActionInterface Allows you to add a new custom option for a product.
getInfo ( string $optionId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve full information about the custom option in a product.
getList ( string $productId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of custom options for a specific product.
getTypes ( ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of available custom option types.
remove ( string $optionId ) : Smalot\Magento\ActionInterface Allows you to remove a custom option from the product.
update ( string $optionId, array $data, string $store = null ) : Smalot\Magento\ActionInterface Allows you to update the required product custom option.

메소드 상세

add() 공개 메소드

Allows you to add a new custom option for a product.
public add ( string $productId, array $data, string $store = null ) : Smalot\Magento\ActionInterface
$productId string
$data array
$store string
리턴 Smalot\Magento\ActionInterface

getInfo() 공개 메소드

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

getList() 공개 메소드

Allows you to retrieve the list of custom options for a specific product.
public getList ( string $productId, string $store = null ) : Smalot\Magento\ActionInterface
$productId string
$store string
리턴 Smalot\Magento\ActionInterface

getTypes() 공개 메소드

Allows you to retrieve the list of available custom option types.
public getTypes ( ) : Smalot\Magento\ActionInterface
리턴 Smalot\Magento\ActionInterface

remove() 공개 메소드

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

update() 공개 메소드

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