PHP 클래스 Recurly_Invoice, recurly-client-php

상속: extends Recurly_Resource
파일 보기 프로젝트 열기: recurly/recurly-client-php 1 사용 예제들

공개 메소드들

메소드 설명
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 )