PHP 인터페이스 Sonata\Component\Customer\AddressInterface

파일 보기 프로젝트 열기: sonata-project/ecommerce 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

getAddress1() 공개 메소드

public getAddress1 ( ) : string
리턴 string return the address (line 1)

getAddress2() 공개 메소드

public getAddress2 ( ) : string
리턴 string return the address (line 2)

getAddress3() 공개 메소드

public getAddress3 ( ) : string
리턴 string return the address (line 3)

getCity() 공개 메소드

public getCity ( ) : string
리턴 string return the city

getCountryCode() 공개 메소드

public getCountryCode ( ) : string
리턴 string return the ISO country code

getCurrent() 공개 메소드

public getCurrent ( ) : boolean
리턴 boolean Is it the current address?

getCustomer() 공개 메소드

Gets address' customer.
public getCustomer ( ) : Sonata\Component\Customer\CustomerInterface
리턴 Sonata\Component\Customer\CustomerInterface

getFirstname() 공개 메소드

public getFirstname ( ) : string
리턴 string return the address firstname

getFullAddressHtml() 공개 메소드

Returns the HTML string representation of the address.
public getFullAddressHtml ( ) : string
리턴 string

getId() 공개 메소드

public getId ( )

getLastname() 공개 메소드

public getLastname ( ) : string
리턴 string return the address lastname

getName() 공개 메소드

public getName ( ) : string
리턴 string return the address name

getPhone() 공개 메소드

public getPhone ( ) : string
리턴 string return the phone number linked to the address

getPostcode() 공개 메소드

public getPostcode ( ) : string
리턴 string return the postcode

getType() 공개 메소드

public getType ( ) : integer
리턴 integer Address' type

setCurrent() 공개 메소드

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

setCustomer() 공개 메소드

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