C# Class MimoAPI.MimoRestClient

Show file Open project: paywithmimo/mimo-dotnet

Public Properties

Property Type Description
apiKey string
apiSecret string
mode string
redirectUri string
sAccessToken string
sAccountType string
sAccountnumber string
sApiUrl string
sCompanyName string
sEmail string
sExpiresIn string
sFirstName string
sLevel string
sMessage string
sMiddleName string
sPhotoUrl string
sSurname string
sUserApiUrl string
sUsername string
sid string
stransaction_id string

Public Methods

Method Description
GetAccessCode ( ) : void

Get the Access Code from MIMO site for Current Client ID

Refund ( string amount, string note, string transaction_id ) : string

Grab information for the given transaction ID

SetAPIURL ( ) : void
cancelTransaction ( string transaction_id ) : string

Grab information for the given transaction ID

getUser ( string sSearchField, string sValue ) : string

Grabs the basic account information for the provided Mimo user search parameter

newRegistration ( string username, string account_type, string email, string password, string pin, string first_name, string middle_name, string surname, string dob, string gender, string about, string address_type, string address, string address_2, string city, string state, string country, string zip, string Phone, string website, string facebook, string twitter, string challenge_question, string challenge_answer, string terms_and_conditions, string company_name, string company_id_number, string rc_incorporation_year ) : string

Register the new user with MIMO

requestToken ( ) : string

Get the Access Token from MIMO site for Current Client ID

transaction ( string amount, string note ) : string

Grab information for the given transaction ID

Method Details

GetAccessCode() public static method

Get the Access Code from MIMO site for Current Client ID
public static GetAccessCode ( ) : void
return void

Refund() public static method

Grab information for the given transaction ID
public static Refund ( string amount, string note, string transaction_id ) : string
amount string Amount to which information is pulled
note string Note to which information is pulled
transaction_id string transaction_id to which information is pulled
return string

SetAPIURL() public static method

public static SetAPIURL ( ) : void
return void

cancelTransaction() public static method

Grab information for the given transaction ID
public static cancelTransaction ( string transaction_id ) : string
transaction_id string transaction_id to which information is pulled
return string

getUser() public static method

Grabs the basic account information for the provided Mimo user search parameter
public static getUser ( string sSearchField, string sValue ) : string
sSearchField string Mimo Account Field like username, email, phone, account_number
sValue string Mimo Account value of username, email, phone, account_number you wanted to get searched
return string

newRegistration() public static method

Register the new user with MIMO
public static newRegistration ( string username, string account_type, string email, string password, string pin, string first_name, string middle_name, string surname, string dob, string gender, string about, string address_type, string address, string address_2, string city, string state, string country, string zip, string Phone, string website, string facebook, string twitter, string challenge_question, string challenge_answer, string terms_and_conditions, string company_name, string company_id_number, string rc_incorporation_year ) : string
username string
account_type string
email string
password string
pin string
first_name string
middle_name string
surname string
dob string
gender string
about string
address_type string
address string
address_2 string
city string
state string
country string
zip string
Phone string
website string
facebook string
twitter string
challenge_question string
challenge_answer string
terms_and_conditions string
company_name string
company_id_number string
rc_incorporation_year string
return string

requestToken() public static method

Get the Access Token from MIMO site for Current Client ID
public static requestToken ( ) : string
return string

transaction() public static method

Grab information for the given transaction ID
public static transaction ( string amount, string note ) : string
amount string Amount to which information is pulled
note string Note to which information is pulled
return string

Property Details

apiKey public static property

public static string apiKey
return string

apiSecret public static property

public static string apiSecret
return string

mode public static property

public static string mode
return string

redirectUri public static property

public static string redirectUri
return string

sAccessToken public static property

public static string sAccessToken
return string

sAccountType public static property

public static string sAccountType
return string

sAccountnumber public static property

public static string sAccountnumber
return string

sApiUrl public static property

public static string sApiUrl
return string

sCompanyName public static property

public static string sCompanyName
return string

sEmail public static property

public static string sEmail
return string

sExpiresIn public static property

public static string sExpiresIn
return string

sFirstName public static property

public static string sFirstName
return string

sLevel public static property

public static string sLevel
return string

sMessage public static property

public static string sMessage
return string

sMiddleName public static property

public static string sMiddleName
return string

sPhotoUrl public static property

public static string sPhotoUrl
return string

sSurname public static property

public static string sSurname
return string

sUserApiUrl public static property

public static string sUserApiUrl
return string

sUsername public static property

public static string sUsername
return string

sid public static property

public static string sid
return string

stransaction_id public static property

public static string stransaction_id
return string