Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
Customer is an autogenerated mock type for the Customer type
func NewCustomer ¶ added in v3.6.0
func NewCustomer(t mockConstructorTestingTNewCustomer) *Customer
NewCustomer creates a new instance of Customer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Customer) GetAddresses ¶
GetAddresses provides a mock function with given fields:
func (*Customer) GetDefaultBillingAddress ¶
GetDefaultBillingAddress provides a mock function with given fields:
func (*Customer) GetDefaultShippingAddress ¶
GetDefaultShippingAddress provides a mock function with given fields:
func (*Customer) GetPersonalData ¶
func (_m *Customer) GetPersonalData() domain.PersonData
GetPersonalData provides a mock function with given fields:
type CustomerIdentityService ¶
CustomerIdentityService is an autogenerated mock type for the CustomerIdentityService type
func NewCustomerIdentityService ¶ added in v3.6.0
func NewCustomerIdentityService(t mockConstructorTestingTNewCustomerIdentityService) *CustomerIdentityService
NewCustomerIdentityService creates a new instance of CustomerIdentityService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CustomerIdentityService) GetByIdentity ¶
func (_m *CustomerIdentityService) GetByIdentity(ctx context.Context, identity auth.Identity) (domain.Customer, error)
GetByIdentity provides a mock function with given fields: ctx, identity