contract_grpc_service

package
v0.0.0-...-e265171 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContractFieldMask_name = map[int32]string{
		0:  "CONTRACT_FIELD_NONE",
		1:  "CONTRACT_FIELD_NAME",
		2:  "CONTRACT_FIELD_SERVICE_STARTED_AT",
		3:  "CONTRACT_FIELD_SIGNED_AT",
		4:  "CONTRACT_FIELD_ENDED_AT",
		6:  "CONTRACT_FIELD_CONTRACT_URL",
		8:  "CONTRACT_FIELD_BILLING_CYCLE",
		9:  "CONTRACT_FIELD_INVOICING_START_DATE",
		10: "CONTRACT_FIELD_CURRENCY",
		11: "CONTRACT_FIELD_ADDRESS_LINE_1",
		12: "CONTRACT_FIELD_ADDRESS_LINE_2",
		13: "CONTRACT_FIELD_LOCALITY",
		14: "CONTRACT_FIELD_COUNTRY",
		15: "CONTRACT_FIELD_ZIP",
		16: "CONTRACT_FIELD_ORGANIZATION_LEGAL_NAME",
		18: "CONTRACT_FIELD_INVOICE_NOTE",
		19: "CONTRACT_FIELD_NEXT_INVOICE_DATE",
		20: "CONTRACT_FIELD_CAN_PAY_WITH_CARD",
		21: "CONTRACT_FIELD_CAN_PAY_WITH_DIRECT_DEBIT",
		22: "CONTRACT_FIELD_CAN_PAY_WITH_BANK_TRANSFER",
		23: "CONTRACT_FIELD_INVOICING_ENABLED",
		24: "CONTRACT_FIELD_PAY_ONLINE",
		25: "CONTRACT_FIELD_PAY_AUTOMATICALLY",
		26: "CONTRACT_FIELD_AUTO_RENEW",
		27: "CONTRACT_FIELD_REGION",
		28: "CONTRACT_FIELD_CHECK",
		29: "CONTRACT_FIELD_DUE_DAYS",
		30: "CONTRACT_FIELD_INVOICE_EMAIL_CC",
		31: "CONTRACT_FIELD_INVOICE_EMAIL_BCC",
		32: "CONTRACT_FIELD_INVOICE_EMAIL_TO",
		33: "CONTRACT_FIELD_LENGTH_IN_MONTHS",
		34: "CONTRACT_FIELD_APPROVED",
		35: "CONTRACT_FIELD_BILLING_CYCLE_IN_MONTHS",
	}
	ContractFieldMask_value = map[string]int32{
		"CONTRACT_FIELD_NONE":                       0,
		"CONTRACT_FIELD_NAME":                       1,
		"CONTRACT_FIELD_SERVICE_STARTED_AT":         2,
		"CONTRACT_FIELD_SIGNED_AT":                  3,
		"CONTRACT_FIELD_ENDED_AT":                   4,
		"CONTRACT_FIELD_CONTRACT_URL":               6,
		"CONTRACT_FIELD_BILLING_CYCLE":              8,
		"CONTRACT_FIELD_INVOICING_START_DATE":       9,
		"CONTRACT_FIELD_CURRENCY":                   10,
		"CONTRACT_FIELD_ADDRESS_LINE_1":             11,
		"CONTRACT_FIELD_ADDRESS_LINE_2":             12,
		"CONTRACT_FIELD_LOCALITY":                   13,
		"CONTRACT_FIELD_COUNTRY":                    14,
		"CONTRACT_FIELD_ZIP":                        15,
		"CONTRACT_FIELD_ORGANIZATION_LEGAL_NAME":    16,
		"CONTRACT_FIELD_INVOICE_NOTE":               18,
		"CONTRACT_FIELD_NEXT_INVOICE_DATE":          19,
		"CONTRACT_FIELD_CAN_PAY_WITH_CARD":          20,
		"CONTRACT_FIELD_CAN_PAY_WITH_DIRECT_DEBIT":  21,
		"CONTRACT_FIELD_CAN_PAY_WITH_BANK_TRANSFER": 22,
		"CONTRACT_FIELD_INVOICING_ENABLED":          23,
		"CONTRACT_FIELD_PAY_ONLINE":                 24,
		"CONTRACT_FIELD_PAY_AUTOMATICALLY":          25,
		"CONTRACT_FIELD_AUTO_RENEW":                 26,
		"CONTRACT_FIELD_REGION":                     27,
		"CONTRACT_FIELD_CHECK":                      28,
		"CONTRACT_FIELD_DUE_DAYS":                   29,
		"CONTRACT_FIELD_INVOICE_EMAIL_CC":           30,
		"CONTRACT_FIELD_INVOICE_EMAIL_BCC":          31,
		"CONTRACT_FIELD_INVOICE_EMAIL_TO":           32,
		"CONTRACT_FIELD_LENGTH_IN_MONTHS":           33,
		"CONTRACT_FIELD_APPROVED":                   34,
		"CONTRACT_FIELD_BILLING_CYCLE_IN_MONTHS":    35,
	}
)

Enum value maps for ContractFieldMask.

View Source
var ContractGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ContractGrpcService",
	HandlerType: (*ContractGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateContract",
			Handler:    _ContractGrpcService_CreateContract_Handler,
		},
		{
			MethodName: "UpdateContract",
			Handler:    _ContractGrpcService_UpdateContract_Handler,
		},
		{
			MethodName: "RolloutRenewalOpportunityOnExpiration",
			Handler:    _ContractGrpcService_RolloutRenewalOpportunityOnExpiration_Handler,
		},
		{
			MethodName: "RefreshContractStatus",
			Handler:    _ContractGrpcService_RefreshContractStatus_Handler,
		},
		{
			MethodName: "SoftDeleteContract",
			Handler:    _ContractGrpcService_SoftDeleteContract_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contract.proto",
}

ContractGrpcService_ServiceDesc is the grpc.ServiceDesc for ContractGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_contract_proto protoreflect.FileDescriptor

Functions

func RegisterContractGrpcServiceServer

func RegisterContractGrpcServiceServer(s grpc.ServiceRegistrar, srv ContractGrpcServiceServer)

Types

type ContractFieldMask

type ContractFieldMask int32
const (
	ContractFieldMask_CONTRACT_FIELD_NONE               ContractFieldMask = 0 // No property, ignored by the server
	ContractFieldMask_CONTRACT_FIELD_NAME               ContractFieldMask = 1
	ContractFieldMask_CONTRACT_FIELD_SERVICE_STARTED_AT ContractFieldMask = 2
	ContractFieldMask_CONTRACT_FIELD_SIGNED_AT          ContractFieldMask = 3
	ContractFieldMask_CONTRACT_FIELD_ENDED_AT           ContractFieldMask = 4
	ContractFieldMask_CONTRACT_FIELD_CONTRACT_URL       ContractFieldMask = 6
	// Deprecated: Marked as deprecated in contract.proto.
	ContractFieldMask_CONTRACT_FIELD_BILLING_CYCLE              ContractFieldMask = 8
	ContractFieldMask_CONTRACT_FIELD_INVOICING_START_DATE       ContractFieldMask = 9
	ContractFieldMask_CONTRACT_FIELD_CURRENCY                   ContractFieldMask = 10
	ContractFieldMask_CONTRACT_FIELD_ADDRESS_LINE_1             ContractFieldMask = 11
	ContractFieldMask_CONTRACT_FIELD_ADDRESS_LINE_2             ContractFieldMask = 12
	ContractFieldMask_CONTRACT_FIELD_LOCALITY                   ContractFieldMask = 13
	ContractFieldMask_CONTRACT_FIELD_COUNTRY                    ContractFieldMask = 14
	ContractFieldMask_CONTRACT_FIELD_ZIP                        ContractFieldMask = 15
	ContractFieldMask_CONTRACT_FIELD_ORGANIZATION_LEGAL_NAME    ContractFieldMask = 16
	ContractFieldMask_CONTRACT_FIELD_INVOICE_NOTE               ContractFieldMask = 18
	ContractFieldMask_CONTRACT_FIELD_NEXT_INVOICE_DATE          ContractFieldMask = 19 // to update next invoice date field mask must be specified explicitly
	ContractFieldMask_CONTRACT_FIELD_CAN_PAY_WITH_CARD          ContractFieldMask = 20
	ContractFieldMask_CONTRACT_FIELD_CAN_PAY_WITH_DIRECT_DEBIT  ContractFieldMask = 21
	ContractFieldMask_CONTRACT_FIELD_CAN_PAY_WITH_BANK_TRANSFER ContractFieldMask = 22
	ContractFieldMask_CONTRACT_FIELD_INVOICING_ENABLED          ContractFieldMask = 23
	ContractFieldMask_CONTRACT_FIELD_PAY_ONLINE                 ContractFieldMask = 24
	ContractFieldMask_CONTRACT_FIELD_PAY_AUTOMATICALLY          ContractFieldMask = 25
	ContractFieldMask_CONTRACT_FIELD_AUTO_RENEW                 ContractFieldMask = 26
	ContractFieldMask_CONTRACT_FIELD_REGION                     ContractFieldMask = 27
	ContractFieldMask_CONTRACT_FIELD_CHECK                      ContractFieldMask = 28
	ContractFieldMask_CONTRACT_FIELD_DUE_DAYS                   ContractFieldMask = 29
	ContractFieldMask_CONTRACT_FIELD_INVOICE_EMAIL_CC           ContractFieldMask = 30
	ContractFieldMask_CONTRACT_FIELD_INVOICE_EMAIL_BCC          ContractFieldMask = 31
	ContractFieldMask_CONTRACT_FIELD_INVOICE_EMAIL_TO           ContractFieldMask = 32
	ContractFieldMask_CONTRACT_FIELD_LENGTH_IN_MONTHS           ContractFieldMask = 33
	ContractFieldMask_CONTRACT_FIELD_APPROVED                   ContractFieldMask = 34
	ContractFieldMask_CONTRACT_FIELD_BILLING_CYCLE_IN_MONTHS    ContractFieldMask = 35
)

func (ContractFieldMask) Descriptor

func (ContractFieldMask) Enum

func (ContractFieldMask) EnumDescriptor deprecated

func (ContractFieldMask) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContractFieldMask.Descriptor instead.

func (ContractFieldMask) Number

func (ContractFieldMask) String

func (x ContractFieldMask) String() string

func (ContractFieldMask) Type

type ContractGrpcServiceClient

type ContractGrpcServiceClient interface {
	CreateContract(ctx context.Context, in *CreateContractGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	UpdateContract(ctx context.Context, in *UpdateContractGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	RolloutRenewalOpportunityOnExpiration(ctx context.Context, in *RolloutRenewalOpportunityOnExpirationGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	RefreshContractStatus(ctx context.Context, in *RefreshContractStatusGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	SoftDeleteContract(ctx context.Context, in *SoftDeleteContractGrpcRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ContractGrpcServiceClient is the client API for ContractGrpcService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ContractGrpcServiceServer

ContractGrpcServiceServer is the server API for ContractGrpcService service. All implementations should embed UnimplementedContractGrpcServiceServer for forward compatibility

type ContractIdGrpcResponse

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

Contract response message

func (*ContractIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use ContractIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*ContractIdGrpcResponse) GetId

func (x *ContractIdGrpcResponse) GetId() string

func (*ContractIdGrpcResponse) ProtoMessage

func (*ContractIdGrpcResponse) ProtoMessage()

func (*ContractIdGrpcResponse) ProtoReflect

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

func (*ContractIdGrpcResponse) Reset

func (x *ContractIdGrpcResponse) Reset()

func (*ContractIdGrpcResponse) String

func (x *ContractIdGrpcResponse) String() string

type CreateContractGrpcRequest

type CreateContractGrpcRequest struct {
	Tenant                 string                       `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId         string                       `protobuf:"bytes,2,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	OrganizationId         string                       `protobuf:"bytes,3,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	Name                   string                       `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	CreatedByUserId        string                       `protobuf:"bytes,5,opt,name=createdByUserId,proto3" json:"createdByUserId,omitempty"`
	CreatedAt              *timestamppb.Timestamp       `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt              *timestamppb.Timestamp       `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	ServiceStartedAt       *timestamppb.Timestamp       `protobuf:"bytes,8,opt,name=serviceStartedAt,proto3" json:"serviceStartedAt,omitempty"`
	SignedAt               *timestamppb.Timestamp       `protobuf:"bytes,9,opt,name=signedAt,proto3" json:"signedAt,omitempty"`
	SourceFields           *common.SourceFields         `protobuf:"bytes,12,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	ExternalSystemFields   *common.ExternalSystemFields `protobuf:"bytes,13,opt,name=externalSystemFields,proto3" json:"externalSystemFields,omitempty"`
	ContractUrl            string                       `protobuf:"bytes,14,opt,name=contractUrl,proto3" json:"contractUrl,omitempty"`
	InvoicingStartDate     *timestamppb.Timestamp       `protobuf:"bytes,17,opt,name=invoicingStartDate,proto3" json:"invoicingStartDate,omitempty"`
	Currency               string                       `protobuf:"bytes,18,opt,name=currency,proto3" json:"currency,omitempty"`
	InvoicingEnabled       bool                         `protobuf:"varint,19,opt,name=invoicingEnabled,proto3" json:"invoicingEnabled,omitempty"`
	PayOnline              bool                         `protobuf:"varint,20,opt,name=payOnline,proto3" json:"payOnline,omitempty"`
	PayAutomatically       bool                         `protobuf:"varint,21,opt,name=payAutomatically,proto3" json:"payAutomatically,omitempty"`
	CanPayWithCard         bool                         `protobuf:"varint,22,opt,name=canPayWithCard,proto3" json:"canPayWithCard,omitempty"`
	CanPayWithDirectDebit  bool                         `protobuf:"varint,23,opt,name=canPayWithDirectDebit,proto3" json:"canPayWithDirectDebit,omitempty"`
	CanPayWithBankTransfer bool                         `protobuf:"varint,24,opt,name=canPayWithBankTransfer,proto3" json:"canPayWithBankTransfer,omitempty"`
	AutoRenew              bool                         `protobuf:"varint,25,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"`
	Check                  bool                         `protobuf:"varint,26,opt,name=check,proto3" json:"check,omitempty"`
	DueDays                int64                        `protobuf:"varint,27,opt,name=dueDays,proto3" json:"dueDays,omitempty"`
	Country                string                       `protobuf:"bytes,28,opt,name=country,proto3" json:"country,omitempty"`
	LengthInMonths         int64                        `protobuf:"varint,29,opt,name=lengthInMonths,proto3" json:"lengthInMonths,omitempty"`
	Approved               bool                         `protobuf:"varint,30,opt,name=approved,proto3" json:"approved,omitempty"`
	BillingCycleInMonths   int64                        `protobuf:"varint,31,opt,name=billingCycleInMonths,proto3" json:"billingCycleInMonths,omitempty"`
	// contains filtered or unexported fields
}

CreateContract request message

func (*CreateContractGrpcRequest) Descriptor deprecated

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

Deprecated: Use CreateContractGrpcRequest.ProtoReflect.Descriptor instead.

func (*CreateContractGrpcRequest) GetApproved

func (x *CreateContractGrpcRequest) GetApproved() bool

func (*CreateContractGrpcRequest) GetAutoRenew

func (x *CreateContractGrpcRequest) GetAutoRenew() bool

func (*CreateContractGrpcRequest) GetBillingCycleInMonths

func (x *CreateContractGrpcRequest) GetBillingCycleInMonths() int64

func (*CreateContractGrpcRequest) GetCanPayWithBankTransfer

func (x *CreateContractGrpcRequest) GetCanPayWithBankTransfer() bool

func (*CreateContractGrpcRequest) GetCanPayWithCard

func (x *CreateContractGrpcRequest) GetCanPayWithCard() bool

func (*CreateContractGrpcRequest) GetCanPayWithDirectDebit

func (x *CreateContractGrpcRequest) GetCanPayWithDirectDebit() bool

func (*CreateContractGrpcRequest) GetCheck

func (x *CreateContractGrpcRequest) GetCheck() bool

func (*CreateContractGrpcRequest) GetContractUrl

func (x *CreateContractGrpcRequest) GetContractUrl() string

func (*CreateContractGrpcRequest) GetCountry

func (x *CreateContractGrpcRequest) GetCountry() string

func (*CreateContractGrpcRequest) GetCreatedAt

func (x *CreateContractGrpcRequest) GetCreatedAt() *timestamppb.Timestamp

func (*CreateContractGrpcRequest) GetCreatedByUserId

func (x *CreateContractGrpcRequest) GetCreatedByUserId() string

func (*CreateContractGrpcRequest) GetCurrency

func (x *CreateContractGrpcRequest) GetCurrency() string

func (*CreateContractGrpcRequest) GetDueDays

func (x *CreateContractGrpcRequest) GetDueDays() int64

func (*CreateContractGrpcRequest) GetExternalSystemFields

func (x *CreateContractGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields

func (*CreateContractGrpcRequest) GetInvoicingEnabled

func (x *CreateContractGrpcRequest) GetInvoicingEnabled() bool

func (*CreateContractGrpcRequest) GetInvoicingStartDate

func (x *CreateContractGrpcRequest) GetInvoicingStartDate() *timestamppb.Timestamp

func (*CreateContractGrpcRequest) GetLengthInMonths

func (x *CreateContractGrpcRequest) GetLengthInMonths() int64

func (*CreateContractGrpcRequest) GetLoggedInUserId

func (x *CreateContractGrpcRequest) GetLoggedInUserId() string

func (*CreateContractGrpcRequest) GetName

func (x *CreateContractGrpcRequest) GetName() string

func (*CreateContractGrpcRequest) GetOrganizationId

func (x *CreateContractGrpcRequest) GetOrganizationId() string

func (*CreateContractGrpcRequest) GetPayAutomatically

func (x *CreateContractGrpcRequest) GetPayAutomatically() bool

func (*CreateContractGrpcRequest) GetPayOnline

func (x *CreateContractGrpcRequest) GetPayOnline() bool

func (*CreateContractGrpcRequest) GetServiceStartedAt

func (x *CreateContractGrpcRequest) GetServiceStartedAt() *timestamppb.Timestamp

func (*CreateContractGrpcRequest) GetSignedAt

func (*CreateContractGrpcRequest) GetSourceFields

func (x *CreateContractGrpcRequest) GetSourceFields() *common.SourceFields

func (*CreateContractGrpcRequest) GetTenant

func (x *CreateContractGrpcRequest) GetTenant() string

func (*CreateContractGrpcRequest) GetUpdatedAt

func (x *CreateContractGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*CreateContractGrpcRequest) ProtoMessage

func (*CreateContractGrpcRequest) ProtoMessage()

func (*CreateContractGrpcRequest) ProtoReflect

func (*CreateContractGrpcRequest) Reset

func (x *CreateContractGrpcRequest) Reset()

func (*CreateContractGrpcRequest) String

func (x *CreateContractGrpcRequest) String() string

type RefreshContractStatusGrpcRequest

type RefreshContractStatusGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshContractStatusGrpcRequest) Descriptor deprecated

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

Deprecated: Use RefreshContractStatusGrpcRequest.ProtoReflect.Descriptor instead.

func (*RefreshContractStatusGrpcRequest) GetAppSource

func (x *RefreshContractStatusGrpcRequest) GetAppSource() string

func (*RefreshContractStatusGrpcRequest) GetId

func (*RefreshContractStatusGrpcRequest) GetLoggedInUserId

func (x *RefreshContractStatusGrpcRequest) GetLoggedInUserId() string

func (*RefreshContractStatusGrpcRequest) GetTenant

func (*RefreshContractStatusGrpcRequest) ProtoMessage

func (*RefreshContractStatusGrpcRequest) ProtoMessage()

func (*RefreshContractStatusGrpcRequest) ProtoReflect

func (*RefreshContractStatusGrpcRequest) Reset

func (*RefreshContractStatusGrpcRequest) String

type RolloutRenewalOpportunityOnExpirationGrpcRequest

type RolloutRenewalOpportunityOnExpirationGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) Descriptor deprecated

Deprecated: Use RolloutRenewalOpportunityOnExpirationGrpcRequest.ProtoReflect.Descriptor instead.

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetAppSource

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetId

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetLoggedInUserId

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetTenant

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) ProtoMessage

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) ProtoReflect

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) Reset

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) String

type SoftDeleteContractGrpcRequest

type SoftDeleteContractGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

Permanently delete contract request

func (*SoftDeleteContractGrpcRequest) Descriptor deprecated

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

Deprecated: Use SoftDeleteContractGrpcRequest.ProtoReflect.Descriptor instead.

func (*SoftDeleteContractGrpcRequest) GetAppSource

func (x *SoftDeleteContractGrpcRequest) GetAppSource() string

func (*SoftDeleteContractGrpcRequest) GetId

func (*SoftDeleteContractGrpcRequest) GetLoggedInUserId

func (x *SoftDeleteContractGrpcRequest) GetLoggedInUserId() string

func (*SoftDeleteContractGrpcRequest) GetTenant

func (x *SoftDeleteContractGrpcRequest) GetTenant() string

func (*SoftDeleteContractGrpcRequest) ProtoMessage

func (*SoftDeleteContractGrpcRequest) ProtoMessage()

func (*SoftDeleteContractGrpcRequest) ProtoReflect

func (*SoftDeleteContractGrpcRequest) Reset

func (x *SoftDeleteContractGrpcRequest) Reset()

func (*SoftDeleteContractGrpcRequest) String

type UnimplementedContractGrpcServiceServer

type UnimplementedContractGrpcServiceServer struct {
}

UnimplementedContractGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedContractGrpcServiceServer) CreateContract

func (UnimplementedContractGrpcServiceServer) RefreshContractStatus

func (UnimplementedContractGrpcServiceServer) SoftDeleteContract

func (UnimplementedContractGrpcServiceServer) UpdateContract

type UnsafeContractGrpcServiceServer

type UnsafeContractGrpcServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeContractGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContractGrpcServiceServer will result in compilation errors.

type UpdateContractGrpcRequest

type UpdateContractGrpcRequest struct {
	Id                     string                       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant                 string                       `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId         string                       `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	Name                   string                       `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	UpdatedAt              *timestamppb.Timestamp       `protobuf:"bytes,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	ServiceStartedAt       *timestamppb.Timestamp       `protobuf:"bytes,6,opt,name=serviceStartedAt,proto3" json:"serviceStartedAt,omitempty"`
	SignedAt               *timestamppb.Timestamp       `protobuf:"bytes,7,opt,name=signedAt,proto3" json:"signedAt,omitempty"`
	EndedAt                *timestamppb.Timestamp       `protobuf:"bytes,8,opt,name=endedAt,proto3" json:"endedAt,omitempty"`
	SourceFields           *common.SourceFields         `protobuf:"bytes,10,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	ExternalSystemFields   *common.ExternalSystemFields `protobuf:"bytes,11,opt,name=externalSystemFields,proto3" json:"externalSystemFields,omitempty"`
	ContractUrl            string                       `protobuf:"bytes,12,opt,name=contractUrl,proto3" json:"contractUrl,omitempty"`
	InvoicingStartDate     *timestamppb.Timestamp       `protobuf:"bytes,15,opt,name=invoicingStartDate,proto3" json:"invoicingStartDate,omitempty"`
	Currency               string                       `protobuf:"bytes,16,opt,name=currency,proto3" json:"currency,omitempty"`
	AddressLine1           string                       `protobuf:"bytes,17,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
	AddressLine2           string                       `protobuf:"bytes,18,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"`
	Locality               string                       `protobuf:"bytes,19,opt,name=locality,proto3" json:"locality,omitempty"`
	Country                string                       `protobuf:"bytes,20,opt,name=country,proto3" json:"country,omitempty"`
	Zip                    string                       `protobuf:"bytes,21,opt,name=zip,proto3" json:"zip,omitempty"`
	OrganizationLegalName  string                       `protobuf:"bytes,22,opt,name=organizationLegalName,proto3" json:"organizationLegalName,omitempty"`
	FieldsMask             []ContractFieldMask          `protobuf:"varint,24,rep,packed,name=fieldsMask,proto3,enum=ContractFieldMask" json:"fieldsMask,omitempty"`
	InvoiceNote            string                       `protobuf:"bytes,25,opt,name=invoiceNote,proto3" json:"invoiceNote,omitempty"`
	NextInvoiceDate        *timestamppb.Timestamp       `protobuf:"bytes,26,opt,name=nextInvoiceDate,proto3" json:"nextInvoiceDate,omitempty"`
	CanPayWithCard         bool                         `protobuf:"varint,27,opt,name=canPayWithCard,proto3" json:"canPayWithCard,omitempty"`
	CanPayWithDirectDebit  bool                         `protobuf:"varint,28,opt,name=canPayWithDirectDebit,proto3" json:"canPayWithDirectDebit,omitempty"`
	CanPayWithBankTransfer bool                         `protobuf:"varint,29,opt,name=canPayWithBankTransfer,proto3" json:"canPayWithBankTransfer,omitempty"`
	InvoicingEnabled       bool                         `protobuf:"varint,30,opt,name=invoicingEnabled,proto3" json:"invoicingEnabled,omitempty"`
	PayOnline              bool                         `protobuf:"varint,31,opt,name=payOnline,proto3" json:"payOnline,omitempty"`
	PayAutomatically       bool                         `protobuf:"varint,32,opt,name=payAutomatically,proto3" json:"payAutomatically,omitempty"`
	AutoRenew              bool                         `protobuf:"varint,33,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"`
	Region                 string                       `protobuf:"bytes,34,opt,name=region,proto3" json:"region,omitempty"`
	Check                  bool                         `protobuf:"varint,35,opt,name=check,proto3" json:"check,omitempty"`
	DueDays                int64                        `protobuf:"varint,36,opt,name=dueDays,proto3" json:"dueDays,omitempty"`
	InvoiceEmailTo         string                       `protobuf:"bytes,37,opt,name=invoiceEmailTo,proto3" json:"invoiceEmailTo,omitempty"`
	InvoiceEmailCc         []string                     `protobuf:"bytes,38,rep,name=invoiceEmailCc,proto3" json:"invoiceEmailCc,omitempty"`
	InvoiceEmailBcc        []string                     `protobuf:"bytes,39,rep,name=invoiceEmailBcc,proto3" json:"invoiceEmailBcc,omitempty"`
	LengthInMonths         int64                        `protobuf:"varint,40,opt,name=lengthInMonths,proto3" json:"lengthInMonths,omitempty"`
	Approved               bool                         `protobuf:"varint,41,opt,name=approved,proto3" json:"approved,omitempty"`
	BillingCycleInMonths   int64                        `protobuf:"varint,42,opt,name=billingCycleInMonths,proto3" json:"billingCycleInMonths,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateContractGrpcRequest) Descriptor deprecated

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

Deprecated: Use UpdateContractGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpdateContractGrpcRequest) GetAddressLine1

func (x *UpdateContractGrpcRequest) GetAddressLine1() string

func (*UpdateContractGrpcRequest) GetAddressLine2

func (x *UpdateContractGrpcRequest) GetAddressLine2() string

func (*UpdateContractGrpcRequest) GetApproved

func (x *UpdateContractGrpcRequest) GetApproved() bool

func (*UpdateContractGrpcRequest) GetAutoRenew

func (x *UpdateContractGrpcRequest) GetAutoRenew() bool

func (*UpdateContractGrpcRequest) GetBillingCycleInMonths

func (x *UpdateContractGrpcRequest) GetBillingCycleInMonths() int64

func (*UpdateContractGrpcRequest) GetCanPayWithBankTransfer

func (x *UpdateContractGrpcRequest) GetCanPayWithBankTransfer() bool

func (*UpdateContractGrpcRequest) GetCanPayWithCard

func (x *UpdateContractGrpcRequest) GetCanPayWithCard() bool

func (*UpdateContractGrpcRequest) GetCanPayWithDirectDebit

func (x *UpdateContractGrpcRequest) GetCanPayWithDirectDebit() bool

func (*UpdateContractGrpcRequest) GetCheck

func (x *UpdateContractGrpcRequest) GetCheck() bool

func (*UpdateContractGrpcRequest) GetContractUrl

func (x *UpdateContractGrpcRequest) GetContractUrl() string

func (*UpdateContractGrpcRequest) GetCountry

func (x *UpdateContractGrpcRequest) GetCountry() string

func (*UpdateContractGrpcRequest) GetCurrency

func (x *UpdateContractGrpcRequest) GetCurrency() string

func (*UpdateContractGrpcRequest) GetDueDays

func (x *UpdateContractGrpcRequest) GetDueDays() int64

func (*UpdateContractGrpcRequest) GetEndedAt

func (*UpdateContractGrpcRequest) GetExternalSystemFields

func (x *UpdateContractGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields

func (*UpdateContractGrpcRequest) GetFieldsMask

func (x *UpdateContractGrpcRequest) GetFieldsMask() []ContractFieldMask

func (*UpdateContractGrpcRequest) GetId

func (x *UpdateContractGrpcRequest) GetId() string

func (*UpdateContractGrpcRequest) GetInvoiceEmailBcc

func (x *UpdateContractGrpcRequest) GetInvoiceEmailBcc() []string

func (*UpdateContractGrpcRequest) GetInvoiceEmailCc

func (x *UpdateContractGrpcRequest) GetInvoiceEmailCc() []string

func (*UpdateContractGrpcRequest) GetInvoiceEmailTo

func (x *UpdateContractGrpcRequest) GetInvoiceEmailTo() string

func (*UpdateContractGrpcRequest) GetInvoiceNote

func (x *UpdateContractGrpcRequest) GetInvoiceNote() string

func (*UpdateContractGrpcRequest) GetInvoicingEnabled

func (x *UpdateContractGrpcRequest) GetInvoicingEnabled() bool

func (*UpdateContractGrpcRequest) GetInvoicingStartDate

func (x *UpdateContractGrpcRequest) GetInvoicingStartDate() *timestamppb.Timestamp

func (*UpdateContractGrpcRequest) GetLengthInMonths

func (x *UpdateContractGrpcRequest) GetLengthInMonths() int64

func (*UpdateContractGrpcRequest) GetLocality

func (x *UpdateContractGrpcRequest) GetLocality() string

func (*UpdateContractGrpcRequest) GetLoggedInUserId

func (x *UpdateContractGrpcRequest) GetLoggedInUserId() string

func (*UpdateContractGrpcRequest) GetName

func (x *UpdateContractGrpcRequest) GetName() string

func (*UpdateContractGrpcRequest) GetNextInvoiceDate

func (x *UpdateContractGrpcRequest) GetNextInvoiceDate() *timestamppb.Timestamp

func (*UpdateContractGrpcRequest) GetOrganizationLegalName

func (x *UpdateContractGrpcRequest) GetOrganizationLegalName() string

func (*UpdateContractGrpcRequest) GetPayAutomatically

func (x *UpdateContractGrpcRequest) GetPayAutomatically() bool

func (*UpdateContractGrpcRequest) GetPayOnline

func (x *UpdateContractGrpcRequest) GetPayOnline() bool

func (*UpdateContractGrpcRequest) GetRegion

func (x *UpdateContractGrpcRequest) GetRegion() string

func (*UpdateContractGrpcRequest) GetServiceStartedAt

func (x *UpdateContractGrpcRequest) GetServiceStartedAt() *timestamppb.Timestamp

func (*UpdateContractGrpcRequest) GetSignedAt

func (*UpdateContractGrpcRequest) GetSourceFields

func (x *UpdateContractGrpcRequest) GetSourceFields() *common.SourceFields

func (*UpdateContractGrpcRequest) GetTenant

func (x *UpdateContractGrpcRequest) GetTenant() string

func (*UpdateContractGrpcRequest) GetUpdatedAt

func (x *UpdateContractGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*UpdateContractGrpcRequest) GetZip

func (x *UpdateContractGrpcRequest) GetZip() string

func (*UpdateContractGrpcRequest) ProtoMessage

func (*UpdateContractGrpcRequest) ProtoMessage()

func (*UpdateContractGrpcRequest) ProtoReflect

func (*UpdateContractGrpcRequest) Reset

func (x *UpdateContractGrpcRequest) Reset()

func (*UpdateContractGrpcRequest) String

func (x *UpdateContractGrpcRequest) String() string

Jump to

Keyboard shortcuts

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