Method | 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. |
public getAddress1 ( ) : string | ||
return | string | return the address (line 1) |
public getAddress2 ( ) : string | ||
return | string | return the address (line 2) |
public getAddress3 ( ) : string | ||
return | string | return the address (line 3) |
public getCountryCode ( ) : string | ||
return | string | return the ISO country code |
public getCurrent ( ) : boolean | ||
return | boolean | Is it the current address? |
public getCustomer ( ) : Sonata\Component\Customer\CustomerInterface | ||
return | Sonata\Component\Customer\CustomerInterface |
public getFirstname ( ) : string | ||
return | string | return the address firstname |
public getFullAddressHtml ( ) : string | ||
return | string |
public getLastname ( ) : string | ||
return | string | return the address lastname |
public setCurrent ( boolean $current ) | ||
$current | boolean |
public setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
$customer | Sonata\Component\Customer\CustomerInterface |