C# 클래스 Recurly.Invoice

파일 보기 프로젝트 열기: recurly/recurly-client-net 1 사용 예제들

공개 메소드들

메소드 설명
Create ( string accountCode ) : void

Post an invoice on an account using it's pending charges

Equals ( Invoice invoice ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetOriginalInvoice ( ) : Invoice
GetPdf ( string acceptLanguage = "en-US" ) : byte[]

Returns a PDF representation of an invoice

GetRedemption ( ) : CouponRedemption

Returns the active coupon redemption on this invoice

GetRedemptions ( ) : RecurlyList
Invoice ( ) : System
InvoiceNumberWithPrefix ( ) : string
MarkFailed ( ) : void

Marks an invoice as failed collection

MarkSuccessful ( ) : void

Marks an invoice as paid successfully

OriginalInvoiceNumberWithPrefix ( ) : string
Preview ( string accountCode ) : void

Preview an invoice on an account using it's pending charges

Refund ( Adjustment adjustment, bool prorate = false, int quantity, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice

If enabled, allows specific line items and/or quantities to be refunded.

Refund ( IEnumerable adjustments, bool prorate = false, int quantity, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice
RefundAmount ( int amountInCents, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice
ToString ( ) : string

비공개 메소드들

메소드 설명
Invoice ( XmlTextReader reader ) : System
ReadXml ( XmlTextReader reader ) : void
WriteXml ( XmlTextWriter xmlWriter ) : void
memberUrl ( ) : string

메소드 상세

Create() 공개 메소드

Post an invoice on an account using it's pending charges
public Create ( string accountCode ) : void
accountCode string
리턴 void

Equals() 공개 메소드

public Equals ( Invoice invoice ) : bool
invoice Invoice
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetOriginalInvoice() 공개 메소드

public GetOriginalInvoice ( ) : Invoice
리턴 Invoice

GetPdf() 공개 메소드

Returns a PDF representation of an invoice
public GetPdf ( string acceptLanguage = "en-US" ) : byte[]
acceptLanguage string Language for invoice, defaults to en-US.
리턴 byte[]

GetRedemption() 공개 메소드

Returns the active coupon redemption on this invoice
public GetRedemption ( ) : CouponRedemption
리턴 CouponRedemption

GetRedemptions() 공개 메소드

public GetRedemptions ( ) : RecurlyList
리턴 RecurlyList

Invoice() 공개 메소드

public Invoice ( ) : System
리턴 System

InvoiceNumberWithPrefix() 공개 메소드

public InvoiceNumberWithPrefix ( ) : string
리턴 string

MarkFailed() 공개 메소드

Marks an invoice as failed collection
public MarkFailed ( ) : void
리턴 void

MarkSuccessful() 공개 메소드

Marks an invoice as paid successfully
public MarkSuccessful ( ) : void
리턴 void

OriginalInvoiceNumberWithPrefix() 공개 메소드

public OriginalInvoiceNumberWithPrefix ( ) : string
리턴 string

Preview() 공개 메소드

Preview an invoice on an account using it's pending charges
public Preview ( string accountCode ) : void
accountCode string
리턴 void

Refund() 공개 메소드

If enabled, allows specific line items and/or quantities to be refunded.
public Refund ( Adjustment adjustment, bool prorate = false, int quantity, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice
adjustment Adjustment
prorate bool
quantity int
refundPriority RefundOrderPriority
리턴 Invoice

Refund() 공개 메소드

public Refund ( IEnumerable adjustments, bool prorate = false, int quantity, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice
adjustments IEnumerable
prorate bool
quantity int
refundPriority RefundOrderPriority
리턴 Invoice

RefundAmount() 공개 메소드

public RefundAmount ( int amountInCents, RefundOrderPriority refundPriority = RefundOrderPriority.Credit ) : Invoice
amountInCents int
refundPriority RefundOrderPriority
리턴 Invoice

ToString() 공개 메소드

public ToString ( ) : string
리턴 string