Documentation ¶
Index ¶
- type TestSuite
- func (testSuite TestSuite) TestAll(t *testing.T)
- func (testSuite TestSuite) TestAuthorizeAndCapture(t *testing.T)
- func (testSuite TestSuite) TestAuthorizeAndCaptureWithSavedCreditCard(t *testing.T)
- func (testSuite TestSuite) TestCreateCreditCard(t *testing.T)
- func (testSuite TestSuite) TestDeleteCreditCard(t *testing.T)
- func (testSuite TestSuite) TestGetCreditCard(t *testing.T)
- func (testSuite TestSuite) TestListCreditCards(t *testing.T)
- func (testSuite TestSuite) TestListCreditCardsWithNoResult(t *testing.T)
- func (testSuite TestSuite) TestRefund(t *testing.T)
- func (testSuite TestSuite) TestVoid(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuite ¶
type TestSuite struct { CreditCardManager gomerchant.CreditCardManager Gateway gomerchant.PaymentGateway GetRandomCustomerID func() string }
func (TestSuite) TestAuthorizeAndCapture ¶
func (TestSuite) TestAuthorizeAndCaptureWithSavedCreditCard ¶
func (TestSuite) TestCreateCreditCard ¶
func (TestSuite) TestDeleteCreditCard ¶
func (TestSuite) TestGetCreditCard ¶
func (TestSuite) TestListCreditCards ¶
func (TestSuite) TestListCreditCardsWithNoResult ¶
func (TestSuite) TestRefund ¶
Click to show internal directories.
Click to hide internal directories.