we reviewed the examples in the plugins in Hikashop.
They create predefined set of shipping method
For example for FedEx they are:
FedEx Ground (USA, PUERTO RICO)
FedEx 2 Day (USA, PUERTO RICO)
FedEx Express Saver Time Pickup (USA, PUERTO RICO)
FedEx First Overnight (USA, PUERTO RICO)
FedEx Ground (Home Delivery) (USA, PUERTO RICO)
FedEx Priority Overnight (USA, PUERTO RICO)
FedEx Smart Post (USA, PUERTO RICO)
FedEx Standard Overnight (USA, PUERTO RICO)
FedEx International Ground ()
FedEx International Economy ()
FedEx International Economy Distribution ()
FedEx International First ()
FedEx International Priority ()
FedEx International Priority Distribution ()
FedEx Europe First ()
In case of Anchor WS we do not have predefined shipping methods,That is why we have to create them dynamically.
Anchor WS returns not only shipping company name by itself, but it sends in the same field shipping time.
For example, "FedEx International Ground 5-7 days" (and not just "FedEx International Ground")
The problem is about shipping method Name: the plugin can virtually create methods during the checkout it uses shipping name that are predefined. The list with fedex method (that I sent to you as example) is predefined and hardcoded in sources.