-
Notifications
You must be signed in to change notification settings - Fork 1
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 #36 from pagarme/CodeGen-PHP
Code gen php
- Loading branch information
Showing
77 changed files
with
5,679 additions
and
430 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
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
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,56 @@ | ||
|
||
# Create Managing Partner Request | ||
|
||
Managing Partner Request | ||
|
||
## Structure | ||
|
||
`CreateManagingPartnerRequest` | ||
|
||
## Fields | ||
|
||
| Name | Type | Tags | Description | Getter | Setter | | ||
| --- | --- | --- | --- | --- | --- | | ||
| `name` | `string` | Required | - | getName(): string | setName(string name): void | | ||
| `email` | `string` | Required | - | getEmail(): string | setEmail(string email): void | | ||
| `document` | `string` | Required | - | getDocument(): string | setDocument(string document): void | | ||
| `motherName` | `string` | Required | - | getMotherName(): string | setMotherName(string motherName): void | | ||
| `birthdate` | `string` | Required | - | getBirthdate(): string | setBirthdate(string birthdate): void | | ||
| `monthlyIncome` | `int` | Required | - | getMonthlyIncome(): int | setMonthlyIncome(int monthlyIncome): void | | ||
| `professionalOccupation` | `string` | Required | - | getProfessionalOccupation(): string | setProfessionalOccupation(string professionalOccupation): void | | ||
| `selfDeclaredLegalRepresentative` | `bool` | Required | - | getSelfDeclaredLegalRepresentative(): bool | setSelfDeclaredLegalRepresentative(bool selfDeclaredLegalRepresentative): void | | ||
| `address` | [`CreateRegisterInformationAddressRequest`](../../doc/models/create-register-information-address-request.md) | Required | - | getAddress(): CreateRegisterInformationAddressRequest | setAddress(CreateRegisterInformationAddressRequest address): void | | ||
| `phoneNumbers` | [`CreateRegisterInformationPhoneRequest[]`](../../doc/models/create-register-information-phone-request.md) | Required | - | getPhoneNumbers(): array | setPhoneNumbers(array phoneNumbers): void | | ||
|
||
## Example (as JSON) | ||
|
||
```json | ||
{ | ||
"name": "name4", | ||
"email": "email2", | ||
"document": "document2", | ||
"mother_name": "mother_name0", | ||
"birthdate": "birthdate8", | ||
"monthly_income": 70, | ||
"professional_occupation": "professional_occupation8", | ||
"self_declared_legal_representative": false, | ||
"address": { | ||
"street": "street6", | ||
"complementary": "complementary8", | ||
"street_number": "street_number6", | ||
"neighborhood": "neighborhood2", | ||
"city": "city6", | ||
"state": "state2", | ||
"zip_code": "zip_code0", | ||
"reference_point": "reference_point0" | ||
}, | ||
"phone_numbers": [ | ||
{ | ||
"ddd": "ddd4", | ||
"number": "number2", | ||
"type": "type0" | ||
} | ||
] | ||
} | ||
``` | ||
|
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,37 @@ | ||
|
||
# Create Register Information Address Request | ||
|
||
Register Information Address | ||
|
||
## Structure | ||
|
||
`CreateRegisterInformationAddressRequest` | ||
|
||
## Fields | ||
|
||
| Name | Type | Tags | Description | Getter | Setter | | ||
| --- | --- | --- | --- | --- | --- | | ||
| `street` | `string` | Required | - | getStreet(): string | setStreet(string street): void | | ||
| `complementary` | `string` | Required | - | getComplementary(): string | setComplementary(string complementary): void | | ||
| `streetNumber` | `string` | Required | - | getStreetNumber(): string | setStreetNumber(string streetNumber): void | | ||
| `neighborhood` | `string` | Required | - | getNeighborhood(): string | setNeighborhood(string neighborhood): void | | ||
| `city` | `string` | Required | - | getCity(): string | setCity(string city): void | | ||
| `state` | `string` | Required | - | getState(): string | setState(string state): void | | ||
| `zipCode` | `string` | Required | - | getZipCode(): string | setZipCode(string zipCode): void | | ||
| `referencePoint` | `string` | Required | - | getReferencePoint(): string | setReferencePoint(string referencePoint): void | | ||
|
||
## Example (as JSON) | ||
|
||
```json | ||
{ | ||
"street": "street8", | ||
"complementary": "complementary0", | ||
"street_number": "street_number8", | ||
"neighborhood": "neighborhood4", | ||
"city": "city8", | ||
"state": "state4", | ||
"zip_code": "zip_code2", | ||
"reference_point": "reference_point2" | ||
} | ||
``` | ||
|
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,37 @@ | ||
|
||
# Create Register Information Base Request | ||
|
||
Request object for RegisterInformation. | ||
|
||
## Structure | ||
|
||
`CreateRegisterInformationBaseRequest` | ||
|
||
## Fields | ||
|
||
| Name | Type | Tags | Description | Getter | Setter | | ||
| --- | --- | --- | --- | --- | --- | | ||
| `email` | `string` | Required | - | getEmail(): string | setEmail(string email): void | | ||
| `document` | `string` | Required | - | getDocument(): string | setDocument(string document): void | | ||
| `type` | `string` | Required | "individual" ou "corporation" | getType(): string | setType(string type): void | | ||
| `siteUrl` | `?string` | Optional | - | getSiteUrl(): ?string | setSiteUrl(?string siteUrl): void | | ||
| `phoneNumbers` | [`CreateRegisterInformationPhoneRequest[]`](../../doc/models/create-register-information-phone-request.md) | Required | - | getPhoneNumbers(): array | setPhoneNumbers(array phoneNumbers): void | | ||
|
||
## Example (as JSON) | ||
|
||
```json | ||
{ | ||
"email": "email4", | ||
"document": "document6", | ||
"type": "type8", | ||
"phone_numbers": [ | ||
{ | ||
"ddd": "ddd4", | ||
"number": "number2", | ||
"type": "type0" | ||
} | ||
], | ||
"site_url": "site_url4" | ||
} | ||
``` | ||
|
Oops, something went wrong.