PHP Класс Recurly_Invoice, recurly-client-php

Наследование: extends Recurly_Resource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
get ( $invoiceNumber, $client = null ) : Recurly_Invoice Lookup an invoice by its ID
getInvoicePdf ( $invoiceNumber, $locale = null, $client = null ) Retrieve the PDF version of an invoice
getPdf ( $locale = null ) Retrieve the PDF version of this invoice
invoiceNumberWithPrefix ( )
invoicePendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice Creates an invoice for an account using its pending charges
markFailed ( )
markSuccessful ( )
previewPendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice Previews an invoice for an account using its pending charges
refund ( $line_items, $refund_apply_order = 'credit' ) : Recurly_Invoice Refunds given line items from an invoice and returns new refund invoice
refundAmount ( $amount_in_cents, $refund_apply_order = 'credit' ) : Recurly_Invoice Refunds an open amount from the invoice and returns a new refund invoice

Защищенные методы

Метод Описание
createRefundInvoice ( $xml_string )
getNodeName ( )
getWriteableAttributes ( )
uri ( )
uriForInvoice ( $invoiceNumber )

Описание методов

createRefundInvoice() защищенный Метод

protected createRefundInvoice ( $xml_string )

get() публичный статический Метод

Lookup an invoice by its ID
public static get ( $invoiceNumber, $client = null ) : Recurly_Invoice
Результат Recurly_Invoice invoice

getInvoicePdf() публичный статический Метод

Retrieve the PDF version of an invoice
public static getInvoicePdf ( $invoiceNumber, $locale = null, $client = null )

getNodeName() защищенный Метод

protected getNodeName ( )

getPdf() публичный Метод

Retrieve the PDF version of this invoice
public getPdf ( $locale = null )

getWriteableAttributes() защищенный Метод

protected getWriteableAttributes ( )

invoiceNumberWithPrefix() публичный Метод

invoicePendingCharges() публичный статический Метод

Creates an invoice for an account using its pending charges
public static invoicePendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice
Результат Recurly_Invoice invoice on success

markFailed() публичный Метод

public markFailed ( )

markSuccessful() публичный Метод

public markSuccessful ( )

previewPendingCharges() публичный статический Метод

Previews an invoice for an account using its pending charges
public static previewPendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice
Результат Recurly_Invoice invoice on success

refund() публичный Метод

Refunds given line items from an invoice and returns new refund invoice
public refund ( $line_items, $refund_apply_order = 'credit' ) : Recurly_Invoice
Результат Recurly_Invoice a new refund invoice

refundAmount() публичный Метод

Refunds an open amount from the invoice and returns a new refund invoice
public refundAmount ( $amount_in_cents, $refund_apply_order = 'credit' ) : Recurly_Invoice
Результат Recurly_Invoice a new refund invoice

uri() защищенный Метод

protected uri ( )

uriForInvoice() защищенный статический Метод

protected static uriForInvoice ( $invoiceNumber )