public function hydrate($data) { parent::hydrate($data); if ($this->frequency !== null) { $this->frequency = PaycheckFrequencyResponse::make($this->frequency); } }
/** * Hydrate the public properties * * @param $data */ public function hydrate($data) { parent::hydrate($data); if (!empty($this->offer)) { $this->offer = ProductOfferResponse::make($this->offer); } }
/** * @param $data */ public function hydrate($data) { parent::hydrate($data); if (!empty($this->employee)) { $this->employee = EmployeeResponse::make($this->employee); } }
public function hydrate($data) { parent::hydrate($data); if ($this->fields) { foreach ($this->fields as $k => $field) { $this->fields[$k] = FormField::make($field); } } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->user)) { $this->user = AuthUserResponse::make($this->user); } if (!empty($this->emailData)) { $this->emailData = EmailResponse::make($this->emailData); } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->contact)) { $this->contact = MessengerContactResponse::make($this->contact); } if (!empty($this->campaign)) { $this->campaign = MessengerCampaignResponse::make($this->campaign); } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->contact)) { $this->contact = MessengerContactResponse::make($this->contact); } if (!empty($this->list)) { $this->list = MessengerListResponse::make($this->list); } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->contact)) { $this->contact = MessengerContactResponse::make($this->contact); } if (!empty($this->service)) { $this->service = MessengerServiceResponse::make($this->service); } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->department)) { $this->department = DepartmentResponse::make($this->department); } if (!empty($this->customer)) { $this->customer = CustomerResponse::make($this->customer); } if (!empty($this->currentAgent)) { $this->currentAgent = EmployeeResponse::make($this->currentAgent); } }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->discounts)) { $this->discounts = InvoiceDiscountsResponse::make($this->discounts); } if (!empty($this->refunds)) { $this->refunds = InvoiceRefundsResponse::make($this->refunds); } if (!empty($this->payments)) { $this->payments = InvoicePaymentsResponse::make($this->payments); } if (!empty($this->credits)) { $this->credits = InvoiceCreditNotesResponse::make($this->credits); } if (!empty($this->items)) { $this->items = InvoiceItemsResponse::make($this->items); } if (!empty($this->taxes)) { $this->taxes = InvoiceTaxesRepsonse::make($this->taxes); } }
public function hydrate($data) { parent::hydrate($data); $this->_buildProperty('fields', '\\Fortifi\\FortifiApi\\Payment\\Responses\\Services\\PaymentServiceFieldResponse'); $this->_buildProperty('configurationFields', '\\Fortifi\\FortifiApi\\Payment\\Responses\\Services\\PaymentServiceFieldResponse'); }
public function hydrate($data) { parent::hydrate($data); $this->_buildProperty('actions', '\\Fortifi\\FortifiApi\\Workflow\\Responses\\WorkflowActionResponse'); }
public function hydrate($data) { parent::hydrate($data); if (!empty($this->phone)) { $this->phone = PhoneResponse::make($this->phone); } }
/** * Hydrate the public properties * * @param $data */ public function hydrate($data) { parent::hydrate($data); $this->values = ValueAs::arr($this->values); }