Documentation

CheckoutStoreService
in package

Class CheckoutStoreService

Table of Contents

Properties

$chargeBeePlansRepository  : ChargeBeePlansRepository
$chargeBeeService  : ChargeBeeService
$checkoutAddonRepository  : CheckoutAddonRepository
$checkoutMandatoryAddonRepository  : CheckoutMandatoryAddonRepository
$checkoutOfferVatRegRepository  : CheckoutOfferVatRegRepository
$clientRepository  : ClientRepository
$countryDateGroupRepository  : CountryDateGroupRepository
$em  : EntityManager
$userVatComponent  : UserVatComponent
$userVatDetectService  : UserVatDetectService

Methods

__construct()  : mixed
getAdditionalServices()  : mixed
getAmazonSlotByClient()  : AmazonSlotEntity
getAutomatedProvidersPlans()  : mixed
getDatevEntityByClient()  : DatevEntity
getHomeCountry()  : Country
getOssEntityByClient()  : OssEntity
getProformaEntityByClient()  : ProformaEntity
getPurchasableServicesByClient()  : PurchasableServices
getRecurringAdditionalServices()  : mixed
getServiceListByUserId()  : mixed
getShopifySlotByClient()  : ShopifySlotEntity
getVatRegistrationCountryEntitiesByClient()  : array<string|int, VatRegistrationCountryEntity>
listPlans()  : array<string|int, ChargeBeePlanEntity>
prepareOssEntityPlans()  : mixed
prepareOssEntityRegistration()  : mixed
getAddonEntitiesFromCheckoutMandatoryAddonModelsArray()  : array<string|int, AddonEntity>
getAddonEntityFromModel()  : mixed
getDatevPlans()  : array<string|int, CheckoutPlan>
getDatevSubscription()  : mixed
getMandatoryAddons()  : array<string|int, array<string|int, CheckoutMandatoryAddon>>
getOfferableOss()  : array<string|int, OssPlanCountryGroup>
getOfferableOssPlanCountryGroupRegistrationAddon()  : OssRegistrationAddon
getOfferableOssRegistrations()  : array<string|int, OssRegistrationCountryGroup>
getOfferableVatReg()  : array<string|int, array<string|int, CheckoutOfferVatReg>>
getOssSubscription()  : mixed
getPackages()  : array<string|int, mixed>
getProformaMinDate()  : mixed
getProformaPlans()  : array<string|int, CheckoutPlan>
getProformaSubscription()  : mixed
getStartDateFromSubscriptionLog()  : mixed
getSubscriptions()  : mixed
getThresholds()  : array<string|int, UserVatDetect>
getUserVatCountries()  : mixed
getUserVats()  : array<string|int, UserVat>

Properties

Methods

__construct()

public __construct(ClientRepository $clientRepository, ChargeBeePlansRepository $chargeBeePlansRepository, ChargeBeeService $chargeBeeService, CheckoutAddonRepository $checkoutAddonRepository, CheckoutOfferVatRegRepository $checkoutOfferVatRegRepository, CheckoutMandatoryAddonRepository $checkoutMandatoryAddonRepository, UserVatComponent $userVatComponent, UserVatDetectService $userVatDetectService, EntityManager $em, CountryDateGroupRepository $countryDateGroupRepository) : mixed
Parameters
$clientRepository : ClientRepository
$chargeBeePlansRepository : ChargeBeePlansRepository
$chargeBeeService : ChargeBeeService
$checkoutAddonRepository : CheckoutAddonRepository
$checkoutOfferVatRegRepository : CheckoutOfferVatRegRepository
$checkoutMandatoryAddonRepository : CheckoutMandatoryAddonRepository
$userVatComponent : UserVatComponent
$userVatDetectService : UserVatDetectService
$em : EntityManager
$countryDateGroupRepository : CountryDateGroupRepository

getServiceListByUserId()

public getServiceListByUserId(int $userId) : mixed
Parameters
$userId : int

getVatRegistrationCountryEntitiesByClient()

public getVatRegistrationCountryEntitiesByClient(Client $client) : array<string|int, VatRegistrationCountryEntity>
Parameters
$client : Client
Tags
throws
MissingClientCountryException
Return values
array<string|int, VatRegistrationCountryEntity>

Collects purchasable VAT Registration countries based on company_country_id from checkout_offer_vat_reg table, disables offer with matching company_country_id and where subscription exists in vat_reg_country_id, assigns plan by checkout_plan_id and period_unit_id to monthly and yearly, assigns a suggested_start_date if UserVat exists

getAddonEntitiesFromCheckoutMandatoryAddonModelsArray()

private getAddonEntitiesFromCheckoutMandatoryAddonModelsArray([array<string|int, mixed>|null $models = null ]) : array<string|int, AddonEntity>
Parameters
$models : array<string|int, mixed>|null = null
Return values
array<string|int, AddonEntity>

getPackages()

private getPackages() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results