Files
woocommerce-subscriptions/includes/core/class-wc-subscription-line-item-switched.php
2025-05-21 10:18:23 +00:00

25 lines
645 B
PHP

<?php
/**
* Subscription Line Item (product) Switched
*
* Line items which have been switched by a customer have the line_item_switched 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_Switched 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_switched';
}
}