Documentation ¶
Overview ¶
Package invoicepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterDocumentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDocumentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DocumentServiceClient) error
- func RegisterDocumentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDocumentServiceServer(s *grpc.Server, srv DocumentServiceServer)
- type DocumentServiceClient
- type DocumentServiceServer
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetIdentifier() string
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (m *GetVersionRequest) GetIdentifier() string
- func (m *GetVersionRequest) GetVersion() string
- func (*GetVersionRequest) ProtoMessage()
- func (m *GetVersionRequest) Reset()
- func (m *GetVersionRequest) String() string
- func (m *GetVersionRequest) XXX_DiscardUnknown()
- func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetVersionRequest) XXX_Size() int
- func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
- type InvoiceCreatePayload
- func (*InvoiceCreatePayload) Descriptor() ([]byte, []int)
- func (m *InvoiceCreatePayload) GetCollaborators() []string
- func (m *InvoiceCreatePayload) GetData() *InvoiceData
- func (*InvoiceCreatePayload) ProtoMessage()
- func (m *InvoiceCreatePayload) Reset()
- func (m *InvoiceCreatePayload) String() string
- func (m *InvoiceCreatePayload) XXX_DiscardUnknown()
- func (m *InvoiceCreatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvoiceCreatePayload) XXX_Merge(src proto.Message)
- func (m *InvoiceCreatePayload) XXX_Size() int
- func (m *InvoiceCreatePayload) XXX_Unmarshal(b []byte) error
- type InvoiceData
- func (*InvoiceData) Descriptor() ([]byte, []int)
- func (m *InvoiceData) GetComment() string
- func (m *InvoiceData) GetCurrency() string
- func (m *InvoiceData) GetDateCreated() *timestamp.Timestamp
- func (m *InvoiceData) GetDueDate() *timestamp.Timestamp
- func (m *InvoiceData) GetExtraData() string
- func (m *InvoiceData) GetGrossAmount() int64
- func (m *InvoiceData) GetInvoiceNumber() string
- func (m *InvoiceData) GetInvoiceStatus() string
- func (m *InvoiceData) GetNetAmount() int64
- func (m *InvoiceData) GetPayee() string
- func (m *InvoiceData) GetRecipient() string
- func (m *InvoiceData) GetRecipientCity() string
- func (m *InvoiceData) GetRecipientCountry() string
- func (m *InvoiceData) GetRecipientName() string
- func (m *InvoiceData) GetRecipientStreet() string
- func (m *InvoiceData) GetRecipientZipcode() string
- func (m *InvoiceData) GetSender() string
- func (m *InvoiceData) GetSenderCity() string
- func (m *InvoiceData) GetSenderCountry() string
- func (m *InvoiceData) GetSenderName() string
- func (m *InvoiceData) GetSenderStreet() string
- func (m *InvoiceData) GetSenderZipcode() string
- func (m *InvoiceData) GetTaxAmount() int64
- func (m *InvoiceData) GetTaxRate() int64
- func (*InvoiceData) ProtoMessage()
- func (m *InvoiceData) Reset()
- func (m *InvoiceData) String() string
- func (m *InvoiceData) XXX_DiscardUnknown()
- func (m *InvoiceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvoiceData) XXX_Merge(src proto.Message)
- func (m *InvoiceData) XXX_Size() int
- func (m *InvoiceData) XXX_Unmarshal(b []byte) error
- type InvoiceResponse
- func (*InvoiceResponse) Descriptor() ([]byte, []int)
- func (m *InvoiceResponse) GetData() *InvoiceData
- func (m *InvoiceResponse) GetHeader() *ResponseHeader
- func (*InvoiceResponse) ProtoMessage()
- func (m *InvoiceResponse) Reset()
- func (m *InvoiceResponse) String() string
- func (m *InvoiceResponse) XXX_DiscardUnknown()
- func (m *InvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvoiceResponse) XXX_Merge(src proto.Message)
- func (m *InvoiceResponse) XXX_Size() int
- func (m *InvoiceResponse) XXX_Unmarshal(b []byte) error
- type InvoiceUpdatePayload
- func (*InvoiceUpdatePayload) Descriptor() ([]byte, []int)
- func (m *InvoiceUpdatePayload) GetCollaborators() []string
- func (m *InvoiceUpdatePayload) GetData() *InvoiceData
- func (m *InvoiceUpdatePayload) GetIdentifier() string
- func (*InvoiceUpdatePayload) ProtoMessage()
- func (m *InvoiceUpdatePayload) Reset()
- func (m *InvoiceUpdatePayload) String() string
- func (m *InvoiceUpdatePayload) XXX_DiscardUnknown()
- func (m *InvoiceUpdatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvoiceUpdatePayload) XXX_Merge(src proto.Message)
- func (m *InvoiceUpdatePayload) XXX_Size() int
- func (m *InvoiceUpdatePayload) XXX_Unmarshal(b []byte) error
- type ResponseHeader
- func (*ResponseHeader) Descriptor() ([]byte, []int)
- func (m *ResponseHeader) GetCollaborators() []string
- func (m *ResponseHeader) GetDocumentId() string
- func (m *ResponseHeader) GetState() string
- func (m *ResponseHeader) GetVersionId() string
- func (*ResponseHeader) ProtoMessage()
- func (m *ResponseHeader) Reset()
- func (m *ResponseHeader) String() string
- func (m *ResponseHeader) XXX_DiscardUnknown()
- func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseHeader) XXX_Merge(src proto.Message)
- func (m *ResponseHeader) XXX_Size() int
- func (m *ResponseHeader) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDocumentServiceHandler ¶
func RegisterDocumentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDocumentServiceHandler registers the http handlers for service DocumentService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDocumentServiceHandlerClient ¶
func RegisterDocumentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DocumentServiceClient) error
RegisterDocumentServiceHandlerClient registers the http handlers for service DocumentService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DocumentServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DocumentServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DocumentServiceClient" to call the correct interceptors.
func RegisterDocumentServiceHandlerFromEndpoint ¶
func RegisterDocumentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDocumentServiceHandlerFromEndpoint is same as RegisterDocumentServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDocumentServiceServer ¶
func RegisterDocumentServiceServer(s *grpc.Server, srv DocumentServiceServer)
Types ¶
type DocumentServiceClient ¶
type DocumentServiceClient interface { Create(ctx context.Context, in *InvoiceCreatePayload, opts ...grpc.CallOption) (*InvoiceResponse, error) Update(ctx context.Context, in *InvoiceUpdatePayload, opts ...grpc.CallOption) (*InvoiceResponse, error) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*InvoiceResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*InvoiceResponse, error) }
DocumentServiceClient is the client API for DocumentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDocumentServiceClient ¶
func NewDocumentServiceClient(cc *grpc.ClientConn) DocumentServiceClient
type DocumentServiceServer ¶
type DocumentServiceServer interface { Create(context.Context, *InvoiceCreatePayload) (*InvoiceResponse, error) Update(context.Context, *InvoiceUpdatePayload) (*InvoiceResponse, error) GetVersion(context.Context, *GetVersionRequest) (*InvoiceResponse, error) Get(context.Context, *GetRequest) (*InvoiceResponse, error) }
DocumentServiceServer is the server API for DocumentService service.
type GetRequest ¶
type GetRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetIdentifier ¶
func (m *GetRequest) GetIdentifier() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (dst *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetVersionRequest ¶
type GetVersionRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) GetIdentifier ¶
func (m *GetVersionRequest) GetIdentifier() string
func (*GetVersionRequest) GetVersion ¶
func (m *GetVersionRequest) GetVersion() string
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (m *GetVersionRequest) String() string
func (*GetVersionRequest) XXX_DiscardUnknown ¶
func (m *GetVersionRequest) XXX_DiscardUnknown()
func (*GetVersionRequest) XXX_Marshal ¶
func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionRequest) XXX_Merge ¶
func (dst *GetVersionRequest) XXX_Merge(src proto.Message)
func (*GetVersionRequest) XXX_Size ¶
func (m *GetVersionRequest) XXX_Size() int
func (*GetVersionRequest) XXX_Unmarshal ¶
func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
type InvoiceCreatePayload ¶
type InvoiceCreatePayload struct { Collaborators []string `protobuf:"bytes,1,rep,name=collaborators,proto3" json:"collaborators,omitempty"` Data *InvoiceData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceCreatePayload) Descriptor ¶
func (*InvoiceCreatePayload) Descriptor() ([]byte, []int)
func (*InvoiceCreatePayload) GetCollaborators ¶
func (m *InvoiceCreatePayload) GetCollaborators() []string
func (*InvoiceCreatePayload) GetData ¶
func (m *InvoiceCreatePayload) GetData() *InvoiceData
func (*InvoiceCreatePayload) ProtoMessage ¶
func (*InvoiceCreatePayload) ProtoMessage()
func (*InvoiceCreatePayload) Reset ¶
func (m *InvoiceCreatePayload) Reset()
func (*InvoiceCreatePayload) String ¶
func (m *InvoiceCreatePayload) String() string
func (*InvoiceCreatePayload) XXX_DiscardUnknown ¶
func (m *InvoiceCreatePayload) XXX_DiscardUnknown()
func (*InvoiceCreatePayload) XXX_Marshal ¶
func (m *InvoiceCreatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceCreatePayload) XXX_Merge ¶
func (dst *InvoiceCreatePayload) XXX_Merge(src proto.Message)
func (*InvoiceCreatePayload) XXX_Size ¶
func (m *InvoiceCreatePayload) XXX_Size() int
func (*InvoiceCreatePayload) XXX_Unmarshal ¶
func (m *InvoiceCreatePayload) XXX_Unmarshal(b []byte) error
type InvoiceData ¶
type InvoiceData struct { InvoiceStatus string `protobuf:"bytes,25,opt,name=invoice_status,json=invoiceStatus,proto3" json:"invoice_status,omitempty"` // invoice number or reference number InvoiceNumber string `protobuf:"bytes,1,opt,name=invoice_number,json=invoiceNumber,proto3" json:"invoice_number,omitempty"` // name of the sender company SenderName string `protobuf:"bytes,3,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"` // street and address details of the sender company SenderStreet string `protobuf:"bytes,4,opt,name=sender_street,json=senderStreet,proto3" json:"sender_street,omitempty"` SenderCity string `protobuf:"bytes,5,opt,name=sender_city,json=senderCity,proto3" json:"sender_city,omitempty"` SenderZipcode string `protobuf:"bytes,6,opt,name=sender_zipcode,json=senderZipcode,proto3" json:"sender_zipcode,omitempty"` // country ISO code of the sender of this invoice SenderCountry string `protobuf:"bytes,7,opt,name=sender_country,json=senderCountry,proto3" json:"sender_country,omitempty"` // name of the recipient company RecipientName string `protobuf:"bytes,8,opt,name=recipient_name,json=recipientName,proto3" json:"recipient_name,omitempty"` RecipientStreet string `protobuf:"bytes,9,opt,name=recipient_street,json=recipientStreet,proto3" json:"recipient_street,omitempty"` RecipientCity string `protobuf:"bytes,10,opt,name=recipient_city,json=recipientCity,proto3" json:"recipient_city,omitempty"` RecipientZipcode string `protobuf:"bytes,11,opt,name=recipient_zipcode,json=recipientZipcode,proto3" json:"recipient_zipcode,omitempty"` // country ISO code of the receipient of this invoice RecipientCountry string `protobuf:"bytes,12,opt,name=recipient_country,json=recipientCountry,proto3" json:"recipient_country,omitempty"` // ISO currency code Currency string `protobuf:"bytes,13,opt,name=currency,proto3" json:"currency,omitempty"` // invoice amount including tax GrossAmount int64 `protobuf:"varint,14,opt,name=gross_amount,json=grossAmount,proto3" json:"gross_amount,omitempty"` // invoice amount excluding tax NetAmount int64 `protobuf:"varint,15,opt,name=net_amount,json=netAmount,proto3" json:"net_amount,omitempty"` TaxAmount int64 `protobuf:"varint,16,opt,name=tax_amount,json=taxAmount,proto3" json:"tax_amount,omitempty"` TaxRate int64 `protobuf:"varint,17,opt,name=tax_rate,json=taxRate,proto3" json:"tax_rate,omitempty"` Recipient string `protobuf:"bytes,18,opt,name=recipient,proto3" json:"recipient,omitempty"` Sender string `protobuf:"bytes,19,opt,name=sender,proto3" json:"sender,omitempty"` Payee string `protobuf:"bytes,20,opt,name=payee,proto3" json:"payee,omitempty"` Comment string `protobuf:"bytes,21,opt,name=comment,proto3" json:"comment,omitempty"` DueDate *timestamp.Timestamp `protobuf:"bytes,22,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"` DateCreated *timestamp.Timestamp `protobuf:"bytes,23,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` ExtraData string `protobuf:"bytes,24,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceData) Descriptor ¶
func (*InvoiceData) Descriptor() ([]byte, []int)
func (*InvoiceData) GetComment ¶
func (m *InvoiceData) GetComment() string
func (*InvoiceData) GetCurrency ¶
func (m *InvoiceData) GetCurrency() string
func (*InvoiceData) GetDateCreated ¶
func (m *InvoiceData) GetDateCreated() *timestamp.Timestamp
func (*InvoiceData) GetDueDate ¶
func (m *InvoiceData) GetDueDate() *timestamp.Timestamp
func (*InvoiceData) GetExtraData ¶
func (m *InvoiceData) GetExtraData() string
func (*InvoiceData) GetGrossAmount ¶
func (m *InvoiceData) GetGrossAmount() int64
func (*InvoiceData) GetInvoiceNumber ¶
func (m *InvoiceData) GetInvoiceNumber() string
func (*InvoiceData) GetInvoiceStatus ¶
func (m *InvoiceData) GetInvoiceStatus() string
func (*InvoiceData) GetNetAmount ¶
func (m *InvoiceData) GetNetAmount() int64
func (*InvoiceData) GetPayee ¶
func (m *InvoiceData) GetPayee() string
func (*InvoiceData) GetRecipient ¶
func (m *InvoiceData) GetRecipient() string
func (*InvoiceData) GetRecipientCity ¶
func (m *InvoiceData) GetRecipientCity() string
func (*InvoiceData) GetRecipientCountry ¶
func (m *InvoiceData) GetRecipientCountry() string
func (*InvoiceData) GetRecipientName ¶
func (m *InvoiceData) GetRecipientName() string
func (*InvoiceData) GetRecipientStreet ¶
func (m *InvoiceData) GetRecipientStreet() string
func (*InvoiceData) GetRecipientZipcode ¶
func (m *InvoiceData) GetRecipientZipcode() string
func (*InvoiceData) GetSender ¶
func (m *InvoiceData) GetSender() string
func (*InvoiceData) GetSenderCity ¶
func (m *InvoiceData) GetSenderCity() string
func (*InvoiceData) GetSenderCountry ¶
func (m *InvoiceData) GetSenderCountry() string
func (*InvoiceData) GetSenderName ¶
func (m *InvoiceData) GetSenderName() string
func (*InvoiceData) GetSenderStreet ¶
func (m *InvoiceData) GetSenderStreet() string
func (*InvoiceData) GetSenderZipcode ¶
func (m *InvoiceData) GetSenderZipcode() string
func (*InvoiceData) GetTaxAmount ¶
func (m *InvoiceData) GetTaxAmount() int64
func (*InvoiceData) GetTaxRate ¶
func (m *InvoiceData) GetTaxRate() int64
func (*InvoiceData) ProtoMessage ¶
func (*InvoiceData) ProtoMessage()
func (*InvoiceData) Reset ¶
func (m *InvoiceData) Reset()
func (*InvoiceData) String ¶
func (m *InvoiceData) String() string
func (*InvoiceData) XXX_DiscardUnknown ¶
func (m *InvoiceData) XXX_DiscardUnknown()
func (*InvoiceData) XXX_Marshal ¶
func (m *InvoiceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceData) XXX_Merge ¶
func (dst *InvoiceData) XXX_Merge(src proto.Message)
func (*InvoiceData) XXX_Size ¶
func (m *InvoiceData) XXX_Size() int
func (*InvoiceData) XXX_Unmarshal ¶
func (m *InvoiceData) XXX_Unmarshal(b []byte) error
type InvoiceResponse ¶
type InvoiceResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Data *InvoiceData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceResponse) Descriptor ¶
func (*InvoiceResponse) Descriptor() ([]byte, []int)
func (*InvoiceResponse) GetData ¶
func (m *InvoiceResponse) GetData() *InvoiceData
func (*InvoiceResponse) GetHeader ¶
func (m *InvoiceResponse) GetHeader() *ResponseHeader
func (*InvoiceResponse) ProtoMessage ¶
func (*InvoiceResponse) ProtoMessage()
func (*InvoiceResponse) Reset ¶
func (m *InvoiceResponse) Reset()
func (*InvoiceResponse) String ¶
func (m *InvoiceResponse) String() string
func (*InvoiceResponse) XXX_DiscardUnknown ¶
func (m *InvoiceResponse) XXX_DiscardUnknown()
func (*InvoiceResponse) XXX_Marshal ¶
func (m *InvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceResponse) XXX_Merge ¶
func (dst *InvoiceResponse) XXX_Merge(src proto.Message)
func (*InvoiceResponse) XXX_Size ¶
func (m *InvoiceResponse) XXX_Size() int
func (*InvoiceResponse) XXX_Unmarshal ¶
func (m *InvoiceResponse) XXX_Unmarshal(b []byte) error
type InvoiceUpdatePayload ¶
type InvoiceUpdatePayload struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Collaborators []string `protobuf:"bytes,2,rep,name=collaborators,proto3" json:"collaborators,omitempty"` Data *InvoiceData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceUpdatePayload) Descriptor ¶
func (*InvoiceUpdatePayload) Descriptor() ([]byte, []int)
func (*InvoiceUpdatePayload) GetCollaborators ¶
func (m *InvoiceUpdatePayload) GetCollaborators() []string
func (*InvoiceUpdatePayload) GetData ¶
func (m *InvoiceUpdatePayload) GetData() *InvoiceData
func (*InvoiceUpdatePayload) GetIdentifier ¶
func (m *InvoiceUpdatePayload) GetIdentifier() string
func (*InvoiceUpdatePayload) ProtoMessage ¶
func (*InvoiceUpdatePayload) ProtoMessage()
func (*InvoiceUpdatePayload) Reset ¶
func (m *InvoiceUpdatePayload) Reset()
func (*InvoiceUpdatePayload) String ¶
func (m *InvoiceUpdatePayload) String() string
func (*InvoiceUpdatePayload) XXX_DiscardUnknown ¶
func (m *InvoiceUpdatePayload) XXX_DiscardUnknown()
func (*InvoiceUpdatePayload) XXX_Marshal ¶
func (m *InvoiceUpdatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceUpdatePayload) XXX_Merge ¶
func (dst *InvoiceUpdatePayload) XXX_Merge(src proto.Message)
func (*InvoiceUpdatePayload) XXX_Size ¶
func (m *InvoiceUpdatePayload) XXX_Size() int
func (*InvoiceUpdatePayload) XXX_Unmarshal ¶
func (m *InvoiceUpdatePayload) XXX_Unmarshal(b []byte) error
type ResponseHeader ¶
type ResponseHeader struct { DocumentId string `protobuf:"bytes,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Collaborators []string `protobuf:"bytes,4,rep,name=collaborators,proto3" json:"collaborators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ResponseHeader contains a set of common fields for most documents
func (*ResponseHeader) Descriptor ¶
func (*ResponseHeader) Descriptor() ([]byte, []int)
func (*ResponseHeader) GetCollaborators ¶
func (m *ResponseHeader) GetCollaborators() []string
func (*ResponseHeader) GetDocumentId ¶
func (m *ResponseHeader) GetDocumentId() string
func (*ResponseHeader) GetState ¶
func (m *ResponseHeader) GetState() string
func (*ResponseHeader) GetVersionId ¶
func (m *ResponseHeader) GetVersionId() string
func (*ResponseHeader) ProtoMessage ¶
func (*ResponseHeader) ProtoMessage()
func (*ResponseHeader) Reset ¶
func (m *ResponseHeader) Reset()
func (*ResponseHeader) String ¶
func (m *ResponseHeader) String() string
func (*ResponseHeader) XXX_DiscardUnknown ¶
func (m *ResponseHeader) XXX_DiscardUnknown()
func (*ResponseHeader) XXX_Marshal ¶
func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseHeader) XXX_Merge ¶
func (dst *ResponseHeader) XXX_Merge(src proto.Message)
func (*ResponseHeader) XXX_Size ¶
func (m *ResponseHeader) XXX_Size() int
func (*ResponseHeader) XXX_Unmarshal ¶
func (m *ResponseHeader) XXX_Unmarshal(b []byte) error