mock

package
Version: 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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServiceCrm

type FakeServiceCrm struct {
	OptOutFn               func(ctx context.Context, phoneNumber string) (*hubspotDomain.CRMContact, error)
	CreateHubSpotContactFn func(ctx context.Context, contact *hubspotDomain.CRMContact) (*hubspotDomain.CRMContact, error)
	UpdateHubSpotContactFn func(ctx context.Context, contact *hubspotDomain.CRMContact) (*hubspotDomain.CRMContact, error)
	GetContactByPhoneFn    func(ctx context.Context, phone string) (*hubspotDomain.CRMContact, error)
}

FakeServiceCrm ..

func (*FakeServiceCrm) CreateHubSpotContact

func (f *FakeServiceCrm) CreateHubSpotContact(ctx context.Context, contact *hubspotDomain.CRMContact) (*hubspotDomain.CRMContact, error)

CreateHubSpotContact ..

func (*FakeServiceCrm) GetContactByPhone

func (f *FakeServiceCrm) GetContactByPhone(ctx context.Context, phone string) (*hubspotDomain.CRMContact, error)

GetContactByPhone ..

func (*FakeServiceCrm) OptOut

func (f *FakeServiceCrm) OptOut(ctx context.Context, phoneNumber string) (*hubspotDomain.CRMContact, error)

OptOut ..

func (*FakeServiceCrm) UpdateHubSpotContact

func (f *FakeServiceCrm) UpdateHubSpotContact(ctx context.Context, contact *hubspotDomain.CRMContact) (*hubspotDomain.CRMContact, error)

UpdateHubSpotContact ..

Source Files

Jump to

Keyboard shortcuts

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