Skip to content

Commit d65ca0d

Browse files
committed
adds finance api to configuration.php
1 parent 20afaee commit d65ca0d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

lib/Configuration.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ class Configuration
7575
*/
7676
protected $password = '';
7777

78+
/**
79+
* The host
80+
*
81+
* @var string
82+
*/
83+
protected $host = 'https://api.xero.com/finance.xro/1.0';
84+
7885
/**
7986
* The hostFinance
8087
*
@@ -325,6 +332,29 @@ public function getHost()
325332
return $this->host;
326333
}
327334

335+
/**
336+
* Sets the hostFinance
337+
*
338+
* @param string $hostFinance
339+
*
340+
* @return $this
341+
*/
342+
public function setHostFinance($hostFinance)
343+
{
344+
$this->hostFinance = $hostFinance;
345+
return $this;
346+
}
347+
348+
/**
349+
* Gets the hostFinance
350+
*
351+
* @return string hostFinance
352+
*/
353+
public function getHostFinance()
354+
{
355+
return $this->hostFinance;
356+
}
357+
328358
/**
329359
* Sets the hostAppStore
330360
*

0 commit comments

Comments
 (0)