Documentation

CheckoutInvoiceService
in package

Table of Contents

Properties

$cacheService  : CacheService
$chargeBeeAddonsRepository  : ChargeBeeAddonsRepository
$chargeBeeComponent  : ChargeBeeComponent
$countryService  : CountryService
$entityManager  : EntityManager
$userAllowedProvidersRepository  : UserAllowedProvidersRepository
$userModuleRepository  : UserModuleRepository
$userVatComponent  : UserVatComponent

Methods

__construct()  : mixed
confirmOrder()  : mixed
insertOfferPurchaseStatistic()  : mixed
applyCouponsIfApplicable()  : mixed
checkIfCouponApplicableToAddon()  : mixed
clientHasVatInCountry()  : mixed
confirmCheckoutRquestAdditionalServices()  : mixed
confirmCountryRegistrations()  : mixed
createAddonInvoice()  : mixed
createNewProviderSlotSubscription()  : mixed
createPendingSubscription()  : mixed
formatCountryRegistrationData()  : array<string|int, mixed>
getDatevSubscriptionTextIdByClient()  : mixed
getProformaSubscriptionTextIdByClient()  : mixed
getVatRegSubscriptionTextIdByClient()  : mixed
getVatRegSubscriptionTextIdByClientAndCountryId()  : mixed

Properties

Methods

__construct()

public __construct(ChargeBeeComponent $chargeBeeComponent, CacheService $cacheService, EntityManager $entityManager, CountryService $countryService, ChargeBeeAddonsRepository $chargeBeeAddonsRepository, UserVatComponent $userVatComponent, UserAllowedProvidersRepository $userAllowedProvidersRepository, UserModuleRepository $userModuleRepository) : mixed
Parameters
$chargeBeeComponent : ChargeBeeComponent
$cacheService : CacheService
$entityManager : EntityManager
$countryService : CountryService
$chargeBeeAddonsRepository : ChargeBeeAddonsRepository
$userVatComponent : UserVatComponent
$userAllowedProvidersRepository : UserAllowedProvidersRepository
$userModuleRepository : UserModuleRepository

applyCouponsIfApplicable()

private applyCouponsIfApplicable(mixed $item, array<string|int, mixed> $coupons, mixed $couponCodeClassEntityName) : mixed
Parameters
$item : mixed
$coupons : array<string|int, mixed>
$couponCodeClassEntityName : mixed

createNewProviderSlotSubscription()

private createNewProviderSlotSubscription(mixed $subscriptionId, mixed $userModuleNotCancelledAndWithoutSubscription, mixed $userHasProvider) : mixed
Parameters
$subscriptionId : mixed
$userModuleNotCancelledAndWithoutSubscription : mixed
$userHasProvider : mixed

createPendingSubscription()

private createPendingSubscription(string $chargebeeId, Client $client, mixed $planId, string $subscriptionSuffix, DateTime $requestedServiceStartDate) : mixed
Parameters
$chargebeeId : string
$client : Client
$planId : mixed
$subscriptionSuffix : string
$requestedServiceStartDate : DateTime

formatCountryRegistrationData()

private formatCountryRegistrationData(mixed $countryId, mixed $textId) : array<string|int, mixed>
Parameters
$countryId : mixed
$textId : mixed
Return values
array<string|int, mixed>

getVatRegSubscriptionTextIdByClientAndCountryId()

private getVatRegSubscriptionTextIdByClientAndCountryId(Client $client, int $countryId) : mixed
Parameters
$client : Client
$countryId : int

        
On this page

Search results