コード例 #1
0
 protected function doUnserialize(array $json)
 {
     // consult parent for further unserialization
     parent::doUnserialize($json);
     $this->unserializeArrayEntities('taxation', Bf_TaxationLink::getClassName(), $json);
     $this->unserializeArrayEntities('pricingComponents', Bf_PricingComponent::getClassName(), $json);
     $this->unserializeEntity('product', Bf_Product::getClassName(), $json);
     $this->unserializeEntity('metadata', Bf_MetadataJson::getClassName(), $json);
 }
コード例 #2
0
ファイル: Account.php プロジェクト: billforward/bf-php
 protected function doUnserialize(array $json)
 {
     // consult parent for further unserialization
     parent::doUnserialize($json);
     $this->unserializeArrayEntities('roles', Bf_Role::getClassName(), $json);
     $this->unserializeArrayEntities('paymentMethods', Bf_PaymentMethod::getClassName(), $json);
     $this->unserializeEntity('profile', Bf_Profile::getClassName(), $json);
     $this->unserializeEntity('metadata', Bf_MetadataJson::getClassName(), $json);
 }
コード例 #3
0
ファイル: Subscription.php プロジェクト: billforward/bf-php
 protected function doUnserialize(array $json)
 {
     // consult parent for further unserialization
     parent::doUnserialize($json);
     $this->unserializeArrayEntities('pricingComponentValueChanges', Bf_PricingComponentValueChange::getClassName(), $json);
     $this->unserializeArrayEntities('pricingComponentValues', Bf_PricingComponentValue::getClassName(), $json);
     $this->unserializeArrayEntities('paymentMethodSubscriptionLinks', Bf_PaymentMethodSubscriptionLink::getClassName(), $json);
     $this->unserializeEntity('productRatePlan', Bf_ProductRatePlan::getClassName(), $json);
     $this->unserializeEntity('metadata', Bf_MetadataJson::getClassName(), $json);
     $this->unserializeEntity('executionInfo', Bf_ExecutionResponse::getClassName(), $json);
 }
コード例 #4
0
ファイル: Product.php プロジェクト: billforward/bf-php
 protected function doUnserialize(array $json)
 {
     // consult parent for further unserialization
     parent::doUnserialize($json);
     $this->unserializeEntity('metadata', Bf_MetadataJson::getClassName(), $json);
 }