BankingDetailSettingService
Table of Contents
Properties
-
$bankingDetailOptionRepository
: BankingDetailOptionRepository
-
$bankingDetailSettingRepository
: BankingDetailSettingRepository
-
$countryRepository
: CountryRepository
-
$entityManager
: EntityManager
Methods
-
__construct()
: mixed
-
countAll()
: int
-
generatePolandIban()
: mixed
-
getAllAsEntities()
: array<string|int, mixed>
-
getBankNames()
: mixed
-
getBeneficiaries()
: array<string|int, mixed>
-
getByClientAndReportCountry()
: mixed
-
getByClientIdAndReportCountryId()
: BankingDetailSetting|null
-
getByClientIdAndReportCountryIdAndPaymentProcedureTypeId()
: BankingDetailSetting|null
-
getByReportCountryIdAndPaymentProcedureTypeId()
: array<string|int, BankingDetailSetting>
-
getEntityByClientAndReportCountry()
: mixed
-
getEntityByClientIdAndReportCountryId()
: mixed
-
getIbans()
: array<string|int, mixed>
-
updateBankingDetailsByUserAndCountryAndFilingCompany()
: BankingDetailSetting|null
-
updateOrCreate()
: BankingDetailSetting
-
updateOrCreateFromRawInput()
: BankingDetailSetting
-
validateRawInput()
: mixed
__construct()
public
__construct(BankingDetailSettingRepository $bankingDetailSettingRepository, BankingDetailOptionRepository $bankingDetailOptionRepository, CountryRepository $countryRepository, EntityManager $entityManager) : mixed
Parameters
-
$bankingDetailSettingRepository
: BankingDetailSettingRepository
-
-
$bankingDetailOptionRepository
: BankingDetailOptionRepository
-
-
$countryRepository
: CountryRepository
-
-
$entityManager
: EntityManager
-
countAll()
public
countAll(array<string|int, mixed> $filters) : int
Parameters
-
$filters
: array<string|int, mixed>
-
-
throws
-
NonUniqueResultException
-
throws
-
NoResultException
generatePolandIban()
public
generatePolandIban(string $userPlVatId) : mixed
Parameters
-
$userPlVatId
: string
-
getAllAsEntities()
public
getAllAsEntities(array<string|int, mixed> $filters) : array<string|int, mixed>
Parameters
-
$filters
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getBankNames()
public
getBankNames() : mixed
getBeneficiaries()
public
getBeneficiaries() : array<string|int, mixed>
Return values
array<string|int, mixed>
getByClientAndReportCountry()
public
getByClientAndReportCountry(Client $client, Country $country) : mixed
Parameters
-
$client
: Client
-
-
$country
: Country
-
getByClientIdAndReportCountryId()
public
getByClientIdAndReportCountryId(int $clientId, int $countryId) : BankingDetailSetting|null
Parameters
-
$clientId
: int
-
-
$countryId
: int
-
getByClientIdAndReportCountryIdAndPaymentProcedureTypeId()
public
getByClientIdAndReportCountryIdAndPaymentProcedureTypeId(int $clientId, int $countryId, int $paymentProcedureTypeId) : BankingDetailSetting|null
Parameters
-
$clientId
: int
-
-
$countryId
: int
-
-
$paymentProcedureTypeId
: int
-
-
throws
-
NonUniqueResultException
getByReportCountryIdAndPaymentProcedureTypeId()
public
getByReportCountryIdAndPaymentProcedureTypeId(int $countryId, int $paymentProcedureTypeId) : array<string|int, BankingDetailSetting>
Parameters
-
$countryId
: int
-
-
$paymentProcedureTypeId
: int
-
getEntityByClientAndReportCountry()
public
getEntityByClientAndReportCountry(Client $client, Country $country) : mixed
Parameters
-
$client
: Client
-
-
$country
: Country
-
getEntityByClientIdAndReportCountryId()
public
getEntityByClientIdAndReportCountryId(mixed $clientId, mixed $countryId) : mixed
Parameters
-
$clientId
: mixed
-
-
$countryId
: mixed
-
getIbans()
public
getIbans() : array<string|int, mixed>
Return values
array<string|int, mixed>
updateBankingDetailsByUserAndCountryAndFilingCompany()
public
updateBankingDetailsByUserAndCountryAndFilingCompany(int $userId, int $countryId, UserCountryFilingCompany|null $userCountryFilingCompany) : BankingDetailSetting|null
Parameters
-
$userId
: int
-
-
$countryId
: int
-
-
$userCountryFilingCompany
: UserCountryFilingCompany|null
-
-
throws
-
ORMException
-
throws
-
DataException
updateOrCreate()
public
updateOrCreate(BankingDetailSetting $bankingDetailSetting) : BankingDetailSetting
Parameters
-
$bankingDetailSetting
: BankingDetailSetting
-
-
throws
-
OptimisticLockException
-
throws
-
ORMException
-
throws
-
NonUniqueResultException
-
throws
-
DataException
public
updateOrCreateFromRawInput(int $clientId, PaymentProcedureType $paymentProcedureType, int $countryId, array<string|int, mixed> $data) : BankingDetailSetting
Parameters
-
$clientId
: int
-
-
$paymentProcedureType
: PaymentProcedureType
-
-
$countryId
: int
-
-
$data
: array<string|int, mixed>
-
-
throws
-
ORMException
public
validateRawInput(mixed &$data, mixed $reportCountryId) : mixed
Parameters
-
$data
: mixed
-
-
$reportCountryId
: mixed
-