C# 클래스 Recurly.Transaction

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

공개 메소드들

메소드 설명
Create ( ) : void

Creates an invoice, charge, and optionally account

Equals ( Transaction transaction ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetInvoice ( ) : Invoice
InvoiceNumberWithPrefix ( ) : string
Refund ( int refund = null ) : void

Refunds a transaction

ToString ( ) : string
Transaction ( Account account, int amountInCents, string currency ) : System

Creates a new transaction

Transaction ( string accountCode, int amountInCents, string currency ) : System

Creates a new transaction

비공개 메소드들

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

메소드 상세

Create() 공개 메소드

Creates an invoice, charge, and optionally account
public Create ( ) : void
리턴 void

Equals() 공개 메소드

public Equals ( Transaction transaction ) : bool
transaction Transaction
리턴 bool

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetInvoice() 공개 메소드

public GetInvoice ( ) : Invoice
리턴 Invoice

InvoiceNumberWithPrefix() 공개 메소드

public InvoiceNumberWithPrefix ( ) : string
리턴 string

Refund() 공개 메소드

Refunds a transaction
public Refund ( int refund = null ) : void
refund int If present, the amount to refund. Otherwise it is a full refund.
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Transaction() 공개 메소드

Creates a new transaction
public Transaction ( Account account, int amountInCents, string currency ) : System
account Account
amountInCents int
currency string
리턴 System

Transaction() 공개 메소드

Creates a new transaction
public Transaction ( string accountCode, int amountInCents, string currency ) : System
accountCode string
amountInCents int
currency string
리턴 System