| @@ 1954-1965 (lines=12) @@ | ||
| 1951 | * @throws InvalidInterfaceException |
|
| 1952 | * @throws ReflectionException |
|
| 1953 | */ |
|
| 1954 | public static function get_items_subtotal(EE_Line_Item $total_line_item) |
|
| 1955 | { |
|
| 1956 | EE_Error::doing_it_wrong( |
|
| 1957 | 'EEH_Line_Item::get_items_subtotal()', |
|
| 1958 | sprintf( |
|
| 1959 | esc_html__('Method replaced with %1$s', 'event_espresso'), |
|
| 1960 | 'EEH_Line_Item::get_pre_tax_subtotal()' |
|
| 1961 | ), |
|
| 1962 | '4.6.0' |
|
| 1963 | ); |
|
| 1964 | return self::get_pre_tax_subtotal($total_line_item); |
|
| 1965 | } |
|
| 1966 | ||
| 1967 | ||
| 1968 | /** |
|
| @@ 2003-2014 (lines=12) @@ | ||
| 2000 | * @throws InvalidInterfaceException |
|
| 2001 | * @throws ReflectionException |
|
| 2002 | */ |
|
| 2003 | public static function create_default_tickets_subtotal(EE_Line_Item $total_line_item, $transaction = null) |
|
| 2004 | { |
|
| 2005 | EE_Error::doing_it_wrong( |
|
| 2006 | 'EEH_Line_Item::create_default_tickets_subtotal()', |
|
| 2007 | sprintf( |
|
| 2008 | esc_html__('Method replaced with %1$s', 'event_espresso'), |
|
| 2009 | 'EEH_Line_Item::create_pre_tax_subtotal()' |
|
| 2010 | ), |
|
| 2011 | '4.6.0' |
|
| 2012 | ); |
|
| 2013 | return self::create_pre_tax_subtotal($total_line_item, $transaction); |
|
| 2014 | } |
|
| 2015 | ||
| 2016 | ||
| 2017 | /** |
|
| @@ 2028-2039 (lines=12) @@ | ||
| 2025 | * @throws InvalidInterfaceException |
|
| 2026 | * @throws ReflectionException |
|
| 2027 | */ |
|
| 2028 | public static function create_default_taxes_subtotal(EE_Line_Item $total_line_item, $transaction = null) |
|
| 2029 | { |
|
| 2030 | EE_Error::doing_it_wrong( |
|
| 2031 | 'EEH_Line_Item::create_default_taxes_subtotal()', |
|
| 2032 | sprintf( |
|
| 2033 | esc_html__('Method replaced with %1$s', 'event_espresso'), |
|
| 2034 | 'EEH_Line_Item::create_taxes_subtotal()' |
|
| 2035 | ), |
|
| 2036 | '4.6.0' |
|
| 2037 | ); |
|
| 2038 | return self::create_taxes_subtotal($total_line_item, $transaction); |
|
| 2039 | } |
|
| 2040 | ||
| 2041 | ||
| 2042 | /** |
|
| @@ 2053-2064 (lines=12) @@ | ||
| 2050 | * @throws InvalidInterfaceException |
|
| 2051 | * @throws ReflectionException |
|
| 2052 | */ |
|
| 2053 | public static function create_default_event_subtotal(EE_Line_Item $total_line_item, $transaction = null) |
|
| 2054 | { |
|
| 2055 | EE_Error::doing_it_wrong( |
|
| 2056 | 'EEH_Line_Item::create_default_event_subtotal()', |
|
| 2057 | sprintf( |
|
| 2058 | esc_html__('Method replaced with %1$s', 'event_espresso'), |
|
| 2059 | 'EEH_Line_Item::create_event_subtotal()' |
|
| 2060 | ), |
|
| 2061 | '4.6.0' |
|
| 2062 | ); |
|
| 2063 | return self::create_event_subtotal($total_line_item, $transaction); |
|
| 2064 | } |
|
| 2065 | } |
|
| 2066 | ||