Documentation

RestCheckoutController
in package
implements IController

Class RestCheckoutController

Table of Contents

Interfaces

IController

Properties

$auth  : AuthComponent
$cartService  : CartService
$chargeBeeAddonsRepository  : ChargeBeeAddonsRepository
$chargeBeeComponent  : ChargeBeeComponent
$chargeBeeCouponRepository  : ChargeBeeCouponRepository
$chargeBeePlansRepository  : ChargeBeePlansRepository
$checkoutInvoiceService  : CheckoutInvoiceService
$checkoutStoreService  : CheckoutStoreService
$countryDateGroupRepository  : CountryDateGroupRepository
$countryService  : CountryService
$digitalRegistrationRemoteService  : DigitalRegistrationRemoteService
$entityManager  : EntityManager
$estimator  : EstimatorService
$filter  : Filter
$freemiumCheckService  : FreemiumCheckService
$l  : Logger
$purchasableServices  : PurchasableServices|null
$purchaseRequestArray  : array<string|int, mixed>|null
$redis  : Redis
$request  : Request
$storeAvailabilityService  : StoreAvailabilityService

Methods

__construct()  : mixed
confirmOrderAction()  : mixed
createCartAction()  : mixed
dropCartAction()  : mixed
getCartAction()  : mixed
getFakeAction()  : mixed
getServiceStatusByUserIdAction()  : mixed
getSettingsAction()  : array<string|int, mixed>
listPlansAction()  : array<string|int, mixed>
servicesAction()  : PurchasableServices
addAddonToCart()  : mixed
addCouponsToCart()  : mixed
addOfferToCart()  : mixed
addSubscriptionsToCart()  : mixed
applyOfferToRequest()  : mixed
checkAvailabilityByUserId()  : true
checkUser()  : mixed
createEstimate()  : mixed
createFakeShoppingSession()  : ShoppingSession
createNewShoppingSession()  : ShoppingSession
expireCartWithException()  : mixed
formValidate()  : mixed
getAddonByEntity()  : mixed
getAddonById()  : mixed
getCartAddonByEntity()  : mixed
getCartAddonById()  : mixed
getCartAddons()  : mixed
getClient()  : Client
getCoupons()  : mixed
getCustomer()  : Customer
getOffer()  : Offer|null
getPlanByEntity()  : mixed
getPlanById()  : mixed
getPurchasableServices()  : PurchasableServices
getPurchaseRequestData()  : mixed
getShoppingSession()  : ShoppingSession|null
getSubscriptions()  : mixed
getUserAccount()  : UserAccount
handleRequest()  : ShoppingSession
lockCart()  : RedisLock
lockPurchase()  : RedisLock
populateCartAndEstimate()  : mixed
validateCartContent()  : mixed
validateCartPrices()  : mixed
validateCartTime()  : mixed

Properties

Methods

__construct()

public __construct(CountryService $countryService, CheckoutStoreService $checkoutStoreService, ChargeBeePlansRepository $chargeBeePlansRepository, CheckoutInvoiceService $checkoutInvoiceService, Request $request, AuthComponent $auth, CartService $cartService, StoreAvailabilityService $storeAvailabilityService, Redis $redis, DigitalRegistrationRemoteService $digitalRegistrationRemoteService, FreemiumCheckService $freemiumCheckService, ChargeBeeAddonsRepository $chargeBeeAddonsRepository, ChargeBeeComponent $chargeBeeComponent, ChargeBeeCouponRepository $chargeBeeCouponRepository, EstimatorService $estimator, EntityManager $entityManager, CheckoutLogger $logger, Filter $filter, CountryDateGroupRepository $countryDateGroupRepository) : mixed
Parameters
$countryService : CountryService
$checkoutStoreService : CheckoutStoreService
$chargeBeePlansRepository : ChargeBeePlansRepository
$checkoutInvoiceService : CheckoutInvoiceService
$request : Request
$auth : AuthComponent
$cartService : CartService
$storeAvailabilityService : StoreAvailabilityService
$redis : Redis
$digitalRegistrationRemoteService : DigitalRegistrationRemoteService
$freemiumCheckService : FreemiumCheckService
$chargeBeeAddonsRepository : ChargeBeeAddonsRepository
$chargeBeeComponent : ChargeBeeComponent
$chargeBeeCouponRepository : ChargeBeeCouponRepository
$estimator : EstimatorService
$entityManager : EntityManager
$logger : CheckoutLogger
$filter : Filter
$countryDateGroupRepository : CountryDateGroupRepository

confirmOrderAction()

public confirmOrderAction(mixed $userId) : mixed
Parameters
$userId : mixed

getServiceStatusByUserIdAction()

public getServiceStatusByUserIdAction(mixed $userId) : mixed
Parameters
$userId : mixed

listPlansAction()

public listPlansAction() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCartAddons()

private getCartAddons(mixed $purchasableServices, mixed $request) : mixed
Parameters
$purchasableServices : mixed
$request : mixed

getCoupons()

private getCoupons(array<string|int, mixed> $request) : mixed
Parameters
$request : array<string|int, mixed>

getPlanById()

private getPlanById(int $planId[, array<string|int, mixed> $modifier = [] ]) : mixed
Parameters
$planId : int
$modifier : array<string|int, mixed> = []

        
On this page

Search results