PHP 클래스 Usps\Address

파일 보기 프로젝트 열기: vinceg/usps-php-api

보호된 프로퍼티들

프로퍼티 타입 설명
$addressInfo list of all key=>value pairs we added so far for the current address

공개 메소드들

메소드 설명
getAddressInfo ( ) : array Returns a list of all the info we gathered so far in the current address object.
setAddress ( string | integer $value ) : object Set the address2 property.
setApt ( string | integer $value ) : object Set the address1 property usually the apt or suit number.
setCity ( string | integer $value ) : object Set the city property.
setField ( string | integer $key, string | integer $value ) : object Add an element to the stack.
setFirmName ( string | integer $value ) : object Set the firmname property.
setState ( string | integer $value ) : object Set the state property.
setZip4 ( string | integer $value ) : object Set the zip4 property - zip code value represented by 4 integers.
setZip5 ( string | integer $value ) : object Set the zip5 property - zip code value represented by 5 integers.

메소드 상세

getAddressInfo() 공개 메소드

Returns a list of all the info we gathered so far in the current address object.
public getAddressInfo ( ) : array
리턴 array

setAddress() 공개 메소드

Set the address2 property.
public setAddress ( string | integer $value ) : object
$value string | integer
리턴 object Address

setApt() 공개 메소드

Set the address1 property usually the apt or suit number.
public setApt ( string | integer $value ) : object
$value string | integer
리턴 object Address

setCity() 공개 메소드

Set the city property.
public setCity ( string | integer $value ) : object
$value string | integer
리턴 object Address

setField() 공개 메소드

Add an element to the stack.
public setField ( string | integer $key, string | integer $value ) : object
$key string | integer
$value string | integer
리턴 object Address

setFirmName() 공개 메소드

Set the firmname property.
public setFirmName ( string | integer $value ) : object
$value string | integer
리턴 object Address

setState() 공개 메소드

Set the state property.
public setState ( string | integer $value ) : object
$value string | integer
리턴 object Address

setZip4() 공개 메소드

Set the zip4 property - zip code value represented by 4 integers.
public setZip4 ( string | integer $value ) : object
$value string | integer
리턴 object Address

setZip5() 공개 메소드

Set the zip5 property - zip code value represented by 5 integers.
public setZip5 ( string | integer $value ) : object
$value string | integer
리턴 object Address

프로퍼티 상세

$addressInfo 보호되어 있는 프로퍼티

list of all key=>value pairs we added so far for the current address
protected $addressInfo