WC_Gateway_Paypal_Transact_Account_Manager
in package
Handles Transact account management.
Tags
Table of Contents
- $transact_account_manager : PayPalTransactAccountManager
- The delegated TransactAccountManager instance.
- __construct() : mixed
- Constructor.
- do_onboarding() : void
- Onboard the merchant with the Transact platform.
- get_transact_account_data() : array<string|int, mixed>|null
- Get the Transact account (merchant or provider) data. Performs a fetch if the account is not in cache or expired.
Properties
$transact_account_manager
The delegated TransactAccountManager instance.
private
PayPalTransactAccountManager
$transact_account_manager
Methods
__construct()
Constructor.
public
__construct(WC_Gateway_Paypal $gateway) : mixed
Parameters
- $gateway : WC_Gateway_Paypal
-
Paypal gateway object.
Return values
mixed —do_onboarding()
Onboard the merchant with the Transact platform.
public
do_onboarding() : void
Tags
Return values
void —get_transact_account_data()
Get the Transact account (merchant or provider) data. Performs a fetch if the account is not in cache or expired.
public
get_transact_account_data(string $account_type) : array<string|int, mixed>|null
Parameters
- $account_type : string
-
The type of account to get (merchant or provider).
