为什么我的FedEx Web Services费率与网站不同?

时间:2016-12-10 07:33:59

标签: fedex

我使用FedEx Web Services获取费率。我的剧本返回的费率总是与联邦快递的费率略有不同"获得费率"网站https://www.fedex.com/ratefinder/home

无论我做什么,我的价值总是略微偏离。有谁知道为什么会这样?例如,FIRST_OVERNIGHT的14305至98052的20磅10x10x10英寸套装为237.36美元,上述评分者网站的基本费率为214.45美元。

但我的Web服务脚本给出了这一点,这些数字都不能用于获得相同的$ 237.36值。我错过了什么?

[Version] => SimpleXMLElement Object
                        (
                            [ServiceId] => crs
                            [Major] => 13
                            [Intermediate] => 0
                            [Minor] => 0
                        )

                    [RateReplyDetails] => SimpleXMLElement Object
                        (
                            [ServiceType] => FIRST_OVERNIGHT
                            [PackagingType] => YOUR_PACKAGING
                            [DeliveryStation] => OTSA 
                            [DeliveryDayOfWeek] => MON
                            [DeliveryTimestamp] => 20161212T090000
                            [CommitDetails] => SimpleXMLElement Object
                                (
                                    [ServiceType] => FIRST_OVERNIGHT
                                    [CommitTimestamp] => 20161212T090000
                                    [DayOfWeek] => MON
                                    [DestinationServiceArea] => A4
                                    [BrokerToDestinationDays] => 0
                                    [DocumentContent] => NON_DOCUMENTS
                                )

                            [DestinationAirportId] => SEA
                            [IneligibleForMoneyBackGuarantee] => false
                            [OriginServiceArea] => A4
                            [DestinationServiceArea] => A4
                            [SignatureOption] => SERVICE_DEFAULT
                            [ActualRateType] => PAYOR_ACCOUNT_PACKAGE
                            [RatedShipmentDetails] => Array
                                (
                                    [0] => SimpleXMLElement Object
                                        (
                                            [ShipmentRateDetail] => SimpleXMLElement Object
                                                (
                                                    [RateType] => PAYOR_ACCOUNT_PACKAGE
                                                    [RateScale] => 18
                                                    [RateZone] => 8
                                                    [PricingCode] => PACKAGE
                                                    [RatedWeightMethod] => ACTUAL
                                                    [DimDivisor] => 166
                                                    [FuelSurchargePercent] => 3.0
                                                    [TotalBillingWeight] => SimpleXMLElement Object
                                                        (
                                                            [Units] => LB
                                                            [Value] => 20.0
                                                        )

                                                    [TotalBaseCharge] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 201.72
                                                        )

                                                    [TotalFreightDiscounts] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [TotalNetFreight] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 201.72
                                                        )

                                                    [TotalSurcharges] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 22.53
                                                        )

                                                    [TotalNetFedExCharge] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 224.25
                                                        )

                                                    [TotalTaxes] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [TotalNetCharge] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 224.25
                                                        )

                                                    [TotalRebates] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [TotalDutiesAndTaxes] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 0.0
                                                        )

                                                    [TotalNetChargeWithDutiesAndTaxes] => SimpleXMLElement Object
                                                        (
                                                            [Currency] => USD
                                                            [Amount] => 224.25
                                                        )

                                                    [Surcharges] => Array
                                                        (
                                                            [0] => SimpleXMLElement Object
                                                                (
                                                                    [SurchargeType] => SATURDAY_PICKUP
                                                                    [Description] => Saturday pickup
                                                                    [Amount] => SimpleXMLElement Object
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 16.0
                                                                        )

                                                                )

                                                            [1] => SimpleXMLElement Object
                                                                (
                                                                    [SurchargeType] => FUEL
                                                                    [Description] => Fuel
                                                                    [Amount] => SimpleXMLElement Object
                                                                        (
                                                                            [Currency] => USD
                                                                            [Amount] => 6.53
                                                                        )

                                                                )

                                                        )

                                                )

0 个答案:

没有答案