setState() public method

Valid Values: ["pending", "authorized", "partially_captured", "captured", "expired", "voided"]
public setState ( string $state )
$state string
Ejemplo n.º 1
0
 public function setup()
 {
     $authorization = new Authorization();
     $authorization->setCreateTime(self::$create_time);
     $authorization->setId(self::$id);
     $authorization->setState(self::$state);
     $authorization->setParentPayment(self::$parent_payment);
     $this->authorizations['partial'] = $authorization;
     $this->authorizations['full'] = self::createAuthorization();
 }
Ejemplo n.º 2
0
 public function setup()
 {
     $authorization = new Authorization();
     $authorization->setCreateTime(self::$create_time);
     $authorization->setUpdateTime(self::$update_time);
     $authorization->setId(self::$id);
     $authorization->setState(self::$state);
     $authorization->setParentPayment(self::$parent_payment);
     $authorization->setValidUntil(self::$valid_until);
     $authorization->setClearingTime(self::$clearing_time);
     $this->authorizations['partial'] = $authorization;
     $this->authorizations['full'] = self::createAuthorization();
 }