Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) CreateCustomerOverride(ctx context.Context, input billing.CreateCustomerOverrideInput) (*billing.CustomerOverride, error)
- func (s *Service) CreateInvoiceItems(ctx context.Context, input billing.CreateInvoiceItemsInput) ([]billing.InvoiceItem, error)
- func (s *Service) CreateProfile(ctx context.Context, input billing.CreateProfileInput) (*billing.Profile, error)
- func (s *Service) DeleteCustomerOverride(ctx context.Context, input billing.DeleteCustomerOverrideInput) error
- func (s *Service) DeleteProfile(ctx context.Context, input billing.DeleteProfileInput) error
- func (s *Service) GetCustomerOverride(ctx context.Context, input billing.GetCustomerOverrideInput) (*billing.CustomerOverride, error)
- func (s *Service) GetDefaultProfile(ctx context.Context, input billing.GetDefaultProfileInput) (*billing.Profile, error)
- func (s *Service) GetPendingInvoiceItems(ctx context.Context, customerID customer.CustomerID) ([]billing.InvoiceWithValidation, error)
- func (s *Service) GetProfile(ctx context.Context, input billing.GetProfileInput) (*billing.Profile, error)
- func (s *Service) GetProfileWithCustomerOverride(ctx context.Context, input billing.GetProfileWithCustomerOverrideInput) (*billing.ProfileWithCustomerDetails, error)
- func (s *Service) UpdateCustomerOverride(ctx context.Context, input billing.UpdateCustomerOverrideInput) (*billing.CustomerOverride, error)
- func (s *Service) UpdateProfile(ctx context.Context, input billing.UpdateProfileInput) (*billing.Profile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Adapter billing.Adapter
CustomerService customer.CustomerService
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateCustomerOverride ¶
func (s *Service) CreateCustomerOverride(ctx context.Context, input billing.CreateCustomerOverrideInput) (*billing.CustomerOverride, error)
func (*Service) CreateInvoiceItems ¶
func (s *Service) CreateInvoiceItems(ctx context.Context, input billing.CreateInvoiceItemsInput) ([]billing.InvoiceItem, error)
func (*Service) CreateProfile ¶
func (*Service) DeleteCustomerOverride ¶
func (*Service) DeleteProfile ¶
func (*Service) GetCustomerOverride ¶
func (s *Service) GetCustomerOverride(ctx context.Context, input billing.GetCustomerOverrideInput) (*billing.CustomerOverride, error)
func (*Service) GetDefaultProfile ¶
func (*Service) GetPendingInvoiceItems ¶
func (s *Service) GetPendingInvoiceItems(ctx context.Context, customerID customer.CustomerID) ([]billing.InvoiceWithValidation, error)
func (*Service) GetProfile ¶
func (*Service) GetProfileWithCustomerOverride ¶
func (s *Service) GetProfileWithCustomerOverride(ctx context.Context, input billing.GetProfileWithCustomerOverrideInput) (*billing.ProfileWithCustomerDetails, error)
func (*Service) UpdateCustomerOverride ¶
func (s *Service) UpdateCustomerOverride(ctx context.Context, input billing.UpdateCustomerOverrideInput) (*billing.CustomerOverride, error)
func (*Service) UpdateProfile ¶
Click to show internal directories.
Click to hide internal directories.