Documentation ¶
Index ¶
- Variables
- func RegisterCustomerClientServer(s grpc.ServiceRegistrar, srv CustomerClientServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAptSuite() string
- func (x *Address) GetCity() string
- func (x *Address) GetCountry() string
- func (x *Address) GetIsDefault() bool
- func (x *Address) GetPostalCode() string
- func (x *Address) GetStateProvince() string
- func (x *Address) GetStreet() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type CreateCustomerRequest
- func (*CreateCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCustomerRequest) GetCustomer() *Customer
- func (x *CreateCustomerRequest) GetStoreId() int64
- func (*CreateCustomerRequest) ProtoMessage()
- func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCustomerRequest) Reset()
- func (x *CreateCustomerRequest) String() string
- type CreateCustomerResponse
- func (*CreateCustomerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCustomerResponse) GetCustomer() *Customer
- func (*CreateCustomerResponse) ProtoMessage()
- func (x *CreateCustomerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCustomerResponse) Reset()
- func (x *CreateCustomerResponse) String() string
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)deprecated
- func (x *Customer) GetBillingAddresses() []*Address
- func (x *Customer) GetCompany() string
- func (x *Customer) GetEmail() string
- func (x *Customer) GetFirstName() string
- func (x *Customer) GetId() int64
- func (x *Customer) GetIsVerified() bool
- func (x *Customer) GetLastName() string
- func (x *Customer) GetPassword() string
- func (x *Customer) GetPhone() string
- func (x *Customer) GetShippingAddresses() []*Address
- func (x *Customer) GetStoreId() int64
- func (*Customer) ProtoMessage()
- func (x *Customer) ProtoReflect() protoreflect.Message
- func (x *Customer) Reset()
- func (x *Customer) String() string
- type CustomerClientClient
- type CustomerClientServer
- type GetCustomerByEmailRequest
- func (*GetCustomerByEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomerByEmailRequest) GetEmail() string
- func (x *GetCustomerByEmailRequest) GetStoreId() int64
- func (*GetCustomerByEmailRequest) ProtoMessage()
- func (x *GetCustomerByEmailRequest) ProtoReflect() protoreflect.Message
- func (x *GetCustomerByEmailRequest) Reset()
- func (x *GetCustomerByEmailRequest) String() string
- type GetCustomerByEmailResponse
- func (*GetCustomerByEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomerByEmailResponse) GetCustomer() *Customer
- func (*GetCustomerByEmailResponse) ProtoMessage()
- func (x *GetCustomerByEmailResponse) ProtoReflect() protoreflect.Message
- func (x *GetCustomerByEmailResponse) Reset()
- func (x *GetCustomerByEmailResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetStoreId() int64
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- type SendConfirmEmailAddressEmailRequest
- func (*SendConfirmEmailAddressEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendConfirmEmailAddressEmailRequest) GetEmail() string
- func (x *SendConfirmEmailAddressEmailRequest) GetStoreId() int64
- func (*SendConfirmEmailAddressEmailRequest) ProtoMessage()
- func (x *SendConfirmEmailAddressEmailRequest) ProtoReflect() protoreflect.Message
- func (x *SendConfirmEmailAddressEmailRequest) Reset()
- func (x *SendConfirmEmailAddressEmailRequest) String() string
- type SendConfirmEmailAddressEmailResponse
- func (*SendConfirmEmailAddressEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendConfirmEmailAddressEmailResponse) GetSuccess() bool
- func (*SendConfirmEmailAddressEmailResponse) ProtoMessage()
- func (x *SendConfirmEmailAddressEmailResponse) ProtoReflect() protoreflect.Message
- func (x *SendConfirmEmailAddressEmailResponse) Reset()
- func (x *SendConfirmEmailAddressEmailResponse) String() string
- type SendForgotPasswordEmailRequest
- func (*SendForgotPasswordEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendForgotPasswordEmailRequest) GetEmail() string
- func (x *SendForgotPasswordEmailRequest) GetStoreId() int64
- func (*SendForgotPasswordEmailRequest) ProtoMessage()
- func (x *SendForgotPasswordEmailRequest) ProtoReflect() protoreflect.Message
- func (x *SendForgotPasswordEmailRequest) Reset()
- func (x *SendForgotPasswordEmailRequest) String() string
- type SendForgotPasswordEmailResponse
- func (*SendForgotPasswordEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendForgotPasswordEmailResponse) GetSuccess() bool
- func (*SendForgotPasswordEmailResponse) ProtoMessage()
- func (x *SendForgotPasswordEmailResponse) ProtoReflect() protoreflect.Message
- func (x *SendForgotPasswordEmailResponse) Reset()
- func (x *SendForgotPasswordEmailResponse) String() string
- type SetPasswordRequest
- func (*SetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPasswordRequest) GetCode() string
- func (x *SetPasswordRequest) GetPassword() string
- func (x *SetPasswordRequest) GetStoreId() int64
- func (*SetPasswordRequest) ProtoMessage()
- func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *SetPasswordRequest) Reset()
- func (x *SetPasswordRequest) String() string
- type SetPasswordResponse
- func (*SetPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetPasswordResponse) GetCustomer() *Customer
- func (x *SetPasswordResponse) GetSuccess() bool
- func (*SetPasswordResponse) ProtoMessage()
- func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *SetPasswordResponse) Reset()
- func (x *SetPasswordResponse) String() string
- type UnimplementedCustomerClientServer
- func (UnimplementedCustomerClientServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error)
- func (UnimplementedCustomerClientServer) GetCustomerByEmail(context.Context, *GetCustomerByEmailRequest) (*GetCustomerByEmailResponse, error)
- func (UnimplementedCustomerClientServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedCustomerClientServer) SendConfirmEmailAddressEmail(context.Context, *SendConfirmEmailAddressEmailRequest) (*SendConfirmEmailAddressEmailResponse, error)
- func (UnimplementedCustomerClientServer) SendForgotPasswordEmail(context.Context, *SendForgotPasswordEmailRequest) (*SendForgotPasswordEmailResponse, error)
- func (UnimplementedCustomerClientServer) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error)
- func (UnimplementedCustomerClientServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
- func (UnimplementedCustomerClientServer) VerifyEmailAddress(context.Context, *VerifyEmailAddressRequest) (*VerifyEmailAddressResponse, error)
- type UnsafeCustomerClientServer
- type UpdateCustomerRequest
- func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCustomerRequest) GetCustomer() *Customer
- func (x *UpdateCustomerRequest) GetStoreId() int64
- func (*UpdateCustomerRequest) ProtoMessage()
- func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCustomerRequest) Reset()
- func (x *UpdateCustomerRequest) String() string
- type UpdateCustomerResponse
- func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCustomerResponse) GetCustomer() *Customer
- func (*UpdateCustomerResponse) ProtoMessage()
- func (x *UpdateCustomerResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCustomerResponse) Reset()
- func (x *UpdateCustomerResponse) String() string
- type VerifyEmailAddressRequest
- func (*VerifyEmailAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailAddressRequest) GetCode() string
- func (x *VerifyEmailAddressRequest) GetStoreId() int64
- func (*VerifyEmailAddressRequest) ProtoMessage()
- func (x *VerifyEmailAddressRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailAddressRequest) Reset()
- func (x *VerifyEmailAddressRequest) String() string
- type VerifyEmailAddressResponse
- func (*VerifyEmailAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailAddressResponse) GetSuccess() bool
- func (*VerifyEmailAddressResponse) ProtoMessage()
- func (x *VerifyEmailAddressResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailAddressResponse) Reset()
- func (x *VerifyEmailAddressResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var CustomerClient_ServiceDesc = grpc.ServiceDesc{ ServiceName: "customer.CustomerClient", HandlerType: (*CustomerClientServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCustomer", Handler: _CustomerClient_CreateCustomer_Handler, }, { MethodName: "UpdateCustomer", Handler: _CustomerClient_UpdateCustomer_Handler, }, { MethodName: "GetCustomerByEmail", Handler: _CustomerClient_GetCustomerByEmail_Handler, }, { MethodName: "SetPassword", Handler: _CustomerClient_SetPassword_Handler, }, { MethodName: "Login", Handler: _CustomerClient_Login_Handler, }, { MethodName: "SendForgotPasswordEmail", Handler: _CustomerClient_SendForgotPasswordEmail_Handler, }, { MethodName: "SendConfirmEmailAddressEmail", Handler: _CustomerClient_SendConfirmEmailAddressEmail_Handler, }, { MethodName: "VerifyEmailAddress", Handler: _CustomerClient_VerifyEmailAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "customer.proto", }
CustomerClient_ServiceDesc is the grpc.ServiceDesc for CustomerClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_customer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCustomerClientServer ¶
func RegisterCustomerClientServer(s grpc.ServiceRegistrar, srv CustomerClientServer)
Types ¶
type Address ¶
type Address struct { Street string `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"` AptSuite string `protobuf:"bytes,2,opt,name=apt_suite,json=aptSuite,proto3" json:"apt_suite,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` StateProvince string `protobuf:"bytes,4,opt,name=state_province,json=stateProvince,proto3" json:"state_province,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` PostalCode string `protobuf:"bytes,6,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetAptSuite ¶
func (*Address) GetCountry ¶
func (*Address) GetIsDefault ¶
func (*Address) GetPostalCode ¶
func (*Address) GetStateProvince ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type CreateCustomerRequest ¶
type CreateCustomerRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
create customer
func (*CreateCustomerRequest) Descriptor
deprecated
func (*CreateCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomerRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomerRequest) GetCustomer ¶
func (x *CreateCustomerRequest) GetCustomer() *Customer
func (*CreateCustomerRequest) GetStoreId ¶
func (x *CreateCustomerRequest) GetStoreId() int64
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
type CreateCustomerResponse ¶
type CreateCustomerResponse struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
func (*CreateCustomerResponse) Descriptor
deprecated
func (*CreateCustomerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomerResponse.ProtoReflect.Descriptor instead.
func (*CreateCustomerResponse) GetCustomer ¶
func (x *CreateCustomerResponse) GetCustomer() *Customer
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 Customer ¶
type Customer struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` StoreId int64 `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"` Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"` IsVerified bool `protobuf:"varint,9,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"` BillingAddresses []*Address `protobuf:"bytes,10,rep,name=billing_addresses,json=billingAddresses,proto3" json:"billing_addresses,omitempty"` ShippingAddresses []*Address `protobuf:"bytes,11,rep,name=shipping_addresses,json=shippingAddresses,proto3" json:"shipping_addresses,omitempty"` // contains filtered or unexported fields }
func (*Customer) Descriptor
deprecated
func (*Customer) GetBillingAddresses ¶
func (*Customer) GetCompany ¶
func (*Customer) GetFirstName ¶
func (*Customer) GetIsVerified ¶
func (*Customer) GetLastName ¶
func (*Customer) GetPassword ¶
func (*Customer) GetShippingAddresses ¶
func (*Customer) GetStoreId ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) ProtoReflect ¶
func (x *Customer) ProtoReflect() protoreflect.Message
type CustomerClientClient ¶
type CustomerClientClient interface { CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*CreateCustomerResponse, error) UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*UpdateCustomerResponse, error) GetCustomerByEmail(ctx context.Context, in *GetCustomerByEmailRequest, opts ...grpc.CallOption) (*GetCustomerByEmailResponse, error) SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) SendForgotPasswordEmail(ctx context.Context, in *SendForgotPasswordEmailRequest, opts ...grpc.CallOption) (*SendForgotPasswordEmailResponse, error) SendConfirmEmailAddressEmail(ctx context.Context, in *SendConfirmEmailAddressEmailRequest, opts ...grpc.CallOption) (*SendConfirmEmailAddressEmailResponse, error) VerifyEmailAddress(ctx context.Context, in *VerifyEmailAddressRequest, opts ...grpc.CallOption) (*VerifyEmailAddressResponse, error) }
CustomerClientClient is the client API for CustomerClient service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCustomerClientClient ¶
func NewCustomerClientClient(cc grpc.ClientConnInterface) CustomerClientClient
type CustomerClientServer ¶
type CustomerClientServer interface { CreateCustomer(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*UpdateCustomerResponse, error) GetCustomerByEmail(context.Context, *GetCustomerByEmailRequest) (*GetCustomerByEmailResponse, error) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) SendForgotPasswordEmail(context.Context, *SendForgotPasswordEmailRequest) (*SendForgotPasswordEmailResponse, error) SendConfirmEmailAddressEmail(context.Context, *SendConfirmEmailAddressEmailRequest) (*SendConfirmEmailAddressEmailResponse, error) VerifyEmailAddress(context.Context, *VerifyEmailAddressRequest) (*VerifyEmailAddressResponse, error) // contains filtered or unexported methods }
CustomerClientServer is the server API for CustomerClient service. All implementations must embed UnimplementedCustomerClientServer for forward compatibility
type GetCustomerByEmailRequest ¶
type GetCustomerByEmailRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
get customer
func (*GetCustomerByEmailRequest) Descriptor
deprecated
func (*GetCustomerByEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomerByEmailRequest.ProtoReflect.Descriptor instead.
func (*GetCustomerByEmailRequest) GetEmail ¶
func (x *GetCustomerByEmailRequest) GetEmail() string
func (*GetCustomerByEmailRequest) GetStoreId ¶
func (x *GetCustomerByEmailRequest) GetStoreId() int64
func (*GetCustomerByEmailRequest) ProtoMessage ¶
func (*GetCustomerByEmailRequest) ProtoMessage()
func (*GetCustomerByEmailRequest) ProtoReflect ¶
func (x *GetCustomerByEmailRequest) ProtoReflect() protoreflect.Message
func (*GetCustomerByEmailRequest) Reset ¶
func (x *GetCustomerByEmailRequest) Reset()
func (*GetCustomerByEmailRequest) String ¶
func (x *GetCustomerByEmailRequest) String() string
type GetCustomerByEmailResponse ¶
type GetCustomerByEmailResponse struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
func (*GetCustomerByEmailResponse) Descriptor
deprecated
func (*GetCustomerByEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomerByEmailResponse.ProtoReflect.Descriptor instead.
func (*GetCustomerByEmailResponse) GetCustomer ¶
func (x *GetCustomerByEmailResponse) GetCustomer() *Customer
func (*GetCustomerByEmailResponse) ProtoMessage ¶
func (*GetCustomerByEmailResponse) ProtoMessage()
func (*GetCustomerByEmailResponse) ProtoReflect ¶
func (x *GetCustomerByEmailResponse) ProtoReflect() protoreflect.Message
func (*GetCustomerByEmailResponse) Reset ¶
func (x *GetCustomerByEmailResponse) Reset()
func (*GetCustomerByEmailResponse) String ¶
func (x *GetCustomerByEmailResponse) String() string
type LoginRequest ¶
type LoginRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
login
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetStoreId ¶
func (x *LoginRequest) GetStoreId() int64
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetCustomer ¶
func (x *LoginResponse) GetCustomer() *Customer
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type SendConfirmEmailAddressEmailRequest ¶
type SendConfirmEmailAddressEmailRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
confirm email
func (*SendConfirmEmailAddressEmailRequest) Descriptor
deprecated
func (*SendConfirmEmailAddressEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendConfirmEmailAddressEmailRequest.ProtoReflect.Descriptor instead.
func (*SendConfirmEmailAddressEmailRequest) GetEmail ¶
func (x *SendConfirmEmailAddressEmailRequest) GetEmail() string
func (*SendConfirmEmailAddressEmailRequest) GetStoreId ¶
func (x *SendConfirmEmailAddressEmailRequest) GetStoreId() int64
func (*SendConfirmEmailAddressEmailRequest) ProtoMessage ¶
func (*SendConfirmEmailAddressEmailRequest) ProtoMessage()
func (*SendConfirmEmailAddressEmailRequest) ProtoReflect ¶
func (x *SendConfirmEmailAddressEmailRequest) ProtoReflect() protoreflect.Message
func (*SendConfirmEmailAddressEmailRequest) Reset ¶
func (x *SendConfirmEmailAddressEmailRequest) Reset()
func (*SendConfirmEmailAddressEmailRequest) String ¶
func (x *SendConfirmEmailAddressEmailRequest) String() string
type SendConfirmEmailAddressEmailResponse ¶
type SendConfirmEmailAddressEmailResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SendConfirmEmailAddressEmailResponse) Descriptor
deprecated
func (*SendConfirmEmailAddressEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendConfirmEmailAddressEmailResponse.ProtoReflect.Descriptor instead.
func (*SendConfirmEmailAddressEmailResponse) GetSuccess ¶
func (x *SendConfirmEmailAddressEmailResponse) GetSuccess() bool
func (*SendConfirmEmailAddressEmailResponse) ProtoMessage ¶
func (*SendConfirmEmailAddressEmailResponse) ProtoMessage()
func (*SendConfirmEmailAddressEmailResponse) ProtoReflect ¶
func (x *SendConfirmEmailAddressEmailResponse) ProtoReflect() protoreflect.Message
func (*SendConfirmEmailAddressEmailResponse) Reset ¶
func (x *SendConfirmEmailAddressEmailResponse) Reset()
func (*SendConfirmEmailAddressEmailResponse) String ¶
func (x *SendConfirmEmailAddressEmailResponse) String() string
type SendForgotPasswordEmailRequest ¶
type SendForgotPasswordEmailRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
forgot password
func (*SendForgotPasswordEmailRequest) Descriptor
deprecated
func (*SendForgotPasswordEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendForgotPasswordEmailRequest.ProtoReflect.Descriptor instead.
func (*SendForgotPasswordEmailRequest) GetEmail ¶
func (x *SendForgotPasswordEmailRequest) GetEmail() string
func (*SendForgotPasswordEmailRequest) GetStoreId ¶
func (x *SendForgotPasswordEmailRequest) GetStoreId() int64
func (*SendForgotPasswordEmailRequest) ProtoMessage ¶
func (*SendForgotPasswordEmailRequest) ProtoMessage()
func (*SendForgotPasswordEmailRequest) ProtoReflect ¶
func (x *SendForgotPasswordEmailRequest) ProtoReflect() protoreflect.Message
func (*SendForgotPasswordEmailRequest) Reset ¶
func (x *SendForgotPasswordEmailRequest) Reset()
func (*SendForgotPasswordEmailRequest) String ¶
func (x *SendForgotPasswordEmailRequest) String() string
type SendForgotPasswordEmailResponse ¶
type SendForgotPasswordEmailResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SendForgotPasswordEmailResponse) Descriptor
deprecated
func (*SendForgotPasswordEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendForgotPasswordEmailResponse.ProtoReflect.Descriptor instead.
func (*SendForgotPasswordEmailResponse) GetSuccess ¶
func (x *SendForgotPasswordEmailResponse) GetSuccess() bool
func (*SendForgotPasswordEmailResponse) ProtoMessage ¶
func (*SendForgotPasswordEmailResponse) ProtoMessage()
func (*SendForgotPasswordEmailResponse) ProtoReflect ¶
func (x *SendForgotPasswordEmailResponse) ProtoReflect() protoreflect.Message
func (*SendForgotPasswordEmailResponse) Reset ¶
func (x *SendForgotPasswordEmailResponse) Reset()
func (*SendForgotPasswordEmailResponse) String ¶
func (x *SendForgotPasswordEmailResponse) String() string
type SetPasswordRequest ¶
type SetPasswordRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
set password
func (*SetPasswordRequest) Descriptor
deprecated
func (*SetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.
func (*SetPasswordRequest) GetCode ¶
func (x *SetPasswordRequest) GetCode() string
func (*SetPasswordRequest) GetPassword ¶
func (x *SetPasswordRequest) GetPassword() string
func (*SetPasswordRequest) GetStoreId ¶
func (x *SetPasswordRequest) GetStoreId() int64
func (*SetPasswordRequest) ProtoMessage ¶
func (*SetPasswordRequest) ProtoMessage()
func (*SetPasswordRequest) ProtoReflect ¶
func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message
func (*SetPasswordRequest) Reset ¶
func (x *SetPasswordRequest) Reset()
func (*SetPasswordRequest) String ¶
func (x *SetPasswordRequest) String() string
type SetPasswordResponse ¶
type SetPasswordResponse struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SetPasswordResponse) Descriptor
deprecated
func (*SetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.
func (*SetPasswordResponse) GetCustomer ¶
func (x *SetPasswordResponse) GetCustomer() *Customer
func (*SetPasswordResponse) GetSuccess ¶
func (x *SetPasswordResponse) GetSuccess() bool
func (*SetPasswordResponse) ProtoMessage ¶
func (*SetPasswordResponse) ProtoMessage()
func (*SetPasswordResponse) ProtoReflect ¶
func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message
func (*SetPasswordResponse) Reset ¶
func (x *SetPasswordResponse) Reset()
func (*SetPasswordResponse) String ¶
func (x *SetPasswordResponse) String() string
type UnimplementedCustomerClientServer ¶
type UnimplementedCustomerClientServer struct { }
UnimplementedCustomerClientServer must be embedded to have forward compatible implementations.
func (UnimplementedCustomerClientServer) CreateCustomer ¶
func (UnimplementedCustomerClientServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error)
func (UnimplementedCustomerClientServer) GetCustomerByEmail ¶
func (UnimplementedCustomerClientServer) GetCustomerByEmail(context.Context, *GetCustomerByEmailRequest) (*GetCustomerByEmailResponse, error)
func (UnimplementedCustomerClientServer) Login ¶
func (UnimplementedCustomerClientServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedCustomerClientServer) SendConfirmEmailAddressEmail ¶
func (UnimplementedCustomerClientServer) SendConfirmEmailAddressEmail(context.Context, *SendConfirmEmailAddressEmailRequest) (*SendConfirmEmailAddressEmailResponse, error)
func (UnimplementedCustomerClientServer) SendForgotPasswordEmail ¶
func (UnimplementedCustomerClientServer) SendForgotPasswordEmail(context.Context, *SendForgotPasswordEmailRequest) (*SendForgotPasswordEmailResponse, error)
func (UnimplementedCustomerClientServer) SetPassword ¶
func (UnimplementedCustomerClientServer) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error)
func (UnimplementedCustomerClientServer) UpdateCustomer ¶
func (UnimplementedCustomerClientServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
func (UnimplementedCustomerClientServer) VerifyEmailAddress ¶
func (UnimplementedCustomerClientServer) VerifyEmailAddress(context.Context, *VerifyEmailAddressRequest) (*VerifyEmailAddressResponse, error)
type UnsafeCustomerClientServer ¶
type UnsafeCustomerClientServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerClientServer will result in compilation errors.
type UpdateCustomerRequest ¶
type UpdateCustomerRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
update customer
func (*UpdateCustomerRequest) Descriptor
deprecated
func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomerRequest) GetCustomer ¶
func (x *UpdateCustomerRequest) GetCustomer() *Customer
func (*UpdateCustomerRequest) GetStoreId ¶
func (x *UpdateCustomerRequest) GetStoreId() int64
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
type UpdateCustomerResponse ¶
type UpdateCustomerResponse struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
func (*UpdateCustomerResponse) Descriptor
deprecated
func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomerResponse.ProtoReflect.Descriptor instead.
func (*UpdateCustomerResponse) GetCustomer ¶
func (x *UpdateCustomerResponse) GetCustomer() *Customer
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
type VerifyEmailAddressRequest ¶
type VerifyEmailAddressRequest struct { StoreId int64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
verify customer email address
func (*VerifyEmailAddressRequest) Descriptor
deprecated
func (*VerifyEmailAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailAddressRequest.ProtoReflect.Descriptor instead.
func (*VerifyEmailAddressRequest) GetCode ¶
func (x *VerifyEmailAddressRequest) GetCode() string
func (*VerifyEmailAddressRequest) GetStoreId ¶
func (x *VerifyEmailAddressRequest) GetStoreId() int64
func (*VerifyEmailAddressRequest) ProtoMessage ¶
func (*VerifyEmailAddressRequest) ProtoMessage()
func (*VerifyEmailAddressRequest) ProtoReflect ¶
func (x *VerifyEmailAddressRequest) ProtoReflect() protoreflect.Message
func (*VerifyEmailAddressRequest) Reset ¶
func (x *VerifyEmailAddressRequest) Reset()
func (*VerifyEmailAddressRequest) String ¶
func (x *VerifyEmailAddressRequest) String() string
type VerifyEmailAddressResponse ¶
type VerifyEmailAddressResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailAddressResponse) Descriptor
deprecated
func (*VerifyEmailAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailAddressResponse.ProtoReflect.Descriptor instead.
func (*VerifyEmailAddressResponse) GetSuccess ¶
func (x *VerifyEmailAddressResponse) GetSuccess() bool
func (*VerifyEmailAddressResponse) ProtoMessage ¶
func (*VerifyEmailAddressResponse) ProtoMessage()
func (*VerifyEmailAddressResponse) ProtoReflect ¶
func (x *VerifyEmailAddressResponse) ProtoReflect() protoreflect.Message
func (*VerifyEmailAddressResponse) Reset ¶
func (x *VerifyEmailAddressResponse) Reset()
func (*VerifyEmailAddressResponse) String ¶
func (x *VerifyEmailAddressResponse) String() string