mock

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServiceEDI

type FakeServiceEDI struct {
	LinkCoverFn func(
		ctx context.Context,
		phoneNumber string,
		uid string,
		pushToken []string,
	) (*http.Response, error)

	GetSladerDataFn func(
		ctx context.Context,
		phoneNumber string,
	) (*[]apiclient.MarketingData, error)

	LinkEDIMemberCoverFn func(
		ctx context.Context,
		phoneNumber string,
		membernumber string,
		payersladecode int,
	) (*http.Response, error)
}

FakeServiceEDI is an `EDI` service mock

func (*FakeServiceEDI) GetSladerData added in v0.0.23

func (f *FakeServiceEDI) GetSladerData(
	ctx context.Context,
	phoneNumber string,
) (*[]apiclient.MarketingData, error)

GetSladerData represents a mock for the GetSladerData method

func (*FakeServiceEDI) LinkCover

func (f *FakeServiceEDI) LinkCover(
	ctx context.Context,
	phoneNumber string,
	uid string,
	pushToken []string,
) (*http.Response, error)

LinkCover ...

func (*FakeServiceEDI) LinkEDIMemberCover added in v0.0.23

func (f *FakeServiceEDI) LinkEDIMemberCover(
	ctx context.Context,
	phoneNumber string,
	membernumber string,
	payersladecode int,
) (*http.Response, error)

LinkEDIMemberCover represents a mock for the LinkEDIMemberCover method

Jump to

Keyboard shortcuts

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