WC_Gateway_Paygold_Support
extends AbstractPaymentMethodType
in package
FinalYes
Dummy Payments Blocks integration
Tags
Table of Contents
Properties
- $name : string
- Payment method name/id/slug.
- $gateway : WC_Gateway_Paygold_Redsys
- The gateway instance.
Methods
- get_payment_method_data() : array<string|int, mixed>
- Returns an array of key=>value pairs of data made available to the payment methods script.
- get_payment_method_script_handles() : array<string|int, mixed>
- Returns an array of scripts/handles to be registered for this payment method.
- initialize() : mixed
- Initializes the payment method type.
- is_active() : bool
- Returns if this payment method should be active. If false, the scripts will not be enqueued.
Properties
$name
Payment method name/id/slug.
protected
string
$name
= 'paygold'
$gateway
The gateway instance.
private
WC_Gateway_Paygold_Redsys
$gateway
Methods
get_payment_method_data()
Returns an array of key=>value pairs of data made available to the payment methods script.
public
get_payment_method_data() : array<string|int, mixed>
Return values
array<string|int, mixed>get_payment_method_script_handles()
Returns an array of scripts/handles to be registered for this payment method.
public
get_payment_method_script_handles() : array<string|int, mixed>
Return values
array<string|int, mixed>initialize()
Initializes the payment method type.
public
initialize() : mixed
is_active()
Returns if this payment method should be active. If false, the scripts will not be enqueued.
public
is_active() : bool