/
home
/
desid573
/
public_html
/
angel
/
payment
/
xero
/
lib
/
Models
/
Accounting
/
/home/desid573/public_html/angel/payment/xero/lib/Models/Accounting
mkdir
upload
Name
Size
Mode
Actions
Account.php
29316
0644
edit
dl
rm
Accounts.php
6252
0644
edit
dl
rm
AccountsPayable.php
6885
0644
edit
dl
rm
AccountsReceivable.php
6897
0644
edit
dl
rm
AccountType.php
2631
0644
edit
dl
rm
Address.php
18200
0644
edit
dl
rm
Allocation.php
7869
0644
edit
dl
rm
Allocations.php
6336
0644
edit
dl
rm
Attachment.php
9834
0644
edit
dl
rm
Attachments.php
6336
0644
edit
dl
rm
Balances.php
7631
0644
edit
dl
rm
BankTransaction.php
26710
0644
edit
dl
rm
BankTransactions.php
6492
0644
edit
dl
rm
BankTransfer.php
15372
0644
edit
dl
rm
BankTransfers.php
6408
0644
edit
dl
rm
BatchPayment.php
21869
0644
edit
dl
rm
BatchPaymentDetails.php
11550
0644
edit
dl
rm
BatchPayments.php
6408
0644
edit
dl
rm
Bill.php
6741
0644
edit
dl
rm
BrandingTheme.php
10877
0644
edit
dl
rm
BrandingThemes.php
6436
0644
edit
dl
rm
CISOrgSetting.php
8184
0644
edit
dl
rm
CISSetting.php
6943
0644
edit
dl
rm
CISSettings.php
6352
0644
edit
dl
rm
Contact.php
44711
0644
edit
dl
rm
ContactGroup.php
9816
0644
edit
dl
rm
ContactGroups.php
6408
0644
edit
dl
rm
ContactPerson.php
8587
0644
edit
dl
rm
Contacts.php
6252
0644
edit
dl
rm
CountryCode.php
11489
0644
edit
dl
rm
CreditNote.php
26752
0644
edit
dl
rm
CreditNotes.php
6352
0644
edit
dl
rm
Currencies.php
6305
0644
edit
dl
rm
Currency.php
6914
0644
edit
dl
rm
CurrencyCode.php
8697
0644
edit
dl
rm
Element.php
6472
0644
edit
dl
rm
Employee.php
12228
0644
edit
dl
rm
Employees.php
6280
0644
edit
dl
rm
Error.php
8266
0644
edit
dl
rm
ExpenseClaim.php
16079
0644
edit
dl
rm
ExpenseClaims.php
6408
0644
edit
dl
rm
ExternalLink.php
8874
0644
edit
dl
rm
HistoryRecord.php
8117
0644
edit
dl
rm
HistoryRecords.php
6436
0644
edit
dl
rm
Invoice.php
39859
0644
edit
dl
rm
InvoiceReminder.php
6153
0644
edit
dl
rm
InvoiceReminders.php
6492
0644
edit
dl
rm
Invoices.php
6252
0644
edit
dl
rm
Item.php
20683
0644
edit
dl
rm
Items.php
6168
0644
edit
dl
rm
Journal.php
15185
0644
edit
dl
rm
JournalLine.php
14977
0644
edit
dl
rm
Journals.php
6252
0644
edit
dl
rm
LineAmountTypes.php
1470
0644
edit
dl
rm
LineItem.php
16324
0644
edit
dl
rm
LineItemTracking.php
8140
0644
edit
dl
rm
LinkedTransaction.php
19793
0644
edit
dl
rm
LinkedTransactions.php
6548
0644
edit
dl
rm
ManualJournal.php
17838
0644
edit
dl
rm
ManualJournalLine.php
10810
0644
edit
dl
rm
ManualJournals.php
6436
0644
edit
dl
rm
ModelInterface.php
2109
0644
edit
dl
rm
OnlineInvoice.php
6368
0644
edit
dl
rm
OnlineInvoices.php
6436
0644
edit
dl
rm
Organisation.php
46336
0644
edit
dl
rm
Organisations.php
6392
0644
edit
dl
rm
Overpayment.php
22012
0644
edit
dl
rm
Overpayments.php
6364
0644
edit
dl
rm
Payment.php
27061
0644
edit
dl
rm
Payments.php
6252
0644
edit
dl
rm
PaymentService.php
11011
0644
edit
dl
rm
PaymentServices.php
6464
0644
edit
dl
rm
PaymentTerm.php
6891
0644
edit
dl
rm
PaymentTermType.php
1511
0644
edit
dl
rm
Phone.php
11405
0644
edit
dl
rm
Prepayment.php
21263
0644
edit
dl
rm
Prepayments.php
6336
0644
edit
dl
rm
Purchase.php
8779
0644
edit
dl
rm
PurchaseOrder.php
30674
0644
edit
dl
rm
PurchaseOrders.php
6436
0644
edit
dl
rm
Quote.php
24959
0644
edit
dl
rm
Quotes.php
6196
0644
edit
dl
rm
QuoteStatusCodes.php
1496
0644
edit
dl
rm
Receipt.php
20293
0644
edit
dl
rm
Receipts.php
6252
0644
edit
dl
rm
RepeatingInvoice.php
20056
0644
edit
dl
rm
RepeatingInvoices.php
6520
0644
edit
dl
rm
Report.php
11865
0644
edit
dl
rm
ReportAttribute.php
6646
0644
edit
dl
rm
ReportCell.php
6932
0644
edit
dl
rm
ReportFields.php
7489
0644
edit
dl
rm
ReportRow.php
7580
0644
edit
dl
rm
ReportRows.php
8289
0644
edit
dl
rm
Reports.php
6224
0644
edit
dl
rm
ReportWithRow.php
12323
0644
edit
dl
rm
ReportWithRows.php
6273
0644
edit
dl
rm
RequestEmpty.php
6161
0644
edit
dl
rm
RowType.php
1372
0644
edit
dl
rm
SalesTrackingCategory.php
7452
0644
edit
dl
rm
Schedule.php
13251
0644
edit
dl
rm
TaxComponent.php
8412
0644
edit
dl
rm
TaxRate.php
21187
0644
edit
dl
rm
TaxRates.php
6268
0644
edit
dl
rm
TaxType.php
4653
0644
edit
dl
rm
TenNinteyNineContact.php
19543
0644
edit
dl
rm
TimeZone.php
11522
0644
edit
dl
rm
TrackingCategories.php
6545
0644
edit
dl
rm
TrackingCategory.php
12257
0644
edit
dl
rm
TrackingOption.php
10269
0644
edit
dl
rm
TrackingOptions.php
6280
0644
edit
dl
rm
User.php
12646
0644
edit
dl
rm
Users.php
6168
0644
edit
dl
rm
ValidationError.php
6162
0644
edit
dl
rm
Edit:
/home/desid573/public_html/angel/payment/xero/lib/Models/Accounting/TaxRate.php
(21187B)
<?php /** * TaxRate * * PHP version 5 * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Accounting API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.0.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 4.0.0 */ /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ namespace XeroAPI\XeroPHP\Models\Accounting; use \ArrayAccess; use \XeroAPI\XeroPHP\AccountingObjectSerializer; /** * TaxRate Class Doc Comment * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ class TaxRate implements ModelInterface, ArrayAccess { const DISCRIMINATOR = null; /** * The original name of the model. * * @var string */ protected static $openAPIModelName = 'TaxRate'; /** * Array of property to type mappings. Used for (de)serialization * * @var string[] */ protected static $openAPITypes = [ 'name' => 'string', 'tax_type' => 'string', 'tax_components' => '\XeroAPI\XeroPHP\Models\Accounting\TaxComponent[]', 'status' => 'string', 'report_tax_type' => 'string', 'can_apply_to_assets' => 'bool', 'can_apply_to_equity' => 'bool', 'can_apply_to_expenses' => 'bool', 'can_apply_to_liabilities' => 'bool', 'can_apply_to_revenue' => 'bool', 'display_tax_rate' => 'double', 'effective_rate' => 'double' ]; /** * Array of property to format mappings. Used for (de)serialization * * @var string[] */ protected static $openAPIFormats = [ 'name' => null, 'tax_type' => null, 'tax_components' => null, 'status' => null, 'report_tax_type' => null, 'can_apply_to_assets' => null, 'can_apply_to_equity' => null, 'can_apply_to_expenses' => null, 'can_apply_to_liabilities' => null, 'can_apply_to_revenue' => null, 'display_tax_rate' => 'double', 'effective_rate' => 'double' ]; /** * 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 = [ 'name' => 'Name', 'tax_type' => 'TaxType', 'tax_components' => 'TaxComponents', 'status' => 'Status', 'report_tax_type' => 'ReportTaxType', 'can_apply_to_assets' => 'CanApplyToAssets', 'can_apply_to_equity' => 'CanApplyToEquity', 'can_apply_to_expenses' => 'CanApplyToExpenses', 'can_apply_to_liabilities' => 'CanApplyToLiabilities', 'can_apply_to_revenue' => 'CanApplyToRevenue', 'display_tax_rate' => 'DisplayTaxRate', 'effective_rate' => 'EffectiveRate' ]; /** * Array of attributes to setter functions (for deserialization of responses) * * @var string[] */ protected static $setters = [ 'name' => 'setName', 'tax_type' => 'setTaxType', 'tax_components' => 'setTaxComponents', 'status' => 'setStatus', 'report_tax_type' => 'setReportTaxType', 'can_apply_to_assets' => 'setCanApplyToAssets', 'can_apply_to_equity' => 'setCanApplyToEquity', 'can_apply_to_expenses' => 'setCanApplyToExpenses', 'can_apply_to_liabilities' => 'setCanApplyToLiabilities', 'can_apply_to_revenue' => 'setCanApplyToRevenue', 'display_tax_rate' => 'setDisplayTaxRate', 'effective_rate' => 'setEffectiveRate' ]; /** * Array of attributes to getter functions (for serialization of requests) * * @var string[] */ protected static $getters = [ 'name' => 'getName', 'tax_type' => 'getTaxType', 'tax_components' => 'getTaxComponents', 'status' => 'getStatus', 'report_tax_type' => 'getReportTaxType', 'can_apply_to_assets' => 'getCanApplyToAssets', 'can_apply_to_equity' => 'getCanApplyToEquity', 'can_apply_to_expenses' => 'getCanApplyToExpenses', 'can_apply_to_liabilities' => 'getCanApplyToLiabilities', 'can_apply_to_revenue' => 'getCanApplyToRevenue', 'display_tax_rate' => 'getDisplayTaxRate', 'effective_rate' => 'getEffectiveRate' ]; /** * 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 STATUS_ACTIVE = 'ACTIVE'; const STATUS_DELETED = 'DELETED'; const STATUS_ARCHIVED = 'ARCHIVED'; const STATUS_PENDING = 'PENDING'; const REPORT_TAX_TYPE_AVALARA = 'AVALARA'; const REPORT_TAX_TYPE_BASEXCLUDED = 'BASEXCLUDED'; const REPORT_TAX_TYPE_CAPITALSALESOUTPUT = 'CAPITALSALESOUTPUT'; const REPORT_TAX_TYPE_CAPITALEXPENSESINPUT = 'CAPITALEXPENSESINPUT'; const REPORT_TAX_TYPE_ECOUTPUT = 'ECOUTPUT'; const REPORT_TAX_TYPE_ECOUTPUTSERVICES = 'ECOUTPUTSERVICES'; const REPORT_TAX_TYPE_ECINPUT = 'ECINPUT'; const REPORT_TAX_TYPE_ECACQUISITIONS = 'ECACQUISITIONS'; const REPORT_TAX_TYPE_EXEMPTEXPENSES = 'EXEMPTEXPENSES'; const REPORT_TAX_TYPE_EXEMPTINPUT = 'EXEMPTINPUT'; const REPORT_TAX_TYPE_EXEMPTOUTPUT = 'EXEMPTOUTPUT'; const REPORT_TAX_TYPE_GSTONIMPORTS = 'GSTONIMPORTS'; const REPORT_TAX_TYPE_INPUT = 'INPUT'; const REPORT_TAX_TYPE_INPUTTAXED = 'INPUTTAXED'; const REPORT_TAX_TYPE_MOSSSALES = 'MOSSSALES'; const REPORT_TAX_TYPE_NONE = 'NONE'; const REPORT_TAX_TYPE_NONEOUTPUT = 'NONEOUTPUT'; const REPORT_TAX_TYPE_OUTPUT = 'OUTPUT'; const REPORT_TAX_TYPE_PURCHASESINPUT = 'PURCHASESINPUT'; const REPORT_TAX_TYPE_SALESOUTPUT = 'SALESOUTPUT'; const REPORT_TAX_TYPE_EXEMPTCAPITAL = 'EXEMPTCAPITAL'; const REPORT_TAX_TYPE_EXEMPTEXPORT = 'EXEMPTEXPORT'; const REPORT_TAX_TYPE_CAPITALEXINPUT = 'CAPITALEXINPUT'; const REPORT_TAX_TYPE_GSTONCAPIMPORTS = 'GSTONCAPIMPORTS'; const REPORT_TAX_TYPE_REVERSECHARGES = 'REVERSECHARGES'; const REPORT_TAX_TYPE_PAYMENTS = 'PAYMENTS'; const REPORT_TAX_TYPE_INVOICE = 'INVOICE'; const REPORT_TAX_TYPE_CASH = 'CASH'; const REPORT_TAX_TYPE_ACCRUAL = 'ACCRUAL'; const REPORT_TAX_TYPE_FLATRATECASH = 'FLATRATECASH'; const REPORT_TAX_TYPE_FLATRATEACCRUAL = 'FLATRATEACCRUAL'; const REPORT_TAX_TYPE_ACCRUALS = 'ACCRUALS'; /** * Gets allowable values of the enum * * @return string[] */ public function getStatusAllowableValues() { return [ self::STATUS_ACTIVE, self::STATUS_DELETED, self::STATUS_ARCHIVED, self::STATUS_PENDING, ]; } /** * Gets allowable values of the enum * * @return string[] */ public function getReportTaxTypeAllowableValues() { return [ self::REPORT_TAX_TYPE_AVALARA, self::REPORT_TAX_TYPE_BASEXCLUDED, self::REPORT_TAX_TYPE_CAPITALSALESOUTPUT, self::REPORT_TAX_TYPE_CAPITALEXPENSESINPUT, self::REPORT_TAX_TYPE_ECOUTPUT, self::REPORT_TAX_TYPE_ECOUTPUTSERVICES, self::REPORT_TAX_TYPE_ECINPUT, self::REPORT_TAX_TYPE_ECACQUISITIONS, self::REPORT_TAX_TYPE_EXEMPTEXPENSES, self::REPORT_TAX_TYPE_EXEMPTINPUT, self::REPORT_TAX_TYPE_EXEMPTOUTPUT, self::REPORT_TAX_TYPE_GSTONIMPORTS, self::REPORT_TAX_TYPE_INPUT, self::REPORT_TAX_TYPE_INPUTTAXED, self::REPORT_TAX_TYPE_MOSSSALES, self::REPORT_TAX_TYPE_NONE, self::REPORT_TAX_TYPE_NONEOUTPUT, self::REPORT_TAX_TYPE_OUTPUT, self::REPORT_TAX_TYPE_PURCHASESINPUT, self::REPORT_TAX_TYPE_SALESOUTPUT, self::REPORT_TAX_TYPE_EXEMPTCAPITAL, self::REPORT_TAX_TYPE_EXEMPTEXPORT, self::REPORT_TAX_TYPE_CAPITALEXINPUT, self::REPORT_TAX_TYPE_GSTONCAPIMPORTS, self::REPORT_TAX_TYPE_REVERSECHARGES, self::REPORT_TAX_TYPE_PAYMENTS, self::REPORT_TAX_TYPE_INVOICE, self::REPORT_TAX_TYPE_CASH, self::REPORT_TAX_TYPE_ACCRUAL, self::REPORT_TAX_TYPE_FLATRATECASH, self::REPORT_TAX_TYPE_FLATRATEACCRUAL, self::REPORT_TAX_TYPE_ACCRUALS, ]; } /** * 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['name'] = isset($data['name']) ? $data['name'] : null; $this->container['tax_type'] = isset($data['tax_type']) ? $data['tax_type'] : null; $this->container['tax_components'] = isset($data['tax_components']) ? $data['tax_components'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['report_tax_type'] = isset($data['report_tax_type']) ? $data['report_tax_type'] : null; $this->container['can_apply_to_assets'] = isset($data['can_apply_to_assets']) ? $data['can_apply_to_assets'] : null; $this->container['can_apply_to_equity'] = isset($data['can_apply_to_equity']) ? $data['can_apply_to_equity'] : null; $this->container['can_apply_to_expenses'] = isset($data['can_apply_to_expenses']) ? $data['can_apply_to_expenses'] : null; $this->container['can_apply_to_liabilities'] = isset($data['can_apply_to_liabilities']) ? $data['can_apply_to_liabilities'] : null; $this->container['can_apply_to_revenue'] = isset($data['can_apply_to_revenue']) ? $data['can_apply_to_revenue'] : null; $this->container['display_tax_rate'] = isset($data['display_tax_rate']) ? $data['display_tax_rate'] : null; $this->container['effective_rate'] = isset($data['effective_rate']) ? $data['effective_rate'] : null; } /** * Show all the invalid properties with reasons. * * @return array invalid properties with reasons */ public function listInvalidProperties() { $invalidProperties = []; $allowedValues = $this->getStatusAllowableValues(); if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'status', must be one of '%s'", implode("', '", $allowedValues) ); } if ($this->container['report_tax_type'] === null) { $invalidProperties[] = "'report_tax_type' can't be null"; } $allowedValues = $this->getReportTaxTypeAllowableValues(); if (!is_null($this->container['report_tax_type']) && !in_array($this->container['report_tax_type'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'report_tax_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 name * * @return string|null */ public function getName() { return $this->container['name']; } /** * Sets name * * @param string|null $name Name of tax rate * * @return $this */ public function setName($name) { $this->container['name'] = $name; return $this; } /** * Gets tax_type * * @return string|null */ public function getTaxType() { return $this->container['tax_type']; } /** * Sets tax_type * * @param string|null $tax_type The tax type * * @return $this */ public function setTaxType($tax_type) { $this->container['tax_type'] = $tax_type; return $this; } /** * Gets tax_components * * @return \XeroAPI\XeroPHP\Models\Accounting\TaxComponent[]|null */ public function getTaxComponents() { return $this->container['tax_components']; } /** * Sets tax_components * * @param \XeroAPI\XeroPHP\Models\Accounting\TaxComponent[]|null $tax_components See TaxComponents * * @return $this */ public function setTaxComponents($tax_components) { $this->container['tax_components'] = $tax_components; return $this; } /** * Gets status * * @return string|null */ public function getStatus() { return $this->container['status']; } /** * Sets status * * @param string|null $status See Status Codes * * @return $this */ public function setStatus($status) { $allowedValues = $this->getStatusAllowableValues(); if (!is_null($status) && !in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( sprintf( "Invalid value for 'status', must be one of '%s'", implode("', '", $allowedValues) ) ); } $this->container['status'] = $status; return $this; } /** * Gets report_tax_type * * @return string */ public function getReportTaxType() { return $this->container['report_tax_type']; } /** * Sets report_tax_type * * @param string $report_tax_type See ReportTaxTypes * * @return $this */ public function setReportTaxType($report_tax_type) { $allowedValues = $this->getReportTaxTypeAllowableValues(); if (!in_array($report_tax_type, $allowedValues, true)) { throw new \InvalidArgumentException( sprintf( "Invalid value for 'report_tax_type', must be one of '%s'", implode("', '", $allowedValues) ) ); } $this->container['report_tax_type'] = $report_tax_type; return $this; } /** * Gets can_apply_to_assets * * @return bool|null */ public function getCanApplyToAssets() { return $this->container['can_apply_to_assets']; } /** * Sets can_apply_to_assets * * @param bool|null $can_apply_to_assets Boolean to describe if tax rate can be used for asset accounts i.e. true,false * * @return $this */ public function setCanApplyToAssets($can_apply_to_assets) { $this->container['can_apply_to_assets'] = $can_apply_to_assets; return $this; } /** * Gets can_apply_to_equity * * @return bool|null */ public function getCanApplyToEquity() { return $this->container['can_apply_to_equity']; } /** * Sets can_apply_to_equity * * @param bool|null $can_apply_to_equity Boolean to describe if tax rate can be used for equity accounts i.e true,false * * @return $this */ public function setCanApplyToEquity($can_apply_to_equity) { $this->container['can_apply_to_equity'] = $can_apply_to_equity; return $this; } /** * Gets can_apply_to_expenses * * @return bool|null */ public function getCanApplyToExpenses() { return $this->container['can_apply_to_expenses']; } /** * Sets can_apply_to_expenses * * @param bool|null $can_apply_to_expenses Boolean to describe if tax rate can be used for expense accounts i.e. true,false * * @return $this */ public function setCanApplyToExpenses($can_apply_to_expenses) { $this->container['can_apply_to_expenses'] = $can_apply_to_expenses; return $this; } /** * Gets can_apply_to_liabilities * * @return bool|null */ public function getCanApplyToLiabilities() { return $this->container['can_apply_to_liabilities']; } /** * Sets can_apply_to_liabilities * * @param bool|null $can_apply_to_liabilities Boolean to describe if tax rate can be used for liability accounts i.e. true,false * * @return $this */ public function setCanApplyToLiabilities($can_apply_to_liabilities) { $this->container['can_apply_to_liabilities'] = $can_apply_to_liabilities; return $this; } /** * Gets can_apply_to_revenue * * @return bool|null */ public function getCanApplyToRevenue() { return $this->container['can_apply_to_revenue']; } /** * Sets can_apply_to_revenue * * @param bool|null $can_apply_to_revenue Boolean to describe if tax rate can be used for revenue accounts i.e. true,false * * @return $this */ public function setCanApplyToRevenue($can_apply_to_revenue) { $this->container['can_apply_to_revenue'] = $can_apply_to_revenue; return $this; } /** * Gets display_tax_rate * * @return double|null */ public function getDisplayTaxRate() { return $this->container['display_tax_rate']; } /** * Sets display_tax_rate * * @param double|null $display_tax_rate Tax Rate (decimal to 4dp) e.g 12.5000 * * @return $this */ public function setDisplayTaxRate($display_tax_rate) { $this->container['display_tax_rate'] = $display_tax_rate; return $this; } /** * Gets effective_rate * * @return double|null */ public function getEffectiveRate() { return $this->container['effective_rate']; } /** * Sets effective_rate * * @param double|null $effective_rate Effective Tax Rate (decimal to 4dp) e.g 12.5000 * * @return $this */ public function setEffectiveRate($effective_rate) { $this->container['effective_rate'] = $effective_rate; 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 ); } }
Save
cmd:
run