-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #492 from recurly/v3-v2019-10-10
Tue Apr 14 20:57:43 UTC 2020 Upgrade API version v2019-10-10
- Loading branch information
Showing
5 changed files
with
4,098 additions
and
3,732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?php | ||
/** | ||
* This file is automatically created by Recurly's OpenAPI generation process | ||
* and thus any edits you make by hand will be lost. If you wish to make a | ||
* change to this file, please create a Github issue explaining the changes you | ||
* need and we will usher them to the appropriate places. | ||
*/ | ||
namespace Recurly\Resources; | ||
|
||
use Recurly\RecurlyResource; | ||
|
||
// phpcs:disable | ||
class SubscriptionAddOnTier extends RecurlyResource | ||
{ | ||
private $_ending_quantity; | ||
private $_unit_amount; | ||
|
||
protected static $array_hints = array( | ||
); | ||
|
||
|
||
/** | ||
* Getter method for the ending_quantity attribute. | ||
* Ending quantity | ||
* | ||
* @return int | ||
*/ | ||
public function getEndingQuantity(): int | ||
{ | ||
return $this->_ending_quantity; | ||
} | ||
|
||
/** | ||
* Setter method for the ending_quantity attribute. | ||
* | ||
* @param int $ending_quantity | ||
* | ||
* @return void | ||
*/ | ||
public function setEndingQuantity(int $ending_quantity): void | ||
{ | ||
$this->_ending_quantity = $ending_quantity; | ||
} | ||
|
||
/** | ||
* Getter method for the unit_amount attribute. | ||
* Unit amount | ||
* | ||
* @return float | ||
*/ | ||
public function getUnitAmount(): float | ||
{ | ||
return $this->_unit_amount; | ||
} | ||
|
||
/** | ||
* Setter method for the unit_amount attribute. | ||
* | ||
* @param float $unit_amount | ||
* | ||
* @return void | ||
*/ | ||
public function setUnitAmount(float $unit_amount): void | ||
{ | ||
$this->_unit_amount = $unit_amount; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?php | ||
/** | ||
* This file is automatically created by Recurly's OpenAPI generation process | ||
* and thus any edits you make by hand will be lost. If you wish to make a | ||
* change to this file, please create a Github issue explaining the changes you | ||
* need and we will usher them to the appropriate places. | ||
*/ | ||
namespace Recurly\Resources; | ||
|
||
use Recurly\RecurlyResource; | ||
|
||
// phpcs:disable | ||
class Tier extends RecurlyResource | ||
{ | ||
private $_currencies; | ||
private $_ending_quantity; | ||
|
||
protected static $array_hints = array( | ||
'setCurrencies' => '\Recurly\Resources\Pricing', | ||
); | ||
|
||
|
||
/** | ||
* Getter method for the currencies attribute. | ||
* Tier pricing | ||
* | ||
* @return array | ||
*/ | ||
public function getCurrencies(): array | ||
{ | ||
return $this->_currencies; | ||
} | ||
|
||
/** | ||
* Setter method for the currencies attribute. | ||
* | ||
* @param array $currencies | ||
* | ||
* @return void | ||
*/ | ||
public function setCurrencies(array $currencies): void | ||
{ | ||
$this->_currencies = $currencies; | ||
} | ||
|
||
/** | ||
* Getter method for the ending_quantity attribute. | ||
* Ending quantity | ||
* | ||
* @return int | ||
*/ | ||
public function getEndingQuantity(): int | ||
{ | ||
return $this->_ending_quantity; | ||
} | ||
|
||
/** | ||
* Setter method for the ending_quantity attribute. | ||
* | ||
* @param int $ending_quantity | ||
* | ||
* @return void | ||
*/ | ||
public function setEndingQuantity(int $ending_quantity): void | ||
{ | ||
$this->_ending_quantity = $ending_quantity; | ||
} | ||
} |
Oops, something went wrong.