/home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/Accounting
NameSizeModeActions
Account.php297560644editdlrm
Accounts.php67260644editdlrm
AccountsPayable.php68970644editdlrm
AccountsReceivable.php69090644editdlrm
AccountType.php26370644editdlrm
Action.php78310644editdlrm
Actions.php66890644editdlrm
Address.php181490644editdlrm
AddressForOrganisation.php184310644editdlrm
Allocation.php131990644editdlrm
Allocations.php68370644editdlrm
Attachment.php98520644editdlrm
Attachments.php68370644editdlrm
BalanceDetails.php80140644editdlrm
Balances.php76430644editdlrm
BankTransaction.php275060644editdlrm
BankTransactions.php70460644editdlrm
BankTransfer.php189580644editdlrm
BankTransfers.php69350644editdlrm
BatchPayment.php246140644editdlrm
BatchPaymentDetails.php111060644editdlrm
BatchPayments.php69350644editdlrm
Bill.php67530644editdlrm
BrandingTheme.php111630644editdlrm
BrandingThemes.php69720644editdlrm
Budget.php118630644editdlrm
BudgetBalance.php94460644editdlrm
BudgetLine.php78930644editdlrm
BudgetLines.php94100644editdlrm
Budgets.php66890644editdlrm
CISOrgSetting.php82110644editdlrm
CISOrgSettings.php68850644editdlrm
CISSetting.php69670644editdlrm
CISSettings.php68610644editdlrm
Contact.php459810644editdlrm
ContactGroup.php98340644editdlrm
ContactGroups.php69350644editdlrm
ContactPerson.php86050644editdlrm
Contacts.php67260644editdlrm
ConversionBalances.php80600644editdlrm
ConversionDate.php68980644editdlrm
CountryCode.php114860644editdlrm
CreditNote.php351340644editdlrm
CreditNotes.php68610644editdlrm
Currencies.php67970644editdlrm
Currency.php68440644editdlrm
CurrencyCode.php89140644editdlrm
Element.php119610644editdlrm
Employee.php146130644editdlrm
Employees.php67630644editdlrm
Error.php82840644editdlrm
ExpenseClaim.php169020644editdlrm
ExpenseClaims.php69350644editdlrm
ExternalLink.php88890644editdlrm
HistoryRecord.php83760644editdlrm
HistoryRecords.php69720644editdlrm
ImportSummary.php72950644editdlrm
ImportSummaryAccounts.php115640644editdlrm
ImportSummaryObject.php64380644editdlrm
ImportSummaryOrganisation.php61880644editdlrm
Invoice.php458640644editdlrm
InvoiceReminder.php61620644editdlrm
InvoiceReminders.php70460644editdlrm
Invoices.php67260644editdlrm
Item.php218100644editdlrm
Items.php66150644editdlrm
Journal.php163010644editdlrm
JournalLine.php149380644editdlrm
Journals.php67260644editdlrm
LineAmountTypes.php14760644editdlrm
LineItem.php170840644editdlrm
LineItemTracking.php90610644editdlrm
LinkedTransaction.php199550644editdlrm
LinkedTransactions.php71200644editdlrm
ManualJournal.php197520644editdlrm
ManualJournalLine.php115500644editdlrm
ManualJournals.php69720644editdlrm
ModelInterface.php20830644editdlrm
OnlineInvoice.php63770644editdlrm
OnlineInvoices.php69720644editdlrm
Organisation.php495230644editdlrm
Organisations.php69110644editdlrm
Overpayment.php237420644editdlrm
Overpayments.php68740644editdlrm
Payment.php308210644editdlrm
PaymentDelete.php62620644editdlrm
Payments.php67260644editdlrm
PaymentService.php110350644editdlrm
PaymentServices.php70090644editdlrm
PaymentTerm.php69030644editdlrm
PaymentTermType.php15170644editdlrm
Phone.php114230644editdlrm
Prepayment.php245240644editdlrm
Prepayments.php68370644editdlrm
Purchase.php87970644editdlrm
PurchaseOrder.php333200644editdlrm
PurchaseOrders.php69720644editdlrm
Quote.php285070644editdlrm
QuoteLineAmountTypes.php14890644editdlrm
Quotes.php66520644editdlrm
QuoteStatusCodes.php15600644editdlrm
Receipt.php217340644editdlrm
Receipts.php67260644editdlrm
RepeatingInvoice.php200120644editdlrm
RepeatingInvoices.php70830644editdlrm
Report.php114550644editdlrm
ReportAttribute.php66580644editdlrm
ReportCell.php69440644editdlrm
ReportFields.php75020644editdlrm
ReportRow.php75950644editdlrm
ReportRows.php83070644editdlrm
Reports.php66890644editdlrm
ReportWithRow.php126250644editdlrm
ReportWithRows.php62820644editdlrm
RequestEmpty.php61700644editdlrm
RowType.php13780644editdlrm
SalesTrackingCategory.php74640644editdlrm
Schedule.php162240644editdlrm
Setup.php82950644editdlrm
SetupBalanceDetails.php79840644editdlrm
SetupConversionBalances.php80730644editdlrm
SetupConversionDate.php69670644editdlrm
TaxComponent.php84300644editdlrm
TaxRate.php251500644editdlrm
TaxRates.php67500644editdlrm
TaxType.php51190644editdlrm
TenNinetyNineContact.php196150644editdlrm
TenNinteyNineContact.php196410644editdlrm
TimeZone.php116900644editdlrm
TrackingCategories.php71170644editdlrm
TrackingCategory.php122810644editdlrm
TrackingOption.php102940644editdlrm
TrackingOptions.php67530644editdlrm
User.php129350644editdlrm
Users.php66150644editdlrm
ValidationError.php61710644editdlrm
Edit: /home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/Accounting/Report.php (11455B)
'string', 'report_type' => 'string', 'report_title' => 'string', 'report_date' => 'string', 'updated_date_utc' => 'string', 'contacts' => '\XeroAPI\XeroPHP\Models\Accounting\TenNinetyNineContact[]' ]; /** * Array of property to format mappings. Used for (de)serialization * * @var string[] */ protected static $openAPIFormats = [ 'report_name' => null, 'report_type' => null, 'report_title' => null, 'report_date' => null, 'updated_date_utc' => null, 'contacts' => null ]; /** * Array of property to type mappings. Used for (de)serialization * * @return array */ public static function openAPITypes() { return self::$openAPITypes; } /** * Array of property to format mappings. Used for (de)serialization * * @return array */ public static function openAPIFormats() { return self::$openAPIFormats; } /** * Array of attributes where the key is the local name, * and the value is the original name * * @var string[] */ protected static $attributeMap = [ 'report_name' => 'ReportName', 'report_type' => 'ReportType', 'report_title' => 'ReportTitle', 'report_date' => 'ReportDate', 'updated_date_utc' => 'UpdatedDateUTC', 'contacts' => 'Contacts' ]; /** * Array of attributes to setter functions (for deserialization of responses) * * @var string[] */ protected static $setters = [ 'report_name' => 'setReportName', 'report_type' => 'setReportType', 'report_title' => 'setReportTitle', 'report_date' => 'setReportDate', 'updated_date_utc' => 'setUpdatedDateUtc', 'contacts' => 'setContacts' ]; /** * Array of attributes to getter functions (for serialization of requests) * * @var string[] */ protected static $getters = [ 'report_name' => 'getReportName', 'report_type' => 'getReportType', 'report_title' => 'getReportTitle', 'report_date' => 'getReportDate', 'updated_date_utc' => 'getUpdatedDateUtc', 'contacts' => 'getContacts' ]; /** * Array of attributes where the key is the local name, * and the value is the original name * * @return array */ public static function attributeMap() { return self::$attributeMap; } /** * Array of attributes to setter functions (for deserialization of responses) * * @return array */ public static function setters() { return self::$setters; } /** * Array of attributes to getter functions (for serialization of requests) * * @return array */ public static function getters() { return self::$getters; } /** * The original name of the model. * * @return string */ public function getModelName() { return self::$openAPIModelName; } const REPORT_TYPE_AGED_PAYABLES_BY_CONTACT = 'AgedPayablesByContact'; /** * Gets allowable values of the enum * * @return string[] */ public function getReportTypeAllowableValues() { return [ self::REPORT_TYPE_AGED_PAYABLES_BY_CONTACT, ]; } /** * Associative array for storing property values * * @var mixed[] */ protected $container = []; /** * Constructor * * @param mixed[] $data Associated array of property values * initializing the model */ public function __construct(array $data = null) { $this->container['report_name'] = isset($data['report_name']) ? $data['report_name'] : null; $this->container['report_type'] = isset($data['report_type']) ? $data['report_type'] : null; $this->container['report_title'] = isset($data['report_title']) ? $data['report_title'] : null; $this->container['report_date'] = isset($data['report_date']) ? $data['report_date'] : null; $this->container['updated_date_utc'] = isset($data['updated_date_utc']) ? $data['updated_date_utc'] : null; $this->container['contacts'] = isset($data['contacts']) ? $data['contacts'] : null; } /** * Show all the invalid properties with reasons. * * @return array invalid properties with reasons */ public function listInvalidProperties() { $invalidProperties = []; $allowedValues = $this->getReportTypeAllowableValues(); if (!is_null($this->container['report_type']) && !in_array($this->container['report_type'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'report_type', must be one of '%s'", implode("', '", $allowedValues) ); } return $invalidProperties; } /** * Validate all the properties in the model * return true if all passed * * @return bool True if all properties are valid */ public function valid() { return count($this->listInvalidProperties()) === 0; } /** * Gets report_name * * @return string|null */ public function getReportName() { return $this->container['report_name']; } /** * Sets report_name * * @param string|null $report_name See Prepayment Types * * @return $this */ public function setReportName($report_name) { $this->container['report_name'] = $report_name; return $this; } /** * Gets report_type * * @return string|null */ public function getReportType() { return $this->container['report_type']; } /** * Sets report_type * * @param string|null $report_type See Prepayment Types * * @return $this */ public function setReportType($report_type) { $allowedValues = $this->getReportTypeAllowableValues(); if (!is_null($report_type) && !in_array($report_type, $allowedValues, true)) { throw new \InvalidArgumentException( sprintf( "Invalid value for 'report_type', must be one of '%s'", implode("', '", $allowedValues) ) ); } $this->container['report_type'] = $report_type; return $this; } /** * Gets report_title * * @return string|null */ public function getReportTitle() { return $this->container['report_title']; } /** * Sets report_title * * @param string|null $report_title See Prepayment Types * * @return $this */ public function setReportTitle($report_title) { $this->container['report_title'] = $report_title; return $this; } /** * Gets report_date * * @return string|null */ public function getReportDate() { return $this->container['report_date']; } /** * Sets report_date * * @param string|null $report_date Date of report * * @return $this */ public function setReportDate($report_date) { $this->container['report_date'] = $report_date; return $this; } /** * Gets updated_date_utc * * @return string|null */ public function getUpdatedDateUtc() { return $this->container['updated_date_utc']; } public function getUpdatedDateUtcAsDate() { if ($this->getUpdatedDateUtc() != null) { return StringUtil::convertStringToDateTime($this->getUpdatedDateUtc()); } else { throw new \Exception('can not convert null string to date'); } } /** * Sets updated_date_utc * * @param string|null $updated_date_utc Updated Date * * @return $this */ public function setUpdatedDateUtc($updated_date_utc) { $this->container['updated_date_utc'] = $updated_date_utc; return $this; } /** * Gets contacts * * @return \XeroAPI\XeroPHP\Models\Accounting\TenNinetyNineContact[]|null */ public function getContacts() { return $this->container['contacts']; } /** * Sets contacts * * @param \XeroAPI\XeroPHP\Models\Accounting\TenNinetyNineContact[]|null $contacts contacts * * @return $this */ public function setContacts($contacts) { $this->container['contacts'] = $contacts; return $this; } /** * Returns true if offset exists. False otherwise. * * @param integer $offset Offset * * @return boolean */ public function offsetExists($offset) { return isset($this->container[$offset]); } /** * Gets offset. * * @param integer $offset Offset * * @return mixed */ public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; } /** * Sets value based on offset. * * @param integer $offset Offset * @param mixed $value Value to be set * * @return void */ public function offsetSet($offset, $value) { if (is_null($offset)) { $this->container[] = $value; } else { $this->container[$offset] = $value; } } /** * Unsets offset. * * @param integer $offset Offset * * @return void */ public function offsetUnset($offset) { unset($this->container[$offset]); } /** * Gets the string presentation of the object * * @return string */ public function __toString() { return json_encode( AccountingObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); } }