Suljettu

Shipping Interface (PHP)

A shipping interface to major US carriers: UPS, DHL, USPS, FEDEX. The interface should have a method called GetItemShipRate with an input data and is expected to return result of available ship rates for the given input.

The input and output data structure might look like (it is supposed to be associative array):

input

{

CarrierCodeList[];

Currency;

OriginAddress

{

CountryCode;

PostalCode;

StateOrProvinceCode;

}

DestinationList[]

{

ReferenceID;

DestinationAddress

{

ResidentialDelivery;

CountryCode;

PostalCode;

StateOrProvinceCode;

}

ProductList[]

{

ProductID;

Quantity;

CarrierCalcProps

{

Length;

Width;

Height;

DimensionUOM;

Weight;

WeightUOM;

DeclaredValue;

}

}

}

}

output

{

DateTime;

Currency;

ErrorList[]

{

ReferenceID;

CarrierCode;

ErrorCode;

ErrorMessage;

Severity;

}

ShipRateList[]

{

ReferenceID;

IsValid;

CarrierCode;

ServiceCode;

ServiceName;

Rate;

InsuranceCharges;

}

}

The above structure can be enhanced with your feedback. Some of the codes such as error code, service code will be provided once we agree to work together.

Here are some of the data types and descriptions:

CarrierList (array of string; UPS, DHL, USPS, FEDEX)

Currency (string; USD)

OriginAddress

CountryCode (string)

PostalCode (string)

StateOrProvinceCode (string; for USA and Canada)

DestinationList (array of items below)

ReferenceID (integer)

DestinationAddress

ResidentialDelivery (boolean; default true)

CountryCode (string)

PostalCode (string)

StateOrProvinceCode (string; for USA and Canada)

ProductList

ProductID (integer; optional)

Quantity (integer)

CarrierCalcProps

Length (decimal)

Width (decimal)

Height (decimal)

DimensionUOM [Unit Of Measurment] (string; IN = Inches (default) , CM = Centimeters)

Weight (decimal)

WeightUOM (string; LBS = Pounds [default], OZ = Ounces, KGS = Kilograms)

DeclaredValue (decimal)

We need clean, professional, readable and almost bug free PHP 5 code, probably one class that exposes the required interface and other 4 classes to deal with specific carrier interfacing (any account data to contact carrier services must be driven from configuration).

A person who has worked on e-commerce applications might already have the code or the right expertise to such project.

Taidot: PHP, XML

Näytä lisää: types array data structure, types data structure, string data structure, shipping services, php service, php free code, php codes free, height length, free php codes, data structure types, data structure array, code php free, bug types, array data structure, applications php, applications data structure, interface poste php, shipping interface, interface php, php 5, xml php array, SHIPPING, php usa, php services, oz

About the Employer:
( 0 reviews ) Bellevue, United States

Projektin tunnus: #392351

2 freelanceria on tarjonnut keskimäärin 225 $ tähän työhön

nabiamen

Hi, Please see pmb for details.

250 $ USD 20 päivässä
(1 arvostelu)
0.0
krishnannair

We could work on this type of project using framework like cakephp etc.

200 $ USD 18 päivässä
(1 arvostelu)
0.0