프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$min_amount | Min amount to be valid | ||
$requires | Requires option |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor. | |
calculate_shipping ( $package = [] ) : array | calculate_shipping function. | |
get_option_key ( ) : string | Return the name of the option in the WP DB. | |
init ( ) | init function. | |
init_form_fields ( ) | Initialise Gateway Settings Form Fields. | |
is_available ( array $package ) : boolean | is_available function. | |
process_admin_options ( ) | Process and redirect if disabled. |
public calculate_shipping ( $package = [] ) : array | ||
리턴 | array |
public get_option_key ( ) : string | ||
리턴 | string |
public is_available ( array $package ) : boolean | ||
$package | array | |
리턴 | boolean |