PHP Interface Sonata\Component\Customer\AddressInterface

Afficher le fichier Open project: sonata-project/ecommerce Interface Usage Examples

Méthodes publiques

Méthode Description
getAddress1 ( ) : string
getAddress2 ( ) : string
getAddress3 ( ) : string
getCity ( ) : string
getCountryCode ( ) : string
getCurrent ( ) : boolean
getCustomer ( ) : Sonata\Component\Customer\CustomerInterface Gets address' customer.
getFirstname ( ) : string
getFullAddressHtml ( ) : string Returns the HTML string representation of the address.
getId ( )
getLastname ( ) : string
getName ( ) : string
getPhone ( ) : string
getPostcode ( ) : string
getType ( ) : integer
setCurrent ( boolean $current ) Sets if this address is the current.
setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) Sets address' customer.

Method Details

getAddress1() public méthode

public getAddress1 ( ) : string
Résultat string return the address (line 1)

getAddress2() public méthode

public getAddress2 ( ) : string
Résultat string return the address (line 2)

getAddress3() public méthode

public getAddress3 ( ) : string
Résultat string return the address (line 3)

getCity() public méthode

public getCity ( ) : string
Résultat string return the city

getCountryCode() public méthode

public getCountryCode ( ) : string
Résultat string return the ISO country code

getCurrent() public méthode

public getCurrent ( ) : boolean
Résultat boolean Is it the current address?

getCustomer() public méthode

Gets address' customer.
public getCustomer ( ) : Sonata\Component\Customer\CustomerInterface
Résultat Sonata\Component\Customer\CustomerInterface

getFirstname() public méthode

public getFirstname ( ) : string
Résultat string return the address firstname

getFullAddressHtml() public méthode

Returns the HTML string representation of the address.
public getFullAddressHtml ( ) : string
Résultat string

getId() public méthode

public getId ( )

getLastname() public méthode

public getLastname ( ) : string
Résultat string return the address lastname

getName() public méthode

public getName ( ) : string
Résultat string return the address name

getPhone() public méthode

public getPhone ( ) : string
Résultat string return the phone number linked to the address

getPostcode() public méthode

public getPostcode ( ) : string
Résultat string return the postcode

getType() public méthode

public getType ( ) : integer
Résultat integer Address' type

setCurrent() public méthode

Sets if this address is the current.
public setCurrent ( boolean $current )
$current boolean

setCustomer() public méthode

Sets address' customer.
public setCustomer ( Sonata\Component\Customer\CustomerInterface $customer )
$customer Sonata\Component\Customer\CustomerInterface