address

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: 21 Imported by: 0

Documentation

Overview

Package address is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAddress        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAddress          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAddress = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterAddressServiceHandler

func RegisterAddressServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAddressServiceHandler registers the http handlers for service AddressService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAddressServiceHandlerClient

func RegisterAddressServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AddressServiceClient) error

RegisterAddressServiceHandlerClient registers the http handlers for service AddressService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AddressServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AddressServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AddressServiceClient" to call the correct interceptors.

func RegisterAddressServiceHandlerFromEndpoint

func RegisterAddressServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAddressServiceHandlerFromEndpoint is same as RegisterAddressServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAddressServiceHandlerServer

func RegisterAddressServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AddressServiceServer) error

RegisterAddressServiceHandlerServer registers the http handlers for service AddressService to "mux". UnaryRPC :call AddressServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterAddressServiceServer

func RegisterAddressServiceServer(s *grpc.Server, srv AddressServiceServer)

Types

type AddressDTO

type AddressDTO struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,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"`
	IsDefault            bool     `protobuf:"varint,51,opt,name=IsDefault,proto3" json:"IsDefault,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) GetBusinessName

func (m *AddressDTO) GetBusinessName() string

func (*AddressDTO) GetCity

func (m *AddressDTO) GetCity() string

func (*AddressDTO) GetFirstname

func (m *AddressDTO) GetFirstname() string

func (*AddressDTO) GetID

func (m *AddressDTO) GetID() string

func (*AddressDTO) GetIsBusiness

func (m *AddressDTO) GetIsBusiness() bool

func (*AddressDTO) GetIsDefault

func (m *AddressDTO) GetIsDefault() 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 AddressServiceClient

type AddressServiceClient interface {
	Create(ctx context.Context, in *CreateAddressRequest, opts ...grpc.CallOption) (*AddressDTO, error)
	GetAddressByID(ctx context.Context, in *GetAddressByIDRequest, opts ...grpc.CallOption) (*AddressDTO, error)
	GetAddressesByEntityID(ctx context.Context, in *GetAddressesByEntityIDRequest, opts ...grpc.CallOption) (*RepeatedAddressDTO, error)
	GetDefaultAddressByEntity(ctx context.Context, in *GetDefaultAddressByEntityRequest, opts ...grpc.CallOption) (*AddressDTO, error)
	Update(ctx context.Context, in *UpdateAddressRequest, opts ...grpc.CallOption) (*AddressDTO, error)
	Delete(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*BoolResponse, error)
}

AddressServiceClient is the client API for AddressService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAddressServiceClient

func NewAddressServiceClient(cc *grpc.ClientConn) AddressServiceClient

type AddressServiceServer

AddressServiceServer is the server API for AddressService service.

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 CreateAddressRequest

type CreateAddressRequest struct {
	EntityID             string   `protobuf:"bytes,1,opt,name=EntityID,proto3" json:"EntityID,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 (*CreateAddressRequest) Descriptor

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

func (*CreateAddressRequest) GetAddress1

func (m *CreateAddressRequest) GetAddress1() string

func (*CreateAddressRequest) GetAddress2

func (m *CreateAddressRequest) GetAddress2() string

func (*CreateAddressRequest) GetBusinessName

func (m *CreateAddressRequest) GetBusinessName() string

func (*CreateAddressRequest) GetCity

func (m *CreateAddressRequest) GetCity() string

func (*CreateAddressRequest) GetEntityID

func (m *CreateAddressRequest) GetEntityID() string

func (*CreateAddressRequest) GetFirstname

func (m *CreateAddressRequest) GetFirstname() string

func (*CreateAddressRequest) GetIsBusiness

func (m *CreateAddressRequest) GetIsBusiness() bool

func (*CreateAddressRequest) GetLastname

func (m *CreateAddressRequest) GetLastname() string

func (*CreateAddressRequest) GetPhoneNumber

func (m *CreateAddressRequest) GetPhoneNumber() string

func (*CreateAddressRequest) GetPrefix

func (m *CreateAddressRequest) GetPrefix() string

func (*CreateAddressRequest) GetState

func (m *CreateAddressRequest) GetState() string

func (*CreateAddressRequest) GetTax

func (m *CreateAddressRequest) GetTax() float32

func (*CreateAddressRequest) GetZip

func (m *CreateAddressRequest) GetZip() string

func (*CreateAddressRequest) Marshal

func (m *CreateAddressRequest) Marshal() (dAtA []byte, err error)

func (*CreateAddressRequest) MarshalTo

func (m *CreateAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateAddressRequest) MarshalToSizedBuffer

func (m *CreateAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateAddressRequest) ProtoMessage

func (*CreateAddressRequest) ProtoMessage()

func (*CreateAddressRequest) Reset

func (m *CreateAddressRequest) Reset()

func (*CreateAddressRequest) Size

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

func (*CreateAddressRequest) String

func (m *CreateAddressRequest) String() string

func (*CreateAddressRequest) Unmarshal

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

func (*CreateAddressRequest) Validate

func (this *CreateAddressRequest) Validate() error

func (*CreateAddressRequest) XXX_DiscardUnknown

func (m *CreateAddressRequest) XXX_DiscardUnknown()

func (*CreateAddressRequest) XXX_Marshal

func (m *CreateAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAddressRequest) XXX_Merge

func (m *CreateAddressRequest) XXX_Merge(src proto.Message)

func (*CreateAddressRequest) XXX_MessageName

func (*CreateAddressRequest) XXX_MessageName() string

func (*CreateAddressRequest) XXX_Size

func (m *CreateAddressRequest) XXX_Size() int

func (*CreateAddressRequest) XXX_Unmarshal

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

type DeleteAddressRequest

type DeleteAddressRequest 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 (*DeleteAddressRequest) Descriptor

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

func (*DeleteAddressRequest) GetID

func (m *DeleteAddressRequest) GetID() string

func (*DeleteAddressRequest) Marshal

func (m *DeleteAddressRequest) Marshal() (dAtA []byte, err error)

func (*DeleteAddressRequest) MarshalTo

func (m *DeleteAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAddressRequest) MarshalToSizedBuffer

func (m *DeleteAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAddressRequest) ProtoMessage

func (*DeleteAddressRequest) ProtoMessage()

func (*DeleteAddressRequest) Reset

func (m *DeleteAddressRequest) Reset()

func (*DeleteAddressRequest) Size

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

func (*DeleteAddressRequest) String

func (m *DeleteAddressRequest) String() string

func (*DeleteAddressRequest) Unmarshal

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

func (*DeleteAddressRequest) Validate

func (this *DeleteAddressRequest) Validate() error

func (*DeleteAddressRequest) XXX_DiscardUnknown

func (m *DeleteAddressRequest) XXX_DiscardUnknown()

func (*DeleteAddressRequest) XXX_Marshal

func (m *DeleteAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAddressRequest) XXX_Merge

func (m *DeleteAddressRequest) XXX_Merge(src proto.Message)

func (*DeleteAddressRequest) XXX_MessageName

func (*DeleteAddressRequest) XXX_MessageName() string

func (*DeleteAddressRequest) XXX_Size

func (m *DeleteAddressRequest) XXX_Size() int

func (*DeleteAddressRequest) XXX_Unmarshal

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

type GetAddressByIDRequest

type GetAddressByIDRequest 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 (*GetAddressByIDRequest) Descriptor

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

func (*GetAddressByIDRequest) GetID

func (m *GetAddressByIDRequest) GetID() string

func (*GetAddressByIDRequest) Marshal

func (m *GetAddressByIDRequest) Marshal() (dAtA []byte, err error)

func (*GetAddressByIDRequest) MarshalTo

func (m *GetAddressByIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAddressByIDRequest) MarshalToSizedBuffer

func (m *GetAddressByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAddressByIDRequest) ProtoMessage

func (*GetAddressByIDRequest) ProtoMessage()

func (*GetAddressByIDRequest) Reset

func (m *GetAddressByIDRequest) Reset()

func (*GetAddressByIDRequest) Size

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

func (*GetAddressByIDRequest) String

func (m *GetAddressByIDRequest) String() string

func (*GetAddressByIDRequest) Unmarshal

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

func (*GetAddressByIDRequest) Validate

func (this *GetAddressByIDRequest) Validate() error

func (*GetAddressByIDRequest) XXX_DiscardUnknown

func (m *GetAddressByIDRequest) XXX_DiscardUnknown()

func (*GetAddressByIDRequest) XXX_Marshal

func (m *GetAddressByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAddressByIDRequest) XXX_Merge

func (m *GetAddressByIDRequest) XXX_Merge(src proto.Message)

func (*GetAddressByIDRequest) XXX_MessageName

func (*GetAddressByIDRequest) XXX_MessageName() string

func (*GetAddressByIDRequest) XXX_Size

func (m *GetAddressByIDRequest) XXX_Size() int

func (*GetAddressByIDRequest) XXX_Unmarshal

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

type GetAddressesByEntityIDRequest

type GetAddressesByEntityIDRequest 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 (*GetAddressesByEntityIDRequest) Descriptor

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

func (*GetAddressesByEntityIDRequest) GetEntityID

func (m *GetAddressesByEntityIDRequest) GetEntityID() string

func (*GetAddressesByEntityIDRequest) Marshal

func (m *GetAddressesByEntityIDRequest) Marshal() (dAtA []byte, err error)

func (*GetAddressesByEntityIDRequest) MarshalTo

func (m *GetAddressesByEntityIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAddressesByEntityIDRequest) MarshalToSizedBuffer

func (m *GetAddressesByEntityIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAddressesByEntityIDRequest) ProtoMessage

func (*GetAddressesByEntityIDRequest) ProtoMessage()

func (*GetAddressesByEntityIDRequest) Reset

func (m *GetAddressesByEntityIDRequest) Reset()

func (*GetAddressesByEntityIDRequest) Size

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

func (*GetAddressesByEntityIDRequest) String

func (*GetAddressesByEntityIDRequest) Unmarshal

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

func (*GetAddressesByEntityIDRequest) Validate

func (this *GetAddressesByEntityIDRequest) Validate() error

func (*GetAddressesByEntityIDRequest) XXX_DiscardUnknown

func (m *GetAddressesByEntityIDRequest) XXX_DiscardUnknown()

func (*GetAddressesByEntityIDRequest) XXX_Marshal

func (m *GetAddressesByEntityIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAddressesByEntityIDRequest) XXX_Merge

func (m *GetAddressesByEntityIDRequest) XXX_Merge(src proto.Message)

func (*GetAddressesByEntityIDRequest) XXX_MessageName

func (*GetAddressesByEntityIDRequest) XXX_MessageName() string

func (*GetAddressesByEntityIDRequest) XXX_Size

func (m *GetAddressesByEntityIDRequest) XXX_Size() int

func (*GetAddressesByEntityIDRequest) XXX_Unmarshal

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

type GetDefaultAddressByEntityRequest

type GetDefaultAddressByEntityRequest 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 (*GetDefaultAddressByEntityRequest) Descriptor

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

func (*GetDefaultAddressByEntityRequest) GetEntityID

func (m *GetDefaultAddressByEntityRequest) GetEntityID() string

func (*GetDefaultAddressByEntityRequest) Marshal

func (m *GetDefaultAddressByEntityRequest) Marshal() (dAtA []byte, err error)

func (*GetDefaultAddressByEntityRequest) MarshalTo

func (m *GetDefaultAddressByEntityRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetDefaultAddressByEntityRequest) MarshalToSizedBuffer

func (m *GetDefaultAddressByEntityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDefaultAddressByEntityRequest) ProtoMessage

func (*GetDefaultAddressByEntityRequest) ProtoMessage()

func (*GetDefaultAddressByEntityRequest) Reset

func (*GetDefaultAddressByEntityRequest) Size

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

func (*GetDefaultAddressByEntityRequest) String

func (*GetDefaultAddressByEntityRequest) Unmarshal

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

func (*GetDefaultAddressByEntityRequest) Validate

func (this *GetDefaultAddressByEntityRequest) Validate() error

func (*GetDefaultAddressByEntityRequest) XXX_DiscardUnknown

func (m *GetDefaultAddressByEntityRequest) XXX_DiscardUnknown()

func (*GetDefaultAddressByEntityRequest) XXX_Marshal

func (m *GetDefaultAddressByEntityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDefaultAddressByEntityRequest) XXX_Merge

func (*GetDefaultAddressByEntityRequest) XXX_MessageName

func (*GetDefaultAddressByEntityRequest) XXX_MessageName() string

func (*GetDefaultAddressByEntityRequest) XXX_Size

func (m *GetDefaultAddressByEntityRequest) XXX_Size() int

func (*GetDefaultAddressByEntityRequest) XXX_Unmarshal

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

type RepeatedAddressDTO

type RepeatedAddressDTO struct {
	Results              []*AddressDTO `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*RepeatedAddressDTO) Descriptor

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

func (*RepeatedAddressDTO) GetResults

func (m *RepeatedAddressDTO) GetResults() []*AddressDTO

func (*RepeatedAddressDTO) Marshal

func (m *RepeatedAddressDTO) Marshal() (dAtA []byte, err error)

func (*RepeatedAddressDTO) MarshalTo

func (m *RepeatedAddressDTO) MarshalTo(dAtA []byte) (int, error)

func (*RepeatedAddressDTO) MarshalToSizedBuffer

func (m *RepeatedAddressDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepeatedAddressDTO) ProtoMessage

func (*RepeatedAddressDTO) ProtoMessage()

func (*RepeatedAddressDTO) Reset

func (m *RepeatedAddressDTO) Reset()

func (*RepeatedAddressDTO) Size

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

func (*RepeatedAddressDTO) String

func (m *RepeatedAddressDTO) String() string

func (*RepeatedAddressDTO) Unmarshal

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

func (*RepeatedAddressDTO) Validate

func (this *RepeatedAddressDTO) Validate() error

func (*RepeatedAddressDTO) XXX_DiscardUnknown

func (m *RepeatedAddressDTO) XXX_DiscardUnknown()

func (*RepeatedAddressDTO) XXX_Marshal

func (m *RepeatedAddressDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepeatedAddressDTO) XXX_Merge

func (m *RepeatedAddressDTO) XXX_Merge(src proto.Message)

func (*RepeatedAddressDTO) XXX_MessageName

func (*RepeatedAddressDTO) XXX_MessageName() string

func (*RepeatedAddressDTO) XXX_Size

func (m *RepeatedAddressDTO) XXX_Size() int

func (*RepeatedAddressDTO) XXX_Unmarshal

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

type UnimplementedAddressServiceServer

type UnimplementedAddressServiceServer struct {
}

UnimplementedAddressServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAddressServiceServer) Create

func (*UnimplementedAddressServiceServer) Delete

func (*UnimplementedAddressServiceServer) GetAddressByID

func (*UnimplementedAddressServiceServer) GetAddressesByEntityID

func (*UnimplementedAddressServiceServer) GetDefaultAddressByEntity

func (*UnimplementedAddressServiceServer) Update

type UpdateAddressRequest

type UpdateAddressRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,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"`
	IsDefault            bool     `protobuf:"varint,51,opt,name=IsDefault,proto3" json:"IsDefault,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateAddressRequest) Descriptor

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

func (*UpdateAddressRequest) GetAddress1

func (m *UpdateAddressRequest) GetAddress1() string

func (*UpdateAddressRequest) GetAddress2

func (m *UpdateAddressRequest) GetAddress2() string

func (*UpdateAddressRequest) GetBusinessName

func (m *UpdateAddressRequest) GetBusinessName() string

func (*UpdateAddressRequest) GetCity

func (m *UpdateAddressRequest) GetCity() string

func (*UpdateAddressRequest) GetFirstname

func (m *UpdateAddressRequest) GetFirstname() string

func (*UpdateAddressRequest) GetID

func (m *UpdateAddressRequest) GetID() string

func (*UpdateAddressRequest) GetIsBusiness

func (m *UpdateAddressRequest) GetIsBusiness() bool

func (*UpdateAddressRequest) GetIsDefault

func (m *UpdateAddressRequest) GetIsDefault() bool

func (*UpdateAddressRequest) GetLastname

func (m *UpdateAddressRequest) GetLastname() string

func (*UpdateAddressRequest) GetPhoneNumber

func (m *UpdateAddressRequest) GetPhoneNumber() string

func (*UpdateAddressRequest) GetPrefix

func (m *UpdateAddressRequest) GetPrefix() string

func (*UpdateAddressRequest) GetState

func (m *UpdateAddressRequest) GetState() string

func (*UpdateAddressRequest) GetTax

func (m *UpdateAddressRequest) GetTax() float32

func (*UpdateAddressRequest) GetZip

func (m *UpdateAddressRequest) GetZip() string

func (*UpdateAddressRequest) Marshal

func (m *UpdateAddressRequest) Marshal() (dAtA []byte, err error)

func (*UpdateAddressRequest) MarshalTo

func (m *UpdateAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateAddressRequest) MarshalToSizedBuffer

func (m *UpdateAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateAddressRequest) ProtoMessage

func (*UpdateAddressRequest) ProtoMessage()

func (*UpdateAddressRequest) Reset

func (m *UpdateAddressRequest) Reset()

func (*UpdateAddressRequest) Size

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

func (*UpdateAddressRequest) String

func (m *UpdateAddressRequest) String() string

func (*UpdateAddressRequest) Unmarshal

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

func (*UpdateAddressRequest) Validate

func (this *UpdateAddressRequest) Validate() error

func (*UpdateAddressRequest) XXX_DiscardUnknown

func (m *UpdateAddressRequest) XXX_DiscardUnknown()

func (*UpdateAddressRequest) XXX_Marshal

func (m *UpdateAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateAddressRequest) XXX_Merge

func (m *UpdateAddressRequest) XXX_Merge(src proto.Message)

func (*UpdateAddressRequest) XXX_MessageName

func (*UpdateAddressRequest) XXX_MessageName() string

func (*UpdateAddressRequest) XXX_Size

func (m *UpdateAddressRequest) XXX_Size() int

func (*UpdateAddressRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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