|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace Iris; |
| 4 | + |
| 5 | +class CsrResponse { |
| 6 | + use BaseModel; |
| 7 | + |
| 8 | + protected $fields = array( |
| 9 | + "OrderId" => array("type" => "string"), |
| 10 | + "Status" => array("type" => "string"), |
| 11 | + "AccountNumber" => array("type" => "string"), |
| 12 | + "AccountTelephoneNumber" => array("type" => "string"), |
| 13 | + "EndUserName" => array("type" => "string"), |
| 14 | + "AuthorizingUserName" => array("type" => "string"), |
| 15 | + "CustomerCode" => array("type" => "string"), |
| 16 | + "EndUserPIN" => array("type" => "string"), |
| 17 | + "EndUserPassword" => array("type" => "string"), |
| 18 | + "AddressLine1" => array("type" => "string"), |
| 19 | + "City" => array("type" => "string"), |
| 20 | + "State" => array("type" => "string"), |
| 21 | + "ZIPCode" => array("type" => "string"), |
| 22 | + "TypeOfService" => array("type" => "string"), |
| 23 | + "Errors" => array("type" => "\Iris\ErrorList"), |
| 24 | + "CustomerOrderId" => array("type" => "string"), |
| 25 | + "LastModifiedBy" => array("type" => "string"), |
| 26 | + "OrderCreateDate" => array("type" => "string"), |
| 27 | + "AccountId" => array("type" => "string"), |
| 28 | + "LastModifiedDate" => array("type" => "string"), |
| 29 | + "AccountNumber" => array("type" => "string"), |
| 30 | + "AccountTelephoneNumber" => array("type" => "string"), |
| 31 | + "EndUserName" => array("type" => "string"), |
| 32 | + "AuthorizingUserName" => array("type" => "string"), |
| 33 | + "CustomerCode" => array("type" => "string"), |
| 34 | + "EndUserPIN" => array("type" => "string"), |
| 35 | + "EndUserPassword" => array("type" => "string"), |
| 36 | + "AddressLine1" => array("type" => "string"), |
| 37 | + "City" => array("type" => "string"), |
| 38 | + "State" => array("type" => "string"), |
| 39 | + "ZIPCode" => array("type" => "string"), |
| 40 | + "TypeOfService" => array("type" => "string"), |
| 41 | + "CsrData" => array("type" => "\Iris\CsrData") |
| 42 | + ); |
| 43 | + |
| 44 | + public function __construct($data) { |
| 45 | + $this->set_data($data); |
| 46 | + } |
| 47 | +} |
0 commit comments