PHP Class Bitpay\User

Inheritance: implements bitpay\UserInterface
Mostra file Open project: bitpay/php-client

Protected Properties

Property Type Description
$address array
$agreedToTOSandPP boolean
$city string
$country string
$email string
$firstName string
$lastName string
$phone string
$state string
$zip string

Public Methods

Method Description
getAddress ( )
getAgreedToTOSandPP ( ) : boolean
getCity ( )
getCountry ( )
getEmail ( )
getFirstName ( )
getLastName ( )
getPhone ( )
getState ( )
getZip ( )
setAddress ( array $address ) : bitpay\UserInterface
setAgreedToTOSandPP ( boolean $boolvalue ) : User
setCity ( string $city ) : bitpay\UserInterface
setCountry ( string $country ) : bitpay\UserInterface
setEmail ( string $email ) : bitpay\UserInterface
setFirstName ( string $firstName ) : bitpay\UserInterface
setLastName ( string $lastName ) : bitpay\UserInterface
setPhone ( string $phone ) : bitpay\UserInterface
setState ( string $state ) : bitpay\UserInterface
setZip ( string $zip ) : bitpay\UserInterface

Method Details

getAddress() public method

public getAddress ( )

getAgreedToTOSandPP() public method

public getAgreedToTOSandPP ( ) : boolean
return boolean

getCity() public method

public getCity ( )

getCountry() public method

public getCountry ( )

getEmail() public method

public getEmail ( )

getFirstName() public method

public getFirstName ( )

getLastName() public method

public getLastName ( )

getPhone() public method

public getPhone ( )

getState() public method

public getState ( )

getZip() public method

public getZip ( )

setAddress() public method

public setAddress ( array $address ) : bitpay\UserInterface
$address array
return bitpay\UserInterface

setAgreedToTOSandPP() public method

public setAgreedToTOSandPP ( boolean $boolvalue ) : User
$boolvalue boolean
return User

setCity() public method

public setCity ( string $city ) : bitpay\UserInterface
$city string
return bitpay\UserInterface

setCountry() public method

public setCountry ( string $country ) : bitpay\UserInterface
$country string
return bitpay\UserInterface

setEmail() public method

public setEmail ( string $email ) : bitpay\UserInterface
$email string
return bitpay\UserInterface

setFirstName() public method

public setFirstName ( string $firstName ) : bitpay\UserInterface
$firstName string
return bitpay\UserInterface

setLastName() public method

public setLastName ( string $lastName ) : bitpay\UserInterface
$lastName string
return bitpay\UserInterface

setPhone() public method

public setPhone ( string $phone ) : bitpay\UserInterface
$phone string
return bitpay\UserInterface

setState() public method

public setState ( string $state ) : bitpay\UserInterface
$state string
return bitpay\UserInterface

setZip() public method

public setZip ( string $zip ) : bitpay\UserInterface
$zip string
return bitpay\UserInterface

Property Details

$address protected_oe property

protected array $address
return array

$agreedToTOSandPP protected_oe property

protected bool $agreedToTOSandPP
return boolean

$city protected_oe property

protected string $city
return string

$country protected_oe property

protected string $country
return string

$email protected_oe property

protected string $email
return string

$firstName protected_oe property

protected string $firstName
return string

$lastName protected_oe property

protected string $lastName
return string

$phone protected_oe property

protected string $phone
return string

$state protected_oe property

protected string $state
return string

$zip protected_oe property

protected string $zip
return string