⚡ Sid Gifari Ultimate Manager v8.2
Auto-Regeneration System • cPanel Protected
Protected:
Active
Backups:
5/6
WordPress:
Not Found
Force Regeneration
Root
usr
local
sitepad
editor
site-data
plugins
kkart-pro
includes
interfaces
Editing: class-kkart-customer-data-store-interface.php
Save
Cancel
<?php /** * Customer Data Store Interface * * @version 3.0.0 * @package Kkart\Interface */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * KKART Customer Data Store Interface * * Functions that must be defined by customer store classes. * * @version 3.0.0 */ interface KKART_Customer_Data_Store_Interface { /** * Gets the customers last order. * * @param KKART_Customer $customer Customer object. * @return KKART_Order|false */ public function get_last_order( &$customer ); /** * Return the number of orders this customer has. * * @param KKART_Customer $customer Customer object. * @return integer */ public function get_order_count( &$customer ); /** * Return how much money this customer has spent. * * @param KKART_Customer $customer Customer object. * @return float */ public function get_total_spent( &$customer ); }