domainsgrpc

package
Version: v0.0.0-...-0b542b9 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_domains_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DiscountRequest

type DiscountRequest struct {
	ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscountRequest) Descriptor deprecated

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

Deprecated: Use DiscountRequest.ProtoReflect.Descriptor instead.

func (*DiscountRequest) GetProductId

func (x *DiscountRequest) GetProductId() string

func (*DiscountRequest) GetUserId

func (x *DiscountRequest) GetUserId() string

func (*DiscountRequest) ProtoMessage

func (*DiscountRequest) ProtoMessage()

func (*DiscountRequest) ProtoReflect

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

func (*DiscountRequest) Reset

func (x *DiscountRequest) Reset()

func (*DiscountRequest) String

func (x *DiscountRequest) String() string

type DiscountResponse

type DiscountResponse struct {
	ProductId    string  `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	UserId       string  `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Percentage   float32 `protobuf:"fixed32,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
	ValueInCents float32 `protobuf:"fixed32,4,opt,name=value_in_cents,json=valueInCents,proto3" json:"value_in_cents,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscountResponse) Descriptor deprecated

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

Deprecated: Use DiscountResponse.ProtoReflect.Descriptor instead.

func (*DiscountResponse) GetPercentage

func (x *DiscountResponse) GetPercentage() float32

func (*DiscountResponse) GetProductId

func (x *DiscountResponse) GetProductId() string

func (*DiscountResponse) GetUserId

func (x *DiscountResponse) GetUserId() string

func (*DiscountResponse) GetValueInCents

func (x *DiscountResponse) GetValueInCents() float32

func (*DiscountResponse) ProtoMessage

func (*DiscountResponse) ProtoMessage()

func (*DiscountResponse) ProtoReflect

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

func (*DiscountResponse) Reset

func (x *DiscountResponse) Reset()

func (*DiscountResponse) String

func (x *DiscountResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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