PHP 인터페이스 WC_Customer_Data_Store_Interface

Functions that must be defined by customer store classes.
저자: WooThemes
파일 보기 프로젝트 열기: woocommerce/woocommerce

공개 메소드들

메소드 설명
get_last_order ( &$customer ) : WC_Order | false Gets the customers last order.
get_order_count ( &$customer ) : integer Return the number of orders this customer has.
get_total_spent ( &$customer ) : float Return how much money this customer has spent.

메소드 상세

get_last_order() 공개 메소드

Gets the customers last order.
public get_last_order ( &$customer ) : WC_Order | false
리턴 WC_Order | false

get_order_count() 공개 메소드

Return the number of orders this customer has.
public get_order_count ( &$customer ) : integer
리턴 integer

get_total_spent() 공개 메소드

Return how much money this customer has spent.
public get_total_spent ( &$customer ) : float
리턴 float