'discount__amount', 'label' => __( 'Fixed discount for item', 'advanced-dynamic-pricing-for-woocommerce' ), ); } private static function set_discount_amount() { return array( 'key' => 'set_discount__amount', 'label' => __( 'Fixed discount for set', 'advanced-dynamic-pricing-for-woocommerce' ), ); } private static function discount_percentage() { return array( 'key' => 'discount__percentage', 'label' => __( 'Percentage discount', 'advanced-dynamic-pricing-for-woocommerce' ), ); } private static function price_fixed() { return array( 'key' => 'price__fixed', 'label' => __( 'Fixed price for item', 'advanced-dynamic-pricing-for-woocommerce' ), ); } private static function set_price_fixed() { return array( 'key' => 'set_price__fixed', 'label' => __( 'Fixed price for set', 'advanced-dynamic-pricing-for-woocommerce' ), ); } private static function format_output( $types ) { return array_combine( array_column( $types, 'key' ), array_column( $types, 'label' ) ); } }