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