pb

package
v2.6.19 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_billingd_pb_billingd_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServiceServer

func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)

Types

type APIServiceClient

type APIServiceClient interface {
	CheckHealth(ctx context.Context, in *CheckHealthRequest, opts ...grpc.CallOption) (*CheckHealthResponse, error)
	CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*CreateCustomerResponse, error)
	GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*GetCustomerResponse, error)
	ListDependentCustomers(ctx context.Context, in *ListDependentCustomersRequest, opts ...grpc.CallOption) (*ListDependentCustomersResponse, error)
	GetCustomerSession(ctx context.Context, in *GetCustomerSessionRequest, opts ...grpc.CallOption) (*GetCustomerSessionResponse, error)
	UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*UpdateCustomerResponse, error)
	UpdateCustomerSubscription(ctx context.Context, in *UpdateCustomerSubscriptionRequest, opts ...grpc.CallOption) (*UpdateCustomerSubscriptionResponse, error)
	RecreateCustomerSubscription(ctx context.Context, in *RecreateCustomerSubscriptionRequest, opts ...grpc.CallOption) (*RecreateCustomerSubscriptionResponse, error)
	DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*DeleteCustomerResponse, error)
	GetCustomerUsage(ctx context.Context, in *GetCustomerUsageRequest, opts ...grpc.CallOption) (*GetCustomerUsageResponse, error)
	IncCustomerUsage(ctx context.Context, in *IncCustomerUsageRequest, opts ...grpc.CallOption) (*IncCustomerUsageResponse, error)
	ReportCustomerUsage(ctx context.Context, in *ReportCustomerUsageRequest, opts ...grpc.CallOption) (*ReportCustomerUsageResponse, error)
	Identify(ctx context.Context, in *IdentifyRequest, opts ...grpc.CallOption) (*IdentifyResponse, error)
	TrackEvent(ctx context.Context, in *TrackEventRequest, opts ...grpc.CallOption) (*TrackEventResponse, error)
}

APIServiceClient is the client API for APIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIServiceClient

func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient

type CheckHealthRequest

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

func (*CheckHealthRequest) Descriptor deprecated

func (*CheckHealthRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckHealthRequest.ProtoReflect.Descriptor instead.

func (*CheckHealthRequest) ProtoMessage

func (*CheckHealthRequest) ProtoMessage()

func (*CheckHealthRequest) ProtoReflect added in v2.2.0

func (x *CheckHealthRequest) ProtoReflect() protoreflect.Message

func (*CheckHealthRequest) Reset

func (x *CheckHealthRequest) Reset()

func (*CheckHealthRequest) String

func (x *CheckHealthRequest) String() string

type CheckHealthResponse

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

func (*CheckHealthResponse) Descriptor deprecated

func (*CheckHealthResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckHealthResponse.ProtoReflect.Descriptor instead.

func (*CheckHealthResponse) ProtoMessage

func (*CheckHealthResponse) ProtoMessage()

func (*CheckHealthResponse) ProtoReflect added in v2.2.0

func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message

func (*CheckHealthResponse) Reset

func (x *CheckHealthResponse) Reset()

func (*CheckHealthResponse) String

func (x *CheckHealthResponse) String() string

type CreateCustomerRequest

type CreateCustomerRequest struct {
	Customer *CreateCustomerRequest_Params `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
	Parent   *CreateCustomerRequest_Params `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerRequest) Descriptor deprecated

func (*CreateCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCustomerRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomerRequest) GetCustomer added in v2.1.7

func (*CreateCustomerRequest) GetParent added in v2.1.7

func (*CreateCustomerRequest) ProtoMessage

func (*CreateCustomerRequest) ProtoMessage()

func (*CreateCustomerRequest) ProtoReflect added in v2.2.0

func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message

func (*CreateCustomerRequest) Reset

func (x *CreateCustomerRequest) Reset()

func (*CreateCustomerRequest) String

func (x *CreateCustomerRequest) String() string

type CreateCustomerRequest_Params added in v2.1.7

type CreateCustomerRequest_Params struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Email       string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	AccountType int32  `protobuf:"varint,3,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Username    string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerRequest_Params) Descriptor deprecated added in v2.1.7

func (*CreateCustomerRequest_Params) Descriptor() ([]byte, []int)

Deprecated: Use CreateCustomerRequest_Params.ProtoReflect.Descriptor instead.

func (*CreateCustomerRequest_Params) GetAccountType added in v2.1.7

func (x *CreateCustomerRequest_Params) GetAccountType() int32

func (*CreateCustomerRequest_Params) GetEmail added in v2.1.7

func (x *CreateCustomerRequest_Params) GetEmail() string

func (*CreateCustomerRequest_Params) GetKey added in v2.1.7

func (*CreateCustomerRequest_Params) GetUsername added in v2.6.0

func (x *CreateCustomerRequest_Params) GetUsername() string

func (*CreateCustomerRequest_Params) ProtoMessage added in v2.1.7

func (*CreateCustomerRequest_Params) ProtoMessage()

func (*CreateCustomerRequest_Params) ProtoReflect added in v2.2.0

func (*CreateCustomerRequest_Params) Reset added in v2.1.7

func (x *CreateCustomerRequest_Params) Reset()

func (*CreateCustomerRequest_Params) String added in v2.1.7

type CreateCustomerResponse

type CreateCustomerResponse struct {
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerResponse) Descriptor deprecated

func (*CreateCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateCustomerResponse.ProtoReflect.Descriptor instead.

func (*CreateCustomerResponse) GetCustomerId

func (x *CreateCustomerResponse) GetCustomerId() string

func (*CreateCustomerResponse) ProtoMessage

func (*CreateCustomerResponse) ProtoMessage()

func (*CreateCustomerResponse) ProtoReflect added in v2.2.0

func (x *CreateCustomerResponse) ProtoReflect() protoreflect.Message

func (*CreateCustomerResponse) Reset

func (x *CreateCustomerResponse) Reset()

func (*CreateCustomerResponse) String

func (x *CreateCustomerResponse) String() string

type DeleteCustomerRequest

type DeleteCustomerRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCustomerRequest) Descriptor deprecated

func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.

func (*DeleteCustomerRequest) GetKey

func (x *DeleteCustomerRequest) GetKey() string

func (*DeleteCustomerRequest) ProtoMessage

func (*DeleteCustomerRequest) ProtoMessage()

func (*DeleteCustomerRequest) ProtoReflect added in v2.2.0

func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message

func (*DeleteCustomerRequest) Reset

func (x *DeleteCustomerRequest) Reset()

func (*DeleteCustomerRequest) String

func (x *DeleteCustomerRequest) String() string

type DeleteCustomerResponse

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

func (*DeleteCustomerResponse) Descriptor deprecated

func (*DeleteCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCustomerResponse.ProtoReflect.Descriptor instead.

func (*DeleteCustomerResponse) ProtoMessage

func (*DeleteCustomerResponse) ProtoMessage()

func (*DeleteCustomerResponse) ProtoReflect added in v2.2.0

func (x *DeleteCustomerResponse) ProtoReflect() protoreflect.Message

func (*DeleteCustomerResponse) Reset

func (x *DeleteCustomerResponse) Reset()

func (*DeleteCustomerResponse) String

func (x *DeleteCustomerResponse) String() string

type GetCustomerRequest

type GetCustomerRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerRequest) Descriptor deprecated

func (*GetCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerRequest) GetKey

func (x *GetCustomerRequest) GetKey() string

func (*GetCustomerRequest) ProtoMessage

func (*GetCustomerRequest) ProtoMessage()

func (*GetCustomerRequest) ProtoReflect added in v2.2.0

func (x *GetCustomerRequest) ProtoReflect() protoreflect.Message

func (*GetCustomerRequest) Reset

func (x *GetCustomerRequest) Reset()

func (*GetCustomerRequest) String

func (x *GetCustomerRequest) String() string

type GetCustomerResponse

type GetCustomerResponse struct {
	Key                string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	CustomerId         string            `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ParentKey          string            `protobuf:"bytes,3,opt,name=parent_key,json=parentKey,proto3" json:"parent_key,omitempty"`
	Email              string            `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	AccountType        int32             `protobuf:"varint,5,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	AccountStatus      string            `protobuf:"bytes,6,opt,name=account_status,json=accountStatus,proto3" json:"account_status,omitempty"`
	SubscriptionStatus string            `protobuf:"bytes,7,opt,name=subscription_status,json=subscriptionStatus,proto3" json:"subscription_status,omitempty"`
	Balance            int64             `protobuf:"varint,8,opt,name=balance,proto3" json:"balance,omitempty"`
	Billable           bool              `protobuf:"varint,9,opt,name=billable,proto3" json:"billable,omitempty"`
	Delinquent         bool              `protobuf:"varint,10,opt,name=delinquent,proto3" json:"delinquent,omitempty"`
	CreatedAt          int64             `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	GracePeriodEnd     int64             `protobuf:"varint,12,opt,name=grace_period_end,json=gracePeriodEnd,proto3" json:"grace_period_end,omitempty"`
	InvoicePeriod      *Period           `protobuf:"bytes,13,opt,name=invoice_period,json=invoicePeriod,proto3" json:"invoice_period,omitempty"`
	DailyUsage         map[string]*Usage `` /* 180-byte string literal not displayed */
	Dependents         int64             `protobuf:"varint,15,opt,name=dependents,proto3" json:"dependents,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerResponse) Descriptor deprecated

func (*GetCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerResponse) GetAccountStatus

func (x *GetCustomerResponse) GetAccountStatus() string

func (*GetCustomerResponse) GetAccountType added in v2.1.7

func (x *GetCustomerResponse) GetAccountType() int32

func (*GetCustomerResponse) GetBalance

func (x *GetCustomerResponse) GetBalance() int64

func (*GetCustomerResponse) GetBillable

func (x *GetCustomerResponse) GetBillable() bool

func (*GetCustomerResponse) GetCreatedAt

func (x *GetCustomerResponse) GetCreatedAt() int64

func (*GetCustomerResponse) GetCustomerId

func (x *GetCustomerResponse) GetCustomerId() string

func (*GetCustomerResponse) GetDailyUsage

func (x *GetCustomerResponse) GetDailyUsage() map[string]*Usage

func (*GetCustomerResponse) GetDelinquent

func (x *GetCustomerResponse) GetDelinquent() bool

func (*GetCustomerResponse) GetDependents

func (x *GetCustomerResponse) GetDependents() int64

func (*GetCustomerResponse) GetEmail

func (x *GetCustomerResponse) GetEmail() string

func (*GetCustomerResponse) GetGracePeriodEnd

func (x *GetCustomerResponse) GetGracePeriodEnd() int64

func (*GetCustomerResponse) GetInvoicePeriod

func (x *GetCustomerResponse) GetInvoicePeriod() *Period

func (*GetCustomerResponse) GetKey

func (x *GetCustomerResponse) GetKey() string

func (*GetCustomerResponse) GetParentKey

func (x *GetCustomerResponse) GetParentKey() string

func (*GetCustomerResponse) GetSubscriptionStatus

func (x *GetCustomerResponse) GetSubscriptionStatus() string

func (*GetCustomerResponse) ProtoMessage

func (*GetCustomerResponse) ProtoMessage()

func (*GetCustomerResponse) ProtoReflect added in v2.2.0

func (x *GetCustomerResponse) ProtoReflect() protoreflect.Message

func (*GetCustomerResponse) Reset

func (x *GetCustomerResponse) Reset()

func (*GetCustomerResponse) String

func (x *GetCustomerResponse) String() string

type GetCustomerSessionRequest

type GetCustomerSessionRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerSessionRequest) Descriptor deprecated

func (*GetCustomerSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerSessionRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerSessionRequest) GetKey

func (x *GetCustomerSessionRequest) GetKey() string

func (*GetCustomerSessionRequest) ProtoMessage

func (*GetCustomerSessionRequest) ProtoMessage()

func (*GetCustomerSessionRequest) ProtoReflect added in v2.2.0

func (*GetCustomerSessionRequest) Reset

func (x *GetCustomerSessionRequest) Reset()

func (*GetCustomerSessionRequest) String

func (x *GetCustomerSessionRequest) String() string

type GetCustomerSessionResponse

type GetCustomerSessionResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerSessionResponse) Descriptor deprecated

func (*GetCustomerSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerSessionResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerSessionResponse) GetUrl

func (x *GetCustomerSessionResponse) GetUrl() string

func (*GetCustomerSessionResponse) ProtoMessage

func (*GetCustomerSessionResponse) ProtoMessage()

func (*GetCustomerSessionResponse) ProtoReflect added in v2.2.0

func (*GetCustomerSessionResponse) Reset

func (x *GetCustomerSessionResponse) Reset()

func (*GetCustomerSessionResponse) String

func (x *GetCustomerSessionResponse) String() string

type GetCustomerUsageRequest added in v2.1.5

type GetCustomerUsageRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerUsageRequest) Descriptor deprecated added in v2.1.5

func (*GetCustomerUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerUsageRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerUsageRequest) GetKey added in v2.1.5

func (x *GetCustomerUsageRequest) GetKey() string

func (*GetCustomerUsageRequest) ProtoMessage added in v2.1.5

func (*GetCustomerUsageRequest) ProtoMessage()

func (*GetCustomerUsageRequest) ProtoReflect added in v2.2.0

func (x *GetCustomerUsageRequest) ProtoReflect() protoreflect.Message

func (*GetCustomerUsageRequest) Reset added in v2.1.5

func (x *GetCustomerUsageRequest) Reset()

func (*GetCustomerUsageRequest) String added in v2.1.5

func (x *GetCustomerUsageRequest) String() string

type GetCustomerUsageResponse added in v2.1.5

type GetCustomerUsageResponse struct {
	Usage map[string]*Usage `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCustomerUsageResponse) Descriptor deprecated added in v2.1.5

func (*GetCustomerUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerUsageResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerUsageResponse) GetUsage added in v2.1.5

func (x *GetCustomerUsageResponse) GetUsage() map[string]*Usage

func (*GetCustomerUsageResponse) ProtoMessage added in v2.1.5

func (*GetCustomerUsageResponse) ProtoMessage()

func (*GetCustomerUsageResponse) ProtoReflect added in v2.2.0

func (x *GetCustomerUsageResponse) ProtoReflect() protoreflect.Message

func (*GetCustomerUsageResponse) Reset added in v2.1.5

func (x *GetCustomerUsageResponse) Reset()

func (*GetCustomerUsageResponse) String added in v2.1.5

func (x *GetCustomerUsageResponse) String() string

type IdentifyRequest added in v2.6.0

type IdentifyRequest struct {
	Key         string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	AccountType int32             `protobuf:"varint,2,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Active      bool              `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	Email       string            `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*IdentifyRequest) Descriptor deprecated added in v2.6.0

func (*IdentifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use IdentifyRequest.ProtoReflect.Descriptor instead.

func (*IdentifyRequest) GetAccountType added in v2.6.0

func (x *IdentifyRequest) GetAccountType() int32

func (*IdentifyRequest) GetActive added in v2.6.0

func (x *IdentifyRequest) GetActive() bool

func (*IdentifyRequest) GetEmail added in v2.6.0

func (x *IdentifyRequest) GetEmail() string

func (*IdentifyRequest) GetKey added in v2.6.0

func (x *IdentifyRequest) GetKey() string

func (*IdentifyRequest) GetProperties added in v2.6.0

func (x *IdentifyRequest) GetProperties() map[string]string

func (*IdentifyRequest) ProtoMessage added in v2.6.0

func (*IdentifyRequest) ProtoMessage()

func (*IdentifyRequest) ProtoReflect added in v2.6.0

func (x *IdentifyRequest) ProtoReflect() protoreflect.Message

func (*IdentifyRequest) Reset added in v2.6.0

func (x *IdentifyRequest) Reset()

func (*IdentifyRequest) String added in v2.6.0

func (x *IdentifyRequest) String() string

type IdentifyResponse added in v2.6.0

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

func (*IdentifyResponse) Descriptor deprecated added in v2.6.0

func (*IdentifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use IdentifyResponse.ProtoReflect.Descriptor instead.

func (*IdentifyResponse) ProtoMessage added in v2.6.0

func (*IdentifyResponse) ProtoMessage()

func (*IdentifyResponse) ProtoReflect added in v2.6.0

func (x *IdentifyResponse) ProtoReflect() protoreflect.Message

func (*IdentifyResponse) Reset added in v2.6.0

func (x *IdentifyResponse) Reset()

func (*IdentifyResponse) String added in v2.6.0

func (x *IdentifyResponse) String() string

type IncCustomerUsageRequest

type IncCustomerUsageRequest struct {
	Key          string           `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ProductUsage map[string]int64 `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*IncCustomerUsageRequest) Descriptor deprecated

func (*IncCustomerUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use IncCustomerUsageRequest.ProtoReflect.Descriptor instead.

func (*IncCustomerUsageRequest) GetKey

func (x *IncCustomerUsageRequest) GetKey() string

func (*IncCustomerUsageRequest) GetProductUsage

func (x *IncCustomerUsageRequest) GetProductUsage() map[string]int64

func (*IncCustomerUsageRequest) ProtoMessage

func (*IncCustomerUsageRequest) ProtoMessage()

func (*IncCustomerUsageRequest) ProtoReflect added in v2.2.0

func (x *IncCustomerUsageRequest) ProtoReflect() protoreflect.Message

func (*IncCustomerUsageRequest) Reset

func (x *IncCustomerUsageRequest) Reset()

func (*IncCustomerUsageRequest) String

func (x *IncCustomerUsageRequest) String() string

type IncCustomerUsageResponse

type IncCustomerUsageResponse struct {
	DailyUsage map[string]*Usage `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*IncCustomerUsageResponse) Descriptor deprecated

func (*IncCustomerUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use IncCustomerUsageResponse.ProtoReflect.Descriptor instead.

func (*IncCustomerUsageResponse) GetDailyUsage

func (x *IncCustomerUsageResponse) GetDailyUsage() map[string]*Usage

func (*IncCustomerUsageResponse) ProtoMessage

func (*IncCustomerUsageResponse) ProtoMessage()

func (*IncCustomerUsageResponse) ProtoReflect added in v2.2.0

func (x *IncCustomerUsageResponse) ProtoReflect() protoreflect.Message

func (*IncCustomerUsageResponse) Reset

func (x *IncCustomerUsageResponse) Reset()

func (*IncCustomerUsageResponse) String

func (x *IncCustomerUsageResponse) String() string

type ListDependentCustomersRequest

type ListDependentCustomersRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int64  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDependentCustomersRequest) Descriptor deprecated

func (*ListDependentCustomersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDependentCustomersRequest.ProtoReflect.Descriptor instead.

func (*ListDependentCustomersRequest) GetKey

func (*ListDependentCustomersRequest) GetLimit

func (x *ListDependentCustomersRequest) GetLimit() int64

func (*ListDependentCustomersRequest) GetOffset

func (x *ListDependentCustomersRequest) GetOffset() int64

func (*ListDependentCustomersRequest) ProtoMessage

func (*ListDependentCustomersRequest) ProtoMessage()

func (*ListDependentCustomersRequest) ProtoReflect added in v2.2.0

func (*ListDependentCustomersRequest) Reset

func (x *ListDependentCustomersRequest) Reset()

func (*ListDependentCustomersRequest) String

type ListDependentCustomersResponse

type ListDependentCustomersResponse struct {
	Customers  []*GetCustomerResponse `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"`
	NextOffset int64                  `protobuf:"varint,2,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDependentCustomersResponse) Descriptor deprecated

func (*ListDependentCustomersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDependentCustomersResponse.ProtoReflect.Descriptor instead.

func (*ListDependentCustomersResponse) GetCustomers

func (*ListDependentCustomersResponse) GetNextOffset

func (x *ListDependentCustomersResponse) GetNextOffset() int64

func (*ListDependentCustomersResponse) ProtoMessage

func (*ListDependentCustomersResponse) ProtoMessage()

func (*ListDependentCustomersResponse) ProtoReflect added in v2.2.0

func (*ListDependentCustomersResponse) Reset

func (x *ListDependentCustomersResponse) Reset()

func (*ListDependentCustomersResponse) String

type Period

type Period struct {
	UnixStart int64 `protobuf:"varint,1,opt,name=unix_start,json=unixStart,proto3" json:"unix_start,omitempty"`
	UnixEnd   int64 `protobuf:"varint,2,opt,name=unix_end,json=unixEnd,proto3" json:"unix_end,omitempty"`
	// contains filtered or unexported fields
}

func (*Period) Descriptor deprecated

func (*Period) Descriptor() ([]byte, []int)

Deprecated: Use Period.ProtoReflect.Descriptor instead.

func (*Period) GetUnixEnd

func (x *Period) GetUnixEnd() int64

func (*Period) GetUnixStart

func (x *Period) GetUnixStart() int64

func (*Period) ProtoMessage

func (*Period) ProtoMessage()

func (*Period) ProtoReflect added in v2.2.0

func (x *Period) ProtoReflect() protoreflect.Message

func (*Period) Reset

func (x *Period) Reset()

func (*Period) String

func (x *Period) String() string

type RecreateCustomerSubscriptionRequest

type RecreateCustomerSubscriptionRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*RecreateCustomerSubscriptionRequest) Descriptor deprecated

func (*RecreateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RecreateCustomerSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*RecreateCustomerSubscriptionRequest) GetKey

func (*RecreateCustomerSubscriptionRequest) ProtoMessage

func (*RecreateCustomerSubscriptionRequest) ProtoMessage()

func (*RecreateCustomerSubscriptionRequest) ProtoReflect added in v2.2.0

func (*RecreateCustomerSubscriptionRequest) Reset

func (*RecreateCustomerSubscriptionRequest) String

type RecreateCustomerSubscriptionResponse

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

func (*RecreateCustomerSubscriptionResponse) Descriptor deprecated

func (*RecreateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecreateCustomerSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*RecreateCustomerSubscriptionResponse) ProtoMessage

func (*RecreateCustomerSubscriptionResponse) ProtoMessage()

func (*RecreateCustomerSubscriptionResponse) ProtoReflect added in v2.2.0

func (*RecreateCustomerSubscriptionResponse) Reset

func (*RecreateCustomerSubscriptionResponse) String

type ReportCustomerUsageRequest added in v2.1.5

type ReportCustomerUsageRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportCustomerUsageRequest) Descriptor deprecated added in v2.1.5

func (*ReportCustomerUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportCustomerUsageRequest.ProtoReflect.Descriptor instead.

func (*ReportCustomerUsageRequest) GetKey added in v2.1.5

func (x *ReportCustomerUsageRequest) GetKey() string

func (*ReportCustomerUsageRequest) ProtoMessage added in v2.1.5

func (*ReportCustomerUsageRequest) ProtoMessage()

func (*ReportCustomerUsageRequest) ProtoReflect added in v2.2.0

func (*ReportCustomerUsageRequest) Reset added in v2.1.5

func (x *ReportCustomerUsageRequest) Reset()

func (*ReportCustomerUsageRequest) String added in v2.1.5

func (x *ReportCustomerUsageRequest) String() string

type ReportCustomerUsageResponse added in v2.1.5

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

func (*ReportCustomerUsageResponse) Descriptor deprecated added in v2.1.5

func (*ReportCustomerUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportCustomerUsageResponse.ProtoReflect.Descriptor instead.

func (*ReportCustomerUsageResponse) ProtoMessage added in v2.1.5

func (*ReportCustomerUsageResponse) ProtoMessage()

func (*ReportCustomerUsageResponse) ProtoReflect added in v2.2.0

func (*ReportCustomerUsageResponse) Reset added in v2.1.5

func (x *ReportCustomerUsageResponse) Reset()

func (*ReportCustomerUsageResponse) String added in v2.1.5

func (x *ReportCustomerUsageResponse) String() string

type TrackEventRequest added in v2.6.0

type TrackEventRequest struct {
	Key         string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	AccountType int32             `protobuf:"varint,2,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Active      bool              `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	Event       int32             `protobuf:"varint,4,opt,name=event,proto3" json:"event,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TrackEventRequest) Descriptor deprecated added in v2.6.0

func (*TrackEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use TrackEventRequest.ProtoReflect.Descriptor instead.

func (*TrackEventRequest) GetAccountType added in v2.6.0

func (x *TrackEventRequest) GetAccountType() int32

func (*TrackEventRequest) GetActive added in v2.6.0

func (x *TrackEventRequest) GetActive() bool

func (*TrackEventRequest) GetEvent added in v2.6.0

func (x *TrackEventRequest) GetEvent() int32

func (*TrackEventRequest) GetKey added in v2.6.0

func (x *TrackEventRequest) GetKey() string

func (*TrackEventRequest) GetProperties added in v2.6.0

func (x *TrackEventRequest) GetProperties() map[string]string

func (*TrackEventRequest) ProtoMessage added in v2.6.0

func (*TrackEventRequest) ProtoMessage()

func (*TrackEventRequest) ProtoReflect added in v2.6.0

func (x *TrackEventRequest) ProtoReflect() protoreflect.Message

func (*TrackEventRequest) Reset added in v2.6.0

func (x *TrackEventRequest) Reset()

func (*TrackEventRequest) String added in v2.6.0

func (x *TrackEventRequest) String() string

type TrackEventResponse added in v2.6.0

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

func (*TrackEventResponse) Descriptor deprecated added in v2.6.0

func (*TrackEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use TrackEventResponse.ProtoReflect.Descriptor instead.

func (*TrackEventResponse) ProtoMessage added in v2.6.0

func (*TrackEventResponse) ProtoMessage()

func (*TrackEventResponse) ProtoReflect added in v2.6.0

func (x *TrackEventResponse) ProtoReflect() protoreflect.Message

func (*TrackEventResponse) Reset added in v2.6.0

func (x *TrackEventResponse) Reset()

func (*TrackEventResponse) String added in v2.6.0

func (x *TrackEventResponse) String() string

type UnimplementedAPIServiceServer

type UnimplementedAPIServiceServer struct {
}

UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServiceServer) CheckHealth

func (*UnimplementedAPIServiceServer) CreateCustomer

func (*UnimplementedAPIServiceServer) DeleteCustomer

func (*UnimplementedAPIServiceServer) GetCustomer

func (*UnimplementedAPIServiceServer) GetCustomerSession

func (*UnimplementedAPIServiceServer) GetCustomerUsage added in v2.1.5

func (*UnimplementedAPIServiceServer) Identify added in v2.6.0

func (*UnimplementedAPIServiceServer) IncCustomerUsage

func (*UnimplementedAPIServiceServer) ReportCustomerUsage added in v2.1.5

func (*UnimplementedAPIServiceServer) TrackEvent added in v2.6.0

func (*UnimplementedAPIServiceServer) UpdateCustomer

type UpdateCustomerRequest

type UpdateCustomerRequest struct {
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Balance    int64  `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Billable   bool   `protobuf:"varint,3,opt,name=billable,proto3" json:"billable,omitempty"`
	Delinquent bool   `protobuf:"varint,4,opt,name=delinquent,proto3" json:"delinquent,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerRequest) Descriptor deprecated

func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerRequest) GetBalance

func (x *UpdateCustomerRequest) GetBalance() int64

func (*UpdateCustomerRequest) GetBillable

func (x *UpdateCustomerRequest) GetBillable() bool

func (*UpdateCustomerRequest) GetCustomerId

func (x *UpdateCustomerRequest) GetCustomerId() string

func (*UpdateCustomerRequest) GetDelinquent

func (x *UpdateCustomerRequest) GetDelinquent() bool

func (*UpdateCustomerRequest) ProtoMessage

func (*UpdateCustomerRequest) ProtoMessage()

func (*UpdateCustomerRequest) ProtoReflect added in v2.2.0

func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message

func (*UpdateCustomerRequest) Reset

func (x *UpdateCustomerRequest) Reset()

func (*UpdateCustomerRequest) String

func (x *UpdateCustomerRequest) String() string

type UpdateCustomerResponse

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

func (*UpdateCustomerResponse) Descriptor deprecated

func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerResponse.ProtoReflect.Descriptor instead.

func (*UpdateCustomerResponse) ProtoMessage

func (*UpdateCustomerResponse) ProtoMessage()

func (*UpdateCustomerResponse) ProtoReflect added in v2.2.0

func (x *UpdateCustomerResponse) ProtoReflect() protoreflect.Message

func (*UpdateCustomerResponse) Reset

func (x *UpdateCustomerResponse) Reset()

func (*UpdateCustomerResponse) String

func (x *UpdateCustomerResponse) String() string

type UpdateCustomerSubscriptionRequest

type UpdateCustomerSubscriptionRequest struct {
	CustomerId    string  `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Status        string  `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	InvoicePeriod *Period `protobuf:"bytes,3,opt,name=invoice_period,json=invoicePeriod,proto3" json:"invoice_period,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerSubscriptionRequest) Descriptor deprecated

func (*UpdateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerSubscriptionRequest) GetCustomerId

func (x *UpdateCustomerSubscriptionRequest) GetCustomerId() string

func (*UpdateCustomerSubscriptionRequest) GetInvoicePeriod

func (x *UpdateCustomerSubscriptionRequest) GetInvoicePeriod() *Period

func (*UpdateCustomerSubscriptionRequest) GetStatus

func (*UpdateCustomerSubscriptionRequest) ProtoMessage

func (*UpdateCustomerSubscriptionRequest) ProtoMessage()

func (*UpdateCustomerSubscriptionRequest) ProtoReflect added in v2.2.0

func (*UpdateCustomerSubscriptionRequest) Reset

func (*UpdateCustomerSubscriptionRequest) String

type UpdateCustomerSubscriptionResponse

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

func (*UpdateCustomerSubscriptionResponse) Descriptor deprecated

func (*UpdateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*UpdateCustomerSubscriptionResponse) ProtoMessage

func (*UpdateCustomerSubscriptionResponse) ProtoMessage()

func (*UpdateCustomerSubscriptionResponse) ProtoReflect added in v2.2.0

func (*UpdateCustomerSubscriptionResponse) Reset

func (*UpdateCustomerSubscriptionResponse) String

type Usage

type Usage struct {
	Description string  `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Units       int64   `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"`
	Total       int64   `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Free        int64   `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
	Grace       int64   `protobuf:"varint,5,opt,name=grace,proto3" json:"grace,omitempty"`
	Cost        float64 `protobuf:"fixed64,6,opt,name=cost,proto3" json:"cost,omitempty"`
	Period      *Period `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

func (*Usage) Descriptor deprecated

func (*Usage) Descriptor() ([]byte, []int)

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetCost

func (x *Usage) GetCost() float64

func (*Usage) GetDescription

func (x *Usage) GetDescription() string

func (*Usage) GetFree

func (x *Usage) GetFree() int64

func (*Usage) GetGrace added in v2.1.5

func (x *Usage) GetGrace() int64

func (*Usage) GetPeriod added in v2.1.5

func (x *Usage) GetPeriod() *Period

func (*Usage) GetTotal

func (x *Usage) GetTotal() int64

func (*Usage) GetUnits

func (x *Usage) GetUnits() int64

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) ProtoReflect added in v2.2.0

func (x *Usage) ProtoReflect() protoreflect.Message

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

Jump to

Keyboard shortcuts

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