Documentation

CronController extends BaseCronController
in package

Class BaseCronController

Table of Contents

Properties

$em  : EntityManager
$trans  : Translator|NativeArray
$handler  : HandlerComponent
Cronjob handler.
$modules  : array<string|int, Module>
Api modules.
$start  : float
Cronjob start in microtime.
$chargeBeeSubscriptionEventService  : ChargeBeeSubscriptionEventService
$chargeeBeeEventsServiceFactory  : ChargeeBeeEventsServiceFactory
$subscriptionsService  : SubscriptionsService

Methods

__destruct()  : mixed
Finish cronjob and log the report.
buildNewMonthSubscriptionsMapAction()  : mixed
chargebeeCustomerChangedConsumerAction()  : mixed
createMissingSubscriptionPriceAction()  : mixed
execPrep()  : mixed
initialize()  : mixed
Disable view render and start cronjob.
microserviceSyncAction()  : mixed
Connect and synchronize Chargebee events with our microservice.
processEventsAction()  : mixed
setInitalBillingTaxTypeToGbUsersAction()  : mixed
setSubscriptionsMissingPropertiesAction()  : mixed
Cron to run it once, will get all subscriptions and set the new fields after migrations (user_id, country_id and type_id)
sumhelp()  : mixed
syncAllAction()  : mixed
syncClientAction()  : mixed
syncMissingExtraFieldsAction()  : mixed
syncSubscriptionsAction()  : mixed
updateIncorrectSubscriptionsStatusesAction()  : mixed
createNewStatusAndSolveProblemWithLastExistingForSubscriptionsList()  : mixed
createNewStatusWithCurrentLastStatus()  : mixed
getNextPendingChargebeeEvent()  : mixed
saveEvents()  : mixed
updateEventsInMicroservice()  : mixed
updateLastExistingStatus()  : mixed

Properties

Methods

buildNewMonthSubscriptionsMapAction()

public buildNewMonthSubscriptionsMapAction() : mixed

chargebeeCustomerChangedConsumerAction()

public chargebeeCustomerChangedConsumerAction() : mixed

createMissingSubscriptionPriceAction()

public createMissingSubscriptionPriceAction() : mixed

execPrep()

public execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
$s : mixed
$b : mixed
$t : mixed

initialize()

Disable view render and start cronjob.

public initialize() : mixed

microserviceSyncAction()

Connect and synchronize Chargebee events with our microservice.

public microserviceSyncAction() : mixed

setInitalBillingTaxTypeToGbUsersAction()

public setInitalBillingTaxTypeToGbUsersAction() : mixed

setSubscriptionsMissingPropertiesAction()

Cron to run it once, will get all subscriptions and set the new fields after migrations (user_id, country_id and type_id)

public setSubscriptionsMissingPropertiesAction() : mixed

syncClientAction()

public syncClientAction(mixed $clientId) : mixed
Parameters
$clientId : mixed

syncMissingExtraFieldsAction()

public syncMissingExtraFieldsAction() : mixed

syncSubscriptionsAction()

public syncSubscriptionsAction(mixed $clientId) : mixed
Parameters
$clientId : mixed

updateIncorrectSubscriptionsStatusesAction()

public updateIncorrectSubscriptionsStatusesAction() : mixed

createNewStatusAndSolveProblemWithLastExistingForSubscriptionsList()

private createNewStatusAndSolveProblemWithLastExistingForSubscriptionsList(array<string|int, mixed> $newSubscriptionsList) : mixed
Parameters
$newSubscriptionsList : array<string|int, mixed>

getNextPendingChargebeeEvent()

private getNextPendingChargebeeEvent() : mixed

saveEvents()

private saveEvents(array<string|int, mixed> $events) : mixed
Parameters
$events : array<string|int, mixed>

updateEventsInMicroservice()

private updateEventsInMicroservice(mixed $eventId, mixed $isCorrect, mixed $errorMessage) : mixed
Parameters
$eventId : mixed
$isCorrect : mixed
$errorMessage : mixed

        
On this page

Search results