Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) CreateCustomer(ctx context.Context, input customerentity.CreateCustomerInput) (*customerentity.Customer, error)
- func (s *Service) DeleteCustomer(ctx context.Context, input customerentity.DeleteCustomerInput) error
- func (s *Service) GetCustomer(ctx context.Context, input customerentity.GetCustomerInput) (*customerentity.Customer, error)
- func (s *Service) ListCustomers(ctx context.Context, input customerentity.ListCustomersInput) (pagination.PagedResponse[customerentity.Customer], error)
- func (s *Service) UpdateCustomer(ctx context.Context, input customerentity.UpdateCustomerInput) (*customerentity.Customer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateCustomer ¶
func (s *Service) CreateCustomer(ctx context.Context, input customerentity.CreateCustomerInput) (*customerentity.Customer, error)
func (*Service) DeleteCustomer ¶
func (s *Service) DeleteCustomer(ctx context.Context, input customerentity.DeleteCustomerInput) error
func (*Service) GetCustomer ¶
func (s *Service) GetCustomer(ctx context.Context, input customerentity.GetCustomerInput) (*customerentity.Customer, error)
func (*Service) ListCustomers ¶
func (s *Service) ListCustomers(ctx context.Context, input customerentity.ListCustomersInput) (pagination.PagedResponse[customerentity.Customer], error)
func (*Service) UpdateCustomer ¶
func (s *Service) UpdateCustomer(ctx context.Context, input customerentity.UpdateCustomerInput) (*customerentity.Customer, error)
Click to show internal directories.
Click to hide internal directories.