Another shipping api fix

Again - use the method getName() rather than accessing the name property directly.