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 of data structure, types of array in data structure, types data structure, string in data structure, string data structure, shipping services, php service, php free code, php codes free, height and length, free php codes, data structure types, data structure in array, data structure array, code php free, bug types, array in data structure, array data structure, applications of php, applications of data structure, interface poste php, fedex stateorprovincecode canada, shipping interface, interface php, php 5

Tietoa työnantajasta:
( 0 arvostelua ) 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