C# Class Recurly.Transaction

Inheritance: Recurly.RecurlyEntity
Datei anzeigen Open project: recurly/recurly-client-net Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
ReadXml ( XmlTextReader reader ) : void
Transaction ( ) : System
Transaction ( XmlTextReader reader ) : System
WriteXml ( XmlTextWriter xmlWriter ) : void

Method Details

Create() public method

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

Equals() public method

public Equals ( Transaction transaction ) : bool
transaction Transaction
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInvoice() public method

public GetInvoice ( ) : Invoice
return Invoice

InvoiceNumberWithPrefix() public method

public InvoiceNumberWithPrefix ( ) : string
return string

Refund() public method

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

ToString() public method

public ToString ( ) : string
return string

Transaction() public method

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

Transaction() public method

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