コード例 #1
0
 /**
  * @return bool
  */
 public function process()
 {
     if ($customerId = $this->getUpdateCustomerResult()) {
         $this->_isRequestSuccessful = true;
     }
     return parent::process();
 }
コード例 #2
0
 /**
  * @return bool
  */
 public function process()
 {
     if ($customerId = $this->getCreateCustomerResult()) {
         $this->_isRequestSuccessful = true;
         $this->getTokenHelper()->setCustomerId($customerId);
     }
     return parent::process();
 }
コード例 #3
0
 /**
  * @return bool
  */
 public function process()
 {
     if ($result = $this->getQueryCustomerByReferenceResult()) {
         $customerId = $result->getManagedCustomerId();
         $this->_isRequestSuccessful = true;
         $this->getTokenHelper()->setCustomerId($customerId);
         $this->_data = $result->getData();
     }
     return parent::process();
 }
コード例 #4
0
 /**
  * @return bool
  */
 public function process()
 {
     if ($result = $this->getEwayResponse()) {
         if ($result->getEwayTrxnStatus() === "True") {
             $this->_isRequestSuccessful = true;
         }
         $this->_data = $result->getData();
     }
     return parent::process();
 }