UserPaymentReferenceNumberService
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- createOrUpdate() : UserCountryPaymentReferenceNumber
- Insert or update the payment reference number for user + country + procedure type.
- getReferenceNumber() : string|null
- Get the stored reference number for user + country + procedure type.
Properties
$userCountryPaymentReferenceNumberRepository
private
UserCountryPaymentReferenceNumberRepository
$userCountryPaymentReferenceNumberRepository
Methods
__construct()
public
__construct(UserCountryPaymentReferenceNumberRepository $userCountryPaymentReferenceNumberRepository) : mixed
Parameters
- $userCountryPaymentReferenceNumberRepository : UserCountryPaymentReferenceNumberRepository
createOrUpdate()
Insert or update the payment reference number for user + country + procedure type.
public
createOrUpdate(int $userId, int $countryId, int $paymentProcedureTypeId, string $referenceNumber) : UserCountryPaymentReferenceNumber
Parameters
- $userId : int
- $countryId : int
- $paymentProcedureTypeId : int
- $referenceNumber : string
Tags
Return values
UserCountryPaymentReferenceNumbergetReferenceNumber()
Get the stored reference number for user + country + procedure type.
public
getReferenceNumber(int $userId, int $countryId, int $paymentProcedureTypeId) : string|null
Parameters
- $userId : int
- $countryId : int
- $paymentProcedureTypeId : int