Documentation

ChargeBeeOverviewComponent extends ChargeBeeComponent
in package

Table of Contents

Constants

IGNORE_PAGINATION  = true
ITEMS_PER_PAGE  = 100
PAYMENT_ROLE  = ['primary', 'backup']

Properties

$isDebug  : bool
$form  : mixed
$formErrorList  : mixed

Methods

__construct()  : mixed
addErrorMessage()  : mixed
addNewCard()  : mixed
billingDetailsToFormEntity()  : mixed
cancelFreemiumSubscription()  : Subscription
changePaymentRole()  : mixed
configureChargeBee()  : mixed
createAddonsInvoice()  : mixed
createBankAccount()  : mixed
createCard()  : mixed
createCustomer()  : mixed
createNewCustomer()  : Customer|null
createSubscription()  : mixed
deletePaymentSource()  : mixed
downloadCreditNote()  : mixed
downloadInvoice()  : mixed
enableDirectDebitIfDisabled()  : mixed
formatAmount()  : mixed
formatDate()  : mixed
formatInvoice()  : mixed
formatUserBillingDataFromPost()  : array<string|int, mixed>
getActivePlans()  : mixed
getCards()  : mixed
getClient()  : mixed
getCountryIdByTwo()  : mixed
getCountryName()  : mixed
getCountryTwoById()  : mixed
getCredit()  : mixed
getCreditNotes()  : mixed
getCurrencyIcon()  : mixed
getCurrencyString()  : mixed
Get the value of currencyString by three.
getCustomer()  : mixed
getCustomerTaxRate()  : int|float
getFormatedCreditValues()  : mixed
getFormatedSubscriptionList()  : mixed
getFreePlanIds()  : array<string|int, mixed>
getFullSubscriptionList()  : array<string|int, mixed>
getInvoices()  : mixed
getNextPayment()  : mixed
getNoramilzedCreditNotes()  : mixed
getNormalizedCardList()  : mixed
getOverviewVars()  : mixed
getPrimaryCard()  : mixed
getPrimaryCardId()  : mixed
getStatusIcon()  : mixed
getSubscriptionList()  : array<string|int, Subscription>
getSubscriptionsByUserId()  : array<string|int, mixed>|null
getTransactionList()  : mixed
getUser()  : UserWrapper|null
Get the value of user.
isActiveSubscriptionByUserIdAndCountryIsoCode2()  : bool
loadSubscriptionList()  : array<string|int, mixed>
resetFormErrorMessageList()  : mixed
saveBillingData()  : mixed
setCurrencyString()  : self
Add value for currencyString by three and icon.
setFormErrorMessages()  : mixed
setUser()  : self
Set the value of user.
updateBillingData()  : mixed
validateUser()  : mixed
getFieldName()  : mixed
getPaymentVisibleName()  : mixed
normalizedCardList()  : mixed

Constants

Properties

Methods

addErrorMessage()

public addErrorMessage(array<string|int, mixed> $error) : mixed
Parameters
$error : array<string|int, mixed>

billingDetailsToFormEntity()

public billingDetailsToFormEntity(mixed $chargeBeeCustomerValues) : mixed
Parameters
$chargeBeeCustomerValues : mixed

cancelFreemiumSubscription()

public cancelFreemiumSubscription(Subscription $subscription) : Subscription
Parameters
$subscription : Subscription
Return values
Subscription

changePaymentRole()

public changePaymentRole(UserWrapper $userWrapper, mixed $paymentSourceId, mixed $role) : mixed
Parameters
$userWrapper : UserWrapper
$paymentSourceId : mixed
$role : mixed

createNewCustomer()

public createNewCustomer(UserWrapper $userWrapper[, array<string|int, mixed> $post = [] ]) : Customer|null
Parameters
$userWrapper : UserWrapper
$post : array<string|int, mixed> = []
Return values
Customer|null

downloadCreditNote()

public downloadCreditNote(mixed $id) : mixed
Parameters
$id : mixed

downloadInvoice()

public downloadInvoice(mixed $id) : mixed
Parameters
$id : mixed

formatAmount()

public final formatAmount(mixed $amount[, mixed $delimiters = [".", ","] ]) : mixed
Parameters
$amount : mixed
$delimiters : mixed = [".", ","]

formatDate()

public final formatDate(mixed $dateNumber[, mixed $formatWithTime = false ]) : mixed
Parameters
$dateNumber : mixed
$formatWithTime : mixed = false

formatInvoice()

public formatInvoice(mixed $invoice) : mixed
Parameters
$invoice : mixed

formatUserBillingDataFromPost()

public formatUserBillingDataFromPost(mixed $data) : array<string|int, mixed>
Parameters
$data : mixed
Return values
array<string|int, mixed>

getCountryIdByTwo()

public getCountryIdByTwo(mixed $countryTwo) : mixed
Parameters
$countryTwo : mixed

getCountryName()

public getCountryName(mixed $countryTwo) : mixed
Parameters
$countryTwo : mixed

getCountryTwoById()

public getCountryTwoById(mixed $id) : mixed
Parameters
$id : mixed

getCurrencyIcon()

public getCurrencyIcon(mixed $currencyThree) : mixed
Parameters
$currencyThree : mixed

getCurrencyString()

Get the value of currencyString by three.

public getCurrencyString(mixed $currencyThree) : mixed
Parameters
$currencyThree : mixed

getCustomerTaxRate()

public getCustomerTaxRate(mixed $user) : int|float
Parameters
$user : mixed
Return values
int|float

getFreePlanIds()

public getFreePlanIds() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFullSubscriptionList()

public getFullSubscriptionList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNextPayment()

public getNextPayment(mixed $subscriptionList[, mixed $disableDateFormat = false ]) : mixed
Parameters
$subscriptionList : mixed
$disableDateFormat : mixed = false

getStatusIcon()

public getStatusIcon(mixed $status) : mixed
Parameters
$status : mixed

getSubscriptionList()

public getSubscriptionList(UserWrapper $userWrapper[, bool $includeExpired = false ]) : array<string|int, Subscription>
Parameters
$userWrapper : UserWrapper
$includeExpired : bool = false
Return values
array<string|int, Subscription>

getSubscriptionsByUserId()

public getSubscriptionsByUserId(mixed $userId) : array<string|int, mixed>|null
Parameters
$userId : mixed
Return values
array<string|int, mixed>|null

isActiveSubscriptionByUserIdAndCountryIsoCode2()

public isActiveSubscriptionByUserIdAndCountryIsoCode2(int $userId, string $countryIsoCode2) : bool
Parameters
$userId : int
$countryIsoCode2 : string
Return values
bool

loadSubscriptionList()

public loadSubscriptionList() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCurrencyString()

Add value for currencyString by three and icon.

public setCurrencyString(mixed $three, mixed $icon) : self
Parameters
$three : mixed
$icon : mixed
Return values
self

setFormErrorMessages()

public setFormErrorMessages([mixed $form = null ]) : mixed
Parameters
$form : mixed = null

normalizedCardList()

protected normalizedCardList(mixed $paymentSourceList) : mixed
Parameters
$paymentSourceList : mixed

        
On this page

Search results