C# Class Samurai.Helper

Contains some helper methods.
Afficher le fichier Open project: FeeFighters/samurai-client-dotnet

Méthodes publiques

Méthode Description
DecimalToString ( decimal value ) : string

Converts decimal to string that is acceptable by Samurai API.

StringToTransactionType ( string value ) : TransactionType

Converts string representation of transaction type into TransactionType value.

Method Details

DecimalToString() public static méthode

Converts decimal to string that is acceptable by Samurai API.
public static DecimalToString ( decimal value ) : string
value decimal String to convert.
Résultat string

StringToTransactionType() public static méthode

Converts string representation of transaction type into TransactionType value.
public static StringToTransactionType ( string value ) : TransactionType
value string String representation of transaction type.
Résultat TransactionType