02/04/2011 Modifications to Business::Fedex (RateRequest.pm) by Kyle Albritton. ----- Changes ----- * Changed $VERSION to 0.95. I don't know if this choice is mine, Steve's or CPAN's. I did it to differentiate this one from the published release. * Replaced "â" with "-" on ship notes. Not sure what the "â" was supposed to be, but it does not print out correctly in Windows or Linux, so I replaced it with a common character (minus). Steve may roll this back. * Added notes on allowable parameters in METHODS item $obj->get_rates(%hash): Valid weight_units values are LB, KG. Valid size_units are IN, CM. Valid dropoff_types are REGULAR_PICKUP, BUSINESS_SERVICE_CENTER, DROP_BOX, REQUEST_COURIER, STATION. ----- Bug Fixes ----- (line numbers match the version 0.95 PERL Module, not 0.94) * Line 89, changed inconsistent key names to match. Was: unless ( $args{'size_units'} ) { $args{'lnght_units'} = 'IN' } Now: unless ( $args{'size_units'} ) { $args{'size_units'} = 'IN' } * Repeated on line 358: Was: unless ( $args{'size_units'} ) { $args{'lnght_units'} = 'IN' } Now: unless ( $args{'size_units'} ) { $args{'size_units'} = 'IN' } * Fixed line 222 to include the defined unit of measure that was not being parsed into the XML. Was: IN Now: $args->{'size_units'} * Fixed line 215 to include the defined unit of measure that was not being parsed into the XML. Was: LB Now: $args->{'weight_units'} ----- New Functionality ----- * Added to get_rates line 93: unless ( $args{'dropoff_type'} ) { $args{'dropoff_type'} = 'REGULAR_PICKUP' } * Added to METHODS item $obj->get_rates(%hash) line 362: unless ( $args{'dropoff_type'} ) { $args{'dropoff_type'} = 'REGULAR_PICKUP' } * Changed line 187 to use new parameter: Was: REGULAR_PICKUP Now: $args->{'dropoff_type'}