Documentation ¶
Index ¶
- func GetAccessToken(apikey, username, password, environment string) (map[string]interface{}, error)
- type JengaImpl
- func (j *JengaImpl) GetAccountBalance(account, countryCode string) (map[string]interface{}, error)
- func (j *JengaImpl) GetAccountDetails(account, countryCode string) (map[string]interface{}, error)
- func (j *JengaImpl) GetFullStatement(account, countryCode, fromDate, toDate string, limit int) (map[string]interface{}, error)
- func (j *JengaImpl) GetMiniStatement(account, countryCode string) (map[string]interface{}, error)
- func (j *JengaImpl) GetOpenAndCloseBalance(account, countryCode, date string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccessToken ¶
Types ¶
type JengaImpl ¶
func (*JengaImpl) GetAccountBalance ¶
GetAccountBalance - fetches account balance from the Jenga HQ API Accepts account and country code and returns a map[string]interface{} and or an error
func (*JengaImpl) GetAccountDetails ¶
GetAccountDetails - fetches the the details of an account (Account Inquiry) Accepts account and country code and returns a map[string]interface{} and or an error
func (*JengaImpl) GetFullStatement ¶
func (j *JengaImpl) GetFullStatement(account, countryCode, fromDate, toDate string, limit int) (map[string]interface{}, error)
GetFullStatement - fetches the full statement from the Jenga HQ API Current implementation only accepts account, countryCode, from date, to date and the limit. From and To Dates should be in the ISO 8601 format i.e. YYYY-MM-DD Other paramaters to be added later.
func (*JengaImpl) GetMiniStatement ¶
GetMiniStatement - fetches the mini statement from the Jenga HQ API Accepts account and country code and returns a map[string]interface{} and or an error
func (*JengaImpl) GetOpenAndCloseBalance ¶
func (j *JengaImpl) GetOpenAndCloseBalance(account, countryCode, date string) (map[string]interface{}, error)
GetOpenAndCloseBalance - fetches the full statement from the Jenga HQ API Accepts account, countryCode and date. Date should be in the ISO 8601 format i.e. YYYY-MM-DD