PHP Class Bitpay\Invoice

Inheritance: implements bitpay\InvoiceInterface
Exibir arquivo Open project: bitpay/php-client Class Usage Examples

Protected Properties

Property Type Description
$btcPaid
$btcPrice float
$buyer BuyerInterface
$currency bitpay\CurrencyInterface
$currentTime DateTime
$exceptionStatus
$expirationTime DateTime
$fullNotifications boolean
$id string
$invoiceTime DateTime
$item bitpay\ItemInterface
$notificationEmail string
$notificationUrl string
$orderId string
$posData string
$rate
$redirectUrl string
$status string
$token
$transactionSpeed string
$url string

Public Methods

Method Description
__construct ( )
getBtcPaid ( )
getBtcPrice ( )
getBuyer ( )
getBuyerAddress1 ( )
getBuyerAddress2 ( )
getBuyerCity ( )
getBuyerCountry ( )
getBuyerEmail ( )
getBuyerName ( )
getBuyerPhone ( )
getBuyerState ( )
getBuyerZip ( )
getCurrency ( )
getCurrentTime ( )
getExceptionStatus ( )
getExpirationTime ( )
getId ( )
getInvoiceTime ( )
getItem ( )
getItemCode ( )
getItemDesc ( )
getNotificationEmail ( )
getNotificationUrl ( )
getOrderId ( )
getPosData ( )
getPrice ( )
getRate ( ) : Invoice
getRedirectUrl ( )
getStatus ( )
getToken ( ) : bitpay\TokenInterface
getTransactionSpeed ( )
getUrl ( )
isFullNotifications ( )
isPhysical ( )
setBtcPaid ( $btcPaid ) : Invoice
setBtcPrice ( float $btcPrice ) : bitpay\InvoiceInterface
setBuyer ( BuyerInterface $buyer ) : bitpay\InvoiceInterface
setCurrency ( bitpay\CurrencyInterface $currency ) : bitpay\InvoiceInterface
setCurrentTime ( DateTime $currentTime ) : bitpay\InvoiceInterface
setExceptionStatus ( $exceptionStatus ) : bitpay\InvoiceInterface
setExpirationTime ( DateTime $expirationTime )
setFullNotifications ( $notifications )
setId ( string $id ) : bitpay\InvoiceInterface
setInvoiceTime ( DateTime $invoiceTime ) : bitpay\InvoiceInterface
setItem ( bitpay\ItemInterface $item ) : bitpay\InvoiceInterface
setNotificationEmail ( string $notificationEmail ) : bitpay\InvoiceInterface
setNotificationUrl ( string $notificationUrl ) : bitpay\InvoiceInterface
setOrderId ( string $orderId ) : bitpay\InvoiceInterface
setPosData ( string $posData ) : bitpay\InvoiceInterface
setPrice ( float $price ) : bitpay\InvoiceInterface
setRate ( $rate )
setRedirectUrl ( string $redirectUrl ) : bitpay\InvoiceInterface
setStatus ( string $status ) : bitpay\InvoiceInterface
setToken ( bitpay\TokenInterface $token ) : bitpay\InvoiceInterface
setTransactionSpeed ( string $transactionSpeed ) : bitpay\InvoiceInterface
setUrl ( string $url ) : bitpay\InvoiceInterface

Method Details

__construct() public method

public __construct ( )

getBtcPaid() public method

public getBtcPaid ( )

getBtcPrice() public method

public getBtcPrice ( )

getBuyer() public method

public getBuyer ( )

getBuyerAddress1() public method

public getBuyerAddress1 ( )

getBuyerAddress2() public method

public getBuyerAddress2 ( )

getBuyerCity() public method

public getBuyerCity ( )

getBuyerCountry() public method

public getBuyerCountry ( )

getBuyerEmail() public method

public getBuyerEmail ( )

getBuyerName() public method

public getBuyerName ( )

getBuyerPhone() public method

public getBuyerPhone ( )

getBuyerState() public method

public getBuyerState ( )

getBuyerZip() public method

public getBuyerZip ( )

getCurrency() public method

public getCurrency ( )

getCurrentTime() public method

public getCurrentTime ( )

getExceptionStatus() public method

public getExceptionStatus ( )

getExpirationTime() public method

public getExpirationTime ( )

getId() public method

public getId ( )

getInvoiceTime() public method

public getInvoiceTime ( )

getItem() public method

public getItem ( )

getItemCode() public method

public getItemCode ( )

getItemDesc() public method

public getItemDesc ( )

getNotificationEmail() public method

getNotificationUrl() public method

public getNotificationUrl ( )

getOrderId() public method

public getOrderId ( )

getPosData() public method

public getPosData ( )

getPrice() public method

public getPrice ( )

getRate() public method

public getRate ( ) : Invoice
return Invoice

getRedirectUrl() public method

public getRedirectUrl ( )

getStatus() public method

public getStatus ( )

getToken() public method

public getToken ( ) : bitpay\TokenInterface
return bitpay\TokenInterface

getTransactionSpeed() public method

public getTransactionSpeed ( )

getUrl() public method

public getUrl ( )

isFullNotifications() public method

public isFullNotifications ( )

isPhysical() public method

public isPhysical ( )

setBtcPaid() public method

public setBtcPaid ( $btcPaid ) : Invoice
return Invoice

setBtcPrice() public method

public setBtcPrice ( float $btcPrice ) : bitpay\InvoiceInterface
$btcPrice float
return bitpay\InvoiceInterface

setBuyer() public method

public setBuyer ( BuyerInterface $buyer ) : bitpay\InvoiceInterface
$buyer BuyerInterface
return bitpay\InvoiceInterface

setCurrency() public method

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

setCurrentTime() public method

public setCurrentTime ( DateTime $currentTime ) : bitpay\InvoiceInterface
$currentTime DateTime
return bitpay\InvoiceInterface

setExceptionStatus() public method

public setExceptionStatus ( $exceptionStatus ) : bitpay\InvoiceInterface
return bitpay\InvoiceInterface

setExpirationTime() public method

public setExpirationTime ( DateTime $expirationTime )
$expirationTime DateTime return InvoiceInterface

setFullNotifications() public method

public setFullNotifications ( $notifications )

setId() public method

public setId ( string $id ) : bitpay\InvoiceInterface
$id string
return bitpay\InvoiceInterface

setInvoiceTime() public method

public setInvoiceTime ( DateTime $invoiceTime ) : bitpay\InvoiceInterface
$invoiceTime DateTime
return bitpay\InvoiceInterface

setItem() public method

public setItem ( bitpay\ItemInterface $item ) : bitpay\InvoiceInterface
$item bitpay\ItemInterface
return bitpay\InvoiceInterface

setNotificationEmail() public method

public setNotificationEmail ( string $notificationEmail ) : bitpay\InvoiceInterface
$notificationEmail string
return bitpay\InvoiceInterface

setNotificationUrl() public method

public setNotificationUrl ( string $notificationUrl ) : bitpay\InvoiceInterface
$notificationUrl string
return bitpay\InvoiceInterface

setOrderId() public method

public setOrderId ( string $orderId ) : bitpay\InvoiceInterface
$orderId string
return bitpay\InvoiceInterface

setPosData() public method

public setPosData ( string $posData ) : bitpay\InvoiceInterface
$posData string
return bitpay\InvoiceInterface

setPrice() public method

public setPrice ( float $price ) : bitpay\InvoiceInterface
$price float
return bitpay\InvoiceInterface

setRate() public method

public setRate ( $rate )

setRedirectUrl() public method

public setRedirectUrl ( string $redirectUrl ) : bitpay\InvoiceInterface
$redirectUrl string
return bitpay\InvoiceInterface

setStatus() public method

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

setToken() public method

public setToken ( bitpay\TokenInterface $token ) : bitpay\InvoiceInterface
$token bitpay\TokenInterface
return bitpay\InvoiceInterface

setTransactionSpeed() public method

public setTransactionSpeed ( string $transactionSpeed ) : bitpay\InvoiceInterface
$transactionSpeed string
return bitpay\InvoiceInterface

setUrl() public method

public setUrl ( string $url ) : bitpay\InvoiceInterface
$url string
return bitpay\InvoiceInterface

Property Details

$btcPaid protected_oe property

protected $btcPaid

$btcPrice protected_oe property

protected float $btcPrice
return float

$buyer protected_oe property

protected BuyerInterface $buyer
return BuyerInterface

$currency protected_oe property

protected CurrencyInterface,bitpay $currency
return bitpay\CurrencyInterface

$currentTime protected_oe property

protected DateTime $currentTime
return DateTime

$exceptionStatus protected_oe property

protected $exceptionStatus

$expirationTime protected_oe property

protected DateTime $expirationTime
return DateTime

$fullNotifications protected_oe property

protected bool $fullNotifications
return boolean

$id protected_oe property

protected string $id
return string

$invoiceTime protected_oe property

protected DateTime $invoiceTime
return DateTime

$item protected_oe property

protected ItemInterface,bitpay $item
return bitpay\ItemInterface

$notificationEmail protected_oe property

protected string $notificationEmail
return string

$notificationUrl protected_oe property

protected string $notificationUrl
return string

$orderId protected_oe property

protected string $orderId
return string

$posData protected_oe property

protected string $posData
return string

$rate protected_oe property

protected $rate

$redirectUrl protected_oe property

protected string $redirectUrl
return string

$status protected_oe property

protected string $status
return string

$token protected_oe property

protected $token

$transactionSpeed protected_oe property

protected string $transactionSpeed
return string

$url protected_oe property

protected string $url
return string