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

committed by
Remco Tolsma

parent
42964bef17
commit
a60db3815d
24
includes/class-wc-subscription-item-fee-pending-switch.php
Executable file
24
includes/class-wc-subscription-item-fee-pending-switch.php
Executable file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Subscription Fee Item Pending Switch
|
||||
*
|
||||
* Fee items which have been added during switch by a customer have the fee_pending_switch type. This class extends WC_Order_Item_Fee to implement this fee item type.
|
||||
*
|
||||
* @author Prospress
|
||||
* @category Class
|
||||
* @package WooCommerce Subscriptions
|
||||
* @since 2.6.0
|
||||
*/
|
||||
|
||||
class WC_Subscription_Item_Fee_Pending_Switch extends WC_Order_Item_Fee {
|
||||
|
||||
/**
|
||||
* Get item type.
|
||||
*
|
||||
* @return string
|
||||
* @since 2.6.0
|
||||
*/
|
||||
public function get_type() {
|
||||
return 'fee_pending_switch';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user