// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc (unknown) // source: treasurer/payment.model.proto package treasurer import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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 MainPaymentSettings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Currency string `protobuf:"bytes,1,opt,name=Currency,proto3" json:"Currency,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"` CallbackHostGRPC []string `protobuf:"bytes,3,rep,name=CallbackHostGRPC,proto3" json:"CallbackHostGRPC,omitempty"` ReturnURL string `protobuf:"bytes,4,opt,name=ReturnURL,proto3" json:"ReturnURL,omitempty"` UserID string `protobuf:"bytes,5,opt,name=UserID,proto3" json:"UserID,omitempty"` ClientIP string `protobuf:"bytes,6,opt,name=ClientIP,proto3" json:"ClientIP,omitempty"` Customer *Customer `protobuf:"bytes,7,opt,name=Customer,proto3" json:"Customer,omitempty"` Items []*Item `protobuf:"bytes,8,rep,name=Items,proto3" json:"Items,omitempty"` } func (x *MainPaymentSettings) Reset() { *x = MainPaymentSettings{} if protoimpl.UnsafeEnabled { mi := &file_treasurer_payment_model_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MainPaymentSettings) String() string { return protoimpl.X.MessageStringOf(x) } func (*MainPaymentSettings) ProtoMessage() {} func (x *MainPaymentSettings) ProtoReflect() protoreflect.Message { mi := &file_treasurer_payment_model_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MainPaymentSettings.ProtoReflect.Descriptor instead. func (*MainPaymentSettings) Descriptor() ([]byte, []int) { return file_treasurer_payment_model_proto_rawDescGZIP(), []int{0} } func (x *MainPaymentSettings) GetCurrency() string { if x != nil { return x.Currency } return "" } func (x *MainPaymentSettings) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *MainPaymentSettings) GetCallbackHostGRPC() []string { if x != nil { return x.CallbackHostGRPC } return nil } func (x *MainPaymentSettings) GetReturnURL() string { if x != nil { return x.ReturnURL } return "" } func (x *MainPaymentSettings) GetUserID() string { if x != nil { return x.UserID } return "" } func (x *MainPaymentSettings) GetClientIP() string { if x != nil { return x.ClientIP } return "" } func (x *MainPaymentSettings) GetCustomer() *Customer { if x != nil { return x.Customer } return nil } func (x *MainPaymentSettings) GetItems() []*Item { if x != nil { return x.Items } return nil } type Customer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields FullName string `protobuf:"bytes,1,opt,name=FullName,proto3" json:"FullName,omitempty"` INN string `protobuf:"bytes,2,opt,name=INN,proto3" json:"INN,omitempty"` Email string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"` Phone string `protobuf:"bytes,4,opt,name=Phone,proto3" json:"Phone,omitempty"` } func (x *Customer) Reset() { *x = Customer{} if protoimpl.UnsafeEnabled { mi := &file_treasurer_payment_model_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Customer) String() string { return protoimpl.X.MessageStringOf(x) } func (*Customer) ProtoMessage() {} func (x *Customer) ProtoReflect() protoreflect.Message { mi := &file_treasurer_payment_model_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Customer.ProtoReflect.Descriptor instead. func (*Customer) Descriptor() ([]byte, []int) { return file_treasurer_payment_model_proto_rawDescGZIP(), []int{1} } func (x *Customer) GetFullName() string { if x != nil { return x.FullName } return "" } func (x *Customer) GetINN() string { if x != nil { return x.INN } return "" } func (x *Customer) GetEmail() string { if x != nil { return x.Email } return "" } func (x *Customer) GetPhone() string { if x != nil { return x.Phone } return "" } type Item struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Description string `protobuf:"bytes,1,opt,name=Description,proto3" json:"Description,omitempty"` Measure string `protobuf:"bytes,2,opt,name=Measure,proto3" json:"Measure,omitempty"` Quantity string `protobuf:"bytes,3,opt,name=Quantity,proto3" json:"Quantity,omitempty"` Money string `protobuf:"bytes,4,opt,name=Money,proto3" json:"Money,omitempty"` Currency string `protobuf:"bytes,5,opt,name=Currency,proto3" json:"Currency,omitempty"` } func (x *Item) Reset() { *x = Item{} if protoimpl.UnsafeEnabled { mi := &file_treasurer_payment_model_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Item) String() string { return protoimpl.X.MessageStringOf(x) } func (*Item) ProtoMessage() {} func (x *Item) ProtoReflect() protoreflect.Message { mi := &file_treasurer_payment_model_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Item.ProtoReflect.Descriptor instead. func (*Item) Descriptor() ([]byte, []int) { return file_treasurer_payment_model_proto_rawDescGZIP(), []int{2} } func (x *Item) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Item) GetMeasure() string { if x != nil { return x.Measure } return "" } func (x *Item) GetQuantity() string { if x != nil { return x.Quantity } return "" } func (x *Item) GetMoney() string { if x != nil { return x.Money } return "" } func (x *Item) GetCurrency() string { if x != nil { return x.Currency } return "" } var File_treasurer_payment_model_proto protoreflect.FileDescriptor var file_treasurer_payment_model_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x72, 0x2f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x72, 0x22, 0x9f, 0x02, 0x0a, 0x13, 0x4d, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x48, 0x6f, 0x73, 0x74, 0x47, 0x52, 0x50, 0x43, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x48, 0x6f, 0x73, 0x74, 0x47, 0x52, 0x50, 0x43, 0x12, 0x1c, 0x0a, 0x09, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x55, 0x52, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x55, 0x52, 0x4c, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x2f, 0x0a, 0x08, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x72, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x08, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x72, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x64, 0x0a, 0x08, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x4e, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x49, 0x4e, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_treasurer_payment_model_proto_rawDescOnce sync.Once file_treasurer_payment_model_proto_rawDescData = file_treasurer_payment_model_proto_rawDesc ) func file_treasurer_payment_model_proto_rawDescGZIP() []byte { file_treasurer_payment_model_proto_rawDescOnce.Do(func() { file_treasurer_payment_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_treasurer_payment_model_proto_rawDescData) }) return file_treasurer_payment_model_proto_rawDescData } var file_treasurer_payment_model_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_treasurer_payment_model_proto_goTypes = []interface{}{ (*MainPaymentSettings)(nil), // 0: treasurer.MainPaymentSettings (*Customer)(nil), // 1: treasurer.Customer (*Item)(nil), // 2: treasurer.Item } var file_treasurer_payment_model_proto_depIdxs = []int32{ 1, // 0: treasurer.MainPaymentSettings.Customer:type_name -> treasurer.Customer 2, // 1: treasurer.MainPaymentSettings.Items:type_name -> treasurer.Item 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_treasurer_payment_model_proto_init() } func file_treasurer_payment_model_proto_init() { if File_treasurer_payment_model_proto != nil { return } if !protoimpl.UnsafeEnabled { file_treasurer_payment_model_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MainPaymentSettings); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_treasurer_payment_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Customer); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_treasurer_payment_model_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Item); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_treasurer_payment_model_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_treasurer_payment_model_proto_goTypes, DependencyIndexes: file_treasurer_payment_model_proto_depIdxs, MessageInfos: file_treasurer_payment_model_proto_msgTypes, }.Build() File_treasurer_payment_model_proto = out.File file_treasurer_payment_model_proto_rawDesc = nil file_treasurer_payment_model_proto_goTypes = nil file_treasurer_payment_model_proto_depIdxs = nil }