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

25 lines
539 B
PHP
Executable File

<?php
/**
* Coupon Pending Switch
*
* Coupons which have been added during switch by a customer have the coupon_pending_switch type. This class extends WC_Order_Item_Coupon to implement this coupon item type.
*
* @author Prospress
* @category Class
* @package WooCommerce Subscriptions
* @since 2.6.0
*/
class WC_Subscription_Item_Coupon_Pending_Switch extends WC_Order_Item_Coupon {
/**
* Get item type.
*
* @return string
* @since 2.6.0
*/
public function get_type() {
return 'coupon_pending_switch';
}
}