Documentation ¶
Index ¶
Constants ¶
View Source
const ( Monthly int = iota + 3 Quarterly Biannual Annual )
View Source
const ( Active int = iota + 1 Cancelled Paused Complete InReview Failed SystemPaused )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphaNumeric ¶
func NewAlphaNumeric ¶
func NewAlphaNumeric(value string) AlphaNumeric
type CreditCardStatus ¶ added in v0.0.6
type CreditCardStatus struct { PayfastPaymentID int `json:"pf_payment_id"` MerchantPaymentID string `json:"m_payment_id"` Status string `json:"status"` TransactionToken string `json:"transaction_token"` Amount int `json:"amount"` CreditCardStatus string `json:"cc_status"` CreditCardMessage string `json:"cc_message"` }
func (*CreditCardStatus) Copy ¶ added in v0.0.6
func (c *CreditCardStatus) Copy(data map[string]interface{})
type Numeric ¶
func NewNumeric ¶
type RemoteCall ¶ added in v0.0.4
type Response ¶
type Response struct { Code int `json:"code"` Status string `json:"status"` Data ResponseData `json:"data"` }
type ResponseData ¶
type ResponseData struct {
Response interface{} `json:"response"`
}
type Subscription ¶
type Subscription struct { Amount int `json:"amount"` Cycles int `json:"cycles"` CyclesComplete int `json:"cycles_complete"` Frequency int `json:"frequency"` RunDate time.Time `json:"run_date"` Status int `json:"status"` StatusReason string `json:"status_reason"` StatusText string `json:"status_text"` Token string `json:"token"` }
func (*Subscription) Copy ¶
func (s *Subscription) Copy(data map[string]interface{})
type Transaction ¶ added in v0.0.4
type Transaction struct { Date time.Time Type string Sign string Party string Name string Description string Currency string FundingType string Gross float64 Fee float64 Net float64 Balance float64 MPaymentID string PFPaymentID string CustomString1 string CustomString2 string CustomString3 string CustomString4 string CustomString5 string CustomInt1 int CustomInt2 int CustomInt3 int CustomInt4 int CustomInt5 int }
func (*Transaction) Copy ¶ added in v0.0.4
func (t *Transaction) Copy(tx []string) error
Click to show internal directories.
Click to hide internal directories.