CheckoutSettingsEventContainer
class CheckoutSettingsEventContainer
Class CheckoutSettingsEventContainer is injected as alligator.checkout.settings.event.container. This container is connecting CheckoutSettingsManager manager to other services
Constants
| SIGNAL_EVENT |
|
| CHECKOUT_SETTINGS_CACHE_KEY |
|
| CHECKOUT_PAYMENT_TYPES_CACHE_KEY |
|
| CHECKOUT_PICK_UP_IN_THE_STORE |
|
| CHECKOUT_INTERNET_DISCOUNT |
|
| CHECKOUT_FIND_MY_LOCATION |
|
| CHECKOUT_ONE_STEP_PROCESS |
|
| CHECKOUT_SETTINGS_OBJECT |
|
| CHECKOUT_DELIVERY_AMOUNT |
|
Methods
No description
Find cached checkout settings
Find cached payment types
Find if pick up in the store option is active
Find cached possible payment types
Find all possible shipping providers
Find if find my location option is active
Find cached Internet discount
Find if one step checkout option is active
Find cached checkout settings or empty object
Set checkout settings to cache
Set Internet discount to cache
Set one step checkout option to cache
Set payment types to cache
Set pick up in to store option to cache
Set find my location option to cache
No description
No description
Find possible payment types from database and set to cache
Dispatch ship to other address event. Hook on ship.to.other.address.custom.limits.event event
Find cached free delivery amount
Set free delivery amount to cache
Details
at line 52
__construct(ContainerInterface $container)
at line 61
string|array|null
getCashCheckoutSettings()
Find cached checkout settings
at line 70
array|null
getCashPaymentTypes()
Find cached payment types
at line 79
bool|null
getCashPickUpInTheStore()
Find if pick up in the store option is active
at line 88
array|null
getPossiblePaymentTypes()
Find cached possible payment types
at line 97
array|null
getPossibleShippingProviders()
Find all possible shipping providers
at line 106
array|null
getCashFindMyLocation()
Find if find my location option is active
at line 115
float|null
getCashInternetDiscount()
Find cached Internet discount
at line 124
bool
getCashOneStepCheckout()
Find if one step checkout option is active
at line 133
CheckoutSettings
getCheckoutSettingObjectFromCache()
Find cached checkout settings or empty object
at line 146
mixed
setCashCheckoutSettings(mixed $data)
Set checkout settings to cache
at line 161
mixed
setCashInternetDiscount(mixed $data)
Set Internet discount to cache
at line 176
mixed
setCashOneStepCheckout(mixed $data)
Set one step checkout option to cache
at line 191
mixed
setCashPaymentTypes(null $checkoutSettingsId = null)
Set payment types to cache
at line 202
mixed
setCashPickUpInTheStore(mixed $data)
Set pick up in to store option to cache
at line 217
mixed
setCashFindMyLocation(mixed $data)
Set find my location option to cache
at line 232
mixed
setCheckoutSettingObjectToCache(CheckoutSettings|null $data)
Set checkout settings object to cache
at line 248
CheckoutSettingsSignalEvent
dispatchCheckoutSettingsGenerateSignal()
at line 256
IdentityTranslator
getTranslator()
at line 265
mixed
getPossiblePaymentTypesFromDatabase()
Find possible payment types from database and set to cache
at line 274
EventWithResult
dispatchShipToOtherAddressCustomEvent()
Dispatch ship to other address event. Hook on ship.to.other.address.custom.limits.event event
at line 286
float
getCashFreeDeliveryAmount()
Find cached free delivery amount
at line 297
mixed
setCashFreeDeliveryAmount(mixed $data)
Set free delivery amount to cache