diff --git a/doc/models/customer.md b/doc/models/customer.md index 1a1c5e5..2d15bfc 100644 --- a/doc/models/customer.md +++ b/doc/models/customer.md @@ -13,7 +13,7 @@ | `lastName` | `?string` | Optional | The last name of the customer | getLastName(): ?string | setLastName(?string lastName): void | | `email` | `?string` | Optional | The email address of the customer | getEmail(): ?string | setEmail(?string email): void | | `ccEmails` | `?string` | Optional | A comma-separated list of emails that should be cc’d on all customer communications (i.e. “joe@example.com, sue@example.com”) | getCcEmails(): ?string | setCcEmails(?string ccEmails): void | -| `organization` | `?string` | Optional | The organization of the customer | getOrganization(): ?string | setOrganization(?string organization): void | +| `organization` | `?string` | Optional | The organization of the customer. If no value, `null` or empty string is provided, `organization` will be populated with the customer's first and last name, separated with a space. | getOrganization(): ?string | setOrganization(?string organization): void | | `reference` | `?string` | Optional | The unique identifier used within your own application for this customer | getReference(): ?string | setReference(?string reference): void | | `id` | `?int` | Optional | The customer ID in Chargify | getId(): ?int | setId(?int id): void | | `createdAt` | `?DateTime` | Optional | The timestamp in which the customer object was created in Chargify | getCreatedAt(): ?\DateTime | setCreatedAt(?\DateTime createdAt): void | diff --git a/src/Models/Customer.php b/src/Models/Customer.php index d202762..6171556 100644 --- a/src/Models/Customer.php +++ b/src/Models/Customer.php @@ -247,7 +247,8 @@ public function unsetCcEmails(): void /** * Returns Organization. - * The organization of the customer + * The organization of the customer. If no value, `null` or empty string is provided, `organization` + * will be populated with the customer's first and last name, separated with a space. */ public function getOrganization(): ?string { @@ -259,7 +260,8 @@ public function getOrganization(): ?string /** * Sets Organization. - * The organization of the customer + * The organization of the customer. If no value, `null` or empty string is provided, `organization` + * will be populated with the customer's first and last name, separated with a space. * * @maps organization */ @@ -270,7 +272,8 @@ public function setOrganization(?string $organization): void /** * Unsets Organization. - * The organization of the customer + * The organization of the customer. If no value, `null` or empty string is provided, `organization` + * will be populated with the customer's first and last name, separated with a space. */ public function unsetOrganization(): void {