tests

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) TestAll

func (testSuite TestSuite) TestAll(t *testing.T)

func (TestSuite) TestAuthorizeAndCapture

func (testSuite TestSuite) TestAuthorizeAndCapture(t *testing.T)

func (TestSuite) TestAuthorizeAndCaptureWithSavedCreditCard

func (testSuite TestSuite) TestAuthorizeAndCaptureWithSavedCreditCard(t *testing.T)

func (TestSuite) TestCreateCreditCard

func (testSuite TestSuite) TestCreateCreditCard(t *testing.T)

func (TestSuite) TestDeleteCreditCard

func (testSuite TestSuite) TestDeleteCreditCard(t *testing.T)

func (TestSuite) TestGetCreditCard

func (testSuite TestSuite) TestGetCreditCard(t *testing.T)

func (TestSuite) TestListCreditCards

func (testSuite TestSuite) TestListCreditCards(t *testing.T)

func (TestSuite) TestListCreditCardsWithNoResult

func (testSuite TestSuite) TestListCreditCardsWithNoResult(t *testing.T)

func (TestSuite) TestRefund

func (testSuite TestSuite) TestRefund(t *testing.T)

func (TestSuite) TestVoid

func (testSuite TestSuite) TestVoid(t *testing.T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL