Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AddressBlock
  • AddressClass
  • CustomerB2BStatus
  • CustomerCallNumber
  • CustomerCity
  • CustomerCompany
  • CustomerCountryIso2
  • CustomerCountryIso3
  • CustomerCountryName
  • CustomerCountryZoneIsoCode
  • CustomerCountryZoneName
  • CustomerDateOfBirth
  • CustomerEmail
  • CustomerFirstname
  • CustomerGender
  • CustomerInputValidatorSettings
  • CustomerLastname
  • CustomerNumber
  • CustomerPassword
  • CustomerPostcode
  • CustomerServiceSettings
  • CustomerStreet
  • CustomerSuburb
  • CustomerVatNumber

Class CustomerLastname

Value Object

Class CustomerLastname

Represents a customer lastname

CustomerLastname implements CustomerLastnameInterface
Package: Customer\ValueObjects
Category: System
Implements: CustomerLastnameInterface
Located at CoreServices/Customer/ValueObjects/CustomerLastname.inc.php

Methods summary

public
# __construct( string $p_lastname )

Constructor for the class CustomerLastname.

Constructor for the class CustomerLastname.

Validates the length and the data type of the customer last name.

Parameters

$p_lastname
Customer's last name.

Throws

InvalidArgumentException
If $p_lastname is not a string.
LengthException
If $p_lastname contains more characters than 32.
public string
# __toString( )

Returns the equivalent string value.

Returns the equivalent string value.

Returns

string
Equivalent string value.

Implementation of

CustomerLastnameInterface::__toString()

Properties summary

protected string $lastname

Customer's last name.

Customer's last name.

#
API documentation generated by ApiGen