|
Maps SDK for C++ 1.0.0
|
Defines a customer. More...


Public Member Functions | |
| Customer ()=default | |
| Default constructor. | |
| Customer (const Coordinates &coordinates) | |
| Constructs a Customer object with the specified coordinates. | |
| Customer (const Customer &)=default | |
| Copy constructor. Creates a copy of an existing Customer object. | |
| Customer (Customer &&) noexcept=default | |
| Move constructor. Moves an existing Customer object to a new instance. | |
| Customer & | operator= (const Customer &)=default |
| Copy assignment operator. | |
| Customer & | operator= (Customer &&) noexcept=default |
| Move assignment operator. | |
| bool | operator== (Customer const &customer) const |
| Equality comparison operator. | |
| bool | operator!= (Customer const &customer) const |
| Inequality comparison operator. | |
| LargeInteger | getId () const noexcept |
| Retrieves the unique identifier of the customer. | |
| const CoordinatesRef | getCoordinates () const noexcept |
| Retrieves the geographical coordinates of the customer. | |
| CoordinatesRef | getCoordinates () |
| Provides direct access to modify the coordinates attached to this customer. | |
| Customer & | setCoordinates (const Coordinates &coords) noexcept |
| Sets the geographical coordinates of the customer. | |
| const StringRef | getAlias () const noexcept |
| Retrieves the alias of the customer. | |
| Customer & | setAlias (const String &alias) noexcept |
| Sets the alias of the customer. | |
| const StringRef | getFirstName () const noexcept |
| Retrieves the first name of the customer. | |
| Customer & | setFirstName (const String &firstName) noexcept |
| Sets the first name of the customer. | |
| const StringRef | getLastName () const noexcept |
| Retrieves the last name of the customer. | |
| Customer & | setLastName (const String &lastName) noexcept |
| Sets the last name of the customer. | |
| const AddressInfoRef | getAddress () const noexcept |
| Retrieves the address of the customer. | |
| Customer & | setAddress (const AddressInfo &address) noexcept |
| Sets the address of the customer. | |
| const StringRef | getEmail () const noexcept |
| Retrieves the email of the customer. | |
| Customer & | setEmail (const String &email) noexcept |
| Sets the email of the customer. | |
| const StringRef | getPhoneNumber () const noexcept |
| Retrieves the phone number of the customer. | |
| Customer & | setPhoneNumber (const String &phoneNumber) noexcept |
| Sets the phone number of the customer. | |
| const CustomDataListRef | getCustomData () const noexcept |
| Retrieves the custom data associated with the customer. | |
| Customer & | setCustomData (const CustomDataList &list) noexcept |
| Sets the custom data for the customer. | |
Defines a customer.
Implements share-read / copy-on-write Api object over ICustomer.
|
default |
Default constructor.
Initializes a new instance of the Customer class.
|
inline |
Constructs a Customer object with the specified coordinates.
| coordinates | The geographic coordinates of the customer. |
|
inlinenoexcept |
Retrieves the address of the customer.
|
inlinenoexcept |
Retrieves the alias of the customer.
An alias is an alternative name for the customer, which can be used for identification or other purposes.
|
inline |
Provides direct access to modify the coordinates attached to this customer.
|
inlinenoexcept |
Retrieves the geographical coordinates of the customer.
|
inlinenoexcept |
Retrieves the custom data associated with the customer.
Custom data allows for storing additional information about the customer that does not fit into the standard fields.
|
inlinenoexcept |
Retrieves the email of the customer.
|
inlinenoexcept |
Retrieves the first name of the customer.
|
inlinenoexcept |
Retrieves the unique identifier of the customer.
|
inlinenoexcept |
Retrieves the last name of the customer.
|
inlinenoexcept |
Retrieves the phone number of the customer.
|
inline |
Copy assignment operator.
Replaces the contents of this object with a copy of another Customer object.
Move assignment operator.
Replaces the contents of this object by moving another Customer object into this one.
|
inline |
|
inlinenoexcept |
Sets the address of the customer.
| address | An AddressInfo object representing the new address for the customer. |
Sets the alias of the customer.
| alias | A string value representing the new alias for the customer. |
|
inlinenoexcept |
Sets the geographical coordinates of the customer.
Note: Coordinates can only be set during the creation of the customer and cannot be updated later.
| coords | The new geographical coordinates for the customer. |
|
inlinenoexcept |
Sets the custom data for the customer.
This method allows for adding additional information about the customer in the form of custom data items.
| list | A CustomDataList containing the new custom data items to be associated with the customer. |
Sets the email of the customer.
| A string value representing the new email for the customer. |
Sets the first name of the customer.
| firstName | A string value representing the new first name for the customer. |
Sets the last name of the customer.
| lastName | A string value representing the new last name for the customer. |