tenant_grpc_service

package
v0.0.0-...-6003171 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TenantBillingProfileFieldMask_name = map[int32]string{
		0:  "TENANT_BILLING_PROFILE_FIELD_NONE",
		1:  "TENANT_BILLING_PROFILE_FIELD_EMAIL",
		2:  "TENANT_BILLING_PROFILE_FIELD_PHONE",
		3:  "TENANT_BILLING_PROFILE_FIELD_LEGAL_NAME",
		4:  "TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_1",
		5:  "TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_2",
		6:  "TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_3",
		7:  "TENANT_BILLING_PROFILE_FIELD_LOCALITY",
		8:  "TENANT_BILLING_PROFILE_FIELD_COUNTRY",
		9:  "TENANT_BILLING_PROFILE_FIELD_ZIP",
		12: "TENANT_BILLING_PROFILE_FIELD_VAT_NUMBER",
		13: "TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_FROM",
		18: "TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_PIGEON",
		19: "TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_BCC",
		20: "TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_BANK_TRANSFER",
		21: "TENANT_BILLING_PROFILE_FIELD_REGION",
		22: "TENANT_BILLING_PROFILE_FIELD_CHECK",
	}
	TenantBillingProfileFieldMask_value = map[string]int32{
		"TENANT_BILLING_PROFILE_FIELD_NONE":                       0,
		"TENANT_BILLING_PROFILE_FIELD_EMAIL":                      1,
		"TENANT_BILLING_PROFILE_FIELD_PHONE":                      2,
		"TENANT_BILLING_PROFILE_FIELD_LEGAL_NAME":                 3,
		"TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_1":             4,
		"TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_2":             5,
		"TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_3":             6,
		"TENANT_BILLING_PROFILE_FIELD_LOCALITY":                   7,
		"TENANT_BILLING_PROFILE_FIELD_COUNTRY":                    8,
		"TENANT_BILLING_PROFILE_FIELD_ZIP":                        9,
		"TENANT_BILLING_PROFILE_FIELD_VAT_NUMBER":                 12,
		"TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_FROM":         13,
		"TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_PIGEON":        18,
		"TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_BCC":          19,
		"TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_BANK_TRANSFER": 20,
		"TENANT_BILLING_PROFILE_FIELD_REGION":                     21,
		"TENANT_BILLING_PROFILE_FIELD_CHECK":                      22,
	}
)

Enum value maps for TenantBillingProfileFieldMask.

View Source
var (
	TenantSettingsFieldMask_name = map[int32]string{
		0: "TENANT_SETTINGS_FIELD_NONE",
		1: "TENANT_SETTINGS_FIELD_DEFAULT_CURRENCY",
		2: "TENANT_SETTINGS_FIELD_INVOICING_ENABLED",
		4: "TENANT_SETTINGS_FIELD_INVOICING_POSTPAID",
		5: "TENANT_SETTINGS_FIELD_LOGO_REPOSITORY_FILE_ID",
		6: "TENANT_SETTINGS_FIELD_BASE_CURRENCY",
	}
	TenantSettingsFieldMask_value = map[string]int32{
		"TENANT_SETTINGS_FIELD_NONE":                    0,
		"TENANT_SETTINGS_FIELD_DEFAULT_CURRENCY":        1,
		"TENANT_SETTINGS_FIELD_INVOICING_ENABLED":       2,
		"TENANT_SETTINGS_FIELD_INVOICING_POSTPAID":      4,
		"TENANT_SETTINGS_FIELD_LOGO_REPOSITORY_FILE_ID": 5,
		"TENANT_SETTINGS_FIELD_BASE_CURRENCY":           6,
	}
)

Enum value maps for TenantSettingsFieldMask.

View Source
var (
	BankAccountFieldMask_name = map[int32]string{
		0:  "BANK_ACCOUNT_FIELD_NONE",
		1:  "BANK_ACCOUNT_FIELD_BANK_NAME",
		2:  "BANK_ACCOUNT_FIELD_BANK_TRANSFER_ENABLED",
		3:  "BANK_ACCOUNT_FIELD_CURRENCY",
		4:  "BANK_ACCOUNT_FIELD_ACCOUNT_NUMBER",
		5:  "BANK_ACCOUNT_FIELD_IBAN",
		6:  "BANK_ACCOUNT_FIELD_BIC",
		7:  "BANK_ACCOUNT_FIELD_SORT_CODE",
		8:  "BANK_ACCOUNT_FIELD_ROUTING_NUMBER",
		9:  "BANK_ACCOUNT_FIELD_ALLOW_INTERNATIONAL",
		10: "BANK_ACCOUNT_FIELD_OTHER_DETAILS",
	}
	BankAccountFieldMask_value = map[string]int32{
		"BANK_ACCOUNT_FIELD_NONE":                  0,
		"BANK_ACCOUNT_FIELD_BANK_NAME":             1,
		"BANK_ACCOUNT_FIELD_BANK_TRANSFER_ENABLED": 2,
		"BANK_ACCOUNT_FIELD_CURRENCY":              3,
		"BANK_ACCOUNT_FIELD_ACCOUNT_NUMBER":        4,
		"BANK_ACCOUNT_FIELD_IBAN":                  5,
		"BANK_ACCOUNT_FIELD_BIC":                   6,
		"BANK_ACCOUNT_FIELD_SORT_CODE":             7,
		"BANK_ACCOUNT_FIELD_ROUTING_NUMBER":        8,
		"BANK_ACCOUNT_FIELD_ALLOW_INTERNATIONAL":   9,
		"BANK_ACCOUNT_FIELD_OTHER_DETAILS":         10,
	}
)

Enum value maps for BankAccountFieldMask.

View Source
var File_tenant_proto protoreflect.FileDescriptor
View Source
var TenantGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tenantGrpcService",
	HandlerType: (*TenantGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddBillingProfile",
			Handler:    _TenantGrpcService_AddBillingProfile_Handler,
		},
		{
			MethodName: "UpdateBillingProfile",
			Handler:    _TenantGrpcService_UpdateBillingProfile_Handler,
		},
		{
			MethodName: "UpdateTenantSettings",
			Handler:    _TenantGrpcService_UpdateTenantSettings_Handler,
		},
		{
			MethodName: "AddBankAccount",
			Handler:    _TenantGrpcService_AddBankAccount_Handler,
		},
		{
			MethodName: "UpdateBankAccount",
			Handler:    _TenantGrpcService_UpdateBankAccount_Handler,
		},
		{
			MethodName: "DeleteBankAccount",
			Handler:    _TenantGrpcService_DeleteBankAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tenant.proto",
}

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

Functions

func RegisterTenantGrpcServiceServer

func RegisterTenantGrpcServiceServer(s grpc.ServiceRegistrar, srv TenantGrpcServiceServer)

Types

type AddBankAccountGrpcRequest

type AddBankAccountGrpcRequest 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"`
	CreatedAt           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields        *common.SourceFields   `protobuf:"bytes,4,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	BankName            string                 `protobuf:"bytes,5,opt,name=bankName,proto3" json:"bankName,omitempty"`
	BankTransferEnabled bool                   `protobuf:"varint,6,opt,name=bankTransferEnabled,proto3" json:"bankTransferEnabled,omitempty"`
	Currency            string                 `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"`
	AccountNumber       string                 `protobuf:"bytes,8,opt,name=accountNumber,proto3" json:"accountNumber,omitempty"`
	Iban                string                 `protobuf:"bytes,9,opt,name=iban,proto3" json:"iban,omitempty"`
	Bic                 string                 `protobuf:"bytes,10,opt,name=bic,proto3" json:"bic,omitempty"`
	SortCode            string                 `protobuf:"bytes,11,opt,name=sortCode,proto3" json:"sortCode,omitempty"`
	RoutingNumber       string                 `protobuf:"bytes,12,opt,name=routingNumber,proto3" json:"routingNumber,omitempty"`
	AllowInternational  bool                   `protobuf:"varint,13,opt,name=allowInternational,proto3" json:"allowInternational,omitempty"`
	OtherDetails        string                 `protobuf:"bytes,14,opt,name=otherDetails,proto3" json:"otherDetails,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBankAccountGrpcRequest) Descriptor deprecated

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

Deprecated: Use AddBankAccountGrpcRequest.ProtoReflect.Descriptor instead.

func (*AddBankAccountGrpcRequest) GetAccountNumber

func (x *AddBankAccountGrpcRequest) GetAccountNumber() string

func (*AddBankAccountGrpcRequest) GetAllowInternational

func (x *AddBankAccountGrpcRequest) GetAllowInternational() bool

func (*AddBankAccountGrpcRequest) GetBankName

func (x *AddBankAccountGrpcRequest) GetBankName() string

func (*AddBankAccountGrpcRequest) GetBankTransferEnabled

func (x *AddBankAccountGrpcRequest) GetBankTransferEnabled() bool

func (*AddBankAccountGrpcRequest) GetBic

func (x *AddBankAccountGrpcRequest) GetBic() string

func (*AddBankAccountGrpcRequest) GetCreatedAt

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

func (*AddBankAccountGrpcRequest) GetCurrency

func (x *AddBankAccountGrpcRequest) GetCurrency() string

func (*AddBankAccountGrpcRequest) GetIban

func (x *AddBankAccountGrpcRequest) GetIban() string

func (*AddBankAccountGrpcRequest) GetLoggedInUserId

func (x *AddBankAccountGrpcRequest) GetLoggedInUserId() string

func (*AddBankAccountGrpcRequest) GetOtherDetails

func (x *AddBankAccountGrpcRequest) GetOtherDetails() string

func (*AddBankAccountGrpcRequest) GetRoutingNumber

func (x *AddBankAccountGrpcRequest) GetRoutingNumber() string

func (*AddBankAccountGrpcRequest) GetSortCode

func (x *AddBankAccountGrpcRequest) GetSortCode() string

func (*AddBankAccountGrpcRequest) GetSourceFields

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

func (*AddBankAccountGrpcRequest) GetTenant

func (x *AddBankAccountGrpcRequest) GetTenant() string

func (*AddBankAccountGrpcRequest) ProtoMessage

func (*AddBankAccountGrpcRequest) ProtoMessage()

func (*AddBankAccountGrpcRequest) ProtoReflect

func (*AddBankAccountGrpcRequest) Reset

func (x *AddBankAccountGrpcRequest) Reset()

func (*AddBankAccountGrpcRequest) String

func (x *AddBankAccountGrpcRequest) String() string

type AddBillingProfileRequest

type AddBillingProfileRequest 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"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields   *common.SourceFields   `protobuf:"bytes,4,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// Deprecated: Marked as deprecated in tenant.proto.
	Email                  string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone                  string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	LegalName              string `protobuf:"bytes,7,opt,name=legalName,proto3" json:"legalName,omitempty"`
	AddressLine1           string `protobuf:"bytes,8,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
	AddressLine2           string `protobuf:"bytes,9,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"`
	AddressLine3           string `protobuf:"bytes,10,opt,name=addressLine3,proto3" json:"addressLine3,omitempty"`
	Locality               string `protobuf:"bytes,18,opt,name=locality,proto3" json:"locality,omitempty"`
	Country                string `protobuf:"bytes,19,opt,name=country,proto3" json:"country,omitempty"`
	Zip                    string `protobuf:"bytes,20,opt,name=zip,proto3" json:"zip,omitempty"`
	VatNumber              string `protobuf:"bytes,23,opt,name=vatNumber,proto3" json:"vatNumber,omitempty"`
	SendInvoicesFrom       string `protobuf:"bytes,24,opt,name=sendInvoicesFrom,proto3" json:"sendInvoicesFrom,omitempty"`
	CanPayWithPigeon       bool   `protobuf:"varint,29,opt,name=canPayWithPigeon,proto3" json:"canPayWithPigeon,omitempty"`
	SendInvoicesBcc        string `protobuf:"bytes,30,opt,name=sendInvoicesBcc,proto3" json:"sendInvoicesBcc,omitempty"`
	CanPayWithBankTransfer bool   `protobuf:"varint,31,opt,name=canPayWithBankTransfer,proto3" json:"canPayWithBankTransfer,omitempty"`
	Region                 string `protobuf:"bytes,32,opt,name=region,proto3" json:"region,omitempty"`
	Check                  bool   `protobuf:"varint,33,opt,name=check,proto3" json:"check,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBillingProfileRequest) Descriptor deprecated

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

Deprecated: Use AddBillingProfileRequest.ProtoReflect.Descriptor instead.

func (*AddBillingProfileRequest) GetAddressLine1

func (x *AddBillingProfileRequest) GetAddressLine1() string

func (*AddBillingProfileRequest) GetAddressLine2

func (x *AddBillingProfileRequest) GetAddressLine2() string

func (*AddBillingProfileRequest) GetAddressLine3

func (x *AddBillingProfileRequest) GetAddressLine3() string

func (*AddBillingProfileRequest) GetCanPayWithBankTransfer

func (x *AddBillingProfileRequest) GetCanPayWithBankTransfer() bool

func (*AddBillingProfileRequest) GetCanPayWithPigeon

func (x *AddBillingProfileRequest) GetCanPayWithPigeon() bool

func (*AddBillingProfileRequest) GetCheck

func (x *AddBillingProfileRequest) GetCheck() bool

func (*AddBillingProfileRequest) GetCountry

func (x *AddBillingProfileRequest) GetCountry() string

func (*AddBillingProfileRequest) GetCreatedAt

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

func (*AddBillingProfileRequest) GetEmail deprecated

func (x *AddBillingProfileRequest) GetEmail() string

Deprecated: Marked as deprecated in tenant.proto.

func (*AddBillingProfileRequest) GetLegalName

func (x *AddBillingProfileRequest) GetLegalName() string

func (*AddBillingProfileRequest) GetLocality

func (x *AddBillingProfileRequest) GetLocality() string

func (*AddBillingProfileRequest) GetLoggedInUserId

func (x *AddBillingProfileRequest) GetLoggedInUserId() string

func (*AddBillingProfileRequest) GetPhone

func (x *AddBillingProfileRequest) GetPhone() string

func (*AddBillingProfileRequest) GetRegion

func (x *AddBillingProfileRequest) GetRegion() string

func (*AddBillingProfileRequest) GetSendInvoicesBcc

func (x *AddBillingProfileRequest) GetSendInvoicesBcc() string

func (*AddBillingProfileRequest) GetSendInvoicesFrom

func (x *AddBillingProfileRequest) GetSendInvoicesFrom() string

func (*AddBillingProfileRequest) GetSourceFields

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

func (*AddBillingProfileRequest) GetTenant

func (x *AddBillingProfileRequest) GetTenant() string

func (*AddBillingProfileRequest) GetVatNumber

func (x *AddBillingProfileRequest) GetVatNumber() string

func (*AddBillingProfileRequest) GetZip

func (x *AddBillingProfileRequest) GetZip() string

func (*AddBillingProfileRequest) ProtoMessage

func (*AddBillingProfileRequest) ProtoMessage()

func (*AddBillingProfileRequest) ProtoReflect

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

func (*AddBillingProfileRequest) Reset

func (x *AddBillingProfileRequest) Reset()

func (*AddBillingProfileRequest) String

func (x *AddBillingProfileRequest) String() string

type BankAccountFieldMask

type BankAccountFieldMask int32
const (
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_NONE                  BankAccountFieldMask = 0 // No property, ignored by the server
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_BANK_NAME             BankAccountFieldMask = 1
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_BANK_TRANSFER_ENABLED BankAccountFieldMask = 2
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_CURRENCY              BankAccountFieldMask = 3
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_ACCOUNT_NUMBER        BankAccountFieldMask = 4
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_IBAN                  BankAccountFieldMask = 5
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_BIC                   BankAccountFieldMask = 6
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_SORT_CODE             BankAccountFieldMask = 7
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_ROUTING_NUMBER        BankAccountFieldMask = 8
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_ALLOW_INTERNATIONAL   BankAccountFieldMask = 9
	BankAccountFieldMask_BANK_ACCOUNT_FIELD_OTHER_DETAILS         BankAccountFieldMask = 10
)

func (BankAccountFieldMask) Descriptor

func (BankAccountFieldMask) Enum

func (BankAccountFieldMask) EnumDescriptor deprecated

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

Deprecated: Use BankAccountFieldMask.Descriptor instead.

func (BankAccountFieldMask) Number

func (BankAccountFieldMask) String

func (x BankAccountFieldMask) String() string

func (BankAccountFieldMask) Type

type DeleteBankAccountGrpcRequest

type DeleteBankAccountGrpcRequest 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 (*DeleteBankAccountGrpcRequest) Descriptor deprecated

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

Deprecated: Use DeleteBankAccountGrpcRequest.ProtoReflect.Descriptor instead.

func (*DeleteBankAccountGrpcRequest) GetAppSource

func (x *DeleteBankAccountGrpcRequest) GetAppSource() string

func (*DeleteBankAccountGrpcRequest) GetId

func (*DeleteBankAccountGrpcRequest) GetLoggedInUserId

func (x *DeleteBankAccountGrpcRequest) GetLoggedInUserId() string

func (*DeleteBankAccountGrpcRequest) GetTenant

func (x *DeleteBankAccountGrpcRequest) GetTenant() string

func (*DeleteBankAccountGrpcRequest) ProtoMessage

func (*DeleteBankAccountGrpcRequest) ProtoMessage()

func (*DeleteBankAccountGrpcRequest) ProtoReflect

func (*DeleteBankAccountGrpcRequest) Reset

func (x *DeleteBankAccountGrpcRequest) Reset()

func (*DeleteBankAccountGrpcRequest) String

type TenantBillingProfileFieldMask

type TenantBillingProfileFieldMask int32
const (
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_NONE TenantBillingProfileFieldMask = 0 // No property, ignored by the server
	// Deprecated: Marked as deprecated in tenant.proto.
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_EMAIL                      TenantBillingProfileFieldMask = 1
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_PHONE                      TenantBillingProfileFieldMask = 2
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_LEGAL_NAME                 TenantBillingProfileFieldMask = 3
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_1             TenantBillingProfileFieldMask = 4
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_2             TenantBillingProfileFieldMask = 5
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_ADDRESS_LINE_3             TenantBillingProfileFieldMask = 6
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_LOCALITY                   TenantBillingProfileFieldMask = 7
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_COUNTRY                    TenantBillingProfileFieldMask = 8
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_ZIP                        TenantBillingProfileFieldMask = 9
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_VAT_NUMBER                 TenantBillingProfileFieldMask = 12
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_FROM         TenantBillingProfileFieldMask = 13
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_PIGEON        TenantBillingProfileFieldMask = 18
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_SEND_INVOICES_BCC          TenantBillingProfileFieldMask = 19
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_CAN_PAY_WITH_BANK_TRANSFER TenantBillingProfileFieldMask = 20
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_REGION                     TenantBillingProfileFieldMask = 21
	TenantBillingProfileFieldMask_TENANT_BILLING_PROFILE_FIELD_CHECK                      TenantBillingProfileFieldMask = 22
)

func (TenantBillingProfileFieldMask) Descriptor

func (TenantBillingProfileFieldMask) Enum

func (TenantBillingProfileFieldMask) EnumDescriptor deprecated

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

Deprecated: Use TenantBillingProfileFieldMask.Descriptor instead.

func (TenantBillingProfileFieldMask) Number

func (TenantBillingProfileFieldMask) String

func (TenantBillingProfileFieldMask) Type

type TenantGrpcServiceClient

type TenantGrpcServiceClient interface {
	AddBillingProfile(ctx context.Context, in *AddBillingProfileRequest, opts ...grpc.CallOption) (*common.IdResponse, error)
	UpdateBillingProfile(ctx context.Context, in *UpdateBillingProfileRequest, opts ...grpc.CallOption) (*common.IdResponse, error)
	UpdateTenantSettings(ctx context.Context, in *UpdateTenantSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AddBankAccount(ctx context.Context, in *AddBankAccountGrpcRequest, opts ...grpc.CallOption) (*common.IdResponse, error)
	UpdateBankAccount(ctx context.Context, in *UpdateBankAccountGrpcRequest, opts ...grpc.CallOption) (*common.IdResponse, error)
	DeleteBankAccount(ctx context.Context, in *DeleteBankAccountGrpcRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

TenantGrpcServiceClient is the client API for TenantGrpcService 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 TenantGrpcServiceServer

TenantGrpcServiceServer is the server API for TenantGrpcService service. All implementations should embed UnimplementedTenantGrpcServiceServer for forward compatibility

type TenantSettingsFieldMask

type TenantSettingsFieldMask int32
const (
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_NONE TenantSettingsFieldMask = 0 // No property, ignored by the server
	// Deprecated: Marked as deprecated in tenant.proto.
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_DEFAULT_CURRENCY        TenantSettingsFieldMask = 1
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_INVOICING_ENABLED       TenantSettingsFieldMask = 2
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_INVOICING_POSTPAID      TenantSettingsFieldMask = 4
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_LOGO_REPOSITORY_FILE_ID TenantSettingsFieldMask = 5
	TenantSettingsFieldMask_TENANT_SETTINGS_FIELD_BASE_CURRENCY           TenantSettingsFieldMask = 6
)

func (TenantSettingsFieldMask) Descriptor

func (TenantSettingsFieldMask) Enum

func (TenantSettingsFieldMask) EnumDescriptor deprecated

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

Deprecated: Use TenantSettingsFieldMask.Descriptor instead.

func (TenantSettingsFieldMask) Number

func (TenantSettingsFieldMask) String

func (x TenantSettingsFieldMask) String() string

func (TenantSettingsFieldMask) Type

type UnimplementedTenantGrpcServiceServer

type UnimplementedTenantGrpcServiceServer struct {
}

UnimplementedTenantGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTenantGrpcServiceServer) AddBankAccount

func (UnimplementedTenantGrpcServiceServer) AddBillingProfile

func (UnimplementedTenantGrpcServiceServer) DeleteBankAccount

func (UnimplementedTenantGrpcServiceServer) UpdateBankAccount

func (UnimplementedTenantGrpcServiceServer) UpdateBillingProfile

func (UnimplementedTenantGrpcServiceServer) UpdateTenantSettings

type UnsafeTenantGrpcServiceServer

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

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

type UpdateBankAccountGrpcRequest

type UpdateBankAccountGrpcRequest 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"`
	UpdatedAt           *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	AppSource           string                 `protobuf:"bytes,5,opt,name=appSource,proto3" json:"appSource,omitempty"`
	BankName            string                 `protobuf:"bytes,6,opt,name=bankName,proto3" json:"bankName,omitempty"`
	BankTransferEnabled bool                   `protobuf:"varint,7,opt,name=bankTransferEnabled,proto3" json:"bankTransferEnabled,omitempty"`
	Currency            string                 `protobuf:"bytes,8,opt,name=currency,proto3" json:"currency,omitempty"`
	AccountNumber       string                 `protobuf:"bytes,9,opt,name=accountNumber,proto3" json:"accountNumber,omitempty"`
	Iban                string                 `protobuf:"bytes,10,opt,name=iban,proto3" json:"iban,omitempty"`
	Bic                 string                 `protobuf:"bytes,11,opt,name=bic,proto3" json:"bic,omitempty"`
	SortCode            string                 `protobuf:"bytes,12,opt,name=sortCode,proto3" json:"sortCode,omitempty"`
	RoutingNumber       string                 `protobuf:"bytes,13,opt,name=routingNumber,proto3" json:"routingNumber,omitempty"`
	FieldsMask          []BankAccountFieldMask `protobuf:"varint,14,rep,packed,name=fieldsMask,proto3,enum=BankAccountFieldMask" json:"fieldsMask,omitempty"`
	AllowInternational  bool                   `protobuf:"varint,15,opt,name=allowInternational,proto3" json:"allowInternational,omitempty"`
	OtherDetails        string                 `protobuf:"bytes,16,opt,name=otherDetails,proto3" json:"otherDetails,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBankAccountGrpcRequest) Descriptor deprecated

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

Deprecated: Use UpdateBankAccountGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpdateBankAccountGrpcRequest) GetAccountNumber

func (x *UpdateBankAccountGrpcRequest) GetAccountNumber() string

func (*UpdateBankAccountGrpcRequest) GetAllowInternational

func (x *UpdateBankAccountGrpcRequest) GetAllowInternational() bool

func (*UpdateBankAccountGrpcRequest) GetAppSource

func (x *UpdateBankAccountGrpcRequest) GetAppSource() string

func (*UpdateBankAccountGrpcRequest) GetBankName

func (x *UpdateBankAccountGrpcRequest) GetBankName() string

func (*UpdateBankAccountGrpcRequest) GetBankTransferEnabled

func (x *UpdateBankAccountGrpcRequest) GetBankTransferEnabled() bool

func (*UpdateBankAccountGrpcRequest) GetBic

func (*UpdateBankAccountGrpcRequest) GetCurrency

func (x *UpdateBankAccountGrpcRequest) GetCurrency() string

func (*UpdateBankAccountGrpcRequest) GetFieldsMask

func (*UpdateBankAccountGrpcRequest) GetIban

func (x *UpdateBankAccountGrpcRequest) GetIban() string

func (*UpdateBankAccountGrpcRequest) GetId

func (*UpdateBankAccountGrpcRequest) GetLoggedInUserId

func (x *UpdateBankAccountGrpcRequest) GetLoggedInUserId() string

func (*UpdateBankAccountGrpcRequest) GetOtherDetails

func (x *UpdateBankAccountGrpcRequest) GetOtherDetails() string

func (*UpdateBankAccountGrpcRequest) GetRoutingNumber

func (x *UpdateBankAccountGrpcRequest) GetRoutingNumber() string

func (*UpdateBankAccountGrpcRequest) GetSortCode

func (x *UpdateBankAccountGrpcRequest) GetSortCode() string

func (*UpdateBankAccountGrpcRequest) GetTenant

func (x *UpdateBankAccountGrpcRequest) GetTenant() string

func (*UpdateBankAccountGrpcRequest) GetUpdatedAt

func (*UpdateBankAccountGrpcRequest) ProtoMessage

func (*UpdateBankAccountGrpcRequest) ProtoMessage()

func (*UpdateBankAccountGrpcRequest) ProtoReflect

func (*UpdateBankAccountGrpcRequest) Reset

func (x *UpdateBankAccountGrpcRequest) Reset()

func (*UpdateBankAccountGrpcRequest) String

type UpdateBillingProfileRequest

type UpdateBillingProfileRequest 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"`
	Id                     string                          `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	UpdatedAt              *timestamppb.Timestamp          `protobuf:"bytes,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Email                  string                          `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone                  string                          `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	LegalName              string                          `protobuf:"bytes,7,opt,name=legalName,proto3" json:"legalName,omitempty"`
	AddressLine1           string                          `protobuf:"bytes,8,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
	AddressLine2           string                          `protobuf:"bytes,9,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"`
	AddressLine3           string                          `protobuf:"bytes,10,opt,name=addressLine3,proto3" json:"addressLine3,omitempty"`
	Locality               string                          `protobuf:"bytes,11,opt,name=locality,proto3" json:"locality,omitempty"`
	Country                string                          `protobuf:"bytes,12,opt,name=country,proto3" json:"country,omitempty"`
	Zip                    string                          `protobuf:"bytes,13,opt,name=zip,proto3" json:"zip,omitempty"`
	VatNumber              string                          `protobuf:"bytes,16,opt,name=vatNumber,proto3" json:"vatNumber,omitempty"`
	SendInvoicesFrom       string                          `protobuf:"bytes,17,opt,name=sendInvoicesFrom,proto3" json:"sendInvoicesFrom,omitempty"`
	CanPayWithPigeon       bool                            `protobuf:"varint,22,opt,name=canPayWithPigeon,proto3" json:"canPayWithPigeon,omitempty"`
	AppSource              string                          `protobuf:"bytes,23,opt,name=appSource,proto3" json:"appSource,omitempty"`
	FieldsMask             []TenantBillingProfileFieldMask `protobuf:"varint,24,rep,packed,name=fieldsMask,proto3,enum=TenantBillingProfileFieldMask" json:"fieldsMask,omitempty"`
	SendInvoicesBcc        string                          `protobuf:"bytes,25,opt,name=sendInvoicesBcc,proto3" json:"sendInvoicesBcc,omitempty"`
	CanPayWithBankTransfer bool                            `protobuf:"varint,26,opt,name=canPayWithBankTransfer,proto3" json:"canPayWithBankTransfer,omitempty"`
	Region                 string                          `protobuf:"bytes,27,opt,name=region,proto3" json:"region,omitempty"`
	Check                  bool                            `protobuf:"varint,28,opt,name=check,proto3" json:"check,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBillingProfileRequest) Descriptor deprecated

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

Deprecated: Use UpdateBillingProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateBillingProfileRequest) GetAddressLine1

func (x *UpdateBillingProfileRequest) GetAddressLine1() string

func (*UpdateBillingProfileRequest) GetAddressLine2

func (x *UpdateBillingProfileRequest) GetAddressLine2() string

func (*UpdateBillingProfileRequest) GetAddressLine3

func (x *UpdateBillingProfileRequest) GetAddressLine3() string

func (*UpdateBillingProfileRequest) GetAppSource

func (x *UpdateBillingProfileRequest) GetAppSource() string

func (*UpdateBillingProfileRequest) GetCanPayWithBankTransfer

func (x *UpdateBillingProfileRequest) GetCanPayWithBankTransfer() bool

func (*UpdateBillingProfileRequest) GetCanPayWithPigeon

func (x *UpdateBillingProfileRequest) GetCanPayWithPigeon() bool

func (*UpdateBillingProfileRequest) GetCheck

func (x *UpdateBillingProfileRequest) GetCheck() bool

func (*UpdateBillingProfileRequest) GetCountry

func (x *UpdateBillingProfileRequest) GetCountry() string

func (*UpdateBillingProfileRequest) GetEmail

func (x *UpdateBillingProfileRequest) GetEmail() string

func (*UpdateBillingProfileRequest) GetFieldsMask

func (*UpdateBillingProfileRequest) GetId

func (*UpdateBillingProfileRequest) GetLegalName

func (x *UpdateBillingProfileRequest) GetLegalName() string

func (*UpdateBillingProfileRequest) GetLocality

func (x *UpdateBillingProfileRequest) GetLocality() string

func (*UpdateBillingProfileRequest) GetLoggedInUserId

func (x *UpdateBillingProfileRequest) GetLoggedInUserId() string

func (*UpdateBillingProfileRequest) GetPhone

func (x *UpdateBillingProfileRequest) GetPhone() string

func (*UpdateBillingProfileRequest) GetRegion

func (x *UpdateBillingProfileRequest) GetRegion() string

func (*UpdateBillingProfileRequest) GetSendInvoicesBcc

func (x *UpdateBillingProfileRequest) GetSendInvoicesBcc() string

func (*UpdateBillingProfileRequest) GetSendInvoicesFrom

func (x *UpdateBillingProfileRequest) GetSendInvoicesFrom() string

func (*UpdateBillingProfileRequest) GetTenant

func (x *UpdateBillingProfileRequest) GetTenant() string

func (*UpdateBillingProfileRequest) GetUpdatedAt

func (*UpdateBillingProfileRequest) GetVatNumber

func (x *UpdateBillingProfileRequest) GetVatNumber() string

func (*UpdateBillingProfileRequest) GetZip

func (x *UpdateBillingProfileRequest) GetZip() string

func (*UpdateBillingProfileRequest) ProtoMessage

func (*UpdateBillingProfileRequest) ProtoMessage()

func (*UpdateBillingProfileRequest) ProtoReflect

func (*UpdateBillingProfileRequest) Reset

func (x *UpdateBillingProfileRequest) Reset()

func (*UpdateBillingProfileRequest) String

func (x *UpdateBillingProfileRequest) String() string

type UpdateTenantSettingsRequest

type UpdateTenantSettingsRequest 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"`
	UpdatedAt      *timestamppb.Timestamp    `protobuf:"bytes,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	AppSource      string                    `protobuf:"bytes,5,opt,name=appSource,proto3" json:"appSource,omitempty"`
	FieldsMask     []TenantSettingsFieldMask `protobuf:"varint,6,rep,packed,name=fieldsMask,proto3,enum=TenantSettingsFieldMask" json:"fieldsMask,omitempty"`
	// Deprecated: Marked as deprecated in tenant.proto.
	DefaultCurrency      string `protobuf:"bytes,7,opt,name=defaultCurrency,proto3" json:"defaultCurrency,omitempty"`
	InvoicingEnabled     bool   `protobuf:"varint,8,opt,name=invoicingEnabled,proto3" json:"invoicingEnabled,omitempty"`
	InvoicingPostpaid    bool   `protobuf:"varint,10,opt,name=invoicingPostpaid,proto3" json:"invoicingPostpaid,omitempty"`
	LogoRepositoryFileId string `protobuf:"bytes,11,opt,name=logoRepositoryFileId,proto3" json:"logoRepositoryFileId,omitempty"`
	BaseCurrency         string `protobuf:"bytes,12,opt,name=baseCurrency,proto3" json:"baseCurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTenantSettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdateTenantSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateTenantSettingsRequest) GetAppSource

func (x *UpdateTenantSettingsRequest) GetAppSource() string

func (*UpdateTenantSettingsRequest) GetBaseCurrency

func (x *UpdateTenantSettingsRequest) GetBaseCurrency() string

func (*UpdateTenantSettingsRequest) GetDefaultCurrency deprecated

func (x *UpdateTenantSettingsRequest) GetDefaultCurrency() string

Deprecated: Marked as deprecated in tenant.proto.

func (*UpdateTenantSettingsRequest) GetFieldsMask

func (*UpdateTenantSettingsRequest) GetInvoicingEnabled

func (x *UpdateTenantSettingsRequest) GetInvoicingEnabled() bool

func (*UpdateTenantSettingsRequest) GetInvoicingPostpaid

func (x *UpdateTenantSettingsRequest) GetInvoicingPostpaid() bool

func (*UpdateTenantSettingsRequest) GetLoggedInUserId

func (x *UpdateTenantSettingsRequest) GetLoggedInUserId() string

func (*UpdateTenantSettingsRequest) GetLogoRepositoryFileId

func (x *UpdateTenantSettingsRequest) GetLogoRepositoryFileId() string

func (*UpdateTenantSettingsRequest) GetTenant

func (x *UpdateTenantSettingsRequest) GetTenant() string

func (*UpdateTenantSettingsRequest) GetUpdatedAt

func (*UpdateTenantSettingsRequest) ProtoMessage

func (*UpdateTenantSettingsRequest) ProtoMessage()

func (*UpdateTenantSettingsRequest) ProtoReflect

func (*UpdateTenantSettingsRequest) Reset

func (x *UpdateTenantSettingsRequest) Reset()

func (*UpdateTenantSettingsRequest) String

func (x *UpdateTenantSettingsRequest) String() string

Jump to

Keyboard shortcuts

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