Class WC_Stripe_Customer_Manager
Class that manages customer creation and custom updates.
Package: Stripe\Classes
Author: PaymentPlugins
Since: 3.0.0
Located at class-wc-stripe-customer-manager.php
Author: PaymentPlugins
Since: 3.0.0
Located at class-wc-stripe-customer-manager.php
Methods summary
public static
|
|
public
|
|
public
|
|
public
Stripe\Customer|WP_Error
|
|
public
|
|
public
|
|
private
|
|
public static
|
#
sync_payment_methods( string $customer_id, integer $user_id, $mode = '' )
Syncs the WC database payment methods with the payment methods stored in Stripe. |
private
boolean
|
#
should_update_customer( WC_Customer $customer )
Returns true if the customer should be updated in Stripe. |
private
array
|
|
private
array
|
#
get_customer_args( WC_Customer $customer, string $context = 'create' )
Return an array of args used to create or update a customer. |
Properties summary
private static
|
$_instance
|