// Code generated by protoc-gen-go-grpc-proxy. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc-proxy v1.2.0
// - protoc             (unknown)
// source: payment/api/checkout/v1/checkout.proto

package v1

import (
	context "context"
	grpc "google.golang.org/grpc"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7

var _ CheckoutServiceServer = (*checkoutServiceClientProxy)(nil)

// checkoutServiceClientProxy is the proxy to turn CheckoutService client to server interface.
type checkoutServiceClientProxy struct {
	cc CheckoutServiceClient
}

func NewCheckoutServiceClientProxy(cc CheckoutServiceClient) CheckoutServiceServer {
	return &checkoutServiceClientProxy{cc}
}

func (c *checkoutServiceClientProxy) CheckoutNow(ctx context.Context, in *CheckoutNowRequest) (*CheckoutNowReply, error) {
	return c.cc.CheckoutNow(ctx, in)
}
func (c *checkoutServiceClientProxy) CheckoutOrder(ctx context.Context, in *CheckOutOrderRequest) (*CheckoutOrderReply, error) {
	return c.cc.CheckoutOrder(ctx, in)
}
