// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        (unknown)
// source: treasurer/service.proto

package treasurer

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type GetBankCardPaymentLinkRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MainSettings  *MainPaymentSettings   `protobuf:"bytes,1,opt,name=MainSettings,proto3" json:"MainSettings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetBankCardPaymentLinkRequest) Reset() {
	*x = GetBankCardPaymentLinkRequest{}
	mi := &file_treasurer_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetBankCardPaymentLinkRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetBankCardPaymentLinkRequest) ProtoMessage() {}

func (x *GetBankCardPaymentLinkRequest) ProtoReflect() protoreflect.Message {
	mi := &file_treasurer_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetBankCardPaymentLinkRequest.ProtoReflect.Descriptor instead.
func (*GetBankCardPaymentLinkRequest) Descriptor() ([]byte, []int) {
	return file_treasurer_service_proto_rawDescGZIP(), []int{0}
}

func (x *GetBankCardPaymentLinkRequest) GetMainSettings() *MainPaymentSettings {
	if x != nil {
		return x.MainSettings
	}
	return nil
}

type GetPaymentLinkRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MainSettings  *MainPaymentSettings   `protobuf:"bytes,1,opt,name=MainSettings,proto3" json:"MainSettings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetPaymentLinkRequest) Reset() {
	*x = GetPaymentLinkRequest{}
	mi := &file_treasurer_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetPaymentLinkRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetPaymentLinkRequest) ProtoMessage() {}

func (x *GetPaymentLinkRequest) ProtoReflect() protoreflect.Message {
	mi := &file_treasurer_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPaymentLinkRequest.ProtoReflect.Descriptor instead.
func (*GetPaymentLinkRequest) Descriptor() ([]byte, []int) {
	return file_treasurer_service_proto_rawDescGZIP(), []int{1}
}

func (x *GetPaymentLinkRequest) GetMainSettings() *MainPaymentSettings {
	if x != nil {
		return x.MainSettings
	}
	return nil
}

type GetB2BPaymentLinkRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	MainSettings   *MainPaymentSettings   `protobuf:"bytes,1,opt,name=MainSettings,proto3" json:"MainSettings,omitempty"`
	PaymentPurpose string                 `protobuf:"bytes,2,opt,name=PaymentPurpose,proto3" json:"PaymentPurpose,omitempty"`
	VatData        *emptypb.Empty         `protobuf:"bytes,3,opt,name=VatData,proto3" json:"VatData,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *GetB2BPaymentLinkRequest) Reset() {
	*x = GetB2BPaymentLinkRequest{}
	mi := &file_treasurer_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetB2BPaymentLinkRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetB2BPaymentLinkRequest) ProtoMessage() {}

func (x *GetB2BPaymentLinkRequest) ProtoReflect() protoreflect.Message {
	mi := &file_treasurer_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetB2BPaymentLinkRequest.ProtoReflect.Descriptor instead.
func (*GetB2BPaymentLinkRequest) Descriptor() ([]byte, []int) {
	return file_treasurer_service_proto_rawDescGZIP(), []int{2}
}

func (x *GetB2BPaymentLinkRequest) GetMainSettings() *MainPaymentSettings {
	if x != nil {
		return x.MainSettings
	}
	return nil
}

func (x *GetB2BPaymentLinkRequest) GetPaymentPurpose() string {
	if x != nil {
		return x.PaymentPurpose
	}
	return ""
}

func (x *GetB2BPaymentLinkRequest) GetVatData() *emptypb.Empty {
	if x != nil {
		return x.VatData
	}
	return nil
}

type GetPaymentLinkResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	RedirectURL   string                 `protobuf:"bytes,1,opt,name=RedirectURL,proto3" json:"RedirectURL,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetPaymentLinkResponse) Reset() {
	*x = GetPaymentLinkResponse{}
	mi := &file_treasurer_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetPaymentLinkResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetPaymentLinkResponse) ProtoMessage() {}

func (x *GetPaymentLinkResponse) ProtoReflect() protoreflect.Message {
	mi := &file_treasurer_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPaymentLinkResponse.ProtoReflect.Descriptor instead.
func (*GetPaymentLinkResponse) Descriptor() ([]byte, []int) {
	return file_treasurer_service_proto_rawDescGZIP(), []int{3}
}

func (x *GetPaymentLinkResponse) GetRedirectURL() string {
	if x != nil {
		return x.RedirectURL
	}
	return ""
}

var File_treasurer_service_proto protoreflect.FileDescriptor

const file_treasurer_service_proto_rawDesc = "" +
	"\n" +
	"\x17treasurer/service.proto\x12\ttreasurer\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dtreasurer/payment.model.proto\"c\n" +
	"\x1dGetBankCardPaymentLinkRequest\x12B\n" +
	"\fMainSettings\x18\x01 \x01(\v2\x1e.treasurer.MainPaymentSettingsR\fMainSettings\"[\n" +
	"\x15GetPaymentLinkRequest\x12B\n" +
	"\fMainSettings\x18\x01 \x01(\v2\x1e.treasurer.MainPaymentSettingsR\fMainSettings\"\xb8\x01\n" +
	"\x18GetB2BPaymentLinkRequest\x12B\n" +
	"\fMainSettings\x18\x01 \x01(\v2\x1e.treasurer.MainPaymentSettingsR\fMainSettings\x12&\n" +
	"\x0ePaymentPurpose\x18\x02 \x01(\tR\x0ePaymentPurpose\x120\n" +
	"\aVatData\x18\x03 \x01(\v2\x16.google.protobuf.EmptyR\aVatData\":\n" +
	"\x16GetPaymentLinkResponse\x12 \n" +
	"\vRedirectURL\x18\x01 \x01(\tR\vRedirectURL2\xd4\x04\n" +
	"\x10TreasurerService\x12_\n" +
	"\x16GetPaymentLinkBankCard\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00\x12_\n" +
	"\x16GetPaymentLinkYooMoney\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00\x12^\n" +
	"\x15GetPaymentLinkTinkoff\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00\x12b\n" +
	"\x19GetPaymentLinkSberbankB2B\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00\x12Z\n" +
	"\x11GetPaymentLinkSBP\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00\x12^\n" +
	"\x15GetPaymentLinkSberPay\x12 .treasurer.GetPaymentLinkRequest\x1a!.treasurer.GetPaymentLinkResponse\"\x00B\rZ\v./treasurerb\x06proto3"

var (
	file_treasurer_service_proto_rawDescOnce sync.Once
	file_treasurer_service_proto_rawDescData []byte
)

func file_treasurer_service_proto_rawDescGZIP() []byte {
	file_treasurer_service_proto_rawDescOnce.Do(func() {
		file_treasurer_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_treasurer_service_proto_rawDesc), len(file_treasurer_service_proto_rawDesc)))
	})
	return file_treasurer_service_proto_rawDescData
}

var file_treasurer_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_treasurer_service_proto_goTypes = []any{
	(*GetBankCardPaymentLinkRequest)(nil), // 0: treasurer.GetBankCardPaymentLinkRequest
	(*GetPaymentLinkRequest)(nil),         // 1: treasurer.GetPaymentLinkRequest
	(*GetB2BPaymentLinkRequest)(nil),      // 2: treasurer.GetB2BPaymentLinkRequest
	(*GetPaymentLinkResponse)(nil),        // 3: treasurer.GetPaymentLinkResponse
	(*MainPaymentSettings)(nil),           // 4: treasurer.MainPaymentSettings
	(*emptypb.Empty)(nil),                 // 5: google.protobuf.Empty
}
var file_treasurer_service_proto_depIdxs = []int32{
	4,  // 0: treasurer.GetBankCardPaymentLinkRequest.MainSettings:type_name -> treasurer.MainPaymentSettings
	4,  // 1: treasurer.GetPaymentLinkRequest.MainSettings:type_name -> treasurer.MainPaymentSettings
	4,  // 2: treasurer.GetB2BPaymentLinkRequest.MainSettings:type_name -> treasurer.MainPaymentSettings
	5,  // 3: treasurer.GetB2BPaymentLinkRequest.VatData:type_name -> google.protobuf.Empty
	1,  // 4: treasurer.TreasurerService.GetPaymentLinkBankCard:input_type -> treasurer.GetPaymentLinkRequest
	1,  // 5: treasurer.TreasurerService.GetPaymentLinkYooMoney:input_type -> treasurer.GetPaymentLinkRequest
	1,  // 6: treasurer.TreasurerService.GetPaymentLinkTinkoff:input_type -> treasurer.GetPaymentLinkRequest
	1,  // 7: treasurer.TreasurerService.GetPaymentLinkSberbankB2B:input_type -> treasurer.GetPaymentLinkRequest
	1,  // 8: treasurer.TreasurerService.GetPaymentLinkSBP:input_type -> treasurer.GetPaymentLinkRequest
	1,  // 9: treasurer.TreasurerService.GetPaymentLinkSberPay:input_type -> treasurer.GetPaymentLinkRequest
	3,  // 10: treasurer.TreasurerService.GetPaymentLinkBankCard:output_type -> treasurer.GetPaymentLinkResponse
	3,  // 11: treasurer.TreasurerService.GetPaymentLinkYooMoney:output_type -> treasurer.GetPaymentLinkResponse
	3,  // 12: treasurer.TreasurerService.GetPaymentLinkTinkoff:output_type -> treasurer.GetPaymentLinkResponse
	3,  // 13: treasurer.TreasurerService.GetPaymentLinkSberbankB2B:output_type -> treasurer.GetPaymentLinkResponse
	3,  // 14: treasurer.TreasurerService.GetPaymentLinkSBP:output_type -> treasurer.GetPaymentLinkResponse
	3,  // 15: treasurer.TreasurerService.GetPaymentLinkSberPay:output_type -> treasurer.GetPaymentLinkResponse
	10, // [10:16] is the sub-list for method output_type
	4,  // [4:10] is the sub-list for method input_type
	4,  // [4:4] is the sub-list for extension type_name
	4,  // [4:4] is the sub-list for extension extendee
	0,  // [0:4] is the sub-list for field type_name
}

func init() { file_treasurer_service_proto_init() }
func file_treasurer_service_proto_init() {
	if File_treasurer_service_proto != nil {
		return
	}
	file_treasurer_payment_model_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_treasurer_service_proto_rawDesc), len(file_treasurer_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_treasurer_service_proto_goTypes,
		DependencyIndexes: file_treasurer_service_proto_depIdxs,
		MessageInfos:      file_treasurer_service_proto_msgTypes,
	}.Build()
	File_treasurer_service_proto = out.File
	file_treasurer_service_proto_goTypes = nil
	file_treasurer_service_proto_depIdxs = nil
}
