-
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 #830 from recurly/v3-v2021-02-25-12325353567
Generated Latest Changes for v2021-02-25
- Loading branch information
Showing
6 changed files
with
694 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<?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 BusinessEntityMini extends RecurlyResource | ||
{ | ||
private $_code; | ||
private $_id; | ||
private $_name; | ||
private $_object; | ||
|
||
protected static $array_hints = [ | ||
]; | ||
|
||
|
||
/** | ||
* Getter method for the code attribute. | ||
* The entity code of the business entity. | ||
* | ||
* @return ?string | ||
*/ | ||
public function getCode(): ?string | ||
{ | ||
return $this->_code; | ||
} | ||
|
||
/** | ||
* Setter method for the code attribute. | ||
* | ||
* @param string $code | ||
* | ||
* @return void | ||
*/ | ||
public function setCode(string $code): void | ||
{ | ||
$this->_code = $code; | ||
} | ||
|
||
/** | ||
* Getter method for the id attribute. | ||
* Business entity ID | ||
* | ||
* @return ?string | ||
*/ | ||
public function getId(): ?string | ||
{ | ||
return $this->_id; | ||
} | ||
|
||
/** | ||
* Setter method for the id attribute. | ||
* | ||
* @param string $id | ||
* | ||
* @return void | ||
*/ | ||
public function setId(string $id): void | ||
{ | ||
$this->_id = $id; | ||
} | ||
|
||
/** | ||
* Getter method for the name attribute. | ||
* This name describes your business entity and will appear on the invoice. | ||
* | ||
* @return ?string | ||
*/ | ||
public function getName(): ?string | ||
{ | ||
return $this->_name; | ||
} | ||
|
||
/** | ||
* Setter method for the name attribute. | ||
* | ||
* @param string $name | ||
* | ||
* @return void | ||
*/ | ||
public function setName(string $name): void | ||
{ | ||
$this->_name = $name; | ||
} | ||
|
||
/** | ||
* Getter method for the object attribute. | ||
* Object type | ||
* | ||
* @return ?string | ||
*/ | ||
public function getObject(): ?string | ||
{ | ||
return $this->_object; | ||
} | ||
|
||
/** | ||
* Setter method for the object attribute. | ||
* | ||
* @param string $object | ||
* | ||
* @return void | ||
*/ | ||
public function setObject(string $object): void | ||
{ | ||
$this->_object = $object; | ||
} | ||
} |
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
Oops, something went wrong.