interface CheckoutManagerInterface

Interface CheckoutManagerInterface

Methods

mixed
getProductFromDB(Product $product)

No description

array|int|bool|Order
doCartAction(Order $order, Product $product, string $action, int $qty, array $selectedAttributes, bool $useQtyStep = true)

No description

QueryBuilder
getAllShippings()

No description

RedirectResponse
doTransition(mixed $order, string $routeName, string $lastRoute)

No description

doAddShipping(Order $order, ShippingProvider $shipping)

No description

saveOrder(Order $order)

No description

array
findAllOrders()

No description

array
generateDataForReport(array $invoiceSearchParams)

No description

mixed
getDBOrder(Order $order)

No description

doAddPayment(Order $order, string $payment)

No description

array
getAllUsers()

No description

mixed
savePromotion(mixed $content)

No description

null|object
checkCoupon(mixed $code)

No description

bool
isGrantedOrderAccess(Order $order)

No description

Details

at line 28
mixed getProductFromDB(Product $product)

Parameters

Product $product

Return Value

mixed

at line 40
array|int|bool|Order doCartAction(Order $order, Product $product, string $action, int $qty, array $selectedAttributes, bool $useQtyStep = true)

Parameters

Order $order
Product $product
string $action
int $qty
array $selectedAttributes
bool $useQtyStep

Return Value

array|int|bool|Order

at line 45
QueryBuilder getAllShippings()

Return Value

QueryBuilder

at line 56
RedirectResponse doTransition(mixed $order, string $routeName, string $lastRoute)

Parameters

mixed $order
string $routeName
string $lastRoute

Return Value

RedirectResponse

Exceptions

SMException

at line 64
doAddShipping(Order $order, ShippingProvider $shipping)

Parameters

Order $order
ShippingProvider $shipping

Exceptions

SMException

at line 69
saveOrder(Order $order)

Parameters

Order $order

at line 74
array findAllOrders()

Return Value

array

at line 81
array generateDataForReport(array $invoiceSearchParams)

Parameters

array $invoiceSearchParams

Return Value

array

at line 88
mixed getDBOrder(Order $order)

Parameters

Order $order

Return Value

mixed

at line 96
doAddPayment(Order $order, string $payment)

Parameters

Order $order
string $payment

Exceptions

SMException

at line 101
array getAllUsers()

Return Value

array

at line 108
mixed savePromotion(mixed $content)

Parameters

mixed $content

Return Value

mixed

at line 115
null|object checkCoupon(mixed $code)

Parameters

mixed $code

Return Value

null|object

at line 123
bool isGrantedOrderAccess(Order $order)

Parameters

Order $order

Return Value

bool