payment

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Payment_AddOrderPayment_FullMethodName             = "/pixel_plaza.Payment/AddOrderPayment"
	Payment_GetOrderPayments_FullMethodName            = "/pixel_plaza.Payment/GetOrderPayments"
	Payment_AddBranchRentPayment_FullMethodName        = "/pixel_plaza.Payment/AddBranchRentPayment"
	Payment_GetBranchRentPayments_FullMethodName       = "/pixel_plaza.Payment/GetBranchRentPayments"
	Payment_GetBranchRentsPayments_FullMethodName      = "/pixel_plaza.Payment/GetBranchRentsPayments"
	Payment_VerifyPayment_FullMethodName               = "/pixel_plaza.Payment/VerifyPayment"
	Payment_AddPaymentAccount_FullMethodName           = "/pixel_plaza.Payment/AddPaymentAccount"
	Payment_GetPaymentAccounts_FullMethodName          = "/pixel_plaza.Payment/GetPaymentAccounts"
	Payment_GetActivePaymentAccounts_FullMethodName    = "/pixel_plaza.Payment/GetActivePaymentAccounts"
	Payment_GetSuspendedPaymentAccounts_FullMethodName = "/pixel_plaza.Payment/GetSuspendedPaymentAccounts"
	Payment_SuspendPaymentAccount_FullMethodName       = "/pixel_plaza.Payment/SuspendPaymentAccount"
	Payment_ActivatePaymentAccount_FullMethodName      = "/pixel_plaza.Payment/ActivatePaymentAccount"
	Payment_PayForOrder_FullMethodName                 = "/pixel_plaza.Payment/PayForOrder"
	Payment_PayForBranchRent_FullMethodName            = "/pixel_plaza.Payment/PayForBranchRent"
)

Variables

View Source
var File_proto_pixel_plaza_payment_proto protoreflect.FileDescriptor
View Source
var Payment_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pixel_plaza.Payment",
	HandlerType: (*PaymentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddOrderPayment",
			Handler:    _Payment_AddOrderPayment_Handler,
		},
		{
			MethodName: "GetOrderPayments",
			Handler:    _Payment_GetOrderPayments_Handler,
		},
		{
			MethodName: "AddBranchRentPayment",
			Handler:    _Payment_AddBranchRentPayment_Handler,
		},
		{
			MethodName: "GetBranchRentPayments",
			Handler:    _Payment_GetBranchRentPayments_Handler,
		},
		{
			MethodName: "GetBranchRentsPayments",
			Handler:    _Payment_GetBranchRentsPayments_Handler,
		},
		{
			MethodName: "VerifyPayment",
			Handler:    _Payment_VerifyPayment_Handler,
		},
		{
			MethodName: "AddPaymentAccount",
			Handler:    _Payment_AddPaymentAccount_Handler,
		},
		{
			MethodName: "GetPaymentAccounts",
			Handler:    _Payment_GetPaymentAccounts_Handler,
		},
		{
			MethodName: "GetActivePaymentAccounts",
			Handler:    _Payment_GetActivePaymentAccounts_Handler,
		},
		{
			MethodName: "GetSuspendedPaymentAccounts",
			Handler:    _Payment_GetSuspendedPaymentAccounts_Handler,
		},
		{
			MethodName: "SuspendPaymentAccount",
			Handler:    _Payment_SuspendPaymentAccount_Handler,
		},
		{
			MethodName: "ActivatePaymentAccount",
			Handler:    _Payment_ActivatePaymentAccount_Handler,
		},
		{
			MethodName: "PayForOrder",
			Handler:    _Payment_PayForOrder_Handler,
		},
		{
			MethodName: "PayForBranchRent",
			Handler:    _Payment_PayForBranchRent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/pixel_plaza/payment.proto",
}

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

Functions

func RegisterPaymentServer

func RegisterPaymentServer(s grpc.ServiceRegistrar, srv PaymentServer)

Types

type ActivatePaymentAccountRequest

type ActivatePaymentAccountRequest struct {
	PaymentAccountId string `protobuf:"bytes,1,opt,name=payment_account_id,json=paymentAccountId,proto3" json:"payment_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivatePaymentAccountRequest) Descriptor deprecated

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

Deprecated: Use ActivatePaymentAccountRequest.ProtoReflect.Descriptor instead.

func (*ActivatePaymentAccountRequest) GetPaymentAccountId

func (x *ActivatePaymentAccountRequest) GetPaymentAccountId() string

func (*ActivatePaymentAccountRequest) ProtoMessage

func (*ActivatePaymentAccountRequest) ProtoMessage()

func (*ActivatePaymentAccountRequest) ProtoReflect

func (*ActivatePaymentAccountRequest) Reset

func (x *ActivatePaymentAccountRequest) Reset()

func (*ActivatePaymentAccountRequest) String

type ActivatePaymentAccountResponse

type ActivatePaymentAccountResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivatePaymentAccountResponse) Descriptor deprecated

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

Deprecated: Use ActivatePaymentAccountResponse.ProtoReflect.Descriptor instead.

func (*ActivatePaymentAccountResponse) GetMessage

func (x *ActivatePaymentAccountResponse) GetMessage() string

func (*ActivatePaymentAccountResponse) ProtoMessage

func (*ActivatePaymentAccountResponse) ProtoMessage()

func (*ActivatePaymentAccountResponse) ProtoReflect

func (*ActivatePaymentAccountResponse) Reset

func (x *ActivatePaymentAccountResponse) Reset()

func (*ActivatePaymentAccountResponse) String

type AddBranchRentPaymentRequest

type AddBranchRentPaymentRequest struct {
	BranchRentId string      `protobuf:"bytes,1,opt,name=branch_rent_id,json=branchRentId,proto3" json:"branch_rent_id,omitempty"`
	Payment      *AddPayment `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBranchRentPaymentRequest) Descriptor deprecated

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

Deprecated: Use AddBranchRentPaymentRequest.ProtoReflect.Descriptor instead.

func (*AddBranchRentPaymentRequest) GetBranchRentId

func (x *AddBranchRentPaymentRequest) GetBranchRentId() string

func (*AddBranchRentPaymentRequest) GetPayment

func (x *AddBranchRentPaymentRequest) GetPayment() *AddPayment

func (*AddBranchRentPaymentRequest) ProtoMessage

func (*AddBranchRentPaymentRequest) ProtoMessage()

func (*AddBranchRentPaymentRequest) ProtoReflect

func (*AddBranchRentPaymentRequest) Reset

func (x *AddBranchRentPaymentRequest) Reset()

func (*AddBranchRentPaymentRequest) String

func (x *AddBranchRentPaymentRequest) String() string

type AddBranchRentPaymentResponse

type AddBranchRentPaymentResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBranchRentPaymentResponse) Descriptor deprecated

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

Deprecated: Use AddBranchRentPaymentResponse.ProtoReflect.Descriptor instead.

func (*AddBranchRentPaymentResponse) GetMessage

func (x *AddBranchRentPaymentResponse) GetMessage() string

func (*AddBranchRentPaymentResponse) ProtoMessage

func (*AddBranchRentPaymentResponse) ProtoMessage()

func (*AddBranchRentPaymentResponse) ProtoReflect

func (*AddBranchRentPaymentResponse) Reset

func (x *AddBranchRentPaymentResponse) Reset()

func (*AddBranchRentPaymentResponse) String

type AddOrderPaymentRequest

type AddOrderPaymentRequest struct {
	OrderId string      `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Payment *AddPayment `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOrderPaymentRequest) Descriptor deprecated

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

Deprecated: Use AddOrderPaymentRequest.ProtoReflect.Descriptor instead.

func (*AddOrderPaymentRequest) GetOrderId

func (x *AddOrderPaymentRequest) GetOrderId() string

func (*AddOrderPaymentRequest) GetPayment

func (x *AddOrderPaymentRequest) GetPayment() *AddPayment

func (*AddOrderPaymentRequest) ProtoMessage

func (*AddOrderPaymentRequest) ProtoMessage()

func (*AddOrderPaymentRequest) ProtoReflect

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

func (*AddOrderPaymentRequest) Reset

func (x *AddOrderPaymentRequest) Reset()

func (*AddOrderPaymentRequest) String

func (x *AddOrderPaymentRequest) String() string

type AddOrderPaymentResponse

type AddOrderPaymentResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOrderPaymentResponse) Descriptor deprecated

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

Deprecated: Use AddOrderPaymentResponse.ProtoReflect.Descriptor instead.

func (*AddOrderPaymentResponse) GetMessage

func (x *AddOrderPaymentResponse) GetMessage() string

func (*AddOrderPaymentResponse) ProtoMessage

func (*AddOrderPaymentResponse) ProtoMessage()

func (*AddOrderPaymentResponse) ProtoReflect

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

func (*AddOrderPaymentResponse) Reset

func (x *AddOrderPaymentResponse) Reset()

func (*AddOrderPaymentResponse) String

func (x *AddOrderPaymentResponse) String() string

type AddPayment

type AddPayment struct {
	PaymentAccountId  string                 `protobuf:"bytes,1,opt,name=payment_account_id,json=paymentAccountId,proto3" json:"payment_account_id,omitempty"`
	PaymentIdentifier string                 `protobuf:"bytes,2,opt,name=payment_identifier,json=paymentIdentifier,proto3" json:"payment_identifier,omitempty"`
	Amount            string                 `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	PaymentDate       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPayment) Descriptor deprecated

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

Deprecated: Use AddPayment.ProtoReflect.Descriptor instead.

func (*AddPayment) GetAmount

func (x *AddPayment) GetAmount() string

func (*AddPayment) GetPaymentAccountId

func (x *AddPayment) GetPaymentAccountId() string

func (*AddPayment) GetPaymentDate

func (x *AddPayment) GetPaymentDate() *timestamppb.Timestamp

func (*AddPayment) GetPaymentIdentifier

func (x *AddPayment) GetPaymentIdentifier() string

func (*AddPayment) ProtoMessage

func (*AddPayment) ProtoMessage()

func (*AddPayment) ProtoReflect

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

func (*AddPayment) Reset

func (x *AddPayment) Reset()

func (*AddPayment) String

func (x *AddPayment) String() string

type AddPaymentAccountRequest

type AddPaymentAccountRequest struct {
	PaymentAccount *PaymentAccount `protobuf:"bytes,1,opt,name=payment_account,json=paymentAccount,proto3" json:"payment_account,omitempty"`
	BusinessId     *string         `protobuf:"bytes,2,opt,name=business_id,json=businessId,proto3,oneof" json:"business_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPaymentAccountRequest) Descriptor deprecated

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

Deprecated: Use AddPaymentAccountRequest.ProtoReflect.Descriptor instead.

func (*AddPaymentAccountRequest) GetBusinessId

func (x *AddPaymentAccountRequest) GetBusinessId() string

func (*AddPaymentAccountRequest) GetPaymentAccount

func (x *AddPaymentAccountRequest) GetPaymentAccount() *PaymentAccount

func (*AddPaymentAccountRequest) ProtoMessage

func (*AddPaymentAccountRequest) ProtoMessage()

func (*AddPaymentAccountRequest) ProtoReflect

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

func (*AddPaymentAccountRequest) Reset

func (x *AddPaymentAccountRequest) Reset()

func (*AddPaymentAccountRequest) String

func (x *AddPaymentAccountRequest) String() string

type AddPaymentAccountResponse

type AddPaymentAccountResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPaymentAccountResponse) Descriptor deprecated

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

Deprecated: Use AddPaymentAccountResponse.ProtoReflect.Descriptor instead.

func (*AddPaymentAccountResponse) GetMessage

func (x *AddPaymentAccountResponse) GetMessage() string

func (*AddPaymentAccountResponse) ProtoMessage

func (*AddPaymentAccountResponse) ProtoMessage()

func (*AddPaymentAccountResponse) ProtoReflect

func (*AddPaymentAccountResponse) Reset

func (x *AddPaymentAccountResponse) Reset()

func (*AddPaymentAccountResponse) String

func (x *AddPaymentAccountResponse) String() string

type GetActivePaymentAccountsRequest

type GetActivePaymentAccountsRequest struct {
	BusinessId *string `protobuf:"bytes,1,opt,name=business_id,json=businessId,proto3,oneof" json:"business_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivePaymentAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetActivePaymentAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetActivePaymentAccountsRequest) GetBusinessId

func (x *GetActivePaymentAccountsRequest) GetBusinessId() string

func (*GetActivePaymentAccountsRequest) ProtoMessage

func (*GetActivePaymentAccountsRequest) ProtoMessage()

func (*GetActivePaymentAccountsRequest) ProtoReflect

func (*GetActivePaymentAccountsRequest) Reset

func (*GetActivePaymentAccountsRequest) String

type GetActivePaymentAccountsResponse

type GetActivePaymentAccountsResponse struct {
	Message         string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	PaymentAccounts []*PaymentAccount `protobuf:"bytes,2,rep,name=payment_accounts,json=paymentAccounts,proto3" json:"payment_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivePaymentAccountsResponse) Descriptor deprecated

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

Deprecated: Use GetActivePaymentAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetActivePaymentAccountsResponse) GetMessage

func (x *GetActivePaymentAccountsResponse) GetMessage() string

func (*GetActivePaymentAccountsResponse) GetPaymentAccounts

func (x *GetActivePaymentAccountsResponse) GetPaymentAccounts() []*PaymentAccount

func (*GetActivePaymentAccountsResponse) ProtoMessage

func (*GetActivePaymentAccountsResponse) ProtoMessage()

func (*GetActivePaymentAccountsResponse) ProtoReflect

func (*GetActivePaymentAccountsResponse) Reset

func (*GetActivePaymentAccountsResponse) String

type GetBranchRentPaymentsRequest

type GetBranchRentPaymentsRequest struct {
	BranchRentId string `protobuf:"bytes,1,opt,name=branch_rent_id,json=branchRentId,proto3" json:"branch_rent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBranchRentPaymentsRequest) Descriptor deprecated

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

Deprecated: Use GetBranchRentPaymentsRequest.ProtoReflect.Descriptor instead.

func (*GetBranchRentPaymentsRequest) GetBranchRentId

func (x *GetBranchRentPaymentsRequest) GetBranchRentId() string

func (*GetBranchRentPaymentsRequest) ProtoMessage

func (*GetBranchRentPaymentsRequest) ProtoMessage()

func (*GetBranchRentPaymentsRequest) ProtoReflect

func (*GetBranchRentPaymentsRequest) Reset

func (x *GetBranchRentPaymentsRequest) Reset()

func (*GetBranchRentPaymentsRequest) String

type GetBranchRentPaymentsResponse

type GetBranchRentPaymentsResponse struct {
	Message  string        `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Payments []*GetPayment `protobuf:"bytes,2,rep,name=payments,proto3" json:"payments,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBranchRentPaymentsResponse) Descriptor deprecated

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

Deprecated: Use GetBranchRentPaymentsResponse.ProtoReflect.Descriptor instead.

func (*GetBranchRentPaymentsResponse) GetMessage

func (x *GetBranchRentPaymentsResponse) GetMessage() string

func (*GetBranchRentPaymentsResponse) GetPayments

func (x *GetBranchRentPaymentsResponse) GetPayments() []*GetPayment

func (*GetBranchRentPaymentsResponse) ProtoMessage

func (*GetBranchRentPaymentsResponse) ProtoMessage()

func (*GetBranchRentPaymentsResponse) ProtoReflect

func (*GetBranchRentPaymentsResponse) Reset

func (x *GetBranchRentPaymentsResponse) Reset()

func (*GetBranchRentPaymentsResponse) String

type GetBranchRentsPaymentsRequest

type GetBranchRentsPaymentsRequest struct {
	From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3,oneof" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBranchRentsPaymentsRequest) Descriptor deprecated

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

Deprecated: Use GetBranchRentsPaymentsRequest.ProtoReflect.Descriptor instead.

func (*GetBranchRentsPaymentsRequest) GetFrom

func (*GetBranchRentsPaymentsRequest) GetTo

func (*GetBranchRentsPaymentsRequest) ProtoMessage

func (*GetBranchRentsPaymentsRequest) ProtoMessage()

func (*GetBranchRentsPaymentsRequest) ProtoReflect

func (*GetBranchRentsPaymentsRequest) Reset

func (x *GetBranchRentsPaymentsRequest) Reset()

func (*GetBranchRentsPaymentsRequest) String

type GetBranchRentsPaymentsResponse

type GetBranchRentsPaymentsResponse struct {
	Message  string        `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Payments []*GetPayment `protobuf:"bytes,2,rep,name=payments,proto3" json:"payments,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBranchRentsPaymentsResponse) Descriptor deprecated

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

Deprecated: Use GetBranchRentsPaymentsResponse.ProtoReflect.Descriptor instead.

func (*GetBranchRentsPaymentsResponse) GetMessage

func (x *GetBranchRentsPaymentsResponse) GetMessage() string

func (*GetBranchRentsPaymentsResponse) GetPayments

func (x *GetBranchRentsPaymentsResponse) GetPayments() []*GetPayment

func (*GetBranchRentsPaymentsResponse) ProtoMessage

func (*GetBranchRentsPaymentsResponse) ProtoMessage()

func (*GetBranchRentsPaymentsResponse) ProtoReflect

func (*GetBranchRentsPaymentsResponse) Reset

func (x *GetBranchRentsPaymentsResponse) Reset()

func (*GetBranchRentsPaymentsResponse) String

type GetOrderPaymentsRequest

type GetOrderPaymentsRequest struct {
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderPaymentsRequest) Descriptor deprecated

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

Deprecated: Use GetOrderPaymentsRequest.ProtoReflect.Descriptor instead.

func (*GetOrderPaymentsRequest) GetOrderId

func (x *GetOrderPaymentsRequest) GetOrderId() string

func (*GetOrderPaymentsRequest) ProtoMessage

func (*GetOrderPaymentsRequest) ProtoMessage()

func (*GetOrderPaymentsRequest) ProtoReflect

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

func (*GetOrderPaymentsRequest) Reset

func (x *GetOrderPaymentsRequest) Reset()

func (*GetOrderPaymentsRequest) String

func (x *GetOrderPaymentsRequest) String() string

type GetOrderPaymentsResponse

type GetOrderPaymentsResponse struct {
	Message  string        `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Payments []*GetPayment `protobuf:"bytes,2,rep,name=payments,proto3" json:"payments,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderPaymentsResponse) Descriptor deprecated

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

Deprecated: Use GetOrderPaymentsResponse.ProtoReflect.Descriptor instead.

func (*GetOrderPaymentsResponse) GetMessage

func (x *GetOrderPaymentsResponse) GetMessage() string

func (*GetOrderPaymentsResponse) GetPayments

func (x *GetOrderPaymentsResponse) GetPayments() []*GetPayment

func (*GetOrderPaymentsResponse) ProtoMessage

func (*GetOrderPaymentsResponse) ProtoMessage()

func (*GetOrderPaymentsResponse) ProtoReflect

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

func (*GetOrderPaymentsResponse) Reset

func (x *GetOrderPaymentsResponse) Reset()

func (*GetOrderPaymentsResponse) String

func (x *GetOrderPaymentsResponse) String() string

type GetPayment

type GetPayment struct {
	PaymentAccountId  string                 `protobuf:"bytes,1,opt,name=payment_account_id,json=paymentAccountId,proto3" json:"payment_account_id,omitempty"`
	PaymentIdentifier string                 `protobuf:"bytes,2,opt,name=payment_identifier,json=paymentIdentifier,proto3" json:"payment_identifier,omitempty"`
	Amount            string                 `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	PaymentDate       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`
	IsVerified        bool                   `protobuf:"varint,5,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPayment) Descriptor deprecated

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

Deprecated: Use GetPayment.ProtoReflect.Descriptor instead.

func (*GetPayment) GetAmount

func (x *GetPayment) GetAmount() string

func (*GetPayment) GetIsVerified

func (x *GetPayment) GetIsVerified() bool

func (*GetPayment) GetPaymentAccountId

func (x *GetPayment) GetPaymentAccountId() string

func (*GetPayment) GetPaymentDate

func (x *GetPayment) GetPaymentDate() *timestamppb.Timestamp

func (*GetPayment) GetPaymentIdentifier

func (x *GetPayment) GetPaymentIdentifier() string

func (*GetPayment) ProtoMessage

func (*GetPayment) ProtoMessage()

func (*GetPayment) ProtoReflect

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

func (*GetPayment) Reset

func (x *GetPayment) Reset()

func (*GetPayment) String

func (x *GetPayment) String() string

type GetPaymentAccountsRequest

type GetPaymentAccountsRequest struct {
	BusinessId *string `protobuf:"bytes,1,opt,name=business_id,json=businessId,proto3,oneof" json:"business_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPaymentAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetPaymentAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetPaymentAccountsRequest) GetBusinessId

func (x *GetPaymentAccountsRequest) GetBusinessId() string

func (*GetPaymentAccountsRequest) ProtoMessage

func (*GetPaymentAccountsRequest) ProtoMessage()

func (*GetPaymentAccountsRequest) ProtoReflect

func (*GetPaymentAccountsRequest) Reset

func (x *GetPaymentAccountsRequest) Reset()

func (*GetPaymentAccountsRequest) String

func (x *GetPaymentAccountsRequest) String() string

type GetPaymentAccountsResponse

type GetPaymentAccountsResponse struct {
	Message         string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	PaymentAccounts []*PaymentAccount `protobuf:"bytes,2,rep,name=payment_accounts,json=paymentAccounts,proto3" json:"payment_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPaymentAccountsResponse) Descriptor deprecated

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

Deprecated: Use GetPaymentAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetPaymentAccountsResponse) GetMessage

func (x *GetPaymentAccountsResponse) GetMessage() string

func (*GetPaymentAccountsResponse) GetPaymentAccounts

func (x *GetPaymentAccountsResponse) GetPaymentAccounts() []*PaymentAccount

func (*GetPaymentAccountsResponse) ProtoMessage

func (*GetPaymentAccountsResponse) ProtoMessage()

func (*GetPaymentAccountsResponse) ProtoReflect

func (*GetPaymentAccountsResponse) Reset

func (x *GetPaymentAccountsResponse) Reset()

func (*GetPaymentAccountsResponse) String

func (x *GetPaymentAccountsResponse) String() string

type GetSuspendedPaymentAccountsRequest

type GetSuspendedPaymentAccountsRequest struct {
	BusinessId *string `protobuf:"bytes,1,opt,name=business_id,json=businessId,proto3,oneof" json:"business_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSuspendedPaymentAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetSuspendedPaymentAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetSuspendedPaymentAccountsRequest) GetBusinessId

func (x *GetSuspendedPaymentAccountsRequest) GetBusinessId() string

func (*GetSuspendedPaymentAccountsRequest) ProtoMessage

func (*GetSuspendedPaymentAccountsRequest) ProtoMessage()

func (*GetSuspendedPaymentAccountsRequest) ProtoReflect

func (*GetSuspendedPaymentAccountsRequest) Reset

func (*GetSuspendedPaymentAccountsRequest) String

type GetSuspendedPaymentAccountsResponse

type GetSuspendedPaymentAccountsResponse struct {
	Message         string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	PaymentAccounts []*PaymentAccount `protobuf:"bytes,2,rep,name=payment_accounts,json=paymentAccounts,proto3" json:"payment_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSuspendedPaymentAccountsResponse) Descriptor deprecated

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

Deprecated: Use GetSuspendedPaymentAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetSuspendedPaymentAccountsResponse) GetMessage

func (*GetSuspendedPaymentAccountsResponse) GetPaymentAccounts

func (x *GetSuspendedPaymentAccountsResponse) GetPaymentAccounts() []*PaymentAccount

func (*GetSuspendedPaymentAccountsResponse) ProtoMessage

func (*GetSuspendedPaymentAccountsResponse) ProtoMessage()

func (*GetSuspendedPaymentAccountsResponse) ProtoReflect

func (*GetSuspendedPaymentAccountsResponse) Reset

func (*GetSuspendedPaymentAccountsResponse) String

type PayForBranchRentRequest

type PayForBranchRentRequest struct {
	BranchRentId string      `protobuf:"bytes,1,opt,name=branch_rent_id,json=branchRentId,proto3" json:"branch_rent_id,omitempty"`
	Payment      *AddPayment `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`
	// contains filtered or unexported fields
}

func (*PayForBranchRentRequest) Descriptor deprecated

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

Deprecated: Use PayForBranchRentRequest.ProtoReflect.Descriptor instead.

func (*PayForBranchRentRequest) GetBranchRentId

func (x *PayForBranchRentRequest) GetBranchRentId() string

func (*PayForBranchRentRequest) GetPayment

func (x *PayForBranchRentRequest) GetPayment() *AddPayment

func (*PayForBranchRentRequest) ProtoMessage

func (*PayForBranchRentRequest) ProtoMessage()

func (*PayForBranchRentRequest) ProtoReflect

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

func (*PayForBranchRentRequest) Reset

func (x *PayForBranchRentRequest) Reset()

func (*PayForBranchRentRequest) String

func (x *PayForBranchRentRequest) String() string

type PayForBranchRentResponse

type PayForBranchRentResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PayForBranchRentResponse) Descriptor deprecated

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

Deprecated: Use PayForBranchRentResponse.ProtoReflect.Descriptor instead.

func (*PayForBranchRentResponse) GetMessage

func (x *PayForBranchRentResponse) GetMessage() string

func (*PayForBranchRentResponse) ProtoMessage

func (*PayForBranchRentResponse) ProtoMessage()

func (*PayForBranchRentResponse) ProtoReflect

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

func (*PayForBranchRentResponse) Reset

func (x *PayForBranchRentResponse) Reset()

func (*PayForBranchRentResponse) String

func (x *PayForBranchRentResponse) String() string

type PayForOrderRequest

type PayForOrderRequest struct {
	OrderId string      `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Payment *AddPayment `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`
	// contains filtered or unexported fields
}

func (*PayForOrderRequest) Descriptor deprecated

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

Deprecated: Use PayForOrderRequest.ProtoReflect.Descriptor instead.

func (*PayForOrderRequest) GetOrderId

func (x *PayForOrderRequest) GetOrderId() string

func (*PayForOrderRequest) GetPayment

func (x *PayForOrderRequest) GetPayment() *AddPayment

func (*PayForOrderRequest) ProtoMessage

func (*PayForOrderRequest) ProtoMessage()

func (*PayForOrderRequest) ProtoReflect

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

func (*PayForOrderRequest) Reset

func (x *PayForOrderRequest) Reset()

func (*PayForOrderRequest) String

func (x *PayForOrderRequest) String() string

type PayForOrderResponse

type PayForOrderResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PayForOrderResponse) Descriptor deprecated

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

Deprecated: Use PayForOrderResponse.ProtoReflect.Descriptor instead.

func (*PayForOrderResponse) GetMessage

func (x *PayForOrderResponse) GetMessage() string

func (*PayForOrderResponse) ProtoMessage

func (*PayForOrderResponse) ProtoMessage()

func (*PayForOrderResponse) ProtoReflect

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

func (*PayForOrderResponse) Reset

func (x *PayForOrderResponse) Reset()

func (*PayForOrderResponse) String

func (x *PayForOrderResponse) String() string

type PaymentAccount

type PaymentAccount struct {
	AccountPlatform    string  `protobuf:"bytes,1,opt,name=account_platform,json=accountPlatform,proto3" json:"account_platform,omitempty"`
	AccountIdentifier  string  `protobuf:"bytes,2,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"`
	AccountPhoneNumber *string `protobuf:"bytes,3,opt,name=account_phone_number,json=accountPhoneNumber,proto3,oneof" json:"account_phone_number,omitempty"`
	AccountEmail       *string `protobuf:"bytes,4,opt,name=account_email,json=accountEmail,proto3,oneof" json:"account_email,omitempty"`
	AccountName        *string `protobuf:"bytes,5,opt,name=account_name,json=accountName,proto3,oneof" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentAccount) Descriptor deprecated

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

Deprecated: Use PaymentAccount.ProtoReflect.Descriptor instead.

func (*PaymentAccount) GetAccountEmail

func (x *PaymentAccount) GetAccountEmail() string

func (*PaymentAccount) GetAccountIdentifier

func (x *PaymentAccount) GetAccountIdentifier() string

func (*PaymentAccount) GetAccountName

func (x *PaymentAccount) GetAccountName() string

func (*PaymentAccount) GetAccountPhoneNumber

func (x *PaymentAccount) GetAccountPhoneNumber() string

func (*PaymentAccount) GetAccountPlatform added in v0.5.13

func (x *PaymentAccount) GetAccountPlatform() string

func (*PaymentAccount) ProtoMessage

func (*PaymentAccount) ProtoMessage()

func (*PaymentAccount) ProtoReflect

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

func (*PaymentAccount) Reset

func (x *PaymentAccount) Reset()

func (*PaymentAccount) String

func (x *PaymentAccount) String() string

type PaymentClient

type PaymentClient interface {
	AddOrderPayment(ctx context.Context, in *AddOrderPaymentRequest, opts ...grpc.CallOption) (*AddOrderPaymentResponse, error)
	GetOrderPayments(ctx context.Context, in *GetOrderPaymentsRequest, opts ...grpc.CallOption) (*GetOrderPaymentsResponse, error)
	AddBranchRentPayment(ctx context.Context, in *AddBranchRentPaymentRequest, opts ...grpc.CallOption) (*AddBranchRentPaymentResponse, error)
	GetBranchRentPayments(ctx context.Context, in *GetBranchRentPaymentsRequest, opts ...grpc.CallOption) (*GetBranchRentPaymentsResponse, error)
	GetBranchRentsPayments(ctx context.Context, in *GetBranchRentsPaymentsRequest, opts ...grpc.CallOption) (*GetBranchRentsPaymentsResponse, error)
	VerifyPayment(ctx context.Context, in *VerifyPaymentRequest, opts ...grpc.CallOption) (*VerifyPaymentResponse, error)
	AddPaymentAccount(ctx context.Context, in *AddPaymentAccountRequest, opts ...grpc.CallOption) (*AddPaymentAccountResponse, error)
	GetPaymentAccounts(ctx context.Context, in *GetPaymentAccountsRequest, opts ...grpc.CallOption) (*GetPaymentAccountsResponse, error)
	GetActivePaymentAccounts(ctx context.Context, in *GetActivePaymentAccountsRequest, opts ...grpc.CallOption) (*GetActivePaymentAccountsResponse, error)
	GetSuspendedPaymentAccounts(ctx context.Context, in *GetSuspendedPaymentAccountsRequest, opts ...grpc.CallOption) (*GetSuspendedPaymentAccountsResponse, error)
	SuspendPaymentAccount(ctx context.Context, in *SuspendPaymentAccountRequest, opts ...grpc.CallOption) (*SuspendPaymentAccountResponse, error)
	ActivatePaymentAccount(ctx context.Context, in *ActivatePaymentAccountRequest, opts ...grpc.CallOption) (*ActivatePaymentAccountResponse, error)
	PayForOrder(ctx context.Context, in *PayForOrderRequest, opts ...grpc.CallOption) (*PayForOrderResponse, error)
	PayForBranchRent(ctx context.Context, in *PayForBranchRentRequest, opts ...grpc.CallOption) (*PayForBranchRentResponse, error)
}

PaymentClient is the client API for Payment 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.

func NewPaymentClient

func NewPaymentClient(cc grpc.ClientConnInterface) PaymentClient

type PaymentServer

type PaymentServer interface {
	AddOrderPayment(context.Context, *AddOrderPaymentRequest) (*AddOrderPaymentResponse, error)
	GetOrderPayments(context.Context, *GetOrderPaymentsRequest) (*GetOrderPaymentsResponse, error)
	AddBranchRentPayment(context.Context, *AddBranchRentPaymentRequest) (*AddBranchRentPaymentResponse, error)
	GetBranchRentPayments(context.Context, *GetBranchRentPaymentsRequest) (*GetBranchRentPaymentsResponse, error)
	GetBranchRentsPayments(context.Context, *GetBranchRentsPaymentsRequest) (*GetBranchRentsPaymentsResponse, error)
	VerifyPayment(context.Context, *VerifyPaymentRequest) (*VerifyPaymentResponse, error)
	AddPaymentAccount(context.Context, *AddPaymentAccountRequest) (*AddPaymentAccountResponse, error)
	GetPaymentAccounts(context.Context, *GetPaymentAccountsRequest) (*GetPaymentAccountsResponse, error)
	GetActivePaymentAccounts(context.Context, *GetActivePaymentAccountsRequest) (*GetActivePaymentAccountsResponse, error)
	GetSuspendedPaymentAccounts(context.Context, *GetSuspendedPaymentAccountsRequest) (*GetSuspendedPaymentAccountsResponse, error)
	SuspendPaymentAccount(context.Context, *SuspendPaymentAccountRequest) (*SuspendPaymentAccountResponse, error)
	ActivatePaymentAccount(context.Context, *ActivatePaymentAccountRequest) (*ActivatePaymentAccountResponse, error)
	PayForOrder(context.Context, *PayForOrderRequest) (*PayForOrderResponse, error)
	PayForBranchRent(context.Context, *PayForBranchRentRequest) (*PayForBranchRentResponse, error)
	// contains filtered or unexported methods
}

PaymentServer is the server API for Payment service. All implementations must embed UnimplementedPaymentServer for forward compatibility.

type SuspendPaymentAccountRequest

type SuspendPaymentAccountRequest struct {
	PaymentAccountId string `protobuf:"bytes,1,opt,name=payment_account_id,json=paymentAccountId,proto3" json:"payment_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspendPaymentAccountRequest) Descriptor deprecated

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

Deprecated: Use SuspendPaymentAccountRequest.ProtoReflect.Descriptor instead.

func (*SuspendPaymentAccountRequest) GetPaymentAccountId

func (x *SuspendPaymentAccountRequest) GetPaymentAccountId() string

func (*SuspendPaymentAccountRequest) ProtoMessage

func (*SuspendPaymentAccountRequest) ProtoMessage()

func (*SuspendPaymentAccountRequest) ProtoReflect

func (*SuspendPaymentAccountRequest) Reset

func (x *SuspendPaymentAccountRequest) Reset()

func (*SuspendPaymentAccountRequest) String

type SuspendPaymentAccountResponse

type SuspendPaymentAccountResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspendPaymentAccountResponse) Descriptor deprecated

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

Deprecated: Use SuspendPaymentAccountResponse.ProtoReflect.Descriptor instead.

func (*SuspendPaymentAccountResponse) GetMessage

func (x *SuspendPaymentAccountResponse) GetMessage() string

func (*SuspendPaymentAccountResponse) ProtoMessage

func (*SuspendPaymentAccountResponse) ProtoMessage()

func (*SuspendPaymentAccountResponse) ProtoReflect

func (*SuspendPaymentAccountResponse) Reset

func (x *SuspendPaymentAccountResponse) Reset()

func (*SuspendPaymentAccountResponse) String

type UnimplementedPaymentServer

type UnimplementedPaymentServer struct{}

UnimplementedPaymentServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPaymentServer) AddOrderPayment

func (UnimplementedPaymentServer) GetOrderPayments

func (UnimplementedPaymentServer) PayForBranchRent

func (UnimplementedPaymentServer) PayForOrder

func (UnimplementedPaymentServer) VerifyPayment

type UnsafePaymentServer

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

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

type VerifyPaymentRequest

type VerifyPaymentRequest struct {
	PaymentId string `protobuf:"bytes,1,opt,name=payment_id,json=paymentId,proto3" json:"payment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyPaymentRequest) Descriptor deprecated

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

Deprecated: Use VerifyPaymentRequest.ProtoReflect.Descriptor instead.

func (*VerifyPaymentRequest) GetPaymentId

func (x *VerifyPaymentRequest) GetPaymentId() string

func (*VerifyPaymentRequest) ProtoMessage

func (*VerifyPaymentRequest) ProtoMessage()

func (*VerifyPaymentRequest) ProtoReflect

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

func (*VerifyPaymentRequest) Reset

func (x *VerifyPaymentRequest) Reset()

func (*VerifyPaymentRequest) String

func (x *VerifyPaymentRequest) String() string

type VerifyPaymentResponse

type VerifyPaymentResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyPaymentResponse) Descriptor deprecated

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

Deprecated: Use VerifyPaymentResponse.ProtoReflect.Descriptor instead.

func (*VerifyPaymentResponse) GetMessage

func (x *VerifyPaymentResponse) GetMessage() string

func (*VerifyPaymentResponse) ProtoMessage

func (*VerifyPaymentResponse) ProtoMessage()

func (*VerifyPaymentResponse) ProtoReflect

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

func (*VerifyPaymentResponse) Reset

func (x *VerifyPaymentResponse) Reset()

func (*VerifyPaymentResponse) String

func (x *VerifyPaymentResponse) String() string

Jump to

Keyboard shortcuts

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