PHP Class Recurly_Invoice, recurly-client-php

Inheritance: extends Recurly_Resource
Afficher le fichier Open project: recurly/recurly-client-php Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
createRefundInvoice ( $xml_string )
getNodeName ( )
getWriteableAttributes ( )
uri ( )
uriForInvoice ( $invoiceNumber )

Method Details

createRefundInvoice() protected méthode

protected createRefundInvoice ( $xml_string )

get() public static méthode

Lookup an invoice by its ID
public static get ( $invoiceNumber, $client = null ) : Recurly_Invoice
Résultat Recurly_Invoice invoice

getInvoicePdf() public static méthode

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

getNodeName() protected méthode

protected getNodeName ( )

getPdf() public méthode

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

getWriteableAttributes() protected méthode

protected getWriteableAttributes ( )

invoiceNumberWithPrefix() public méthode

invoicePendingCharges() public static méthode

Creates an invoice for an account using its pending charges
public static invoicePendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice
Résultat Recurly_Invoice invoice on success

markFailed() public méthode

public markFailed ( )

markSuccessful() public méthode

public markSuccessful ( )

previewPendingCharges() public static méthode

Previews an invoice for an account using its pending charges
public static previewPendingCharges ( $accountCode, $attributes = [], $client = null ) : Recurly_Invoice
Résultat Recurly_Invoice invoice on success

refund() public méthode

Refunds given line items from an invoice and returns new refund invoice
public refund ( $line_items, $refund_apply_order = 'credit' ) : Recurly_Invoice
Résultat Recurly_Invoice a new refund invoice

refundAmount() public méthode

Refunds an open amount from the invoice and returns a new refund invoice
public refundAmount ( $amount_in_cents, $refund_apply_order = 'credit' ) : Recurly_Invoice
Résultat Recurly_Invoice a new refund invoice

uri() protected méthode

protected uri ( )

uriForInvoice() protected static méthode

protected static uriForInvoice ( $invoiceNumber )