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

__construct(ContainerInterface $container)

No description

string|array|null
getCashCheckoutSettings()

Find cached checkout settings

array|null
getCashPaymentTypes()

Find cached payment types

bool|null
getCashPickUpInTheStore()

Find if pick up in the store option is active

array|null
getPossiblePaymentTypes()

Find cached possible payment types

array|null
getPossibleShippingProviders()

Find all possible shipping providers

array|null
getCashFindMyLocation()

Find if find my location option is active

float|null
getCashInternetDiscount()

Find cached Internet discount

bool
getCashOneStepCheckout()

Find if one step checkout option is active

getCheckoutSettingObjectFromCache()

Find cached checkout settings or empty object

mixed
setCashCheckoutSettings(mixed $data)

Set checkout settings to cache

mixed
setCashInternetDiscount(mixed $data)

Set Internet discount to cache

mixed
setCashOneStepCheckout(mixed $data)

Set one step checkout option to cache

mixed
setCashPaymentTypes(null $checkoutSettingsId = null)

Set payment types to cache

mixed
setCashPickUpInTheStore(mixed $data)

Set pick up in to store option to cache

mixed
setCashFindMyLocation(mixed $data)

Set find my location option to cache

mixed
setCheckoutSettingObjectToCache(CheckoutSettings|null $data)

Set checkout settings object to cache

IdentityTranslator
getTranslator()

No description

mixed
getPossiblePaymentTypesFromDatabase()

Find possible payment types from database and set to cache

dispatchShipToOtherAddressCustomEvent()

Dispatch ship to other address event. Hook on ship.to.other.address.custom.limits.event event

float
getCashFreeDeliveryAmount()

Find cached free delivery amount

mixed
setCashFreeDeliveryAmount(mixed $data)

Set free delivery amount to cache

Details

at line 52
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 61
string|array|null getCashCheckoutSettings()

Find cached checkout settings

Return Value

string|array|null

at line 70
array|null getCashPaymentTypes()

Find cached payment types

Return Value

array|null

at line 79
bool|null getCashPickUpInTheStore()

Find if pick up in the store option is active

Return Value

bool|null

at line 88
array|null getPossiblePaymentTypes()

Find cached possible payment types

Return Value

array|null

at line 97
array|null getPossibleShippingProviders()

Find all possible shipping providers

Return Value

array|null

at line 106
array|null getCashFindMyLocation()

Find if find my location option is active

Return Value

array|null

at line 115
float|null getCashInternetDiscount()

Find cached Internet discount

Return Value

float|null

at line 124
bool getCashOneStepCheckout()

Find if one step checkout option is active

Return Value

bool

at line 133
CheckoutSettings getCheckoutSettingObjectFromCache()

Find cached checkout settings or empty object

Return Value

CheckoutSettings

at line 146
mixed setCashCheckoutSettings(mixed $data)

Set checkout settings to cache

Parameters

mixed $data

Return Value

mixed

at line 161
mixed setCashInternetDiscount(mixed $data)

Set Internet discount to cache

Parameters

mixed $data

Return Value

mixed

at line 176
mixed setCashOneStepCheckout(mixed $data)

Set one step checkout option to cache

Parameters

mixed $data

Return Value

mixed

at line 191
mixed setCashPaymentTypes(null $checkoutSettingsId = null)

Set payment types to cache

Parameters

null $checkoutSettingsId

Return Value

mixed

at line 202
mixed setCashPickUpInTheStore(mixed $data)

Set pick up in to store option to cache

Parameters

mixed $data

Return Value

mixed

at line 217
mixed setCashFindMyLocation(mixed $data)

Set find my location option to cache

Parameters

mixed $data

Return Value

mixed

at line 232
mixed setCheckoutSettingObjectToCache(CheckoutSettings|null $data)

Set checkout settings object to cache

Parameters

CheckoutSettings|null $data

Return Value

mixed

at line 248
CheckoutSettingsSignalEvent dispatchCheckoutSettingsGenerateSignal()

at line 256
IdentityTranslator getTranslator()

Return Value

IdentityTranslator

at line 265
mixed getPossiblePaymentTypesFromDatabase()

Find possible payment types from database and set to cache

Return Value

mixed

at line 274
EventWithResult dispatchShipToOtherAddressCustomEvent()

Dispatch ship to other address event. Hook on ship.to.other.address.custom.limits.event event

Return Value

EventWithResult

at line 286
float getCashFreeDeliveryAmount()

Find cached free delivery amount

Return Value

float

at line 297
mixed setCashFreeDeliveryAmount(mixed $data)

Set free delivery amount to cache

Parameters

mixed $data

Return Value

mixed