// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        v5.27.1
// source: refund.proto

package api

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	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 RefundCreateType int32

const (
	RefundCreateType_ALL  RefundCreateType = 0 // 全额退款
	RefundCreateType_PART RefundCreateType = 1 // 部分退款
)

// Enum value maps for RefundCreateType.
var (
	RefundCreateType_name = map[int32]string{
		0: "ALL",
		1: "PART",
	}
	RefundCreateType_value = map[string]int32{
		"ALL":  0,
		"PART": 1,
	}
)

func (x RefundCreateType) Enum() *RefundCreateType {
	p := new(RefundCreateType)
	*p = x
	return p
}

func (x RefundCreateType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RefundCreateType) Descriptor() protoreflect.EnumDescriptor {
	return file_refund_proto_enumTypes[0].Descriptor()
}

func (RefundCreateType) Type() protoreflect.EnumType {
	return &file_refund_proto_enumTypes[0]
}

func (x RefundCreateType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RefundCreateType.Descriptor instead.
func (RefundCreateType) EnumDescriptor() ([]byte, []int) {
	return file_refund_proto_rawDescGZIP(), []int{0}
}

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

	OrderId          int64            `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`                                                        // 交易单id
	RefundCreateType RefundCreateType `protobuf:"varint,2,opt,name=refund_create_type,json=refundCreateType,proto3,enum=api.RefundCreateType" json:"refund_create_type,omitempty"` // 创建退款类型
	RefundType       RefundOrderType  `protobuf:"varint,3,opt,name=refund_type,json=refundType,proto3,enum=api.RefundOrderType" json:"refund_type,omitempty"`                      // 退款类型
	PaymentId        int64            `protobuf:"varint,4,opt,name=payment_id,json=paymentId,proto3" json:"payment_id,omitempty"`                                                  // 支付单id
	RefundAmount     uint64           `protobuf:"varint,5,opt,name=refund_amount,json=refundAmount,proto3" json:"refund_amount,omitempty"`                                         // 退款金额
	RefundReason     string           `protobuf:"bytes,6,opt,name=refund_reason,json=refundReason,proto3" json:"refund_reason,omitempty"`                                          // 退款原因
}

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

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

func (*RefundCreateRequest) ProtoMessage() {}

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

func (x *RefundCreateRequest) GetOrderId() int64 {
	if x != nil {
		return x.OrderId
	}
	return 0
}

func (x *RefundCreateRequest) GetRefundCreateType() RefundCreateType {
	if x != nil {
		return x.RefundCreateType
	}
	return RefundCreateType_ALL
}

func (x *RefundCreateRequest) GetRefundType() RefundOrderType {
	if x != nil {
		return x.RefundType
	}
	return RefundOrderType_UNDEFINED_ROT
}

func (x *RefundCreateRequest) GetPaymentId() int64 {
	if x != nil {
		return x.PaymentId
	}
	return 0
}

func (x *RefundCreateRequest) GetRefundAmount() uint64 {
	if x != nil {
		return x.RefundAmount
	}
	return 0
}

func (x *RefundCreateRequest) GetRefundReason() string {
	if x != nil {
		return x.RefundReason
	}
	return ""
}

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

	Meta        *Metadata    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RefundOrder *RefundOrder `protobuf:"bytes,2,opt,name=refund_order,json=refundOrder,proto3" json:"refund_order,omitempty"`
}

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

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

func (*RefundCreateResponse) ProtoMessage() {}

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

func (x *RefundCreateResponse) GetMeta() *Metadata {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RefundCreateResponse) GetRefundOrder() *RefundOrder {
	if x != nil {
		return x.RefundOrder
	}
	return nil
}

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

	OrderIdList       []int64  `protobuf:"varint,1,rep,packed,name=order_id_list,json=orderIdList,proto3" json:"order_id_list,omitempty"`
	RefundOrderNoList []string `protobuf:"bytes,2,rep,name=refund_order_no_list,json=refundOrderNoList,proto3" json:"refund_order_no_list,omitempty"`
	PaymentIdList     []int64  `protobuf:"varint,3,rep,packed,name=payment_id_list,json=paymentIdList,proto3" json:"payment_id_list,omitempty"`
}

func (x *RefundQueryRequest) Reset() {
	*x = RefundQueryRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_refund_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*RefundQueryRequest) ProtoMessage() {}

func (x *RefundQueryRequest) ProtoReflect() protoreflect.Message {
	mi := &file_refund_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 RefundQueryRequest.ProtoReflect.Descriptor instead.
func (*RefundQueryRequest) Descriptor() ([]byte, []int) {
	return file_refund_proto_rawDescGZIP(), []int{2}
}

func (x *RefundQueryRequest) GetOrderIdList() []int64 {
	if x != nil {
		return x.OrderIdList
	}
	return nil
}

func (x *RefundQueryRequest) GetRefundOrderNoList() []string {
	if x != nil {
		return x.RefundOrderNoList
	}
	return nil
}

func (x *RefundQueryRequest) GetPaymentIdList() []int64 {
	if x != nil {
		return x.PaymentIdList
	}
	return nil
}

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

	Meta            *Metadata      `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RefundOrderList []*RefundOrder `protobuf:"bytes,2,rep,name=refund_order_list,json=refundOrderList,proto3" json:"refund_order_list,omitempty"`
}

func (x *RefundQueryResponse) Reset() {
	*x = RefundQueryResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_refund_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*RefundQueryResponse) ProtoMessage() {}

func (x *RefundQueryResponse) ProtoReflect() protoreflect.Message {
	mi := &file_refund_proto_msgTypes[3]
	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 RefundQueryResponse.ProtoReflect.Descriptor instead.
func (*RefundQueryResponse) Descriptor() ([]byte, []int) {
	return file_refund_proto_rawDescGZIP(), []int{3}
}

func (x *RefundQueryResponse) GetMeta() *Metadata {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RefundQueryResponse) GetRefundOrderList() []*RefundOrder {
	if x != nil {
		return x.RefundOrderList
	}
	return nil
}

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

	RefundOrderStatus RefundOrderStatus `protobuf:"varint,1,opt,name=refund_order_status,json=refundOrderStatus,proto3,enum=api.RefundOrderStatus" json:"refund_order_status,omitempty"` // 退款单状态
	RefundOrderId     int64             `protobuf:"varint,2,opt,name=refund_order_id,json=refundOrderId,proto3" json:"refund_order_id,omitempty"`                                        // 退款单id
	RefundReason      string            `protobuf:"bytes,3,opt,name=refund_reason,json=refundReason,proto3" json:"refund_reason,omitempty"`                                              // 退款原因
}

func (x *RefundUpdateRequest) Reset() {
	*x = RefundUpdateRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_refund_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*RefundUpdateRequest) ProtoMessage() {}

func (x *RefundUpdateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_refund_proto_msgTypes[4]
	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 RefundUpdateRequest.ProtoReflect.Descriptor instead.
func (*RefundUpdateRequest) Descriptor() ([]byte, []int) {
	return file_refund_proto_rawDescGZIP(), []int{4}
}

func (x *RefundUpdateRequest) GetRefundOrderStatus() RefundOrderStatus {
	if x != nil {
		return x.RefundOrderStatus
	}
	return RefundOrderStatus_CREATE_ROS
}

func (x *RefundUpdateRequest) GetRefundOrderId() int64 {
	if x != nil {
		return x.RefundOrderId
	}
	return 0
}

func (x *RefundUpdateRequest) GetRefundReason() string {
	if x != nil {
		return x.RefundReason
	}
	return ""
}

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

	Meta        *Metadata    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RefundOrder *RefundOrder `protobuf:"bytes,2,opt,name=refund_order,json=refundOrder,proto3" json:"refund_order,omitempty"`
}

func (x *RefundUpdateResponse) Reset() {
	*x = RefundUpdateResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_refund_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*RefundUpdateResponse) ProtoMessage() {}

func (x *RefundUpdateResponse) ProtoReflect() protoreflect.Message {
	mi := &file_refund_proto_msgTypes[5]
	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 RefundUpdateResponse.ProtoReflect.Descriptor instead.
func (*RefundUpdateResponse) Descriptor() ([]byte, []int) {
	return file_refund_proto_rawDescGZIP(), []int{5}
}

func (x *RefundUpdateResponse) GetMeta() *Metadata {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RefundUpdateResponse) GetRefundOrder() *RefundOrder {
	if x != nil {
		return x.RefundOrder
	}
	return nil
}

var File_refund_proto protoreflect.FileDescriptor

var file_refund_proto_rawDesc = []byte{
	0x0a, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03,
	0x61, 0x70, 0x69, 0x1a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
	0x14, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
	0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x22, 0x95, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x43, 0x72, 0x65,
	0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72,
	0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72,
	0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f,
	0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x0e, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x43, 0x72,
	0x65, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64,
	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x72, 0x65,
	0x66, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65,
	0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x54, 0x79, 0x70,
	0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
	0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64,
	0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
	0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x41,
	0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f,
	0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65,
	0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x14, 0x52, 0x65,
	0x66, 0x75, 0x6e, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
	0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f,
	0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70,
	0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x72,
	0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x52,
	0x65, 0x66, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x22, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69,
	0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49,
	0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f,
	0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,
	0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72,
	0x4e, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e,
	0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52,
	0x0d, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x76,
	0x0a, 0x13, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
	0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x75,
	0x6e, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,
	0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
	0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64,
	0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x75, 0x6e,
	0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46,
	0x0a, 0x13, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73,
	0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x61, 0x70,
	0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61,
	0x74, 0x75, 0x73, 0x52, 0x11, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72,
	0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64,
	0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
	0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23,
	0x0a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x61,
	0x73, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x64,
	0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x6d,
	0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e,
	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x33,
	0x0a, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e,
	0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4f, 0x72,
	0x64, 0x65, 0x72, 0x2a, 0x25, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x43, 0x72, 0x65,
	0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00,
	0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x52, 0x54, 0x10, 0x01, 0x32, 0xdb, 0x01, 0x0a, 0x0d, 0x52,
	0x65, 0x66, 0x75, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0c,
	0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x61,
	0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66,
	0x75, 0x6e, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x40, 0x0a, 0x0b, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79,
	0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65,
	0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
	0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x64,
	0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
	0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68,
	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x7a, 0x65, 0x6e, 0x69,
	0x74, 0x68, 0x2f, 0x44, 0x6f, 0x75, 0x54, 0x6f, 0x6b, 0x2f, 0x2e, 0x2e, 0x2e, 0x3b, 0x61, 0x70,
	0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_refund_proto_rawDescOnce sync.Once
	file_refund_proto_rawDescData = file_refund_proto_rawDesc
)

func file_refund_proto_rawDescGZIP() []byte {
	file_refund_proto_rawDescOnce.Do(func() {
		file_refund_proto_rawDescData = protoimpl.X.CompressGZIP(file_refund_proto_rawDescData)
	})
	return file_refund_proto_rawDescData
}

var file_refund_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_refund_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_refund_proto_goTypes = []interface{}{
	(RefundCreateType)(0),        // 0: api.RefundCreateType
	(*RefundCreateRequest)(nil),  // 1: api.RefundCreateRequest
	(*RefundCreateResponse)(nil), // 2: api.RefundCreateResponse
	(*RefundQueryRequest)(nil),   // 3: api.RefundQueryRequest
	(*RefundQueryResponse)(nil),  // 4: api.RefundQueryResponse
	(*RefundUpdateRequest)(nil),  // 5: api.RefundUpdateRequest
	(*RefundUpdateResponse)(nil), // 6: api.RefundUpdateResponse
	(RefundOrderType)(0),         // 7: api.RefundOrderType
	(*Metadata)(nil),             // 8: api.Metadata
	(*RefundOrder)(nil),          // 9: api.RefundOrder
	(RefundOrderStatus)(0),       // 10: api.RefundOrderStatus
}
var file_refund_proto_depIdxs = []int32{
	0,  // 0: api.RefundCreateRequest.refund_create_type:type_name -> api.RefundCreateType
	7,  // 1: api.RefundCreateRequest.refund_type:type_name -> api.RefundOrderType
	8,  // 2: api.RefundCreateResponse.meta:type_name -> api.Metadata
	9,  // 3: api.RefundCreateResponse.refund_order:type_name -> api.RefundOrder
	8,  // 4: api.RefundQueryResponse.meta:type_name -> api.Metadata
	9,  // 5: api.RefundQueryResponse.refund_order_list:type_name -> api.RefundOrder
	10, // 6: api.RefundUpdateRequest.refund_order_status:type_name -> api.RefundOrderStatus
	8,  // 7: api.RefundUpdateResponse.meta:type_name -> api.Metadata
	9,  // 8: api.RefundUpdateResponse.refund_order:type_name -> api.RefundOrder
	1,  // 9: api.RefundService.RefundCreate:input_type -> api.RefundCreateRequest
	3,  // 10: api.RefundService.RefundQuery:input_type -> api.RefundQueryRequest
	5,  // 11: api.RefundService.RefundUpdate:input_type -> api.RefundUpdateRequest
	2,  // 12: api.RefundService.RefundCreate:output_type -> api.RefundCreateResponse
	4,  // 13: api.RefundService.RefundQuery:output_type -> api.RefundQueryResponse
	6,  // 14: api.RefundService.RefundUpdate:output_type -> api.RefundUpdateResponse
	12, // [12:15] is the sub-list for method output_type
	9,  // [9:12] is the sub-list for method input_type
	9,  // [9:9] is the sub-list for extension type_name
	9,  // [9:9] is the sub-list for extension extendee
	0,  // [0:9] is the sub-list for field type_name
}

func init() { file_refund_proto_init() }
func file_refund_proto_init() {
	if File_refund_proto != nil {
		return
	}
	file_base_proto_init()
	file_trade_entities_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_refund_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundCreateRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_refund_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundCreateResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_refund_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundQueryRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_refund_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundQueryResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_refund_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundUpdateRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_refund_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RefundUpdateResponse); 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_refund_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_refund_proto_goTypes,
		DependencyIndexes: file_refund_proto_depIdxs,
		EnumInfos:         file_refund_proto_enumTypes,
		MessageInfos:      file_refund_proto_msgTypes,
	}.Build()
	File_refund_proto = out.File
	file_refund_proto_rawDesc = nil
	file_refund_proto_goTypes = nil
	file_refund_proto_depIdxs = nil
}
