/**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->featureId = AU::get($data['featureId']);
         $this->value = AU::get($data['value']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->vendorId = AU::get($data['vendorId']);
         $this->userId = AU::get($data['userId']);
     }
 }
Esempio n. 3
0
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->name = AU::get($data['name']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->currentPassword = AU::get($data['currentPassword']);
         $this->newPassword = AU::get($data['newPassword']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->freeMiles = AU::get($data['freeMiles']);
         $this->mileageFee = AU::get($data['mileageFee']);
     }
 }
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->limit = AU::get($data['limit'], 80);
         $this->page = AU::get($data['page'], 1);
     }
 }
 /**
  * CreateUserInvite constructor.
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->firstName = AU::get($data['firstName']);
         $this->lastName = AU::get($data['lastName']);
         $this->email = AU::get($data['email']);
     }
 }
 public function __construct($data)
 {
     $data = AU::get($data['AddressValidateResponse']);
     $addresses = AU::isArrays($data['Address']) ? $data['Address'] : [$data['Address']];
     foreach ($addresses as $item) {
         $this->addItem(new AddressVerifyResponseItem($item));
     }
 }
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->minimumDays = AU::get($data['minimumDays']);
         $this->percentDiscount = AU::get($data['percentDiscount']);
         $this->rentalId = AU::get($data['rentalId']);
     }
 }
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->setPostalDistrict(AU::get($data['postalDistrict']));
         $this->setSubdivision(AU::get($data['subdivision']));
     }
 }
 public function __construct($data = null)
 {
     parent::__construct($data);
     if (is_array($data)) {
         $this->ids = AU::get($data['ids']);
         $this->names = AU::get($data['names']);
     }
 }
Esempio n. 12
0
 /**
  * @param   array|null      $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->date = AU::get($data['date']);
         $this->timeZoneType = AU::get($data['timezone_type'], AU::get($data['timeZoneType']));
         $this->timeZone = AU::get($data['timezone'], AU::get($data['timeZone']));
     }
 }
 /**
  * AccessTokenResponse constructor.
  * @param array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->access_token = AU::get($data['access_token']);
         $this->token_type = AU::get($data['token_type']);
         $this->expires_in = AU::get($data['expires_in']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->vendorId = AU::get($data['vendorId']);
         $this->startDate = AU::get($data['startDate']);
         $this->endDate = AU::get($data['endDate']);
         $this->name = AU::get($data['name']);
     }
 }
Esempio n. 15
0
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->name = AU::get($data['name']);
         $this->iso2 = AU::get($data['iso2']);
         $this->setContinent(AU::get($data['continent']));
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->name = AU::get($data['name']);
         $this->ownerId = AU::get($data['ownerId']);
         $this->bookingPolicyId = AU::get($data['bookingPolicyId']);
         $this->cancellationPolicyId = AU::get($data['cancellationPolicyId']);
     }
 }
 /**
  * @param   array   $data
  */
 public function __construct($data)
 {
     $data = AU::get($data['CityStateLookupResponse'], []);
     $zipCodes = AU::get($data['ZipCode'], []);
     $zipCodes = AU::isArrays($zipCodes) ? $zipCodes : [$zipCodes];
     foreach ($zipCodes as $item) {
         $this->items[] = new CityStateLookupResponseItem($item);
     }
 }
 /**
  * CreateOAuthClientRequest constructor.
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->secret = AU::get($data['secret']);
         $this->accountId = AU::get($data['accountId']);
         $this->oAuthScopeIds = AU::get($data['oAuthScopeIds']);
     }
 }
 /**
  * @param   array   $data
  */
 public function __construct($data)
 {
     $data = AU::get($data['ZipCodeLookupResponse'], []);
     $addresses = AU::get($data['Address'], []);
     $addresses = AU::isArrays($addresses) ? $addresses : [$addresses];
     foreach ($addresses as $item) {
         $this->items[] = new ZipCodeLookupResponseItem($item);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->rentalId = AU::get($data['rentalId']);
         $this->seasonId = AU::get($data['seasonId']);
         $this->dailyRate = AU::get($data['dailyRate']);
         $this->applyDurationDiscount = AU::get($data['applyDurationDiscount']);
     }
 }
Esempio n. 21
0
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->reference = AU::get($data['reference']);
         $this->status = AU::get($data['status']);
         $this->newItemLocation = AU::get($data['newItemLocation']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->licensePlate = AU::get($data['licensePlate']);
         $this->issuedDate = AU::get($data['issuedDate']);
         $this->expirationDate = AU::get($data['expirationDate']);
         $this->subdivisionId = AU::get($data['subdivisionId']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->ids = AU::get($data['ids']);
         $this->names = AU::get($data['names']);
         $this->vehicleMakeIds = AU::get($data['vehicleMakeIds']);
         $this->limit = AU::get($data['limit'], 80);
         $this->page = AU::get($data['page'], 1);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->ids = AU::get($data['ids']);
         $this->labels = AU::get($data['labels']);
         $this->vendorIds = AU::get($data['vendorIds']);
         $this->limit = AU::get($data['limit']);
         $this->page = AU::get($data['page']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->accountNumber = AU::get($data['accountNumber']);
         $this->accountHolderName = AU::get($data['accountHolderName']);
         $this->accountHolderType = AU::get($data['accountHolderType']);
         $this->routingNumber = AU::get($data['routingNumber']);
         $this->countryId = AU::get($data['countryId']);
     }
 }
Esempio n. 26
0
 /**
  * User constructor.
  * @param   array|null      $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->id = AU::get($data['id']);
         $this->firstName = AU::get($data['firstName']);
         $this->lastName = AU::get($data['lastName']);
         $this->email = AU::get($data['email']);
         $this->createdAt = new DateTime(AU::get($data['createdAt']));
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->userId = AU::get($data['userId']);
         $this->vendorId = AU::get($data['vendorId']);
         $this->serviceIds = AU::get($data['serviceIds']);
         $this->startDate = AU::get($data['startDate']);
         $this->endDate = AU::get($data['endDate']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->name = AU::get($data['name']);
         $this->description = AU::get($data['description']);
         $this->vendorId = AU::get($data['vendorId']);
         $this->rate = AU::get($data['rate']);
         $this->rateTypeId = AU::get($data['rateTypeId']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->firmName = AU::get($data['firmName']);
         $this->address1 = AU::get($data['address1']);
         $this->address2 = AU::get($data['address2']);
         $this->city = AU::get($data['city']);
         $this->state = AU::get($data['state']);
     }
 }
 /**
  * @param   array|null $data
  */
 public function __construct($data = null)
 {
     if (is_array($data)) {
         $this->street1 = AU::get($data['street1']);
         $this->street2 = AU::get($data['street2']);
         $this->city = AU::get($data['city']);
         $this->postalCode = AU::get($data['postalCode']);
         $this->subdivisionId = AU::get($data['subdivisionId']);
     }
 }