mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-14 13:22:55 +00:00
2.6.1
This commit is contained in:

committed by
Remco Tolsma

parent
42964bef17
commit
a60db3815d
@@ -1,6 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Line Item (product) Pending Switch
|
||||
*
|
||||
* Line items added to a subscription to record a switch are first given this line item type before transitioning to a fully fledged WC_Order_Item_Product.
|
||||
*
|
||||
* @author Prospress
|
||||
* @category Class
|
||||
* @package WooCommerce Subscriptions
|
||||
* @since 2.2.0
|
||||
*/
|
||||
|
||||
class WC_Order_Item_Pending_Switch extends WC_Order_Item_Product {
|
||||
|
||||
/**
|
||||
* Get item type.
|
||||
*
|
||||
* @return string
|
||||
* @since 2.2.0
|
||||
*/
|
||||
public function get_type() {
|
||||
return 'line_item_pending_switch';
|
||||
}
|
||||
|
Reference in New Issue
Block a user