PHP Class Bitpay\Bill

Inheritance: implements bitpay\BillInterface
Exibir arquivo Open project: bitpay/php-client

Protected Properties

Property Type Description
$address array
$archived boolean
$city string
$country string
$currency bitpay\CurrencyInterface
$email string
$items array
$name string
$phone string
$showRate string
$state string
$status string
$zip string

Public Methods

Method Description
__construct ( )
addItem ( bitpay\ItemInterface $item ) : bitpay\BillInterface
getAddress ( )
getArchived ( )
getCity ( )
getCountry ( )
getCurrency ( )
getEmail ( )
getItems ( )
getName ( )
getPhone ( )
getShowRate ( )
getState ( )
getStatus ( )
getZip ( )
setAddress ( array $address ) : bitpay\BillInterface
setArchived ( boolean $archived ) : bitpay\BillInterface
setCity ( string $city ) : bitpay\BillInterface
setCountry ( string $country ) : bitpay\BillInterface
setCurrency ( bitpay\CurrencyInterface $currency ) : bitpay\BillInterface
setEmail ( string $email ) : bitpay\BillInterface
setName ( string $name ) : bitpay\BillInterface
setPhone ( string $phone ) : bitpay\BillInterface
setShowRate ( string $showRate ) : bitpay\BillInterface
setState ( string $state ) : bitpay\BillInterface
setStatus ( string $status ) : bitpay\BillInterface
setZip ( string $zip ) : bitpay\BillInterface

Method Details

__construct() public method

public __construct ( )

addItem() public method

public addItem ( bitpay\ItemInterface $item ) : bitpay\BillInterface
$item bitpay\ItemInterface
return bitpay\BillInterface

getAddress() public method

public getAddress ( )

getArchived() public method

public getArchived ( )

getCity() public method

public getCity ( )

getCountry() public method

public getCountry ( )

getCurrency() public method

public getCurrency ( )

getEmail() public method

public getEmail ( )

getItems() public method

public getItems ( )

getName() public method

public getName ( )

getPhone() public method

public getPhone ( )

getShowRate() public method

public getShowRate ( )

getState() public method

public getState ( )

getStatus() public method

public getStatus ( )

getZip() public method

public getZip ( )

setAddress() public method

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

setArchived() public method

public setArchived ( boolean $archived ) : bitpay\BillInterface
$archived boolean
return bitpay\BillInterface

setCity() public method

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

setCountry() public method

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

setCurrency() public method

public setCurrency ( bitpay\CurrencyInterface $currency ) : bitpay\BillInterface
$currency bitpay\CurrencyInterface
return bitpay\BillInterface

setEmail() public method

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

setName() public method

public setName ( string $name ) : bitpay\BillInterface
$name string
return bitpay\BillInterface

setPhone() public method

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

setShowRate() public method

public setShowRate ( string $showRate ) : bitpay\BillInterface
$showRate string
return bitpay\BillInterface

setState() public method

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

setStatus() public method

public setStatus ( string $status ) : bitpay\BillInterface
$status string
return bitpay\BillInterface

setZip() public method

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

Property Details

$address protected_oe property

protected array $address
return array

$archived protected_oe property

protected bool $archived
return boolean

$city protected_oe property

protected string $city
return string

$country protected_oe property

protected string $country
return string

$currency protected_oe property

protected CurrencyInterface,bitpay $currency
return bitpay\CurrencyInterface

$email protected_oe property

protected string $email
return string

$items protected_oe property

protected array $items
return array

$name protected_oe property

protected string $name
return string

$phone protected_oe property

protected string $phone
return string

$showRate protected_oe property

protected string $showRate
return string

$state protected_oe property

protected string $state
return string

$status protected_oe property

protected string $status
return string

$zip protected_oe property

protected string $zip
return string