Function Hook_payment_gateway_ccbill->get_sub_account_id
Definitions
sources/hooks/systems/payment_gateway/ccbill.php
- Get the CCBill sub-account ID.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $recurring | boolean | No | No | False | N/A | N/A | Whether to get the sub account for recurring transactions |
Returns
- The answer
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the CCBill sub-account ID.
*
* @param boolean $recurring Whether to get the sub account for recurring transactions
* @return string The answer
*/
protected function get_sub_account_id(bool $recurring = false) : string
* Get the CCBill sub-account ID.
*
* @param boolean $recurring Whether to get the sub account for recurring transactions
* @return string The answer
*/
protected function get_sub_account_id(bool $recurring = false) : string

