InvoiceInformation

Class InvoiceInformation

category

System

package

Invoice

subpackage

ValueObjects

Methods

InvoiceInformation constructor.

__construct(\StringType $invoiceNumber, \DateTime $invoiceDate, \CurrencyCode $currency, \DecimalType $totalSum, \IdType $customerId, \CustomerStatusInformation $customerStatusInformation, \AddressBlockInterface $paymentAddress, \AddressBlockInterface $shippingAddress, \IdType $orderId, \DateTime $orderPurchaseDate, \OrderPaymentType $paymentType) 

Arguments

$invoiceNumber

\StringType

$invoiceDate

\DateTime

$currency

\CurrencyCode

$totalSum

\DecimalType

$customerId

\IdType

$customerStatusInformation

\CustomerStatusInformation

$paymentAddress

\AddressBlockInterface

$shippingAddress

\AddressBlockInterface

$orderId

\IdType

$orderPurchaseDate

\DateTime

$paymentType

\OrderPaymentType

Currency Getter

getCurrency() : \CurrencyCode

Response

\CurrencyCode

Customer ID Getter

getCustomerId() : integer

Response

integer

Customer Status Information Getter

getCustomerStatusInformation() : \CustomerStatusInformation

Invoice Date Getter

getInvoiceDate() : \DateTime

Response

\DateTime

Invoice Number Getter

getInvoiceNumber() : string

Response

string

Order ID Getter

getOrderId() : integer

Response

integer

Order Purchase Date Getter

getOrderPurchaseDate() : \DateTime

Response

\DateTime

Payment Address Getter

getPaymentAddress() : \AddressBlockInterface

Get Payment Type Getter

getPaymentType() : \OrderPaymentType

Shipping Address Getter

getShippingAddress() : \AddressBlockInterface

Total Sum Getter

getTotalSum() : double

Response

double

Properties

invoiceNumber

invoiceNumber : string
var

Type(s)

string

invoiceDate

invoiceDate : \DateTime
var

Type(s)

\DateTime

currency

currency : \CurrencyCode
var

Type(s)

\CurrencyCode

totalSum

totalSum : double
var

Type(s)

double

customerId

customerId : integer
var

Type(s)

integer

customerStatusInformation

customerStatusInformation : \CustomerStatusInformation

paymentAddress

paymentAddress : \AddressBlockInterface

shippingAddress

shippingAddress : \AddressBlockInterface

orderId

orderId : integer
var

Type(s)

integer

orderPurchaseDate

orderPurchaseDate : \DateTime
var

Type(s)

\DateTime

paymentType

paymentType : \OrderPaymentType
var

Type(s)

\OrderPaymentType