mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-07 01:54:05 +00:00
25 lines
644 B
PHP
25 lines
644 B
PHP
<?php
|
|
/**
|
|
* Subscription Line Item (product) Removed
|
|
*
|
|
* Line items removed from a subscription by a customer have the line_item_removed line item type. This class extends WC_Order_Item_Product to implement this line item type.
|
|
*
|
|
* @author Prospress
|
|
* @category Class
|
|
* @package WooCommerce Subscriptions
|
|
* @since 1.0.0 - Migrated from WooCommerce Subscriptions v2.6.0
|
|
*/
|
|
|
|
class WC_Subscription_Line_Item_Removed extends WC_Order_Item_Product {
|
|
|
|
/**
|
|
* Get item type.
|
|
*
|
|
* @return string
|
|
* @since 1.0.0 - Migrated from WooCommerce Subscriptions v2.6.0
|
|
*/
|
|
public function get_type() {
|
|
return 'line_item_removed';
|
|
}
|
|
}
|