setParentPayment() public method

ID of the Payment resource that this transaction is based on.
public setParentPayment ( string $parent_payment )
$parent_payment 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();
 }