PHP 클래스 WC_Payment_Token_eCheck

Representation of a payment token for eChecks.
부터: 2.6.0
저자: WooThemes
상속: extends WC_Payment_Token
파일 보기 프로젝트 열기: woocommerce/woocommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$type

공개 메소드들

메소드 설명
get_display_name ( string $context = 'view' ) : string Get type to display to user.
get_last4 ( string $context = 'view' ) : string Returns the last four digits.
set_last4 ( string $last4 ) Set the last four digits.
validate ( ) : boolean Validate eCheck payment tokens.

보호된 메소드들

메소드 설명
get_hook_prefix ( ) Hook prefix

메소드 상세

get_display_name() 공개 메소드

Get type to display to user.
부터: 2.6.0
public get_display_name ( string $context = 'view' ) : string
$context string
리턴 string

get_hook_prefix() 보호된 메소드

Hook prefix
부터: 2.7.0
protected get_hook_prefix ( )

get_last4() 공개 메소드

Returns the last four digits.
부터: 2.6.0
public get_last4 ( string $context = 'view' ) : string
$context string
리턴 string Last 4 digits

set_last4() 공개 메소드

Set the last four digits.
부터: 2.6.0
public set_last4 ( string $last4 )
$last4 string

validate() 공개 메소드

These fields are required by all eCheck payment tokens: last4 - string Last 4 digits of the check
부터: 2.6.0
public validate ( ) : boolean
리턴 boolean True if the passed data is valid

프로퍼티 상세

$type 보호되어 있는 프로퍼티

protected $type