InvoiceInformation
in package
Class InvoiceInformation
Tags
Table of Contents
- $currency : CurrencyCode
- $customerId : int
- $customerStatusInformation : CustomerStatusInformation
- $invoiceDate : DateTime
- $invoiceNumber : string
- $orderId : int
- $orderPurchaseDate : DateTime
- $paymentAddress : AddressBlockInterface
- $paymentType : OrderPaymentType
- $shippingAddress : AddressBlockInterface
- $totalSum : float
- __construct() : mixed
- InvoiceInformation constructor.
- getCurrency() : CurrencyCode
- Currency Getter
- getCustomerId() : int
- Customer ID Getter
- getCustomerStatusInformation() : CustomerStatusInformation
- Customer Status Information Getter
- getInvoiceDate() : DateTime
- Invoice Date Getter
- getInvoiceNumber() : string
- Invoice Number Getter
- getOrderId() : int
- Order ID Getter
- getOrderPurchaseDate() : DateTime
- Order Purchase Date Getter
- getPaymentAddress() : AddressBlockInterface
- Payment Address Getter
- getPaymentType() : OrderPaymentType
- Get Payment Type Getter
- getShippingAddress() : AddressBlockInterface
- Shipping Address Getter
- getTotalSum() : float
- Total Sum Getter
Properties
$currency
protected
CurrencyCode
$currency
$customerId
protected
int
$customerId
$customerStatusInformation
protected
CustomerStatusInformation
$customerStatusInformation
$invoiceDate
protected
DateTime
$invoiceDate
$invoiceNumber
protected
string
$invoiceNumber
$orderId
protected
int
$orderId
$orderPurchaseDate
protected
DateTime
$orderPurchaseDate
$paymentAddress
protected
AddressBlockInterface
$paymentAddress
$paymentType
protected
OrderPaymentType
$paymentType
$shippingAddress
protected
AddressBlockInterface
$shippingAddress
$totalSum
protected
float
$totalSum
Methods
__construct()
InvoiceInformation constructor.
public
__construct(StringType $invoiceNumber, DateTime $invoiceDate, CurrencyCode $currency, DecimalType $totalSum, IdType $customerId, CustomerStatusInformation $customerStatusInformation, AddressBlockInterface $paymentAddress, AddressBlockInterface $shippingAddress, IdType $orderId, DateTime $orderPurchaseDate, OrderPaymentType $paymentType) : mixed
Parameters
- $invoiceNumber : StringType
- $invoiceDate : DateTime
- $currency : CurrencyCode
- $totalSum : DecimalType
- $customerId : IdType
- $customerStatusInformation : CustomerStatusInformation
- $paymentAddress : AddressBlockInterface
- $shippingAddress : AddressBlockInterface
- $orderId : IdType
- $orderPurchaseDate : DateTime
- $paymentType : OrderPaymentType
Return values
mixed —getCurrency()
Currency Getter
public
getCurrency() : CurrencyCode
Return values
CurrencyCode —getCustomerId()
Customer ID Getter
public
getCustomerId() : int
Return values
int —getCustomerStatusInformation()
Customer Status Information Getter
public
getCustomerStatusInformation() : CustomerStatusInformation
Return values
CustomerStatusInformation —getInvoiceDate()
Invoice Date Getter
public
getInvoiceDate() : DateTime
Return values
DateTime —getInvoiceNumber()
Invoice Number Getter
public
getInvoiceNumber() : string
Return values
string —getOrderId()
Order ID Getter
public
getOrderId() : int
Return values
int —getOrderPurchaseDate()
Order Purchase Date Getter
public
getOrderPurchaseDate() : DateTime
Return values
DateTime —getPaymentAddress()
Payment Address Getter
public
getPaymentAddress() : AddressBlockInterface
Return values
AddressBlockInterface —getPaymentType()
Get Payment Type Getter
public
getPaymentType() : OrderPaymentType
Return values
OrderPaymentType —getShippingAddress()
Shipping Address Getter
public
getShippingAddress() : AddressBlockInterface
Return values
AddressBlockInterface —getTotalSum()
Total Sum Getter
public
getTotalSum() : float