\Ezypay\ObjectInvoice

Class Invoice

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$invoiceId
$invoiceNumber
$customerId
$subscriptionId
$invoiceDate
$status
$amount
$failedPaymentReason
$description
$statementDescription
$invoiceItems
$createdOn
N/A

Properties

$invoiceId

$invoiceId : 

Type

— string The ID of the invoice.

$invoiceNumber

$invoiceNumber : 

Type

— integer The running number of the invoice.

$customerId

$customerId : 

Type

— string The ID of the customer.

$subscriptionId

$subscriptionId : 

Type

— string The ID of the subscription.

$invoiceDate

$invoiceDate : 

Type

— string The Invoice Date

$status

$status : 

Type

— string The Current Invoice Status. Can be PENDING, PROCESSING, OVERDUE, PAID, FAILED, PENDING_REBILL, REFUNDED, REFUND_REQUESTED, REFUND_APPROVED PARTIALLY_REFUNDED, PARTIALLY_PAID, WRITTEN_OFF

$amount

$amount : 

Type

— number The Invoice Amount

$failedPaymentReason

$failedPaymentReason : 

Type

— array FailedPaymentReasonResultThe Invoice Failed Reason

$description

$description : 

Type

— string The Invoice Description

$statementDescription

$statementDescription : 

Type

— string The Invoice Statement Description

$invoiceItems

$invoiceItems : 

Type

— array [InvoiceItemResult]The items in the invoice

$createdOn

$createdOn : 

Type

— string Date record is created.

Methods

__construct()

__construct(  $data) 

Invoice constructor.

Parameters

$data