WC_Gateway_COD::setup_properties
Setup general properties for the gateway.
Method of the class: WC_Gateway_COD{}
Hooks from the method
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->setup_properties();
WC_Gateway_COD::setup_properties() WC Gateway COD::setup properties code WC 10.5.0
protected function setup_properties() {
$this->id = self::ID;
$this->icon = apply_filters( 'woocommerce_cod_icon', '' );
$this->method_title = __( 'Cash on delivery', 'woocommerce' );
$this->method_description = __( 'Let your shoppers pay upon delivery — by cash or other methods of payment.', 'woocommerce' );
$this->has_fields = false;
}