Documentation
¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
api.proto contracts.proto countrycodes.proto message.proto moderator.proto orders.proto posts.proto profile.proto
It has these top-level messages:
Coupon OrderRespApi CaseRespApi TransactionRecord PeerAndProfile PeerAndProfileWithID RatingWithID RicardianContract Listing Order OrderConfirmation OrderReject RatingSignature BitcoinSignature OrderFulfillment OrderCompletion Rating Dispute DisputeResolution DisputeAcceptance Outpoint Refund ID Signature SignedListing Message Envelope Chat SignedData CidList Block Error Moderator DisputeUpdate Post SignedPost Profile
Index ¶
- Variables
- type BitcoinSignature
- type Block
- type CaseRespApi
- func (*CaseRespApi) Descriptor() ([]byte, []int)
- func (m *CaseRespApi) GetBuyerContract() *RicardianContract
- func (m *CaseRespApi) GetBuyerContractValidationErrors() []string
- func (m *CaseRespApi) GetBuyerOpened() bool
- func (m *CaseRespApi) GetClaim() string
- func (m *CaseRespApi) GetRead() bool
- func (m *CaseRespApi) GetResolution() *DisputeResolution
- func (m *CaseRespApi) GetState() OrderState
- func (m *CaseRespApi) GetTimestamp() *google_protobuf.Timestamp
- func (m *CaseRespApi) GetUnreadChatMessages() uint64
- func (m *CaseRespApi) GetVendorContract() *RicardianContract
- func (m *CaseRespApi) GetVendorContractValidationErrors() []string
- func (*CaseRespApi) ProtoMessage()
- func (m *CaseRespApi) Reset()
- func (m *CaseRespApi) String() string
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)
- func (m *Chat) GetFlag() Chat_Flag
- func (m *Chat) GetMessage() string
- func (m *Chat) GetMessageId() string
- func (m *Chat) GetSubject() string
- func (m *Chat) GetTimestamp() *google_protobuf.Timestamp
- func (*Chat) ProtoMessage()
- func (m *Chat) Reset()
- func (m *Chat) String() string
- type Chat_Flag
- type CidList
- type CountryCode
- type Coupon
- type Dispute
- func (*Dispute) Descriptor() ([]byte, []int)
- func (m *Dispute) GetClaim() string
- func (m *Dispute) GetOutpoints() []*Outpoint
- func (m *Dispute) GetPayoutAddress() string
- func (m *Dispute) GetSerializedContract() []byte
- func (m *Dispute) GetTimestamp() *google_protobuf.Timestamp
- func (*Dispute) ProtoMessage()
- func (m *Dispute) Reset()
- func (m *Dispute) String() string
- type DisputeAcceptance
- type DisputeResolution
- func (*DisputeResolution) Descriptor() ([]byte, []int)
- func (m *DisputeResolution) GetModeratorRatingSigs() [][]byte
- func (m *DisputeResolution) GetOrderId() string
- func (m *DisputeResolution) GetPayout() *DisputeResolution_Payout
- func (m *DisputeResolution) GetProposedBy() string
- func (m *DisputeResolution) GetResolution() string
- func (m *DisputeResolution) GetTimestamp() *google_protobuf.Timestamp
- func (*DisputeResolution) ProtoMessage()
- func (m *DisputeResolution) Reset()
- func (m *DisputeResolution) String() string
- type DisputeResolution_Payout
- func (*DisputeResolution_Payout) Descriptor() ([]byte, []int)
- func (m *DisputeResolution_Payout) GetBuyerOutput() *DisputeResolution_Payout_Output
- func (m *DisputeResolution_Payout) GetInputs() []*Outpoint
- func (m *DisputeResolution_Payout) GetModeratorOutput() *DisputeResolution_Payout_Output
- func (m *DisputeResolution_Payout) GetSigs() []*BitcoinSignature
- func (m *DisputeResolution_Payout) GetVendorOutput() *DisputeResolution_Payout_Output
- func (*DisputeResolution_Payout) ProtoMessage()
- func (m *DisputeResolution_Payout) Reset()
- func (m *DisputeResolution_Payout) String() string
- type DisputeResolution_Payout_Output
- func (*DisputeResolution_Payout_Output) Descriptor() ([]byte, []int)
- func (m *DisputeResolution_Payout_Output) GetAmount() uint64
- func (m *DisputeResolution_Payout_Output) GetScript() string
- func (*DisputeResolution_Payout_Output) ProtoMessage()
- func (m *DisputeResolution_Payout_Output) Reset()
- func (m *DisputeResolution_Payout_Output) String() string
- type DisputeUpdate
- func (*DisputeUpdate) Descriptor() ([]byte, []int)
- func (m *DisputeUpdate) GetOrderId() string
- func (m *DisputeUpdate) GetOutpoints() []*Outpoint
- func (m *DisputeUpdate) GetPayoutAddress() string
- func (m *DisputeUpdate) GetSerializedContract() []byte
- func (*DisputeUpdate) ProtoMessage()
- func (m *DisputeUpdate) Reset()
- func (m *DisputeUpdate) String() string
- type Envelope
- type Error
- type ID
- type ID_Pubkeys
- type Listing
- func (*Listing) Descriptor() ([]byte, []int)
- func (m *Listing) GetCoupons() []*Listing_Coupon
- func (m *Listing) GetItem() *Listing_Item
- func (m *Listing) GetMetadata() *Listing_Metadata
- func (m *Listing) GetModerators() []string
- func (m *Listing) GetRefundPolicy() string
- func (m *Listing) GetShippingOptions() []*Listing_ShippingOption
- func (m *Listing) GetSlug() string
- func (m *Listing) GetTaxes() []*Listing_Tax
- func (m *Listing) GetTermsAndConditions() string
- func (m *Listing) GetVendorID() *ID
- func (*Listing) ProtoMessage()
- func (m *Listing) Reset()
- func (m *Listing) String() string
- type Listing_Coupon
- func (*Listing_Coupon) Descriptor() ([]byte, []int)
- func (m *Listing_Coupon) GetCode() isListing_Coupon_Code
- func (m *Listing_Coupon) GetDiscount() isListing_Coupon_Discount
- func (m *Listing_Coupon) GetDiscountCode() string
- func (m *Listing_Coupon) GetHash() string
- func (m *Listing_Coupon) GetPercentDiscount() float32
- func (m *Listing_Coupon) GetPriceDiscount() uint64
- func (m *Listing_Coupon) GetTitle() string
- func (*Listing_Coupon) ProtoMessage()
- func (m *Listing_Coupon) Reset()
- func (m *Listing_Coupon) String() string
- func (*Listing_Coupon) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Listing_Coupon_DiscountCode
- type Listing_Coupon_Hash
- type Listing_Coupon_PercentDiscount
- type Listing_Coupon_PriceDiscount
- type Listing_Item
- func (*Listing_Item) Descriptor() ([]byte, []int)
- func (m *Listing_Item) GetCategories() []string
- func (m *Listing_Item) GetCondition() string
- func (m *Listing_Item) GetDescription() string
- func (m *Listing_Item) GetGrams() float32
- func (m *Listing_Item) GetImages() []*Listing_Item_Image
- func (m *Listing_Item) GetNsfw() bool
- func (m *Listing_Item) GetOptions() []*Listing_Item_Option
- func (m *Listing_Item) GetPrice() uint64
- func (m *Listing_Item) GetProcessingTime() string
- func (m *Listing_Item) GetSkus() []*Listing_Item_Sku
- func (m *Listing_Item) GetTags() []string
- func (m *Listing_Item) GetTitle() string
- func (*Listing_Item) ProtoMessage()
- func (m *Listing_Item) Reset()
- func (m *Listing_Item) String() string
- type Listing_Item_Image
- func (*Listing_Item_Image) Descriptor() ([]byte, []int)
- func (m *Listing_Item_Image) GetFilename() string
- func (m *Listing_Item_Image) GetLarge() string
- func (m *Listing_Item_Image) GetMedium() string
- func (m *Listing_Item_Image) GetOriginal() string
- func (m *Listing_Item_Image) GetSmall() string
- func (m *Listing_Item_Image) GetTiny() string
- func (*Listing_Item_Image) ProtoMessage()
- func (m *Listing_Item_Image) Reset()
- func (m *Listing_Item_Image) String() string
- type Listing_Item_Option
- func (*Listing_Item_Option) Descriptor() ([]byte, []int)
- func (m *Listing_Item_Option) GetDescription() string
- func (m *Listing_Item_Option) GetName() string
- func (m *Listing_Item_Option) GetVariants() []*Listing_Item_Option_Variant
- func (*Listing_Item_Option) ProtoMessage()
- func (m *Listing_Item_Option) Reset()
- func (m *Listing_Item_Option) String() string
- type Listing_Item_Option_Variant
- func (*Listing_Item_Option_Variant) Descriptor() ([]byte, []int)
- func (m *Listing_Item_Option_Variant) GetImage() *Listing_Item_Image
- func (m *Listing_Item_Option_Variant) GetName() string
- func (*Listing_Item_Option_Variant) ProtoMessage()
- func (m *Listing_Item_Option_Variant) Reset()
- func (m *Listing_Item_Option_Variant) String() string
- type Listing_Item_Sku
- func (*Listing_Item_Sku) Descriptor() ([]byte, []int)
- func (m *Listing_Item_Sku) GetProductID() string
- func (m *Listing_Item_Sku) GetQuantity() int64
- func (m *Listing_Item_Sku) GetSurcharge() int64
- func (m *Listing_Item_Sku) GetVariantCombo() []uint32
- func (*Listing_Item_Sku) ProtoMessage()
- func (m *Listing_Item_Sku) Reset()
- func (m *Listing_Item_Sku) String() string
- type Listing_Metadata
- func (*Listing_Metadata) Descriptor() ([]byte, []int)
- func (m *Listing_Metadata) GetAcceptedCurrencies() []string
- func (m *Listing_Metadata) GetContractType() Listing_Metadata_ContractType
- func (m *Listing_Metadata) GetEscrowTimeoutHours() uint32
- func (m *Listing_Metadata) GetExpiry() *google_protobuf.Timestamp
- func (m *Listing_Metadata) GetFormat() Listing_Metadata_Format
- func (m *Listing_Metadata) GetLanguage() string
- func (m *Listing_Metadata) GetPricingCurrency() string
- func (m *Listing_Metadata) GetVersion() uint32
- func (*Listing_Metadata) ProtoMessage()
- func (m *Listing_Metadata) Reset()
- func (m *Listing_Metadata) String() string
- type Listing_Metadata_ContractType
- type Listing_Metadata_Format
- type Listing_ShippingOption
- func (*Listing_ShippingOption) Descriptor() ([]byte, []int)
- func (m *Listing_ShippingOption) GetName() string
- func (m *Listing_ShippingOption) GetRegions() []CountryCode
- func (m *Listing_ShippingOption) GetServices() []*Listing_ShippingOption_Service
- func (m *Listing_ShippingOption) GetType() Listing_ShippingOption_ShippingType
- func (*Listing_ShippingOption) ProtoMessage()
- func (m *Listing_ShippingOption) Reset()
- func (m *Listing_ShippingOption) String() string
- type Listing_ShippingOption_Service
- func (*Listing_ShippingOption_Service) Descriptor() ([]byte, []int)
- func (m *Listing_ShippingOption_Service) GetAdditionalItemPrice() uint64
- func (m *Listing_ShippingOption_Service) GetEstimatedDelivery() string
- func (m *Listing_ShippingOption_Service) GetName() string
- func (m *Listing_ShippingOption_Service) GetPrice() uint64
- func (*Listing_ShippingOption_Service) ProtoMessage()
- func (m *Listing_ShippingOption_Service) Reset()
- func (m *Listing_ShippingOption_Service) String() string
- type Listing_ShippingOption_ShippingType
- type Listing_Tax
- func (*Listing_Tax) Descriptor() ([]byte, []int)
- func (m *Listing_Tax) GetPercentage() float32
- func (m *Listing_Tax) GetTaxRegions() []CountryCode
- func (m *Listing_Tax) GetTaxShipping() bool
- func (m *Listing_Tax) GetTaxType() string
- func (*Listing_Tax) ProtoMessage()
- func (m *Listing_Tax) Reset()
- func (m *Listing_Tax) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetIsResponse() bool
- func (m *Message) GetMessageType() Message_MessageType
- func (m *Message) GetPayload() *google_protobuf1.Any
- func (m *Message) GetRequestId() int32
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- type Message_MessageType
- type Moderator
- func (*Moderator) Descriptor() ([]byte, []int)
- func (m *Moderator) GetAcceptedCurrencies() []string
- func (m *Moderator) GetDescription() string
- func (m *Moderator) GetFee() *Moderator_Fee
- func (m *Moderator) GetLanguages() []string
- func (m *Moderator) GetTermsAndConditions() string
- func (*Moderator) ProtoMessage()
- func (m *Moderator) Reset()
- func (m *Moderator) String() string
- type Moderator_Fee
- func (*Moderator_Fee) Descriptor() ([]byte, []int)
- func (m *Moderator_Fee) GetFeeType() Moderator_Fee_FeeType
- func (m *Moderator_Fee) GetFixedFee() *Moderator_Price
- func (m *Moderator_Fee) GetPercentage() float32
- func (*Moderator_Fee) ProtoMessage()
- func (m *Moderator_Fee) Reset()
- func (m *Moderator_Fee) String() string
- type Moderator_Fee_FeeType
- type Moderator_Price
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetAlternateContactInfo() string
- func (m *Order) GetBuyerID() *ID
- func (m *Order) GetItems() []*Order_Item
- func (m *Order) GetPayment() *Order_Payment
- func (m *Order) GetRatingKeys() [][]byte
- func (m *Order) GetRefundAddress() string
- func (m *Order) GetRefundFee() uint64
- func (m *Order) GetShipping() *Order_Shipping
- func (m *Order) GetTimestamp() *google_protobuf.Timestamp
- func (m *Order) GetVersion() uint32
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- type OrderCompletion
- func (*OrderCompletion) Descriptor() ([]byte, []int)
- func (m *OrderCompletion) GetOrderId() string
- func (m *OrderCompletion) GetPayoutSigs() []*BitcoinSignature
- func (m *OrderCompletion) GetRatings() []*Rating
- func (m *OrderCompletion) GetTimestamp() *google_protobuf.Timestamp
- func (*OrderCompletion) ProtoMessage()
- func (m *OrderCompletion) Reset()
- func (m *OrderCompletion) String() string
- type OrderConfirmation
- func (*OrderConfirmation) Descriptor() ([]byte, []int)
- func (m *OrderConfirmation) GetOrderID() string
- func (m *OrderConfirmation) GetPaymentAddress() string
- func (m *OrderConfirmation) GetRatingSignatures() []*RatingSignature
- func (m *OrderConfirmation) GetRequestedAmount() uint64
- func (m *OrderConfirmation) GetTimestamp() *google_protobuf.Timestamp
- func (*OrderConfirmation) ProtoMessage()
- func (m *OrderConfirmation) Reset()
- func (m *OrderConfirmation) String() string
- type OrderFulfillment
- func (*OrderFulfillment) Descriptor() ([]byte, []int)
- func (m *OrderFulfillment) GetDigitalDelivery() []*OrderFulfillment_DigitalDelivery
- func (m *OrderFulfillment) GetNote() string
- func (m *OrderFulfillment) GetOrderId() string
- func (m *OrderFulfillment) GetPayout() *OrderFulfillment_Payout
- func (m *OrderFulfillment) GetPhysicalDelivery() []*OrderFulfillment_PhysicalDelivery
- func (m *OrderFulfillment) GetRatingSignature() *RatingSignature
- func (m *OrderFulfillment) GetSlug() string
- func (m *OrderFulfillment) GetTimestamp() *google_protobuf.Timestamp
- func (*OrderFulfillment) ProtoMessage()
- func (m *OrderFulfillment) Reset()
- func (m *OrderFulfillment) String() string
- type OrderFulfillment_DigitalDelivery
- func (*OrderFulfillment_DigitalDelivery) Descriptor() ([]byte, []int)
- func (m *OrderFulfillment_DigitalDelivery) GetPassword() string
- func (m *OrderFulfillment_DigitalDelivery) GetUrl() string
- func (*OrderFulfillment_DigitalDelivery) ProtoMessage()
- func (m *OrderFulfillment_DigitalDelivery) Reset()
- func (m *OrderFulfillment_DigitalDelivery) String() string
- type OrderFulfillment_Payout
- func (*OrderFulfillment_Payout) Descriptor() ([]byte, []int)
- func (m *OrderFulfillment_Payout) GetPayoutAddress() string
- func (m *OrderFulfillment_Payout) GetPayoutFeePerByte() uint64
- func (m *OrderFulfillment_Payout) GetSigs() []*BitcoinSignature
- func (*OrderFulfillment_Payout) ProtoMessage()
- func (m *OrderFulfillment_Payout) Reset()
- func (m *OrderFulfillment_Payout) String() string
- type OrderFulfillment_PhysicalDelivery
- func (*OrderFulfillment_PhysicalDelivery) Descriptor() ([]byte, []int)
- func (m *OrderFulfillment_PhysicalDelivery) GetShipper() string
- func (m *OrderFulfillment_PhysicalDelivery) GetTrackingNumber() string
- func (*OrderFulfillment_PhysicalDelivery) ProtoMessage()
- func (m *OrderFulfillment_PhysicalDelivery) Reset()
- func (m *OrderFulfillment_PhysicalDelivery) String() string
- type OrderReject
- func (*OrderReject) Descriptor() ([]byte, []int)
- func (m *OrderReject) GetOrderID() string
- func (m *OrderReject) GetSigs() []*BitcoinSignature
- func (m *OrderReject) GetTimestamp() *google_protobuf.Timestamp
- func (*OrderReject) ProtoMessage()
- func (m *OrderReject) Reset()
- func (m *OrderReject) String() string
- type OrderRespApi
- func (*OrderRespApi) Descriptor() ([]byte, []int)
- func (m *OrderRespApi) GetContract() *RicardianContract
- func (m *OrderRespApi) GetFunded() bool
- func (m *OrderRespApi) GetPaymentAddressTransactions() []*TransactionRecord
- func (m *OrderRespApi) GetRead() bool
- func (m *OrderRespApi) GetRefundAddressTransaction() *TransactionRecord
- func (m *OrderRespApi) GetState() OrderState
- func (m *OrderRespApi) GetUnreadChatMessages() uint64
- func (*OrderRespApi) ProtoMessage()
- func (m *OrderRespApi) Reset()
- func (m *OrderRespApi) String() string
- type OrderState
- type Order_Item
- func (*Order_Item) Descriptor() ([]byte, []int)
- func (m *Order_Item) GetCouponCodes() []string
- func (m *Order_Item) GetListingHash() string
- func (m *Order_Item) GetMemo() string
- func (m *Order_Item) GetOptions() []*Order_Item_Option
- func (m *Order_Item) GetQuantity() uint32
- func (m *Order_Item) GetShippingOption() *Order_Item_ShippingOption
- func (*Order_Item) ProtoMessage()
- func (m *Order_Item) Reset()
- func (m *Order_Item) String() string
- type Order_Item_Option
- type Order_Item_ShippingOption
- func (*Order_Item_ShippingOption) Descriptor() ([]byte, []int)
- func (m *Order_Item_ShippingOption) GetName() string
- func (m *Order_Item_ShippingOption) GetService() string
- func (*Order_Item_ShippingOption) ProtoMessage()
- func (m *Order_Item_ShippingOption) Reset()
- func (m *Order_Item_ShippingOption) String() string
- type Order_Payment
- func (*Order_Payment) Descriptor() ([]byte, []int)
- func (m *Order_Payment) GetAddress() string
- func (m *Order_Payment) GetAmount() uint64
- func (m *Order_Payment) GetChaincode() string
- func (m *Order_Payment) GetMethod() Order_Payment_Method
- func (m *Order_Payment) GetModerator() string
- func (m *Order_Payment) GetModeratorKey() []byte
- func (m *Order_Payment) GetRedeemScript() string
- func (*Order_Payment) ProtoMessage()
- func (m *Order_Payment) Reset()
- func (m *Order_Payment) String() string
- type Order_Payment_Method
- type Order_Shipping
- func (*Order_Shipping) Descriptor() ([]byte, []int)
- func (m *Order_Shipping) GetAddress() string
- func (m *Order_Shipping) GetAddressNotes() string
- func (m *Order_Shipping) GetCity() string
- func (m *Order_Shipping) GetCountry() CountryCode
- func (m *Order_Shipping) GetPostalCode() string
- func (m *Order_Shipping) GetShipTo() string
- func (m *Order_Shipping) GetState() string
- func (*Order_Shipping) ProtoMessage()
- func (m *Order_Shipping) Reset()
- func (m *Order_Shipping) String() string
- type Outpoint
- type PeerAndProfile
- type PeerAndProfileWithID
- func (*PeerAndProfileWithID) Descriptor() ([]byte, []int)
- func (m *PeerAndProfileWithID) GetId() string
- func (m *PeerAndProfileWithID) GetPeerId() string
- func (m *PeerAndProfileWithID) GetProfile() *Profile
- func (*PeerAndProfileWithID) ProtoMessage()
- func (m *PeerAndProfileWithID) Reset()
- func (m *PeerAndProfileWithID) String() string
- type Post
- func (*Post) Descriptor() ([]byte, []int)
- func (m *Post) GetImages() []*Post_Image
- func (m *Post) GetLongForm() string
- func (m *Post) GetSlug() string
- func (m *Post) GetTags() []string
- func (m *Post) GetTimestamp() *google_protobuf.Timestamp
- func (m *Post) GetTitle() string
- func (m *Post) GetVendorID() *ID
- func (*Post) ProtoMessage()
- func (m *Post) Reset()
- func (m *Post) String() string
- type Post_Image
- func (*Post_Image) Descriptor() ([]byte, []int)
- func (m *Post_Image) GetFilename() string
- func (m *Post_Image) GetLarge() string
- func (m *Post_Image) GetMedium() string
- func (m *Post_Image) GetOriginal() string
- func (m *Post_Image) GetSmall() string
- func (m *Post_Image) GetTiny() string
- func (*Post_Image) ProtoMessage()
- func (m *Post_Image) Reset()
- func (m *Post_Image) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAbout() string
- func (m *Profile) GetAvatarHashes() *Profile_Image
- func (m *Profile) GetBitcoinPubkey() string
- func (m *Profile) GetColors() *Profile_Colors
- func (m *Profile) GetContactInfo() *Profile_Contact
- func (m *Profile) GetCurrencies() []string
- func (m *Profile) GetHandle() string
- func (m *Profile) GetHeaderHashes() *Profile_Image
- func (m *Profile) GetLastModified() *google_protobuf.Timestamp
- func (m *Profile) GetLocation() string
- func (m *Profile) GetModerator() bool
- func (m *Profile) GetModeratorInfo() *Moderator
- func (m *Profile) GetName() string
- func (m *Profile) GetNsfw() bool
- func (m *Profile) GetPeerID() string
- func (m *Profile) GetShortDescription() string
- func (m *Profile) GetStats() *Profile_Stats
- func (m *Profile) GetVendor() bool
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- type Profile_Colors
- func (*Profile_Colors) Descriptor() ([]byte, []int)
- func (m *Profile_Colors) GetHighlight() string
- func (m *Profile_Colors) GetHighlightText() string
- func (m *Profile_Colors) GetPrimary() string
- func (m *Profile_Colors) GetSecondary() string
- func (m *Profile_Colors) GetText() string
- func (*Profile_Colors) ProtoMessage()
- func (m *Profile_Colors) Reset()
- func (m *Profile_Colors) String() string
- type Profile_Contact
- func (*Profile_Contact) Descriptor() ([]byte, []int)
- func (m *Profile_Contact) GetEmail() string
- func (m *Profile_Contact) GetPhoneNumber() string
- func (m *Profile_Contact) GetSocial() []*Profile_SocialAccount
- func (m *Profile_Contact) GetWebsite() string
- func (*Profile_Contact) ProtoMessage()
- func (m *Profile_Contact) Reset()
- func (m *Profile_Contact) String() string
- type Profile_Image
- func (*Profile_Image) Descriptor() ([]byte, []int)
- func (m *Profile_Image) GetLarge() string
- func (m *Profile_Image) GetMedium() string
- func (m *Profile_Image) GetOriginal() string
- func (m *Profile_Image) GetSmall() string
- func (m *Profile_Image) GetTiny() string
- func (*Profile_Image) ProtoMessage()
- func (m *Profile_Image) Reset()
- func (m *Profile_Image) String() string
- type Profile_SocialAccount
- func (*Profile_SocialAccount) Descriptor() ([]byte, []int)
- func (m *Profile_SocialAccount) GetProof() string
- func (m *Profile_SocialAccount) GetType() string
- func (m *Profile_SocialAccount) GetUsername() string
- func (*Profile_SocialAccount) ProtoMessage()
- func (m *Profile_SocialAccount) Reset()
- func (m *Profile_SocialAccount) String() string
- type Profile_Stats
- func (*Profile_Stats) Descriptor() ([]byte, []int)
- func (m *Profile_Stats) GetAverageRating() float32
- func (m *Profile_Stats) GetFollowerCount() uint32
- func (m *Profile_Stats) GetFollowingCount() uint32
- func (m *Profile_Stats) GetListingCount() uint32
- func (m *Profile_Stats) GetPostCount() uint32
- func (m *Profile_Stats) GetRatingCount() uint32
- func (*Profile_Stats) ProtoMessage()
- func (m *Profile_Stats) Reset()
- func (m *Profile_Stats) String() string
- type Rating
- type RatingSignature
- type RatingSignature_TransactionMetadata
- func (*RatingSignature_TransactionMetadata) Descriptor() ([]byte, []int)
- func (m *RatingSignature_TransactionMetadata) GetListingSlug() string
- func (m *RatingSignature_TransactionMetadata) GetListingTitle() string
- func (m *RatingSignature_TransactionMetadata) GetModeratorKey() []byte
- func (m *RatingSignature_TransactionMetadata) GetRatingKey() []byte
- func (m *RatingSignature_TransactionMetadata) GetThumbnail() *RatingSignature_TransactionMetadata_Image
- func (*RatingSignature_TransactionMetadata) ProtoMessage()
- func (m *RatingSignature_TransactionMetadata) Reset()
- func (m *RatingSignature_TransactionMetadata) String() string
- type RatingSignature_TransactionMetadata_Image
- func (*RatingSignature_TransactionMetadata_Image) Descriptor() ([]byte, []int)
- func (m *RatingSignature_TransactionMetadata_Image) GetLarge() string
- func (m *RatingSignature_TransactionMetadata_Image) GetMedium() string
- func (m *RatingSignature_TransactionMetadata_Image) GetOriginal() string
- func (m *RatingSignature_TransactionMetadata_Image) GetSmall() string
- func (m *RatingSignature_TransactionMetadata_Image) GetTiny() string
- func (*RatingSignature_TransactionMetadata_Image) ProtoMessage()
- func (m *RatingSignature_TransactionMetadata_Image) Reset()
- func (m *RatingSignature_TransactionMetadata_Image) String() string
- type RatingWithID
- type Rating_RatingData
- func (*Rating_RatingData) Descriptor() ([]byte, []int)
- func (m *Rating_RatingData) GetBuyerID() *ID
- func (m *Rating_RatingData) GetBuyerName() string
- func (m *Rating_RatingData) GetBuyerSig() []byte
- func (m *Rating_RatingData) GetCustomerService() uint32
- func (m *Rating_RatingData) GetDeliverySpeed() uint32
- func (m *Rating_RatingData) GetDescription() uint32
- func (m *Rating_RatingData) GetModeratorSig() []byte
- func (m *Rating_RatingData) GetOverall() uint32
- func (m *Rating_RatingData) GetQuality() uint32
- func (m *Rating_RatingData) GetRatingKey() []byte
- func (m *Rating_RatingData) GetReview() string
- func (m *Rating_RatingData) GetTimestamp() *google_protobuf.Timestamp
- func (m *Rating_RatingData) GetVendorID() *ID
- func (m *Rating_RatingData) GetVendorSig() *RatingSignature
- func (*Rating_RatingData) ProtoMessage()
- func (m *Rating_RatingData) Reset()
- func (m *Rating_RatingData) String() string
- type Refund
- func (*Refund) Descriptor() ([]byte, []int)
- func (m *Refund) GetMemo() string
- func (m *Refund) GetOrderID() string
- func (m *Refund) GetRefundTransaction() *Refund_TransactionInfo
- func (m *Refund) GetSigs() []*BitcoinSignature
- func (m *Refund) GetTimestamp() *google_protobuf.Timestamp
- func (*Refund) ProtoMessage()
- func (m *Refund) Reset()
- func (m *Refund) String() string
- type Refund_TransactionInfo
- type RicardianContract
- func (*RicardianContract) Descriptor() ([]byte, []int)
- func (m *RicardianContract) GetBuyerOrder() *Order
- func (m *RicardianContract) GetBuyerOrderCompletion() *OrderCompletion
- func (m *RicardianContract) GetDispute() *Dispute
- func (m *RicardianContract) GetDisputeAcceptance() *DisputeAcceptance
- func (m *RicardianContract) GetDisputeResolution() *DisputeResolution
- func (m *RicardianContract) GetErrors() []string
- func (m *RicardianContract) GetRefund() *Refund
- func (m *RicardianContract) GetSignatures() []*Signature
- func (m *RicardianContract) GetVendorListings() []*Listing
- func (m *RicardianContract) GetVendorOrderConfirmation() *OrderConfirmation
- func (m *RicardianContract) GetVendorOrderFulfillment() []*OrderFulfillment
- func (*RicardianContract) ProtoMessage()
- func (m *RicardianContract) Reset()
- func (m *RicardianContract) String() string
- type Signature
- type Signature_Section
- type SignedData
- type SignedData_Command
- func (*SignedData_Command) Descriptor() ([]byte, []int)
- func (m *SignedData_Command) GetPeerID() string
- func (m *SignedData_Command) GetTimestamp() *google_protobuf.Timestamp
- func (m *SignedData_Command) GetType() Message_MessageType
- func (*SignedData_Command) ProtoMessage()
- func (m *SignedData_Command) Reset()
- func (m *SignedData_Command) String() string
- type SignedListing
- type SignedPost
- type TransactionRecord
- func (*TransactionRecord) Descriptor() ([]byte, []int)
- func (m *TransactionRecord) GetConfirmations() uint32
- func (m *TransactionRecord) GetHeight() uint32
- func (m *TransactionRecord) GetTimestamp() *google_protobuf.Timestamp
- func (m *TransactionRecord) GetTxid() string
- func (m *TransactionRecord) GetValue() int64
- func (*TransactionRecord) ProtoMessage()
- func (m *TransactionRecord) Reset()
- func (m *TransactionRecord) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Chat_Flag_name = map[int32]string{
0: "MESSAGE",
1: "TYPING",
2: "READ",
}
View Source
var Chat_Flag_value = map[string]int32{
"MESSAGE": 0,
"TYPING": 1,
"READ": 2,
}
View Source
var CountryCode_name = map[int32]string{}/* 256 elements not displayed */
View Source
var CountryCode_value = map[string]int32{}/* 256 elements not displayed */
View Source
var Listing_Metadata_ContractType_name = map[int32]string{
0: "PHYSICAL_GOOD",
1: "DIGITAL_GOOD",
2: "SERVICE",
3: "CROWD_FUND",
}
View Source
var Listing_Metadata_ContractType_value = map[string]int32{
"PHYSICAL_GOOD": 0,
"DIGITAL_GOOD": 1,
"SERVICE": 2,
"CROWD_FUND": 3,
}
View Source
var Listing_Metadata_Format_name = map[int32]string{
0: "FIXED_PRICE",
1: "AUCTION",
}
View Source
var Listing_Metadata_Format_value = map[string]int32{
"FIXED_PRICE": 0,
"AUCTION": 1,
}
View Source
var Listing_ShippingOption_ShippingType_name = map[int32]string{
0: "LOCAL_PICKUP",
1: "FIXED_PRICE",
}
View Source
var Listing_ShippingOption_ShippingType_value = map[string]int32{
"LOCAL_PICKUP": 0,
"FIXED_PRICE": 1,
}
View Source
var Message_MessageType_name = map[int32]string{
0: "PING",
1: "CHAT",
2: "FOLLOW",
3: "UNFOLLOW",
4: "ORDER",
5: "ORDER_REJECT",
6: "ORDER_CANCEL",
7: "ORDER_CONFIRMATION",
8: "ORDER_FULFILLMENT",
9: "ORDER_COMPLETION",
10: "DISPUTE_OPEN",
11: "DISPUTE_UPDATE",
12: "DISPUTE_CLOSE",
13: "REFUND",
14: "OFFLINE_ACK",
15: "OFFLINE_RELAY",
16: "MODERATOR_ADD",
17: "MODERATOR_REMOVE",
18: "STORE",
19: "BLOCK",
500: "ERROR",
}
View Source
var Message_MessageType_value = map[string]int32{
"PING": 0,
"CHAT": 1,
"FOLLOW": 2,
"UNFOLLOW": 3,
"ORDER": 4,
"ORDER_REJECT": 5,
"ORDER_CANCEL": 6,
"ORDER_CONFIRMATION": 7,
"ORDER_FULFILLMENT": 8,
"ORDER_COMPLETION": 9,
"DISPUTE_OPEN": 10,
"DISPUTE_UPDATE": 11,
"DISPUTE_CLOSE": 12,
"REFUND": 13,
"OFFLINE_ACK": 14,
"OFFLINE_RELAY": 15,
"MODERATOR_ADD": 16,
"MODERATOR_REMOVE": 17,
"STORE": 18,
"BLOCK": 19,
"ERROR": 500,
}
View Source
var Moderator_Fee_FeeType_name = map[int32]string{
0: "FIXED",
1: "PERCENTAGE",
2: "FIXED_PLUS_PERCENTAGE",
}
View Source
var Moderator_Fee_FeeType_value = map[string]int32{
"FIXED": 0,
"PERCENTAGE": 1,
"FIXED_PLUS_PERCENTAGE": 2,
}
View Source
var OrderState_name = map[int32]string{
0: "PENDING",
1: "AWAITING_PAYMENT",
2: "AWAITING_PICKUP",
3: "AWAITING_FULFILLMENT",
4: "PARTIALLY_FULFILLED",
5: "FULFILLED",
6: "COMPLETED",
7: "CANCELED",
8: "DECLINED",
9: "REFUNDED",
10: "DISPUTED",
11: "DECIDED",
12: "RESOLVED",
13: "PAYMENT_FINALIZED",
14: "PROCESSING_ERROR",
}
View Source
var OrderState_value = map[string]int32{
"PENDING": 0,
"AWAITING_PAYMENT": 1,
"AWAITING_PICKUP": 2,
"AWAITING_FULFILLMENT": 3,
"PARTIALLY_FULFILLED": 4,
"FULFILLED": 5,
"COMPLETED": 6,
"CANCELED": 7,
"DECLINED": 8,
"REFUNDED": 9,
"DISPUTED": 10,
"DECIDED": 11,
"RESOLVED": 12,
"PAYMENT_FINALIZED": 13,
"PROCESSING_ERROR": 14,
}
View Source
var Order_Payment_Method_name = map[int32]string{
0: "ADDRESS_REQUEST",
1: "DIRECT",
2: "MODERATED",
}
View Source
var Order_Payment_Method_value = map[string]int32{
"ADDRESS_REQUEST": 0,
"DIRECT": 1,
"MODERATED": 2,
}
View Source
var Signature_Section_name = map[int32]string{
0: "LISTING",
1: "ORDER",
2: "ORDER_CONFIRMATION",
3: "ORDER_FULFILLMENT",
4: "ORDER_COMPLETION",
5: "DISPUTE",
6: "DISPUTE_RESOLUTION",
7: "REFUND",
}
View Source
var Signature_Section_value = map[string]int32{
"LISTING": 0,
"ORDER": 1,
"ORDER_CONFIRMATION": 2,
"ORDER_FULFILLMENT": 3,
"ORDER_COMPLETION": 4,
"DISPUTE": 5,
"DISPUTE_RESOLUTION": 6,
"REFUND": 7,
}
Functions ¶
This section is empty.
Types ¶
type BitcoinSignature ¶ added in v0.2.1
type BitcoinSignature struct {
InputIndex uint32 `protobuf:"varint,1,opt,name=inputIndex" json:"inputIndex,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*BitcoinSignature) Descriptor ¶ added in v0.2.1
func (*BitcoinSignature) Descriptor() ([]byte, []int)
func (*BitcoinSignature) GetInputIndex ¶ added in v0.5.1
func (m *BitcoinSignature) GetInputIndex() uint32
func (*BitcoinSignature) GetSignature ¶ added in v0.5.1
func (m *BitcoinSignature) GetSignature() []byte
func (*BitcoinSignature) ProtoMessage ¶ added in v0.2.1
func (*BitcoinSignature) ProtoMessage()
type Block ¶ added in v0.9.3
type Block struct {
RawData []byte `protobuf:"bytes,1,opt,name=rawData,proto3" json:"rawData,omitempty"`
Cid string `protobuf:"bytes,2,opt,name=cid" json:"cid,omitempty"`
}
func (*Block) Descriptor ¶ added in v0.9.3
func (*Block) Descriptor() ([]byte, []int)
func (*Block) GetRawData ¶ added in v0.9.3
func (m *Block) GetRawData() []byte
func (*Block) ProtoMessage ¶ added in v0.9.3
func (*Block) ProtoMessage()
type CaseRespApi ¶ added in v0.3.0
type CaseRespApi struct {
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
BuyerContract *RicardianContract `protobuf:"bytes,2,opt,name=buyerContract" json:"buyerContract,omitempty"`
VendorContract *RicardianContract `protobuf:"bytes,3,opt,name=vendorContract" json:"vendorContract,omitempty"`
BuyerContractValidationErrors []string `protobuf:"bytes,4,rep,name=buyerContractValidationErrors" json:"buyerContractValidationErrors,omitempty"`
VendorContractValidationErrors []string `protobuf:"bytes,5,rep,name=vendorContractValidationErrors" json:"vendorContractValidationErrors,omitempty"`
State OrderState `protobuf:"varint,6,opt,name=state,enum=OrderState" json:"state,omitempty"`
Read bool `protobuf:"varint,7,opt,name=read" json:"read,omitempty"`
BuyerOpened bool `protobuf:"varint,8,opt,name=buyerOpened" json:"buyerOpened,omitempty"`
Claim string `protobuf:"bytes,9,opt,name=claim" json:"claim,omitempty"`
UnreadChatMessages uint64 `protobuf:"varint,10,opt,name=unreadChatMessages" json:"unreadChatMessages,omitempty"`
Resolution *DisputeResolution `protobuf:"bytes,11,opt,name=resolution" json:"resolution,omitempty"`
}
func (*CaseRespApi) Descriptor ¶ added in v0.3.0
func (*CaseRespApi) Descriptor() ([]byte, []int)
func (*CaseRespApi) GetBuyerContract ¶ added in v0.3.0
func (m *CaseRespApi) GetBuyerContract() *RicardianContract
func (*CaseRespApi) GetBuyerContractValidationErrors ¶ added in v0.5.1
func (m *CaseRespApi) GetBuyerContractValidationErrors() []string
func (*CaseRespApi) GetBuyerOpened ¶ added in v0.5.1
func (m *CaseRespApi) GetBuyerOpened() bool
func (*CaseRespApi) GetResolution ¶ added in v0.3.0
func (m *CaseRespApi) GetResolution() *DisputeResolution
func (*CaseRespApi) GetTimestamp ¶ added in v0.3.0
func (m *CaseRespApi) GetTimestamp() *google_protobuf.Timestamp
func (*CaseRespApi) GetUnreadChatMessages ¶ added in v0.6.1
func (m *CaseRespApi) GetUnreadChatMessages() uint64
func (*CaseRespApi) GetVendorContract ¶ added in v0.3.0
func (m *CaseRespApi) GetVendorContract() *RicardianContract
func (*CaseRespApi) GetVendorContractValidationErrors ¶ added in v0.5.1
func (m *CaseRespApi) GetVendorContractValidationErrors() []string
func (*CaseRespApi) ProtoMessage ¶ added in v0.3.0
func (*CaseRespApi) ProtoMessage()
type Chat ¶ added in v0.3.1
type Chat struct {
MessageId string `protobuf:"bytes,1,opt,name=messageId" json:"messageId,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject" json:"subject,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"`
Flag Chat_Flag `protobuf:"varint,5,opt,name=flag,enum=Chat_Flag" json:"flag,omitempty"`
}
func (*Chat) Descriptor ¶ added in v0.3.1
func (*Chat) Descriptor() ([]byte, []int)
func (*Chat) GetMessage ¶ added in v0.5.1
func (m *Chat) GetMessage() string
func (*Chat) GetMessageId ¶ added in v0.5.1
func (m *Chat) GetMessageId() string
func (*Chat) GetSubject ¶ added in v0.5.1
func (m *Chat) GetSubject() string
func (*Chat) GetTimestamp ¶ added in v0.3.1
func (m *Chat) GetTimestamp() *google_protobuf.Timestamp
func (*Chat) ProtoMessage ¶ added in v0.3.1
func (*Chat) ProtoMessage()
type Chat_Flag ¶ added in v0.3.1
type Chat_Flag int32
const (
Chat_MESSAGE Chat_Flag = 0
Chat_TYPING Chat_Flag = 1
Chat_READ Chat_Flag = 2
)
func (Chat_Flag) EnumDescriptor ¶ added in v0.3.1
func (Chat_Flag) EnumDescriptor() ([]byte, []int)
type CidList ¶ added in v0.9.3
type CidList struct {
Cids []string `protobuf:"bytes,1,rep,name=cids" json:"cids,omitempty"`
}
func (*CidList) Descriptor ¶ added in v0.9.3
func (*CidList) Descriptor() ([]byte, []int)
func (*CidList) ProtoMessage ¶ added in v0.9.3
func (*CidList) ProtoMessage()
type CountryCode ¶
type CountryCode int32
const (
CountryCode_NA CountryCode = 0
CountryCode_AFGHANISTAN CountryCode = 1
CountryCode_ALAND_ISLANDS CountryCode = 2
CountryCode_ALBANIA CountryCode = 3
CountryCode_ALGERIA CountryCode = 4
CountryCode_AMERICAN_SAMOA CountryCode = 5
CountryCode_ANDORRA CountryCode = 6
CountryCode_ANGOLA CountryCode = 7
CountryCode_ANGUILLA CountryCode = 8
CountryCode_ANTIGUA CountryCode = 9
CountryCode_ARGENTINA CountryCode = 10
CountryCode_ARMENIA CountryCode = 11
CountryCode_ARUBA CountryCode = 12
CountryCode_AUSTRALIA CountryCode = 13
CountryCode_AUSTRIA CountryCode = 14
CountryCode_AZERBAIJAN CountryCode = 15
CountryCode_BAHAMAS CountryCode = 16
CountryCode_BAHRAIN CountryCode = 17
CountryCode_BANGLADESH CountryCode = 18
CountryCode_BARBADOS CountryCode = 19
CountryCode_BELARUS CountryCode = 20
CountryCode_BELGIUM CountryCode = 21
CountryCode_BELIZE CountryCode = 22
CountryCode_BENIN CountryCode = 23
CountryCode_BERMUDA CountryCode = 24
CountryCode_BHUTAN CountryCode = 25
CountryCode_BOLIVIA CountryCode = 26
CountryCode_BONAIRE_SINT_EUSTATIUS_SABA CountryCode = 27
CountryCode_BOSNIA CountryCode = 28
CountryCode_BOTSWANA CountryCode = 29
CountryCode_BOUVET_ISLAND CountryCode = 30
CountryCode_BRAZIL CountryCode = 31
CountryCode_BRITISH_INDIAN_OCEAN_TERRITORY CountryCode = 32
CountryCode_BRUNEI_DARUSSALAM CountryCode = 33
CountryCode_BULGARIA CountryCode = 34
CountryCode_BURKINA_FASO CountryCode = 35
CountryCode_BURUNDI CountryCode = 36
CountryCode_CABO_VERDE CountryCode = 37
CountryCode_CAMBODIA CountryCode = 38
CountryCode_CAMEROON CountryCode = 39
CountryCode_CANADA CountryCode = 40
CountryCode_CAYMAN_ISLANDS CountryCode = 41
CountryCode_CENTRAL_AFRICAN_REPUBLIC CountryCode = 42
CountryCode_CHAD CountryCode = 43
CountryCode_CHILE CountryCode = 44
CountryCode_CHINA CountryCode = 45
CountryCode_CHRISTMAS_ISLAND CountryCode = 46
CountryCode_COCOS_ISLANDS CountryCode = 47
CountryCode_COLOMBIA CountryCode = 48
CountryCode_COMOROS CountryCode = 49
CountryCode_CONGO_REPUBLIC CountryCode = 50
CountryCode_CONGO CountryCode = 51
CountryCode_COOK_ISLANDS CountryCode = 52
CountryCode_COSTA_RICA CountryCode = 53
CountryCode_COTE_DIVOIRE CountryCode = 54
CountryCode_CROATIA CountryCode = 55
CountryCode_CUBA CountryCode = 56
CountryCode_CURACAO CountryCode = 57
CountryCode_CYPRUS CountryCode = 58
CountryCode_CZECH_REPUBLIC CountryCode = 59
CountryCode_DENMARK CountryCode = 60
CountryCode_DJIBOUTI CountryCode = 61
CountryCode_DOMINICA CountryCode = 62
CountryCode_DOMINICAN_REPUBLIC CountryCode = 63
CountryCode_ECUADOR CountryCode = 64
CountryCode_EGYPT CountryCode = 65
CountryCode_EL_SALVADOR CountryCode = 66
CountryCode_EQUATORIAL_GUINEA CountryCode = 67
CountryCode_ERITREA CountryCode = 68
CountryCode_ESTONIA CountryCode = 69
CountryCode_ETHIOPIA CountryCode = 70
CountryCode_FALKLAND_ISLANDS CountryCode = 71
CountryCode_FAROE_ISLANDS CountryCode = 72
CountryCode_FIJI CountryCode = 73
CountryCode_FINLAND CountryCode = 74
CountryCode_FRANCE CountryCode = 75
CountryCode_FRENCH_GUIANA CountryCode = 76
CountryCode_FRENCH_POLYNESIA CountryCode = 77
CountryCode_FRENCH_SOUTHERN_TERRITORIES CountryCode = 78
CountryCode_GABON CountryCode = 79
CountryCode_GAMBIA CountryCode = 80
CountryCode_GEORGIA CountryCode = 81
CountryCode_GERMANY CountryCode = 82
CountryCode_GHANA CountryCode = 83
CountryCode_GIBRALTAR CountryCode = 84
CountryCode_GREECE CountryCode = 85
CountryCode_GREENLAND CountryCode = 86
CountryCode_GRENADA CountryCode = 87
CountryCode_GUADELOUPE CountryCode = 88
CountryCode_GUAM CountryCode = 89
CountryCode_GUATEMALA CountryCode = 90
CountryCode_GUERNSEY CountryCode = 91
CountryCode_GUINEA CountryCode = 92
CountryCode_GUINEA_BISSAU CountryCode = 93
CountryCode_GUYANA CountryCode = 94
CountryCode_HAITI CountryCode = 95
CountryCode_HEARD_ISLAND CountryCode = 96
CountryCode_HOLY_SEE CountryCode = 97
CountryCode_HONDURAS CountryCode = 98
CountryCode_HONG_KONG CountryCode = 99
CountryCode_HUNGARY CountryCode = 100
CountryCode_ICELAND CountryCode = 101
CountryCode_INDIA CountryCode = 102
CountryCode_INDONESIA CountryCode = 103
CountryCode_IRAN CountryCode = 104
CountryCode_IRAQ CountryCode = 105
CountryCode_IRELAND CountryCode = 106
CountryCode_ISLE_OF_MAN CountryCode = 107
CountryCode_ISRAEL CountryCode = 108
CountryCode_ITALY CountryCode = 109
CountryCode_JAMAICA CountryCode = 110
CountryCode_JAPAN CountryCode = 111
CountryCode_JERSEY CountryCode = 112
CountryCode_JORDAN CountryCode = 113
CountryCode_KAZAKHSTAN CountryCode = 114
CountryCode_KENYA CountryCode = 115
CountryCode_KIRIBATI CountryCode = 116
CountryCode_NORTH_KOREA CountryCode = 117
CountryCode_SOUTH_KOREA CountryCode = 118
CountryCode_KUWAIT CountryCode = 119
CountryCode_KYRGYZSTAN CountryCode = 120
CountryCode_LAO CountryCode = 121
CountryCode_LATVIA CountryCode = 122
CountryCode_LEBANON CountryCode = 123
CountryCode_LESOTHO CountryCode = 124
CountryCode_LIBERIA CountryCode = 125
CountryCode_LIBYA CountryCode = 126
CountryCode_LIECHTENSTEIN CountryCode = 127
CountryCode_LITHUANIA CountryCode = 128
CountryCode_LUXEMBOURG CountryCode = 129
CountryCode_MACAO CountryCode = 130
CountryCode_MACEDONIA CountryCode = 131
CountryCode_MADAGASCAR CountryCode = 132
CountryCode_MALAWI CountryCode = 133
CountryCode_MALAYSIA CountryCode = 134
CountryCode_MALDIVES CountryCode = 135
CountryCode_MALI CountryCode = 136
CountryCode_MALTA CountryCode = 137
CountryCode_MARSHALL_ISLANDS CountryCode = 138
CountryCode_MARTINIQUE CountryCode = 139
CountryCode_MAURITANIA CountryCode = 140
CountryCode_MAURITIUS CountryCode = 141
CountryCode_MAYOTTE CountryCode = 142
CountryCode_MEXICO CountryCode = 143
CountryCode_MICRONESIA CountryCode = 144
CountryCode_MOLDOVA CountryCode = 145
CountryCode_MONACO CountryCode = 146
CountryCode_MONGOLIA CountryCode = 147
CountryCode_MONTENEGRO CountryCode = 148
CountryCode_MONTSERRAT CountryCode = 149
CountryCode_MOROCCO CountryCode = 150
CountryCode_MOZAMBIQUE CountryCode = 151
CountryCode_MYANMAR CountryCode = 152
CountryCode_NAMIBIA CountryCode = 153
CountryCode_NAURU CountryCode = 154
CountryCode_NEPAL CountryCode = 155
CountryCode_NETHERLANDS CountryCode = 156
CountryCode_NEW_CALEDONIA CountryCode = 157
CountryCode_NEW_ZEALAND CountryCode = 158
CountryCode_NICARAGUA CountryCode = 159
CountryCode_NIGER CountryCode = 160
CountryCode_NIGERIA CountryCode = 161
CountryCode_NIUE CountryCode = 162
CountryCode_NORFOLK_ISLAND CountryCode = 163
CountryCode_NORTHERN_MARIANA_ISLANDS CountryCode = 164
CountryCode_NORWAY CountryCode = 165
CountryCode_OMAN CountryCode = 166
CountryCode_PAKISTAN CountryCode = 167
CountryCode_PALAU CountryCode = 168
CountryCode_PANAMA CountryCode = 169
CountryCode_PAPUA_NEW_GUINEA CountryCode = 170
CountryCode_PARAGUAY CountryCode = 171
CountryCode_PERU CountryCode = 172
CountryCode_PHILIPPINES CountryCode = 173
CountryCode_PITCAIRN CountryCode = 174
CountryCode_POLAND CountryCode = 175
CountryCode_PORTUGAL CountryCode = 176
CountryCode_PUERTO_RICO CountryCode = 177
CountryCode_QATAR CountryCode = 178
CountryCode_REUNION CountryCode = 179
CountryCode_ROMANIA CountryCode = 180
CountryCode_RUSSIA CountryCode = 181
CountryCode_RWANDA CountryCode = 182
CountryCode_SAINT_BARTHELEMY CountryCode = 183
CountryCode_SAINT_HELENA CountryCode = 184
CountryCode_SAINT_KITTS CountryCode = 185
CountryCode_SAINT_LUCIA CountryCode = 186
CountryCode_SAINT_MARTIN CountryCode = 187
CountryCode_SAINT_PIERRE CountryCode = 188
CountryCode_SAINT_VINCENT CountryCode = 189
CountryCode_SAMOA CountryCode = 190
CountryCode_SAN_MARINO CountryCode = 191
CountryCode_SAO_TOME CountryCode = 192
CountryCode_SAUDI_ARABIA CountryCode = 193
CountryCode_SENEGAL CountryCode = 194
CountryCode_SERBIA CountryCode = 195
CountryCode_SEYCHELLES CountryCode = 196
CountryCode_SIERRA_LEONE CountryCode = 197
CountryCode_SINGAPORE CountryCode = 198
CountryCode_SINT_MAARTEN CountryCode = 199
CountryCode_SUCRE CountryCode = 200
CountryCode_SLOVAKIA CountryCode = 201
CountryCode_SLOVENIA CountryCode = 202
CountryCode_SOLOMON_ISLANDS CountryCode = 203
CountryCode_SOMALIA CountryCode = 204
CountryCode_SOUTH_AFRICA CountryCode = 205
CountryCode_SOUTH_SUDAN CountryCode = 206
CountryCode_SPAIN CountryCode = 207
CountryCode_SRI_LANKA CountryCode = 208
CountryCode_SUDAN CountryCode = 209
CountryCode_SURINAME CountryCode = 210
CountryCode_SVALBARD CountryCode = 211
CountryCode_SWAZILAND CountryCode = 212
CountryCode_SWEDEN CountryCode = 213
CountryCode_SWITZERLAND CountryCode = 214
CountryCode_SYRIAN_ARAB_REPUBLIC CountryCode = 215
CountryCode_TAIWAN CountryCode = 216
CountryCode_TAJIKISTAN CountryCode = 217
CountryCode_TANZANIA CountryCode = 218
CountryCode_THAILAND CountryCode = 219
CountryCode_TIMOR_LESTE CountryCode = 220
CountryCode_TOGO CountryCode = 221
CountryCode_TOKELAU CountryCode = 222
CountryCode_TONGA CountryCode = 223
CountryCode_TRINIDAD CountryCode = 224
CountryCode_TUNISIA CountryCode = 225
CountryCode_TURKEY CountryCode = 226
CountryCode_TURKMENISTAN CountryCode = 227
CountryCode_TURKS_AND_CAICOS_ISLANDS CountryCode = 228
CountryCode_TUVALU CountryCode = 229
CountryCode_UGANDA CountryCode = 230
CountryCode_UKRAINE CountryCode = 231
CountryCode_UNITED_ARAB_EMIRATES CountryCode = 232
CountryCode_UNITED_KINGDOM CountryCode = 233
CountryCode_UNITED_STATES CountryCode = 234
CountryCode_URUGUAY CountryCode = 235
CountryCode_UZBEKISTAN CountryCode = 236
CountryCode_VANUATU CountryCode = 237
CountryCode_VENEZUELA CountryCode = 238
CountryCode_VIETNAM CountryCode = 239
CountryCode_VIRGIN_ISLANDS_BRITISH CountryCode = 240
CountryCode_VIRGIN_ISLANDS_US CountryCode = 241
CountryCode_WALLIS_AND_FUTUNA CountryCode = 242
CountryCode_WESTERN_SAHARA CountryCode = 243
CountryCode_YEMEN CountryCode = 244
CountryCode_ZAMBIA CountryCode = 245
CountryCode_ZIMBABWE CountryCode = 246
CountryCode_ALL CountryCode = 500
CountryCode_AFRICA CountryCode = 501
CountryCode_ASIA CountryCode = 502
CountryCode_CENTRAL_AMERICA CountryCode = 503
CountryCode_EUROPE CountryCode = 504
CountryCode_MIDDLE_EAST CountryCode = 505
CountryCode_NORTH_AMERICA CountryCode = 506
CountryCode_SOUTH_AMERICA CountryCode = 507
CountryCode_OCEANIA CountryCode = 508
)
func (CountryCode) EnumDescriptor ¶
func (CountryCode) EnumDescriptor() ([]byte, []int)
type Coupon ¶ added in v0.5.0
type Coupon struct {
Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code" json:"code,omitempty"`
}
func (*Coupon) Descriptor ¶ added in v0.5.0
func (*Coupon) Descriptor() ([]byte, []int)
func (*Coupon) ProtoMessage ¶ added in v0.5.0
func (*Coupon) ProtoMessage()
type Dispute ¶
type Dispute struct {
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
Claim string `protobuf:"bytes,2,opt,name=claim" json:"claim,omitempty"`
PayoutAddress string `protobuf:"bytes,3,opt,name=payoutAddress" json:"payoutAddress,omitempty"`
Outpoints []*Outpoint `protobuf:"bytes,4,rep,name=outpoints" json:"outpoints,omitempty"`
SerializedContract []byte `protobuf:"bytes,5,opt,name=serializedContract,proto3" json:"serializedContract,omitempty"`
}
func (*Dispute) Descriptor ¶
func (*Dispute) Descriptor() ([]byte, []int)
func (*Dispute) GetOutpoints ¶ added in v0.3.0
func (m *Dispute) GetOutpoints() []*Outpoint
func (*Dispute) GetPayoutAddress ¶ added in v0.5.1
func (m *Dispute) GetPayoutAddress() string
func (*Dispute) GetSerializedContract ¶ added in v0.5.1
func (m *Dispute) GetSerializedContract() []byte
func (*Dispute) GetTimestamp ¶ added in v0.3.0
func (m *Dispute) GetTimestamp() *google_protobuf.Timestamp
func (*Dispute) ProtoMessage ¶
func (*Dispute) ProtoMessage()
type DisputeAcceptance ¶ added in v0.6.3
type DisputeAcceptance struct {
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
ClosedBy string `protobuf:"bytes,2,opt,name=closedBy" json:"closedBy,omitempty"`
}
func (*DisputeAcceptance) Descriptor ¶ added in v0.6.3
func (*DisputeAcceptance) Descriptor() ([]byte, []int)
func (*DisputeAcceptance) GetClosedBy ¶ added in v0.6.3
func (m *DisputeAcceptance) GetClosedBy() string
func (*DisputeAcceptance) GetTimestamp ¶ added in v0.6.3
func (m *DisputeAcceptance) GetTimestamp() *google_protobuf.Timestamp
func (*DisputeAcceptance) ProtoMessage ¶ added in v0.6.3
func (*DisputeAcceptance) ProtoMessage()
type DisputeResolution ¶
type DisputeResolution struct {
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
OrderId string `protobuf:"bytes,2,opt,name=orderId" json:"orderId,omitempty"`
ProposedBy string `protobuf:"bytes,3,opt,name=proposedBy" json:"proposedBy,omitempty"`
Resolution string `protobuf:"bytes,4,opt,name=resolution" json:"resolution,omitempty"`
Payout *DisputeResolution_Payout `protobuf:"bytes,5,opt,name=payout" json:"payout,omitempty"`
ModeratorRatingSigs [][]byte `protobuf:"bytes,6,rep,name=moderatorRatingSigs,proto3" json:"moderatorRatingSigs,omitempty"`
}
func (*DisputeResolution) Descriptor ¶
func (*DisputeResolution) Descriptor() ([]byte, []int)
func (*DisputeResolution) GetModeratorRatingSigs ¶ added in v0.5.5
func (m *DisputeResolution) GetModeratorRatingSigs() [][]byte
func (*DisputeResolution) GetOrderId ¶ added in v0.5.1
func (m *DisputeResolution) GetOrderId() string
func (*DisputeResolution) GetPayout ¶ added in v0.3.0
func (m *DisputeResolution) GetPayout() *DisputeResolution_Payout
func (*DisputeResolution) GetProposedBy ¶ added in v0.5.1
func (m *DisputeResolution) GetProposedBy() string
func (*DisputeResolution) GetResolution ¶ added in v0.5.1
func (m *DisputeResolution) GetResolution() string
func (*DisputeResolution) GetTimestamp ¶ added in v0.3.0
func (m *DisputeResolution) GetTimestamp() *google_protobuf.Timestamp
func (*DisputeResolution) ProtoMessage ¶
func (*DisputeResolution) ProtoMessage()
type DisputeResolution_Payout ¶ added in v0.3.0
type DisputeResolution_Payout struct {
Sigs []*BitcoinSignature `protobuf:"bytes,1,rep,name=sigs" json:"sigs,omitempty"`
Inputs []*Outpoint `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty"`
BuyerOutput *DisputeResolution_Payout_Output `protobuf:"bytes,3,opt,name=buyerOutput" json:"buyerOutput,omitempty"`
VendorOutput *DisputeResolution_Payout_Output `protobuf:"bytes,4,opt,name=vendorOutput" json:"vendorOutput,omitempty"`
ModeratorOutput *DisputeResolution_Payout_Output `protobuf:"bytes,5,opt,name=moderatorOutput" json:"moderatorOutput,omitempty"`
}
func (*DisputeResolution_Payout) Descriptor ¶ added in v0.3.0
func (*DisputeResolution_Payout) Descriptor() ([]byte, []int)
func (*DisputeResolution_Payout) GetBuyerOutput ¶ added in v0.3.0
func (m *DisputeResolution_Payout) GetBuyerOutput() *DisputeResolution_Payout_Output
func (*DisputeResolution_Payout) GetInputs ¶ added in v0.3.0
func (m *DisputeResolution_Payout) GetInputs() []*Outpoint
func (*DisputeResolution_Payout) GetModeratorOutput ¶ added in v0.3.0
func (m *DisputeResolution_Payout) GetModeratorOutput() *DisputeResolution_Payout_Output
func (*DisputeResolution_Payout) GetSigs ¶ added in v0.3.0
func (m *DisputeResolution_Payout) GetSigs() []*BitcoinSignature
func (*DisputeResolution_Payout) GetVendorOutput ¶ added in v0.3.0
func (m *DisputeResolution_Payout) GetVendorOutput() *DisputeResolution_Payout_Output
func (*DisputeResolution_Payout) ProtoMessage ¶ added in v0.3.0
func (*DisputeResolution_Payout) ProtoMessage()
type DisputeResolution_Payout_Output ¶ added in v0.3.0
type DisputeResolution_Payout_Output struct {
Script string `protobuf:"bytes,1,opt,name=script" json:"script,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}
func (*DisputeResolution_Payout_Output) Descriptor ¶ added in v0.3.0
func (*DisputeResolution_Payout_Output) Descriptor() ([]byte, []int)
func (*DisputeResolution_Payout_Output) GetAmount ¶ added in v0.5.1
func (m *DisputeResolution_Payout_Output) GetAmount() uint64
func (*DisputeResolution_Payout_Output) GetScript ¶ added in v0.5.1
func (m *DisputeResolution_Payout_Output) GetScript() string
func (*DisputeResolution_Payout_Output) ProtoMessage ¶ added in v0.3.0
func (*DisputeResolution_Payout_Output) ProtoMessage()
type DisputeUpdate ¶ added in v0.3.0
type DisputeUpdate struct {
OrderId string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"`
PayoutAddress string `protobuf:"bytes,2,opt,name=payoutAddress" json:"payoutAddress,omitempty"`
Outpoints []*Outpoint `protobuf:"bytes,3,rep,name=outpoints" json:"outpoints,omitempty"`
SerializedContract []byte `protobuf:"bytes,4,opt,name=serializedContract,proto3" json:"serializedContract,omitempty"`
}
func (*DisputeUpdate) Descriptor ¶ added in v0.3.0
func (*DisputeUpdate) Descriptor() ([]byte, []int)
func (*DisputeUpdate) GetOrderId ¶ added in v0.5.1
func (m *DisputeUpdate) GetOrderId() string
func (*DisputeUpdate) GetOutpoints ¶ added in v0.3.0
func (m *DisputeUpdate) GetOutpoints() []*Outpoint
func (*DisputeUpdate) GetPayoutAddress ¶ added in v0.5.1
func (m *DisputeUpdate) GetPayoutAddress() string
func (*DisputeUpdate) GetSerializedContract ¶ added in v0.5.1
func (m *DisputeUpdate) GetSerializedContract() []byte
func (*DisputeUpdate) ProtoMessage ¶ added in v0.3.0
func (*DisputeUpdate) ProtoMessage()
type Envelope ¶
type Envelope struct {
Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*Envelope) Descriptor ¶
func (*Envelope) Descriptor() ([]byte, []int)
func (*Envelope) GetMessage ¶
func (m *Envelope) GetMessage() *Message
func (*Envelope) GetSignature ¶ added in v0.5.1
func (m *Envelope) GetSignature() []byte
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
type Error ¶ added in v0.11.1
type Error struct {
Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"`
OrderID string `protobuf:"bytes,3,opt,name=orderID" json:"orderID,omitempty"`
}
func (*Error) Descriptor ¶ added in v0.11.1
func (*Error) Descriptor() ([]byte, []int)
func (*Error) GetErrorMessage ¶ added in v0.11.1
func (m *Error) GetErrorMessage() string
func (*Error) GetOrderID ¶ added in v0.11.1
func (m *Error) GetOrderID() string
func (*Error) ProtoMessage ¶ added in v0.11.1
func (*Error) ProtoMessage()
type ID ¶
type ID struct {
PeerID string `protobuf:"bytes,1,opt,name=peerID" json:"peerID,omitempty"`
Handle string `protobuf:"bytes,2,opt,name=handle" json:"handle,omitempty"`
Pubkeys *ID_Pubkeys `protobuf:"bytes,3,opt,name=pubkeys" json:"pubkeys,omitempty"`
BitcoinSig []byte `protobuf:"bytes,4,opt,name=bitcoinSig,proto3" json:"bitcoinSig,omitempty"`
}
func (*ID) Descriptor ¶
func (*ID) Descriptor() ([]byte, []int)
func (*ID) GetBitcoinSig ¶ added in v0.5.1
func (m *ID) GetBitcoinSig() []byte
func (*ID) GetPubkeys ¶
func (m *ID) GetPubkeys() *ID_Pubkeys
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
type ID_Pubkeys ¶
type ID_Pubkeys struct {
Identity []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Bitcoin []byte `protobuf:"bytes,2,opt,name=bitcoin,proto3" json:"bitcoin,omitempty"`
}
func (*ID_Pubkeys) Descriptor ¶
func (*ID_Pubkeys) Descriptor() ([]byte, []int)
func (*ID_Pubkeys) GetBitcoin ¶ added in v0.5.1
func (m *ID_Pubkeys) GetBitcoin() []byte
func (*ID_Pubkeys) GetIdentity ¶ added in v0.5.5
func (m *ID_Pubkeys) GetIdentity() []byte
func (*ID_Pubkeys) ProtoMessage ¶
func (*ID_Pubkeys) ProtoMessage()
type Listing ¶
type Listing struct {
Slug string `protobuf:"bytes,1,opt,name=slug" json:"slug,omitempty"`
VendorID *ID `protobuf:"bytes,2,opt,name=vendorID" json:"vendorID,omitempty"`
Metadata *Listing_Metadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
Item *Listing_Item `protobuf:"bytes,4,opt,name=item" json:"item,omitempty"`
ShippingOptions []*Listing_ShippingOption `protobuf:"bytes,5,rep,name=shippingOptions" json:"shippingOptions,omitempty"`
Taxes []*Listing_Tax `protobuf:"bytes,6,rep,name=taxes" json:"taxes,omitempty"`
Coupons []*Listing_Coupon `protobuf:"bytes,7,rep,name=coupons" json:"coupons,omitempty"`
Moderators []string `protobuf:"bytes,8,rep,name=moderators" json:"moderators,omitempty"`
TermsAndConditions string `protobuf:"bytes,9,opt,name=termsAndConditions" json:"termsAndConditions,omitempty"`
RefundPolicy string `protobuf:"bytes,10,opt,name=refundPolicy" json:"refundPolicy,omitempty"`
}
func (*Listing) Descriptor ¶
func (*Listing) Descriptor() ([]byte, []int)
func (*Listing) GetCoupons ¶
func (m *Listing) GetCoupons() []*Listing_Coupon
func (*Listing) GetMetadata ¶
func (m *Listing) GetMetadata() *Listing_Metadata
func (*Listing) GetModerators ¶ added in v0.5.1
func (m *Listing) GetModerators() []string
func (*Listing) GetRefundPolicy ¶ added in v0.5.1
func (m *Listing) GetRefundPolicy() string
func (*Listing) GetShippingOptions ¶
func (m *Listing) GetShippingOptions() []*Listing_ShippingOption
func (*Listing) GetTermsAndConditions ¶ added in v0.5.1
func (m *Listing) GetTermsAndConditions() string
func (*Listing) GetVendorID ¶
func (m *Listing) GetVendorID() *ID
func (*Listing) ProtoMessage ¶
func (*Listing) ProtoMessage()
type Listing_Coupon ¶
type Listing_Coupon struct {
Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
// Types that are valid to be assigned to Code:
// *Listing_Coupon_Hash
// *Listing_Coupon_DiscountCode
Code isListing_Coupon_Code `protobuf_oneof:"code"`
// Types that are valid to be assigned to Discount:
// *Listing_Coupon_PercentDiscount
// *Listing_Coupon_PriceDiscount
Discount isListing_Coupon_Discount `protobuf_oneof:"discount"`
}
func (*Listing_Coupon) Descriptor ¶
func (*Listing_Coupon) Descriptor() ([]byte, []int)
func (*Listing_Coupon) GetCode ¶ added in v0.5.0
func (m *Listing_Coupon) GetCode() isListing_Coupon_Code
func (*Listing_Coupon) GetDiscount ¶
func (m *Listing_Coupon) GetDiscount() isListing_Coupon_Discount
func (*Listing_Coupon) GetDiscountCode ¶ added in v0.5.0
func (m *Listing_Coupon) GetDiscountCode() string
func (*Listing_Coupon) GetPercentDiscount ¶ added in v0.2.2
func (m *Listing_Coupon) GetPercentDiscount() float32
func (*Listing_Coupon) GetPriceDiscount ¶ added in v0.1.1
func (m *Listing_Coupon) GetPriceDiscount() uint64
func (*Listing_Coupon) ProtoMessage ¶
func (*Listing_Coupon) ProtoMessage()
func (*Listing_Coupon) XXX_OneofFuncs ¶ added in v0.2.2
func (*Listing_Coupon) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type Listing_Coupon_DiscountCode ¶ added in v0.5.0
type Listing_Coupon_DiscountCode struct {
DiscountCode string `protobuf:"bytes,3,opt,name=discountCode,oneof"`
}
type Listing_Coupon_Hash ¶ added in v0.5.0
type Listing_Coupon_Hash struct {
Hash string `protobuf:"bytes,2,opt,name=hash,oneof"`
}
type Listing_Coupon_PercentDiscount ¶ added in v0.2.2
type Listing_Coupon_PercentDiscount struct {
PercentDiscount float32 `protobuf:"fixed32,5,opt,name=percentDiscount,oneof"`
}
type Listing_Coupon_PriceDiscount ¶ added in v0.2.2
type Listing_Coupon_PriceDiscount struct {
PriceDiscount uint64 `protobuf:"varint,6,opt,name=priceDiscount,oneof"`
}
type Listing_Item ¶
type Listing_Item struct {
Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
ProcessingTime string `protobuf:"bytes,3,opt,name=processingTime" json:"processingTime,omitempty"`
Price uint64 `protobuf:"varint,4,opt,name=price" json:"price,omitempty"`
Nsfw bool `protobuf:"varint,5,opt,name=nsfw" json:"nsfw,omitempty"`
Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"`
Images []*Listing_Item_Image `protobuf:"bytes,7,rep,name=images" json:"images,omitempty"`
Categories []string `protobuf:"bytes,8,rep,name=categories" json:"categories,omitempty"`
Grams float32 `protobuf:"fixed32,9,opt,name=grams" json:"grams,omitempty"`
Condition string `protobuf:"bytes,10,opt,name=condition" json:"condition,omitempty"`
Options []*Listing_Item_Option `protobuf:"bytes,11,rep,name=options" json:"options,omitempty"`
Skus []*Listing_Item_Sku `protobuf:"bytes,12,rep,name=skus" json:"skus,omitempty"`
}
func (*Listing_Item) Descriptor ¶
func (*Listing_Item) Descriptor() ([]byte, []int)
func (*Listing_Item) GetCategories ¶ added in v0.5.1
func (m *Listing_Item) GetCategories() []string
func (*Listing_Item) GetCondition ¶ added in v0.5.1
func (m *Listing_Item) GetCondition() string
func (*Listing_Item) GetDescription ¶ added in v0.5.1
func (m *Listing_Item) GetDescription() string
func (*Listing_Item) GetOptions ¶
func (m *Listing_Item) GetOptions() []*Listing_Item_Option
func (*Listing_Item) GetProcessingTime ¶ added in v0.5.1
func (m *Listing_Item) GetProcessingTime() string
func (*Listing_Item) ProtoMessage ¶
func (*Listing_Item) ProtoMessage()
type Listing_Item_Image ¶
type Listing_Item_Image struct {
Filename string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
Original string `protobuf:"bytes,2,opt,name=original" json:"original,omitempty"`
Large string `protobuf:"bytes,3,opt,name=large" json:"large,omitempty"`
Medium string `protobuf:"bytes,4,opt,name=medium" json:"medium,omitempty"`
Small string `protobuf:"bytes,5,opt,name=small" json:"small,omitempty"`
Tiny string `protobuf:"bytes,6,opt,name=tiny" json:"tiny,omitempty"`
}
func (*Listing_Item_Image) Descriptor ¶
func (*Listing_Item_Image) Descriptor() ([]byte, []int)
func (*Listing_Item_Image) GetFilename ¶ added in v0.5.1
func (m *Listing_Item_Image) GetFilename() string
func (*Listing_Item_Image) GetLarge ¶ added in v0.5.1
func (m *Listing_Item_Image) GetLarge() string
func (*Listing_Item_Image) GetMedium ¶ added in v0.5.1
func (m *Listing_Item_Image) GetMedium() string
func (*Listing_Item_Image) GetOriginal ¶ added in v0.5.1
func (m *Listing_Item_Image) GetOriginal() string
func (*Listing_Item_Image) GetSmall ¶ added in v0.5.1
func (m *Listing_Item_Image) GetSmall() string
func (*Listing_Item_Image) ProtoMessage ¶
func (*Listing_Item_Image) ProtoMessage()
type Listing_Item_Option ¶
type Listing_Item_Option struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
Variants []*Listing_Item_Option_Variant `protobuf:"bytes,3,rep,name=variants" json:"variants,omitempty"`
}
func (*Listing_Item_Option) Descriptor ¶
func (*Listing_Item_Option) Descriptor() ([]byte, []int)
func (*Listing_Item_Option) GetDescription ¶ added in v0.5.1
func (m *Listing_Item_Option) GetDescription() string
func (*Listing_Item_Option) GetName ¶ added in v0.5.1
func (m *Listing_Item_Option) GetName() string
func (*Listing_Item_Option) GetVariants ¶
func (m *Listing_Item_Option) GetVariants() []*Listing_Item_Option_Variant
func (*Listing_Item_Option) ProtoMessage ¶
func (*Listing_Item_Option) ProtoMessage()
type Listing_Item_Option_Variant ¶ added in v0.5.5
type Listing_Item_Option_Variant struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Image *Listing_Item_Image `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
}
func (*Listing_Item_Option_Variant) Descriptor ¶ added in v0.5.5
func (*Listing_Item_Option_Variant) Descriptor() ([]byte, []int)
func (*Listing_Item_Option_Variant) GetImage ¶ added in v0.5.5
func (m *Listing_Item_Option_Variant) GetImage() *Listing_Item_Image
func (*Listing_Item_Option_Variant) GetName ¶ added in v0.5.5
func (m *Listing_Item_Option_Variant) GetName() string
func (*Listing_Item_Option_Variant) ProtoMessage ¶ added in v0.5.5
func (*Listing_Item_Option_Variant) ProtoMessage()
type Listing_Item_Sku ¶ added in v0.5.1
type Listing_Item_Sku struct {
VariantCombo []uint32 `protobuf:"varint,1,rep,packed,name=variantCombo" json:"variantCombo,omitempty"`
ProductID string `protobuf:"bytes,2,opt,name=productID" json:"productID,omitempty"`
Surcharge int64 `protobuf:"varint,3,opt,name=surcharge" json:"surcharge,omitempty"`
Quantity int64 `protobuf:"varint,4,opt,name=quantity" json:"quantity,omitempty"`
}
func (*Listing_Item_Sku) Descriptor ¶ added in v0.5.1
func (*Listing_Item_Sku) Descriptor() ([]byte, []int)
func (*Listing_Item_Sku) GetProductID ¶ added in v0.5.1
func (m *Listing_Item_Sku) GetProductID() string
func (*Listing_Item_Sku) GetQuantity ¶ added in v0.5.1
func (m *Listing_Item_Sku) GetQuantity() int64
func (*Listing_Item_Sku) GetSurcharge ¶ added in v0.5.1
func (m *Listing_Item_Sku) GetSurcharge() int64
func (*Listing_Item_Sku) GetVariantCombo ¶ added in v0.5.1
func (m *Listing_Item_Sku) GetVariantCombo() []uint32
func (*Listing_Item_Sku) ProtoMessage ¶ added in v0.5.1
func (*Listing_Item_Sku) ProtoMessage()
type Listing_Metadata ¶
type Listing_Metadata struct {
Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
ContractType Listing_Metadata_ContractType `protobuf:"varint,2,opt,name=contractType,enum=Listing_Metadata_ContractType" json:"contractType,omitempty"`
Format Listing_Metadata_Format `protobuf:"varint,3,opt,name=format,enum=Listing_Metadata_Format" json:"format,omitempty"`
Expiry *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=expiry" json:"expiry,omitempty"`
AcceptedCurrencies []string `protobuf:"bytes,5,rep,name=acceptedCurrencies" json:"acceptedCurrencies,omitempty"`
PricingCurrency string `protobuf:"bytes,6,opt,name=pricingCurrency" json:"pricingCurrency,omitempty"`
Language string `protobuf:"bytes,7,opt,name=language" json:"language,omitempty"`
EscrowTimeoutHours uint32 `protobuf:"varint,8,opt,name=escrowTimeoutHours" json:"escrowTimeoutHours,omitempty"`
}
func (*Listing_Metadata) Descriptor ¶
func (*Listing_Metadata) Descriptor() ([]byte, []int)
func (*Listing_Metadata) GetAcceptedCurrencies ¶ added in v0.7.0
func (m *Listing_Metadata) GetAcceptedCurrencies() []string
func (*Listing_Metadata) GetContractType ¶ added in v0.5.1
func (m *Listing_Metadata) GetContractType() Listing_Metadata_ContractType
func (*Listing_Metadata) GetEscrowTimeoutHours ¶ added in v0.7.0
func (m *Listing_Metadata) GetEscrowTimeoutHours() uint32
func (*Listing_Metadata) GetExpiry ¶ added in v0.1.1
func (m *Listing_Metadata) GetExpiry() *google_protobuf.Timestamp
func (*Listing_Metadata) GetFormat ¶ added in v0.5.1
func (m *Listing_Metadata) GetFormat() Listing_Metadata_Format
func (*Listing_Metadata) GetLanguage ¶ added in v0.5.1
func (m *Listing_Metadata) GetLanguage() string
func (*Listing_Metadata) GetPricingCurrency ¶ added in v0.5.1
func (m *Listing_Metadata) GetPricingCurrency() string
func (*Listing_Metadata) GetVersion ¶ added in v0.5.1
func (m *Listing_Metadata) GetVersion() uint32
func (*Listing_Metadata) ProtoMessage ¶
func (*Listing_Metadata) ProtoMessage()
type Listing_Metadata_ContractType ¶
type Listing_Metadata_ContractType int32
const (
Listing_Metadata_PHYSICAL_GOOD Listing_Metadata_ContractType = 0
Listing_Metadata_DIGITAL_GOOD Listing_Metadata_ContractType = 1
Listing_Metadata_SERVICE Listing_Metadata_ContractType = 2
Listing_Metadata_CROWD_FUND Listing_Metadata_ContractType = 3
)
func (Listing_Metadata_ContractType) EnumDescriptor ¶
func (Listing_Metadata_ContractType) EnumDescriptor() ([]byte, []int)
type Listing_Metadata_Format ¶ added in v0.2.0
type Listing_Metadata_Format int32
const (
Listing_Metadata_FIXED_PRICE Listing_Metadata_Format = 0
Listing_Metadata_AUCTION Listing_Metadata_Format = 1
)
func (Listing_Metadata_Format) EnumDescriptor ¶ added in v0.2.0
func (Listing_Metadata_Format) EnumDescriptor() ([]byte, []int)
type Listing_ShippingOption ¶
type Listing_ShippingOption struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Type Listing_ShippingOption_ShippingType `protobuf:"varint,2,opt,name=type,enum=Listing_ShippingOption_ShippingType" json:"type,omitempty"`
Regions []CountryCode `protobuf:"varint,3,rep,packed,name=regions,enum=CountryCode" json:"regions,omitempty"`
Services []*Listing_ShippingOption_Service `protobuf:"bytes,5,rep,name=services" json:"services,omitempty"`
}
func (*Listing_ShippingOption) Descriptor ¶
func (*Listing_ShippingOption) Descriptor() ([]byte, []int)
func (*Listing_ShippingOption) GetName ¶ added in v0.5.1
func (m *Listing_ShippingOption) GetName() string
func (*Listing_ShippingOption) GetRegions ¶ added in v0.5.1
func (m *Listing_ShippingOption) GetRegions() []CountryCode
func (*Listing_ShippingOption) GetServices ¶ added in v0.1.1
func (m *Listing_ShippingOption) GetServices() []*Listing_ShippingOption_Service
func (*Listing_ShippingOption) GetType ¶ added in v0.5.1
func (m *Listing_ShippingOption) GetType() Listing_ShippingOption_ShippingType
func (*Listing_ShippingOption) ProtoMessage ¶
func (*Listing_ShippingOption) ProtoMessage()
type Listing_ShippingOption_Service ¶ added in v0.1.1
type Listing_ShippingOption_Service struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Price uint64 `protobuf:"varint,2,opt,name=price" json:"price,omitempty"`
EstimatedDelivery string `protobuf:"bytes,3,opt,name=estimatedDelivery" json:"estimatedDelivery,omitempty"`
AdditionalItemPrice uint64 `protobuf:"varint,4,opt,name=additionalItemPrice" json:"additionalItemPrice,omitempty"`
}
func (*Listing_ShippingOption_Service) Descriptor ¶ added in v0.1.1
func (*Listing_ShippingOption_Service) Descriptor() ([]byte, []int)
func (*Listing_ShippingOption_Service) GetAdditionalItemPrice ¶ added in v0.10.0
func (m *Listing_ShippingOption_Service) GetAdditionalItemPrice() uint64
func (*Listing_ShippingOption_Service) GetEstimatedDelivery ¶ added in v0.5.1
func (m *Listing_ShippingOption_Service) GetEstimatedDelivery() string
func (*Listing_ShippingOption_Service) GetName ¶ added in v0.5.1
func (m *Listing_ShippingOption_Service) GetName() string
func (*Listing_ShippingOption_Service) GetPrice ¶ added in v0.1.1
func (m *Listing_ShippingOption_Service) GetPrice() uint64
func (*Listing_ShippingOption_Service) ProtoMessage ¶ added in v0.1.1
func (*Listing_ShippingOption_Service) ProtoMessage()
type Listing_ShippingOption_ShippingType ¶
type Listing_ShippingOption_ShippingType int32
const (
Listing_ShippingOption_LOCAL_PICKUP Listing_ShippingOption_ShippingType = 0
Listing_ShippingOption_FIXED_PRICE Listing_ShippingOption_ShippingType = 1
)
func (Listing_ShippingOption_ShippingType) EnumDescriptor ¶
func (Listing_ShippingOption_ShippingType) EnumDescriptor() ([]byte, []int)
type Listing_Tax ¶
type Listing_Tax struct {
TaxType string `protobuf:"bytes,1,opt,name=taxType" json:"taxType,omitempty"`
TaxRegions []CountryCode `protobuf:"varint,2,rep,packed,name=taxRegions,enum=CountryCode" json:"taxRegions,omitempty"`
TaxShipping bool `protobuf:"varint,3,opt,name=taxShipping" json:"taxShipping,omitempty"`
Percentage float32 `protobuf:"fixed32,4,opt,name=percentage" json:"percentage,omitempty"`
}
func (*Listing_Tax) Descriptor ¶
func (*Listing_Tax) Descriptor() ([]byte, []int)
func (*Listing_Tax) GetPercentage ¶ added in v0.5.1
func (m *Listing_Tax) GetPercentage() float32
func (*Listing_Tax) GetTaxRegions ¶ added in v0.5.1
func (m *Listing_Tax) GetTaxRegions() []CountryCode
func (*Listing_Tax) GetTaxShipping ¶ added in v0.5.1
func (m *Listing_Tax) GetTaxShipping() bool
func (*Listing_Tax) GetTaxType ¶ added in v0.5.1
func (m *Listing_Tax) GetTaxType() string
func (*Listing_Tax) ProtoMessage ¶
func (*Listing_Tax) ProtoMessage()
type Message ¶
type Message struct {
MessageType Message_MessageType `protobuf:"varint,1,opt,name=messageType,enum=Message_MessageType" json:"messageType,omitempty"`
Payload *google_protobuf1.Any `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`
RequestId int32 `protobuf:"varint,3,opt,name=requestId" json:"requestId,omitempty"`
IsResponse bool `protobuf:"varint,4,opt,name=isResponse" json:"isResponse,omitempty"`
}
func (*Message) Descriptor ¶
func (*Message) Descriptor() ([]byte, []int)
func (*Message) GetIsResponse ¶ added in v0.5.3
func (m *Message) GetIsResponse() bool
func (*Message) GetMessageType ¶ added in v0.5.1
func (m *Message) GetMessageType() Message_MessageType
func (*Message) GetPayload ¶
func (m *Message) GetPayload() *google_protobuf1.Any
func (*Message) GetRequestId ¶ added in v0.5.3
func (m *Message) GetRequestId() int32
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_MessageType ¶
type Message_MessageType int32
const (
Message_PING Message_MessageType = 0
Message_CHAT Message_MessageType = 1
Message_FOLLOW Message_MessageType = 2
Message_UNFOLLOW Message_MessageType = 3
Message_ORDER Message_MessageType = 4
Message_ORDER_REJECT Message_MessageType = 5
Message_ORDER_CANCEL Message_MessageType = 6
Message_ORDER_CONFIRMATION Message_MessageType = 7
Message_ORDER_FULFILLMENT Message_MessageType = 8
Message_ORDER_COMPLETION Message_MessageType = 9
Message_DISPUTE_OPEN Message_MessageType = 10
Message_DISPUTE_UPDATE Message_MessageType = 11
Message_DISPUTE_CLOSE Message_MessageType = 12
Message_REFUND Message_MessageType = 13
Message_OFFLINE_ACK Message_MessageType = 14
Message_OFFLINE_RELAY Message_MessageType = 15
Message_MODERATOR_ADD Message_MessageType = 16
Message_MODERATOR_REMOVE Message_MessageType = 17
Message_STORE Message_MessageType = 18
Message_BLOCK Message_MessageType = 19
Message_ERROR Message_MessageType = 500
)
func (Message_MessageType) EnumDescriptor ¶
func (Message_MessageType) EnumDescriptor() ([]byte, []int)
type Moderator ¶ added in v0.1.1
type Moderator struct {
Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
TermsAndConditions string `protobuf:"bytes,2,opt,name=termsAndConditions" json:"termsAndConditions,omitempty"`
Languages []string `protobuf:"bytes,3,rep,name=languages" json:"languages,omitempty"`
AcceptedCurrencies []string `protobuf:"bytes,4,rep,name=acceptedCurrencies" json:"acceptedCurrencies,omitempty"`
Fee *Moderator_Fee `protobuf:"bytes,5,opt,name=fee" json:"fee,omitempty"`
}
func (*Moderator) Descriptor ¶ added in v0.1.1
func (*Moderator) Descriptor() ([]byte, []int)
func (*Moderator) GetAcceptedCurrencies ¶ added in v0.7.0
func (m *Moderator) GetAcceptedCurrencies() []string
func (*Moderator) GetDescription ¶ added in v0.5.1
func (m *Moderator) GetDescription() string
func (*Moderator) GetLanguages ¶ added in v0.5.1
func (m *Moderator) GetLanguages() []string
func (*Moderator) GetTermsAndConditions ¶ added in v0.5.1
func (m *Moderator) GetTermsAndConditions() string
func (*Moderator) ProtoMessage ¶ added in v0.1.1
func (*Moderator) ProtoMessage()
type Moderator_Fee ¶ added in v0.1.1
type Moderator_Fee struct {
FixedFee *Moderator_Price `protobuf:"bytes,1,opt,name=fixedFee" json:"fixedFee,omitempty"`
Percentage float32 `protobuf:"fixed32,2,opt,name=percentage" json:"percentage,omitempty"`
FeeType Moderator_Fee_FeeType `protobuf:"varint,3,opt,name=feeType,enum=Moderator_Fee_FeeType" json:"feeType,omitempty"`
}
func (*Moderator_Fee) Descriptor ¶ added in v0.1.1
func (*Moderator_Fee) Descriptor() ([]byte, []int)
func (*Moderator_Fee) GetFeeType ¶ added in v0.5.1
func (m *Moderator_Fee) GetFeeType() Moderator_Fee_FeeType
func (*Moderator_Fee) GetFixedFee ¶ added in v0.1.1
func (m *Moderator_Fee) GetFixedFee() *Moderator_Price
func (*Moderator_Fee) GetPercentage ¶ added in v0.5.1
func (m *Moderator_Fee) GetPercentage() float32
func (*Moderator_Fee) ProtoMessage ¶ added in v0.1.1
func (*Moderator_Fee) ProtoMessage()
type Moderator_Fee_FeeType ¶ added in v0.1.1
type Moderator_Fee_FeeType int32
const (
Moderator_Fee_FIXED Moderator_Fee_FeeType = 0
Moderator_Fee_PERCENTAGE Moderator_Fee_FeeType = 1
Moderator_Fee_FIXED_PLUS_PERCENTAGE Moderator_Fee_FeeType = 2
)
func (Moderator_Fee_FeeType) EnumDescriptor ¶ added in v0.1.1
func (Moderator_Fee_FeeType) EnumDescriptor() ([]byte, []int)
type Moderator_Price ¶ added in v0.1.1
type Moderator_Price struct {
CurrencyCode string `protobuf:"bytes,1,opt,name=currencyCode" json:"currencyCode,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}
func (*Moderator_Price) Descriptor ¶ added in v0.1.1
func (*Moderator_Price) Descriptor() ([]byte, []int)
func (*Moderator_Price) GetCurrencyCode ¶ added in v0.5.1
func (m *Moderator_Price) GetCurrencyCode() string
func (*Moderator_Price) ProtoMessage ¶ added in v0.1.1
func (*Moderator_Price) ProtoMessage()
type Order ¶
type Order struct {
RefundAddress string `protobuf:"bytes,1,opt,name=refundAddress" json:"refundAddress,omitempty"`
RefundFee uint64 `protobuf:"varint,2,opt,name=refundFee" json:"refundFee,omitempty"`
Shipping *Order_Shipping `protobuf:"bytes,3,opt,name=shipping" json:"shipping,omitempty"`
BuyerID *ID `protobuf:"bytes,4,opt,name=buyerID" json:"buyerID,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=timestamp" json:"timestamp,omitempty"`
Items []*Order_Item `protobuf:"bytes,6,rep,name=items" json:"items,omitempty"`
Payment *Order_Payment `protobuf:"bytes,7,opt,name=payment" json:"payment,omitempty"`
RatingKeys [][]byte `protobuf:"bytes,8,rep,name=ratingKeys,proto3" json:"ratingKeys,omitempty"`
AlternateContactInfo string `protobuf:"bytes,9,opt,name=alternateContactInfo" json:"alternateContactInfo,omitempty"`
Version uint32 `protobuf:"varint,10,opt,name=version" json:"version,omitempty"`
}
func (*Order) Descriptor ¶
func (*Order) Descriptor() ([]byte, []int)
func (*Order) GetAlternateContactInfo ¶ added in v0.5.1
func (m *Order) GetAlternateContactInfo() string
func (*Order) GetBuyerID ¶
func (m *Order) GetBuyerID() *ID
func (*Order) GetPayment ¶
func (m *Order) GetPayment() *Order_Payment
func (*Order) GetRatingKeys ¶ added in v0.5.1
func (m *Order) GetRatingKeys() [][]byte
func (*Order) GetRefundAddress ¶ added in v0.5.1
func (m *Order) GetRefundAddress() string
func (*Order) GetRefundFee ¶ added in v0.5.1
func (m *Order) GetRefundFee() uint64
func (*Order) GetShipping ¶
func (m *Order) GetShipping() *Order_Shipping
func (*Order) GetTimestamp ¶ added in v0.1.1
func (m *Order) GetTimestamp() *google_protobuf.Timestamp
func (*Order) GetVersion ¶ added in v0.10.1
func (m *Order) GetVersion() uint32
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
type OrderCompletion ¶ added in v0.2.2
type OrderCompletion struct {
OrderId string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
PayoutSigs []*BitcoinSignature `protobuf:"bytes,3,rep,name=payoutSigs" json:"payoutSigs,omitempty"`
Ratings []*Rating `protobuf:"bytes,4,rep,name=ratings" json:"ratings,omitempty"`
}
func (*OrderCompletion) Descriptor ¶ added in v0.2.2
func (*OrderCompletion) Descriptor() ([]byte, []int)
func (*OrderCompletion) GetOrderId ¶ added in v0.5.1
func (m *OrderCompletion) GetOrderId() string
func (*OrderCompletion) GetPayoutSigs ¶ added in v0.2.2
func (m *OrderCompletion) GetPayoutSigs() []*BitcoinSignature
func (*OrderCompletion) GetRatings ¶ added in v0.2.2
func (m *OrderCompletion) GetRatings() []*Rating
func (*OrderCompletion) GetTimestamp ¶ added in v0.5.3
func (m *OrderCompletion) GetTimestamp() *google_protobuf.Timestamp
func (*OrderCompletion) ProtoMessage ¶ added in v0.2.2
func (*OrderCompletion) ProtoMessage()
type OrderConfirmation ¶
type OrderConfirmation struct {
OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
// Direct payments only
PaymentAddress string `protobuf:"bytes,3,opt,name=paymentAddress" json:"paymentAddress,omitempty"`
RequestedAmount uint64 `protobuf:"varint,4,opt,name=requestedAmount" json:"requestedAmount,omitempty"`
RatingSignatures []*RatingSignature `protobuf:"bytes,5,rep,name=ratingSignatures" json:"ratingSignatures,omitempty"`
}
func (*OrderConfirmation) Descriptor ¶
func (*OrderConfirmation) Descriptor() ([]byte, []int)
func (*OrderConfirmation) GetOrderID ¶ added in v0.5.1
func (m *OrderConfirmation) GetOrderID() string
func (*OrderConfirmation) GetPaymentAddress ¶ added in v0.5.1
func (m *OrderConfirmation) GetPaymentAddress() string
func (*OrderConfirmation) GetRatingSignatures ¶ added in v0.2.2
func (m *OrderConfirmation) GetRatingSignatures() []*RatingSignature
func (*OrderConfirmation) GetRequestedAmount ¶ added in v0.5.1
func (m *OrderConfirmation) GetRequestedAmount() uint64
func (*OrderConfirmation) GetTimestamp ¶ added in v0.5.3
func (m *OrderConfirmation) GetTimestamp() *google_protobuf.Timestamp
func (*OrderConfirmation) ProtoMessage ¶
func (*OrderConfirmation) ProtoMessage()
type OrderFulfillment ¶ added in v0.1.1
type OrderFulfillment struct {
OrderId string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"`
Slug string `protobuf:"bytes,2,opt,name=slug" json:"slug,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
// Physical goods only
PhysicalDelivery []*OrderFulfillment_PhysicalDelivery `protobuf:"bytes,4,rep,name=physicalDelivery" json:"physicalDelivery,omitempty"`
// Digital goods only
DigitalDelivery []*OrderFulfillment_DigitalDelivery `protobuf:"bytes,5,rep,name=digitalDelivery" json:"digitalDelivery,omitempty"`
// Moderated payments only
Payout *OrderFulfillment_Payout `protobuf:"bytes,6,opt,name=payout" json:"payout,omitempty"`
RatingSignature *RatingSignature `protobuf:"bytes,7,opt,name=ratingSignature" json:"ratingSignature,omitempty"`
Note string `protobuf:"bytes,8,opt,name=note" json:"note,omitempty"`
}
func (*OrderFulfillment) Descriptor ¶ added in v0.1.1
func (*OrderFulfillment) Descriptor() ([]byte, []int)
func (*OrderFulfillment) GetDigitalDelivery ¶ added in v0.2.1
func (m *OrderFulfillment) GetDigitalDelivery() []*OrderFulfillment_DigitalDelivery
func (*OrderFulfillment) GetOrderId ¶ added in v0.5.1
func (m *OrderFulfillment) GetOrderId() string
func (*OrderFulfillment) GetPayout ¶ added in v0.2.1
func (m *OrderFulfillment) GetPayout() *OrderFulfillment_Payout
func (*OrderFulfillment) GetPhysicalDelivery ¶ added in v0.2.1
func (m *OrderFulfillment) GetPhysicalDelivery() []*OrderFulfillment_PhysicalDelivery
func (*OrderFulfillment) GetRatingSignature ¶ added in v0.2.2
func (m *OrderFulfillment) GetRatingSignature() *RatingSignature
func (*OrderFulfillment) GetTimestamp ¶ added in v0.5.3
func (m *OrderFulfillment) GetTimestamp() *google_protobuf.Timestamp
func (*OrderFulfillment) ProtoMessage ¶ added in v0.1.1
func (*OrderFulfillment) ProtoMessage()
type OrderFulfillment_DigitalDelivery ¶ added in v0.2.1
type OrderFulfillment_DigitalDelivery struct {
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
}
func (*OrderFulfillment_DigitalDelivery) Descriptor ¶ added in v0.2.1
func (*OrderFulfillment_DigitalDelivery) Descriptor() ([]byte, []int)
func (*OrderFulfillment_DigitalDelivery) GetPassword ¶ added in v0.5.1
func (m *OrderFulfillment_DigitalDelivery) GetPassword() string
func (*OrderFulfillment_DigitalDelivery) GetUrl ¶ added in v0.5.1
func (m *OrderFulfillment_DigitalDelivery) GetUrl() string
func (*OrderFulfillment_DigitalDelivery) ProtoMessage ¶ added in v0.2.1
func (*OrderFulfillment_DigitalDelivery) ProtoMessage()
type OrderFulfillment_Payout ¶ added in v0.2.1
type OrderFulfillment_Payout struct {
Sigs []*BitcoinSignature `protobuf:"bytes,1,rep,name=sigs" json:"sigs,omitempty"`
PayoutAddress string `protobuf:"bytes,2,opt,name=payoutAddress" json:"payoutAddress,omitempty"`
PayoutFeePerByte uint64 `protobuf:"varint,3,opt,name=payoutFeePerByte" json:"payoutFeePerByte,omitempty"`
}
func (*OrderFulfillment_Payout) Descriptor ¶ added in v0.2.1
func (*OrderFulfillment_Payout) Descriptor() ([]byte, []int)
func (*OrderFulfillment_Payout) GetPayoutAddress ¶ added in v0.5.1
func (m *OrderFulfillment_Payout) GetPayoutAddress() string
func (*OrderFulfillment_Payout) GetPayoutFeePerByte ¶ added in v0.5.1
func (m *OrderFulfillment_Payout) GetPayoutFeePerByte() uint64
func (*OrderFulfillment_Payout) GetSigs ¶ added in v0.2.1
func (m *OrderFulfillment_Payout) GetSigs() []*BitcoinSignature
func (*OrderFulfillment_Payout) ProtoMessage ¶ added in v0.2.1
func (*OrderFulfillment_Payout) ProtoMessage()
type OrderFulfillment_PhysicalDelivery ¶ added in v0.2.1
type OrderFulfillment_PhysicalDelivery struct {
Shipper string `protobuf:"bytes,1,opt,name=shipper" json:"shipper,omitempty"`
TrackingNumber string `protobuf:"bytes,2,opt,name=trackingNumber" json:"trackingNumber,omitempty"`
}
func (*OrderFulfillment_PhysicalDelivery) Descriptor ¶ added in v0.2.1
func (*OrderFulfillment_PhysicalDelivery) Descriptor() ([]byte, []int)
func (*OrderFulfillment_PhysicalDelivery) GetShipper ¶ added in v0.5.1
func (m *OrderFulfillment_PhysicalDelivery) GetShipper() string
func (*OrderFulfillment_PhysicalDelivery) GetTrackingNumber ¶ added in v0.5.1
func (m *OrderFulfillment_PhysicalDelivery) GetTrackingNumber() string
func (*OrderFulfillment_PhysicalDelivery) ProtoMessage ¶ added in v0.2.1
func (*OrderFulfillment_PhysicalDelivery) ProtoMessage()
type OrderReject ¶ added in v0.2.1
type OrderReject struct {
OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
Sigs []*BitcoinSignature `protobuf:"bytes,3,rep,name=sigs" json:"sigs,omitempty"`
}
func (*OrderReject) Descriptor ¶ added in v0.2.1
func (*OrderReject) Descriptor() ([]byte, []int)
func (*OrderReject) GetOrderID ¶ added in v0.5.1
func (m *OrderReject) GetOrderID() string
func (*OrderReject) GetTimestamp ¶ added in v0.5.3
func (m *OrderReject) GetTimestamp() *google_protobuf.Timestamp
func (*OrderReject) ProtoMessage ¶ added in v0.2.1
func (*OrderReject) ProtoMessage()
type OrderRespApi ¶ added in v0.2.1
type OrderRespApi struct {
Contract *RicardianContract `protobuf:"bytes,1,opt,name=contract" json:"contract,omitempty"`
State OrderState `protobuf:"varint,2,opt,name=state,enum=OrderState" json:"state,omitempty"`
Read bool `protobuf:"varint,3,opt,name=read" json:"read,omitempty"`
Funded bool `protobuf:"varint,4,opt,name=funded" json:"funded,omitempty"`
UnreadChatMessages uint64 `protobuf:"varint,5,opt,name=unreadChatMessages" json:"unreadChatMessages,omitempty"`
PaymentAddressTransactions []*TransactionRecord `protobuf:"bytes,6,rep,name=paymentAddressTransactions" json:"paymentAddressTransactions,omitempty"`
RefundAddressTransaction *TransactionRecord `protobuf:"bytes,7,opt,name=refundAddressTransaction" json:"refundAddressTransaction,omitempty"`
}
func (*OrderRespApi) Descriptor ¶ added in v0.2.1
func (*OrderRespApi) Descriptor() ([]byte, []int)
func (*OrderRespApi) GetContract ¶ added in v0.2.1
func (m *OrderRespApi) GetContract() *RicardianContract
func (*OrderRespApi) GetPaymentAddressTransactions ¶ added in v0.6.2
func (m *OrderRespApi) GetPaymentAddressTransactions() []*TransactionRecord
func (*OrderRespApi) GetRefundAddressTransaction ¶ added in v0.6.2
func (m *OrderRespApi) GetRefundAddressTransaction() *TransactionRecord
func (*OrderRespApi) GetUnreadChatMessages ¶ added in v0.6.1
func (m *OrderRespApi) GetUnreadChatMessages() uint64
func (*OrderRespApi) ProtoMessage ¶ added in v0.2.1
func (*OrderRespApi) ProtoMessage()
type OrderState ¶ added in v0.1.2
type OrderState int32
const (
// Order has been funded and sent to the vendor but vendor has not yet responded
OrderState_PENDING OrderState = 0
// Waiting for the buyer to fund the payment address
OrderState_AWAITING_PAYMENT OrderState = 1
// Waiting for the customer to pick up the order (customer pickup option only)
OrderState_AWAITING_PICKUP OrderState = 2
// Order has been fully funded and we're waiting for the vendor to fulfill
OrderState_AWAITING_FULFILLMENT OrderState = 3
// Vendor has fulfilled part of the order
OrderState_PARTIALLY_FULFILLED OrderState = 4
// Vendor has fulfilled the order
OrderState_FULFILLED OrderState = 5
// Buyer has completed the order and left a review
OrderState_COMPLETED OrderState = 6
// Buyer canceled the order (offline order only)
OrderState_CANCELED OrderState = 7
// Vendor declined to confirm the order (offline order only)
OrderState_DECLINED OrderState = 8
// Vendor refunded the order
OrderState_REFUNDED OrderState = 9
// Contract is under active dispute
OrderState_DISPUTED OrderState = 10
// The moderator has resolved the dispute and we are waiting for the winning party to
// accept the payout.
OrderState_DECIDED OrderState = 11
// The winning party has accepted the dispute and it is now complete. After the buyer
// leaves a review the state should be set to COMPLETE.
OrderState_RESOLVED OrderState = 12
// Escrow has been released after waiting the timeout period. After the buyer
// leaves a review the state should be set to COMPLETE.
OrderState_PAYMENT_FINALIZED OrderState = 13
// We screwed up and produced a order which didn't validate. This state is only used for offline orders. If a processing
// error occured with an open connection between buyer and vendor the vendor just rejects the order on the spot neither party
// commits the order to the database.
OrderState_PROCESSING_ERROR OrderState = 14
)
func (OrderState) EnumDescriptor ¶ added in v0.1.2
func (OrderState) EnumDescriptor() ([]byte, []int)
type Order_Item ¶
type Order_Item struct {
ListingHash string `protobuf:"bytes,1,opt,name=listingHash" json:"listingHash,omitempty"`
Quantity uint32 `protobuf:"varint,2,opt,name=quantity" json:"quantity,omitempty"`
Options []*Order_Item_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
ShippingOption *Order_Item_ShippingOption `protobuf:"bytes,4,opt,name=shippingOption" json:"shippingOption,omitempty"`
Memo string `protobuf:"bytes,5,opt,name=memo" json:"memo,omitempty"`
CouponCodes []string `protobuf:"bytes,6,rep,name=couponCodes" json:"couponCodes,omitempty"`
}
func (*Order_Item) Descriptor ¶
func (*Order_Item) Descriptor() ([]byte, []int)
func (*Order_Item) GetCouponCodes ¶ added in v0.5.1
func (m *Order_Item) GetCouponCodes() []string
func (*Order_Item) GetListingHash ¶ added in v0.5.1
func (m *Order_Item) GetListingHash() string
func (*Order_Item) GetOptions ¶
func (m *Order_Item) GetOptions() []*Order_Item_Option
func (*Order_Item) GetQuantity ¶ added in v0.5.1
func (m *Order_Item) GetQuantity() uint32
func (*Order_Item) GetShippingOption ¶
func (m *Order_Item) GetShippingOption() *Order_Item_ShippingOption
func (*Order_Item) ProtoMessage ¶
func (*Order_Item) ProtoMessage()
type Order_Item_Option ¶
type Order_Item_Option struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}
func (*Order_Item_Option) Descriptor ¶
func (*Order_Item_Option) Descriptor() ([]byte, []int)
func (*Order_Item_Option) ProtoMessage ¶
func (*Order_Item_Option) ProtoMessage()
type Order_Item_ShippingOption ¶
type Order_Item_ShippingOption struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Service string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
}
func (*Order_Item_ShippingOption) Descriptor ¶
func (*Order_Item_ShippingOption) Descriptor() ([]byte, []int)
func (*Order_Item_ShippingOption) GetName ¶ added in v0.5.1
func (m *Order_Item_ShippingOption) GetName() string
func (*Order_Item_ShippingOption) GetService ¶ added in v0.5.1
func (m *Order_Item_ShippingOption) GetService() string
func (*Order_Item_ShippingOption) ProtoMessage ¶
func (*Order_Item_ShippingOption) ProtoMessage()
type Order_Payment ¶
type Order_Payment struct {
Method Order_Payment_Method `protobuf:"varint,1,opt,name=method,enum=Order_Payment_Method" json:"method,omitempty"`
Moderator string `protobuf:"bytes,2,opt,name=moderator" json:"moderator,omitempty"`
Amount uint64 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"`
Chaincode string `protobuf:"bytes,4,opt,name=chaincode" json:"chaincode,omitempty"`
Address string `protobuf:"bytes,5,opt,name=address" json:"address,omitempty"`
RedeemScript string `protobuf:"bytes,6,opt,name=redeemScript" json:"redeemScript,omitempty"`
ModeratorKey []byte `protobuf:"bytes,7,opt,name=moderatorKey,proto3" json:"moderatorKey,omitempty"`
}
func (*Order_Payment) Descriptor ¶
func (*Order_Payment) Descriptor() ([]byte, []int)
func (*Order_Payment) GetAddress ¶ added in v0.5.1
func (m *Order_Payment) GetAddress() string
func (*Order_Payment) GetChaincode ¶ added in v0.5.1
func (m *Order_Payment) GetChaincode() string
func (*Order_Payment) GetMethod ¶ added in v0.5.1
func (m *Order_Payment) GetMethod() Order_Payment_Method
func (*Order_Payment) GetModerator ¶ added in v0.5.1
func (m *Order_Payment) GetModerator() string
func (*Order_Payment) GetModeratorKey ¶ added in v0.9.2
func (m *Order_Payment) GetModeratorKey() []byte
func (*Order_Payment) GetRedeemScript ¶ added in v0.5.1
func (m *Order_Payment) GetRedeemScript() string
func (*Order_Payment) ProtoMessage ¶
func (*Order_Payment) ProtoMessage()
type Order_Payment_Method ¶
type Order_Payment_Method int32
const (
Order_Payment_ADDRESS_REQUEST Order_Payment_Method = 0
Order_Payment_DIRECT Order_Payment_Method = 1
Order_Payment_MODERATED Order_Payment_Method = 2
)
func (Order_Payment_Method) EnumDescriptor ¶
func (Order_Payment_Method) EnumDescriptor() ([]byte, []int)
type Order_Shipping ¶
type Order_Shipping struct {
ShipTo string `protobuf:"bytes,1,opt,name=shipTo" json:"shipTo,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
City string `protobuf:"bytes,3,opt,name=city" json:"city,omitempty"`
State string `protobuf:"bytes,4,opt,name=state" json:"state,omitempty"`
PostalCode string `protobuf:"bytes,5,opt,name=postalCode" json:"postalCode,omitempty"`
Country CountryCode `protobuf:"varint,6,opt,name=country,enum=CountryCode" json:"country,omitempty"`
AddressNotes string `protobuf:"bytes,7,opt,name=addressNotes" json:"addressNotes,omitempty"`
}
func (*Order_Shipping) Descriptor ¶
func (*Order_Shipping) Descriptor() ([]byte, []int)
func (*Order_Shipping) GetAddress ¶ added in v0.5.1
func (m *Order_Shipping) GetAddress() string
func (*Order_Shipping) GetAddressNotes ¶ added in v0.5.1
func (m *Order_Shipping) GetAddressNotes() string
func (*Order_Shipping) GetCountry ¶ added in v0.5.1
func (m *Order_Shipping) GetCountry() CountryCode
func (*Order_Shipping) GetPostalCode ¶ added in v0.5.1
func (m *Order_Shipping) GetPostalCode() string
func (*Order_Shipping) ProtoMessage ¶
func (*Order_Shipping) ProtoMessage()
type Outpoint ¶ added in v0.3.0
type Outpoint struct {
Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
Index uint32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
Value uint64 `protobuf:"varint,3,opt,name=value" json:"value,omitempty"`
}
func (*Outpoint) Descriptor ¶ added in v0.3.0
func (*Outpoint) Descriptor() ([]byte, []int)
func (*Outpoint) ProtoMessage ¶ added in v0.3.0
func (*Outpoint) ProtoMessage()
type PeerAndProfile ¶ added in v0.5.0
type PeerAndProfile struct {
PeerId string `protobuf:"bytes,1,opt,name=peerId" json:"peerId,omitempty"`
Profile *Profile `protobuf:"bytes,2,opt,name=profile" json:"profile,omitempty"`
}
func (*PeerAndProfile) Descriptor ¶ added in v0.5.0
func (*PeerAndProfile) Descriptor() ([]byte, []int)
func (*PeerAndProfile) GetProfile ¶ added in v0.5.0
func (m *PeerAndProfile) GetProfile() *Profile
func (*PeerAndProfile) ProtoMessage ¶ added in v0.5.0
func (*PeerAndProfile) ProtoMessage()
type PeerAndProfileWithID ¶ added in v0.5.0
type PeerAndProfileWithID struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
PeerId string `protobuf:"bytes,2,opt,name=peerId" json:"peerId,omitempty"`
Profile *Profile `protobuf:"bytes,3,opt,name=profile" json:"profile,omitempty"`
}
func (*PeerAndProfileWithID) Descriptor ¶ added in v0.5.0
func (*PeerAndProfileWithID) Descriptor() ([]byte, []int)
func (*PeerAndProfileWithID) GetPeerId ¶ added in v0.5.1
func (m *PeerAndProfileWithID) GetPeerId() string
func (*PeerAndProfileWithID) GetProfile ¶ added in v0.5.0
func (m *PeerAndProfileWithID) GetProfile() *Profile
func (*PeerAndProfileWithID) ProtoMessage ¶ added in v0.5.0
func (*PeerAndProfileWithID) ProtoMessage()
type Post ¶ added in v0.10.1
type Post struct {
Slug string `protobuf:"bytes,1,opt,name=slug" json:"slug,omitempty"`
VendorID *ID `protobuf:"bytes,2,opt,name=vendorID" json:"vendorID,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
LongForm string `protobuf:"bytes,4,opt,name=longForm" json:"longForm,omitempty"`
Images []*Post_Image `protobuf:"bytes,5,rep,name=images" json:"images,omitempty"`
Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (*Post) Descriptor ¶ added in v0.10.1
func (*Post) Descriptor() ([]byte, []int)
func (*Post) GetLongForm ¶ added in v0.10.1
func (m *Post) GetLongForm() string
func (*Post) GetTimestamp ¶ added in v0.10.1
func (m *Post) GetTimestamp() *google_protobuf.Timestamp
func (*Post) GetVendorID ¶ added in v0.10.1
func (m *Post) GetVendorID() *ID
func (*Post) ProtoMessage ¶ added in v0.10.1
func (*Post) ProtoMessage()
type Post_Image ¶ added in v0.10.1
type Post_Image struct {
Filename string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
Original string `protobuf:"bytes,2,opt,name=original" json:"original,omitempty"`
Large string `protobuf:"bytes,3,opt,name=large" json:"large,omitempty"`
Medium string `protobuf:"bytes,4,opt,name=medium" json:"medium,omitempty"`
Small string `protobuf:"bytes,5,opt,name=small" json:"small,omitempty"`
Tiny string `protobuf:"bytes,6,opt,name=tiny" json:"tiny,omitempty"`
}
func (*Post_Image) Descriptor ¶ added in v0.10.1
func (*Post_Image) Descriptor() ([]byte, []int)
func (*Post_Image) GetFilename ¶ added in v0.10.1
func (m *Post_Image) GetFilename() string
func (*Post_Image) GetOriginal ¶ added in v0.10.1
func (m *Post_Image) GetOriginal() string
func (*Post_Image) ProtoMessage ¶ added in v0.10.1
func (*Post_Image) ProtoMessage()
type Profile ¶
type Profile struct {
PeerID string `protobuf:"bytes,1,opt,name=peerID" json:"peerID,omitempty"`
Handle string `protobuf:"bytes,2,opt,name=handle" json:"handle,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Location string `protobuf:"bytes,4,opt,name=location" json:"location,omitempty"`
About string `protobuf:"bytes,5,opt,name=about" json:"about,omitempty"`
ShortDescription string `protobuf:"bytes,6,opt,name=shortDescription" json:"shortDescription,omitempty"`
Nsfw bool `protobuf:"varint,7,opt,name=nsfw" json:"nsfw,omitempty"`
Vendor bool `protobuf:"varint,8,opt,name=vendor" json:"vendor,omitempty"`
Moderator bool `protobuf:"varint,9,opt,name=moderator" json:"moderator,omitempty"`
ModeratorInfo *Moderator `protobuf:"bytes,10,opt,name=moderatorInfo" json:"moderatorInfo,omitempty"`
ContactInfo *Profile_Contact `protobuf:"bytes,11,opt,name=contactInfo" json:"contactInfo,omitempty"`
Colors *Profile_Colors `protobuf:"bytes,12,opt,name=colors" json:"colors,omitempty"`
AvatarHashes *Profile_Image `protobuf:"bytes,13,opt,name=avatarHashes" json:"avatarHashes,omitempty"`
HeaderHashes *Profile_Image `protobuf:"bytes,14,opt,name=headerHashes" json:"headerHashes,omitempty"`
Stats *Profile_Stats `protobuf:"bytes,15,opt,name=stats" json:"stats,omitempty"`
BitcoinPubkey string `protobuf:"bytes,16,opt,name=bitcoinPubkey" json:"bitcoinPubkey,omitempty"`
LastModified *google_protobuf.Timestamp `protobuf:"bytes,17,opt,name=lastModified" json:"lastModified,omitempty"`
Currencies []string `protobuf:"bytes,18,rep,name=currencies" json:"currencies,omitempty"`
}
func (*Profile) Descriptor ¶
func (*Profile) Descriptor() ([]byte, []int)
func (*Profile) GetAvatarHashes ¶ added in v0.2.1
func (m *Profile) GetAvatarHashes() *Profile_Image
func (*Profile) GetBitcoinPubkey ¶ added in v0.5.1
func (m *Profile) GetBitcoinPubkey() string
func (*Profile) GetContactInfo ¶ added in v0.5.3
func (m *Profile) GetContactInfo() *Profile_Contact
func (*Profile) GetCurrencies ¶ added in v0.11.1
func (m *Profile) GetCurrencies() []string
func (*Profile) GetHeaderHashes ¶ added in v0.2.1
func (m *Profile) GetHeaderHashes() *Profile_Image
func (*Profile) GetLastModified ¶ added in v0.2.4
func (m *Profile) GetLastModified() *google_protobuf.Timestamp
func (*Profile) GetLocation ¶ added in v0.5.1
func (m *Profile) GetLocation() string
func (*Profile) GetModerator ¶ added in v0.5.1
func (m *Profile) GetModerator() bool
func (*Profile) GetModeratorInfo ¶ added in v0.5.3
func (m *Profile) GetModeratorInfo() *Moderator
func (*Profile) GetShortDescription ¶ added in v0.5.1
func (m *Profile) GetShortDescription() string
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
type Profile_Colors ¶ added in v0.5.3
type Profile_Colors struct {
Primary string `protobuf:"bytes,1,opt,name=primary" json:"primary,omitempty"`
Secondary string `protobuf:"bytes,2,opt,name=secondary" json:"secondary,omitempty"`
Text string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
Highlight string `protobuf:"bytes,4,opt,name=highlight" json:"highlight,omitempty"`
HighlightText string `protobuf:"bytes,5,opt,name=highlightText" json:"highlightText,omitempty"`
}
func (*Profile_Colors) Descriptor ¶ added in v0.5.3
func (*Profile_Colors) Descriptor() ([]byte, []int)
func (*Profile_Colors) GetHighlight ¶ added in v0.5.3
func (m *Profile_Colors) GetHighlight() string
func (*Profile_Colors) GetHighlightText ¶ added in v0.5.3
func (m *Profile_Colors) GetHighlightText() string
func (*Profile_Colors) GetPrimary ¶ added in v0.5.3
func (m *Profile_Colors) GetPrimary() string
func (*Profile_Colors) GetSecondary ¶ added in v0.5.3
func (m *Profile_Colors) GetSecondary() string
func (*Profile_Colors) ProtoMessage ¶ added in v0.5.3
func (*Profile_Colors) ProtoMessage()
type Profile_Contact ¶ added in v0.5.3
type Profile_Contact struct {
Website string `protobuf:"bytes,1,opt,name=website" json:"website,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
PhoneNumber string `protobuf:"bytes,3,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
Social []*Profile_SocialAccount `protobuf:"bytes,4,rep,name=social" json:"social,omitempty"`
}
func (*Profile_Contact) Descriptor ¶ added in v0.5.3
func (*Profile_Contact) Descriptor() ([]byte, []int)
func (*Profile_Contact) GetPhoneNumber ¶ added in v0.5.3
func (m *Profile_Contact) GetPhoneNumber() string
func (*Profile_Contact) GetSocial ¶ added in v0.5.3
func (m *Profile_Contact) GetSocial() []*Profile_SocialAccount
func (*Profile_Contact) GetWebsite ¶ added in v0.5.3
func (m *Profile_Contact) GetWebsite() string
func (*Profile_Contact) ProtoMessage ¶ added in v0.5.3
func (*Profile_Contact) ProtoMessage()
type Profile_Image ¶ added in v0.2.1
type Profile_Image struct {
Tiny string `protobuf:"bytes,1,opt,name=tiny" json:"tiny,omitempty"`
Small string `protobuf:"bytes,2,opt,name=small" json:"small,omitempty"`
Medium string `protobuf:"bytes,3,opt,name=medium" json:"medium,omitempty"`
Large string `protobuf:"bytes,4,opt,name=large" json:"large,omitempty"`
Original string `protobuf:"bytes,5,opt,name=original" json:"original,omitempty"`
}
func (*Profile_Image) Descriptor ¶ added in v0.2.1
func (*Profile_Image) Descriptor() ([]byte, []int)
func (*Profile_Image) GetOriginal ¶ added in v0.5.1
func (m *Profile_Image) GetOriginal() string
func (*Profile_Image) ProtoMessage ¶ added in v0.2.1
func (*Profile_Image) ProtoMessage()
type Profile_SocialAccount ¶
type Profile_SocialAccount struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
Proof string `protobuf:"bytes,3,opt,name=proof" json:"proof,omitempty"`
}
func (*Profile_SocialAccount) Descriptor ¶
func (*Profile_SocialAccount) Descriptor() ([]byte, []int)
func (*Profile_SocialAccount) GetProof ¶ added in v0.5.1
func (m *Profile_SocialAccount) GetProof() string
func (*Profile_SocialAccount) GetType ¶ added in v0.5.1
func (m *Profile_SocialAccount) GetType() string
func (*Profile_SocialAccount) GetUsername ¶ added in v0.5.1
func (m *Profile_SocialAccount) GetUsername() string
func (*Profile_SocialAccount) ProtoMessage ¶
func (*Profile_SocialAccount) ProtoMessage()
type Profile_Stats ¶ added in v0.5.3
type Profile_Stats struct {
FollowerCount uint32 `protobuf:"varint,1,opt,name=followerCount" json:"followerCount,omitempty"`
FollowingCount uint32 `protobuf:"varint,2,opt,name=followingCount" json:"followingCount,omitempty"`
ListingCount uint32 `protobuf:"varint,3,opt,name=listingCount" json:"listingCount,omitempty"`
RatingCount uint32 `protobuf:"varint,4,opt,name=ratingCount" json:"ratingCount,omitempty"`
PostCount uint32 `protobuf:"varint,5,opt,name=postCount" json:"postCount,omitempty"`
AverageRating float32 `protobuf:"fixed32,6,opt,name=averageRating" json:"averageRating,omitempty"`
}
func (*Profile_Stats) Descriptor ¶ added in v0.5.3
func (*Profile_Stats) Descriptor() ([]byte, []int)
func (*Profile_Stats) GetAverageRating ¶ added in v0.5.3
func (m *Profile_Stats) GetAverageRating() float32
func (*Profile_Stats) GetFollowerCount ¶ added in v0.5.3
func (m *Profile_Stats) GetFollowerCount() uint32
func (*Profile_Stats) GetFollowingCount ¶ added in v0.5.3
func (m *Profile_Stats) GetFollowingCount() uint32
func (*Profile_Stats) GetListingCount ¶ added in v0.5.3
func (m *Profile_Stats) GetListingCount() uint32
func (*Profile_Stats) GetPostCount ¶ added in v0.10.1
func (m *Profile_Stats) GetPostCount() uint32
func (*Profile_Stats) GetRatingCount ¶ added in v0.5.3
func (m *Profile_Stats) GetRatingCount() uint32
func (*Profile_Stats) ProtoMessage ¶ added in v0.5.3
func (*Profile_Stats) ProtoMessage()
type Rating ¶
type Rating struct {
RatingData *Rating_RatingData `protobuf:"bytes,1,opt,name=ratingData" json:"ratingData,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*Rating) Descriptor ¶
func (*Rating) Descriptor() ([]byte, []int)
func (*Rating) GetRatingData ¶ added in v0.5.5
func (m *Rating) GetRatingData() *Rating_RatingData
func (*Rating) GetSignature ¶ added in v0.5.5
func (m *Rating) GetSignature() []byte
func (*Rating) ProtoMessage ¶
func (*Rating) ProtoMessage()
type RatingSignature ¶ added in v0.2.2
type RatingSignature struct {
Metadata *RatingSignature_TransactionMetadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*RatingSignature) Descriptor ¶ added in v0.2.2
func (*RatingSignature) Descriptor() ([]byte, []int)
func (*RatingSignature) GetMetadata ¶ added in v0.2.2
func (m *RatingSignature) GetMetadata() *RatingSignature_TransactionMetadata
func (*RatingSignature) GetSignature ¶ added in v0.5.1
func (m *RatingSignature) GetSignature() []byte
func (*RatingSignature) ProtoMessage ¶ added in v0.2.2
func (*RatingSignature) ProtoMessage()
type RatingSignature_TransactionMetadata ¶ added in v0.2.2
type RatingSignature_TransactionMetadata struct {
ListingSlug string `protobuf:"bytes,1,opt,name=listingSlug" json:"listingSlug,omitempty"`
RatingKey []byte `protobuf:"bytes,2,opt,name=ratingKey,proto3" json:"ratingKey,omitempty"`
ModeratorKey []byte `protobuf:"bytes,3,opt,name=moderatorKey,proto3" json:"moderatorKey,omitempty"`
ListingTitle string `protobuf:"bytes,4,opt,name=listingTitle" json:"listingTitle,omitempty"`
Thumbnail *RatingSignature_TransactionMetadata_Image `protobuf:"bytes,5,opt,name=thumbnail" json:"thumbnail,omitempty"`
}
func (*RatingSignature_TransactionMetadata) Descriptor ¶ added in v0.2.2
func (*RatingSignature_TransactionMetadata) Descriptor() ([]byte, []int)
func (*RatingSignature_TransactionMetadata) GetListingSlug ¶ added in v0.5.1
func (m *RatingSignature_TransactionMetadata) GetListingSlug() string
func (*RatingSignature_TransactionMetadata) GetListingTitle ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata) GetListingTitle() string
func (*RatingSignature_TransactionMetadata) GetModeratorKey ¶ added in v0.5.1
func (m *RatingSignature_TransactionMetadata) GetModeratorKey() []byte
func (*RatingSignature_TransactionMetadata) GetRatingKey ¶ added in v0.5.1
func (m *RatingSignature_TransactionMetadata) GetRatingKey() []byte
func (*RatingSignature_TransactionMetadata) GetThumbnail ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata) GetThumbnail() *RatingSignature_TransactionMetadata_Image
func (*RatingSignature_TransactionMetadata) ProtoMessage ¶ added in v0.2.2
func (*RatingSignature_TransactionMetadata) ProtoMessage()
type RatingSignature_TransactionMetadata_Image ¶ added in v0.10.1
type RatingSignature_TransactionMetadata_Image struct {
Tiny string `protobuf:"bytes,1,opt,name=tiny" json:"tiny,omitempty"`
Small string `protobuf:"bytes,2,opt,name=small" json:"small,omitempty"`
Medium string `protobuf:"bytes,3,opt,name=medium" json:"medium,omitempty"`
Large string `protobuf:"bytes,4,opt,name=large" json:"large,omitempty"`
Original string `protobuf:"bytes,5,opt,name=original" json:"original,omitempty"`
}
func (*RatingSignature_TransactionMetadata_Image) Descriptor ¶ added in v0.10.1
func (*RatingSignature_TransactionMetadata_Image) Descriptor() ([]byte, []int)
func (*RatingSignature_TransactionMetadata_Image) GetLarge ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata_Image) GetLarge() string
func (*RatingSignature_TransactionMetadata_Image) GetMedium ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata_Image) GetMedium() string
func (*RatingSignature_TransactionMetadata_Image) GetOriginal ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata_Image) GetOriginal() string
func (*RatingSignature_TransactionMetadata_Image) GetSmall ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata_Image) GetSmall() string
func (*RatingSignature_TransactionMetadata_Image) GetTiny ¶ added in v0.10.1
func (m *RatingSignature_TransactionMetadata_Image) GetTiny() string
func (*RatingSignature_TransactionMetadata_Image) ProtoMessage ¶ added in v0.10.1
func (*RatingSignature_TransactionMetadata_Image) ProtoMessage()
type RatingWithID ¶ added in v0.6.0
type RatingWithID struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
RatingId string `protobuf:"bytes,2,opt,name=ratingId" json:"ratingId,omitempty"`
Rating *Rating `protobuf:"bytes,3,opt,name=rating" json:"rating,omitempty"`
}
func (*RatingWithID) Descriptor ¶ added in v0.6.0
func (*RatingWithID) Descriptor() ([]byte, []int)
func (*RatingWithID) GetRatingId ¶ added in v0.6.0
func (m *RatingWithID) GetRatingId() string
func (*RatingWithID) ProtoMessage ¶ added in v0.6.0
func (*RatingWithID) ProtoMessage()
type Rating_RatingData ¶ added in v0.5.5
type Rating_RatingData struct {
RatingKey []byte `protobuf:"bytes,1,opt,name=ratingKey,proto3" json:"ratingKey,omitempty"`
VendorID *ID `protobuf:"bytes,2,opt,name=vendorID" json:"vendorID,omitempty"`
VendorSig *RatingSignature `protobuf:"bytes,3,opt,name=vendorSig" json:"vendorSig,omitempty"`
BuyerID *ID `protobuf:"bytes,4,opt,name=buyerID" json:"buyerID,omitempty"`
BuyerName string `protobuf:"bytes,5,opt,name=buyerName" json:"buyerName,omitempty"`
BuyerSig []byte `protobuf:"bytes,6,opt,name=buyerSig,proto3" json:"buyerSig,omitempty"`
ModeratorSig []byte `protobuf:"bytes,7,opt,name=moderatorSig,proto3" json:"moderatorSig,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,8,opt,name=timestamp" json:"timestamp,omitempty"`
Overall uint32 `protobuf:"varint,9,opt,name=overall" json:"overall,omitempty"`
Quality uint32 `protobuf:"varint,10,opt,name=quality" json:"quality,omitempty"`
Description uint32 `protobuf:"varint,11,opt,name=description" json:"description,omitempty"`
DeliverySpeed uint32 `protobuf:"varint,12,opt,name=deliverySpeed" json:"deliverySpeed,omitempty"`
CustomerService uint32 `protobuf:"varint,13,opt,name=customerService" json:"customerService,omitempty"`
Review string `protobuf:"bytes,14,opt,name=review" json:"review,omitempty"`
}
func (*Rating_RatingData) Descriptor ¶ added in v0.5.5
func (*Rating_RatingData) Descriptor() ([]byte, []int)
func (*Rating_RatingData) GetBuyerID ¶ added in v0.5.5
func (m *Rating_RatingData) GetBuyerID() *ID
func (*Rating_RatingData) GetBuyerName ¶ added in v0.6.0
func (m *Rating_RatingData) GetBuyerName() string
func (*Rating_RatingData) GetBuyerSig ¶ added in v0.6.0
func (m *Rating_RatingData) GetBuyerSig() []byte
func (*Rating_RatingData) GetCustomerService ¶ added in v0.5.5
func (m *Rating_RatingData) GetCustomerService() uint32
func (*Rating_RatingData) GetDeliverySpeed ¶ added in v0.5.5
func (m *Rating_RatingData) GetDeliverySpeed() uint32
func (*Rating_RatingData) GetDescription ¶ added in v0.5.5
func (m *Rating_RatingData) GetDescription() uint32
func (*Rating_RatingData) GetModeratorSig ¶ added in v0.5.5
func (m *Rating_RatingData) GetModeratorSig() []byte
func (*Rating_RatingData) GetOverall ¶ added in v0.5.5
func (m *Rating_RatingData) GetOverall() uint32
func (*Rating_RatingData) GetQuality ¶ added in v0.5.5
func (m *Rating_RatingData) GetQuality() uint32
func (*Rating_RatingData) GetRatingKey ¶ added in v0.5.5
func (m *Rating_RatingData) GetRatingKey() []byte
func (*Rating_RatingData) GetReview ¶ added in v0.5.5
func (m *Rating_RatingData) GetReview() string
func (*Rating_RatingData) GetTimestamp ¶ added in v0.5.5
func (m *Rating_RatingData) GetTimestamp() *google_protobuf.Timestamp
func (*Rating_RatingData) GetVendorID ¶ added in v0.5.5
func (m *Rating_RatingData) GetVendorID() *ID
func (*Rating_RatingData) GetVendorSig ¶ added in v0.5.5
func (m *Rating_RatingData) GetVendorSig() *RatingSignature
func (*Rating_RatingData) ProtoMessage ¶ added in v0.5.5
func (*Rating_RatingData) ProtoMessage()
type Refund ¶
type Refund struct {
OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
Sigs []*BitcoinSignature `protobuf:"bytes,3,rep,name=sigs" json:"sigs,omitempty"`
RefundTransaction *Refund_TransactionInfo `protobuf:"bytes,4,opt,name=refundTransaction" json:"refundTransaction,omitempty"`
Memo string `protobuf:"bytes,5,opt,name=memo" json:"memo,omitempty"`
}
func (*Refund) Descriptor ¶
func (*Refund) Descriptor() ([]byte, []int)
func (*Refund) GetOrderID ¶ added in v0.5.1
func (m *Refund) GetOrderID() string
func (*Refund) GetRefundTransaction ¶ added in v0.6.2
func (m *Refund) GetRefundTransaction() *Refund_TransactionInfo
func (*Refund) GetTimestamp ¶ added in v0.5.3
func (m *Refund) GetTimestamp() *google_protobuf.Timestamp
func (*Refund) ProtoMessage ¶
func (*Refund) ProtoMessage()
type Refund_TransactionInfo ¶ added in v0.6.2
type Refund_TransactionInfo struct {
Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"`
Value uint64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
}
func (*Refund_TransactionInfo) Descriptor ¶ added in v0.6.2
func (*Refund_TransactionInfo) Descriptor() ([]byte, []int)
func (*Refund_TransactionInfo) GetTxid ¶ added in v0.6.2
func (m *Refund_TransactionInfo) GetTxid() string
func (*Refund_TransactionInfo) GetValue ¶ added in v0.6.2
func (m *Refund_TransactionInfo) GetValue() uint64
func (*Refund_TransactionInfo) ProtoMessage ¶ added in v0.6.2
func (*Refund_TransactionInfo) ProtoMessage()
type RicardianContract ¶
type RicardianContract struct {
VendorListings []*Listing `protobuf:"bytes,1,rep,name=vendorListings" json:"vendorListings,omitempty"`
BuyerOrder *Order `protobuf:"bytes,2,opt,name=buyerOrder" json:"buyerOrder,omitempty"`
VendorOrderConfirmation *OrderConfirmation `protobuf:"bytes,3,opt,name=vendorOrderConfirmation" json:"vendorOrderConfirmation,omitempty"`
VendorOrderFulfillment []*OrderFulfillment `protobuf:"bytes,4,rep,name=vendorOrderFulfillment" json:"vendorOrderFulfillment,omitempty"`
BuyerOrderCompletion *OrderCompletion `protobuf:"bytes,5,opt,name=buyerOrderCompletion" json:"buyerOrderCompletion,omitempty"`
Dispute *Dispute `protobuf:"bytes,6,opt,name=dispute" json:"dispute,omitempty"`
DisputeResolution *DisputeResolution `protobuf:"bytes,7,opt,name=disputeResolution" json:"disputeResolution,omitempty"`
DisputeAcceptance *DisputeAcceptance `protobuf:"bytes,8,opt,name=disputeAcceptance" json:"disputeAcceptance,omitempty"`
Refund *Refund `protobuf:"bytes,9,opt,name=refund" json:"refund,omitempty"`
Signatures []*Signature `protobuf:"bytes,10,rep,name=signatures" json:"signatures,omitempty"`
Errors []string `protobuf:"bytes,11,rep,name=errors" json:"errors,omitempty"`
}
func (*RicardianContract) Descriptor ¶
func (*RicardianContract) Descriptor() ([]byte, []int)
func (*RicardianContract) GetBuyerOrder ¶
func (m *RicardianContract) GetBuyerOrder() *Order
func (*RicardianContract) GetBuyerOrderCompletion ¶ added in v0.2.2
func (m *RicardianContract) GetBuyerOrderCompletion() *OrderCompletion
func (*RicardianContract) GetDispute ¶
func (m *RicardianContract) GetDispute() *Dispute
func (*RicardianContract) GetDisputeAcceptance ¶ added in v0.6.3
func (m *RicardianContract) GetDisputeAcceptance() *DisputeAcceptance
func (*RicardianContract) GetDisputeResolution ¶
func (m *RicardianContract) GetDisputeResolution() *DisputeResolution
func (*RicardianContract) GetErrors ¶ added in v0.11.1
func (m *RicardianContract) GetErrors() []string
func (*RicardianContract) GetSignatures ¶
func (m *RicardianContract) GetSignatures() []*Signature
func (*RicardianContract) GetVendorListings ¶
func (m *RicardianContract) GetVendorListings() []*Listing
func (*RicardianContract) GetVendorOrderConfirmation ¶
func (m *RicardianContract) GetVendorOrderConfirmation() *OrderConfirmation
func (*RicardianContract) GetVendorOrderFulfillment ¶ added in v0.1.1
func (m *RicardianContract) GetVendorOrderFulfillment() []*OrderFulfillment
func (*RicardianContract) ProtoMessage ¶
func (*RicardianContract) ProtoMessage()
type Signature ¶ added in v0.2.3
type Signature struct {
Section Signature_Section `protobuf:"varint,1,opt,name=section,enum=Signature_Section" json:"section,omitempty"`
SignatureBytes []byte `protobuf:"bytes,2,opt,name=signatureBytes,proto3" json:"signatureBytes,omitempty"`
}
func (*Signature) Descriptor ¶ added in v0.2.3
func (*Signature) Descriptor() ([]byte, []int)
func (*Signature) GetSection ¶ added in v0.5.1
func (m *Signature) GetSection() Signature_Section
func (*Signature) GetSignatureBytes ¶ added in v0.5.1
func (m *Signature) GetSignatureBytes() []byte
func (*Signature) ProtoMessage ¶ added in v0.2.3
func (*Signature) ProtoMessage()
type Signature_Section ¶ added in v0.2.3
type Signature_Section int32
const (
Signature_LISTING Signature_Section = 0
Signature_ORDER Signature_Section = 1
Signature_ORDER_CONFIRMATION Signature_Section = 2
Signature_ORDER_FULFILLMENT Signature_Section = 3
Signature_ORDER_COMPLETION Signature_Section = 4
Signature_DISPUTE Signature_Section = 5
Signature_DISPUTE_RESOLUTION Signature_Section = 6
Signature_REFUND Signature_Section = 7
)
func (Signature_Section) EnumDescriptor ¶ added in v0.2.3
func (Signature_Section) EnumDescriptor() ([]byte, []int)
type SignedData ¶ added in v0.7.0
type SignedData struct {
SenderPubkey []byte `protobuf:"bytes,1,opt,name=senderPubkey,proto3" json:"senderPubkey,omitempty"`
SerializedData []byte `protobuf:"bytes,2,opt,name=serializedData,proto3" json:"serializedData,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*SignedData) Descriptor ¶ added in v0.7.0
func (*SignedData) Descriptor() ([]byte, []int)
func (*SignedData) GetSenderPubkey ¶ added in v0.7.0
func (m *SignedData) GetSenderPubkey() []byte
func (*SignedData) GetSerializedData ¶ added in v0.7.0
func (m *SignedData) GetSerializedData() []byte
func (*SignedData) GetSignature ¶ added in v0.7.0
func (m *SignedData) GetSignature() []byte
func (*SignedData) ProtoMessage ¶ added in v0.7.0
func (*SignedData) ProtoMessage()
type SignedData_Command ¶ added in v0.7.0
type SignedData_Command struct {
PeerID string `protobuf:"bytes,1,opt,name=peerID" json:"peerID,omitempty"`
Type Message_MessageType `protobuf:"varint,2,opt,name=type,enum=Message_MessageType" json:"type,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (*SignedData_Command) Descriptor ¶ added in v0.7.0
func (*SignedData_Command) Descriptor() ([]byte, []int)
func (*SignedData_Command) GetPeerID ¶ added in v0.7.0
func (m *SignedData_Command) GetPeerID() string
func (*SignedData_Command) GetTimestamp ¶ added in v0.7.0
func (m *SignedData_Command) GetTimestamp() *google_protobuf.Timestamp
func (*SignedData_Command) GetType ¶ added in v0.7.0
func (m *SignedData_Command) GetType() Message_MessageType
func (*SignedData_Command) ProtoMessage ¶ added in v0.7.0
func (*SignedData_Command) ProtoMessage()
type SignedListing ¶ added in v0.5.5
type SignedListing struct {
Listing *Listing `protobuf:"bytes,1,opt,name=listing" json:"listing,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*SignedListing) Descriptor ¶ added in v0.5.5
func (*SignedListing) Descriptor() ([]byte, []int)
func (*SignedListing) GetListing ¶ added in v0.5.5
func (m *SignedListing) GetListing() *Listing
func (*SignedListing) GetSignature ¶ added in v0.5.5
func (m *SignedListing) GetSignature() []byte
func (*SignedListing) ProtoMessage ¶ added in v0.5.5
func (*SignedListing) ProtoMessage()
type SignedPost ¶ added in v0.10.1
type SignedPost struct {
Post *Post `protobuf:"bytes,1,opt,name=post" json:"post,omitempty"`
Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*SignedPost) Descriptor ¶ added in v0.10.1
func (*SignedPost) Descriptor() ([]byte, []int)
func (*SignedPost) GetSignature ¶ added in v0.10.1
func (m *SignedPost) GetSignature() []byte
func (*SignedPost) ProtoMessage ¶ added in v0.10.1
func (*SignedPost) ProtoMessage()
type TransactionRecord ¶ added in v0.2.1
type TransactionRecord struct {
Txid string `protobuf:"bytes,1,opt,name=txid" json:"txid,omitempty"`
Value int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
Confirmations uint32 `protobuf:"varint,3,opt,name=confirmations" json:"confirmations,omitempty"`
Height uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (*TransactionRecord) Descriptor ¶ added in v0.2.1
func (*TransactionRecord) Descriptor() ([]byte, []int)
func (*TransactionRecord) GetConfirmations ¶ added in v0.5.1
func (m *TransactionRecord) GetConfirmations() uint32
func (*TransactionRecord) GetHeight ¶ added in v0.6.2
func (m *TransactionRecord) GetHeight() uint32
func (*TransactionRecord) GetTimestamp ¶ added in v0.6.1
func (m *TransactionRecord) GetTimestamp() *google_protobuf.Timestamp
func (*TransactionRecord) ProtoMessage ¶ added in v0.2.1
func (*TransactionRecord) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.