Documentation ¶
Index ¶
- type AccountService
- func (acc *AccountService) Add(ctx context.Context, in *billing.Account) (*billing.Account, error)
- func (acc *AccountService) Delete(ctx context.Context, id string) error
- func (acc *AccountService) Get(ctx context.Context, id string) (*billing.Account, error)
- func (acc *AccountService) List(ctx context.Context, filter interface{}) ([]*billing.Account, error)
- func (acc *AccountService) Update(ctx context.Context, in *billing.Account) (*billing.Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger logger.Logger, accountRepository billing_store.AccountRepository) (*AccountService, error)
func (*AccountService) Delete ¶
func (acc *AccountService) Delete(ctx context.Context, id string) error
Click to show internal directories.
Click to hide internal directories.