WC_Stripe_Payment_Charge_Local extends WC_Stripe_Payment_Charge
in package

Tags
author

PaymentPlugins

since
3.1.1

Table of Contents

Properties

$gateway  : WC_Stripe_Gateway
$payment_method  : WC_Payment_Gateway_Stripe

Methods

__construct()  : mixed
add_general_order_args()  : mixed
add_order_amount()  : mixed
add_order_currency()  : mixed
add_order_description()  : mixed
add_order_metadata()  : mixed
add_order_payment_method()  : mixed
add_order_shipping_address()  : mixed
add_payment_failed_note()  : mixed
can_void_order()  : mixed
Return true if the charge can be voided.
capture_charge()  : Charge
destroy_session_data()  : mixed
get_gateway()  : mixed
get_name_from_order()  : string
get_order_charge_args()  : mixed
get_payment_method_from_charge()  : mixed
order_error()  : array<string|int, mixed>
Return a failed order response.
payment_complete()  : mixed
Perform post payment processes
process_payment()  : mixed
Process the payment for the order.
process_pre_order_payment()  : mixed
process_refund()  : mixed
process_zero_total_order()  : mixed
scheduled_subscription_payment()  : mixed
set_payment_method()  : mixed
void_charge()  : mixed
get_payment_method_charge_type()  : mixed
save_order_data()  : mixed

Properties

Methods

add_order_amount()

public add_order_amount(array<string|int, mixed> &$args, WC_Order $order[, float $amount = null ]) : mixed
Parameters
$args : array<string|int, mixed>
$order : WC_Order
$amount : float = null

can_void_order()

Return true if the charge can be voided.

public can_void_order(mixed $order) : mixed
Parameters
$order : mixed
Tags
see
WC_Stripe_Payment::can_void_charge()

capture_charge()

public capture_charge(float $amount, WC_Order $order[, Charge $charge = null ]) : Charge
Parameters
$amount : float
$order : WC_Order
$charge : Charge = null
Return values
Charge

get_order_charge_args()

public get_order_charge_args(array<string|int, mixed> &$args, WC_Order $order) : mixed
Parameters
$args : array<string|int, mixed>
$order : WC_Order

process_refund()

public process_refund(WC_Order $order[, float $amount = null ][, mixed $reason = '' ]) : mixed
Parameters
$order : WC_Order
$amount : float = null
$reason : mixed = ''
Tags
throws
Exception

        
On this page

Search results