Documentation ¶
Index ¶
- Variables
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)
- func (this *Plan) Equal(that interface{}) bool
- func (m *Plan) GetAllowOveruse() bool
- func (m *Plan) GetAnnualDiscountPercentage() uint64
- func (m *Plan) GetBlock() uint64
- func (m *Plan) GetDescription() string
- func (m *Plan) GetIndex() string
- func (m *Plan) GetOveruseRate() uint64
- func (m *Plan) GetPlanPolicy() v3.Policy
- func (m *Plan) GetPrice() types.Coin
- func (m *Plan) GetType() string
- func (m *Plan) Marshal() (dAtA []byte, err error)
- func (m *Plan) MarshalTo(dAtA []byte) (int, error)
- func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Plan) ProtoMessage()
- func (m *Plan) Reset()
- func (m *Plan) Size() (n int)
- func (m *Plan) String() string
- func (m *Plan) Unmarshal(dAtA []byte) error
- func (m *Plan) XXX_DiscardUnknown()
- func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Plan) XXX_Merge(src proto.Message)
- func (m *Plan) XXX_Size() int
- func (m *Plan) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Plan ¶
type Plan struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Block uint64 `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"` Price types.Coin `protobuf:"bytes,4,opt,name=price,proto3" json:"price"` AllowOveruse bool `protobuf:"varint,8,opt,name=allow_overuse,json=allowOveruse,proto3" json:"allow_overuse,omitempty"` OveruseRate uint64 `protobuf:"varint,9,opt,name=overuse_rate,json=overuseRate,proto3" json:"overuse_rate,omitempty"` Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` AnnualDiscountPercentage uint64 `` /* 137-byte string literal not displayed */ PlanPolicy v3.Policy `protobuf:"bytes,14,opt,name=plan_policy,json=planPolicy,proto3" json:"plan_policy"` }
func (*Plan) Descriptor ¶
func (*Plan) GetAllowOveruse ¶
func (*Plan) GetAnnualDiscountPercentage ¶
func (*Plan) GetDescription ¶
func (*Plan) GetOveruseRate ¶
func (*Plan) GetPlanPolicy ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) XXX_DiscardUnknown ¶
func (m *Plan) XXX_DiscardUnknown()
func (*Plan) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.