Documentation

WC_Gateway_Paygold_Support extends AbstractPaymentMethodType
in package

FinalYes

Dummy Payments Blocks integration

Tags
since
1.0.3

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

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>

is_active()

Returns if this payment method should be active. If false, the scripts will not be enqueued.

public is_active() : bool
Return values
bool

        
On this page

Search results