Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
CompareUnexported allows cmp to compare private fields of internal structs
Functions ¶
func BaseAuthorizationRequest ¶
func BaseAuthorizationRequest() *sleet.AuthorizationRequest
BaseAuthorizationRequest is used as a testing helper method to standardize request calls for integration tests
func BaseCaptureRequest ¶ added in v1.1.414
func BaseCaptureRequest() *sleet.CaptureRequest
func BaseLevel3Data ¶ added in v1.1.637
func BaseLevel3Data() *sleet.Level3Data
BaseLevel3Data is used as a testing helper method to standardize request calls for integration tests
func BaseRefundRequest ¶ added in v1.1.414
func BaseRefundRequest() *sleet.RefundRequest
func BaseVoidRequest ¶ added in v1.1.414
func BaseVoidRequest() *sleet.VoidRequest
Types ¶
type TestHelper ¶ added in v1.1.420
type TestHelper struct {
// contains filtered or unexported fields
}
TestHelper methods exist to provide handle mundane tasks which can result in error without clogging test files with unimportant error checking code
func NewTestHelper ¶ added in v1.1.420
func NewTestHelper(t *testing.T) TestHelper
func (TestHelper) ReadFile ¶ added in v1.1.420
func (h TestHelper) ReadFile(path string) []byte
func (TestHelper) Unmarshal ¶ added in v1.1.420
func (h TestHelper) Unmarshal(data []byte, destination interface{})
func (TestHelper) XmlUnmarshal ¶ added in v1.1.476
func (h TestHelper) XmlUnmarshal(data []byte, destination interface{})
Click to show internal directories.
Click to hide internal directories.