v1

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomerService_CreateCustomer_FullMethodName           = "/v1.CustomerService/CreateCustomer"
	CustomerService_GetCustomerList_FullMethodName          = "/v1.CustomerService/GetCustomerList"
	CustomerService_GetCustomer_FullMethodName              = "/v1.CustomerService/GetCustomer"
	CustomerService_UpdateCustomer_FullMethodName           = "/v1.CustomerService/UpdateCustomer"
	CustomerService_DeleteCustomer_FullMethodName           = "/v1.CustomerService/DeleteCustomer"
	CustomerService_GetCustomerCardList_FullMethodName      = "/v1.CustomerService/GetCustomerCardList"
	CustomerService_CreateCustomerSquareCard_FullMethodName = "/v1.CustomerService/CreateCustomerSquareCard"
	CustomerService_CreateCustomerStripeCard_FullMethodName = "/v1.CustomerService/CreateCustomerStripeCard"
	CustomerService_GetCustomerCard_FullMethodName          = "/v1.CustomerService/GetCustomerCard"
	CustomerService_UpdateCustomerCard_FullMethodName       = "/v1.CustomerService/UpdateCustomerCard"
	CustomerService_DeleteCustomerCard_FullMethodName       = "/v1.CustomerService/DeleteCustomerCard"
	CustomerService_GetCustomerByMobile_FullMethodName      = "/v1.CustomerService/GetCustomerByMobile"
)

Variables

View Source
var CustomerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.CustomerService",
	HandlerType: (*CustomerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCustomer",
			Handler:    _CustomerService_CreateCustomer_Handler,
		},
		{
			MethodName: "GetCustomerList",
			Handler:    _CustomerService_GetCustomerList_Handler,
		},
		{
			MethodName: "GetCustomer",
			Handler:    _CustomerService_GetCustomer_Handler,
		},
		{
			MethodName: "UpdateCustomer",
			Handler:    _CustomerService_UpdateCustomer_Handler,
		},
		{
			MethodName: "DeleteCustomer",
			Handler:    _CustomerService_DeleteCustomer_Handler,
		},
		{
			MethodName: "GetCustomerCardList",
			Handler:    _CustomerService_GetCustomerCardList_Handler,
		},
		{
			MethodName: "CreateCustomerSquareCard",
			Handler:    _CustomerService_CreateCustomerSquareCard_Handler,
		},
		{
			MethodName: "CreateCustomerStripeCard",
			Handler:    _CustomerService_CreateCustomerStripeCard_Handler,
		},
		{
			MethodName: "GetCustomerCard",
			Handler:    _CustomerService_GetCustomerCard_Handler,
		},
		{
			MethodName: "UpdateCustomerCard",
			Handler:    _CustomerService_UpdateCustomerCard_Handler,
		},
		{
			MethodName: "DeleteCustomerCard",
			Handler:    _CustomerService_DeleteCustomerCard_Handler,
		},
		{
			MethodName: "GetCustomerByMobile",
			Handler:    _CustomerService_GetCustomerByMobile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "customer.proto",
}

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

View Source
var File_customer_proto protoreflect.FileDescriptor

Functions

func RegisterCustomerServiceServer added in v1.0.2

func RegisterCustomerServiceServer(s grpc.ServiceRegistrar, srv CustomerServiceServer)

Types

type BillingAddress added in v1.0.2

type BillingAddress struct {
	Line_1   string `protobuf:"bytes,1,opt,name=line_1,json=line1,proto3" json:"line_1,omitempty"`
	Line_2   string `protobuf:"bytes,2,opt,name=line_2,json=line2,proto3" json:"line_2,omitempty"`
	Country  string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
	State    string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	Locality string `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	Zip      string `protobuf:"bytes,6,opt,name=zip,proto3" json:"zip,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingAddress) Descriptor deprecated added in v1.0.2

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

Deprecated: Use BillingAddress.ProtoReflect.Descriptor instead.

func (*BillingAddress) GetCountry added in v1.0.2

func (x *BillingAddress) GetCountry() string

func (*BillingAddress) GetLine_1 added in v1.0.2

func (x *BillingAddress) GetLine_1() string

func (*BillingAddress) GetLine_2 added in v1.0.2

func (x *BillingAddress) GetLine_2() string

func (*BillingAddress) GetLocality added in v1.0.2

func (x *BillingAddress) GetLocality() string

func (*BillingAddress) GetState added in v1.0.2

func (x *BillingAddress) GetState() string

func (*BillingAddress) GetZip added in v1.0.2

func (x *BillingAddress) GetZip() string

func (*BillingAddress) ProtoMessage added in v1.0.2

func (*BillingAddress) ProtoMessage()

func (*BillingAddress) ProtoReflect added in v1.0.2

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

func (*BillingAddress) Reset added in v1.0.2

func (x *BillingAddress) Reset()

func (*BillingAddress) String added in v1.0.2

func (x *BillingAddress) String() string

type CreateCustomerCardRequest

type CreateCustomerCardRequest struct {
	CustomerId       string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string `protobuf:"bytes,2,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	PostalCode       string `protobuf:"bytes,3,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	LocationId       string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	MerchantId       string `protobuf:"bytes,5,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerCardRequest) Descriptor deprecated

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

Deprecated: Use CreateCustomerCardRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomerCardRequest) GetCustomerId

func (x *CreateCustomerCardRequest) GetCustomerId() string

func (*CreateCustomerCardRequest) GetLocationId

func (x *CreateCustomerCardRequest) GetLocationId() string

func (*CreateCustomerCardRequest) GetMerchantId

func (x *CreateCustomerCardRequest) GetMerchantId() string

func (*CreateCustomerCardRequest) GetPostalCode

func (x *CreateCustomerCardRequest) GetPostalCode() string

func (*CreateCustomerCardRequest) GetThirdPartyCardId

func (x *CreateCustomerCardRequest) GetThirdPartyCardId() string

func (*CreateCustomerCardRequest) ProtoMessage

func (*CreateCustomerCardRequest) ProtoMessage()

func (*CreateCustomerCardRequest) ProtoReflect

func (*CreateCustomerCardRequest) Reset

func (x *CreateCustomerCardRequest) Reset()

func (*CreateCustomerCardRequest) String

func (x *CreateCustomerCardRequest) String() string

func (*CreateCustomerCardRequest) Validate

func (req *CreateCustomerCardRequest) Validate() error

Validate validates the CreateCustomerCardRequest. It implements the grpcs.RequestValidator interface.

type CreateCustomerCardResponse

type CreateCustomerCardResponse struct {
	Id               string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CustomerId       string          `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string          `protobuf:"bytes,3,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	BillingAddress   *BillingAddress `protobuf:"bytes,4,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"`
	CardBrand        string          `protobuf:"bytes,5,opt,name=card_brand,json=cardBrand,proto3" json:"card_brand,omitempty"`
	ExpMonth         int64           `protobuf:"varint,6,opt,name=exp_month,json=expMonth,proto3" json:"exp_month,omitempty"`
	ExpYear          int64           `protobuf:"varint,7,opt,name=exp_year,json=expYear,proto3" json:"exp_year,omitempty"`
	Last_4           string          `protobuf:"bytes,8,opt,name=last_4,json=last4,proto3" json:"last_4,omitempty"`
	IsDefault        bool            `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	CreatedAt        string          `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        string          `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerCardResponse) Descriptor deprecated

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

Deprecated: Use CreateCustomerCardResponse.ProtoReflect.Descriptor instead.

func (*CreateCustomerCardResponse) GetBillingAddress

func (x *CreateCustomerCardResponse) GetBillingAddress() *BillingAddress

func (*CreateCustomerCardResponse) GetCardBrand

func (x *CreateCustomerCardResponse) GetCardBrand() string

func (*CreateCustomerCardResponse) GetCreatedAt

func (x *CreateCustomerCardResponse) GetCreatedAt() string

func (*CreateCustomerCardResponse) GetCustomerId

func (x *CreateCustomerCardResponse) GetCustomerId() string

func (*CreateCustomerCardResponse) GetExpMonth

func (x *CreateCustomerCardResponse) GetExpMonth() int64

func (*CreateCustomerCardResponse) GetExpYear

func (x *CreateCustomerCardResponse) GetExpYear() int64

func (*CreateCustomerCardResponse) GetId

func (*CreateCustomerCardResponse) GetIsDefault

func (x *CreateCustomerCardResponse) GetIsDefault() bool

func (*CreateCustomerCardResponse) GetLast_4

func (x *CreateCustomerCardResponse) GetLast_4() string

func (*CreateCustomerCardResponse) GetThirdPartyCardId

func (x *CreateCustomerCardResponse) GetThirdPartyCardId() string

func (*CreateCustomerCardResponse) GetUpdatedAt

func (x *CreateCustomerCardResponse) GetUpdatedAt() string

func (*CreateCustomerCardResponse) ProtoMessage

func (*CreateCustomerCardResponse) ProtoMessage()

func (*CreateCustomerCardResponse) ProtoReflect

func (*CreateCustomerCardResponse) Reset

func (x *CreateCustomerCardResponse) Reset()

func (*CreateCustomerCardResponse) String

func (x *CreateCustomerCardResponse) String() string

type CreateCustomerRequest

type CreateCustomerRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	RealmId     string `protobuf:"bytes,10,opt,name=realmId,proto3" json:"realmId,omitempty"`
	AppzId      string `protobuf:"bytes,11,opt,name=appzId,proto3" json:"appzId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerRequest) Descriptor deprecated

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

Deprecated: Use CreateCustomerRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomerRequest) GetAppzId added in v1.0.2

func (x *CreateCustomerRequest) GetAppzId() string

func (*CreateCustomerRequest) GetAvatar

func (x *CreateCustomerRequest) GetAvatar() string

func (*CreateCustomerRequest) GetDisplayName

func (x *CreateCustomerRequest) GetDisplayName() string

func (*CreateCustomerRequest) GetEmail

func (x *CreateCustomerRequest) GetEmail() string

func (*CreateCustomerRequest) GetFirstName

func (x *CreateCustomerRequest) GetFirstName() string

func (*CreateCustomerRequest) GetGender

func (x *CreateCustomerRequest) GetGender() string

func (*CreateCustomerRequest) GetId

func (x *CreateCustomerRequest) GetId() string

func (*CreateCustomerRequest) GetLastName

func (x *CreateCustomerRequest) GetLastName() string

func (*CreateCustomerRequest) GetMerchantId

func (x *CreateCustomerRequest) GetMerchantId() string

func (*CreateCustomerRequest) GetMobile

func (x *CreateCustomerRequest) GetMobile() string

func (*CreateCustomerRequest) GetRealmId added in v1.0.2

func (x *CreateCustomerRequest) GetRealmId() string

func (*CreateCustomerRequest) ProtoMessage

func (*CreateCustomerRequest) ProtoMessage()

func (*CreateCustomerRequest) ProtoReflect

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

func (*CreateCustomerRequest) Reset

func (x *CreateCustomerRequest) Reset()

func (*CreateCustomerRequest) String

func (x *CreateCustomerRequest) String() string

func (*CreateCustomerRequest) Validate

func (req *CreateCustomerRequest) Validate() error

Validate validates the CreateCustomerRequest. It implements the grpcs.RequestValidator interface.

type CreateCustomerResponse

type CreateCustomerResponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedAt   string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerResponse) Descriptor deprecated

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

Deprecated: Use CreateCustomerResponse.ProtoReflect.Descriptor instead.

func (*CreateCustomerResponse) GetAvatar

func (x *CreateCustomerResponse) GetAvatar() string

func (*CreateCustomerResponse) GetCreatedAt

func (x *CreateCustomerResponse) GetCreatedAt() string

func (*CreateCustomerResponse) GetDisplayName

func (x *CreateCustomerResponse) GetDisplayName() string

func (*CreateCustomerResponse) GetEmail

func (x *CreateCustomerResponse) GetEmail() string

func (*CreateCustomerResponse) GetFirstName

func (x *CreateCustomerResponse) GetFirstName() string

func (*CreateCustomerResponse) GetGender

func (x *CreateCustomerResponse) GetGender() string

func (*CreateCustomerResponse) GetId

func (x *CreateCustomerResponse) GetId() string

func (*CreateCustomerResponse) GetLastName

func (x *CreateCustomerResponse) GetLastName() string

func (*CreateCustomerResponse) GetMerchantId

func (x *CreateCustomerResponse) GetMerchantId() string

func (*CreateCustomerResponse) GetMobile

func (x *CreateCustomerResponse) GetMobile() string

func (*CreateCustomerResponse) GetUpdatedAt

func (x *CreateCustomerResponse) GetUpdatedAt() string

func (*CreateCustomerResponse) ProtoMessage

func (*CreateCustomerResponse) ProtoMessage()

func (*CreateCustomerResponse) ProtoReflect

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

func (*CreateCustomerResponse) Reset

func (x *CreateCustomerResponse) Reset()

func (*CreateCustomerResponse) String

func (x *CreateCustomerResponse) String() string

type CreateCustomerStripeCardRequest added in v1.0.2

type CreateCustomerStripeCardRequest struct {
	CustomerId       string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string `protobuf:"bytes,2,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	StripeAccountId  string `protobuf:"bytes,3,opt,name=stripe_account_id,json=stripeAccountId,proto3" json:"stripe_account_id,omitempty"`
	LocationId       string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	MerchantId       string `protobuf:"bytes,5,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCustomerStripeCardRequest) Descriptor deprecated added in v1.0.2

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

Deprecated: Use CreateCustomerStripeCardRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomerStripeCardRequest) GetCustomerId added in v1.0.2

func (x *CreateCustomerStripeCardRequest) GetCustomerId() string

func (*CreateCustomerStripeCardRequest) GetLocationId added in v1.0.2

func (x *CreateCustomerStripeCardRequest) GetLocationId() string

func (*CreateCustomerStripeCardRequest) GetMerchantId added in v1.0.2

func (x *CreateCustomerStripeCardRequest) GetMerchantId() string

func (*CreateCustomerStripeCardRequest) GetStripeAccountId added in v1.0.2

func (x *CreateCustomerStripeCardRequest) GetStripeAccountId() string

func (*CreateCustomerStripeCardRequest) GetThirdPartyCardId added in v1.0.2

func (x *CreateCustomerStripeCardRequest) GetThirdPartyCardId() string

func (*CreateCustomerStripeCardRequest) ProtoMessage added in v1.0.2

func (*CreateCustomerStripeCardRequest) ProtoMessage()

func (*CreateCustomerStripeCardRequest) ProtoReflect added in v1.0.2

func (*CreateCustomerStripeCardRequest) Reset added in v1.0.2

func (*CreateCustomerStripeCardRequest) String added in v1.0.2

func (*CreateCustomerStripeCardRequest) Validate added in v1.0.2

func (req *CreateCustomerStripeCardRequest) Validate() error

Validate validates the CreateCustomerStripeCardRequest. It implements the grpcs.RequestValidator interface.

type CustomerServiceClient added in v1.0.2

type CustomerServiceClient interface {
	CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*CreateCustomerResponse, error)
	GetCustomerList(ctx context.Context, in *GetCustomerListRequest, opts ...grpc.CallOption) (*GetCustomerListResponse, error)
	GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*GetCustomerResponse, error)
	UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*UpdateCustomerResponse, error)
	DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	GetCustomerCardList(ctx context.Context, in *GetCustomerCardListRequest, opts ...grpc.CallOption) (*GetCustomerCardListResponse, error)
	CreateCustomerSquareCard(ctx context.Context, in *CreateCustomerCardRequest, opts ...grpc.CallOption) (*CreateCustomerCardResponse, error)
	CreateCustomerStripeCard(ctx context.Context, in *CreateCustomerStripeCardRequest, opts ...grpc.CallOption) (*CreateCustomerCardResponse, error)
	GetCustomerCard(ctx context.Context, in *GetCustomerCardRequest, opts ...grpc.CallOption) (*GetCustomerCardResponse, error)
	UpdateCustomerCard(ctx context.Context, in *UpdateCustomerCardRequest, opts ...grpc.CallOption) (*UpdateCustomerCardResponse, error)
	DeleteCustomerCard(ctx context.Context, in *DeleteCustomerCardRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	GetCustomerByMobile(ctx context.Context, in *GetCustomerByMobileRequest, opts ...grpc.CallOption) (*GetCustomerByMobileResponse, error)
}

CustomerServiceClient is the client API for CustomerService 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 NewCustomerServiceClient added in v1.0.2

func NewCustomerServiceClient(cc grpc.ClientConnInterface) CustomerServiceClient

type CustomerServiceServer added in v1.0.2

CustomerServiceServer is the server API for CustomerService service. All implementations must embed UnimplementedCustomerServiceServer for forward compatibility

type DeleteCustomerCardRequest

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

func (*DeleteCustomerCardRequest) Descriptor deprecated

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

Deprecated: Use DeleteCustomerCardRequest.ProtoReflect.Descriptor instead.

func (*DeleteCustomerCardRequest) GetId

func (x *DeleteCustomerCardRequest) GetId() string

func (*DeleteCustomerCardRequest) ProtoMessage

func (*DeleteCustomerCardRequest) ProtoMessage()

func (*DeleteCustomerCardRequest) ProtoReflect

func (*DeleteCustomerCardRequest) Reset

func (x *DeleteCustomerCardRequest) Reset()

func (*DeleteCustomerCardRequest) String

func (x *DeleteCustomerCardRequest) String() string

func (*DeleteCustomerCardRequest) Validate

func (req *DeleteCustomerCardRequest) Validate() error

Validate validates the DeleteCustomerCardRequest. It implements the grpcs.RequestValidator interface.

type DeleteCustomerRequest

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

func (*DeleteCustomerRequest) Descriptor deprecated

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

Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.

func (*DeleteCustomerRequest) GetId

func (x *DeleteCustomerRequest) GetId() string

func (*DeleteCustomerRequest) ProtoMessage

func (*DeleteCustomerRequest) ProtoMessage()

func (*DeleteCustomerRequest) ProtoReflect

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

func (*DeleteCustomerRequest) Reset

func (x *DeleteCustomerRequest) Reset()

func (*DeleteCustomerRequest) String

func (x *DeleteCustomerRequest) String() string

func (*DeleteCustomerRequest) Validate

func (req *DeleteCustomerRequest) Validate() error

Validate validates the DeleteCustomerRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerByMobileRequest added in v1.0.2

type GetCustomerByMobileRequest struct {
	Mobile     string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
	MerchantId string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerByMobileRequest) Descriptor deprecated added in v1.0.2

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

Deprecated: Use GetCustomerByMobileRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerByMobileRequest) GetMerchantId added in v1.0.2

func (x *GetCustomerByMobileRequest) GetMerchantId() string

func (*GetCustomerByMobileRequest) GetMobile added in v1.0.2

func (x *GetCustomerByMobileRequest) GetMobile() string

func (*GetCustomerByMobileRequest) ProtoMessage added in v1.0.2

func (*GetCustomerByMobileRequest) ProtoMessage()

func (*GetCustomerByMobileRequest) ProtoReflect added in v1.0.2

func (*GetCustomerByMobileRequest) Reset added in v1.0.2

func (x *GetCustomerByMobileRequest) Reset()

func (*GetCustomerByMobileRequest) String added in v1.0.2

func (x *GetCustomerByMobileRequest) String() string

func (*GetCustomerByMobileRequest) Validate added in v1.0.2

func (req *GetCustomerByMobileRequest) Validate() error

Validate validates the GetCustomerByMobileRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerByMobileResponse added in v1.0.2

type GetCustomerByMobileResponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedAt   string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerByMobileResponse) Descriptor deprecated added in v1.0.2

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

Deprecated: Use GetCustomerByMobileResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerByMobileResponse) GetAvatar added in v1.0.2

func (x *GetCustomerByMobileResponse) GetAvatar() string

func (*GetCustomerByMobileResponse) GetCreatedAt added in v1.0.2

func (x *GetCustomerByMobileResponse) GetCreatedAt() string

func (*GetCustomerByMobileResponse) GetDisplayName added in v1.0.2

func (x *GetCustomerByMobileResponse) GetDisplayName() string

func (*GetCustomerByMobileResponse) GetEmail added in v1.0.2

func (x *GetCustomerByMobileResponse) GetEmail() string

func (*GetCustomerByMobileResponse) GetFirstName added in v1.0.2

func (x *GetCustomerByMobileResponse) GetFirstName() string

func (*GetCustomerByMobileResponse) GetGender added in v1.0.2

func (x *GetCustomerByMobileResponse) GetGender() string

func (*GetCustomerByMobileResponse) GetId added in v1.0.2

func (*GetCustomerByMobileResponse) GetLastName added in v1.0.2

func (x *GetCustomerByMobileResponse) GetLastName() string

func (*GetCustomerByMobileResponse) GetMerchantId added in v1.0.2

func (x *GetCustomerByMobileResponse) GetMerchantId() string

func (*GetCustomerByMobileResponse) GetMobile added in v1.0.2

func (x *GetCustomerByMobileResponse) GetMobile() string

func (*GetCustomerByMobileResponse) GetUpdatedAt added in v1.0.2

func (x *GetCustomerByMobileResponse) GetUpdatedAt() string

func (*GetCustomerByMobileResponse) ProtoMessage added in v1.0.2

func (*GetCustomerByMobileResponse) ProtoMessage()

func (*GetCustomerByMobileResponse) ProtoReflect added in v1.0.2

func (*GetCustomerByMobileResponse) Reset added in v1.0.2

func (x *GetCustomerByMobileResponse) Reset()

func (*GetCustomerByMobileResponse) String added in v1.0.2

func (x *GetCustomerByMobileResponse) String() string

type GetCustomerCardListRequest

type GetCustomerCardListRequest struct {
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	CardType   string `protobuf:"bytes,2,opt,name=card_type,json=cardType,proto3" json:"card_type,omitempty"`
	LocationId string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	MerchantId string `protobuf:"bytes,4,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerCardListRequest) Descriptor deprecated

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

Deprecated: Use GetCustomerCardListRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerCardListRequest) GetCardType added in v1.0.2

func (x *GetCustomerCardListRequest) GetCardType() string

func (*GetCustomerCardListRequest) GetCustomerId

func (x *GetCustomerCardListRequest) GetCustomerId() string

func (*GetCustomerCardListRequest) GetLocationId added in v1.0.2

func (x *GetCustomerCardListRequest) GetLocationId() string

func (*GetCustomerCardListRequest) GetMerchantId added in v1.0.2

func (x *GetCustomerCardListRequest) GetMerchantId() string

func (*GetCustomerCardListRequest) ProtoMessage

func (*GetCustomerCardListRequest) ProtoMessage()

func (*GetCustomerCardListRequest) ProtoReflect

func (*GetCustomerCardListRequest) Reset

func (x *GetCustomerCardListRequest) Reset()

func (*GetCustomerCardListRequest) String

func (x *GetCustomerCardListRequest) String() string

func (*GetCustomerCardListRequest) Validate

func (req *GetCustomerCardListRequest) Validate() error

Validate validates the GetCustomerCardListRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerCardListResponse

type GetCustomerCardListResponse struct {
	Cards []*CreateCustomerCardResponse `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerCardListResponse) Descriptor deprecated

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

Deprecated: Use GetCustomerCardListResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerCardListResponse) GetCards

func (*GetCustomerCardListResponse) ProtoMessage

func (*GetCustomerCardListResponse) ProtoMessage()

func (*GetCustomerCardListResponse) ProtoReflect

func (*GetCustomerCardListResponse) Reset

func (x *GetCustomerCardListResponse) Reset()

func (*GetCustomerCardListResponse) String

func (x *GetCustomerCardListResponse) String() string

type GetCustomerCardRequest

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

func (*GetCustomerCardRequest) Descriptor deprecated

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

Deprecated: Use GetCustomerCardRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerCardRequest) GetId

func (x *GetCustomerCardRequest) GetId() string

func (*GetCustomerCardRequest) ProtoMessage

func (*GetCustomerCardRequest) ProtoMessage()

func (*GetCustomerCardRequest) ProtoReflect

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

func (*GetCustomerCardRequest) Reset

func (x *GetCustomerCardRequest) Reset()

func (*GetCustomerCardRequest) String

func (x *GetCustomerCardRequest) String() string

func (*GetCustomerCardRequest) Validate

func (req *GetCustomerCardRequest) Validate() error

Validate validates the GetCustomerCardRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerCardResponse

type GetCustomerCardResponse struct {
	Id               string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CustomerId       string          `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string          `protobuf:"bytes,3,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	BillingAddress   *BillingAddress `protobuf:"bytes,4,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"`
	CardBrand        string          `protobuf:"bytes,5,opt,name=card_brand,json=cardBrand,proto3" json:"card_brand,omitempty"`
	ExpMonth         int64           `protobuf:"varint,6,opt,name=exp_month,json=expMonth,proto3" json:"exp_month,omitempty"`
	ExpYear          int64           `protobuf:"varint,7,opt,name=exp_year,json=expYear,proto3" json:"exp_year,omitempty"`
	Last_4           string          `protobuf:"bytes,8,opt,name=last_4,json=last4,proto3" json:"last_4,omitempty"`
	IsDefault        bool            `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	CreatedAt        string          `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        string          `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerCardResponse) Descriptor deprecated

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

Deprecated: Use GetCustomerCardResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerCardResponse) GetBillingAddress

func (x *GetCustomerCardResponse) GetBillingAddress() *BillingAddress

func (*GetCustomerCardResponse) GetCardBrand

func (x *GetCustomerCardResponse) GetCardBrand() string

func (*GetCustomerCardResponse) GetCreatedAt

func (x *GetCustomerCardResponse) GetCreatedAt() string

func (*GetCustomerCardResponse) GetCustomerId

func (x *GetCustomerCardResponse) GetCustomerId() string

func (*GetCustomerCardResponse) GetExpMonth

func (x *GetCustomerCardResponse) GetExpMonth() int64

func (*GetCustomerCardResponse) GetExpYear

func (x *GetCustomerCardResponse) GetExpYear() int64

func (*GetCustomerCardResponse) GetId

func (x *GetCustomerCardResponse) GetId() string

func (*GetCustomerCardResponse) GetIsDefault

func (x *GetCustomerCardResponse) GetIsDefault() bool

func (*GetCustomerCardResponse) GetLast_4

func (x *GetCustomerCardResponse) GetLast_4() string

func (*GetCustomerCardResponse) GetThirdPartyCardId

func (x *GetCustomerCardResponse) GetThirdPartyCardId() string

func (*GetCustomerCardResponse) GetUpdatedAt

func (x *GetCustomerCardResponse) GetUpdatedAt() string

func (*GetCustomerCardResponse) ProtoMessage

func (*GetCustomerCardResponse) ProtoMessage()

func (*GetCustomerCardResponse) ProtoReflect

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

func (*GetCustomerCardResponse) Reset

func (x *GetCustomerCardResponse) Reset()

func (*GetCustomerCardResponse) String

func (x *GetCustomerCardResponse) String() string

type GetCustomerListRequest

type GetCustomerListRequest struct {
	MerchantId string `protobuf:"bytes,1,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerListRequest) Descriptor deprecated

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

Deprecated: Use GetCustomerListRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerListRequest) GetMerchantId

func (x *GetCustomerListRequest) GetMerchantId() string

func (*GetCustomerListRequest) ProtoMessage

func (*GetCustomerListRequest) ProtoMessage()

func (*GetCustomerListRequest) ProtoReflect

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

func (*GetCustomerListRequest) Reset

func (x *GetCustomerListRequest) Reset()

func (*GetCustomerListRequest) String

func (x *GetCustomerListRequest) String() string

func (*GetCustomerListRequest) Validate

func (req *GetCustomerListRequest) Validate() error

Validate validates the GetCustomerRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerListResponse

type GetCustomerListResponse struct {
	Customers []*CreateCustomerResponse `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerListResponse) Descriptor deprecated

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

Deprecated: Use GetCustomerListResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerListResponse) GetCustomers

func (x *GetCustomerListResponse) GetCustomers() []*CreateCustomerResponse

func (*GetCustomerListResponse) ProtoMessage

func (*GetCustomerListResponse) ProtoMessage()

func (*GetCustomerListResponse) ProtoReflect

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

func (*GetCustomerListResponse) Reset

func (x *GetCustomerListResponse) Reset()

func (*GetCustomerListResponse) String

func (x *GetCustomerListResponse) String() string

type GetCustomerRequest

type GetCustomerRequest struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerRequest) Descriptor deprecated

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

Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerRequest) GetId

func (x *GetCustomerRequest) GetId() string

func (*GetCustomerRequest) GetMerchantId added in v1.0.2

func (x *GetCustomerRequest) GetMerchantId() string

func (*GetCustomerRequest) ProtoMessage

func (*GetCustomerRequest) ProtoMessage()

func (*GetCustomerRequest) ProtoReflect

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

func (*GetCustomerRequest) Reset

func (x *GetCustomerRequest) Reset()

func (*GetCustomerRequest) String

func (x *GetCustomerRequest) String() string

func (*GetCustomerRequest) Validate

func (req *GetCustomerRequest) Validate() error

Validate validates the GetCustomerRequest. It implements the grpcs.RequestValidator interface.

type GetCustomerResponse

type GetCustomerResponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedAt   string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerResponse) Descriptor deprecated

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

Deprecated: Use GetCustomerResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerResponse) GetAvatar

func (x *GetCustomerResponse) GetAvatar() string

func (*GetCustomerResponse) GetCreatedAt

func (x *GetCustomerResponse) GetCreatedAt() string

func (*GetCustomerResponse) GetDisplayName

func (x *GetCustomerResponse) GetDisplayName() string

func (*GetCustomerResponse) GetEmail

func (x *GetCustomerResponse) GetEmail() string

func (*GetCustomerResponse) GetFirstName

func (x *GetCustomerResponse) GetFirstName() string

func (*GetCustomerResponse) GetGender

func (x *GetCustomerResponse) GetGender() string

func (*GetCustomerResponse) GetId

func (x *GetCustomerResponse) GetId() string

func (*GetCustomerResponse) GetLastName

func (x *GetCustomerResponse) GetLastName() string

func (*GetCustomerResponse) GetMerchantId

func (x *GetCustomerResponse) GetMerchantId() string

func (*GetCustomerResponse) GetMobile

func (x *GetCustomerResponse) GetMobile() string

func (*GetCustomerResponse) GetUpdatedAt

func (x *GetCustomerResponse) GetUpdatedAt() string

func (*GetCustomerResponse) ProtoMessage

func (*GetCustomerResponse) ProtoMessage()

func (*GetCustomerResponse) ProtoReflect

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

func (*GetCustomerResponse) Reset

func (x *GetCustomerResponse) Reset()

func (*GetCustomerResponse) String

func (x *GetCustomerResponse) String() string

type RPClient

type RPClient struct {
	// contains filtered or unexported fields
}

RPClient is the gRPC client

func New

func New(host string, port string, tls bool) *RPClient

New creates a new gRPC client

func NewWithConn

func NewWithConn(conn *grpc.ClientConn) *RPClient

NewWithConn creates a new gRPC client with an existing connection

func NewWithURL

func NewWithURL(grpcUrl string) *RPClient

func (*RPClient) CreateCustomer

func (c *RPClient) CreateCustomer(
	ctx context.Context,
	req *CreateCustomerRequest,
) (*CreateCustomerResponse, error)

CreateCustomer is a gRPC client method to call the CreateCustomer method on the gRPC server

func (*RPClient) CreateCustomerSquareCard added in v1.0.2

func (c *RPClient) CreateCustomerSquareCard(
	ctx context.Context,
	req *CreateCustomerCardRequest,
) (*CreateCustomerCardResponse, error)

CreateCustomerCard is a gRPC client method to call the CreateCustomer method on the gRPC server

func (*RPClient) CreateCustomerStripeCard added in v1.0.2

func (c *RPClient) CreateCustomerStripeCard(
	ctx context.Context,
	req *CreateCustomerStripeCardRequest,
) (*CreateCustomerCardResponse, error)

CreateCustomerStripeCard is a gRPC client method to call the CreateCustomer method on the gRPC server

func (*RPClient) DeleteCustomer

func (c *RPClient) DeleteCustomer(
	ctx context.Context,
	id string,
) (*emptypb.Empty, error)

DeleteCustomer is a gRPC client method to call the DeleteCustomer method on the gRPC server

func (*RPClient) DeleteCustomerCard

func (c *RPClient) DeleteCustomerCard(
	ctx context.Context,
	id string,
) (*emptypb.Empty, error)

DeleteCustomerCard is a gRPC client method to call the DeleteCustomer method on the gRPC server

func (*RPClient) GetCustomer

func (c *RPClient) GetCustomer(
	ctx context.Context,
	id string,
	merchantId string,
) (*GetCustomerResponse, error)

GetCustomer is a gRPC client method to call the GetCustomer method on the gRPC server

func (*RPClient) GetCustomerByMobile added in v1.0.2

func (c *RPClient) GetCustomerByMobile(
	ctx context.Context,
	mobile string,
	merchantId string,
) (*GetCustomerByMobileResponse, error)

GetCustomerByMobile is a gRPC client method to call the DeleteCustomer method on the gRPC server

func (*RPClient) GetCustomerCard

func (c *RPClient) GetCustomerCard(
	ctx context.Context,
	id string,
) (*GetCustomerCardResponse, error)

GetCustomerCard is a gRPC client method to call the GetCustomer method on the gRPC server

func (*RPClient) GetCustomerCardList

func (c *RPClient) GetCustomerCardList(
	ctx context.Context,
	customerId string,
	cardType string,
	merchantId string,
	locationId string,
) (*GetCustomerCardListResponse, error)

GetCustomerCardList is a gRPC client method to call the GetCustomer method on the gRPC server

func (*RPClient) GetCustomerList

func (c *RPClient) GetCustomerList(
	ctx context.Context,
	merchantId string,
) (*GetCustomerListResponse, error)

GetCustomerList is a gRPC client method to call the GetCustomer method on the gRPC server

func (*RPClient) UpdateCustomer

func (c *RPClient) UpdateCustomer(
	ctx context.Context,
	req *UpdateCustomerRequest,
) (*UpdateCustomerResponse, error)

UpdateCustomer is a gRPC client method to call the UpdateCustomer method on the gRPC server

func (*RPClient) UpdateCustomerCard

func (c *RPClient) UpdateCustomerCard(
	ctx context.Context,
	req *UpdateCustomerCardRequest,
) (*UpdateCustomerCardResponse, error)

UpdateCustomerCard is a gRPC client method to call the UpdateCustomer method on the gRPC server

type UnimplementedCustomerServiceServer added in v1.0.2

type UnimplementedCustomerServiceServer struct {
}

UnimplementedCustomerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCustomerServiceServer) CreateCustomer added in v1.0.2

func (UnimplementedCustomerServiceServer) CreateCustomerSquareCard added in v1.0.2

func (UnimplementedCustomerServiceServer) CreateCustomerStripeCard added in v1.0.2

func (UnimplementedCustomerServiceServer) DeleteCustomer added in v1.0.2

func (UnimplementedCustomerServiceServer) DeleteCustomerCard added in v1.0.2

func (UnimplementedCustomerServiceServer) GetCustomer added in v1.0.2

func (UnimplementedCustomerServiceServer) GetCustomerByMobile added in v1.0.2

func (UnimplementedCustomerServiceServer) GetCustomerCard added in v1.0.2

func (UnimplementedCustomerServiceServer) GetCustomerCardList added in v1.0.2

func (UnimplementedCustomerServiceServer) GetCustomerList added in v1.0.2

func (UnimplementedCustomerServiceServer) UpdateCustomer added in v1.0.2

func (UnimplementedCustomerServiceServer) UpdateCustomerCard added in v1.0.2

type UnsafeCustomerServiceServer added in v1.0.2

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

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

type UpdateCustomerCardRequest

type UpdateCustomerCardRequest struct {
	CustomerId       string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string `protobuf:"bytes,2,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	IsDefault        bool   `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	MerchantId       string `protobuf:"bytes,4,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	LocationId       string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	CardType         string `protobuf:"bytes,6,opt,name=card_type,json=cardType,proto3" json:"card_type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerCardRequest) Descriptor deprecated

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

Deprecated: Use UpdateCustomerCardRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerCardRequest) GetCardType added in v1.0.2

func (x *UpdateCustomerCardRequest) GetCardType() string

func (*UpdateCustomerCardRequest) GetCustomerId

func (x *UpdateCustomerCardRequest) GetCustomerId() string

func (*UpdateCustomerCardRequest) GetIsDefault

func (x *UpdateCustomerCardRequest) GetIsDefault() bool

func (*UpdateCustomerCardRequest) GetLocationId added in v1.0.2

func (x *UpdateCustomerCardRequest) GetLocationId() string

func (*UpdateCustomerCardRequest) GetMerchantId added in v1.0.2

func (x *UpdateCustomerCardRequest) GetMerchantId() string

func (*UpdateCustomerCardRequest) GetThirdPartyCardId

func (x *UpdateCustomerCardRequest) GetThirdPartyCardId() string

func (*UpdateCustomerCardRequest) ProtoMessage

func (*UpdateCustomerCardRequest) ProtoMessage()

func (*UpdateCustomerCardRequest) ProtoReflect

func (*UpdateCustomerCardRequest) Reset

func (x *UpdateCustomerCardRequest) Reset()

func (*UpdateCustomerCardRequest) String

func (x *UpdateCustomerCardRequest) String() string

func (*UpdateCustomerCardRequest) Validate

func (req *UpdateCustomerCardRequest) Validate() error

Validate validates the UpdateCustomerCardRequest. It implements the grpcs.RequestValidator interface.

type UpdateCustomerCardResponse

type UpdateCustomerCardResponse struct {
	Id               string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CustomerId       string          `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ThirdPartyCardId string          `protobuf:"bytes,3,opt,name=third_party_card_id,json=thirdPartyCardId,proto3" json:"third_party_card_id,omitempty"`
	BillingAddress   *BillingAddress `protobuf:"bytes,4,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"`
	CardBrand        string          `protobuf:"bytes,5,opt,name=card_brand,json=cardBrand,proto3" json:"card_brand,omitempty"`
	ExpMonth         int64           `protobuf:"varint,6,opt,name=exp_month,json=expMonth,proto3" json:"exp_month,omitempty"`
	ExpYear          int64           `protobuf:"varint,7,opt,name=exp_year,json=expYear,proto3" json:"exp_year,omitempty"`
	Last_4           string          `protobuf:"bytes,8,opt,name=last_4,json=last4,proto3" json:"last_4,omitempty"`
	IsDefault        bool            `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	CreatedAt        string          `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        string          `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerCardResponse) Descriptor deprecated

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

Deprecated: Use UpdateCustomerCardResponse.ProtoReflect.Descriptor instead.

func (*UpdateCustomerCardResponse) GetBillingAddress

func (x *UpdateCustomerCardResponse) GetBillingAddress() *BillingAddress

func (*UpdateCustomerCardResponse) GetCardBrand

func (x *UpdateCustomerCardResponse) GetCardBrand() string

func (*UpdateCustomerCardResponse) GetCreatedAt

func (x *UpdateCustomerCardResponse) GetCreatedAt() string

func (*UpdateCustomerCardResponse) GetCustomerId

func (x *UpdateCustomerCardResponse) GetCustomerId() string

func (*UpdateCustomerCardResponse) GetExpMonth

func (x *UpdateCustomerCardResponse) GetExpMonth() int64

func (*UpdateCustomerCardResponse) GetExpYear

func (x *UpdateCustomerCardResponse) GetExpYear() int64

func (*UpdateCustomerCardResponse) GetId

func (*UpdateCustomerCardResponse) GetIsDefault

func (x *UpdateCustomerCardResponse) GetIsDefault() bool

func (*UpdateCustomerCardResponse) GetLast_4

func (x *UpdateCustomerCardResponse) GetLast_4() string

func (*UpdateCustomerCardResponse) GetThirdPartyCardId

func (x *UpdateCustomerCardResponse) GetThirdPartyCardId() string

func (*UpdateCustomerCardResponse) GetUpdatedAt

func (x *UpdateCustomerCardResponse) GetUpdatedAt() string

func (*UpdateCustomerCardResponse) ProtoMessage

func (*UpdateCustomerCardResponse) ProtoMessage()

func (*UpdateCustomerCardResponse) ProtoReflect

func (*UpdateCustomerCardResponse) Reset

func (x *UpdateCustomerCardResponse) Reset()

func (*UpdateCustomerCardResponse) String

func (x *UpdateCustomerCardResponse) String() string

type UpdateCustomerRequest

type UpdateCustomerRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerRequest) Descriptor deprecated

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

Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerRequest) GetAvatar

func (x *UpdateCustomerRequest) GetAvatar() string

func (*UpdateCustomerRequest) GetDisplayName

func (x *UpdateCustomerRequest) GetDisplayName() string

func (*UpdateCustomerRequest) GetEmail

func (x *UpdateCustomerRequest) GetEmail() string

func (*UpdateCustomerRequest) GetFirstName

func (x *UpdateCustomerRequest) GetFirstName() string

func (*UpdateCustomerRequest) GetGender

func (x *UpdateCustomerRequest) GetGender() string

func (*UpdateCustomerRequest) GetId

func (x *UpdateCustomerRequest) GetId() string

func (*UpdateCustomerRequest) GetLastName

func (x *UpdateCustomerRequest) GetLastName() string

func (*UpdateCustomerRequest) GetMerchantId

func (x *UpdateCustomerRequest) GetMerchantId() string

func (*UpdateCustomerRequest) GetMobile

func (x *UpdateCustomerRequest) GetMobile() string

func (*UpdateCustomerRequest) ProtoMessage

func (*UpdateCustomerRequest) ProtoMessage()

func (*UpdateCustomerRequest) ProtoReflect

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

func (*UpdateCustomerRequest) Reset

func (x *UpdateCustomerRequest) Reset()

func (*UpdateCustomerRequest) String

func (x *UpdateCustomerRequest) String() string

func (*UpdateCustomerRequest) Validate

func (req *UpdateCustomerRequest) Validate() error

Validate validates the UpdateCustomerRequest. It implements the grpcs.RequestValidator interface.

type UpdateCustomerResponse

type UpdateCustomerResponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MerchantId  string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	Mobile      string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	FirstName   string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Gender      string `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar      string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedAt   string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerResponse) Descriptor deprecated

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

Deprecated: Use UpdateCustomerResponse.ProtoReflect.Descriptor instead.

func (*UpdateCustomerResponse) GetAvatar

func (x *UpdateCustomerResponse) GetAvatar() string

func (*UpdateCustomerResponse) GetCreatedAt

func (x *UpdateCustomerResponse) GetCreatedAt() string

func (*UpdateCustomerResponse) GetDisplayName

func (x *UpdateCustomerResponse) GetDisplayName() string

func (*UpdateCustomerResponse) GetEmail

func (x *UpdateCustomerResponse) GetEmail() string

func (*UpdateCustomerResponse) GetFirstName

func (x *UpdateCustomerResponse) GetFirstName() string

func (*UpdateCustomerResponse) GetGender

func (x *UpdateCustomerResponse) GetGender() string

func (*UpdateCustomerResponse) GetId

func (x *UpdateCustomerResponse) GetId() string

func (*UpdateCustomerResponse) GetLastName

func (x *UpdateCustomerResponse) GetLastName() string

func (*UpdateCustomerResponse) GetMerchantId

func (x *UpdateCustomerResponse) GetMerchantId() string

func (*UpdateCustomerResponse) GetMobile

func (x *UpdateCustomerResponse) GetMobile() string

func (*UpdateCustomerResponse) GetUpdatedAt

func (x *UpdateCustomerResponse) GetUpdatedAt() string

func (*UpdateCustomerResponse) ProtoMessage

func (*UpdateCustomerResponse) ProtoMessage()

func (*UpdateCustomerResponse) ProtoReflect

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

func (*UpdateCustomerResponse) Reset

func (x *UpdateCustomerResponse) Reset()

func (*UpdateCustomerResponse) String

func (x *UpdateCustomerResponse) String() string

Jump to

Keyboard shortcuts

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