// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.0
// 	protoc        v3.20.2
// source: payment_gateway_api.proto

package pay

import (
	_ "apis/hertz_gen/api"
	payment "github.com/BeroKiTeer/MyGoMall/common/kitex_gen/payment"
	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 CardPayReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	CardPayReq  *payment.ChargeReq `protobuf:"bytes,1,opt,name=cardPayReq,proto3" form:"cardPayReq" json:"cardPayReq,omitempty" query:"cardPayReq"`
	UrlCallback string             `protobuf:"bytes,2,opt,name=url_callback,json=urlCallback,proto3" form:"url_callback" json:"url_callback,omitempty" query:"url_callback"` //回调的url
}

func (x *CardPayReq) Reset() {
	*x = CardPayReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_payment_gateway_api_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*CardPayReq) ProtoMessage() {}

func (x *CardPayReq) ProtoReflect() protoreflect.Message {
	mi := &file_payment_gateway_api_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 CardPayReq.ProtoReflect.Descriptor instead.
func (*CardPayReq) Descriptor() ([]byte, []int) {
	return file_payment_gateway_api_proto_rawDescGZIP(), []int{0}
}

func (x *CardPayReq) GetCardPayReq() *payment.ChargeReq {
	if x != nil {
		return x.CardPayReq
	}
	return nil
}

func (x *CardPayReq) GetUrlCallback() string {
	if x != nil {
		return x.UrlCallback
	}
	return ""
}

type CardPayResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	CardPayResp *payment.ChargeReq `protobuf:"bytes,1,opt,name=cardPayResp,proto3" form:"cardPayResp" json:"cardPayResp,omitempty" query:"cardPayResp"`
	Success     string             `protobuf:"bytes,2,opt,name=success,proto3" form:"success" json:"success,omitempty" query:"success"` //支付是否成功
}

func (x *CardPayResp) Reset() {
	*x = CardPayResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_payment_gateway_api_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*CardPayResp) ProtoMessage() {}

func (x *CardPayResp) ProtoReflect() protoreflect.Message {
	mi := &file_payment_gateway_api_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 CardPayResp.ProtoReflect.Descriptor instead.
func (*CardPayResp) Descriptor() ([]byte, []int) {
	return file_payment_gateway_api_proto_rawDescGZIP(), []int{1}
}

func (x *CardPayResp) GetCardPayResp() *payment.ChargeReq {
	if x != nil {
		return x.CardPayResp
	}
	return nil
}

func (x *CardPayResp) GetSuccess() string {
	if x != nil {
		return x.Success
	}
	return ""
}

var File_payment_gateway_api_proto protoreflect.FileDescriptor

var file_payment_gateway_api_proto_rawDesc = []byte{
	0x0a, 0x19, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
	0x79, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x61, 0x70, 0x69,
	0x2e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
	0x1a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x61, 0x79,
	0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x0a, 0x43, 0x61,
	0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x61, 0x72, 0x64,
	0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70,
	0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71,
	0x52, 0x0a, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c,
	0x75, 0x72, 0x6c, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x09, 0x52, 0x0b, 0x75, 0x72, 0x6c, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x22,
	0x5d, 0x0a, 0x0b, 0x43, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34,
	0x0a, 0x0b, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x68,
	0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x52, 0x0b, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79,
	0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x32, 0x75,
	0x0a, 0x0e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
	0x12, 0x63, 0x0a, 0x07, 0x43, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x12, 0x1f, 0x2e, 0x61, 0x70,
	0x69, 0x2e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
	0x79, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61,
	0x70, 0x69, 0x2e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77,
	0x61, 0x79, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x22, 0x15,
	0xd2, 0xc1, 0x18, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x79, 0x2f, 0x63, 0x61, 0x72,
	0x64, 0x5f, 0x70, 0x61, 0x79, 0x42, 0x18, 0x5a, 0x16, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x68, 0x65,
	0x72, 0x74, 0x7a, 0x5f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x79, 0x62,
	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_payment_gateway_api_proto_rawDescOnce sync.Once
	file_payment_gateway_api_proto_rawDescData = file_payment_gateway_api_proto_rawDesc
)

func file_payment_gateway_api_proto_rawDescGZIP() []byte {
	file_payment_gateway_api_proto_rawDescOnce.Do(func() {
		file_payment_gateway_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_payment_gateway_api_proto_rawDescData)
	})
	return file_payment_gateway_api_proto_rawDescData
}

var file_payment_gateway_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_payment_gateway_api_proto_goTypes = []interface{}{
	(*CardPayReq)(nil),        // 0: api.payment_gateway.CardPayReq
	(*CardPayResp)(nil),       // 1: api.payment_gateway.CardPayResp
	(*payment.ChargeReq)(nil), // 2: payment.ChargeReq
}
var file_payment_gateway_api_proto_depIdxs = []int32{
	2, // 0: api.payment_gateway.CardPayReq.cardPayReq:type_name -> payment.ChargeReq
	2, // 1: api.payment_gateway.CardPayResp.cardPayResp:type_name -> payment.ChargeReq
	0, // 2: api.payment_gateway.PaymentGateway.CardPay:input_type -> api.payment_gateway.CardPayReq
	1, // 3: api.payment_gateway.PaymentGateway.CardPay:output_type -> api.payment_gateway.CardPayResp
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] 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_payment_gateway_api_proto_init() }
func file_payment_gateway_api_proto_init() {
	if File_payment_gateway_api_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_payment_gateway_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*CardPayReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_payment_gateway_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*CardPayResp); 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_payment_gateway_api_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_payment_gateway_api_proto_goTypes,
		DependencyIndexes: file_payment_gateway_api_proto_depIdxs,
		MessageInfos:      file_payment_gateway_api_proto_msgTypes,
	}.Build()
	File_payment_gateway_api_proto = out.File
	file_payment_gateway_api_proto_rawDesc = nil
	file_payment_gateway_api_proto_goTypes = nil
	file_payment_gateway_api_proto_depIdxs = nil
}
