BConnect Business - Reference PHP

SubscriptionService
in package

Table of Contents

Properties

$em  : EntityManagerInterface

Methods

__construct()  : mixed
createSubscriptionAndPayment()  : Payment

Properties

Methods

__construct()

public __construct(EntityManagerInterface $em) : mixed
Parameters
$em : EntityManagerInterface

createSubscriptionAndPayment()

public createSubscriptionAndPayment(User $user, array<string|int, mixed> $plan, string $paymentMethod) : Payment
Parameters
$user : User
$plan : array<string|int, mixed>
$paymentMethod : string
Tags
throws
Exception
Return values
Payment
On this page

Search results