Documentation

ZeroFillingCouponCancellationComponent
in package

Table of Contents

Constants

ZERO_FILLING_COUPON_ID  = 'ZEROFILINGS50'

Properties

$chargeBeeComponent  : ChargeBeeComponent
$eventsManager  : Manager
$movementCreditRepository  : MovementCreditRepository
$movementProductRepository  : MovementProductRepository
$notificationMarkService  : NotificationMarkService

Methods

__construct()  : mixed
handle()  : array<string|int, mixed>
checkIfSubscriptionsHasBillingCycle()  : bool
createJobForDeletingZeroFillingCouponFromSubscriptions()  : mixed
getSubscriptions()  : array<string|int, mixed>
getSubscriptionsWithAppliedZeroFillingCoupon()  : array<string|int, mixed>
getTransactionsCountByClientIdAndPeriod()  : int
sendNotification()  : void
sendZeroFillingMonthlyNotification()  : void
sendZeroFillingYearlyNotification()  : void

Constants

Properties

Methods

checkIfSubscriptionsHasBillingCycle()

private checkIfSubscriptionsHasBillingCycle(mixed $subscriptions, mixed $billingCycle) : bool
Parameters
$subscriptions : mixed
$billingCycle : mixed
Return values
bool

createJobForDeletingZeroFillingCouponFromSubscriptions()

private createJobForDeletingZeroFillingCouponFromSubscriptions(mixed $clientId, array<string|int, mixed> $subscriptionsWithZeroFillingCoupon) : mixed
Parameters
$clientId : mixed
$subscriptionsWithZeroFillingCoupon : array<string|int, mixed>

getTransactionsCountByClientIdAndPeriod()

private getTransactionsCountByClientIdAndPeriod(mixed $clientId, mixed $startDate, mixed $endDate) : int
Parameters
$clientId : mixed
$startDate : mixed
$endDate : mixed
Return values
int

        
On this page

Search results