interface InvoiceInterface implements ResourceInterface, RetrieveInterface, UpdateInterface, ListAllInterface, DeleteInterface

Methods

string
getId()

No description

mixed
retrieve(string $id)

No description

mixed
update(string $id, array $data)

No description

listAll(array $arguments)

No description

mixed
delete(string $id)

No description

create(CustomerInterface $customer, SubscriptionBillingTypeInterface $type, array $arguments = [], string|null $key = null)

No description

finalizeInvoice(string $invoiceid)

No description

pay(string $invoiceid)

No description

sendInvoice(string $invoiceid)

No description

voidInvoice(string $invoiceid)

No description

markUncollectible(string $invoiceid)

No description

retrieveLineItems(string $invoiceid, array $arguments = [])

No description

upcoming(CustomerInterface $customer, array $arguments = [])

No description

retrieveUpcomingLineItems(CustomerInterface $customer, array $arguments = [])

No description

Details

in Identifiable at line 7
string getId()

Return Value

string

in RetrieveInterface at line 15
mixed retrieve(string $id)

Parameters

string $id

Return Value

mixed

in UpdateInterface at line 16
mixed update(string $id, array $data)

Parameters

string $id
array $data

Return Value

mixed

in ListAllInterface at line 7
listAll(array $arguments)

Parameters

array $arguments

in DeleteInterface at line 15
mixed delete(string $id)

Parameters

string $id

Return Value

mixed

at line 14
InvoiceInterface create(CustomerInterface $customer, SubscriptionBillingTypeInterface $type, array $arguments = [], string|null $key = null)

Parameters

CustomerInterface $customer
SubscriptionBillingTypeInterface $type
array $arguments
string|null $key

Return Value

InvoiceInterface

at line 16
InvoiceInterface finalizeInvoice(string $invoiceid)

Parameters

string $invoiceid

Return Value

InvoiceInterface

at line 18
InvoiceInterface pay(string $invoiceid)

Parameters

string $invoiceid

Return Value

InvoiceInterface

at line 20
InvoiceInterface sendInvoice(string $invoiceid)

Parameters

string $invoiceid

Return Value

InvoiceInterface

at line 22
InvoiceInterface voidInvoice(string $invoiceid)

Parameters

string $invoiceid

Return Value

InvoiceInterface

at line 24
InvoiceInterface markUncollectible(string $invoiceid)

Parameters

string $invoiceid

Return Value

InvoiceInterface

at line 26
InvoiceInterface retrieveLineItems(string $invoiceid, array $arguments = [])

Parameters

string $invoiceid
array $arguments

Return Value

InvoiceInterface

at line 28
InvoiceInterface upcoming(CustomerInterface $customer, array $arguments = [])

Parameters

CustomerInterface $customer
array $arguments

Return Value

InvoiceInterface

at line 30
InvoiceInterface retrieveUpcomingLineItems(CustomerInterface $customer, array $arguments = [])

Parameters

CustomerInterface $customer
array $arguments

Return Value

InvoiceInterface