Automattic\WooCommerce\Internal\OrderWithdrawal
OrderWithdrawalFormView::get_withdrawal_type_options
Get the available withdrawal type options.
Method of the class: OrderWithdrawalFormView{}
No Hooks.
Returns
array<string,string>.
Usage
// private - for code of main (parent) class only $result = $this->get_withdrawal_type_options(): array;
OrderWithdrawalFormView::get_withdrawal_type_options() OrderWithdrawalFormView::get withdrawal type options code WC 11.1.2
private function get_withdrawal_type_options(): array {
return array(
OrderWithdrawalFormProcessor::WITHDRAWAL_TYPE_FULL => __( 'The full order', 'woocommerce' ),
OrderWithdrawalFormProcessor::WITHDRAWAL_TYPE_SPECIFIC => __( 'Specific items only', 'woocommerce' ),
);
}