Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessToken string = "" /* 923-byte string literal not displayed */ ContractCode string = "4934121686" CustomerName string = "John Doe" AccountName string = "Test Account" AccountReference string = "TEST_ACCT_REF" CurrencyCode string = "NGN" CustomerEmail string = "test@tester.com" AccountNumber string = "3000017736" BankName string = "Providus Bank" BankCode string = "101" CollectionChannel string = "RESERVED_ACCOUNT" ReservationReference string = "EPC3RD5ULJFN5QB8A8AT" ReservedAccountType string = "GENERAL" StatusActive string = "ACTIVE" CreatedOn string = "2020-07-26 19:24:39.113" MerchantCode string = "ALJKHDALASD" ProviderAmount float64 = 0.21 PaymentMethod string = "ACCOUNT_TRANSFER" Amount float64 = 100.00 ProviderCode string = "98271" TransferReference string = "TEST_TRF_REF" WalletId string = "TEST_WLT_ID" BatchReference string = "TEST_BCH_REF" ValidOTP string = "111111" AvailableBalance float64 = 500.99 LedgerBalance float64 = 500.98 PaymentReference string = "330854835" PaidOn string = "26/02/2020 09:38:13 AM" SecretKey string = "SECRET_KEY" )
Testhelpers contains utility methods to ease third party unit/integration testing
Variables ¶
This section is empty.
Functions ¶
func FakeInflowNotificationPayload ¶ added in v1.1.1
func FakeInflowNotificationPayload() string
func GenerateTransactionHash ¶ added in v1.1.0
func MockAPIServer ¶
MockAPIServer initializes a test HTTP server useful for request mocking, Integration tests and Client configuration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.