Documentation ¶
Overview ¶
Package shoppingcart is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterShoppingCartServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterShoppingCartServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShoppingCartServiceClient) error
- func RegisterShoppingCartServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterShoppingCartServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShoppingCartServiceServer) error
- func RegisterShoppingCartServiceServer(s *grpc.Server, srv ShoppingCartServiceServer)
- type AddProductInShoppingCartRequest
- func (*AddProductInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *AddProductInShoppingCartRequest) GetID() string
- func (m *AddProductInShoppingCartRequest) GetProduct() *ShoppingCartItemDTO
- func (m *AddProductInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *AddProductInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AddProductInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddProductInShoppingCartRequest) ProtoMessage()
- func (m *AddProductInShoppingCartRequest) Reset()
- func (m *AddProductInShoppingCartRequest) Size() (n int)
- func (m *AddProductInShoppingCartRequest) String() string
- func (m *AddProductInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *AddProductInShoppingCartRequest) Validate() error
- func (m *AddProductInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *AddProductInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddProductInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*AddProductInShoppingCartRequest) XXX_MessageName() string
- func (m *AddProductInShoppingCartRequest) XXX_Size() int
- func (m *AddProductInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type AddPromoCodeInShoppingCartRequest
- func (*AddPromoCodeInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *AddPromoCodeInShoppingCartRequest) GetID() string
- func (m *AddPromoCodeInShoppingCartRequest) GetPromoCodeID() string
- func (m *AddPromoCodeInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *AddPromoCodeInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AddPromoCodeInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddPromoCodeInShoppingCartRequest) ProtoMessage()
- func (m *AddPromoCodeInShoppingCartRequest) Reset()
- func (m *AddPromoCodeInShoppingCartRequest) Size() (n int)
- func (m *AddPromoCodeInShoppingCartRequest) String() string
- func (m *AddPromoCodeInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *AddPromoCodeInShoppingCartRequest) Validate() error
- func (m *AddPromoCodeInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *AddPromoCodeInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddPromoCodeInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*AddPromoCodeInShoppingCartRequest) XXX_MessageName() string
- func (m *AddPromoCodeInShoppingCartRequest) XXX_Size() int
- func (m *AddPromoCodeInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type AddressDTO
- func (*AddressDTO) Descriptor() ([]byte, []int)
- func (m *AddressDTO) GetAddress1() string
- func (m *AddressDTO) GetAddress2() string
- func (m *AddressDTO) GetAddressID() string
- func (m *AddressDTO) GetBusinessName() string
- func (m *AddressDTO) GetCity() string
- func (m *AddressDTO) GetFirstname() string
- func (m *AddressDTO) GetIsBusiness() bool
- func (m *AddressDTO) GetLastname() string
- func (m *AddressDTO) GetPhoneNumber() string
- func (m *AddressDTO) GetPrefix() string
- func (m *AddressDTO) GetState() string
- func (m *AddressDTO) GetTax() float32
- func (m *AddressDTO) GetZip() string
- func (m *AddressDTO) Marshal() (dAtA []byte, err error)
- func (m *AddressDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *AddressDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddressDTO) ProtoMessage()
- func (m *AddressDTO) Reset()
- func (m *AddressDTO) Size() (n int)
- func (m *AddressDTO) String() string
- func (m *AddressDTO) Unmarshal(dAtA []byte) error
- func (this *AddressDTO) Validate() error
- func (m *AddressDTO) XXX_DiscardUnknown()
- func (m *AddressDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressDTO) XXX_Merge(src proto.Message)
- func (*AddressDTO) XXX_MessageName() string
- func (m *AddressDTO) XXX_Size() int
- func (m *AddressDTO) XXX_Unmarshal(b []byte) error
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)
- func (m *BoolResponse) GetIsSuccess() bool
- func (m *BoolResponse) Marshal() (dAtA []byte, err error)
- func (m *BoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BoolResponse) ProtoMessage()
- func (m *BoolResponse) Reset()
- func (m *BoolResponse) Size() (n int)
- func (m *BoolResponse) String() string
- func (m *BoolResponse) Unmarshal(dAtA []byte) error
- func (this *BoolResponse) Validate() error
- func (m *BoolResponse) XXX_DiscardUnknown()
- func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolResponse) XXX_Merge(src proto.Message)
- func (*BoolResponse) XXX_MessageName() string
- func (m *BoolResponse) XXX_Size() int
- func (m *BoolResponse) XXX_Unmarshal(b []byte) error
- type CompleteShoppingCartReuqest
- func (*CompleteShoppingCartReuqest) Descriptor() ([]byte, []int)
- func (m *CompleteShoppingCartReuqest) GetID() string
- func (m *CompleteShoppingCartReuqest) Marshal() (dAtA []byte, err error)
- func (m *CompleteShoppingCartReuqest) MarshalTo(dAtA []byte) (int, error)
- func (m *CompleteShoppingCartReuqest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompleteShoppingCartReuqest) ProtoMessage()
- func (m *CompleteShoppingCartReuqest) Reset()
- func (m *CompleteShoppingCartReuqest) Size() (n int)
- func (m *CompleteShoppingCartReuqest) String() string
- func (m *CompleteShoppingCartReuqest) Unmarshal(dAtA []byte) error
- func (this *CompleteShoppingCartReuqest) Validate() error
- func (m *CompleteShoppingCartReuqest) XXX_DiscardUnknown()
- func (m *CompleteShoppingCartReuqest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompleteShoppingCartReuqest) XXX_Merge(src proto.Message)
- func (*CompleteShoppingCartReuqest) XXX_MessageName() string
- func (m *CompleteShoppingCartReuqest) XXX_Size() int
- func (m *CompleteShoppingCartReuqest) XXX_Unmarshal(b []byte) error
- type CreatePromoCodeRequest
- func (*CreatePromoCodeRequest) Descriptor() ([]byte, []int)
- func (m *CreatePromoCodeRequest) GetActiveFrom() *types.Timestamp
- func (m *CreatePromoCodeRequest) GetActiveTo() *types.Timestamp
- func (m *CreatePromoCodeRequest) GetBusinessID() string
- func (m *CreatePromoCodeRequest) GetCode() string
- func (m *CreatePromoCodeRequest) GetDiscountAmount() float32
- func (m *CreatePromoCodeRequest) GetEntityID() string
- func (m *CreatePromoCodeRequest) GetIsActive() bool
- func (m *CreatePromoCodeRequest) GetIsBusinessSpecific() bool
- func (m *CreatePromoCodeRequest) GetIsNewCustomerOnly() bool
- func (m *CreatePromoCodeRequest) GetIsPercent() bool
- func (m *CreatePromoCodeRequest) GetIsUSD() bool
- func (m *CreatePromoCodeRequest) GetLimitedAmount() int64
- func (m *CreatePromoCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *CreatePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreatePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreatePromoCodeRequest) ProtoMessage()
- func (m *CreatePromoCodeRequest) Reset()
- func (m *CreatePromoCodeRequest) Size() (n int)
- func (m *CreatePromoCodeRequest) String() string
- func (m *CreatePromoCodeRequest) Unmarshal(dAtA []byte) error
- func (this *CreatePromoCodeRequest) Validate() error
- func (m *CreatePromoCodeRequest) XXX_DiscardUnknown()
- func (m *CreatePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePromoCodeRequest) XXX_Merge(src proto.Message)
- func (*CreatePromoCodeRequest) XXX_MessageName() string
- func (m *CreatePromoCodeRequest) XXX_Size() int
- func (m *CreatePromoCodeRequest) XXX_Unmarshal(b []byte) error
- type CreateShoppingCartRequest
- func (*CreateShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *CreateShoppingCartRequest) GetBillingAddress() *AddressDTO
- func (m *CreateShoppingCartRequest) GetBusinessID() string
- func (m *CreateShoppingCartRequest) GetEntityID() string
- func (m *CreateShoppingCartRequest) GetProduct() *ShoppingCartItemDTO
- func (m *CreateShoppingCartRequest) GetShippingAddress() *AddressDTO
- func (m *CreateShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateShoppingCartRequest) ProtoMessage()
- func (m *CreateShoppingCartRequest) Reset()
- func (m *CreateShoppingCartRequest) Size() (n int)
- func (m *CreateShoppingCartRequest) String() string
- func (m *CreateShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *CreateShoppingCartRequest) Validate() error
- func (m *CreateShoppingCartRequest) XXX_DiscardUnknown()
- func (m *CreateShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*CreateShoppingCartRequest) XXX_MessageName() string
- func (m *CreateShoppingCartRequest) XXX_Size() int
- func (m *CreateShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type DeletePromoCodeRequest
- func (*DeletePromoCodeRequest) Descriptor() ([]byte, []int)
- func (m *DeletePromoCodeRequest) GetID() string
- func (m *DeletePromoCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *DeletePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeletePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeletePromoCodeRequest) ProtoMessage()
- func (m *DeletePromoCodeRequest) Reset()
- func (m *DeletePromoCodeRequest) Size() (n int)
- func (m *DeletePromoCodeRequest) String() string
- func (m *DeletePromoCodeRequest) Unmarshal(dAtA []byte) error
- func (this *DeletePromoCodeRequest) Validate() error
- func (m *DeletePromoCodeRequest) XXX_DiscardUnknown()
- func (m *DeletePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeletePromoCodeRequest) XXX_Merge(src proto.Message)
- func (*DeletePromoCodeRequest) XXX_MessageName() string
- func (m *DeletePromoCodeRequest) XXX_Size() int
- func (m *DeletePromoCodeRequest) XXX_Unmarshal(b []byte) error
- type DeleteShoppingCartRequest
- func (*DeleteShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *DeleteShoppingCartRequest) GetID() string
- func (m *DeleteShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteShoppingCartRequest) ProtoMessage()
- func (m *DeleteShoppingCartRequest) Reset()
- func (m *DeleteShoppingCartRequest) Size() (n int)
- func (m *DeleteShoppingCartRequest) String() string
- func (m *DeleteShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *DeleteShoppingCartRequest) Validate() error
- func (m *DeleteShoppingCartRequest) XXX_DiscardUnknown()
- func (m *DeleteShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*DeleteShoppingCartRequest) XXX_MessageName() string
- func (m *DeleteShoppingCartRequest) XXX_Size() int
- func (m *DeleteShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type DetailedPromotionCodeDTO
- func (*DetailedPromotionCodeDTO) Descriptor() ([]byte, []int)
- func (m *DetailedPromotionCodeDTO) GetActiveFrom() *types.Timestamp
- func (m *DetailedPromotionCodeDTO) GetActiveTo() *types.Timestamp
- func (m *DetailedPromotionCodeDTO) GetBusinessID() string
- func (m *DetailedPromotionCodeDTO) GetCode() string
- func (m *DetailedPromotionCodeDTO) GetDiscountAmount() float32
- func (m *DetailedPromotionCodeDTO) GetID() string
- func (m *DetailedPromotionCodeDTO) GetIsActive() bool
- func (m *DetailedPromotionCodeDTO) GetIsBusinessSpecific() bool
- func (m *DetailedPromotionCodeDTO) GetIsNewCustomerOnly() bool
- func (m *DetailedPromotionCodeDTO) GetIsPercent() bool
- func (m *DetailedPromotionCodeDTO) GetIsUSD() bool
- func (m *DetailedPromotionCodeDTO) GetLimitedAmount() int64
- func (m *DetailedPromotionCodeDTO) Marshal() (dAtA []byte, err error)
- func (m *DetailedPromotionCodeDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *DetailedPromotionCodeDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DetailedPromotionCodeDTO) ProtoMessage()
- func (m *DetailedPromotionCodeDTO) Reset()
- func (m *DetailedPromotionCodeDTO) Size() (n int)
- func (m *DetailedPromotionCodeDTO) String() string
- func (m *DetailedPromotionCodeDTO) Unmarshal(dAtA []byte) error
- func (this *DetailedPromotionCodeDTO) Validate() error
- func (m *DetailedPromotionCodeDTO) XXX_DiscardUnknown()
- func (m *DetailedPromotionCodeDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailedPromotionCodeDTO) XXX_Merge(src proto.Message)
- func (*DetailedPromotionCodeDTO) XXX_MessageName() string
- func (m *DetailedPromotionCodeDTO) XXX_Size() int
- func (m *DetailedPromotionCodeDTO) XXX_Unmarshal(b []byte) error
- type DetailedShoppingCartDTO
- func (*DetailedShoppingCartDTO) Descriptor() ([]byte, []int)
- func (m *DetailedShoppingCartDTO) GetBillingAddress() *AddressDTO
- func (m *DetailedShoppingCartDTO) GetID() string
- func (m *DetailedShoppingCartDTO) GetIsCompleted() bool
- func (m *DetailedShoppingCartDTO) GetPointsRedeem() uint64
- func (m *DetailedShoppingCartDTO) GetProducts() []*ShoppingCartItemDTO
- func (m *DetailedShoppingCartDTO) GetPromotionCodes() []*DetailedPromotionCodeDTO
- func (m *DetailedShoppingCartDTO) GetShippingAddress() *AddressDTO
- func (m *DetailedShoppingCartDTO) GetShippingCost() float32
- func (m *DetailedShoppingCartDTO) GetShippingMethodID() string
- func (m *DetailedShoppingCartDTO) GetSubtotal() float32
- func (m *DetailedShoppingCartDTO) GetTax() float32
- func (m *DetailedShoppingCartDTO) Marshal() (dAtA []byte, err error)
- func (m *DetailedShoppingCartDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *DetailedShoppingCartDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DetailedShoppingCartDTO) ProtoMessage()
- func (m *DetailedShoppingCartDTO) Reset()
- func (m *DetailedShoppingCartDTO) Size() (n int)
- func (m *DetailedShoppingCartDTO) String() string
- func (m *DetailedShoppingCartDTO) Unmarshal(dAtA []byte) error
- func (this *DetailedShoppingCartDTO) Validate() error
- func (m *DetailedShoppingCartDTO) XXX_DiscardUnknown()
- func (m *DetailedShoppingCartDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailedShoppingCartDTO) XXX_Merge(src proto.Message)
- func (*DetailedShoppingCartDTO) XXX_MessageName() string
- func (m *DetailedShoppingCartDTO) XXX_Size() int
- func (m *DetailedShoppingCartDTO) XXX_Unmarshal(b []byte) error
- type GetAllPromoCodesByEntityRequest
- func (*GetAllPromoCodesByEntityRequest) Descriptor() ([]byte, []int)
- func (m *GetAllPromoCodesByEntityRequest) GetEntityID() string
- func (m *GetAllPromoCodesByEntityRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAllPromoCodesByEntityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAllPromoCodesByEntityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAllPromoCodesByEntityRequest) ProtoMessage()
- func (m *GetAllPromoCodesByEntityRequest) Reset()
- func (m *GetAllPromoCodesByEntityRequest) Size() (n int)
- func (m *GetAllPromoCodesByEntityRequest) String() string
- func (m *GetAllPromoCodesByEntityRequest) Unmarshal(dAtA []byte) error
- func (this *GetAllPromoCodesByEntityRequest) Validate() error
- func (m *GetAllPromoCodesByEntityRequest) XXX_DiscardUnknown()
- func (m *GetAllPromoCodesByEntityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllPromoCodesByEntityRequest) XXX_Merge(src proto.Message)
- func (*GetAllPromoCodesByEntityRequest) XXX_MessageName() string
- func (m *GetAllPromoCodesByEntityRequest) XXX_Size() int
- func (m *GetAllPromoCodesByEntityRequest) XXX_Unmarshal(b []byte) error
- type GetPromoCodeByCodeRequest
- func (*GetPromoCodeByCodeRequest) Descriptor() ([]byte, []int)
- func (m *GetPromoCodeByCodeRequest) GetEntityID() string
- func (m *GetPromoCodeByCodeRequest) GetPromoCode() string
- func (m *GetPromoCodeByCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *GetPromoCodeByCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetPromoCodeByCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetPromoCodeByCodeRequest) ProtoMessage()
- func (m *GetPromoCodeByCodeRequest) Reset()
- func (m *GetPromoCodeByCodeRequest) Size() (n int)
- func (m *GetPromoCodeByCodeRequest) String() string
- func (m *GetPromoCodeByCodeRequest) Unmarshal(dAtA []byte) error
- func (this *GetPromoCodeByCodeRequest) Validate() error
- func (m *GetPromoCodeByCodeRequest) XXX_DiscardUnknown()
- func (m *GetPromoCodeByCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPromoCodeByCodeRequest) XXX_Merge(src proto.Message)
- func (*GetPromoCodeByCodeRequest) XXX_MessageName() string
- func (m *GetPromoCodeByCodeRequest) XXX_Size() int
- func (m *GetPromoCodeByCodeRequest) XXX_Unmarshal(b []byte) error
- type GetPromoCodeByIDRequest
- func (*GetPromoCodeByIDRequest) Descriptor() ([]byte, []int)
- func (m *GetPromoCodeByIDRequest) GetID() string
- func (m *GetPromoCodeByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *GetPromoCodeByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetPromoCodeByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetPromoCodeByIDRequest) ProtoMessage()
- func (m *GetPromoCodeByIDRequest) Reset()
- func (m *GetPromoCodeByIDRequest) Size() (n int)
- func (m *GetPromoCodeByIDRequest) String() string
- func (m *GetPromoCodeByIDRequest) Unmarshal(dAtA []byte) error
- func (this *GetPromoCodeByIDRequest) Validate() error
- func (m *GetPromoCodeByIDRequest) XXX_DiscardUnknown()
- func (m *GetPromoCodeByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPromoCodeByIDRequest) XXX_Merge(src proto.Message)
- func (*GetPromoCodeByIDRequest) XXX_MessageName() string
- func (m *GetPromoCodeByIDRequest) XXX_Size() int
- func (m *GetPromoCodeByIDRequest) XXX_Unmarshal(b []byte) error
- type GetShoppingCartByIDRequest
- func (*GetShoppingCartByIDRequest) Descriptor() ([]byte, []int)
- func (m *GetShoppingCartByIDRequest) GetID() string
- func (m *GetShoppingCartByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *GetShoppingCartByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetShoppingCartByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetShoppingCartByIDRequest) ProtoMessage()
- func (m *GetShoppingCartByIDRequest) Reset()
- func (m *GetShoppingCartByIDRequest) Size() (n int)
- func (m *GetShoppingCartByIDRequest) String() string
- func (m *GetShoppingCartByIDRequest) Unmarshal(dAtA []byte) error
- func (this *GetShoppingCartByIDRequest) Validate() error
- func (m *GetShoppingCartByIDRequest) XXX_DiscardUnknown()
- func (m *GetShoppingCartByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetShoppingCartByIDRequest) XXX_Merge(src proto.Message)
- func (*GetShoppingCartByIDRequest) XXX_MessageName() string
- func (m *GetShoppingCartByIDRequest) XXX_Size() int
- func (m *GetShoppingCartByIDRequest) XXX_Unmarshal(b []byte) error
- type GetShoppingCartRequest
- func (*GetShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *GetShoppingCartRequest) GetBusinessID() string
- func (m *GetShoppingCartRequest) GetEntityID() string
- func (m *GetShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *GetShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetShoppingCartRequest) ProtoMessage()
- func (m *GetShoppingCartRequest) Reset()
- func (m *GetShoppingCartRequest) Size() (n int)
- func (m *GetShoppingCartRequest) String() string
- func (m *GetShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *GetShoppingCartRequest) Validate() error
- func (m *GetShoppingCartRequest) XXX_DiscardUnknown()
- func (m *GetShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*GetShoppingCartRequest) XXX_MessageName() string
- func (m *GetShoppingCartRequest) XXX_Size() int
- func (m *GetShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type MergeShoppingCartRequest
- func (*MergeShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *MergeShoppingCartRequest) GetFromID() string
- func (m *MergeShoppingCartRequest) GetToID() string
- func (m *MergeShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *MergeShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MergeShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MergeShoppingCartRequest) ProtoMessage()
- func (m *MergeShoppingCartRequest) Reset()
- func (m *MergeShoppingCartRequest) Size() (n int)
- func (m *MergeShoppingCartRequest) String() string
- func (m *MergeShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *MergeShoppingCartRequest) Validate() error
- func (m *MergeShoppingCartRequest) XXX_DiscardUnknown()
- func (m *MergeShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MergeShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*MergeShoppingCartRequest) XXX_MessageName() string
- func (m *MergeShoppingCartRequest) XXX_Size() int
- func (m *MergeShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type RemoveProductInShoppingCartRequest
- func (*RemoveProductInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *RemoveProductInShoppingCartRequest) GetID() string
- func (m *RemoveProductInShoppingCartRequest) GetProductID() string
- func (m *RemoveProductInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveProductInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveProductInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveProductInShoppingCartRequest) ProtoMessage()
- func (m *RemoveProductInShoppingCartRequest) Reset()
- func (m *RemoveProductInShoppingCartRequest) Size() (n int)
- func (m *RemoveProductInShoppingCartRequest) String() string
- func (m *RemoveProductInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *RemoveProductInShoppingCartRequest) Validate() error
- func (m *RemoveProductInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *RemoveProductInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveProductInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*RemoveProductInShoppingCartRequest) XXX_MessageName() string
- func (m *RemoveProductInShoppingCartRequest) XXX_Size() int
- func (m *RemoveProductInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type RemovePromoCodeInShoppingCartRequest
- func (*RemovePromoCodeInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *RemovePromoCodeInShoppingCartRequest) GetID() string
- func (m *RemovePromoCodeInShoppingCartRequest) GetPromoCodeID() string
- func (m *RemovePromoCodeInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *RemovePromoCodeInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemovePromoCodeInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemovePromoCodeInShoppingCartRequest) ProtoMessage()
- func (m *RemovePromoCodeInShoppingCartRequest) Reset()
- func (m *RemovePromoCodeInShoppingCartRequest) Size() (n int)
- func (m *RemovePromoCodeInShoppingCartRequest) String() string
- func (m *RemovePromoCodeInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *RemovePromoCodeInShoppingCartRequest) Validate() error
- func (m *RemovePromoCodeInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *RemovePromoCodeInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePromoCodeInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*RemovePromoCodeInShoppingCartRequest) XXX_MessageName() string
- func (m *RemovePromoCodeInShoppingCartRequest) XXX_Size() int
- func (m *RemovePromoCodeInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type RepeatedDetailedPromotionCodeDTO
- func (*RepeatedDetailedPromotionCodeDTO) Descriptor() ([]byte, []int)
- func (m *RepeatedDetailedPromotionCodeDTO) GetResults() []*DetailedPromotionCodeDTO
- func (m *RepeatedDetailedPromotionCodeDTO) Marshal() (dAtA []byte, err error)
- func (m *RepeatedDetailedPromotionCodeDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *RepeatedDetailedPromotionCodeDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RepeatedDetailedPromotionCodeDTO) ProtoMessage()
- func (m *RepeatedDetailedPromotionCodeDTO) Reset()
- func (m *RepeatedDetailedPromotionCodeDTO) Size() (n int)
- func (m *RepeatedDetailedPromotionCodeDTO) String() string
- func (m *RepeatedDetailedPromotionCodeDTO) Unmarshal(dAtA []byte) error
- func (this *RepeatedDetailedPromotionCodeDTO) Validate() error
- func (m *RepeatedDetailedPromotionCodeDTO) XXX_DiscardUnknown()
- func (m *RepeatedDetailedPromotionCodeDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepeatedDetailedPromotionCodeDTO) XXX_Merge(src proto.Message)
- func (*RepeatedDetailedPromotionCodeDTO) XXX_MessageName() string
- func (m *RepeatedDetailedPromotionCodeDTO) XXX_Size() int
- func (m *RepeatedDetailedPromotionCodeDTO) XXX_Unmarshal(b []byte) error
- type ShoppingCartItemDTO
- func (*ShoppingCartItemDTO) Descriptor() ([]byte, []int)
- func (m *ShoppingCartItemDTO) GetProductID() string
- func (m *ShoppingCartItemDTO) GetQuantity() uint64
- func (m *ShoppingCartItemDTO) Marshal() (dAtA []byte, err error)
- func (m *ShoppingCartItemDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *ShoppingCartItemDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShoppingCartItemDTO) ProtoMessage()
- func (m *ShoppingCartItemDTO) Reset()
- func (m *ShoppingCartItemDTO) Size() (n int)
- func (m *ShoppingCartItemDTO) String() string
- func (m *ShoppingCartItemDTO) Unmarshal(dAtA []byte) error
- func (this *ShoppingCartItemDTO) Validate() error
- func (m *ShoppingCartItemDTO) XXX_DiscardUnknown()
- func (m *ShoppingCartItemDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShoppingCartItemDTO) XXX_Merge(src proto.Message)
- func (*ShoppingCartItemDTO) XXX_MessageName() string
- func (m *ShoppingCartItemDTO) XXX_Size() int
- func (m *ShoppingCartItemDTO) XXX_Unmarshal(b []byte) error
- type ShoppingCartServiceClient
- type ShoppingCartServiceServer
- type UnimplementedShoppingCartServiceServer
- func (*UnimplementedShoppingCartServiceServer) AddProductInShoppingCart(ctx context.Context, req *AddProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) AddPromoCodeInShoppingCart(ctx context.Context, req *AddPromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) CompleteShoppingCart(ctx context.Context, req *CompleteShoppingCartReuqest) (*BoolResponse, error)
- func (*UnimplementedShoppingCartServiceServer) CreatePromoCode(ctx context.Context, req *CreatePromoCodeRequest) (*DetailedPromotionCodeDTO, error)
- func (*UnimplementedShoppingCartServiceServer) CreateShoppingCart(ctx context.Context, req *CreateShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) DeletePromoCode(ctx context.Context, req *DeletePromoCodeRequest) (*BoolResponse, error)
- func (*UnimplementedShoppingCartServiceServer) DeleteShoppingCart(ctx context.Context, req *DeleteShoppingCartRequest) (*BoolResponse, error)
- func (*UnimplementedShoppingCartServiceServer) GetAllPromoCodesByEntity(ctx context.Context, req *GetAllPromoCodesByEntityRequest) (*RepeatedDetailedPromotionCodeDTO, error)
- func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByCode(ctx context.Context, req *GetPromoCodeByCodeRequest) (*DetailedPromotionCodeDTO, error)
- func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByID(ctx context.Context, req *GetPromoCodeByIDRequest) (*DetailedPromotionCodeDTO, error)
- func (*UnimplementedShoppingCartServiceServer) GetShoppingCart(ctx context.Context, req *GetShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) GetShoppingCartByID(ctx context.Context, req *GetShoppingCartByIDRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) MergeShoppingCart(ctx context.Context, req *MergeShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) RemoveProductInShoppingCart(ctx context.Context, req *RemoveProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) RemovePromoCodeInShoppingCart(ctx context.Context, req *RemovePromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) UpdateBillingAddressInShoppingCart(ctx context.Context, req *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) UpdatePointsRedeemInShoppingCart(ctx context.Context, req *UpdatePointsRedeemInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) UpdatePromoCode(ctx context.Context, req *UpdatePromoCodeRequest) (*DetailedPromotionCodeDTO, error)
- func (*UnimplementedShoppingCartServiceServer) UpdateShippingAddressInShoppingCart(ctx context.Context, req *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) UpdateShippingMethodInShoppingCart(ctx context.Context, req *UpdateShippingMethodInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
- func (*UnimplementedShoppingCartServiceServer) ValidatePromoCodesInShoppingCart(ctx context.Context, req *ValidatePromoCodesInShoppingCartRequest) (*ValidatePromoCodesInShoppingCartResponse, error)
- type UpdateAddressInShoppingCartRequest
- func (*UpdateAddressInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAddressInShoppingCartRequest) GetAddress1() string
- func (m *UpdateAddressInShoppingCartRequest) GetAddress2() string
- func (m *UpdateAddressInShoppingCartRequest) GetAddressID() string
- func (m *UpdateAddressInShoppingCartRequest) GetBusinessName() string
- func (m *UpdateAddressInShoppingCartRequest) GetCity() string
- func (m *UpdateAddressInShoppingCartRequest) GetFirstname() string
- func (m *UpdateAddressInShoppingCartRequest) GetID() string
- func (m *UpdateAddressInShoppingCartRequest) GetIsBusiness() bool
- func (m *UpdateAddressInShoppingCartRequest) GetLastname() string
- func (m *UpdateAddressInShoppingCartRequest) GetPhoneNumber() string
- func (m *UpdateAddressInShoppingCartRequest) GetPrefix() string
- func (m *UpdateAddressInShoppingCartRequest) GetState() string
- func (m *UpdateAddressInShoppingCartRequest) GetTax() float32
- func (m *UpdateAddressInShoppingCartRequest) GetZip() string
- func (m *UpdateAddressInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateAddressInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateAddressInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateAddressInShoppingCartRequest) ProtoMessage()
- func (m *UpdateAddressInShoppingCartRequest) Reset()
- func (m *UpdateAddressInShoppingCartRequest) Size() (n int)
- func (m *UpdateAddressInShoppingCartRequest) String() string
- func (m *UpdateAddressInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *UpdateAddressInShoppingCartRequest) Validate() error
- func (m *UpdateAddressInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *UpdateAddressInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAddressInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*UpdateAddressInShoppingCartRequest) XXX_MessageName() string
- func (m *UpdateAddressInShoppingCartRequest) XXX_Size() int
- func (m *UpdateAddressInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type UpdatePointsRedeemInShoppingCartRequest
- func (*UpdatePointsRedeemInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *UpdatePointsRedeemInShoppingCartRequest) GetID() string
- func (m *UpdatePointsRedeemInShoppingCartRequest) GetPointsRedeem() uint64
- func (m *UpdatePointsRedeemInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdatePointsRedeemInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePointsRedeemInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdatePointsRedeemInShoppingCartRequest) ProtoMessage()
- func (m *UpdatePointsRedeemInShoppingCartRequest) Reset()
- func (m *UpdatePointsRedeemInShoppingCartRequest) Size() (n int)
- func (m *UpdatePointsRedeemInShoppingCartRequest) String() string
- func (m *UpdatePointsRedeemInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *UpdatePointsRedeemInShoppingCartRequest) Validate() error
- func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*UpdatePointsRedeemInShoppingCartRequest) XXX_MessageName() string
- func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Size() int
- func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type UpdatePromoCodeRequest
- func (*UpdatePromoCodeRequest) Descriptor() ([]byte, []int)
- func (m *UpdatePromoCodeRequest) GetActiveFrom() *types.Timestamp
- func (m *UpdatePromoCodeRequest) GetActiveTo() *types.Timestamp
- func (m *UpdatePromoCodeRequest) GetBusinessID() string
- func (m *UpdatePromoCodeRequest) GetCode() string
- func (m *UpdatePromoCodeRequest) GetDiscountAmount() float32
- func (m *UpdatePromoCodeRequest) GetID() string
- func (m *UpdatePromoCodeRequest) GetIsActive() bool
- func (m *UpdatePromoCodeRequest) GetIsBusinessSpecific() bool
- func (m *UpdatePromoCodeRequest) GetIsNewCustomerOnly() bool
- func (m *UpdatePromoCodeRequest) GetIsPercent() bool
- func (m *UpdatePromoCodeRequest) GetIsUSD() bool
- func (m *UpdatePromoCodeRequest) GetLimitedAmount() int64
- func (m *UpdatePromoCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdatePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdatePromoCodeRequest) ProtoMessage()
- func (m *UpdatePromoCodeRequest) Reset()
- func (m *UpdatePromoCodeRequest) Size() (n int)
- func (m *UpdatePromoCodeRequest) String() string
- func (m *UpdatePromoCodeRequest) Unmarshal(dAtA []byte) error
- func (this *UpdatePromoCodeRequest) Validate() error
- func (m *UpdatePromoCodeRequest) XXX_DiscardUnknown()
- func (m *UpdatePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePromoCodeRequest) XXX_Merge(src proto.Message)
- func (*UpdatePromoCodeRequest) XXX_MessageName() string
- func (m *UpdatePromoCodeRequest) XXX_Size() int
- func (m *UpdatePromoCodeRequest) XXX_Unmarshal(b []byte) error
- type UpdateShippingMethodInShoppingCartRequest
- func (*UpdateShippingMethodInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *UpdateShippingMethodInShoppingCartRequest) GetID() string
- func (m *UpdateShippingMethodInShoppingCartRequest) GetShippingMethodID() string
- func (m *UpdateShippingMethodInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateShippingMethodInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateShippingMethodInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateShippingMethodInShoppingCartRequest) ProtoMessage()
- func (m *UpdateShippingMethodInShoppingCartRequest) Reset()
- func (m *UpdateShippingMethodInShoppingCartRequest) Size() (n int)
- func (m *UpdateShippingMethodInShoppingCartRequest) String() string
- func (m *UpdateShippingMethodInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *UpdateShippingMethodInShoppingCartRequest) Validate() error
- func (m *UpdateShippingMethodInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*UpdateShippingMethodInShoppingCartRequest) XXX_MessageName() string
- func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Size() int
- func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type ValidatePromoCodesInShoppingCartRequest
- func (*ValidatePromoCodesInShoppingCartRequest) Descriptor() ([]byte, []int)
- func (m *ValidatePromoCodesInShoppingCartRequest) GetID() string
- func (m *ValidatePromoCodesInShoppingCartRequest) Marshal() (dAtA []byte, err error)
- func (m *ValidatePromoCodesInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatePromoCodesInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatePromoCodesInShoppingCartRequest) ProtoMessage()
- func (m *ValidatePromoCodesInShoppingCartRequest) Reset()
- func (m *ValidatePromoCodesInShoppingCartRequest) Size() (n int)
- func (m *ValidatePromoCodesInShoppingCartRequest) String() string
- func (m *ValidatePromoCodesInShoppingCartRequest) Unmarshal(dAtA []byte) error
- func (this *ValidatePromoCodesInShoppingCartRequest) Validate() error
- func (m *ValidatePromoCodesInShoppingCartRequest) XXX_DiscardUnknown()
- func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Merge(src proto.Message)
- func (*ValidatePromoCodesInShoppingCartRequest) XXX_MessageName() string
- func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Size() int
- func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Unmarshal(b []byte) error
- type ValidatePromoCodesInShoppingCartResponse
- func (*ValidatePromoCodesInShoppingCartResponse) Descriptor() ([]byte, []int)
- func (m *ValidatePromoCodesInShoppingCartResponse) GetErrorMessages() []string
- func (m *ValidatePromoCodesInShoppingCartResponse) GetShoppingCart() *DetailedShoppingCartDTO
- func (m *ValidatePromoCodesInShoppingCartResponse) Marshal() (dAtA []byte, err error)
- func (m *ValidatePromoCodesInShoppingCartResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatePromoCodesInShoppingCartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatePromoCodesInShoppingCartResponse) ProtoMessage()
- func (m *ValidatePromoCodesInShoppingCartResponse) Reset()
- func (m *ValidatePromoCodesInShoppingCartResponse) Size() (n int)
- func (m *ValidatePromoCodesInShoppingCartResponse) String() string
- func (m *ValidatePromoCodesInShoppingCartResponse) Unmarshal(dAtA []byte) error
- func (this *ValidatePromoCodesInShoppingCartResponse) Validate() error
- func (m *ValidatePromoCodesInShoppingCartResponse) XXX_DiscardUnknown()
- func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Merge(src proto.Message)
- func (*ValidatePromoCodesInShoppingCartResponse) XXX_MessageName() string
- func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Size() int
- func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterShoppingCartServiceHandler ¶
func RegisterShoppingCartServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterShoppingCartServiceHandler registers the http handlers for service ShoppingCartService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterShoppingCartServiceHandlerClient ¶
func RegisterShoppingCartServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShoppingCartServiceClient) error
RegisterShoppingCartServiceHandlerClient registers the http handlers for service ShoppingCartService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ShoppingCartServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ShoppingCartServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ShoppingCartServiceClient" to call the correct interceptors.
func RegisterShoppingCartServiceHandlerFromEndpoint ¶
func RegisterShoppingCartServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterShoppingCartServiceHandlerFromEndpoint is same as RegisterShoppingCartServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterShoppingCartServiceHandlerServer ¶
func RegisterShoppingCartServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShoppingCartServiceServer) error
RegisterShoppingCartServiceHandlerServer registers the http handlers for service ShoppingCartService to "mux". UnaryRPC :call ShoppingCartServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterShoppingCartServiceServer ¶
func RegisterShoppingCartServiceServer(s *grpc.Server, srv ShoppingCartServiceServer)
Types ¶
type AddProductInShoppingCartRequest ¶
type AddProductInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Product *ShoppingCartItemDTO `protobuf:"bytes,2,opt,name=Product,proto3" json:"Product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddProductInShoppingCartRequest) Descriptor ¶
func (*AddProductInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*AddProductInShoppingCartRequest) GetID ¶
func (m *AddProductInShoppingCartRequest) GetID() string
func (*AddProductInShoppingCartRequest) GetProduct ¶
func (m *AddProductInShoppingCartRequest) GetProduct() *ShoppingCartItemDTO
func (*AddProductInShoppingCartRequest) Marshal ¶
func (m *AddProductInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*AddProductInShoppingCartRequest) MarshalTo ¶
func (m *AddProductInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*AddProductInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *AddProductInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddProductInShoppingCartRequest) ProtoMessage ¶
func (*AddProductInShoppingCartRequest) ProtoMessage()
func (*AddProductInShoppingCartRequest) Reset ¶
func (m *AddProductInShoppingCartRequest) Reset()
func (*AddProductInShoppingCartRequest) Size ¶
func (m *AddProductInShoppingCartRequest) Size() (n int)
func (*AddProductInShoppingCartRequest) String ¶
func (m *AddProductInShoppingCartRequest) String() string
func (*AddProductInShoppingCartRequest) Unmarshal ¶
func (m *AddProductInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*AddProductInShoppingCartRequest) Validate ¶
func (this *AddProductInShoppingCartRequest) Validate() error
func (*AddProductInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *AddProductInShoppingCartRequest) XXX_DiscardUnknown()
func (*AddProductInShoppingCartRequest) XXX_Marshal ¶
func (m *AddProductInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddProductInShoppingCartRequest) XXX_Merge ¶
func (m *AddProductInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*AddProductInShoppingCartRequest) XXX_MessageName ¶
func (*AddProductInShoppingCartRequest) XXX_MessageName() string
func (*AddProductInShoppingCartRequest) XXX_Size ¶
func (m *AddProductInShoppingCartRequest) XXX_Size() int
func (*AddProductInShoppingCartRequest) XXX_Unmarshal ¶
func (m *AddProductInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type AddPromoCodeInShoppingCartRequest ¶
type AddPromoCodeInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PromoCodeID string `protobuf:"bytes,2,opt,name=PromoCodeID,proto3" json:"PromoCodeID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddPromoCodeInShoppingCartRequest) Descriptor ¶
func (*AddPromoCodeInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*AddPromoCodeInShoppingCartRequest) GetID ¶
func (m *AddPromoCodeInShoppingCartRequest) GetID() string
func (*AddPromoCodeInShoppingCartRequest) GetPromoCodeID ¶
func (m *AddPromoCodeInShoppingCartRequest) GetPromoCodeID() string
func (*AddPromoCodeInShoppingCartRequest) Marshal ¶
func (m *AddPromoCodeInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*AddPromoCodeInShoppingCartRequest) MarshalTo ¶
func (m *AddPromoCodeInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*AddPromoCodeInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *AddPromoCodeInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddPromoCodeInShoppingCartRequest) ProtoMessage ¶
func (*AddPromoCodeInShoppingCartRequest) ProtoMessage()
func (*AddPromoCodeInShoppingCartRequest) Reset ¶
func (m *AddPromoCodeInShoppingCartRequest) Reset()
func (*AddPromoCodeInShoppingCartRequest) Size ¶
func (m *AddPromoCodeInShoppingCartRequest) Size() (n int)
func (*AddPromoCodeInShoppingCartRequest) String ¶
func (m *AddPromoCodeInShoppingCartRequest) String() string
func (*AddPromoCodeInShoppingCartRequest) Unmarshal ¶
func (m *AddPromoCodeInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*AddPromoCodeInShoppingCartRequest) Validate ¶
func (this *AddPromoCodeInShoppingCartRequest) Validate() error
func (*AddPromoCodeInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *AddPromoCodeInShoppingCartRequest) XXX_DiscardUnknown()
func (*AddPromoCodeInShoppingCartRequest) XXX_Marshal ¶
func (m *AddPromoCodeInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPromoCodeInShoppingCartRequest) XXX_Merge ¶
func (m *AddPromoCodeInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*AddPromoCodeInShoppingCartRequest) XXX_MessageName ¶
func (*AddPromoCodeInShoppingCartRequest) XXX_MessageName() string
func (*AddPromoCodeInShoppingCartRequest) XXX_Size ¶
func (m *AddPromoCodeInShoppingCartRequest) XXX_Size() int
func (*AddPromoCodeInShoppingCartRequest) XXX_Unmarshal ¶
func (m *AddPromoCodeInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type AddressDTO ¶
type AddressDTO struct { AddressID string `protobuf:"bytes,1,opt,name=AddressID,proto3" json:"AddressID,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=Prefix,proto3" json:"Prefix,omitempty"` Firstname string `protobuf:"bytes,3,opt,name=Firstname,proto3" json:"Firstname,omitempty"` Lastname string `protobuf:"bytes,4,opt,name=Lastname,proto3" json:"Lastname,omitempty"` BusinessName string `protobuf:"bytes,5,opt,name=BusinessName,proto3" json:"BusinessName,omitempty"` IsBusiness bool `protobuf:"varint,6,opt,name=IsBusiness,proto3" json:"IsBusiness,omitempty"` Address1 string `protobuf:"bytes,7,opt,name=Address1,proto3" json:"Address1,omitempty"` Address2 string `protobuf:"bytes,8,opt,name=Address2,proto3" json:"Address2,omitempty"` PhoneNumber string `protobuf:"bytes,9,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Zip string `protobuf:"bytes,10,opt,name=Zip,proto3" json:"Zip,omitempty"` City string `protobuf:"bytes,11,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,12,opt,name=State,proto3" json:"State,omitempty"` Tax float32 `protobuf:"fixed32,13,opt,name=Tax,proto3" json:"Tax,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressDTO) Descriptor ¶
func (*AddressDTO) Descriptor() ([]byte, []int)
func (*AddressDTO) GetAddress1 ¶
func (m *AddressDTO) GetAddress1() string
func (*AddressDTO) GetAddress2 ¶
func (m *AddressDTO) GetAddress2() string
func (*AddressDTO) GetAddressID ¶
func (m *AddressDTO) GetAddressID() string
func (*AddressDTO) GetBusinessName ¶
func (m *AddressDTO) GetBusinessName() string
func (*AddressDTO) GetCity ¶
func (m *AddressDTO) GetCity() string
func (*AddressDTO) GetFirstname ¶
func (m *AddressDTO) GetFirstname() string
func (*AddressDTO) GetIsBusiness ¶
func (m *AddressDTO) GetIsBusiness() bool
func (*AddressDTO) GetLastname ¶
func (m *AddressDTO) GetLastname() string
func (*AddressDTO) GetPhoneNumber ¶
func (m *AddressDTO) GetPhoneNumber() string
func (*AddressDTO) GetPrefix ¶
func (m *AddressDTO) GetPrefix() string
func (*AddressDTO) GetState ¶
func (m *AddressDTO) GetState() string
func (*AddressDTO) GetTax ¶
func (m *AddressDTO) GetTax() float32
func (*AddressDTO) GetZip ¶
func (m *AddressDTO) GetZip() string
func (*AddressDTO) Marshal ¶
func (m *AddressDTO) Marshal() (dAtA []byte, err error)
func (*AddressDTO) MarshalToSizedBuffer ¶
func (m *AddressDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddressDTO) ProtoMessage ¶
func (*AddressDTO) ProtoMessage()
func (*AddressDTO) Reset ¶
func (m *AddressDTO) Reset()
func (*AddressDTO) Size ¶
func (m *AddressDTO) Size() (n int)
func (*AddressDTO) String ¶
func (m *AddressDTO) String() string
func (*AddressDTO) Unmarshal ¶
func (m *AddressDTO) Unmarshal(dAtA []byte) error
func (*AddressDTO) Validate ¶
func (this *AddressDTO) Validate() error
func (*AddressDTO) XXX_DiscardUnknown ¶
func (m *AddressDTO) XXX_DiscardUnknown()
func (*AddressDTO) XXX_Marshal ¶
func (m *AddressDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressDTO) XXX_Merge ¶
func (m *AddressDTO) XXX_Merge(src proto.Message)
func (*AddressDTO) XXX_MessageName ¶
func (*AddressDTO) XXX_MessageName() string
func (*AddressDTO) XXX_Size ¶
func (m *AddressDTO) XXX_Size() int
func (*AddressDTO) XXX_Unmarshal ¶
func (m *AddressDTO) XXX_Unmarshal(b []byte) error
type BoolResponse ¶
type BoolResponse struct { IsSuccess bool `protobuf:"varint,1,opt,name=IsSuccess,proto3" json:"IsSuccess,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolResponse) Descriptor ¶
func (*BoolResponse) Descriptor() ([]byte, []int)
func (*BoolResponse) GetIsSuccess ¶
func (m *BoolResponse) GetIsSuccess() bool
func (*BoolResponse) Marshal ¶
func (m *BoolResponse) Marshal() (dAtA []byte, err error)
func (*BoolResponse) MarshalToSizedBuffer ¶
func (m *BoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) Reset ¶
func (m *BoolResponse) Reset()
func (*BoolResponse) Size ¶
func (m *BoolResponse) Size() (n int)
func (*BoolResponse) String ¶
func (m *BoolResponse) String() string
func (*BoolResponse) Unmarshal ¶
func (m *BoolResponse) Unmarshal(dAtA []byte) error
func (*BoolResponse) Validate ¶
func (this *BoolResponse) Validate() error
func (*BoolResponse) XXX_DiscardUnknown ¶
func (m *BoolResponse) XXX_DiscardUnknown()
func (*BoolResponse) XXX_Marshal ¶
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoolResponse) XXX_Merge ¶
func (m *BoolResponse) XXX_Merge(src proto.Message)
func (*BoolResponse) XXX_MessageName ¶
func (*BoolResponse) XXX_MessageName() string
func (*BoolResponse) XXX_Size ¶
func (m *BoolResponse) XXX_Size() int
func (*BoolResponse) XXX_Unmarshal ¶
func (m *BoolResponse) XXX_Unmarshal(b []byte) error
type CompleteShoppingCartReuqest ¶
type CompleteShoppingCartReuqest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompleteShoppingCartReuqest) Descriptor ¶
func (*CompleteShoppingCartReuqest) Descriptor() ([]byte, []int)
func (*CompleteShoppingCartReuqest) GetID ¶
func (m *CompleteShoppingCartReuqest) GetID() string
func (*CompleteShoppingCartReuqest) Marshal ¶
func (m *CompleteShoppingCartReuqest) Marshal() (dAtA []byte, err error)
func (*CompleteShoppingCartReuqest) MarshalTo ¶
func (m *CompleteShoppingCartReuqest) MarshalTo(dAtA []byte) (int, error)
func (*CompleteShoppingCartReuqest) MarshalToSizedBuffer ¶
func (m *CompleteShoppingCartReuqest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompleteShoppingCartReuqest) ProtoMessage ¶
func (*CompleteShoppingCartReuqest) ProtoMessage()
func (*CompleteShoppingCartReuqest) Reset ¶
func (m *CompleteShoppingCartReuqest) Reset()
func (*CompleteShoppingCartReuqest) Size ¶
func (m *CompleteShoppingCartReuqest) Size() (n int)
func (*CompleteShoppingCartReuqest) String ¶
func (m *CompleteShoppingCartReuqest) String() string
func (*CompleteShoppingCartReuqest) Unmarshal ¶
func (m *CompleteShoppingCartReuqest) Unmarshal(dAtA []byte) error
func (*CompleteShoppingCartReuqest) Validate ¶
func (this *CompleteShoppingCartReuqest) Validate() error
func (*CompleteShoppingCartReuqest) XXX_DiscardUnknown ¶
func (m *CompleteShoppingCartReuqest) XXX_DiscardUnknown()
func (*CompleteShoppingCartReuqest) XXX_Marshal ¶
func (m *CompleteShoppingCartReuqest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompleteShoppingCartReuqest) XXX_Merge ¶
func (m *CompleteShoppingCartReuqest) XXX_Merge(src proto.Message)
func (*CompleteShoppingCartReuqest) XXX_MessageName ¶
func (*CompleteShoppingCartReuqest) XXX_MessageName() string
func (*CompleteShoppingCartReuqest) XXX_Size ¶
func (m *CompleteShoppingCartReuqest) XXX_Size() int
func (*CompleteShoppingCartReuqest) XXX_Unmarshal ¶
func (m *CompleteShoppingCartReuqest) XXX_Unmarshal(b []byte) error
type CreatePromoCodeRequest ¶
type CreatePromoCodeRequest struct { EntityID string `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` IsUSD bool `protobuf:"varint,3,opt,name=IsUSD,proto3" json:"IsUSD,omitempty"` IsPercent bool `protobuf:"varint,4,opt,name=IsPercent,proto3" json:"IsPercent,omitempty"` DiscountAmount float32 `protobuf:"fixed32,5,opt,name=DiscountAmount,proto3" json:"DiscountAmount,omitempty"` ActiveFrom *types.Timestamp `protobuf:"bytes,11,opt,name=ActiveFrom,proto3" json:"ActiveFrom,omitempty"` ActiveTo *types.Timestamp `protobuf:"bytes,12,opt,name=ActiveTo,proto3" json:"ActiveTo,omitempty"` BusinessID string `protobuf:"bytes,21,opt,name=BusinessID,proto3" json:"BusinessID,omitempty"` LimitedAmount int64 `protobuf:"varint,22,opt,name=LimitedAmount,proto3" json:"LimitedAmount,omitempty"` IsActive bool `protobuf:"varint,31,opt,name=IsActive,proto3" json:"IsActive,omitempty"` IsNewCustomerOnly bool `protobuf:"varint,32,opt,name=IsNewCustomerOnly,proto3" json:"IsNewCustomerOnly,omitempty"` IsBusinessSpecific bool `protobuf:"varint,33,opt,name=IsBusinessSpecific,proto3" json:"IsBusinessSpecific,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreatePromoCodeRequest) Descriptor ¶
func (*CreatePromoCodeRequest) Descriptor() ([]byte, []int)
func (*CreatePromoCodeRequest) GetActiveFrom ¶
func (m *CreatePromoCodeRequest) GetActiveFrom() *types.Timestamp
func (*CreatePromoCodeRequest) GetActiveTo ¶
func (m *CreatePromoCodeRequest) GetActiveTo() *types.Timestamp
func (*CreatePromoCodeRequest) GetBusinessID ¶
func (m *CreatePromoCodeRequest) GetBusinessID() string
func (*CreatePromoCodeRequest) GetCode ¶
func (m *CreatePromoCodeRequest) GetCode() string
func (*CreatePromoCodeRequest) GetDiscountAmount ¶
func (m *CreatePromoCodeRequest) GetDiscountAmount() float32
func (*CreatePromoCodeRequest) GetEntityID ¶
func (m *CreatePromoCodeRequest) GetEntityID() string
func (*CreatePromoCodeRequest) GetIsActive ¶
func (m *CreatePromoCodeRequest) GetIsActive() bool
func (*CreatePromoCodeRequest) GetIsBusinessSpecific ¶
func (m *CreatePromoCodeRequest) GetIsBusinessSpecific() bool
func (*CreatePromoCodeRequest) GetIsNewCustomerOnly ¶
func (m *CreatePromoCodeRequest) GetIsNewCustomerOnly() bool
func (*CreatePromoCodeRequest) GetIsPercent ¶
func (m *CreatePromoCodeRequest) GetIsPercent() bool
func (*CreatePromoCodeRequest) GetIsUSD ¶
func (m *CreatePromoCodeRequest) GetIsUSD() bool
func (*CreatePromoCodeRequest) GetLimitedAmount ¶
func (m *CreatePromoCodeRequest) GetLimitedAmount() int64
func (*CreatePromoCodeRequest) Marshal ¶
func (m *CreatePromoCodeRequest) Marshal() (dAtA []byte, err error)
func (*CreatePromoCodeRequest) MarshalTo ¶
func (m *CreatePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreatePromoCodeRequest) MarshalToSizedBuffer ¶
func (m *CreatePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreatePromoCodeRequest) ProtoMessage ¶
func (*CreatePromoCodeRequest) ProtoMessage()
func (*CreatePromoCodeRequest) Reset ¶
func (m *CreatePromoCodeRequest) Reset()
func (*CreatePromoCodeRequest) Size ¶
func (m *CreatePromoCodeRequest) Size() (n int)
func (*CreatePromoCodeRequest) String ¶
func (m *CreatePromoCodeRequest) String() string
func (*CreatePromoCodeRequest) Unmarshal ¶
func (m *CreatePromoCodeRequest) Unmarshal(dAtA []byte) error
func (*CreatePromoCodeRequest) Validate ¶
func (this *CreatePromoCodeRequest) Validate() error
func (*CreatePromoCodeRequest) XXX_DiscardUnknown ¶
func (m *CreatePromoCodeRequest) XXX_DiscardUnknown()
func (*CreatePromoCodeRequest) XXX_Marshal ¶
func (m *CreatePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePromoCodeRequest) XXX_Merge ¶
func (m *CreatePromoCodeRequest) XXX_Merge(src proto.Message)
func (*CreatePromoCodeRequest) XXX_MessageName ¶
func (*CreatePromoCodeRequest) XXX_MessageName() string
func (*CreatePromoCodeRequest) XXX_Size ¶
func (m *CreatePromoCodeRequest) XXX_Size() int
func (*CreatePromoCodeRequest) XXX_Unmarshal ¶
func (m *CreatePromoCodeRequest) XXX_Unmarshal(b []byte) error
type CreateShoppingCartRequest ¶
type CreateShoppingCartRequest struct { EntityID string `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` BusinessID string `protobuf:"bytes,2,opt,name=BusinessID,proto3" json:"BusinessID,omitempty"` ShippingAddress *AddressDTO `protobuf:"bytes,3,opt,name=ShippingAddress,proto3" json:"ShippingAddress,omitempty"` BillingAddress *AddressDTO `protobuf:"bytes,4,opt,name=BillingAddress,proto3" json:"BillingAddress,omitempty"` Product *ShoppingCartItemDTO `protobuf:"bytes,5,opt,name=Product,proto3" json:"Product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateShoppingCartRequest) Descriptor ¶
func (*CreateShoppingCartRequest) Descriptor() ([]byte, []int)
func (*CreateShoppingCartRequest) GetBillingAddress ¶
func (m *CreateShoppingCartRequest) GetBillingAddress() *AddressDTO
func (*CreateShoppingCartRequest) GetBusinessID ¶
func (m *CreateShoppingCartRequest) GetBusinessID() string
func (*CreateShoppingCartRequest) GetEntityID ¶
func (m *CreateShoppingCartRequest) GetEntityID() string
func (*CreateShoppingCartRequest) GetProduct ¶
func (m *CreateShoppingCartRequest) GetProduct() *ShoppingCartItemDTO
func (*CreateShoppingCartRequest) GetShippingAddress ¶
func (m *CreateShoppingCartRequest) GetShippingAddress() *AddressDTO
func (*CreateShoppingCartRequest) Marshal ¶
func (m *CreateShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*CreateShoppingCartRequest) MarshalTo ¶
func (m *CreateShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *CreateShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateShoppingCartRequest) ProtoMessage ¶
func (*CreateShoppingCartRequest) ProtoMessage()
func (*CreateShoppingCartRequest) Reset ¶
func (m *CreateShoppingCartRequest) Reset()
func (*CreateShoppingCartRequest) Size ¶
func (m *CreateShoppingCartRequest) Size() (n int)
func (*CreateShoppingCartRequest) String ¶
func (m *CreateShoppingCartRequest) String() string
func (*CreateShoppingCartRequest) Unmarshal ¶
func (m *CreateShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*CreateShoppingCartRequest) Validate ¶
func (this *CreateShoppingCartRequest) Validate() error
func (*CreateShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *CreateShoppingCartRequest) XXX_DiscardUnknown()
func (*CreateShoppingCartRequest) XXX_Marshal ¶
func (m *CreateShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateShoppingCartRequest) XXX_Merge ¶
func (m *CreateShoppingCartRequest) XXX_Merge(src proto.Message)
func (*CreateShoppingCartRequest) XXX_MessageName ¶
func (*CreateShoppingCartRequest) XXX_MessageName() string
func (*CreateShoppingCartRequest) XXX_Size ¶
func (m *CreateShoppingCartRequest) XXX_Size() int
func (*CreateShoppingCartRequest) XXX_Unmarshal ¶
func (m *CreateShoppingCartRequest) XXX_Unmarshal(b []byte) error
type DeletePromoCodeRequest ¶
type DeletePromoCodeRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeletePromoCodeRequest) Descriptor ¶
func (*DeletePromoCodeRequest) Descriptor() ([]byte, []int)
func (*DeletePromoCodeRequest) GetID ¶
func (m *DeletePromoCodeRequest) GetID() string
func (*DeletePromoCodeRequest) Marshal ¶
func (m *DeletePromoCodeRequest) Marshal() (dAtA []byte, err error)
func (*DeletePromoCodeRequest) MarshalTo ¶
func (m *DeletePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeletePromoCodeRequest) MarshalToSizedBuffer ¶
func (m *DeletePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeletePromoCodeRequest) ProtoMessage ¶
func (*DeletePromoCodeRequest) ProtoMessage()
func (*DeletePromoCodeRequest) Reset ¶
func (m *DeletePromoCodeRequest) Reset()
func (*DeletePromoCodeRequest) Size ¶
func (m *DeletePromoCodeRequest) Size() (n int)
func (*DeletePromoCodeRequest) String ¶
func (m *DeletePromoCodeRequest) String() string
func (*DeletePromoCodeRequest) Unmarshal ¶
func (m *DeletePromoCodeRequest) Unmarshal(dAtA []byte) error
func (*DeletePromoCodeRequest) Validate ¶
func (this *DeletePromoCodeRequest) Validate() error
func (*DeletePromoCodeRequest) XXX_DiscardUnknown ¶
func (m *DeletePromoCodeRequest) XXX_DiscardUnknown()
func (*DeletePromoCodeRequest) XXX_Marshal ¶
func (m *DeletePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePromoCodeRequest) XXX_Merge ¶
func (m *DeletePromoCodeRequest) XXX_Merge(src proto.Message)
func (*DeletePromoCodeRequest) XXX_MessageName ¶
func (*DeletePromoCodeRequest) XXX_MessageName() string
func (*DeletePromoCodeRequest) XXX_Size ¶
func (m *DeletePromoCodeRequest) XXX_Size() int
func (*DeletePromoCodeRequest) XXX_Unmarshal ¶
func (m *DeletePromoCodeRequest) XXX_Unmarshal(b []byte) error
type DeleteShoppingCartRequest ¶
type DeleteShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteShoppingCartRequest) Descriptor ¶
func (*DeleteShoppingCartRequest) Descriptor() ([]byte, []int)
func (*DeleteShoppingCartRequest) GetID ¶
func (m *DeleteShoppingCartRequest) GetID() string
func (*DeleteShoppingCartRequest) Marshal ¶
func (m *DeleteShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*DeleteShoppingCartRequest) MarshalTo ¶
func (m *DeleteShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *DeleteShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteShoppingCartRequest) ProtoMessage ¶
func (*DeleteShoppingCartRequest) ProtoMessage()
func (*DeleteShoppingCartRequest) Reset ¶
func (m *DeleteShoppingCartRequest) Reset()
func (*DeleteShoppingCartRequest) Size ¶
func (m *DeleteShoppingCartRequest) Size() (n int)
func (*DeleteShoppingCartRequest) String ¶
func (m *DeleteShoppingCartRequest) String() string
func (*DeleteShoppingCartRequest) Unmarshal ¶
func (m *DeleteShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*DeleteShoppingCartRequest) Validate ¶
func (this *DeleteShoppingCartRequest) Validate() error
func (*DeleteShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *DeleteShoppingCartRequest) XXX_DiscardUnknown()
func (*DeleteShoppingCartRequest) XXX_Marshal ¶
func (m *DeleteShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteShoppingCartRequest) XXX_Merge ¶
func (m *DeleteShoppingCartRequest) XXX_Merge(src proto.Message)
func (*DeleteShoppingCartRequest) XXX_MessageName ¶
func (*DeleteShoppingCartRequest) XXX_MessageName() string
func (*DeleteShoppingCartRequest) XXX_Size ¶
func (m *DeleteShoppingCartRequest) XXX_Size() int
func (*DeleteShoppingCartRequest) XXX_Unmarshal ¶
func (m *DeleteShoppingCartRequest) XXX_Unmarshal(b []byte) error
type DetailedPromotionCodeDTO ¶
type DetailedPromotionCodeDTO struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` IsUSD bool `protobuf:"varint,3,opt,name=IsUSD,proto3" json:"IsUSD,omitempty"` IsPercent bool `protobuf:"varint,4,opt,name=IsPercent,proto3" json:"IsPercent,omitempty"` DiscountAmount float32 `protobuf:"fixed32,5,opt,name=DiscountAmount,proto3" json:"DiscountAmount,omitempty"` ActiveFrom *types.Timestamp `protobuf:"bytes,11,opt,name=ActiveFrom,proto3" json:"ActiveFrom,omitempty"` ActiveTo *types.Timestamp `protobuf:"bytes,12,opt,name=ActiveTo,proto3" json:"ActiveTo,omitempty"` BusinessID string `protobuf:"bytes,21,opt,name=BusinessID,proto3" json:"BusinessID,omitempty"` LimitedAmount int64 `protobuf:"varint,22,opt,name=LimitedAmount,proto3" json:"LimitedAmount,omitempty"` IsActive bool `protobuf:"varint,31,opt,name=IsActive,proto3" json:"IsActive,omitempty"` IsNewCustomerOnly bool `protobuf:"varint,32,opt,name=IsNewCustomerOnly,proto3" json:"IsNewCustomerOnly,omitempty"` IsBusinessSpecific bool `protobuf:"varint,33,opt,name=IsBusinessSpecific,proto3" json:"IsBusinessSpecific,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DetailedPromotionCodeDTO) Descriptor ¶
func (*DetailedPromotionCodeDTO) Descriptor() ([]byte, []int)
func (*DetailedPromotionCodeDTO) GetActiveFrom ¶
func (m *DetailedPromotionCodeDTO) GetActiveFrom() *types.Timestamp
func (*DetailedPromotionCodeDTO) GetActiveTo ¶
func (m *DetailedPromotionCodeDTO) GetActiveTo() *types.Timestamp
func (*DetailedPromotionCodeDTO) GetBusinessID ¶
func (m *DetailedPromotionCodeDTO) GetBusinessID() string
func (*DetailedPromotionCodeDTO) GetCode ¶
func (m *DetailedPromotionCodeDTO) GetCode() string
func (*DetailedPromotionCodeDTO) GetDiscountAmount ¶
func (m *DetailedPromotionCodeDTO) GetDiscountAmount() float32
func (*DetailedPromotionCodeDTO) GetID ¶
func (m *DetailedPromotionCodeDTO) GetID() string
func (*DetailedPromotionCodeDTO) GetIsActive ¶
func (m *DetailedPromotionCodeDTO) GetIsActive() bool
func (*DetailedPromotionCodeDTO) GetIsBusinessSpecific ¶
func (m *DetailedPromotionCodeDTO) GetIsBusinessSpecific() bool
func (*DetailedPromotionCodeDTO) GetIsNewCustomerOnly ¶
func (m *DetailedPromotionCodeDTO) GetIsNewCustomerOnly() bool
func (*DetailedPromotionCodeDTO) GetIsPercent ¶
func (m *DetailedPromotionCodeDTO) GetIsPercent() bool
func (*DetailedPromotionCodeDTO) GetIsUSD ¶
func (m *DetailedPromotionCodeDTO) GetIsUSD() bool
func (*DetailedPromotionCodeDTO) GetLimitedAmount ¶
func (m *DetailedPromotionCodeDTO) GetLimitedAmount() int64
func (*DetailedPromotionCodeDTO) Marshal ¶
func (m *DetailedPromotionCodeDTO) Marshal() (dAtA []byte, err error)
func (*DetailedPromotionCodeDTO) MarshalTo ¶
func (m *DetailedPromotionCodeDTO) MarshalTo(dAtA []byte) (int, error)
func (*DetailedPromotionCodeDTO) MarshalToSizedBuffer ¶
func (m *DetailedPromotionCodeDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DetailedPromotionCodeDTO) ProtoMessage ¶
func (*DetailedPromotionCodeDTO) ProtoMessage()
func (*DetailedPromotionCodeDTO) Reset ¶
func (m *DetailedPromotionCodeDTO) Reset()
func (*DetailedPromotionCodeDTO) Size ¶
func (m *DetailedPromotionCodeDTO) Size() (n int)
func (*DetailedPromotionCodeDTO) String ¶
func (m *DetailedPromotionCodeDTO) String() string
func (*DetailedPromotionCodeDTO) Unmarshal ¶
func (m *DetailedPromotionCodeDTO) Unmarshal(dAtA []byte) error
func (*DetailedPromotionCodeDTO) Validate ¶
func (this *DetailedPromotionCodeDTO) Validate() error
func (*DetailedPromotionCodeDTO) XXX_DiscardUnknown ¶
func (m *DetailedPromotionCodeDTO) XXX_DiscardUnknown()
func (*DetailedPromotionCodeDTO) XXX_Marshal ¶
func (m *DetailedPromotionCodeDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailedPromotionCodeDTO) XXX_Merge ¶
func (m *DetailedPromotionCodeDTO) XXX_Merge(src proto.Message)
func (*DetailedPromotionCodeDTO) XXX_MessageName ¶
func (*DetailedPromotionCodeDTO) XXX_MessageName() string
func (*DetailedPromotionCodeDTO) XXX_Size ¶
func (m *DetailedPromotionCodeDTO) XXX_Size() int
func (*DetailedPromotionCodeDTO) XXX_Unmarshal ¶
func (m *DetailedPromotionCodeDTO) XXX_Unmarshal(b []byte) error
type DetailedShoppingCartDTO ¶
type DetailedShoppingCartDTO struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Products []*ShoppingCartItemDTO `protobuf:"bytes,2,rep,name=Products,proto3" json:"Products,omitempty"` ShippingAddress *AddressDTO `protobuf:"bytes,3,opt,name=ShippingAddress,proto3" json:"ShippingAddress,omitempty"` BillingAddress *AddressDTO `protobuf:"bytes,4,opt,name=BillingAddress,proto3" json:"BillingAddress,omitempty"` ShippingMethodID string `protobuf:"bytes,5,opt,name=ShippingMethodID,proto3" json:"ShippingMethodID,omitempty"` Subtotal float32 `protobuf:"fixed32,6,opt,name=Subtotal,proto3" json:"Subtotal,omitempty"` ShippingCost float32 `protobuf:"fixed32,7,opt,name=ShippingCost,proto3" json:"ShippingCost,omitempty"` Tax float32 `protobuf:"fixed32,8,opt,name=Tax,proto3" json:"Tax,omitempty"` PromotionCodes []*DetailedPromotionCodeDTO `protobuf:"bytes,11,rep,name=PromotionCodes,proto3" json:"PromotionCodes,omitempty"` PointsRedeem uint64 `protobuf:"varint,12,opt,name=PointsRedeem,proto3" json:"PointsRedeem,omitempty"` IsCompleted bool `protobuf:"varint,51,opt,name=IsCompleted,proto3" json:"IsCompleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DetailedShoppingCartDTO) Descriptor ¶
func (*DetailedShoppingCartDTO) Descriptor() ([]byte, []int)
func (*DetailedShoppingCartDTO) GetBillingAddress ¶
func (m *DetailedShoppingCartDTO) GetBillingAddress() *AddressDTO
func (*DetailedShoppingCartDTO) GetID ¶
func (m *DetailedShoppingCartDTO) GetID() string
func (*DetailedShoppingCartDTO) GetIsCompleted ¶
func (m *DetailedShoppingCartDTO) GetIsCompleted() bool
func (*DetailedShoppingCartDTO) GetPointsRedeem ¶
func (m *DetailedShoppingCartDTO) GetPointsRedeem() uint64
func (*DetailedShoppingCartDTO) GetProducts ¶
func (m *DetailedShoppingCartDTO) GetProducts() []*ShoppingCartItemDTO
func (*DetailedShoppingCartDTO) GetPromotionCodes ¶
func (m *DetailedShoppingCartDTO) GetPromotionCodes() []*DetailedPromotionCodeDTO
func (*DetailedShoppingCartDTO) GetShippingAddress ¶
func (m *DetailedShoppingCartDTO) GetShippingAddress() *AddressDTO
func (*DetailedShoppingCartDTO) GetShippingCost ¶
func (m *DetailedShoppingCartDTO) GetShippingCost() float32
func (*DetailedShoppingCartDTO) GetShippingMethodID ¶
func (m *DetailedShoppingCartDTO) GetShippingMethodID() string
func (*DetailedShoppingCartDTO) GetSubtotal ¶
func (m *DetailedShoppingCartDTO) GetSubtotal() float32
func (*DetailedShoppingCartDTO) GetTax ¶
func (m *DetailedShoppingCartDTO) GetTax() float32
func (*DetailedShoppingCartDTO) Marshal ¶
func (m *DetailedShoppingCartDTO) Marshal() (dAtA []byte, err error)
func (*DetailedShoppingCartDTO) MarshalTo ¶
func (m *DetailedShoppingCartDTO) MarshalTo(dAtA []byte) (int, error)
func (*DetailedShoppingCartDTO) MarshalToSizedBuffer ¶
func (m *DetailedShoppingCartDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DetailedShoppingCartDTO) ProtoMessage ¶
func (*DetailedShoppingCartDTO) ProtoMessage()
func (*DetailedShoppingCartDTO) Reset ¶
func (m *DetailedShoppingCartDTO) Reset()
func (*DetailedShoppingCartDTO) Size ¶
func (m *DetailedShoppingCartDTO) Size() (n int)
func (*DetailedShoppingCartDTO) String ¶
func (m *DetailedShoppingCartDTO) String() string
func (*DetailedShoppingCartDTO) Unmarshal ¶
func (m *DetailedShoppingCartDTO) Unmarshal(dAtA []byte) error
func (*DetailedShoppingCartDTO) Validate ¶
func (this *DetailedShoppingCartDTO) Validate() error
func (*DetailedShoppingCartDTO) XXX_DiscardUnknown ¶
func (m *DetailedShoppingCartDTO) XXX_DiscardUnknown()
func (*DetailedShoppingCartDTO) XXX_Marshal ¶
func (m *DetailedShoppingCartDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailedShoppingCartDTO) XXX_Merge ¶
func (m *DetailedShoppingCartDTO) XXX_Merge(src proto.Message)
func (*DetailedShoppingCartDTO) XXX_MessageName ¶
func (*DetailedShoppingCartDTO) XXX_MessageName() string
func (*DetailedShoppingCartDTO) XXX_Size ¶
func (m *DetailedShoppingCartDTO) XXX_Size() int
func (*DetailedShoppingCartDTO) XXX_Unmarshal ¶
func (m *DetailedShoppingCartDTO) XXX_Unmarshal(b []byte) error
type GetAllPromoCodesByEntityRequest ¶
type GetAllPromoCodesByEntityRequest struct { EntityID string `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllPromoCodesByEntityRequest) Descriptor ¶
func (*GetAllPromoCodesByEntityRequest) Descriptor() ([]byte, []int)
func (*GetAllPromoCodesByEntityRequest) GetEntityID ¶
func (m *GetAllPromoCodesByEntityRequest) GetEntityID() string
func (*GetAllPromoCodesByEntityRequest) Marshal ¶
func (m *GetAllPromoCodesByEntityRequest) Marshal() (dAtA []byte, err error)
func (*GetAllPromoCodesByEntityRequest) MarshalTo ¶
func (m *GetAllPromoCodesByEntityRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAllPromoCodesByEntityRequest) MarshalToSizedBuffer ¶
func (m *GetAllPromoCodesByEntityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAllPromoCodesByEntityRequest) ProtoMessage ¶
func (*GetAllPromoCodesByEntityRequest) ProtoMessage()
func (*GetAllPromoCodesByEntityRequest) Reset ¶
func (m *GetAllPromoCodesByEntityRequest) Reset()
func (*GetAllPromoCodesByEntityRequest) Size ¶
func (m *GetAllPromoCodesByEntityRequest) Size() (n int)
func (*GetAllPromoCodesByEntityRequest) String ¶
func (m *GetAllPromoCodesByEntityRequest) String() string
func (*GetAllPromoCodesByEntityRequest) Unmarshal ¶
func (m *GetAllPromoCodesByEntityRequest) Unmarshal(dAtA []byte) error
func (*GetAllPromoCodesByEntityRequest) Validate ¶
func (this *GetAllPromoCodesByEntityRequest) Validate() error
func (*GetAllPromoCodesByEntityRequest) XXX_DiscardUnknown ¶
func (m *GetAllPromoCodesByEntityRequest) XXX_DiscardUnknown()
func (*GetAllPromoCodesByEntityRequest) XXX_Marshal ¶
func (m *GetAllPromoCodesByEntityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllPromoCodesByEntityRequest) XXX_Merge ¶
func (m *GetAllPromoCodesByEntityRequest) XXX_Merge(src proto.Message)
func (*GetAllPromoCodesByEntityRequest) XXX_MessageName ¶
func (*GetAllPromoCodesByEntityRequest) XXX_MessageName() string
func (*GetAllPromoCodesByEntityRequest) XXX_Size ¶
func (m *GetAllPromoCodesByEntityRequest) XXX_Size() int
func (*GetAllPromoCodesByEntityRequest) XXX_Unmarshal ¶
func (m *GetAllPromoCodesByEntityRequest) XXX_Unmarshal(b []byte) error
type GetPromoCodeByCodeRequest ¶
type GetPromoCodeByCodeRequest struct { EntityID string `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` PromoCode string `protobuf:"bytes,2,opt,name=PromoCode,proto3" json:"PromoCode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPromoCodeByCodeRequest) Descriptor ¶
func (*GetPromoCodeByCodeRequest) Descriptor() ([]byte, []int)
func (*GetPromoCodeByCodeRequest) GetEntityID ¶
func (m *GetPromoCodeByCodeRequest) GetEntityID() string
func (*GetPromoCodeByCodeRequest) GetPromoCode ¶
func (m *GetPromoCodeByCodeRequest) GetPromoCode() string
func (*GetPromoCodeByCodeRequest) Marshal ¶
func (m *GetPromoCodeByCodeRequest) Marshal() (dAtA []byte, err error)
func (*GetPromoCodeByCodeRequest) MarshalTo ¶
func (m *GetPromoCodeByCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetPromoCodeByCodeRequest) MarshalToSizedBuffer ¶
func (m *GetPromoCodeByCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetPromoCodeByCodeRequest) ProtoMessage ¶
func (*GetPromoCodeByCodeRequest) ProtoMessage()
func (*GetPromoCodeByCodeRequest) Reset ¶
func (m *GetPromoCodeByCodeRequest) Reset()
func (*GetPromoCodeByCodeRequest) Size ¶
func (m *GetPromoCodeByCodeRequest) Size() (n int)
func (*GetPromoCodeByCodeRequest) String ¶
func (m *GetPromoCodeByCodeRequest) String() string
func (*GetPromoCodeByCodeRequest) Unmarshal ¶
func (m *GetPromoCodeByCodeRequest) Unmarshal(dAtA []byte) error
func (*GetPromoCodeByCodeRequest) Validate ¶
func (this *GetPromoCodeByCodeRequest) Validate() error
func (*GetPromoCodeByCodeRequest) XXX_DiscardUnknown ¶
func (m *GetPromoCodeByCodeRequest) XXX_DiscardUnknown()
func (*GetPromoCodeByCodeRequest) XXX_Marshal ¶
func (m *GetPromoCodeByCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPromoCodeByCodeRequest) XXX_Merge ¶
func (m *GetPromoCodeByCodeRequest) XXX_Merge(src proto.Message)
func (*GetPromoCodeByCodeRequest) XXX_MessageName ¶
func (*GetPromoCodeByCodeRequest) XXX_MessageName() string
func (*GetPromoCodeByCodeRequest) XXX_Size ¶
func (m *GetPromoCodeByCodeRequest) XXX_Size() int
func (*GetPromoCodeByCodeRequest) XXX_Unmarshal ¶
func (m *GetPromoCodeByCodeRequest) XXX_Unmarshal(b []byte) error
type GetPromoCodeByIDRequest ¶
type GetPromoCodeByIDRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPromoCodeByIDRequest) Descriptor ¶
func (*GetPromoCodeByIDRequest) Descriptor() ([]byte, []int)
func (*GetPromoCodeByIDRequest) GetID ¶
func (m *GetPromoCodeByIDRequest) GetID() string
func (*GetPromoCodeByIDRequest) Marshal ¶
func (m *GetPromoCodeByIDRequest) Marshal() (dAtA []byte, err error)
func (*GetPromoCodeByIDRequest) MarshalTo ¶
func (m *GetPromoCodeByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetPromoCodeByIDRequest) MarshalToSizedBuffer ¶
func (m *GetPromoCodeByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetPromoCodeByIDRequest) ProtoMessage ¶
func (*GetPromoCodeByIDRequest) ProtoMessage()
func (*GetPromoCodeByIDRequest) Reset ¶
func (m *GetPromoCodeByIDRequest) Reset()
func (*GetPromoCodeByIDRequest) Size ¶
func (m *GetPromoCodeByIDRequest) Size() (n int)
func (*GetPromoCodeByIDRequest) String ¶
func (m *GetPromoCodeByIDRequest) String() string
func (*GetPromoCodeByIDRequest) Unmarshal ¶
func (m *GetPromoCodeByIDRequest) Unmarshal(dAtA []byte) error
func (*GetPromoCodeByIDRequest) Validate ¶
func (this *GetPromoCodeByIDRequest) Validate() error
func (*GetPromoCodeByIDRequest) XXX_DiscardUnknown ¶
func (m *GetPromoCodeByIDRequest) XXX_DiscardUnknown()
func (*GetPromoCodeByIDRequest) XXX_Marshal ¶
func (m *GetPromoCodeByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPromoCodeByIDRequest) XXX_Merge ¶
func (m *GetPromoCodeByIDRequest) XXX_Merge(src proto.Message)
func (*GetPromoCodeByIDRequest) XXX_MessageName ¶
func (*GetPromoCodeByIDRequest) XXX_MessageName() string
func (*GetPromoCodeByIDRequest) XXX_Size ¶
func (m *GetPromoCodeByIDRequest) XXX_Size() int
func (*GetPromoCodeByIDRequest) XXX_Unmarshal ¶
func (m *GetPromoCodeByIDRequest) XXX_Unmarshal(b []byte) error
type GetShoppingCartByIDRequest ¶
type GetShoppingCartByIDRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetShoppingCartByIDRequest) Descriptor ¶
func (*GetShoppingCartByIDRequest) Descriptor() ([]byte, []int)
func (*GetShoppingCartByIDRequest) GetID ¶
func (m *GetShoppingCartByIDRequest) GetID() string
func (*GetShoppingCartByIDRequest) Marshal ¶
func (m *GetShoppingCartByIDRequest) Marshal() (dAtA []byte, err error)
func (*GetShoppingCartByIDRequest) MarshalTo ¶
func (m *GetShoppingCartByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetShoppingCartByIDRequest) MarshalToSizedBuffer ¶
func (m *GetShoppingCartByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetShoppingCartByIDRequest) ProtoMessage ¶
func (*GetShoppingCartByIDRequest) ProtoMessage()
func (*GetShoppingCartByIDRequest) Reset ¶
func (m *GetShoppingCartByIDRequest) Reset()
func (*GetShoppingCartByIDRequest) Size ¶
func (m *GetShoppingCartByIDRequest) Size() (n int)
func (*GetShoppingCartByIDRequest) String ¶
func (m *GetShoppingCartByIDRequest) String() string
func (*GetShoppingCartByIDRequest) Unmarshal ¶
func (m *GetShoppingCartByIDRequest) Unmarshal(dAtA []byte) error
func (*GetShoppingCartByIDRequest) Validate ¶
func (this *GetShoppingCartByIDRequest) Validate() error
func (*GetShoppingCartByIDRequest) XXX_DiscardUnknown ¶
func (m *GetShoppingCartByIDRequest) XXX_DiscardUnknown()
func (*GetShoppingCartByIDRequest) XXX_Marshal ¶
func (m *GetShoppingCartByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetShoppingCartByIDRequest) XXX_Merge ¶
func (m *GetShoppingCartByIDRequest) XXX_Merge(src proto.Message)
func (*GetShoppingCartByIDRequest) XXX_MessageName ¶
func (*GetShoppingCartByIDRequest) XXX_MessageName() string
func (*GetShoppingCartByIDRequest) XXX_Size ¶
func (m *GetShoppingCartByIDRequest) XXX_Size() int
func (*GetShoppingCartByIDRequest) XXX_Unmarshal ¶
func (m *GetShoppingCartByIDRequest) XXX_Unmarshal(b []byte) error
type GetShoppingCartRequest ¶
type GetShoppingCartRequest struct { EntityID string `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` BusinessID string `protobuf:"bytes,2,opt,name=BusinessID,proto3" json:"BusinessID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetShoppingCartRequest) Descriptor ¶
func (*GetShoppingCartRequest) Descriptor() ([]byte, []int)
func (*GetShoppingCartRequest) GetBusinessID ¶
func (m *GetShoppingCartRequest) GetBusinessID() string
func (*GetShoppingCartRequest) GetEntityID ¶
func (m *GetShoppingCartRequest) GetEntityID() string
func (*GetShoppingCartRequest) Marshal ¶
func (m *GetShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*GetShoppingCartRequest) MarshalTo ¶
func (m *GetShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *GetShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetShoppingCartRequest) ProtoMessage ¶
func (*GetShoppingCartRequest) ProtoMessage()
func (*GetShoppingCartRequest) Reset ¶
func (m *GetShoppingCartRequest) Reset()
func (*GetShoppingCartRequest) Size ¶
func (m *GetShoppingCartRequest) Size() (n int)
func (*GetShoppingCartRequest) String ¶
func (m *GetShoppingCartRequest) String() string
func (*GetShoppingCartRequest) Unmarshal ¶
func (m *GetShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*GetShoppingCartRequest) Validate ¶
func (this *GetShoppingCartRequest) Validate() error
func (*GetShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *GetShoppingCartRequest) XXX_DiscardUnknown()
func (*GetShoppingCartRequest) XXX_Marshal ¶
func (m *GetShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetShoppingCartRequest) XXX_Merge ¶
func (m *GetShoppingCartRequest) XXX_Merge(src proto.Message)
func (*GetShoppingCartRequest) XXX_MessageName ¶
func (*GetShoppingCartRequest) XXX_MessageName() string
func (*GetShoppingCartRequest) XXX_Size ¶
func (m *GetShoppingCartRequest) XXX_Size() int
func (*GetShoppingCartRequest) XXX_Unmarshal ¶
func (m *GetShoppingCartRequest) XXX_Unmarshal(b []byte) error
type MergeShoppingCartRequest ¶
type MergeShoppingCartRequest struct { FromID string `protobuf:"bytes,1,opt,name=FromID,proto3" json:"FromID,omitempty"` ToID string `protobuf:"bytes,2,opt,name=ToID,proto3" json:"ToID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MergeShoppingCartRequest) Descriptor ¶
func (*MergeShoppingCartRequest) Descriptor() ([]byte, []int)
func (*MergeShoppingCartRequest) GetFromID ¶
func (m *MergeShoppingCartRequest) GetFromID() string
func (*MergeShoppingCartRequest) GetToID ¶
func (m *MergeShoppingCartRequest) GetToID() string
func (*MergeShoppingCartRequest) Marshal ¶
func (m *MergeShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*MergeShoppingCartRequest) MarshalTo ¶
func (m *MergeShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*MergeShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *MergeShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MergeShoppingCartRequest) ProtoMessage ¶
func (*MergeShoppingCartRequest) ProtoMessage()
func (*MergeShoppingCartRequest) Reset ¶
func (m *MergeShoppingCartRequest) Reset()
func (*MergeShoppingCartRequest) Size ¶
func (m *MergeShoppingCartRequest) Size() (n int)
func (*MergeShoppingCartRequest) String ¶
func (m *MergeShoppingCartRequest) String() string
func (*MergeShoppingCartRequest) Unmarshal ¶
func (m *MergeShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*MergeShoppingCartRequest) Validate ¶
func (this *MergeShoppingCartRequest) Validate() error
func (*MergeShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *MergeShoppingCartRequest) XXX_DiscardUnknown()
func (*MergeShoppingCartRequest) XXX_Marshal ¶
func (m *MergeShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MergeShoppingCartRequest) XXX_Merge ¶
func (m *MergeShoppingCartRequest) XXX_Merge(src proto.Message)
func (*MergeShoppingCartRequest) XXX_MessageName ¶
func (*MergeShoppingCartRequest) XXX_MessageName() string
func (*MergeShoppingCartRequest) XXX_Size ¶
func (m *MergeShoppingCartRequest) XXX_Size() int
func (*MergeShoppingCartRequest) XXX_Unmarshal ¶
func (m *MergeShoppingCartRequest) XXX_Unmarshal(b []byte) error
type RemoveProductInShoppingCartRequest ¶
type RemoveProductInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` ProductID string `protobuf:"bytes,2,opt,name=ProductID,proto3" json:"ProductID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveProductInShoppingCartRequest) Descriptor ¶
func (*RemoveProductInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*RemoveProductInShoppingCartRequest) GetID ¶
func (m *RemoveProductInShoppingCartRequest) GetID() string
func (*RemoveProductInShoppingCartRequest) GetProductID ¶
func (m *RemoveProductInShoppingCartRequest) GetProductID() string
func (*RemoveProductInShoppingCartRequest) Marshal ¶
func (m *RemoveProductInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*RemoveProductInShoppingCartRequest) MarshalTo ¶
func (m *RemoveProductInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveProductInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *RemoveProductInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveProductInShoppingCartRequest) ProtoMessage ¶
func (*RemoveProductInShoppingCartRequest) ProtoMessage()
func (*RemoveProductInShoppingCartRequest) Reset ¶
func (m *RemoveProductInShoppingCartRequest) Reset()
func (*RemoveProductInShoppingCartRequest) Size ¶
func (m *RemoveProductInShoppingCartRequest) Size() (n int)
func (*RemoveProductInShoppingCartRequest) String ¶
func (m *RemoveProductInShoppingCartRequest) String() string
func (*RemoveProductInShoppingCartRequest) Unmarshal ¶
func (m *RemoveProductInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*RemoveProductInShoppingCartRequest) Validate ¶
func (this *RemoveProductInShoppingCartRequest) Validate() error
func (*RemoveProductInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *RemoveProductInShoppingCartRequest) XXX_DiscardUnknown()
func (*RemoveProductInShoppingCartRequest) XXX_Marshal ¶
func (m *RemoveProductInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveProductInShoppingCartRequest) XXX_Merge ¶
func (m *RemoveProductInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*RemoveProductInShoppingCartRequest) XXX_MessageName ¶
func (*RemoveProductInShoppingCartRequest) XXX_MessageName() string
func (*RemoveProductInShoppingCartRequest) XXX_Size ¶
func (m *RemoveProductInShoppingCartRequest) XXX_Size() int
func (*RemoveProductInShoppingCartRequest) XXX_Unmarshal ¶
func (m *RemoveProductInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type RemovePromoCodeInShoppingCartRequest ¶
type RemovePromoCodeInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PromoCodeID string `protobuf:"bytes,2,opt,name=PromoCodeID,proto3" json:"PromoCodeID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePromoCodeInShoppingCartRequest) Descriptor ¶
func (*RemovePromoCodeInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*RemovePromoCodeInShoppingCartRequest) GetID ¶
func (m *RemovePromoCodeInShoppingCartRequest) GetID() string
func (*RemovePromoCodeInShoppingCartRequest) GetPromoCodeID ¶
func (m *RemovePromoCodeInShoppingCartRequest) GetPromoCodeID() string
func (*RemovePromoCodeInShoppingCartRequest) Marshal ¶
func (m *RemovePromoCodeInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*RemovePromoCodeInShoppingCartRequest) MarshalTo ¶
func (m *RemovePromoCodeInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemovePromoCodeInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *RemovePromoCodeInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemovePromoCodeInShoppingCartRequest) ProtoMessage ¶
func (*RemovePromoCodeInShoppingCartRequest) ProtoMessage()
func (*RemovePromoCodeInShoppingCartRequest) Reset ¶
func (m *RemovePromoCodeInShoppingCartRequest) Reset()
func (*RemovePromoCodeInShoppingCartRequest) Size ¶
func (m *RemovePromoCodeInShoppingCartRequest) Size() (n int)
func (*RemovePromoCodeInShoppingCartRequest) String ¶
func (m *RemovePromoCodeInShoppingCartRequest) String() string
func (*RemovePromoCodeInShoppingCartRequest) Unmarshal ¶
func (m *RemovePromoCodeInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*RemovePromoCodeInShoppingCartRequest) Validate ¶
func (this *RemovePromoCodeInShoppingCartRequest) Validate() error
func (*RemovePromoCodeInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *RemovePromoCodeInShoppingCartRequest) XXX_DiscardUnknown()
func (*RemovePromoCodeInShoppingCartRequest) XXX_Marshal ¶
func (m *RemovePromoCodeInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePromoCodeInShoppingCartRequest) XXX_Merge ¶
func (m *RemovePromoCodeInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*RemovePromoCodeInShoppingCartRequest) XXX_MessageName ¶
func (*RemovePromoCodeInShoppingCartRequest) XXX_MessageName() string
func (*RemovePromoCodeInShoppingCartRequest) XXX_Size ¶
func (m *RemovePromoCodeInShoppingCartRequest) XXX_Size() int
func (*RemovePromoCodeInShoppingCartRequest) XXX_Unmarshal ¶
func (m *RemovePromoCodeInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type RepeatedDetailedPromotionCodeDTO ¶
type RepeatedDetailedPromotionCodeDTO struct { Results []*DetailedPromotionCodeDTO `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RepeatedDetailedPromotionCodeDTO) Descriptor ¶
func (*RepeatedDetailedPromotionCodeDTO) Descriptor() ([]byte, []int)
func (*RepeatedDetailedPromotionCodeDTO) GetResults ¶
func (m *RepeatedDetailedPromotionCodeDTO) GetResults() []*DetailedPromotionCodeDTO
func (*RepeatedDetailedPromotionCodeDTO) Marshal ¶
func (m *RepeatedDetailedPromotionCodeDTO) Marshal() (dAtA []byte, err error)
func (*RepeatedDetailedPromotionCodeDTO) MarshalTo ¶
func (m *RepeatedDetailedPromotionCodeDTO) MarshalTo(dAtA []byte) (int, error)
func (*RepeatedDetailedPromotionCodeDTO) MarshalToSizedBuffer ¶
func (m *RepeatedDetailedPromotionCodeDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RepeatedDetailedPromotionCodeDTO) ProtoMessage ¶
func (*RepeatedDetailedPromotionCodeDTO) ProtoMessage()
func (*RepeatedDetailedPromotionCodeDTO) Reset ¶
func (m *RepeatedDetailedPromotionCodeDTO) Reset()
func (*RepeatedDetailedPromotionCodeDTO) Size ¶
func (m *RepeatedDetailedPromotionCodeDTO) Size() (n int)
func (*RepeatedDetailedPromotionCodeDTO) String ¶
func (m *RepeatedDetailedPromotionCodeDTO) String() string
func (*RepeatedDetailedPromotionCodeDTO) Unmarshal ¶
func (m *RepeatedDetailedPromotionCodeDTO) Unmarshal(dAtA []byte) error
func (*RepeatedDetailedPromotionCodeDTO) Validate ¶
func (this *RepeatedDetailedPromotionCodeDTO) Validate() error
func (*RepeatedDetailedPromotionCodeDTO) XXX_DiscardUnknown ¶
func (m *RepeatedDetailedPromotionCodeDTO) XXX_DiscardUnknown()
func (*RepeatedDetailedPromotionCodeDTO) XXX_Marshal ¶
func (m *RepeatedDetailedPromotionCodeDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepeatedDetailedPromotionCodeDTO) XXX_Merge ¶
func (m *RepeatedDetailedPromotionCodeDTO) XXX_Merge(src proto.Message)
func (*RepeatedDetailedPromotionCodeDTO) XXX_MessageName ¶
func (*RepeatedDetailedPromotionCodeDTO) XXX_MessageName() string
func (*RepeatedDetailedPromotionCodeDTO) XXX_Size ¶
func (m *RepeatedDetailedPromotionCodeDTO) XXX_Size() int
func (*RepeatedDetailedPromotionCodeDTO) XXX_Unmarshal ¶
func (m *RepeatedDetailedPromotionCodeDTO) XXX_Unmarshal(b []byte) error
type ShoppingCartItemDTO ¶
type ShoppingCartItemDTO struct { ProductID string `protobuf:"bytes,1,opt,name=ProductID,proto3" json:"ProductID,omitempty"` Quantity uint64 `protobuf:"varint,2,opt,name=Quantity,proto3" json:"Quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShoppingCartItemDTO) Descriptor ¶
func (*ShoppingCartItemDTO) Descriptor() ([]byte, []int)
func (*ShoppingCartItemDTO) GetProductID ¶
func (m *ShoppingCartItemDTO) GetProductID() string
func (*ShoppingCartItemDTO) GetQuantity ¶
func (m *ShoppingCartItemDTO) GetQuantity() uint64
func (*ShoppingCartItemDTO) Marshal ¶
func (m *ShoppingCartItemDTO) Marshal() (dAtA []byte, err error)
func (*ShoppingCartItemDTO) MarshalTo ¶
func (m *ShoppingCartItemDTO) MarshalTo(dAtA []byte) (int, error)
func (*ShoppingCartItemDTO) MarshalToSizedBuffer ¶
func (m *ShoppingCartItemDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShoppingCartItemDTO) ProtoMessage ¶
func (*ShoppingCartItemDTO) ProtoMessage()
func (*ShoppingCartItemDTO) Reset ¶
func (m *ShoppingCartItemDTO) Reset()
func (*ShoppingCartItemDTO) Size ¶
func (m *ShoppingCartItemDTO) Size() (n int)
func (*ShoppingCartItemDTO) String ¶
func (m *ShoppingCartItemDTO) String() string
func (*ShoppingCartItemDTO) Unmarshal ¶
func (m *ShoppingCartItemDTO) Unmarshal(dAtA []byte) error
func (*ShoppingCartItemDTO) Validate ¶
func (this *ShoppingCartItemDTO) Validate() error
func (*ShoppingCartItemDTO) XXX_DiscardUnknown ¶
func (m *ShoppingCartItemDTO) XXX_DiscardUnknown()
func (*ShoppingCartItemDTO) XXX_Marshal ¶
func (m *ShoppingCartItemDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShoppingCartItemDTO) XXX_Merge ¶
func (m *ShoppingCartItemDTO) XXX_Merge(src proto.Message)
func (*ShoppingCartItemDTO) XXX_MessageName ¶
func (*ShoppingCartItemDTO) XXX_MessageName() string
func (*ShoppingCartItemDTO) XXX_Size ¶
func (m *ShoppingCartItemDTO) XXX_Size() int
func (*ShoppingCartItemDTO) XXX_Unmarshal ¶
func (m *ShoppingCartItemDTO) XXX_Unmarshal(b []byte) error
type ShoppingCartServiceClient ¶
type ShoppingCartServiceClient interface { CreateShoppingCart(ctx context.Context, in *CreateShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) GetShoppingCart(ctx context.Context, in *GetShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) GetShoppingCartByID(ctx context.Context, in *GetShoppingCartByIDRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) AddProductInShoppingCart(ctx context.Context, in *AddProductInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) RemoveProductInShoppingCart(ctx context.Context, in *RemoveProductInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) ValidatePromoCodesInShoppingCart(ctx context.Context, in *ValidatePromoCodesInShoppingCartRequest, opts ...grpc.CallOption) (*ValidatePromoCodesInShoppingCartResponse, error) AddPromoCodeInShoppingCart(ctx context.Context, in *AddPromoCodeInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) RemovePromoCodeInShoppingCart(ctx context.Context, in *RemovePromoCodeInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) UpdateShippingAddressInShoppingCart(ctx context.Context, in *UpdateAddressInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) UpdateBillingAddressInShoppingCart(ctx context.Context, in *UpdateAddressInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) UpdateShippingMethodInShoppingCart(ctx context.Context, in *UpdateShippingMethodInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) UpdatePointsRedeemInShoppingCart(ctx context.Context, in *UpdatePointsRedeemInShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) CompleteShoppingCart(ctx context.Context, in *CompleteShoppingCartReuqest, opts ...grpc.CallOption) (*BoolResponse, error) MergeShoppingCart(ctx context.Context, in *MergeShoppingCartRequest, opts ...grpc.CallOption) (*DetailedShoppingCartDTO, error) DeleteShoppingCart(ctx context.Context, in *DeleteShoppingCartRequest, opts ...grpc.CallOption) (*BoolResponse, error) CreatePromoCode(ctx context.Context, in *CreatePromoCodeRequest, opts ...grpc.CallOption) (*DetailedPromotionCodeDTO, error) GetAllPromoCodesByEntity(ctx context.Context, in *GetAllPromoCodesByEntityRequest, opts ...grpc.CallOption) (*RepeatedDetailedPromotionCodeDTO, error) GetPromoCodeByID(ctx context.Context, in *GetPromoCodeByIDRequest, opts ...grpc.CallOption) (*DetailedPromotionCodeDTO, error) GetPromoCodeByCode(ctx context.Context, in *GetPromoCodeByCodeRequest, opts ...grpc.CallOption) (*DetailedPromotionCodeDTO, error) UpdatePromoCode(ctx context.Context, in *UpdatePromoCodeRequest, opts ...grpc.CallOption) (*DetailedPromotionCodeDTO, error) DeletePromoCode(ctx context.Context, in *DeletePromoCodeRequest, opts ...grpc.CallOption) (*BoolResponse, error) }
ShoppingCartServiceClient is the client API for ShoppingCartService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewShoppingCartServiceClient ¶
func NewShoppingCartServiceClient(cc *grpc.ClientConn) ShoppingCartServiceClient
type ShoppingCartServiceServer ¶
type ShoppingCartServiceServer interface { CreateShoppingCart(context.Context, *CreateShoppingCartRequest) (*DetailedShoppingCartDTO, error) GetShoppingCart(context.Context, *GetShoppingCartRequest) (*DetailedShoppingCartDTO, error) GetShoppingCartByID(context.Context, *GetShoppingCartByIDRequest) (*DetailedShoppingCartDTO, error) AddProductInShoppingCart(context.Context, *AddProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error) RemoveProductInShoppingCart(context.Context, *RemoveProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error) ValidatePromoCodesInShoppingCart(context.Context, *ValidatePromoCodesInShoppingCartRequest) (*ValidatePromoCodesInShoppingCartResponse, error) AddPromoCodeInShoppingCart(context.Context, *AddPromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error) RemovePromoCodeInShoppingCart(context.Context, *RemovePromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error) UpdateShippingAddressInShoppingCart(context.Context, *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error) UpdateBillingAddressInShoppingCart(context.Context, *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error) UpdateShippingMethodInShoppingCart(context.Context, *UpdateShippingMethodInShoppingCartRequest) (*DetailedShoppingCartDTO, error) UpdatePointsRedeemInShoppingCart(context.Context, *UpdatePointsRedeemInShoppingCartRequest) (*DetailedShoppingCartDTO, error) CompleteShoppingCart(context.Context, *CompleteShoppingCartReuqest) (*BoolResponse, error) MergeShoppingCart(context.Context, *MergeShoppingCartRequest) (*DetailedShoppingCartDTO, error) DeleteShoppingCart(context.Context, *DeleteShoppingCartRequest) (*BoolResponse, error) CreatePromoCode(context.Context, *CreatePromoCodeRequest) (*DetailedPromotionCodeDTO, error) GetAllPromoCodesByEntity(context.Context, *GetAllPromoCodesByEntityRequest) (*RepeatedDetailedPromotionCodeDTO, error) GetPromoCodeByID(context.Context, *GetPromoCodeByIDRequest) (*DetailedPromotionCodeDTO, error) GetPromoCodeByCode(context.Context, *GetPromoCodeByCodeRequest) (*DetailedPromotionCodeDTO, error) UpdatePromoCode(context.Context, *UpdatePromoCodeRequest) (*DetailedPromotionCodeDTO, error) DeletePromoCode(context.Context, *DeletePromoCodeRequest) (*BoolResponse, error) }
ShoppingCartServiceServer is the server API for ShoppingCartService service.
type UnimplementedShoppingCartServiceServer ¶
type UnimplementedShoppingCartServiceServer struct { }
UnimplementedShoppingCartServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedShoppingCartServiceServer) AddProductInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) AddProductInShoppingCart(ctx context.Context, req *AddProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) AddPromoCodeInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) AddPromoCodeInShoppingCart(ctx context.Context, req *AddPromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) CompleteShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) CompleteShoppingCart(ctx context.Context, req *CompleteShoppingCartReuqest) (*BoolResponse, error)
func (*UnimplementedShoppingCartServiceServer) CreatePromoCode ¶
func (*UnimplementedShoppingCartServiceServer) CreatePromoCode(ctx context.Context, req *CreatePromoCodeRequest) (*DetailedPromotionCodeDTO, error)
func (*UnimplementedShoppingCartServiceServer) CreateShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) CreateShoppingCart(ctx context.Context, req *CreateShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) DeletePromoCode ¶
func (*UnimplementedShoppingCartServiceServer) DeletePromoCode(ctx context.Context, req *DeletePromoCodeRequest) (*BoolResponse, error)
func (*UnimplementedShoppingCartServiceServer) DeleteShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) DeleteShoppingCart(ctx context.Context, req *DeleteShoppingCartRequest) (*BoolResponse, error)
func (*UnimplementedShoppingCartServiceServer) GetAllPromoCodesByEntity ¶
func (*UnimplementedShoppingCartServiceServer) GetAllPromoCodesByEntity(ctx context.Context, req *GetAllPromoCodesByEntityRequest) (*RepeatedDetailedPromotionCodeDTO, error)
func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByCode ¶
func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByCode(ctx context.Context, req *GetPromoCodeByCodeRequest) (*DetailedPromotionCodeDTO, error)
func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByID ¶
func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByID(ctx context.Context, req *GetPromoCodeByIDRequest) (*DetailedPromotionCodeDTO, error)
func (*UnimplementedShoppingCartServiceServer) GetShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) GetShoppingCart(ctx context.Context, req *GetShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) GetShoppingCartByID ¶
func (*UnimplementedShoppingCartServiceServer) GetShoppingCartByID(ctx context.Context, req *GetShoppingCartByIDRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) MergeShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) MergeShoppingCart(ctx context.Context, req *MergeShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) RemoveProductInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) RemoveProductInShoppingCart(ctx context.Context, req *RemoveProductInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) RemovePromoCodeInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) RemovePromoCodeInShoppingCart(ctx context.Context, req *RemovePromoCodeInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) UpdateBillingAddressInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) UpdateBillingAddressInShoppingCart(ctx context.Context, req *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) UpdatePointsRedeemInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) UpdatePointsRedeemInShoppingCart(ctx context.Context, req *UpdatePointsRedeemInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) UpdatePromoCode ¶
func (*UnimplementedShoppingCartServiceServer) UpdatePromoCode(ctx context.Context, req *UpdatePromoCodeRequest) (*DetailedPromotionCodeDTO, error)
func (*UnimplementedShoppingCartServiceServer) UpdateShippingAddressInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) UpdateShippingAddressInShoppingCart(ctx context.Context, req *UpdateAddressInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) UpdateShippingMethodInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) UpdateShippingMethodInShoppingCart(ctx context.Context, req *UpdateShippingMethodInShoppingCartRequest) (*DetailedShoppingCartDTO, error)
func (*UnimplementedShoppingCartServiceServer) ValidatePromoCodesInShoppingCart ¶
func (*UnimplementedShoppingCartServiceServer) ValidatePromoCodesInShoppingCart(ctx context.Context, req *ValidatePromoCodesInShoppingCartRequest) (*ValidatePromoCodesInShoppingCartResponse, error)
type UpdateAddressInShoppingCartRequest ¶
type UpdateAddressInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` AddressID string `protobuf:"bytes,2,opt,name=AddressID,proto3" json:"AddressID,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=Prefix,proto3" json:"Prefix,omitempty"` Firstname string `protobuf:"bytes,4,opt,name=Firstname,proto3" json:"Firstname,omitempty"` Lastname string `protobuf:"bytes,5,opt,name=Lastname,proto3" json:"Lastname,omitempty"` BusinessName string `protobuf:"bytes,6,opt,name=BusinessName,proto3" json:"BusinessName,omitempty"` IsBusiness bool `protobuf:"varint,7,opt,name=IsBusiness,proto3" json:"IsBusiness,omitempty"` Address1 string `protobuf:"bytes,8,opt,name=Address1,proto3" json:"Address1,omitempty"` Address2 string `protobuf:"bytes,9,opt,name=Address2,proto3" json:"Address2,omitempty"` PhoneNumber string `protobuf:"bytes,10,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Zip string `protobuf:"bytes,11,opt,name=Zip,proto3" json:"Zip,omitempty"` City string `protobuf:"bytes,12,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,13,opt,name=State,proto3" json:"State,omitempty"` Tax float32 `protobuf:"fixed32,14,opt,name=Tax,proto3" json:"Tax,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAddressInShoppingCartRequest) Descriptor ¶
func (*UpdateAddressInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*UpdateAddressInShoppingCartRequest) GetAddress1 ¶
func (m *UpdateAddressInShoppingCartRequest) GetAddress1() string
func (*UpdateAddressInShoppingCartRequest) GetAddress2 ¶
func (m *UpdateAddressInShoppingCartRequest) GetAddress2() string
func (*UpdateAddressInShoppingCartRequest) GetAddressID ¶
func (m *UpdateAddressInShoppingCartRequest) GetAddressID() string
func (*UpdateAddressInShoppingCartRequest) GetBusinessName ¶
func (m *UpdateAddressInShoppingCartRequest) GetBusinessName() string
func (*UpdateAddressInShoppingCartRequest) GetCity ¶
func (m *UpdateAddressInShoppingCartRequest) GetCity() string
func (*UpdateAddressInShoppingCartRequest) GetFirstname ¶
func (m *UpdateAddressInShoppingCartRequest) GetFirstname() string
func (*UpdateAddressInShoppingCartRequest) GetID ¶
func (m *UpdateAddressInShoppingCartRequest) GetID() string
func (*UpdateAddressInShoppingCartRequest) GetIsBusiness ¶
func (m *UpdateAddressInShoppingCartRequest) GetIsBusiness() bool
func (*UpdateAddressInShoppingCartRequest) GetLastname ¶
func (m *UpdateAddressInShoppingCartRequest) GetLastname() string
func (*UpdateAddressInShoppingCartRequest) GetPhoneNumber ¶
func (m *UpdateAddressInShoppingCartRequest) GetPhoneNumber() string
func (*UpdateAddressInShoppingCartRequest) GetPrefix ¶
func (m *UpdateAddressInShoppingCartRequest) GetPrefix() string
func (*UpdateAddressInShoppingCartRequest) GetState ¶
func (m *UpdateAddressInShoppingCartRequest) GetState() string
func (*UpdateAddressInShoppingCartRequest) GetTax ¶
func (m *UpdateAddressInShoppingCartRequest) GetTax() float32
func (*UpdateAddressInShoppingCartRequest) GetZip ¶
func (m *UpdateAddressInShoppingCartRequest) GetZip() string
func (*UpdateAddressInShoppingCartRequest) Marshal ¶
func (m *UpdateAddressInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*UpdateAddressInShoppingCartRequest) MarshalTo ¶
func (m *UpdateAddressInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateAddressInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *UpdateAddressInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateAddressInShoppingCartRequest) ProtoMessage ¶
func (*UpdateAddressInShoppingCartRequest) ProtoMessage()
func (*UpdateAddressInShoppingCartRequest) Reset ¶
func (m *UpdateAddressInShoppingCartRequest) Reset()
func (*UpdateAddressInShoppingCartRequest) Size ¶
func (m *UpdateAddressInShoppingCartRequest) Size() (n int)
func (*UpdateAddressInShoppingCartRequest) String ¶
func (m *UpdateAddressInShoppingCartRequest) String() string
func (*UpdateAddressInShoppingCartRequest) Unmarshal ¶
func (m *UpdateAddressInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*UpdateAddressInShoppingCartRequest) Validate ¶
func (this *UpdateAddressInShoppingCartRequest) Validate() error
func (*UpdateAddressInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *UpdateAddressInShoppingCartRequest) XXX_DiscardUnknown()
func (*UpdateAddressInShoppingCartRequest) XXX_Marshal ¶
func (m *UpdateAddressInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAddressInShoppingCartRequest) XXX_Merge ¶
func (m *UpdateAddressInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*UpdateAddressInShoppingCartRequest) XXX_MessageName ¶
func (*UpdateAddressInShoppingCartRequest) XXX_MessageName() string
func (*UpdateAddressInShoppingCartRequest) XXX_Size ¶
func (m *UpdateAddressInShoppingCartRequest) XXX_Size() int
func (*UpdateAddressInShoppingCartRequest) XXX_Unmarshal ¶
func (m *UpdateAddressInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type UpdatePointsRedeemInShoppingCartRequest ¶
type UpdatePointsRedeemInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PointsRedeem uint64 `protobuf:"varint,2,opt,name=PointsRedeem,proto3" json:"PointsRedeem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdatePointsRedeemInShoppingCartRequest) Descriptor ¶
func (*UpdatePointsRedeemInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*UpdatePointsRedeemInShoppingCartRequest) GetID ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) GetID() string
func (*UpdatePointsRedeemInShoppingCartRequest) GetPointsRedeem ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) GetPointsRedeem() uint64
func (*UpdatePointsRedeemInShoppingCartRequest) Marshal ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*UpdatePointsRedeemInShoppingCartRequest) MarshalTo ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePointsRedeemInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePointsRedeemInShoppingCartRequest) ProtoMessage ¶
func (*UpdatePointsRedeemInShoppingCartRequest) ProtoMessage()
func (*UpdatePointsRedeemInShoppingCartRequest) Reset ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) Reset()
func (*UpdatePointsRedeemInShoppingCartRequest) Size ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) Size() (n int)
func (*UpdatePointsRedeemInShoppingCartRequest) String ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) String() string
func (*UpdatePointsRedeemInShoppingCartRequest) Unmarshal ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*UpdatePointsRedeemInShoppingCartRequest) Validate ¶
func (this *UpdatePointsRedeemInShoppingCartRequest) Validate() error
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_DiscardUnknown()
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_Marshal ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_Merge ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_MessageName ¶
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_MessageName() string
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_Size ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Size() int
func (*UpdatePointsRedeemInShoppingCartRequest) XXX_Unmarshal ¶
func (m *UpdatePointsRedeemInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type UpdatePromoCodeRequest ¶
type UpdatePromoCodeRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` IsUSD bool `protobuf:"varint,3,opt,name=IsUSD,proto3" json:"IsUSD,omitempty"` IsPercent bool `protobuf:"varint,4,opt,name=IsPercent,proto3" json:"IsPercent,omitempty"` DiscountAmount float32 `protobuf:"fixed32,5,opt,name=DiscountAmount,proto3" json:"DiscountAmount,omitempty"` ActiveFrom *types.Timestamp `protobuf:"bytes,11,opt,name=ActiveFrom,proto3" json:"ActiveFrom,omitempty"` ActiveTo *types.Timestamp `protobuf:"bytes,12,opt,name=ActiveTo,proto3" json:"ActiveTo,omitempty"` BusinessID string `protobuf:"bytes,21,opt,name=BusinessID,proto3" json:"BusinessID,omitempty"` LimitedAmount int64 `protobuf:"varint,22,opt,name=LimitedAmount,proto3" json:"LimitedAmount,omitempty"` IsActive bool `protobuf:"varint,31,opt,name=IsActive,proto3" json:"IsActive,omitempty"` IsNewCustomerOnly bool `protobuf:"varint,32,opt,name=IsNewCustomerOnly,proto3" json:"IsNewCustomerOnly,omitempty"` IsBusinessSpecific bool `protobuf:"varint,33,opt,name=IsBusinessSpecific,proto3" json:"IsBusinessSpecific,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdatePromoCodeRequest) Descriptor ¶
func (*UpdatePromoCodeRequest) Descriptor() ([]byte, []int)
func (*UpdatePromoCodeRequest) GetActiveFrom ¶
func (m *UpdatePromoCodeRequest) GetActiveFrom() *types.Timestamp
func (*UpdatePromoCodeRequest) GetActiveTo ¶
func (m *UpdatePromoCodeRequest) GetActiveTo() *types.Timestamp
func (*UpdatePromoCodeRequest) GetBusinessID ¶
func (m *UpdatePromoCodeRequest) GetBusinessID() string
func (*UpdatePromoCodeRequest) GetCode ¶
func (m *UpdatePromoCodeRequest) GetCode() string
func (*UpdatePromoCodeRequest) GetDiscountAmount ¶
func (m *UpdatePromoCodeRequest) GetDiscountAmount() float32
func (*UpdatePromoCodeRequest) GetID ¶
func (m *UpdatePromoCodeRequest) GetID() string
func (*UpdatePromoCodeRequest) GetIsActive ¶
func (m *UpdatePromoCodeRequest) GetIsActive() bool
func (*UpdatePromoCodeRequest) GetIsBusinessSpecific ¶
func (m *UpdatePromoCodeRequest) GetIsBusinessSpecific() bool
func (*UpdatePromoCodeRequest) GetIsNewCustomerOnly ¶
func (m *UpdatePromoCodeRequest) GetIsNewCustomerOnly() bool
func (*UpdatePromoCodeRequest) GetIsPercent ¶
func (m *UpdatePromoCodeRequest) GetIsPercent() bool
func (*UpdatePromoCodeRequest) GetIsUSD ¶
func (m *UpdatePromoCodeRequest) GetIsUSD() bool
func (*UpdatePromoCodeRequest) GetLimitedAmount ¶
func (m *UpdatePromoCodeRequest) GetLimitedAmount() int64
func (*UpdatePromoCodeRequest) Marshal ¶
func (m *UpdatePromoCodeRequest) Marshal() (dAtA []byte, err error)
func (*UpdatePromoCodeRequest) MarshalTo ¶
func (m *UpdatePromoCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePromoCodeRequest) MarshalToSizedBuffer ¶
func (m *UpdatePromoCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePromoCodeRequest) ProtoMessage ¶
func (*UpdatePromoCodeRequest) ProtoMessage()
func (*UpdatePromoCodeRequest) Reset ¶
func (m *UpdatePromoCodeRequest) Reset()
func (*UpdatePromoCodeRequest) Size ¶
func (m *UpdatePromoCodeRequest) Size() (n int)
func (*UpdatePromoCodeRequest) String ¶
func (m *UpdatePromoCodeRequest) String() string
func (*UpdatePromoCodeRequest) Unmarshal ¶
func (m *UpdatePromoCodeRequest) Unmarshal(dAtA []byte) error
func (*UpdatePromoCodeRequest) Validate ¶
func (this *UpdatePromoCodeRequest) Validate() error
func (*UpdatePromoCodeRequest) XXX_DiscardUnknown ¶
func (m *UpdatePromoCodeRequest) XXX_DiscardUnknown()
func (*UpdatePromoCodeRequest) XXX_Marshal ¶
func (m *UpdatePromoCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePromoCodeRequest) XXX_Merge ¶
func (m *UpdatePromoCodeRequest) XXX_Merge(src proto.Message)
func (*UpdatePromoCodeRequest) XXX_MessageName ¶
func (*UpdatePromoCodeRequest) XXX_MessageName() string
func (*UpdatePromoCodeRequest) XXX_Size ¶
func (m *UpdatePromoCodeRequest) XXX_Size() int
func (*UpdatePromoCodeRequest) XXX_Unmarshal ¶
func (m *UpdatePromoCodeRequest) XXX_Unmarshal(b []byte) error
type UpdateShippingMethodInShoppingCartRequest ¶
type UpdateShippingMethodInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` ShippingMethodID string `protobuf:"bytes,2,opt,name=ShippingMethodID,proto3" json:"ShippingMethodID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateShippingMethodInShoppingCartRequest) Descriptor ¶
func (*UpdateShippingMethodInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*UpdateShippingMethodInShoppingCartRequest) GetID ¶
func (m *UpdateShippingMethodInShoppingCartRequest) GetID() string
func (*UpdateShippingMethodInShoppingCartRequest) GetShippingMethodID ¶
func (m *UpdateShippingMethodInShoppingCartRequest) GetShippingMethodID() string
func (*UpdateShippingMethodInShoppingCartRequest) Marshal ¶
func (m *UpdateShippingMethodInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*UpdateShippingMethodInShoppingCartRequest) MarshalTo ¶
func (m *UpdateShippingMethodInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateShippingMethodInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *UpdateShippingMethodInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateShippingMethodInShoppingCartRequest) ProtoMessage ¶
func (*UpdateShippingMethodInShoppingCartRequest) ProtoMessage()
func (*UpdateShippingMethodInShoppingCartRequest) Reset ¶
func (m *UpdateShippingMethodInShoppingCartRequest) Reset()
func (*UpdateShippingMethodInShoppingCartRequest) Size ¶
func (m *UpdateShippingMethodInShoppingCartRequest) Size() (n int)
func (*UpdateShippingMethodInShoppingCartRequest) String ¶
func (m *UpdateShippingMethodInShoppingCartRequest) String() string
func (*UpdateShippingMethodInShoppingCartRequest) Unmarshal ¶
func (m *UpdateShippingMethodInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*UpdateShippingMethodInShoppingCartRequest) Validate ¶
func (this *UpdateShippingMethodInShoppingCartRequest) Validate() error
func (*UpdateShippingMethodInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *UpdateShippingMethodInShoppingCartRequest) XXX_DiscardUnknown()
func (*UpdateShippingMethodInShoppingCartRequest) XXX_Marshal ¶
func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateShippingMethodInShoppingCartRequest) XXX_Merge ¶
func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*UpdateShippingMethodInShoppingCartRequest) XXX_MessageName ¶
func (*UpdateShippingMethodInShoppingCartRequest) XXX_MessageName() string
func (*UpdateShippingMethodInShoppingCartRequest) XXX_Size ¶
func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Size() int
func (*UpdateShippingMethodInShoppingCartRequest) XXX_Unmarshal ¶
func (m *UpdateShippingMethodInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type ValidatePromoCodesInShoppingCartRequest ¶
type ValidatePromoCodesInShoppingCartRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidatePromoCodesInShoppingCartRequest) Descriptor ¶
func (*ValidatePromoCodesInShoppingCartRequest) Descriptor() ([]byte, []int)
func (*ValidatePromoCodesInShoppingCartRequest) GetID ¶
func (m *ValidatePromoCodesInShoppingCartRequest) GetID() string
func (*ValidatePromoCodesInShoppingCartRequest) Marshal ¶
func (m *ValidatePromoCodesInShoppingCartRequest) Marshal() (dAtA []byte, err error)
func (*ValidatePromoCodesInShoppingCartRequest) MarshalTo ¶
func (m *ValidatePromoCodesInShoppingCartRequest) MarshalTo(dAtA []byte) (int, error)
func (*ValidatePromoCodesInShoppingCartRequest) MarshalToSizedBuffer ¶
func (m *ValidatePromoCodesInShoppingCartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatePromoCodesInShoppingCartRequest) ProtoMessage ¶
func (*ValidatePromoCodesInShoppingCartRequest) ProtoMessage()
func (*ValidatePromoCodesInShoppingCartRequest) Reset ¶
func (m *ValidatePromoCodesInShoppingCartRequest) Reset()
func (*ValidatePromoCodesInShoppingCartRequest) Size ¶
func (m *ValidatePromoCodesInShoppingCartRequest) Size() (n int)
func (*ValidatePromoCodesInShoppingCartRequest) String ¶
func (m *ValidatePromoCodesInShoppingCartRequest) String() string
func (*ValidatePromoCodesInShoppingCartRequest) Unmarshal ¶
func (m *ValidatePromoCodesInShoppingCartRequest) Unmarshal(dAtA []byte) error
func (*ValidatePromoCodesInShoppingCartRequest) Validate ¶
func (this *ValidatePromoCodesInShoppingCartRequest) Validate() error
func (*ValidatePromoCodesInShoppingCartRequest) XXX_DiscardUnknown ¶
func (m *ValidatePromoCodesInShoppingCartRequest) XXX_DiscardUnknown()
func (*ValidatePromoCodesInShoppingCartRequest) XXX_Marshal ¶
func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatePromoCodesInShoppingCartRequest) XXX_Merge ¶
func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Merge(src proto.Message)
func (*ValidatePromoCodesInShoppingCartRequest) XXX_MessageName ¶
func (*ValidatePromoCodesInShoppingCartRequest) XXX_MessageName() string
func (*ValidatePromoCodesInShoppingCartRequest) XXX_Size ¶
func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Size() int
func (*ValidatePromoCodesInShoppingCartRequest) XXX_Unmarshal ¶
func (m *ValidatePromoCodesInShoppingCartRequest) XXX_Unmarshal(b []byte) error
type ValidatePromoCodesInShoppingCartResponse ¶
type ValidatePromoCodesInShoppingCartResponse struct { ShoppingCart *DetailedShoppingCartDTO `protobuf:"bytes,1,opt,name=ShoppingCart,proto3" json:"ShoppingCart,omitempty"` ErrorMessages []string `protobuf:"bytes,2,rep,name=ErrorMessages,proto3" json:"ErrorMessages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidatePromoCodesInShoppingCartResponse) Descriptor ¶
func (*ValidatePromoCodesInShoppingCartResponse) Descriptor() ([]byte, []int)
func (*ValidatePromoCodesInShoppingCartResponse) GetErrorMessages ¶
func (m *ValidatePromoCodesInShoppingCartResponse) GetErrorMessages() []string
func (*ValidatePromoCodesInShoppingCartResponse) GetShoppingCart ¶
func (m *ValidatePromoCodesInShoppingCartResponse) GetShoppingCart() *DetailedShoppingCartDTO
func (*ValidatePromoCodesInShoppingCartResponse) Marshal ¶
func (m *ValidatePromoCodesInShoppingCartResponse) Marshal() (dAtA []byte, err error)
func (*ValidatePromoCodesInShoppingCartResponse) MarshalTo ¶
func (m *ValidatePromoCodesInShoppingCartResponse) MarshalTo(dAtA []byte) (int, error)
func (*ValidatePromoCodesInShoppingCartResponse) MarshalToSizedBuffer ¶
func (m *ValidatePromoCodesInShoppingCartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatePromoCodesInShoppingCartResponse) ProtoMessage ¶
func (*ValidatePromoCodesInShoppingCartResponse) ProtoMessage()
func (*ValidatePromoCodesInShoppingCartResponse) Reset ¶
func (m *ValidatePromoCodesInShoppingCartResponse) Reset()
func (*ValidatePromoCodesInShoppingCartResponse) Size ¶
func (m *ValidatePromoCodesInShoppingCartResponse) Size() (n int)
func (*ValidatePromoCodesInShoppingCartResponse) String ¶
func (m *ValidatePromoCodesInShoppingCartResponse) String() string
func (*ValidatePromoCodesInShoppingCartResponse) Unmarshal ¶
func (m *ValidatePromoCodesInShoppingCartResponse) Unmarshal(dAtA []byte) error
func (*ValidatePromoCodesInShoppingCartResponse) Validate ¶
func (this *ValidatePromoCodesInShoppingCartResponse) Validate() error
func (*ValidatePromoCodesInShoppingCartResponse) XXX_DiscardUnknown ¶
func (m *ValidatePromoCodesInShoppingCartResponse) XXX_DiscardUnknown()
func (*ValidatePromoCodesInShoppingCartResponse) XXX_Marshal ¶
func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatePromoCodesInShoppingCartResponse) XXX_Merge ¶
func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Merge(src proto.Message)
func (*ValidatePromoCodesInShoppingCartResponse) XXX_MessageName ¶
func (*ValidatePromoCodesInShoppingCartResponse) XXX_MessageName() string
func (*ValidatePromoCodesInShoppingCartResponse) XXX_Size ¶
func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Size() int
func (*ValidatePromoCodesInShoppingCartResponse) XXX_Unmarshal ¶
func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Unmarshal(b []byte) error