Skip to content

Commit

Permalink
Merge pull request #111 from XeroAPI/sid-development
Browse files Browse the repository at this point in the history
CurrencyCode enum bug
  • Loading branch information
SidneyAllen authored May 1, 2020
2 parents 07e32f9 + 50f7e76 commit e15c709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = '[xero-php-oauth2 (1.6.0)]';
protected $userAgent = '[xero-php-oauth2 (1.6.1)]';

/**
* Debug switch (default set to false)
Expand Down
8 changes: 4 additions & 4 deletions lib/Models/Accounting/CurrencyCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class CurrencyCode
const TMT = 'TMT';
const TND = 'TND';
const TOP = 'TOP';
const _TRY = 'TRY';
const TRY = 'TRY';
const TTD = 'TTD';
const TVD = 'TVD';
const TWD = 'TWD';
Expand All @@ -207,7 +207,7 @@ class CurrencyCode
const ZMW = 'ZMW';
const ZMK = 'ZMK';
const ZWD = 'ZWD';
const EMPTY = '';
const EMPTY_STRING = '';

/**
* Gets allowable values of the enum
Expand Down Expand Up @@ -355,7 +355,7 @@ public static function getAllowableEnumValues()
self::TMT,
self::TND,
self::TOP,
self::_TRY,
self::TRY,
self::TTD,
self::TVD,
self::TWD,
Expand All @@ -379,7 +379,7 @@ public static function getAllowableEnumValues()
self::ZMW,
self::ZMK,
self::ZWD,
self::EMPTY,
self::EMPTY_STRING,
];
}
}
Expand Down

0 comments on commit e15c709

Please sign in to comment.