customerservice

package
v1.0.0-beta.196 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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
}

func (Config) Validate

func (c Config) Validate() error

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Service, error)

func (*Service) CreateCustomer

func (s *Service) CreateCustomer(ctx context.Context, input customer.CreateCustomerInput) (*customer.Customer, error)

func (*Service) DeleteCustomer

func (s *Service) DeleteCustomer(ctx context.Context, input customer.DeleteCustomerInput) error

func (*Service) GetCustomer

func (s *Service) GetCustomer(ctx context.Context, input customer.GetCustomerInput) (*customer.Customer, error)

func (*Service) GetEntitlementValue

func (*Service) RegisterRequestValidator

func (s *Service) RegisterRequestValidator(v customer.RequestValidator)

func (*Service) UpdateCustomer

func (s *Service) UpdateCustomer(ctx context.Context, input customer.UpdateCustomerInput) (*customer.Customer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL