Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

GetRates Method

Calculates postage rates to ship a package via the RequestedService .

Object Oriented Interface

public function doGetRates();

Procedural Interface

inship_uspsrates_do_getrates($res);

Remarks

For domestic rate requests, this method allows you to calculate how much domestic shipping will cost to mail a package with a certain size and weight, from SenderZipCode to RecipientZipCode by Express Mail, Priority Mail, First-Class Mail, Parcel Post, Media Mail, Library Mail, or as Bound Printed Matter.

Domestic rate requests use values for the following properties:

If the information is valid and pickup is available to the supplied address, this method fills all the above properties, in addition to the following: For international rate requests, this method allows you to calculate how much international shipping will cost to mail a package with a certain size and weight, from the US to a given RecipientCountryCode. Postage prices and other information pertaining to each available service (airmail, parcel post, etc) are returned in the following properties: Unique mailing restrictions and other information is provided for each country along with declarations form information and Global Express Mail delivery areas. When this information is applicable to the RecipientCountryCode, it will be returned in the following properties: International rates require that the following properties be set before it is called:

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0