コード例 #1
0
 echo "countryCodeA3: " . $didGroups->didGroups[0]->countryCodeA3 . "<br/>";
 echo "stateId: " . $didGroups->didGroups[0]->stateId . "<br/>";
 echo "didType: " . $didGroups->didGroups[0]->didType . "<br/>";
 echo "cityName: " . $didGroups->didGroups[0]->cityName . "<br/>";
 echo "areaCode: " . $didGroups->didGroups[0]->areaCode . "<br/>";
 echo "rateCenter: " . $didGroups->didGroups[0]->rateCenter . "<br/>";
 echo "stock: " . $didGroups->didGroups[0]->stock . "<br/>";
 echo "setup100: " . $didGroups->didGroups[0]->setup100 . "<br/>";
 echo "monthly100: " . $didGroups->didGroups[0]->monthly100 . "<br/>";
 echo "available: " . $didGroups->didGroups[0]->available . "<br/>";
 echo "regulationRequirement: " . $didGroups->didGroups[0]->regulationRequirement . "<br/>";
 echo "featureId: " . $didGroups->didGroups[0]->features[0]->featureId . "<br/>";
 echo "name: " . $didGroups->didGroups[0]->features[0]->name . "<br/>";
 echo "description: " . $didGroups->didGroups[0]->features[0]->description . "<br/>";
 //List State
 $listState = $controller->getStates("USA");
 echo "<br/><br/><br/>";
 echo "<b>List State Request content</b><br/>";
 echo "stateId: " . $listState->states[0]->stateId . "<br/>";
 echo "stateName: " . $listState->states[0]->stateName . "<br/>";
 echo "stateCode: " . $listState->states[0]->stateCode . "<br/>";
 echo "countryCodeA3: " . $listState->states[0]->countryCodeA3 . "<br/>";
 //List Credit Package
 $creditPackage = $controller->getCreditPackages();
 echo "<br/><br/><br/>";
 echo "<b>List Credit Package content</b><br/>";
 echo "creditPackageId: " . $creditPackage->creditPackages[0]->creditPackageId . "<br/>";
 echo "name: " . $creditPackage->creditPackages[0]->name . "<br/>";
 echo "price100: " . $creditPackage->creditPackages[0]->price100 . "<br/>";
 //List Feature
 $feature = $controller->getFeatures();