PHP Class WC_Connect_Tracks, woocommerce-connect-client

ファイルを表示 Open project: Automattic/woocommerce-connect-client

Public Properties

Property Type Description
$product_name

Protected Properties

Property Type Description
$logger WC_Connect_Logger

Public Methods

Method Description
__construct ( WC_Connect_Logger $logger = null )
opted_in ( )
opted_out ( )
record_user_event ( $event_type, $data = [] )
saved_service_settings ( $service_id )
shipping_zone_method_added ( $instance_id, $service_id )
shipping_zone_method_deleted ( $instance_id, $service_id )
shipping_zone_method_status_toggled ( $instance_id, $service_id, $zone_id, $enabled )

Protected Methods

Method Description
log ( $message )

Method Details

__construct() public method

public __construct ( WC_Connect_Logger $logger = null )
$logger WC_Connect_Logger

log() protected method

protected log ( $message )

opted_in() public method

public opted_in ( )

opted_out() public method

public opted_out ( )

record_user_event() public method

public record_user_event ( $event_type, $data = [] )

saved_service_settings() public method

public saved_service_settings ( $service_id )

shipping_zone_method_added() public method

public shipping_zone_method_added ( $instance_id, $service_id )

shipping_zone_method_deleted() public method

public shipping_zone_method_deleted ( $instance_id, $service_id )

shipping_zone_method_status_toggled() public method

public shipping_zone_method_status_toggled ( $instance_id, $service_id, $zone_id, $enabled )

Property Details

$logger protected_oe property

protected WC_Connect_Logger $logger
return WC_Connect_Logger

$product_name static_oe public_oe property

static public $product_name