Documentation
¶
Index ¶
- func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
- type APIServiceClient
- type APIServiceServer
- type CheckHealthRequest
- func (*CheckHealthRequest) Descriptor() ([]byte, []int)
- func (*CheckHealthRequest) ProtoMessage()
- func (m *CheckHealthRequest) Reset()
- func (m *CheckHealthRequest) String() string
- func (m *CheckHealthRequest) XXX_DiscardUnknown()
- func (m *CheckHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckHealthRequest) XXX_Merge(src proto.Message)
- func (m *CheckHealthRequest) XXX_Size() int
- func (m *CheckHealthRequest) XXX_Unmarshal(b []byte) error
- type CheckHealthResponse
- func (*CheckHealthResponse) Descriptor() ([]byte, []int)
- func (*CheckHealthResponse) ProtoMessage()
- func (m *CheckHealthResponse) Reset()
- func (m *CheckHealthResponse) String() string
- func (m *CheckHealthResponse) XXX_DiscardUnknown()
- func (m *CheckHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckHealthResponse) XXX_Merge(src proto.Message)
- func (m *CheckHealthResponse) XXX_Size() int
- func (m *CheckHealthResponse) XXX_Unmarshal(b []byte) error
- type CreateCustomerRequest
- func (*CreateCustomerRequest) Descriptor() ([]byte, []int)
- func (m *CreateCustomerRequest) GetCustomer() *CreateCustomerRequest_Params
- func (m *CreateCustomerRequest) GetParent() *CreateCustomerRequest_Params
- func (*CreateCustomerRequest) ProtoMessage()
- func (m *CreateCustomerRequest) Reset()
- func (m *CreateCustomerRequest) String() string
- func (m *CreateCustomerRequest) XXX_DiscardUnknown()
- func (m *CreateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCustomerRequest) XXX_Merge(src proto.Message)
- func (m *CreateCustomerRequest) XXX_Size() int
- func (m *CreateCustomerRequest) XXX_Unmarshal(b []byte) error
- type CreateCustomerRequest_Params
- func (*CreateCustomerRequest_Params) Descriptor() ([]byte, []int)
- func (m *CreateCustomerRequest_Params) GetAccountType() int32
- func (m *CreateCustomerRequest_Params) GetEmail() string
- func (m *CreateCustomerRequest_Params) GetKey() string
- func (*CreateCustomerRequest_Params) ProtoMessage()
- func (m *CreateCustomerRequest_Params) Reset()
- func (m *CreateCustomerRequest_Params) String() string
- func (m *CreateCustomerRequest_Params) XXX_DiscardUnknown()
- func (m *CreateCustomerRequest_Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCustomerRequest_Params) XXX_Merge(src proto.Message)
- func (m *CreateCustomerRequest_Params) XXX_Size() int
- func (m *CreateCustomerRequest_Params) XXX_Unmarshal(b []byte) error
- type CreateCustomerResponse
- func (*CreateCustomerResponse) Descriptor() ([]byte, []int)
- func (m *CreateCustomerResponse) GetCustomerId() string
- func (*CreateCustomerResponse) ProtoMessage()
- func (m *CreateCustomerResponse) Reset()
- func (m *CreateCustomerResponse) String() string
- func (m *CreateCustomerResponse) XXX_DiscardUnknown()
- func (m *CreateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCustomerResponse) XXX_Merge(src proto.Message)
- func (m *CreateCustomerResponse) XXX_Size() int
- func (m *CreateCustomerResponse) XXX_Unmarshal(b []byte) error
- type DeleteCustomerRequest
- func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCustomerRequest) GetKey() string
- func (*DeleteCustomerRequest) ProtoMessage()
- func (m *DeleteCustomerRequest) Reset()
- func (m *DeleteCustomerRequest) String() string
- func (m *DeleteCustomerRequest) XXX_DiscardUnknown()
- func (m *DeleteCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCustomerRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCustomerRequest) XXX_Size() int
- func (m *DeleteCustomerRequest) XXX_Unmarshal(b []byte) error
- type DeleteCustomerResponse
- func (*DeleteCustomerResponse) Descriptor() ([]byte, []int)
- func (*DeleteCustomerResponse) ProtoMessage()
- func (m *DeleteCustomerResponse) Reset()
- func (m *DeleteCustomerResponse) String() string
- func (m *DeleteCustomerResponse) XXX_DiscardUnknown()
- func (m *DeleteCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCustomerResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCustomerResponse) XXX_Size() int
- func (m *DeleteCustomerResponse) XXX_Unmarshal(b []byte) error
- type GetCustomerRequest
- func (*GetCustomerRequest) Descriptor() ([]byte, []int)
- func (m *GetCustomerRequest) GetKey() string
- func (*GetCustomerRequest) ProtoMessage()
- func (m *GetCustomerRequest) Reset()
- func (m *GetCustomerRequest) String() string
- func (m *GetCustomerRequest) XXX_DiscardUnknown()
- func (m *GetCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerRequest) XXX_Merge(src proto.Message)
- func (m *GetCustomerRequest) XXX_Size() int
- func (m *GetCustomerRequest) XXX_Unmarshal(b []byte) error
- type GetCustomerResponse
- func (*GetCustomerResponse) Descriptor() ([]byte, []int)
- func (m *GetCustomerResponse) GetAccountStatus() string
- func (m *GetCustomerResponse) GetAccountType() int32
- func (m *GetCustomerResponse) GetBalance() int64
- func (m *GetCustomerResponse) GetBillable() bool
- func (m *GetCustomerResponse) GetCreatedAt() int64
- func (m *GetCustomerResponse) GetCustomerId() string
- func (m *GetCustomerResponse) GetDailyUsage() map[string]*Usage
- func (m *GetCustomerResponse) GetDelinquent() bool
- func (m *GetCustomerResponse) GetDependents() int64
- func (m *GetCustomerResponse) GetEmail() string
- func (m *GetCustomerResponse) GetGracePeriodEnd() int64
- func (m *GetCustomerResponse) GetInvoicePeriod() *Period
- func (m *GetCustomerResponse) GetKey() string
- func (m *GetCustomerResponse) GetParentKey() string
- func (m *GetCustomerResponse) GetSubscriptionStatus() string
- func (*GetCustomerResponse) ProtoMessage()
- func (m *GetCustomerResponse) Reset()
- func (m *GetCustomerResponse) String() string
- func (m *GetCustomerResponse) XXX_DiscardUnknown()
- func (m *GetCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerResponse) XXX_Merge(src proto.Message)
- func (m *GetCustomerResponse) XXX_Size() int
- func (m *GetCustomerResponse) XXX_Unmarshal(b []byte) error
- type GetCustomerSessionRequest
- func (*GetCustomerSessionRequest) Descriptor() ([]byte, []int)
- func (m *GetCustomerSessionRequest) GetKey() string
- func (*GetCustomerSessionRequest) ProtoMessage()
- func (m *GetCustomerSessionRequest) Reset()
- func (m *GetCustomerSessionRequest) String() string
- func (m *GetCustomerSessionRequest) XXX_DiscardUnknown()
- func (m *GetCustomerSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerSessionRequest) XXX_Merge(src proto.Message)
- func (m *GetCustomerSessionRequest) XXX_Size() int
- func (m *GetCustomerSessionRequest) XXX_Unmarshal(b []byte) error
- type GetCustomerSessionResponse
- func (*GetCustomerSessionResponse) Descriptor() ([]byte, []int)
- func (m *GetCustomerSessionResponse) GetUrl() string
- func (*GetCustomerSessionResponse) ProtoMessage()
- func (m *GetCustomerSessionResponse) Reset()
- func (m *GetCustomerSessionResponse) String() string
- func (m *GetCustomerSessionResponse) XXX_DiscardUnknown()
- func (m *GetCustomerSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerSessionResponse) XXX_Merge(src proto.Message)
- func (m *GetCustomerSessionResponse) XXX_Size() int
- func (m *GetCustomerSessionResponse) XXX_Unmarshal(b []byte) error
- type GetCustomerUsageRequest
- func (*GetCustomerUsageRequest) Descriptor() ([]byte, []int)
- func (m *GetCustomerUsageRequest) GetKey() string
- func (*GetCustomerUsageRequest) ProtoMessage()
- func (m *GetCustomerUsageRequest) Reset()
- func (m *GetCustomerUsageRequest) String() string
- func (m *GetCustomerUsageRequest) XXX_DiscardUnknown()
- func (m *GetCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerUsageRequest) XXX_Merge(src proto.Message)
- func (m *GetCustomerUsageRequest) XXX_Size() int
- func (m *GetCustomerUsageRequest) XXX_Unmarshal(b []byte) error
- type GetCustomerUsageResponse
- func (*GetCustomerUsageResponse) Descriptor() ([]byte, []int)
- func (m *GetCustomerUsageResponse) GetUsage() map[string]*Usage
- func (*GetCustomerUsageResponse) ProtoMessage()
- func (m *GetCustomerUsageResponse) Reset()
- func (m *GetCustomerUsageResponse) String() string
- func (m *GetCustomerUsageResponse) XXX_DiscardUnknown()
- func (m *GetCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCustomerUsageResponse) XXX_Merge(src proto.Message)
- func (m *GetCustomerUsageResponse) XXX_Size() int
- func (m *GetCustomerUsageResponse) XXX_Unmarshal(b []byte) error
- type IncCustomerUsageRequest
- func (*IncCustomerUsageRequest) Descriptor() ([]byte, []int)
- func (m *IncCustomerUsageRequest) GetKey() string
- func (m *IncCustomerUsageRequest) GetProductUsage() map[string]int64
- func (*IncCustomerUsageRequest) ProtoMessage()
- func (m *IncCustomerUsageRequest) Reset()
- func (m *IncCustomerUsageRequest) String() string
- func (m *IncCustomerUsageRequest) XXX_DiscardUnknown()
- func (m *IncCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncCustomerUsageRequest) XXX_Merge(src proto.Message)
- func (m *IncCustomerUsageRequest) XXX_Size() int
- func (m *IncCustomerUsageRequest) XXX_Unmarshal(b []byte) error
- type IncCustomerUsageResponse
- func (*IncCustomerUsageResponse) Descriptor() ([]byte, []int)
- func (m *IncCustomerUsageResponse) GetDailyUsage() map[string]*Usage
- func (*IncCustomerUsageResponse) ProtoMessage()
- func (m *IncCustomerUsageResponse) Reset()
- func (m *IncCustomerUsageResponse) String() string
- func (m *IncCustomerUsageResponse) XXX_DiscardUnknown()
- func (m *IncCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncCustomerUsageResponse) XXX_Merge(src proto.Message)
- func (m *IncCustomerUsageResponse) XXX_Size() int
- func (m *IncCustomerUsageResponse) XXX_Unmarshal(b []byte) error
- type ListDependentCustomersRequest
- func (*ListDependentCustomersRequest) Descriptor() ([]byte, []int)
- func (m *ListDependentCustomersRequest) GetKey() string
- func (m *ListDependentCustomersRequest) GetLimit() int64
- func (m *ListDependentCustomersRequest) GetOffset() int64
- func (*ListDependentCustomersRequest) ProtoMessage()
- func (m *ListDependentCustomersRequest) Reset()
- func (m *ListDependentCustomersRequest) String() string
- func (m *ListDependentCustomersRequest) XXX_DiscardUnknown()
- func (m *ListDependentCustomersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDependentCustomersRequest) XXX_Merge(src proto.Message)
- func (m *ListDependentCustomersRequest) XXX_Size() int
- func (m *ListDependentCustomersRequest) XXX_Unmarshal(b []byte) error
- type ListDependentCustomersResponse
- func (*ListDependentCustomersResponse) Descriptor() ([]byte, []int)
- func (m *ListDependentCustomersResponse) GetCustomers() []*GetCustomerResponse
- func (m *ListDependentCustomersResponse) GetNextOffset() int64
- func (*ListDependentCustomersResponse) ProtoMessage()
- func (m *ListDependentCustomersResponse) Reset()
- func (m *ListDependentCustomersResponse) String() string
- func (m *ListDependentCustomersResponse) XXX_DiscardUnknown()
- func (m *ListDependentCustomersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDependentCustomersResponse) XXX_Merge(src proto.Message)
- func (m *ListDependentCustomersResponse) XXX_Size() int
- func (m *ListDependentCustomersResponse) XXX_Unmarshal(b []byte) error
- type Period
- func (*Period) Descriptor() ([]byte, []int)
- func (m *Period) GetUnixEnd() int64
- func (m *Period) GetUnixStart() int64
- func (*Period) ProtoMessage()
- func (m *Period) Reset()
- func (m *Period) String() string
- func (m *Period) XXX_DiscardUnknown()
- func (m *Period) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Period) XXX_Merge(src proto.Message)
- func (m *Period) XXX_Size() int
- func (m *Period) XXX_Unmarshal(b []byte) error
- type RecreateCustomerSubscriptionRequest
- func (*RecreateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)
- func (m *RecreateCustomerSubscriptionRequest) GetKey() string
- func (*RecreateCustomerSubscriptionRequest) ProtoMessage()
- func (m *RecreateCustomerSubscriptionRequest) Reset()
- func (m *RecreateCustomerSubscriptionRequest) String() string
- func (m *RecreateCustomerSubscriptionRequest) XXX_DiscardUnknown()
- func (m *RecreateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecreateCustomerSubscriptionRequest) XXX_Merge(src proto.Message)
- func (m *RecreateCustomerSubscriptionRequest) XXX_Size() int
- func (m *RecreateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error
- type RecreateCustomerSubscriptionResponse
- func (*RecreateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)
- func (*RecreateCustomerSubscriptionResponse) ProtoMessage()
- func (m *RecreateCustomerSubscriptionResponse) Reset()
- func (m *RecreateCustomerSubscriptionResponse) String() string
- func (m *RecreateCustomerSubscriptionResponse) XXX_DiscardUnknown()
- func (m *RecreateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecreateCustomerSubscriptionResponse) XXX_Merge(src proto.Message)
- func (m *RecreateCustomerSubscriptionResponse) XXX_Size() int
- func (m *RecreateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error
- type ReportCustomerUsageRequest
- func (*ReportCustomerUsageRequest) Descriptor() ([]byte, []int)
- func (m *ReportCustomerUsageRequest) GetKey() string
- func (*ReportCustomerUsageRequest) ProtoMessage()
- func (m *ReportCustomerUsageRequest) Reset()
- func (m *ReportCustomerUsageRequest) String() string
- func (m *ReportCustomerUsageRequest) XXX_DiscardUnknown()
- func (m *ReportCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportCustomerUsageRequest) XXX_Merge(src proto.Message)
- func (m *ReportCustomerUsageRequest) XXX_Size() int
- func (m *ReportCustomerUsageRequest) XXX_Unmarshal(b []byte) error
- type ReportCustomerUsageResponse
- func (*ReportCustomerUsageResponse) Descriptor() ([]byte, []int)
- func (*ReportCustomerUsageResponse) ProtoMessage()
- func (m *ReportCustomerUsageResponse) Reset()
- func (m *ReportCustomerUsageResponse) String() string
- func (m *ReportCustomerUsageResponse) XXX_DiscardUnknown()
- func (m *ReportCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportCustomerUsageResponse) XXX_Merge(src proto.Message)
- func (m *ReportCustomerUsageResponse) XXX_Size() int
- func (m *ReportCustomerUsageResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAPIServiceServer
- func (*UnimplementedAPIServiceServer) CheckHealth(ctx context.Context, req *CheckHealthRequest) (*CheckHealthResponse, error)
- func (*UnimplementedAPIServiceServer) CreateCustomer(ctx context.Context, req *CreateCustomerRequest) (*CreateCustomerResponse, error)
- func (*UnimplementedAPIServiceServer) DeleteCustomer(ctx context.Context, req *DeleteCustomerRequest) (*DeleteCustomerResponse, error)
- func (*UnimplementedAPIServiceServer) GetCustomer(ctx context.Context, req *GetCustomerRequest) (*GetCustomerResponse, error)
- func (*UnimplementedAPIServiceServer) GetCustomerSession(ctx context.Context, req *GetCustomerSessionRequest) (*GetCustomerSessionResponse, error)
- func (*UnimplementedAPIServiceServer) GetCustomerUsage(ctx context.Context, req *GetCustomerUsageRequest) (*GetCustomerUsageResponse, error)
- func (*UnimplementedAPIServiceServer) IncCustomerUsage(ctx context.Context, req *IncCustomerUsageRequest) (*IncCustomerUsageResponse, error)
- func (*UnimplementedAPIServiceServer) ListDependentCustomers(ctx context.Context, req *ListDependentCustomersRequest) (*ListDependentCustomersResponse, error)
- func (*UnimplementedAPIServiceServer) RecreateCustomerSubscription(ctx context.Context, req *RecreateCustomerSubscriptionRequest) (*RecreateCustomerSubscriptionResponse, error)
- func (*UnimplementedAPIServiceServer) ReportCustomerUsage(ctx context.Context, req *ReportCustomerUsageRequest) (*ReportCustomerUsageResponse, error)
- func (*UnimplementedAPIServiceServer) UpdateCustomer(ctx context.Context, req *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
- func (*UnimplementedAPIServiceServer) UpdateCustomerSubscription(ctx context.Context, req *UpdateCustomerSubscriptionRequest) (*UpdateCustomerSubscriptionResponse, error)
- type UpdateCustomerRequest
- func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCustomerRequest) GetBalance() int64
- func (m *UpdateCustomerRequest) GetBillable() bool
- func (m *UpdateCustomerRequest) GetCustomerId() string
- func (m *UpdateCustomerRequest) GetDelinquent() bool
- func (*UpdateCustomerRequest) ProtoMessage()
- func (m *UpdateCustomerRequest) Reset()
- func (m *UpdateCustomerRequest) String() string
- func (m *UpdateCustomerRequest) XXX_DiscardUnknown()
- func (m *UpdateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCustomerRequest) XXX_Merge(src proto.Message)
- func (m *UpdateCustomerRequest) XXX_Size() int
- func (m *UpdateCustomerRequest) XXX_Unmarshal(b []byte) error
- type UpdateCustomerResponse
- func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)
- func (*UpdateCustomerResponse) ProtoMessage()
- func (m *UpdateCustomerResponse) Reset()
- func (m *UpdateCustomerResponse) String() string
- func (m *UpdateCustomerResponse) XXX_DiscardUnknown()
- func (m *UpdateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCustomerResponse) XXX_Merge(src proto.Message)
- func (m *UpdateCustomerResponse) XXX_Size() int
- func (m *UpdateCustomerResponse) XXX_Unmarshal(b []byte) error
- type UpdateCustomerSubscriptionRequest
- func (*UpdateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCustomerSubscriptionRequest) GetCustomerId() string
- func (m *UpdateCustomerSubscriptionRequest) GetInvoicePeriod() *Period
- func (m *UpdateCustomerSubscriptionRequest) GetStatus() string
- func (*UpdateCustomerSubscriptionRequest) ProtoMessage()
- func (m *UpdateCustomerSubscriptionRequest) Reset()
- func (m *UpdateCustomerSubscriptionRequest) String() string
- func (m *UpdateCustomerSubscriptionRequest) XXX_DiscardUnknown()
- func (m *UpdateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCustomerSubscriptionRequest) XXX_Merge(src proto.Message)
- func (m *UpdateCustomerSubscriptionRequest) XXX_Size() int
- func (m *UpdateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error
- type UpdateCustomerSubscriptionResponse
- func (*UpdateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)
- func (*UpdateCustomerSubscriptionResponse) ProtoMessage()
- func (m *UpdateCustomerSubscriptionResponse) Reset()
- func (m *UpdateCustomerSubscriptionResponse) String() string
- func (m *UpdateCustomerSubscriptionResponse) XXX_DiscardUnknown()
- func (m *UpdateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCustomerSubscriptionResponse) XXX_Merge(src proto.Message)
- func (m *UpdateCustomerSubscriptionResponse) XXX_Size() int
- func (m *UpdateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)
- func (m *Usage) GetCost() float64
- func (m *Usage) GetDescription() string
- func (m *Usage) GetFree() int64
- func (m *Usage) GetGrace() int64
- func (m *Usage) GetPeriod() *Period
- func (m *Usage) GetTotal() int64
- func (m *Usage) GetUnits() int64
- func (*Usage) ProtoMessage()
- func (m *Usage) Reset()
- func (m *Usage) String() string
- func (m *Usage) XXX_DiscardUnknown()
- func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Usage) XXX_Merge(src proto.Message)
- func (m *Usage) XXX_Size() int
- func (m *Usage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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)
}
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.ClientConn) APIServiceClient
type APIServiceServer ¶
type APIServiceServer interface {
CheckHealth(context.Context, *CheckHealthRequest) (*CheckHealthResponse, error)
CreateCustomer(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error)
GetCustomer(context.Context, *GetCustomerRequest) (*GetCustomerResponse, error)
ListDependentCustomers(context.Context, *ListDependentCustomersRequest) (*ListDependentCustomersResponse, error)
GetCustomerSession(context.Context, *GetCustomerSessionRequest) (*GetCustomerSessionResponse, error)
UpdateCustomer(context.Context, *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
UpdateCustomerSubscription(context.Context, *UpdateCustomerSubscriptionRequest) (*UpdateCustomerSubscriptionResponse, error)
RecreateCustomerSubscription(context.Context, *RecreateCustomerSubscriptionRequest) (*RecreateCustomerSubscriptionResponse, error)
DeleteCustomer(context.Context, *DeleteCustomerRequest) (*DeleteCustomerResponse, error)
GetCustomerUsage(context.Context, *GetCustomerUsageRequest) (*GetCustomerUsageResponse, error)
IncCustomerUsage(context.Context, *IncCustomerUsageRequest) (*IncCustomerUsageResponse, error)
ReportCustomerUsage(context.Context, *ReportCustomerUsageRequest) (*ReportCustomerUsageResponse, error)
}
APIServiceServer is the server API for APIService service.
type CheckHealthRequest ¶
type CheckHealthRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CheckHealthRequest) Descriptor ¶
func (*CheckHealthRequest) Descriptor() ([]byte, []int)
func (*CheckHealthRequest) ProtoMessage ¶
func (*CheckHealthRequest) ProtoMessage()
func (*CheckHealthRequest) Reset ¶
func (m *CheckHealthRequest) Reset()
func (*CheckHealthRequest) String ¶
func (m *CheckHealthRequest) String() string
func (*CheckHealthRequest) XXX_DiscardUnknown ¶
func (m *CheckHealthRequest) XXX_DiscardUnknown()
func (*CheckHealthRequest) XXX_Marshal ¶
func (m *CheckHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckHealthRequest) XXX_Merge ¶
func (m *CheckHealthRequest) XXX_Merge(src proto.Message)
func (*CheckHealthRequest) XXX_Size ¶
func (m *CheckHealthRequest) XXX_Size() int
func (*CheckHealthRequest) XXX_Unmarshal ¶
func (m *CheckHealthRequest) XXX_Unmarshal(b []byte) error
type CheckHealthResponse ¶
type CheckHealthResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CheckHealthResponse) Descriptor ¶
func (*CheckHealthResponse) Descriptor() ([]byte, []int)
func (*CheckHealthResponse) ProtoMessage ¶
func (*CheckHealthResponse) ProtoMessage()
func (*CheckHealthResponse) Reset ¶
func (m *CheckHealthResponse) Reset()
func (*CheckHealthResponse) String ¶
func (m *CheckHealthResponse) String() string
func (*CheckHealthResponse) XXX_DiscardUnknown ¶
func (m *CheckHealthResponse) XXX_DiscardUnknown()
func (*CheckHealthResponse) XXX_Marshal ¶
func (m *CheckHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckHealthResponse) XXX_Merge ¶
func (m *CheckHealthResponse) XXX_Merge(src proto.Message)
func (*CheckHealthResponse) XXX_Size ¶
func (m *CheckHealthResponse) XXX_Size() int
func (*CheckHealthResponse) XXX_Unmarshal ¶
func (m *CheckHealthResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateCustomerRequest) Descriptor ¶
func (*CreateCustomerRequest) Descriptor() ([]byte, []int)
func (*CreateCustomerRequest) GetCustomer ¶ added in v2.1.7
func (m *CreateCustomerRequest) GetCustomer() *CreateCustomerRequest_Params
func (*CreateCustomerRequest) GetParent ¶ added in v2.1.7
func (m *CreateCustomerRequest) GetParent() *CreateCustomerRequest_Params
func (*CreateCustomerRequest) ProtoMessage ¶
func (*CreateCustomerRequest) ProtoMessage()
func (*CreateCustomerRequest) Reset ¶
func (m *CreateCustomerRequest) Reset()
func (*CreateCustomerRequest) String ¶
func (m *CreateCustomerRequest) String() string
func (*CreateCustomerRequest) XXX_DiscardUnknown ¶
func (m *CreateCustomerRequest) XXX_DiscardUnknown()
func (*CreateCustomerRequest) XXX_Marshal ¶
func (m *CreateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCustomerRequest) XXX_Merge ¶
func (m *CreateCustomerRequest) XXX_Merge(src proto.Message)
func (*CreateCustomerRequest) XXX_Size ¶
func (m *CreateCustomerRequest) XXX_Size() int
func (*CreateCustomerRequest) XXX_Unmarshal ¶
func (m *CreateCustomerRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateCustomerRequest_Params) Descriptor ¶ added in v2.1.7
func (*CreateCustomerRequest_Params) Descriptor() ([]byte, []int)
func (*CreateCustomerRequest_Params) GetAccountType ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) GetAccountType() int32
func (*CreateCustomerRequest_Params) GetEmail ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) GetEmail() string
func (*CreateCustomerRequest_Params) GetKey ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) GetKey() string
func (*CreateCustomerRequest_Params) ProtoMessage ¶ added in v2.1.7
func (*CreateCustomerRequest_Params) ProtoMessage()
func (*CreateCustomerRequest_Params) Reset ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) Reset()
func (*CreateCustomerRequest_Params) String ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) String() string
func (*CreateCustomerRequest_Params) XXX_DiscardUnknown ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) XXX_DiscardUnknown()
func (*CreateCustomerRequest_Params) XXX_Marshal ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCustomerRequest_Params) XXX_Merge ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) XXX_Merge(src proto.Message)
func (*CreateCustomerRequest_Params) XXX_Size ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) XXX_Size() int
func (*CreateCustomerRequest_Params) XXX_Unmarshal ¶ added in v2.1.7
func (m *CreateCustomerRequest_Params) XXX_Unmarshal(b []byte) error
type CreateCustomerResponse ¶
type CreateCustomerResponse struct {
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateCustomerResponse) Descriptor ¶
func (*CreateCustomerResponse) Descriptor() ([]byte, []int)
func (*CreateCustomerResponse) GetCustomerId ¶
func (m *CreateCustomerResponse) GetCustomerId() string
func (*CreateCustomerResponse) ProtoMessage ¶
func (*CreateCustomerResponse) ProtoMessage()
func (*CreateCustomerResponse) Reset ¶
func (m *CreateCustomerResponse) Reset()
func (*CreateCustomerResponse) String ¶
func (m *CreateCustomerResponse) String() string
func (*CreateCustomerResponse) XXX_DiscardUnknown ¶
func (m *CreateCustomerResponse) XXX_DiscardUnknown()
func (*CreateCustomerResponse) XXX_Marshal ¶
func (m *CreateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCustomerResponse) XXX_Merge ¶
func (m *CreateCustomerResponse) XXX_Merge(src proto.Message)
func (*CreateCustomerResponse) XXX_Size ¶
func (m *CreateCustomerResponse) XXX_Size() int
func (*CreateCustomerResponse) XXX_Unmarshal ¶
func (m *CreateCustomerResponse) XXX_Unmarshal(b []byte) error
type DeleteCustomerRequest ¶
type DeleteCustomerRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeleteCustomerRequest) Descriptor ¶
func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)
func (*DeleteCustomerRequest) GetKey ¶
func (m *DeleteCustomerRequest) GetKey() string
func (*DeleteCustomerRequest) ProtoMessage ¶
func (*DeleteCustomerRequest) ProtoMessage()
func (*DeleteCustomerRequest) Reset ¶
func (m *DeleteCustomerRequest) Reset()
func (*DeleteCustomerRequest) String ¶
func (m *DeleteCustomerRequest) String() string
func (*DeleteCustomerRequest) XXX_DiscardUnknown ¶
func (m *DeleteCustomerRequest) XXX_DiscardUnknown()
func (*DeleteCustomerRequest) XXX_Marshal ¶
func (m *DeleteCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCustomerRequest) XXX_Merge ¶
func (m *DeleteCustomerRequest) XXX_Merge(src proto.Message)
func (*DeleteCustomerRequest) XXX_Size ¶
func (m *DeleteCustomerRequest) XXX_Size() int
func (*DeleteCustomerRequest) XXX_Unmarshal ¶
func (m *DeleteCustomerRequest) XXX_Unmarshal(b []byte) error
type DeleteCustomerResponse ¶
type DeleteCustomerResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeleteCustomerResponse) Descriptor ¶
func (*DeleteCustomerResponse) Descriptor() ([]byte, []int)
func (*DeleteCustomerResponse) ProtoMessage ¶
func (*DeleteCustomerResponse) ProtoMessage()
func (*DeleteCustomerResponse) Reset ¶
func (m *DeleteCustomerResponse) Reset()
func (*DeleteCustomerResponse) String ¶
func (m *DeleteCustomerResponse) String() string
func (*DeleteCustomerResponse) XXX_DiscardUnknown ¶
func (m *DeleteCustomerResponse) XXX_DiscardUnknown()
func (*DeleteCustomerResponse) XXX_Marshal ¶
func (m *DeleteCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCustomerResponse) XXX_Merge ¶
func (m *DeleteCustomerResponse) XXX_Merge(src proto.Message)
func (*DeleteCustomerResponse) XXX_Size ¶
func (m *DeleteCustomerResponse) XXX_Size() int
func (*DeleteCustomerResponse) XXX_Unmarshal ¶
func (m *DeleteCustomerResponse) XXX_Unmarshal(b []byte) error
type GetCustomerRequest ¶
type GetCustomerRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerRequest) Descriptor ¶
func (*GetCustomerRequest) Descriptor() ([]byte, []int)
func (*GetCustomerRequest) GetKey ¶
func (m *GetCustomerRequest) GetKey() string
func (*GetCustomerRequest) ProtoMessage ¶
func (*GetCustomerRequest) ProtoMessage()
func (*GetCustomerRequest) Reset ¶
func (m *GetCustomerRequest) Reset()
func (*GetCustomerRequest) String ¶
func (m *GetCustomerRequest) String() string
func (*GetCustomerRequest) XXX_DiscardUnknown ¶
func (m *GetCustomerRequest) XXX_DiscardUnknown()
func (*GetCustomerRequest) XXX_Marshal ¶
func (m *GetCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerRequest) XXX_Merge ¶
func (m *GetCustomerRequest) XXX_Merge(src proto.Message)
func (*GetCustomerRequest) XXX_Size ¶
func (m *GetCustomerRequest) XXX_Size() int
func (*GetCustomerRequest) XXX_Unmarshal ¶
func (m *GetCustomerRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerResponse) Descriptor ¶
func (*GetCustomerResponse) Descriptor() ([]byte, []int)
func (*GetCustomerResponse) GetAccountStatus ¶
func (m *GetCustomerResponse) GetAccountStatus() string
func (*GetCustomerResponse) GetAccountType ¶ added in v2.1.7
func (m *GetCustomerResponse) GetAccountType() int32
func (*GetCustomerResponse) GetBalance ¶
func (m *GetCustomerResponse) GetBalance() int64
func (*GetCustomerResponse) GetBillable ¶
func (m *GetCustomerResponse) GetBillable() bool
func (*GetCustomerResponse) GetCreatedAt ¶
func (m *GetCustomerResponse) GetCreatedAt() int64
func (*GetCustomerResponse) GetCustomerId ¶
func (m *GetCustomerResponse) GetCustomerId() string
func (*GetCustomerResponse) GetDailyUsage ¶
func (m *GetCustomerResponse) GetDailyUsage() map[string]*Usage
func (*GetCustomerResponse) GetDelinquent ¶
func (m *GetCustomerResponse) GetDelinquent() bool
func (*GetCustomerResponse) GetDependents ¶
func (m *GetCustomerResponse) GetDependents() int64
func (*GetCustomerResponse) GetEmail ¶
func (m *GetCustomerResponse) GetEmail() string
func (*GetCustomerResponse) GetGracePeriodEnd ¶
func (m *GetCustomerResponse) GetGracePeriodEnd() int64
func (*GetCustomerResponse) GetInvoicePeriod ¶
func (m *GetCustomerResponse) GetInvoicePeriod() *Period
func (*GetCustomerResponse) GetKey ¶
func (m *GetCustomerResponse) GetKey() string
func (*GetCustomerResponse) GetParentKey ¶
func (m *GetCustomerResponse) GetParentKey() string
func (*GetCustomerResponse) GetSubscriptionStatus ¶
func (m *GetCustomerResponse) GetSubscriptionStatus() string
func (*GetCustomerResponse) ProtoMessage ¶
func (*GetCustomerResponse) ProtoMessage()
func (*GetCustomerResponse) Reset ¶
func (m *GetCustomerResponse) Reset()
func (*GetCustomerResponse) String ¶
func (m *GetCustomerResponse) String() string
func (*GetCustomerResponse) XXX_DiscardUnknown ¶
func (m *GetCustomerResponse) XXX_DiscardUnknown()
func (*GetCustomerResponse) XXX_Marshal ¶
func (m *GetCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerResponse) XXX_Merge ¶
func (m *GetCustomerResponse) XXX_Merge(src proto.Message)
func (*GetCustomerResponse) XXX_Size ¶
func (m *GetCustomerResponse) XXX_Size() int
func (*GetCustomerResponse) XXX_Unmarshal ¶
func (m *GetCustomerResponse) XXX_Unmarshal(b []byte) error
type GetCustomerSessionRequest ¶
type GetCustomerSessionRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerSessionRequest) Descriptor ¶
func (*GetCustomerSessionRequest) Descriptor() ([]byte, []int)
func (*GetCustomerSessionRequest) GetKey ¶
func (m *GetCustomerSessionRequest) GetKey() string
func (*GetCustomerSessionRequest) ProtoMessage ¶
func (*GetCustomerSessionRequest) ProtoMessage()
func (*GetCustomerSessionRequest) Reset ¶
func (m *GetCustomerSessionRequest) Reset()
func (*GetCustomerSessionRequest) String ¶
func (m *GetCustomerSessionRequest) String() string
func (*GetCustomerSessionRequest) XXX_DiscardUnknown ¶
func (m *GetCustomerSessionRequest) XXX_DiscardUnknown()
func (*GetCustomerSessionRequest) XXX_Marshal ¶
func (m *GetCustomerSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerSessionRequest) XXX_Merge ¶
func (m *GetCustomerSessionRequest) XXX_Merge(src proto.Message)
func (*GetCustomerSessionRequest) XXX_Size ¶
func (m *GetCustomerSessionRequest) XXX_Size() int
func (*GetCustomerSessionRequest) XXX_Unmarshal ¶
func (m *GetCustomerSessionRequest) XXX_Unmarshal(b []byte) error
type GetCustomerSessionResponse ¶
type GetCustomerSessionResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerSessionResponse) Descriptor ¶
func (*GetCustomerSessionResponse) Descriptor() ([]byte, []int)
func (*GetCustomerSessionResponse) GetUrl ¶
func (m *GetCustomerSessionResponse) GetUrl() string
func (*GetCustomerSessionResponse) ProtoMessage ¶
func (*GetCustomerSessionResponse) ProtoMessage()
func (*GetCustomerSessionResponse) Reset ¶
func (m *GetCustomerSessionResponse) Reset()
func (*GetCustomerSessionResponse) String ¶
func (m *GetCustomerSessionResponse) String() string
func (*GetCustomerSessionResponse) XXX_DiscardUnknown ¶
func (m *GetCustomerSessionResponse) XXX_DiscardUnknown()
func (*GetCustomerSessionResponse) XXX_Marshal ¶
func (m *GetCustomerSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerSessionResponse) XXX_Merge ¶
func (m *GetCustomerSessionResponse) XXX_Merge(src proto.Message)
func (*GetCustomerSessionResponse) XXX_Size ¶
func (m *GetCustomerSessionResponse) XXX_Size() int
func (*GetCustomerSessionResponse) XXX_Unmarshal ¶
func (m *GetCustomerSessionResponse) XXX_Unmarshal(b []byte) error
type GetCustomerUsageRequest ¶ added in v2.1.5
type GetCustomerUsageRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerUsageRequest) Descriptor ¶ added in v2.1.5
func (*GetCustomerUsageRequest) Descriptor() ([]byte, []int)
func (*GetCustomerUsageRequest) GetKey ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) GetKey() string
func (*GetCustomerUsageRequest) ProtoMessage ¶ added in v2.1.5
func (*GetCustomerUsageRequest) ProtoMessage()
func (*GetCustomerUsageRequest) Reset ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) Reset()
func (*GetCustomerUsageRequest) String ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) String() string
func (*GetCustomerUsageRequest) XXX_DiscardUnknown ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) XXX_DiscardUnknown()
func (*GetCustomerUsageRequest) XXX_Marshal ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerUsageRequest) XXX_Merge ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) XXX_Merge(src proto.Message)
func (*GetCustomerUsageRequest) XXX_Size ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) XXX_Size() int
func (*GetCustomerUsageRequest) XXX_Unmarshal ¶ added in v2.1.5
func (m *GetCustomerUsageRequest) XXX_Unmarshal(b []byte) error
type GetCustomerUsageResponse ¶ added in v2.1.5
type GetCustomerUsageResponse struct {
Usage map[string]*Usage `` /* 151-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetCustomerUsageResponse) Descriptor ¶ added in v2.1.5
func (*GetCustomerUsageResponse) Descriptor() ([]byte, []int)
func (*GetCustomerUsageResponse) GetUsage ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) GetUsage() map[string]*Usage
func (*GetCustomerUsageResponse) ProtoMessage ¶ added in v2.1.5
func (*GetCustomerUsageResponse) ProtoMessage()
func (*GetCustomerUsageResponse) Reset ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) Reset()
func (*GetCustomerUsageResponse) String ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) String() string
func (*GetCustomerUsageResponse) XXX_DiscardUnknown ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) XXX_DiscardUnknown()
func (*GetCustomerUsageResponse) XXX_Marshal ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCustomerUsageResponse) XXX_Merge ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) XXX_Merge(src proto.Message)
func (*GetCustomerUsageResponse) XXX_Size ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) XXX_Size() int
func (*GetCustomerUsageResponse) XXX_Unmarshal ¶ added in v2.1.5
func (m *GetCustomerUsageResponse) XXX_Unmarshal(b []byte) error
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 */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IncCustomerUsageRequest) Descriptor ¶
func (*IncCustomerUsageRequest) Descriptor() ([]byte, []int)
func (*IncCustomerUsageRequest) GetKey ¶
func (m *IncCustomerUsageRequest) GetKey() string
func (*IncCustomerUsageRequest) GetProductUsage ¶
func (m *IncCustomerUsageRequest) GetProductUsage() map[string]int64
func (*IncCustomerUsageRequest) ProtoMessage ¶
func (*IncCustomerUsageRequest) ProtoMessage()
func (*IncCustomerUsageRequest) Reset ¶
func (m *IncCustomerUsageRequest) Reset()
func (*IncCustomerUsageRequest) String ¶
func (m *IncCustomerUsageRequest) String() string
func (*IncCustomerUsageRequest) XXX_DiscardUnknown ¶
func (m *IncCustomerUsageRequest) XXX_DiscardUnknown()
func (*IncCustomerUsageRequest) XXX_Marshal ¶
func (m *IncCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncCustomerUsageRequest) XXX_Merge ¶
func (m *IncCustomerUsageRequest) XXX_Merge(src proto.Message)
func (*IncCustomerUsageRequest) XXX_Size ¶
func (m *IncCustomerUsageRequest) XXX_Size() int
func (*IncCustomerUsageRequest) XXX_Unmarshal ¶
func (m *IncCustomerUsageRequest) XXX_Unmarshal(b []byte) error
type IncCustomerUsageResponse ¶
type IncCustomerUsageResponse struct {
DailyUsage map[string]*Usage `` /* 179-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IncCustomerUsageResponse) Descriptor ¶
func (*IncCustomerUsageResponse) Descriptor() ([]byte, []int)
func (*IncCustomerUsageResponse) GetDailyUsage ¶
func (m *IncCustomerUsageResponse) GetDailyUsage() map[string]*Usage
func (*IncCustomerUsageResponse) ProtoMessage ¶
func (*IncCustomerUsageResponse) ProtoMessage()
func (*IncCustomerUsageResponse) Reset ¶
func (m *IncCustomerUsageResponse) Reset()
func (*IncCustomerUsageResponse) String ¶
func (m *IncCustomerUsageResponse) String() string
func (*IncCustomerUsageResponse) XXX_DiscardUnknown ¶
func (m *IncCustomerUsageResponse) XXX_DiscardUnknown()
func (*IncCustomerUsageResponse) XXX_Marshal ¶
func (m *IncCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncCustomerUsageResponse) XXX_Merge ¶
func (m *IncCustomerUsageResponse) XXX_Merge(src proto.Message)
func (*IncCustomerUsageResponse) XXX_Size ¶
func (m *IncCustomerUsageResponse) XXX_Size() int
func (*IncCustomerUsageResponse) XXX_Unmarshal ¶
func (m *IncCustomerUsageResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListDependentCustomersRequest) Descriptor ¶
func (*ListDependentCustomersRequest) Descriptor() ([]byte, []int)
func (*ListDependentCustomersRequest) GetKey ¶
func (m *ListDependentCustomersRequest) GetKey() string
func (*ListDependentCustomersRequest) GetLimit ¶
func (m *ListDependentCustomersRequest) GetLimit() int64
func (*ListDependentCustomersRequest) GetOffset ¶
func (m *ListDependentCustomersRequest) GetOffset() int64
func (*ListDependentCustomersRequest) ProtoMessage ¶
func (*ListDependentCustomersRequest) ProtoMessage()
func (*ListDependentCustomersRequest) Reset ¶
func (m *ListDependentCustomersRequest) Reset()
func (*ListDependentCustomersRequest) String ¶
func (m *ListDependentCustomersRequest) String() string
func (*ListDependentCustomersRequest) XXX_DiscardUnknown ¶
func (m *ListDependentCustomersRequest) XXX_DiscardUnknown()
func (*ListDependentCustomersRequest) XXX_Marshal ¶
func (m *ListDependentCustomersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDependentCustomersRequest) XXX_Merge ¶
func (m *ListDependentCustomersRequest) XXX_Merge(src proto.Message)
func (*ListDependentCustomersRequest) XXX_Size ¶
func (m *ListDependentCustomersRequest) XXX_Size() int
func (*ListDependentCustomersRequest) XXX_Unmarshal ¶
func (m *ListDependentCustomersRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListDependentCustomersResponse) Descriptor ¶
func (*ListDependentCustomersResponse) Descriptor() ([]byte, []int)
func (*ListDependentCustomersResponse) GetCustomers ¶
func (m *ListDependentCustomersResponse) GetCustomers() []*GetCustomerResponse
func (*ListDependentCustomersResponse) GetNextOffset ¶
func (m *ListDependentCustomersResponse) GetNextOffset() int64
func (*ListDependentCustomersResponse) ProtoMessage ¶
func (*ListDependentCustomersResponse) ProtoMessage()
func (*ListDependentCustomersResponse) Reset ¶
func (m *ListDependentCustomersResponse) Reset()
func (*ListDependentCustomersResponse) String ¶
func (m *ListDependentCustomersResponse) String() string
func (*ListDependentCustomersResponse) XXX_DiscardUnknown ¶
func (m *ListDependentCustomersResponse) XXX_DiscardUnknown()
func (*ListDependentCustomersResponse) XXX_Marshal ¶
func (m *ListDependentCustomersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDependentCustomersResponse) XXX_Merge ¶
func (m *ListDependentCustomersResponse) XXX_Merge(src proto.Message)
func (*ListDependentCustomersResponse) XXX_Size ¶
func (m *ListDependentCustomersResponse) XXX_Size() int
func (*ListDependentCustomersResponse) XXX_Unmarshal ¶
func (m *ListDependentCustomersResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Period) Descriptor ¶
func (*Period) GetUnixEnd ¶
func (*Period) GetUnixStart ¶
func (*Period) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) XXX_DiscardUnknown ¶
func (m *Period) XXX_DiscardUnknown()
func (*Period) XXX_Marshal ¶
func (*Period) XXX_Unmarshal ¶
type RecreateCustomerSubscriptionRequest ¶
type RecreateCustomerSubscriptionRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RecreateCustomerSubscriptionRequest) Descriptor ¶
func (*RecreateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)
func (*RecreateCustomerSubscriptionRequest) GetKey ¶
func (m *RecreateCustomerSubscriptionRequest) GetKey() string
func (*RecreateCustomerSubscriptionRequest) ProtoMessage ¶
func (*RecreateCustomerSubscriptionRequest) ProtoMessage()
func (*RecreateCustomerSubscriptionRequest) Reset ¶
func (m *RecreateCustomerSubscriptionRequest) Reset()
func (*RecreateCustomerSubscriptionRequest) String ¶
func (m *RecreateCustomerSubscriptionRequest) String() string
func (*RecreateCustomerSubscriptionRequest) XXX_DiscardUnknown ¶
func (m *RecreateCustomerSubscriptionRequest) XXX_DiscardUnknown()
func (*RecreateCustomerSubscriptionRequest) XXX_Marshal ¶
func (m *RecreateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecreateCustomerSubscriptionRequest) XXX_Merge ¶
func (m *RecreateCustomerSubscriptionRequest) XXX_Merge(src proto.Message)
func (*RecreateCustomerSubscriptionRequest) XXX_Size ¶
func (m *RecreateCustomerSubscriptionRequest) XXX_Size() int
func (*RecreateCustomerSubscriptionRequest) XXX_Unmarshal ¶
func (m *RecreateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error
type RecreateCustomerSubscriptionResponse ¶
type RecreateCustomerSubscriptionResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RecreateCustomerSubscriptionResponse) Descriptor ¶
func (*RecreateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)
func (*RecreateCustomerSubscriptionResponse) ProtoMessage ¶
func (*RecreateCustomerSubscriptionResponse) ProtoMessage()
func (*RecreateCustomerSubscriptionResponse) Reset ¶
func (m *RecreateCustomerSubscriptionResponse) Reset()
func (*RecreateCustomerSubscriptionResponse) String ¶
func (m *RecreateCustomerSubscriptionResponse) String() string
func (*RecreateCustomerSubscriptionResponse) XXX_DiscardUnknown ¶
func (m *RecreateCustomerSubscriptionResponse) XXX_DiscardUnknown()
func (*RecreateCustomerSubscriptionResponse) XXX_Marshal ¶
func (m *RecreateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecreateCustomerSubscriptionResponse) XXX_Merge ¶
func (m *RecreateCustomerSubscriptionResponse) XXX_Merge(src proto.Message)
func (*RecreateCustomerSubscriptionResponse) XXX_Size ¶
func (m *RecreateCustomerSubscriptionResponse) XXX_Size() int
func (*RecreateCustomerSubscriptionResponse) XXX_Unmarshal ¶
func (m *RecreateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error
type ReportCustomerUsageRequest ¶ added in v2.1.5
type ReportCustomerUsageRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReportCustomerUsageRequest) Descriptor ¶ added in v2.1.5
func (*ReportCustomerUsageRequest) Descriptor() ([]byte, []int)
func (*ReportCustomerUsageRequest) GetKey ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) GetKey() string
func (*ReportCustomerUsageRequest) ProtoMessage ¶ added in v2.1.5
func (*ReportCustomerUsageRequest) ProtoMessage()
func (*ReportCustomerUsageRequest) Reset ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) Reset()
func (*ReportCustomerUsageRequest) String ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) String() string
func (*ReportCustomerUsageRequest) XXX_DiscardUnknown ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) XXX_DiscardUnknown()
func (*ReportCustomerUsageRequest) XXX_Marshal ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportCustomerUsageRequest) XXX_Merge ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) XXX_Merge(src proto.Message)
func (*ReportCustomerUsageRequest) XXX_Size ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) XXX_Size() int
func (*ReportCustomerUsageRequest) XXX_Unmarshal ¶ added in v2.1.5
func (m *ReportCustomerUsageRequest) XXX_Unmarshal(b []byte) error
type ReportCustomerUsageResponse ¶ added in v2.1.5
type ReportCustomerUsageResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReportCustomerUsageResponse) Descriptor ¶ added in v2.1.5
func (*ReportCustomerUsageResponse) Descriptor() ([]byte, []int)
func (*ReportCustomerUsageResponse) ProtoMessage ¶ added in v2.1.5
func (*ReportCustomerUsageResponse) ProtoMessage()
func (*ReportCustomerUsageResponse) Reset ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) Reset()
func (*ReportCustomerUsageResponse) String ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) String() string
func (*ReportCustomerUsageResponse) XXX_DiscardUnknown ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) XXX_DiscardUnknown()
func (*ReportCustomerUsageResponse) XXX_Marshal ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportCustomerUsageResponse) XXX_Merge ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) XXX_Merge(src proto.Message)
func (*ReportCustomerUsageResponse) XXX_Size ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) XXX_Size() int
func (*ReportCustomerUsageResponse) XXX_Unmarshal ¶ added in v2.1.5
func (m *ReportCustomerUsageResponse) XXX_Unmarshal(b []byte) error
type UnimplementedAPIServiceServer ¶
type UnimplementedAPIServiceServer struct {
}
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) CheckHealth ¶
func (*UnimplementedAPIServiceServer) CheckHealth(ctx context.Context, req *CheckHealthRequest) (*CheckHealthResponse, error)
func (*UnimplementedAPIServiceServer) CreateCustomer ¶
func (*UnimplementedAPIServiceServer) CreateCustomer(ctx context.Context, req *CreateCustomerRequest) (*CreateCustomerResponse, error)
func (*UnimplementedAPIServiceServer) DeleteCustomer ¶
func (*UnimplementedAPIServiceServer) DeleteCustomer(ctx context.Context, req *DeleteCustomerRequest) (*DeleteCustomerResponse, error)
func (*UnimplementedAPIServiceServer) GetCustomer ¶
func (*UnimplementedAPIServiceServer) GetCustomer(ctx context.Context, req *GetCustomerRequest) (*GetCustomerResponse, error)
func (*UnimplementedAPIServiceServer) GetCustomerSession ¶
func (*UnimplementedAPIServiceServer) GetCustomerSession(ctx context.Context, req *GetCustomerSessionRequest) (*GetCustomerSessionResponse, error)
func (*UnimplementedAPIServiceServer) GetCustomerUsage ¶ added in v2.1.5
func (*UnimplementedAPIServiceServer) GetCustomerUsage(ctx context.Context, req *GetCustomerUsageRequest) (*GetCustomerUsageResponse, error)
func (*UnimplementedAPIServiceServer) IncCustomerUsage ¶
func (*UnimplementedAPIServiceServer) IncCustomerUsage(ctx context.Context, req *IncCustomerUsageRequest) (*IncCustomerUsageResponse, error)
func (*UnimplementedAPIServiceServer) ListDependentCustomers ¶
func (*UnimplementedAPIServiceServer) ListDependentCustomers(ctx context.Context, req *ListDependentCustomersRequest) (*ListDependentCustomersResponse, error)
func (*UnimplementedAPIServiceServer) RecreateCustomerSubscription ¶
func (*UnimplementedAPIServiceServer) RecreateCustomerSubscription(ctx context.Context, req *RecreateCustomerSubscriptionRequest) (*RecreateCustomerSubscriptionResponse, error)
func (*UnimplementedAPIServiceServer) ReportCustomerUsage ¶ added in v2.1.5
func (*UnimplementedAPIServiceServer) ReportCustomerUsage(ctx context.Context, req *ReportCustomerUsageRequest) (*ReportCustomerUsageResponse, error)
func (*UnimplementedAPIServiceServer) UpdateCustomer ¶
func (*UnimplementedAPIServiceServer) UpdateCustomer(ctx context.Context, req *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
func (*UnimplementedAPIServiceServer) UpdateCustomerSubscription ¶
func (*UnimplementedAPIServiceServer) UpdateCustomerSubscription(ctx context.Context, req *UpdateCustomerSubscriptionRequest) (*UpdateCustomerSubscriptionResponse, error)
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateCustomerRequest) Descriptor ¶
func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)
func (*UpdateCustomerRequest) GetBalance ¶
func (m *UpdateCustomerRequest) GetBalance() int64
func (*UpdateCustomerRequest) GetBillable ¶
func (m *UpdateCustomerRequest) GetBillable() bool
func (*UpdateCustomerRequest) GetCustomerId ¶
func (m *UpdateCustomerRequest) GetCustomerId() string
func (*UpdateCustomerRequest) GetDelinquent ¶
func (m *UpdateCustomerRequest) GetDelinquent() bool
func (*UpdateCustomerRequest) ProtoMessage ¶
func (*UpdateCustomerRequest) ProtoMessage()
func (*UpdateCustomerRequest) Reset ¶
func (m *UpdateCustomerRequest) Reset()
func (*UpdateCustomerRequest) String ¶
func (m *UpdateCustomerRequest) String() string
func (*UpdateCustomerRequest) XXX_DiscardUnknown ¶
func (m *UpdateCustomerRequest) XXX_DiscardUnknown()
func (*UpdateCustomerRequest) XXX_Marshal ¶
func (m *UpdateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCustomerRequest) XXX_Merge ¶
func (m *UpdateCustomerRequest) XXX_Merge(src proto.Message)
func (*UpdateCustomerRequest) XXX_Size ¶
func (m *UpdateCustomerRequest) XXX_Size() int
func (*UpdateCustomerRequest) XXX_Unmarshal ¶
func (m *UpdateCustomerRequest) XXX_Unmarshal(b []byte) error
type UpdateCustomerResponse ¶
type UpdateCustomerResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateCustomerResponse) Descriptor ¶
func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)
func (*UpdateCustomerResponse) ProtoMessage ¶
func (*UpdateCustomerResponse) ProtoMessage()
func (*UpdateCustomerResponse) Reset ¶
func (m *UpdateCustomerResponse) Reset()
func (*UpdateCustomerResponse) String ¶
func (m *UpdateCustomerResponse) String() string
func (*UpdateCustomerResponse) XXX_DiscardUnknown ¶
func (m *UpdateCustomerResponse) XXX_DiscardUnknown()
func (*UpdateCustomerResponse) XXX_Marshal ¶
func (m *UpdateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCustomerResponse) XXX_Merge ¶
func (m *UpdateCustomerResponse) XXX_Merge(src proto.Message)
func (*UpdateCustomerResponse) XXX_Size ¶
func (m *UpdateCustomerResponse) XXX_Size() int
func (*UpdateCustomerResponse) XXX_Unmarshal ¶
func (m *UpdateCustomerResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateCustomerSubscriptionRequest) Descriptor ¶
func (*UpdateCustomerSubscriptionRequest) Descriptor() ([]byte, []int)
func (*UpdateCustomerSubscriptionRequest) GetCustomerId ¶
func (m *UpdateCustomerSubscriptionRequest) GetCustomerId() string
func (*UpdateCustomerSubscriptionRequest) GetInvoicePeriod ¶
func (m *UpdateCustomerSubscriptionRequest) GetInvoicePeriod() *Period
func (*UpdateCustomerSubscriptionRequest) GetStatus ¶
func (m *UpdateCustomerSubscriptionRequest) GetStatus() string
func (*UpdateCustomerSubscriptionRequest) ProtoMessage ¶
func (*UpdateCustomerSubscriptionRequest) ProtoMessage()
func (*UpdateCustomerSubscriptionRequest) Reset ¶
func (m *UpdateCustomerSubscriptionRequest) Reset()
func (*UpdateCustomerSubscriptionRequest) String ¶
func (m *UpdateCustomerSubscriptionRequest) String() string
func (*UpdateCustomerSubscriptionRequest) XXX_DiscardUnknown ¶
func (m *UpdateCustomerSubscriptionRequest) XXX_DiscardUnknown()
func (*UpdateCustomerSubscriptionRequest) XXX_Marshal ¶
func (m *UpdateCustomerSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCustomerSubscriptionRequest) XXX_Merge ¶
func (m *UpdateCustomerSubscriptionRequest) XXX_Merge(src proto.Message)
func (*UpdateCustomerSubscriptionRequest) XXX_Size ¶
func (m *UpdateCustomerSubscriptionRequest) XXX_Size() int
func (*UpdateCustomerSubscriptionRequest) XXX_Unmarshal ¶
func (m *UpdateCustomerSubscriptionRequest) XXX_Unmarshal(b []byte) error
type UpdateCustomerSubscriptionResponse ¶
type UpdateCustomerSubscriptionResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateCustomerSubscriptionResponse) Descriptor ¶
func (*UpdateCustomerSubscriptionResponse) Descriptor() ([]byte, []int)
func (*UpdateCustomerSubscriptionResponse) ProtoMessage ¶
func (*UpdateCustomerSubscriptionResponse) ProtoMessage()
func (*UpdateCustomerSubscriptionResponse) Reset ¶
func (m *UpdateCustomerSubscriptionResponse) Reset()
func (*UpdateCustomerSubscriptionResponse) String ¶
func (m *UpdateCustomerSubscriptionResponse) String() string
func (*UpdateCustomerSubscriptionResponse) XXX_DiscardUnknown ¶
func (m *UpdateCustomerSubscriptionResponse) XXX_DiscardUnknown()
func (*UpdateCustomerSubscriptionResponse) XXX_Marshal ¶
func (m *UpdateCustomerSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCustomerSubscriptionResponse) XXX_Merge ¶
func (m *UpdateCustomerSubscriptionResponse) XXX_Merge(src proto.Message)
func (*UpdateCustomerSubscriptionResponse) XXX_Size ¶
func (m *UpdateCustomerSubscriptionResponse) XXX_Size() int
func (*UpdateCustomerSubscriptionResponse) XXX_Unmarshal ¶
func (m *UpdateCustomerSubscriptionResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Usage) Descriptor ¶
func (*Usage) GetDescription ¶
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) XXX_DiscardUnknown ¶
func (m *Usage) XXX_DiscardUnknown()
func (*Usage) XXX_Marshal ¶
func (*Usage) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.