NewSellerTransactionLimitComponent
in package
Table of Contents
Constants
Properties
- $chargeBeeService : ChargeBeeService
- $checkoutPlanRepository : CheckoutPlanRepository
- $eventsManager : Manager
- $movementCreditRepository : MovementCreditRepository
- $newSellerApproachingLimitNotificationRepository : NewSellerApproachingLimitNotificationRepository
- $newSellerLimitExceededNotificationRepository : NewSellerLimitExceededNotificationRepository
Methods
- __construct() : mixed
- createJobForChangingPlan() : mixed
- handle() : array<string|int, mixed>
- insertApproachingLimitNotificationSent() : mixed
- insertLimitExceededNotificationSent() : mixed
- isApproachingLimitNotificationSent() : bool
- isLimitExceededNotificationSent() : bool
Constants
NEW_SELLER_TRANSACTION_APPROACHING_LIMIT
public
mixed
NEW_SELLER_TRANSACTION_APPROACHING_LIMIT
= 480
NEW_SELLER_TRANSACTION_LIMIT
public
mixed
NEW_SELLER_TRANSACTION_LIMIT
= 500
Properties
$chargeBeeService
private
ChargeBeeService
$chargeBeeService
$checkoutPlanRepository
private
CheckoutPlanRepository
$checkoutPlanRepository
$eventsManager
private
Manager
$eventsManager
$movementCreditRepository
private
MovementCreditRepository
$movementCreditRepository
$newSellerApproachingLimitNotificationRepository
private
NewSellerApproachingLimitNotificationRepository
$newSellerApproachingLimitNotificationRepository
$newSellerLimitExceededNotificationRepository
private
NewSellerLimitExceededNotificationRepository
$newSellerLimitExceededNotificationRepository
Methods
__construct()
public
__construct() : mixed
createJobForChangingPlan()
public
createJobForChangingPlan(int $userId, array<string|int, mixed> $subscriptions) : mixed
Parameters
- $userId : int
- $subscriptions : array<string|int, mixed>
handle()
public
handle(mixed $clientId) : array<string|int, mixed>
Parameters
- $clientId : mixed
Tags
Return values
array<string|int, mixed>insertApproachingLimitNotificationSent()
private
insertApproachingLimitNotificationSent(Client $client) : mixed
Parameters
- $client : Client
Tags
insertLimitExceededNotificationSent()
private
insertLimitExceededNotificationSent(Client $client) : mixed
Parameters
- $client : Client
Tags
isApproachingLimitNotificationSent()
private
isApproachingLimitNotificationSent(Client $client) : bool
Parameters
- $client : Client
Return values
boolisLimitExceededNotificationSent()
private
isLimitExceededNotificationSent(Client $client) : bool
Parameters
- $client : Client