Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirtimeResponse ¶
type AirtimeResponse struct { NumSent int `json:"numSent"` TotalAmount string `json:"totalAmount"` TotalDiscount string `json:"totalDiscount"` ErrorMessage string `json:"errorMessage"` Responses []Entry `json:"responses"` }
AirtimeResponse is the response from the api
type Entry ¶
type Entry struct { ErrorMessage string `json:"errorMessage"` PhoneNumber string `json:"phoneNumber"` Amount string `json:"amount"` Discount string `json:"discount"` Status string `json:"status"` RequestID string `json:"requestId"` }
Entry is the entry for each airtime response
Click to show internal directories.
Click to hide internal directories.