shoppingcart

package
v0.0.0-...-418b934 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package shoppingcart is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthShoppingCart        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowShoppingCart          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupShoppingCart = fmt.Errorf("proto: unexpected end of group")
)

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 (*AddProductInShoppingCartRequest) GetProduct

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 (*AddProductInShoppingCartRequest) Size

func (m *AddProductInShoppingCartRequest) Size() (n int)

func (*AddProductInShoppingCartRequest) 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 (*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 (*AddPromoCodeInShoppingCartRequest) Size

func (m *AddPromoCodeInShoppingCartRequest) Size() (n int)

func (*AddPromoCodeInShoppingCartRequest) 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 (*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) MarshalTo

func (m *AddressDTO) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *BoolResponse) MarshalTo(dAtA []byte) (int, 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 (*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 (*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 (*GetAllPromoCodesByEntityRequest) Size

func (m *GetAllPromoCodesByEntityRequest) Size() (n int)

func (*GetAllPromoCodesByEntityRequest) 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 (*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 (*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 (*RemoveProductInShoppingCartRequest) Size

func (*RemoveProductInShoppingCartRequest) 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 (*RemoveProductInShoppingCartRequest) XXX_MessageName

func (*RemoveProductInShoppingCartRequest) XXX_MessageName() string

func (*RemoveProductInShoppingCartRequest) XXX_Size

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 (*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 (*RemovePromoCodeInShoppingCartRequest) Size

func (*RemovePromoCodeInShoppingCartRequest) String

func (*RemovePromoCodeInShoppingCartRequest) Unmarshal

func (m *RemovePromoCodeInShoppingCartRequest) Unmarshal(dAtA []byte) error

func (*RemovePromoCodeInShoppingCartRequest) Validate

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 (*RemovePromoCodeInShoppingCartRequest) XXX_MessageName

func (*RemovePromoCodeInShoppingCartRequest) XXX_MessageName() string

func (*RemovePromoCodeInShoppingCartRequest) XXX_Size

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 (*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 (*RepeatedDetailedPromotionCodeDTO) Size

func (m *RepeatedDetailedPromotionCodeDTO) Size() (n int)

func (*RepeatedDetailedPromotionCodeDTO) 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 (*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) AddPromoCodeInShoppingCart

func (*UnimplementedShoppingCartServiceServer) CompleteShoppingCart

func (*UnimplementedShoppingCartServiceServer) CreatePromoCode

func (*UnimplementedShoppingCartServiceServer) CreateShoppingCart

func (*UnimplementedShoppingCartServiceServer) DeletePromoCode

func (*UnimplementedShoppingCartServiceServer) DeleteShoppingCart

func (*UnimplementedShoppingCartServiceServer) GetAllPromoCodesByEntity

func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByCode

func (*UnimplementedShoppingCartServiceServer) GetPromoCodeByID

func (*UnimplementedShoppingCartServiceServer) GetShoppingCart

func (*UnimplementedShoppingCartServiceServer) GetShoppingCartByID

func (*UnimplementedShoppingCartServiceServer) MergeShoppingCart

func (*UnimplementedShoppingCartServiceServer) RemoveProductInShoppingCart

func (*UnimplementedShoppingCartServiceServer) RemovePromoCodeInShoppingCart

func (*UnimplementedShoppingCartServiceServer) UpdateBillingAddressInShoppingCart

func (*UnimplementedShoppingCartServiceServer) UpdatePointsRedeemInShoppingCart

func (*UnimplementedShoppingCartServiceServer) UpdatePromoCode

func (*UnimplementedShoppingCartServiceServer) UpdateShippingAddressInShoppingCart

func (*UnimplementedShoppingCartServiceServer) UpdateShippingMethodInShoppingCart

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 (*UpdateAddressInShoppingCartRequest) GetFirstname

func (m *UpdateAddressInShoppingCartRequest) GetFirstname() string

func (*UpdateAddressInShoppingCartRequest) GetID

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 (*UpdateAddressInShoppingCartRequest) GetState

func (*UpdateAddressInShoppingCartRequest) GetTax

func (*UpdateAddressInShoppingCartRequest) GetZip

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 (*UpdateAddressInShoppingCartRequest) Size

func (*UpdateAddressInShoppingCartRequest) 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 (*UpdateAddressInShoppingCartRequest) XXX_MessageName

func (*UpdateAddressInShoppingCartRequest) XXX_MessageName() string

func (*UpdateAddressInShoppingCartRequest) XXX_Size

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 (*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) Reset

func (*UpdatePointsRedeemInShoppingCartRequest) Size

func (*UpdatePointsRedeemInShoppingCartRequest) String

func (*UpdatePointsRedeemInShoppingCartRequest) Unmarshal

func (m *UpdatePointsRedeemInShoppingCartRequest) Unmarshal(dAtA []byte) error

func (*UpdatePointsRedeemInShoppingCartRequest) Validate

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 (*UpdatePointsRedeemInShoppingCartRequest) XXX_MessageName

func (*UpdatePointsRedeemInShoppingCartRequest) XXX_Size

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 (*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) Reset

func (*UpdateShippingMethodInShoppingCartRequest) Size

func (*UpdateShippingMethodInShoppingCartRequest) String

func (*UpdateShippingMethodInShoppingCartRequest) Unmarshal

func (*UpdateShippingMethodInShoppingCartRequest) Validate

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 (*UpdateShippingMethodInShoppingCartRequest) XXX_MessageName

func (*UpdateShippingMethodInShoppingCartRequest) XXX_Size

func (*UpdateShippingMethodInShoppingCartRequest) XXX_Unmarshal

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 (*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) Reset

func (*ValidatePromoCodesInShoppingCartRequest) Size

func (*ValidatePromoCodesInShoppingCartRequest) String

func (*ValidatePromoCodesInShoppingCartRequest) Unmarshal

func (m *ValidatePromoCodesInShoppingCartRequest) Unmarshal(dAtA []byte) error

func (*ValidatePromoCodesInShoppingCartRequest) Validate

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 (*ValidatePromoCodesInShoppingCartRequest) XXX_MessageName

func (*ValidatePromoCodesInShoppingCartRequest) XXX_Size

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 (*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) Reset

func (*ValidatePromoCodesInShoppingCartResponse) Size

func (*ValidatePromoCodesInShoppingCartResponse) String

func (*ValidatePromoCodesInShoppingCartResponse) Unmarshal

func (*ValidatePromoCodesInShoppingCartResponse) Validate

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 (*ValidatePromoCodesInShoppingCartResponse) XXX_MessageName

func (*ValidatePromoCodesInShoppingCartResponse) XXX_Size

func (*ValidatePromoCodesInShoppingCartResponse) XXX_Unmarshal

func (m *ValidatePromoCodesInShoppingCartResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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