ContactParametersGroup
extends ParametersGroup
in package
This is the contact model parameters group class.
Table of Contents
$address | : string | |
---|---|---|
$addressAdditionalInformation | : string | |
$city | : string | |
$comment | : string | |
$company | : string | |
: string | ||
$fax | : string | |
$firstName | : string | |
$lastName | : string | |
$mobile | : string | |
$motiveId | : int | |
$nif | : string | |
$number | : string | |
$phone | : string | |
$postalCode | : string | |
$state | : string | |
$validator | : ParametersValidator | |
$vat | : string | |
setAddress() | Sets the address parameter for this parameters group. | : void |
setAddressAdditionalInformation() | Sets the address additional information parameter for this parameters group. | : void |
setCity() | Sets the city parameter for this parameters group. | : void |
setComment() | Sets the comment parameter for this parameters group. | : void |
setCompany() | Sets the company parameter for this parameters group. | : void |
setEmail() | Sets the email parameter for this parameters group. | : void |
setFax() | Sets the fax parameter for this parameters group. | : void |
setFirstName() | Sets the first name parameter for this parameters group. | : void |
setLastName() | Sets the last name parameter for this parameters group. | : void |
setMobile() | Sets the mobile parameter for this parameters group. | : void |
setMotiveId() | Sets the motiveId parameter for this parameters group. | : void |
setNif() | Sets the nif parameter for this parameters group. | : void |
setNumber() | Sets the number parameter for this parameters group. | : void |
setPhone() | Sets the phone parameter for this parameters group. | : void |
setPostalCode() | Sets the postal code parameter for this parameters group. | : void |
setState() | Sets the state parameter for this parameters group. | : void |
setVat() | Sets the vat parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : ContactParametersValidator |
Properties
$address
protected
string
$address
$addressAdditionalInformation
protected
string
$addressAdditionalInformation
$city
protected
string
$city
$comment
protected
string
$comment
$company
protected
string
$company
protected
string
$email
$fax
protected
string
$fax
$firstName
protected
string
$firstName
$lastName
protected
string
$lastName
$mobile
protected
string
$mobile
$motiveId
protected
int
$motiveId
$nif
protected
string
$nif
$number
protected
string
$number
$phone
protected
string
$phone
$postalCode
protected
string
$postalCode
$state
protected
string
$state
$validator
protected
ParametersValidator
$validator
$vat
protected
string
$vat
Methods
setAddress()
Sets the address parameter for this parameters group.
public
setAddress(string $address) : void
Parameters
- $address : string
Return values
void —setAddressAdditionalInformation()
Sets the address additional information parameter for this parameters group.
public
setAddressAdditionalInformation(string $addressAdditionalInformation) : void
Parameters
- $addressAdditionalInformation : string
Return values
void —setCity()
Sets the city parameter for this parameters group.
public
setCity(string $city) : void
Parameters
- $city : string
Return values
void —setComment()
Sets the comment parameter for this parameters group.
public
setComment(string $comment) : void
Parameters
- $comment : string
Return values
void —setCompany()
Sets the company parameter for this parameters group.
public
setCompany(string $company) : void
Parameters
- $company : string
Return values
void —setEmail()
Sets the email parameter for this parameters group.
public
setEmail(string $email) : void
Parameters
- $email : string
Return values
void —setFax()
Sets the fax parameter for this parameters group.
public
setFax(string $fax) : void
Parameters
- $fax : string
Return values
void —setFirstName()
Sets the first name parameter for this parameters group.
public
setFirstName(string $firstName) : void
Parameters
- $firstName : string
Return values
void —setLastName()
Sets the last name parameter for this parameters group.
public
setLastName(string $lastName) : void
Parameters
- $lastName : string
Return values
void —setMobile()
Sets the mobile parameter for this parameters group.
public
setMobile(string $mobile) : void
Parameters
- $mobile : string
Return values
void —setMotiveId()
Sets the motiveId parameter for this parameters group.
public
setMotiveId(int $motiveId) : void
Parameters
- $motiveId : int
Return values
void —setNif()
Sets the nif parameter for this parameters group.
public
setNif(string $nif) : void
Parameters
- $nif : string
Return values
void —setNumber()
Sets the number parameter for this parameters group.
public
setNumber(string $number) : void
Parameters
- $number : string
Return values
void —setPhone()
Sets the phone parameter for this parameters group.
public
setPhone(string $phone) : void
Parameters
- $phone : string
Return values
void —setPostalCode()
Sets the postal code parameter for this parameters group.
public
setPostalCode(string $postalCode) : void
Parameters
- $postalCode : string
Return values
void —setState()
Sets the state parameter for this parameters group.
public
setState(string $state) : void
Parameters
- $state : string
Return values
void —setVat()
Sets the vat parameter for this parameters group.
public
setVat(string $vat) : void
Parameters
- $vat : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : ContactParametersValidator