示例#1
0
 /**
  * load obect properties from SimpleXML object
  */
 protected function _internalLoadXML(&$XMLObject)
 {
     $this->invoiceId = (string) $XMLObject->invoice_id;
     $this->amountOutstanding = (string) $XMLObject->amount_outstanding;
     $this->recurringId = (string) $XMLObject->recurring_id;
     parent::_internalLoadXML($XMLObject);
 }
 /**
  * load obect properties from SimpleXML object
  */
 protected function _internalLoadXML(&$XMLObject)
 {
     $this->recurringId = (string) $XMLObject->recurring_id;
     $this->amountOutstanding = (string) $XMLObject->amount_outstanding;
     $this->occurrences = (string) $XMLObject->occurrences;
     $this->frequency = (string) $XMLObject->frequency;
     $this->stopped = (string) $XMLObject->stopped;
     $this->sendEmail = (string) $XMLObject->send_email;
     $this->sendSnailMail = (string) $XMLObject->send_snail_mail;
     parent::_internalLoadXML($XMLObject);
 }
示例#3
0
 /**
  * load obect properties from SimpleXML object
  */
 protected function _internalLoadXML(&$XMLObject)
 {
     $this->recurringId = (string) $XMLObject->recurring_id;
     $this->amountOutstanding = (string) $XMLObject->amount_outstanding;
     $this->occurrences = (string) $XMLObject->occurrences;
     $this->frequency = (string) $XMLObject->frequency;
     $this->stopped = (string) $XMLObject->stopped;
     $this->sendEmail = (string) $XMLObject->send_email;
     $this->sendSnailMail = (string) $XMLObject->send_snail_mail;
     if (isset($XMLObject->autobill)) {
         $this->autobillGatewayName = (string) $XMLObject->autobill->gateway_name;
         if (isset($XMLObject->autobill->card)) {
             $this->autobillCardNumber = (string) $XMLObject->autobill->card->number;
             $this->autobillCardName = (string) $XMLObject->autobill->card->name;
             $this->autobillCardExpirationMonth = (int) $XMLObject->autobill->card->expiration->month;
             $this->autobillCardExpirationYear = (int) $XMLObject->autobill->card->expiration->year;
         }
     }
     parent::_internalLoadXML($XMLObject);
 }
示例#4
0
 /**
  * load obect properties from SimpleXML object
  */
 protected function _internalLoadXML(&$XMLObject)
 {
     $this->estimateId = (string) $XMLObject->estimate_id;
     parent::_internalLoadXML($XMLObject);
 }