PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
academe
/
authorizenet-objects
/
src
/
Response
/
Collections
<?php namespace Academe\AuthorizeNet\Response\Collections; /** * Collection of transaction errors. */ use Academe\AuthorizeNet\Request\Model\HostedPaymentSetting; use Academe\AuthorizeNet\Response\HasDataTrait; use Academe\AuthorizeNet\Response\Model\Error; use Academe\AuthorizeNet\AbstractCollection; class Errors extends AbstractCollection { use HasDataTrait; public function __construct(array $data = []) { $this->setData($data); // ...and an array of error records. foreach ($this->getData() as $message_data) { $this->push(new Error($message_data)); } } protected function hasExpectedStrictType($item) { // Make sure the item is the correct type, and is not empty. return $item instanceof Error; } }
[-] SplitTenderPayments.php
[edit]
[-] UserFields.php
[edit]
[+]
..
[-] TransactionMessages.php
[edit]
[-] Messages.php
[edit]
[-] Errors.php
[edit]
[-] LineItems.php
[edit]