Documentation ¶
Index ¶
- Constants
- func FromCurrencied(currenciedAmount string) (string, float64, error)
- func GetAPIHost(env string) string
- func GetAirtimeURL(env string) string
- func GetCreateCheckoutTokenURL(env string) string
- func GetCreateSubURL(env string) string
- func GetGenerateAuthTokenURL(env string) string
- func GetMobilePaymentB2BURL(env string) string
- func GetMobilePaymentB2CURL(env string) string
- func GetMobilePaymentCheckoutURL(env string) string
- func GetPaymentHost(env string) string
- func GetSmsURL(env string) string
- func GetSubURL(env string) string
- func GetUserDataURL(env string) string
- func GetVoiceHost(env string) string
- func GetVoiceURL(env string) string
Constants ¶
View Source
const ( PendingConfirmation = "PendingConfirmation" PendingValidation = "PendingValidation" InvalidRequest = "InvalidRequest" NotSupported = "NotSupported" SUCCESS = "Success" FAILED = "Failed" QUEUED = "Queued" SENT = "Sent" )
Constants for responses
Variables ¶
This section is empty.
Functions ¶
func FromCurrencied ¶
FromCurrencied converts a currencied amount to component currency sign and amount
func GetAirtimeURL ¶
GetAirtimeURL returns the airtime endpoint
func GetCreateSubURL ¶
GetCreateSubURL returns the Subscription create endpoint
func GetGenerateAuthTokenURL ¶
func GetMobilePaymentB2BURL ¶
GetMobilePaymentB2BURL returns the Mobile Payments B2B endpoint
func GetMobilePaymentB2CURL ¶
GetMobilePaymentB2CURL returns the Mobile Payment B2C endpoint
func GetMobilePaymentCheckoutURL ¶
GetMobilePaymentCheckoutURL returns the mobile payments checkout endpoint
func GetPaymentHost ¶
GetPaymentHost returns the payments domain
func GetUserDataURL ¶
GetUserDataURL returns the user data endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.