Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
Component
Payment
PaymentInterface
isAddableProduct
Sonata\Component\Payment\PaymentInterface::isAddableProduct PHP Method
PaymentInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
isAddableProduct()
public
method
return true if the product can be added to the basket.
public
isAddableProduct
(
Sonata\Component\Basket\BasketInterface
$basket
,
Sonata\Component\Product\ProductInterface
$product
)
$basket
Sonata\Component\Basket\BasketInterface
$product
Sonata\Component\Product\ProductInterface
public function isAddableProduct(BasketInterface $basket, ProductInterface $product);
PaymentInterface
applyTransactionId
callback
encodeString
getCode
getName
getOrderReference
getTransformer
handleError
isAddableProduct
isBasketValid
isCallbackValid
isRequestValid
sendConfirmationReceipt
sendbank