C# Class Recurly.Transaction

Inheritance: Recurly.RecurlyEntity
Afficher le fichier Open project: recurly/recurly-client-net Class Usage Examples

Méthodes publiques

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

Méthode Description
ReadXml ( XmlTextReader reader ) : void
Transaction ( ) : System
Transaction ( XmlTextReader reader ) : System
WriteXml ( XmlTextWriter xmlWriter ) : void

Method Details

Create() public méthode

Creates an invoice, charge, and optionally account
public Create ( ) : void
Résultat void

Equals() public méthode

public Equals ( Transaction transaction ) : bool
transaction Transaction
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetInvoice() public méthode

public GetInvoice ( ) : Invoice
Résultat Invoice

InvoiceNumberWithPrefix() public méthode

public InvoiceNumberWithPrefix ( ) : string
Résultat string

Refund() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string

Transaction() public méthode

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

Transaction() public méthode

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