Exemplo n.º 1
0
 /**
  * Set way bill number
  *
  * @param *string
  * @return this
  */
 public function setWayBillNumber($wayBillNumber)
 {
     //Argument 1 must be a string
     Eden_Xend_Error::i()->argument(1, 'string');
     $this->_wayBillNo = $wayBillNumber;
     return $this;
 }
Exemplo n.º 2
0
 public function __construct($userToken, $test = true)
 {
     //Argument 1 must be a string
     Eden_Xend_Error::i()->argument(1, 'string');
     $this->_userToken = $userToken;
     $this->_test = $test;
 }
Exemplo n.º 3
0
 /**
  * Set item width
  *
  * @param *integer|float In centimeter
  * @return this
  */
 public function setWidth($width)
 {
     //Argument 1 must be an integer or float
     Eden_Xend_Error::i()->argument(1, 'int', 'float');
     $this->_width = $width;
     return $this;
 }
Exemplo n.º 4
0
 /**
  * Set shippers street 2
  *
  * @param *string	
  * @return this
  */
 public function setStreet2($street2)
 {
     //Argument 1 must be a string
     Eden_Xend_Error::i()->argument(1, 'string');
     $this->_street2 = $street2;
     return $this;
 }