API > eden > xend.php
View Source

class Eden_Xend

Xend API factory. This is a factory class with methods that will load up different Xend classes. Xend classes are organized as described on their developer site: booking, rate, shipment and tracking service.

Public Methods

public function booking($userToken, $test = true)

Returns xend booking service

Arguments

  1. *string User token
  2. *boolean test mode

Returns Eden_Xend_Booking

public function rate($userToken, $test = true)

Returns xend rate service

Arguments

  1. *string User token
  2. *boolean test mode

Returns Eden_Xend_Rate

public function shipment($userToken, $test = true)

Returns xend shipment service

Arguments

  1. *string User token
  2. *boolean test mode

Returns Eden_Xend_Shipment

public function tracking($userToken, $test = true)

Returns xend tracking service

Arguments

  1. *string User token
  2. *boolean test mode

Returns Eden_Xend_Tracking


© 2012 Openovate Labs. All rights reserved.