Documentation ¶
Index ¶
- type Servicer
- func (_m *Servicer) Create(data *lease.Lease, principalSpentAmount float64) (*lease.Lease, error)
- func (_m *Servicer) Delete(ID string) (*lease.Lease, error)
- func (_m *Servicer) Get(ID string) (*lease.Lease, error)
- func (_m *Servicer) GetByAccountIDAndPrincipalID(accountID string, principalID string) (*lease.Lease, error)
- func (_m *Servicer) List(query *lease.Lease) (*lease.Leases, error)
- func (_m *Servicer) ListPages(query *lease.Lease, fn func(*lease.Leases) bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Servicer ¶
Servicer is an autogenerated mock type for the Servicer type
func (*Servicer) Create ¶
Create provides a mock function with given fields: data, principalSpentAmount
func (*Servicer) GetByAccountIDAndPrincipalID ¶ added in v0.30.1
func (_m *Servicer) GetByAccountIDAndPrincipalID(accountID string, principalID string) (*lease.Lease, error)
GetByAccountIDAndPrincipalID provides a mock function with given fields: accountID, principalID
Click to show internal directories.
Click to hide internal directories.