Files
woocommerce-subscriptions/includes/class-wc-subscription-line-item-switched.php
Prospress Inc a60db3815d 2.6.1
2019-09-12 11:49:11 +02:00

25 lines
547 B
PHP
Executable File

<?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 2.6.0
*/
class WC_Subscription_Line_Item_Switched extends WC_Order_Item_Product {
/**
* Get item type.
*
* @return string
* @since 2.6.0
*/
public function get_type() {
return 'line_item_switched';
}
}