Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
ListingReqApi ListingRespApi Inventory Coupon OrderRespApi CaseRespApi TransactionRecord
Package contracts is a generated protocol buffer package.
It is generated from these files:
contracts.proto
It has these top-level messages:
RicardianContract Listing Order OrderConfirmation OrderReject RatingSignature BitcoinSignature OrderFulfillment OrderCompletion Dispute DisputeResolution Outpoint Refund ID Signature
Package countrycodes is a generated protocol buffer package.
It is generated from these files:
countrycodes.proto
It has these top-level messages:
Package message is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Message Envelope Chat
Package moderator is a generated protocol buffer package.
It is generated from these files:
moderator.proto
It has these top-level messages:
Moderator DisputeUpdate
Package orders is a generated protocol buffer package.
It is generated from these files:
orders.proto
It has these top-level messages:
Package profile is a generated protocol buffer package.
It is generated from these files:
profile.proto
It has these top-level messages:
Profile
Index ¶
- Variables
- type BitcoinSignature
- type CaseRespApi
- func (*CaseRespApi) Descriptor() ([]byte, []int)
- func (m *CaseRespApi) GetBuyerContract() *RicardianContract
- func (m *CaseRespApi) GetResolution() *DisputeResolution
- func (m *CaseRespApi) GetTimestamp() *google_protobuf.Timestamp
- func (m *CaseRespApi) GetVendorContract() *RicardianContract
- func (*CaseRespApi) ProtoMessage()
- func (m *CaseRespApi) Reset()
- func (m *CaseRespApi) String() string
- type Chat
- type Chat_Flag
- type CountryCode
- type Coupon
- type Dispute
- type DisputeResolution
- func (*DisputeResolution) Descriptor() ([]byte, []int)
- func (m *DisputeResolution) GetPayout() *DisputeResolution_Payout
- 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
- type DisputeUpdate
- type Envelope
- type ID
- type ID_Pubkeys
- type Inventory
- 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) GetShippingOptions() []*Listing_ShippingOption
- func (m *Listing) GetTaxes() []*Listing_Tax
- func (m *Listing) GetVendorID() *ID
- func (*Listing) ProtoMessage()
- func (m *Listing) Reset()
- func (m *Listing) String() string
- type ListingReqApi
- type ListingRespApi
- 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 (*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
- type Listing_Item_Image
- type Listing_Item_Option
- type Listing_Item_Option_Variants
- type Listing_Metadata
- type Listing_Metadata_ContractType
- type Listing_Metadata_Format
- type Listing_ShippingOption
- func (*Listing_ShippingOption) Descriptor() ([]byte, []int)
- func (m *Listing_ShippingOption) GetServices() []*Listing_ShippingOption_Service
- func (m *Listing_ShippingOption) GetShippingRules() *Listing_ShippingOption_ShippingRules
- func (*Listing_ShippingOption) ProtoMessage()
- func (m *Listing_ShippingOption) Reset()
- func (m *Listing_ShippingOption) String() string
- type Listing_ShippingOption_Service
- type Listing_ShippingOption_ShippingRules
- func (*Listing_ShippingOption_ShippingRules) Descriptor() ([]byte, []int)
- func (m *Listing_ShippingOption_ShippingRules) GetRules() []*Listing_ShippingOption_ShippingRules_Rule
- func (*Listing_ShippingOption_ShippingRules) ProtoMessage()
- func (m *Listing_ShippingOption_ShippingRules) Reset()
- func (m *Listing_ShippingOption_ShippingRules) String() string
- type Listing_ShippingOption_ShippingRules_Rule
- type Listing_ShippingOption_ShippingRules_RuleType
- type Listing_ShippingOption_ShippingType
- type Listing_Tax
- type Message
- type Message_MessageType
- type Moderator
- type Moderator_Fee
- type Moderator_Fee_FeeType
- type Moderator_Price
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetBuyerID() *ID
- func (m *Order) GetItems() []*Order_Item
- func (m *Order) GetPayment() *Order_Payment
- func (m *Order) GetShipping() *Order_Shipping
- func (m *Order) GetTimestamp() *google_protobuf.Timestamp
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- type OrderCompletion
- type OrderCompletion_Rating
- type OrderCompletion_Rating_RatingData
- func (*OrderCompletion_Rating_RatingData) Descriptor() ([]byte, []int)
- func (m *OrderCompletion_Rating_RatingData) GetBuyerID() *ID
- func (m *OrderCompletion_Rating_RatingData) GetModeratorID() *ID
- func (m *OrderCompletion_Rating_RatingData) GetTimestamp() *google_protobuf.Timestamp
- func (m *OrderCompletion_Rating_RatingData) GetVendorID() *ID
- func (m *OrderCompletion_Rating_RatingData) GetVendorSig() *RatingSignature
- func (*OrderCompletion_Rating_RatingData) ProtoMessage()
- func (m *OrderCompletion_Rating_RatingData) Reset()
- func (m *OrderCompletion_Rating_RatingData) String() string
- type OrderConfirmation
- type OrderFulfillment
- func (*OrderFulfillment) Descriptor() ([]byte, []int)
- func (m *OrderFulfillment) GetDigitalDelivery() []*OrderFulfillment_DigitalDelivery
- func (m *OrderFulfillment) GetPayout() *OrderFulfillment_Payout
- func (m *OrderFulfillment) GetPhysicalDelivery() []*OrderFulfillment_PhysicalDelivery
- func (m *OrderFulfillment) GetRatingSignature() *RatingSignature
- func (*OrderFulfillment) ProtoMessage()
- func (m *OrderFulfillment) Reset()
- func (m *OrderFulfillment) String() string
- type OrderFulfillment_DigitalDelivery
- type OrderFulfillment_Payout
- type OrderFulfillment_PhysicalDelivery
- type OrderReject
- type OrderRespApi
- type OrderState
- type Order_Item
- type Order_Item_Option
- type Order_Item_ShippingOption
- type Order_Payment
- type Order_Payment_Method
- type Order_Shipping
- type Outpoint
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAvatarHashes() *Profile_Image
- func (m *Profile) GetHeaderHashes() *Profile_Image
- func (m *Profile) GetLastModified() *google_protobuf.Timestamp
- func (m *Profile) GetModInfo() *Moderator
- func (m *Profile) GetSocial() []*Profile_SocialAccount
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- type Profile_Image
- type Profile_SocialAccount
- type RatingSignature
- type RatingSignature_TransactionMetadata
- type Refund
- 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) GetDisputeResolution() *DisputeResolution
- 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 TransactionRecord
Constants ¶
This section is empty.
Variables ¶
var Chat_Flag_name = map[int32]string{
0: "MESSAGE",
1: "TYPING",
2: "READ",
}
var Chat_Flag_value = map[string]int32{
"MESSAGE": 0,
"TYPING": 1,
"READ": 2,
}
var CountryCode_name = map[int32]string{}/* 256 elements not displayed */
var CountryCode_value = map[string]int32{}/* 256 elements not displayed */
var Listing_Metadata_ContractType_name = map[int32]string{
0: "PHYSICAL_GOOD",
1: "DIGITAL_GOOD",
2: "SERVICE",
3: "CROWD_FUND",
}
var Listing_Metadata_ContractType_value = map[string]int32{
"PHYSICAL_GOOD": 0,
"DIGITAL_GOOD": 1,
"SERVICE": 2,
"CROWD_FUND": 3,
}
var Listing_Metadata_Format_name = map[int32]string{
0: "FIXED_PRICE",
1: "AUCTION",
}
var Listing_Metadata_Format_value = map[string]int32{
"FIXED_PRICE": 0,
"AUCTION": 1,
}
var Listing_ShippingOption_ShippingRules_RuleType_name = map[int32]string{
0: "QUANTITY_DISCOUNT",
1: "FLAT_FEE_QUANTITY_RANGE",
2: "FLAT_FEE_WEIGHT_RANGE",
3: "COMBINED_SHIPPING_ADD",
4: "COMBINED_SHIPPING_SUBTRACT",
}
var Listing_ShippingOption_ShippingRules_RuleType_value = map[string]int32{
"QUANTITY_DISCOUNT": 0,
"FLAT_FEE_QUANTITY_RANGE": 1,
"FLAT_FEE_WEIGHT_RANGE": 2,
"COMBINED_SHIPPING_ADD": 3,
"COMBINED_SHIPPING_SUBTRACT": 4,
}
var Listing_ShippingOption_ShippingType_name = map[int32]string{
0: "LOCAL_PICKUP",
1: "FIXED_PRICE",
}
var Listing_ShippingOption_ShippingType_value = map[string]int32{
"LOCAL_PICKUP": 0,
"FIXED_PRICE": 1,
}
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",
500: "ERROR",
}
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,
"ERROR": 500,
}
var Moderator_Fee_FeeType_name = map[int32]string{
0: "FIXED",
1: "PERCENTAGE",
2: "FIXED_PLUS_PERCENTAGE",
}
var Moderator_Fee_FeeType_value = map[string]int32{
"FIXED": 0,
"PERCENTAGE": 1,
"FIXED_PLUS_PERCENTAGE": 2,
}
var OrderState_name = map[int32]string{
0: "PENDING",
1: "CONFIRMED",
2: "FUNDED",
3: "FULFILLED",
4: "COMPLETE",
5: "DISPUTED",
6: "DECIDED",
7: "RESOLVED",
8: "REFUNDED",
9: "CANCELED",
10: "REJECTED",
}
var OrderState_value = map[string]int32{
"PENDING": 0,
"CONFIRMED": 1,
"FUNDED": 2,
"FULFILLED": 3,
"COMPLETE": 4,
"DISPUTED": 5,
"DECIDED": 6,
"RESOLVED": 7,
"REFUNDED": 8,
"CANCELED": 9,
"REJECTED": 10,
}
var Order_Payment_Method_name = map[int32]string{
0: "ADDRESS_REQUEST",
1: "DIRECT",
2: "MODERATED",
}
var Order_Payment_Method_value = map[string]int32{
"ADDRESS_REQUEST": 0,
"DIRECT": 1,
"MODERATED": 2,
}
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",
}
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) ProtoMessage ¶ added in v0.2.1
func (*BitcoinSignature) ProtoMessage()
func (*BitcoinSignature) Reset ¶ added in v0.2.1
func (m *BitcoinSignature) Reset()
func (*BitcoinSignature) String ¶ added in v0.2.1
func (m *BitcoinSignature) String() string
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"` Resolution *DisputeResolution `protobuf:"bytes,10,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) 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) GetVendorContract ¶ added in v0.3.0
func (m *CaseRespApi) GetVendorContract() *RicardianContract
func (*CaseRespApi) ProtoMessage ¶ added in v0.3.0
func (*CaseRespApi) ProtoMessage()
func (*CaseRespApi) Reset ¶ added in v0.3.0
func (m *CaseRespApi) Reset()
func (*CaseRespApi) String ¶ added in v0.3.0
func (m *CaseRespApi) String() string
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_protobuf1.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) GetTimestamp ¶ added in v0.3.1
func (m *Chat) GetTimestamp() *google_protobuf1.Timestamp
func (*Chat) ProtoMessage ¶ added in v0.3.1
func (*Chat) ProtoMessage()
type Chat_Flag ¶ added in v0.3.1
type Chat_Flag int32
func (Chat_Flag) EnumDescriptor ¶ added in v0.3.1
type CountryCode ¶
type CountryCode int32
const ( CountryCode_NA CountryCode = 0 CountryCode_ALL CountryCode = 1 CountryCode_AFRICA CountryCode = 2 CountryCode_ASIA CountryCode = 3 CountryCode_CENTRAL_AMERICA CountryCode = 4 CountryCode_EUROPE CountryCode = 5 CountryCode_MIDDLE_EAST CountryCode = 6 CountryCode_NORTH_AMERICA CountryCode = 7 CountryCode_SOUTH_AMERICA CountryCode = 8 CountryCode_OCEANIA CountryCode = 9 CountryCode_AFGHANISTAN CountryCode = 10 CountryCode_ALAND_ISLANDS CountryCode = 11 CountryCode_ALBANIA CountryCode = 12 CountryCode_ALGERIA CountryCode = 13 CountryCode_AMERICAN_SAMOA CountryCode = 14 CountryCode_ANDORRA CountryCode = 15 CountryCode_ANGOLA CountryCode = 16 CountryCode_ANGUILLA CountryCode = 17 CountryCode_ANTIGUA CountryCode = 18 CountryCode_ARGENTINA CountryCode = 19 CountryCode_ARMENIA CountryCode = 20 CountryCode_ARUBA CountryCode = 21 CountryCode_AUSTRALIA CountryCode = 22 CountryCode_AUSTRIA CountryCode = 23 CountryCode_AZERBAIJAN CountryCode = 24 CountryCode_BAHAMAS CountryCode = 25 CountryCode_BAHRAIN CountryCode = 26 CountryCode_BANGLADESH CountryCode = 27 CountryCode_BARBADOS CountryCode = 28 CountryCode_BELARUS CountryCode = 29 CountryCode_BELGIUM CountryCode = 30 CountryCode_BELIZE CountryCode = 31 CountryCode_BENIN CountryCode = 32 CountryCode_BERMUDA CountryCode = 33 CountryCode_BHUTAN CountryCode = 34 CountryCode_BOLIVIA CountryCode = 35 CountryCode_BONAIRE_SINT_EUSTATIUS_SABA CountryCode = 36 CountryCode_BOSNIA CountryCode = 37 CountryCode_BOTSWANA CountryCode = 38 CountryCode_BOUVET_ISLAND CountryCode = 39 CountryCode_BRAZIL CountryCode = 40 CountryCode_BRITISH_INDIAN_OCEAN_TERRITORY CountryCode = 41 CountryCode_BRUNEI_DARUSSALAM CountryCode = 42 CountryCode_BULGARIA CountryCode = 43 CountryCode_BURKINA_FASO CountryCode = 44 CountryCode_BURUNDI CountryCode = 45 CountryCode_CABO_VERDE CountryCode = 46 CountryCode_CAMBODIA CountryCode = 47 CountryCode_CAMEROON CountryCode = 48 CountryCode_CANADA CountryCode = 49 CountryCode_CAYMAN_ISLANDS CountryCode = 50 CountryCode_CENTRAL_AFRICAN_REPUBLIC CountryCode = 51 CountryCode_CHAD CountryCode = 52 CountryCode_CHILE CountryCode = 53 CountryCode_CHINA CountryCode = 54 CountryCode_CHRISTMAS_ISLAND CountryCode = 55 CountryCode_COCOS_ISLANDS CountryCode = 56 CountryCode_COLOMBIA CountryCode = 57 CountryCode_COMOROS CountryCode = 58 CountryCode_CONGO_REPUBLIC CountryCode = 59 CountryCode_CONGO CountryCode = 60 CountryCode_COOK_ISLANDS CountryCode = 61 CountryCode_COSTA_RICA CountryCode = 62 CountryCode_COTE_DIVOIRE CountryCode = 63 CountryCode_CROATIA CountryCode = 64 CountryCode_CUBA CountryCode = 65 CountryCode_CURACAO CountryCode = 66 CountryCode_CYPRUS CountryCode = 67 CountryCode_CZECH_REPUBLIC CountryCode = 68 CountryCode_DENMARK CountryCode = 69 CountryCode_DJIBOUTI CountryCode = 70 CountryCode_DOMINICA CountryCode = 71 CountryCode_DOMINICAN_REPUBLIC CountryCode = 72 CountryCode_ECUADOR CountryCode = 73 CountryCode_EGYPT CountryCode = 74 CountryCode_EL_SALVADOR CountryCode = 75 CountryCode_EQUATORIAL_GUINEA CountryCode = 76 CountryCode_ERITREA CountryCode = 77 CountryCode_ESTONIA CountryCode = 78 CountryCode_ETHIOPIA CountryCode = 79 CountryCode_FALKLAND_ISLANDS CountryCode = 80 CountryCode_FAROE_ISLANDS CountryCode = 81 CountryCode_FIJI CountryCode = 82 CountryCode_FINLAND CountryCode = 83 CountryCode_FRANCE CountryCode = 84 CountryCode_FRENCH_GUIANA CountryCode = 85 CountryCode_FRENCH_POLYNESIA CountryCode = 86 CountryCode_FRENCH_SOUTHERN_TERRITORIES CountryCode = 87 CountryCode_GABON CountryCode = 88 CountryCode_GAMBIA CountryCode = 89 CountryCode_GEORGIA CountryCode = 90 CountryCode_GERMANY CountryCode = 91 CountryCode_GHANA CountryCode = 92 CountryCode_GIBRALTAR CountryCode = 93 CountryCode_GREECE CountryCode = 94 CountryCode_GREENLAND CountryCode = 95 CountryCode_GRENADA CountryCode = 96 CountryCode_GUADELOUPE CountryCode = 97 CountryCode_GUAM CountryCode = 98 CountryCode_GUATEMALA CountryCode = 99 CountryCode_GUERNSEY CountryCode = 100 CountryCode_GUINEA CountryCode = 101 CountryCode_GUINEA_BISSAU CountryCode = 102 CountryCode_GUYANA CountryCode = 103 CountryCode_HAITI CountryCode = 104 CountryCode_HEARD_ISLAND CountryCode = 105 CountryCode_HOLY_SEE CountryCode = 106 CountryCode_HONDURAS CountryCode = 107 CountryCode_HONG_KONG CountryCode = 108 CountryCode_HUNGARY CountryCode = 109 CountryCode_ICELAND CountryCode = 110 CountryCode_INDIA CountryCode = 111 CountryCode_INDONESIA CountryCode = 112 CountryCode_IRAN CountryCode = 113 CountryCode_IRAQ CountryCode = 114 CountryCode_IRELAND CountryCode = 115 CountryCode_ISLE_OF_MAN CountryCode = 116 CountryCode_ISRAEL CountryCode = 117 CountryCode_ITALY CountryCode = 118 CountryCode_JAMAICA CountryCode = 119 CountryCode_JAPAN CountryCode = 120 CountryCode_JERSEY CountryCode = 121 CountryCode_JORDAN CountryCode = 122 CountryCode_KAZAKHSTAN CountryCode = 123 CountryCode_KENYA CountryCode = 124 CountryCode_KIRIBATI CountryCode = 125 CountryCode_NORTH_KOREA CountryCode = 126 CountryCode_SOUTH_KOREA CountryCode = 127 CountryCode_KUWAIT CountryCode = 128 CountryCode_KYRGYZSTAN CountryCode = 129 CountryCode_LAO CountryCode = 130 CountryCode_LATVIA CountryCode = 131 CountryCode_LEBANON CountryCode = 132 CountryCode_LESOTHO CountryCode = 133 CountryCode_LIBERIA CountryCode = 134 CountryCode_LIBYA CountryCode = 135 CountryCode_LIECHTENSTEIN CountryCode = 136 CountryCode_LITHUANIA CountryCode = 137 CountryCode_LUXEMBOURG CountryCode = 138 CountryCode_MACAO CountryCode = 139 CountryCode_MACEDONIA CountryCode = 140 CountryCode_MADAGASCAR CountryCode = 141 CountryCode_MALAWI CountryCode = 142 CountryCode_MALAYSIA CountryCode = 143 CountryCode_MALDIVES CountryCode = 144 CountryCode_MALI CountryCode = 145 CountryCode_MALTA CountryCode = 146 CountryCode_MARSHALL_ISLANDS CountryCode = 147 CountryCode_MARTINIQUE CountryCode = 148 CountryCode_MAURITANIA CountryCode = 149 CountryCode_MAURITIUS CountryCode = 150 CountryCode_MAYOTTE CountryCode = 151 CountryCode_MEXICO CountryCode = 152 CountryCode_MICRONESIA CountryCode = 153 CountryCode_MOLDOVA CountryCode = 154 CountryCode_MONACO CountryCode = 155 CountryCode_MONGOLIA CountryCode = 156 CountryCode_MONTENEGRO CountryCode = 157 CountryCode_MONTSERRAT CountryCode = 158 CountryCode_MOROCCO CountryCode = 159 CountryCode_MOZAMBIQUE CountryCode = 160 CountryCode_MYANMAR CountryCode = 161 CountryCode_NAMIBIA CountryCode = 162 CountryCode_NAURU CountryCode = 163 CountryCode_NEPAL CountryCode = 164 CountryCode_NETHERLANDS CountryCode = 165 CountryCode_NEW_CALEDONIA CountryCode = 166 CountryCode_NEW_ZEALAND CountryCode = 167 CountryCode_NICARAGUA CountryCode = 168 CountryCode_NIGER CountryCode = 169 CountryCode_NIGERIA CountryCode = 170 CountryCode_NIUE CountryCode = 171 CountryCode_NORFOLK_ISLAND CountryCode = 172 CountryCode_NORTHERN_MARIANA_ISLANDS CountryCode = 173 CountryCode_NORWAY CountryCode = 174 CountryCode_OMAN CountryCode = 175 CountryCode_PAKISTAN CountryCode = 176 CountryCode_PALAU CountryCode = 177 CountryCode_PANAMA CountryCode = 178 CountryCode_PAPUA_NEW_GUINEA CountryCode = 179 CountryCode_PARAGUAY CountryCode = 180 CountryCode_PERU CountryCode = 181 CountryCode_PHILIPPINES CountryCode = 182 CountryCode_PITCAIRN CountryCode = 183 CountryCode_POLAND CountryCode = 184 CountryCode_PORTUGAL CountryCode = 185 CountryCode_PUERTO_RICO CountryCode = 186 CountryCode_QATAR CountryCode = 187 CountryCode_REUNION CountryCode = 188 CountryCode_ROMANIA CountryCode = 189 CountryCode_RUSSIA CountryCode = 190 CountryCode_RWANDA CountryCode = 191 CountryCode_SAINT_BARTHELEMY CountryCode = 192 CountryCode_SAINT_HELENA CountryCode = 193 CountryCode_SAINT_KITTS CountryCode = 194 CountryCode_SAINT_LUCIA CountryCode = 195 CountryCode_SAINT_MARTIN CountryCode = 196 CountryCode_SAINT_PIERRE CountryCode = 197 CountryCode_SAINT_VINCENT CountryCode = 198 CountryCode_SAMOA CountryCode = 199 CountryCode_SAN_MARINO CountryCode = 200 CountryCode_SAO_TOME CountryCode = 201 CountryCode_SAUDI_ARABIA CountryCode = 202 CountryCode_SENEGAL CountryCode = 203 CountryCode_SERBIA CountryCode = 204 CountryCode_SEYCHELLES CountryCode = 205 CountryCode_SIERRA_LEONE CountryCode = 206 CountryCode_SINGAPORE CountryCode = 207 CountryCode_SINT_MAARTEN CountryCode = 208 CountryCode_SUCRE CountryCode = 209 CountryCode_SLOVAKIA CountryCode = 210 CountryCode_SLOVENIA CountryCode = 211 CountryCode_SOLOMON_ISLANDS CountryCode = 212 CountryCode_SOMALIA CountryCode = 213 CountryCode_SOUTH_AFRICA CountryCode = 214 CountryCode_SOUTH_SUDAN CountryCode = 215 CountryCode_SPAIN CountryCode = 216 CountryCode_SRI_LANKA CountryCode = 217 CountryCode_SUDAN CountryCode = 218 CountryCode_SURINAME CountryCode = 219 CountryCode_SVALBARD CountryCode = 220 CountryCode_SWAZILAND CountryCode = 221 CountryCode_SWEDEN CountryCode = 222 CountryCode_SWITZERLAND CountryCode = 223 CountryCode_SYRIAN_ARAB_REPUBLIC CountryCode = 224 CountryCode_TAIWAN CountryCode = 225 CountryCode_TAJIKISTAN CountryCode = 226 CountryCode_TANZANIA CountryCode = 227 CountryCode_THAILAND CountryCode = 228 CountryCode_TIMOR_LESTE CountryCode = 229 CountryCode_TOGO CountryCode = 230 CountryCode_TOKELAU CountryCode = 231 CountryCode_TONGA CountryCode = 232 CountryCode_TRINIDAD CountryCode = 233 CountryCode_TUNISIA CountryCode = 234 CountryCode_TURKEY CountryCode = 235 CountryCode_TURKMENISTAN CountryCode = 236 CountryCode_TURKS_AND_CAICOS_ISLANDS CountryCode = 237 CountryCode_TUVALU CountryCode = 238 CountryCode_UGANDA CountryCode = 239 CountryCode_UKRAINE CountryCode = 240 CountryCode_UNITED_ARAB_EMIRATES CountryCode = 241 CountryCode_UNITED_KINGDOM CountryCode = 242 CountryCode_UNITED_STATES CountryCode = 243 CountryCode_URUGUAY CountryCode = 244 CountryCode_UZBEKISTAN CountryCode = 245 CountryCode_VANUATU CountryCode = 246 CountryCode_VENEZUELA CountryCode = 247 CountryCode_VIETNAM CountryCode = 248 CountryCode_VIRGIN_ISLANDS_BRITISH CountryCode = 249 CountryCode_VIRGIN_ISLANDS_US CountryCode = 250 CountryCode_WALLIS_AND_FUTUNA CountryCode = 251 CountryCode_WESTERN_SAHARA CountryCode = 252 CountryCode_YEMEN CountryCode = 253 CountryCode_ZAMBIA CountryCode = 254 CountryCode_ZIMBABWE CountryCode = 255 )
func (CountryCode) EnumDescriptor ¶
func (CountryCode) EnumDescriptor() ([]byte, []int)
func (CountryCode) String ¶
func (x CountryCode) String() string
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) 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) GetOutpoints ¶ added in v0.3.0
func (*Dispute) GetTimestamp ¶ added in v0.3.0
func (m *Dispute) GetTimestamp() *google_protobuf.Timestamp
func (*Dispute) ProtoMessage ¶
func (*Dispute) 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"` }
func (*DisputeResolution) Descriptor ¶
func (*DisputeResolution) Descriptor() ([]byte, []int)
func (*DisputeResolution) GetPayout ¶ added in v0.3.0
func (m *DisputeResolution) GetPayout() *DisputeResolution_Payout
func (*DisputeResolution) GetTimestamp ¶ added in v0.3.0
func (m *DisputeResolution) GetTimestamp() *google_protobuf.Timestamp
func (*DisputeResolution) ProtoMessage ¶
func (*DisputeResolution) ProtoMessage()
func (*DisputeResolution) Reset ¶
func (m *DisputeResolution) Reset()
func (*DisputeResolution) String ¶
func (m *DisputeResolution) String() string
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()
func (*DisputeResolution_Payout) Reset ¶ added in v0.3.0
func (m *DisputeResolution_Payout) Reset()
func (*DisputeResolution_Payout) String ¶ added in v0.3.0
func (m *DisputeResolution_Payout) String() string
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) ProtoMessage ¶ added in v0.3.0
func (*DisputeResolution_Payout_Output) ProtoMessage()
func (*DisputeResolution_Payout_Output) Reset ¶ added in v0.3.0
func (m *DisputeResolution_Payout_Output) Reset()
func (*DisputeResolution_Payout_Output) String ¶ added in v0.3.0
func (m *DisputeResolution_Payout_Output) String() string
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) GetOutpoints ¶ added in v0.3.0
func (m *DisputeUpdate) GetOutpoints() []*Outpoint
func (*DisputeUpdate) ProtoMessage ¶ added in v0.3.0
func (*DisputeUpdate) ProtoMessage()
func (*DisputeUpdate) Reset ¶ added in v0.3.0
func (m *DisputeUpdate) Reset()
func (*DisputeUpdate) String ¶ added in v0.3.0
func (m *DisputeUpdate) String() string
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) GetMessage ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
type ID ¶
type ID struct { Guid string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"` BlockchainID string `protobuf:"bytes,2,opt,name=blockchainID" json:"blockchainID,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) GetPubkeys ¶
func (m *ID) GetPubkeys() *ID_Pubkeys
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
type ID_Pubkeys ¶
type ID_Pubkeys struct { Guid []byte `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,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) ProtoMessage ¶
func (*ID_Pubkeys) ProtoMessage()
func (*ID_Pubkeys) Reset ¶
func (m *ID_Pubkeys) Reset()
func (*ID_Pubkeys) String ¶
func (m *ID_Pubkeys) String() string
type Inventory ¶ added in v0.1.1
type Inventory struct { Item string `protobuf:"bytes,1,opt,name=item" json:"item,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` }
func (*Inventory) Descriptor ¶ added in v0.1.1
func (*Inventory) ProtoMessage ¶ added in v0.1.1
func (*Inventory) 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) GetCoupons ¶
func (m *Listing) GetCoupons() []*Listing_Coupon
func (*Listing) GetItem ¶
func (m *Listing) GetItem() *Listing_Item
func (*Listing) GetMetadata ¶
func (m *Listing) GetMetadata() *Listing_Metadata
func (*Listing) GetShippingOptions ¶
func (m *Listing) GetShippingOptions() []*Listing_ShippingOption
func (*Listing) GetTaxes ¶
func (m *Listing) GetTaxes() []*Listing_Tax
func (*Listing) GetVendorID ¶
func (*Listing) ProtoMessage ¶
func (*Listing) ProtoMessage()
type ListingReqApi ¶ added in v0.1.1
type ListingReqApi struct { Listing *Listing `protobuf:"bytes,1,opt,name=listing" json:"listing,omitempty"` Inventory []*Inventory `protobuf:"bytes,2,rep,name=inventory" json:"inventory,omitempty"` }
func (*ListingReqApi) Descriptor ¶ added in v0.1.1
func (*ListingReqApi) Descriptor() ([]byte, []int)
func (*ListingReqApi) GetInventory ¶ added in v0.1.1
func (m *ListingReqApi) GetInventory() []*Inventory
func (*ListingReqApi) GetListing ¶ added in v0.1.1
func (m *ListingReqApi) GetListing() *Listing
func (*ListingReqApi) ProtoMessage ¶ added in v0.1.1
func (*ListingReqApi) ProtoMessage()
func (*ListingReqApi) Reset ¶ added in v0.1.1
func (m *ListingReqApi) Reset()
func (*ListingReqApi) String ¶ added in v0.1.1
func (m *ListingReqApi) String() string
type ListingRespApi ¶ added in v0.1.1
type ListingRespApi struct { Contract *RicardianContract `protobuf:"bytes,1,opt,name=contract" json:"contract,omitempty"` Inventory []*Inventory `protobuf:"bytes,2,rep,name=inventory" json:"inventory,omitempty"` }
func (*ListingRespApi) Descriptor ¶ added in v0.1.1
func (*ListingRespApi) Descriptor() ([]byte, []int)
func (*ListingRespApi) GetContract ¶ added in v0.1.1
func (m *ListingRespApi) GetContract() *RicardianContract
func (*ListingRespApi) GetInventory ¶ added in v0.1.1
func (m *ListingRespApi) GetInventory() []*Inventory
func (*ListingRespApi) ProtoMessage ¶ added in v0.1.1
func (*ListingRespApi) ProtoMessage()
func (*ListingRespApi) Reset ¶ added in v0.1.1
func (m *ListingRespApi) Reset()
func (*ListingRespApi) String ¶ added in v0.1.1
func (m *ListingRespApi) String() string
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) GetHash ¶ added in v0.5.0
func (m *Listing_Coupon) GetHash() 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) Reset ¶
func (m *Listing_Coupon) Reset()
func (*Listing_Coupon) String ¶
func (m *Listing_Coupon) String() string
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"` Sku string `protobuf:"bytes,9,opt,name=sku" json:"sku,omitempty"` Grams float32 `protobuf:"fixed32,10,opt,name=grams" json:"grams,omitempty"` Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"` Options []*Listing_Item_Option `protobuf:"bytes,12,rep,name=options" json:"options,omitempty"` }
func (*Listing_Item) Descriptor ¶
func (*Listing_Item) Descriptor() ([]byte, []int)
func (*Listing_Item) GetImages ¶
func (m *Listing_Item) GetImages() []*Listing_Item_Image
func (*Listing_Item) GetOptions ¶
func (m *Listing_Item) GetOptions() []*Listing_Item_Option
func (*Listing_Item) ProtoMessage ¶
func (*Listing_Item) ProtoMessage()
func (*Listing_Item) Reset ¶
func (m *Listing_Item) Reset()
func (*Listing_Item) String ¶
func (m *Listing_Item) String() string
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) ProtoMessage ¶
func (*Listing_Item_Image) ProtoMessage()
func (*Listing_Item_Image) Reset ¶
func (m *Listing_Item_Image) Reset()
func (*Listing_Item_Image) String ¶
func (m *Listing_Item_Image) String() string
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_Variants `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) GetVariants ¶
func (m *Listing_Item_Option) GetVariants() []*Listing_Item_Option_Variants
func (*Listing_Item_Option) ProtoMessage ¶
func (*Listing_Item_Option) ProtoMessage()
func (*Listing_Item_Option) Reset ¶
func (m *Listing_Item_Option) Reset()
func (*Listing_Item_Option) String ¶
func (m *Listing_Item_Option) String() string
type Listing_Item_Option_Variants ¶
type Listing_Item_Option_Variants 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"` PriceModifier int64 `protobuf:"varint,3,opt,name=priceModifier" json:"priceModifier,omitempty"` }
func (*Listing_Item_Option_Variants) Descriptor ¶
func (*Listing_Item_Option_Variants) Descriptor() ([]byte, []int)
func (*Listing_Item_Option_Variants) GetImage ¶
func (m *Listing_Item_Option_Variants) GetImage() *Listing_Item_Image
func (*Listing_Item_Option_Variants) ProtoMessage ¶
func (*Listing_Item_Option_Variants) ProtoMessage()
func (*Listing_Item_Option_Variants) Reset ¶
func (m *Listing_Item_Option_Variants) Reset()
func (*Listing_Item_Option_Variants) String ¶
func (m *Listing_Item_Option_Variants) String() string
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"` AcceptedCurrency string `protobuf:"bytes,5,opt,name=acceptedCurrency" json:"acceptedCurrency,omitempty"` PricingCurrency string `protobuf:"bytes,6,opt,name=pricingCurrency" json:"pricingCurrency,omitempty"` }
func (*Listing_Metadata) Descriptor ¶
func (*Listing_Metadata) Descriptor() ([]byte, []int)
func (*Listing_Metadata) GetExpiry ¶ added in v0.1.1
func (m *Listing_Metadata) GetExpiry() *google_protobuf.Timestamp
func (*Listing_Metadata) ProtoMessage ¶
func (*Listing_Metadata) ProtoMessage()
func (*Listing_Metadata) Reset ¶
func (m *Listing_Metadata) Reset()
func (*Listing_Metadata) String ¶
func (m *Listing_Metadata) String() string
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)
func (Listing_Metadata_ContractType) String ¶
func (x Listing_Metadata_ContractType) String() string
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)
func (Listing_Metadata_Format) String ¶ added in v0.2.0
func (x Listing_Metadata_Format) String() string
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,name=regions,enum=CountryCode" json:"regions,omitempty"` ShippingRules *Listing_ShippingOption_ShippingRules `protobuf:"bytes,4,opt,name=shippingRules" json:"shippingRules,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) GetServices ¶ added in v0.1.1
func (m *Listing_ShippingOption) GetServices() []*Listing_ShippingOption_Service
func (*Listing_ShippingOption) GetShippingRules ¶ added in v0.1.1
func (m *Listing_ShippingOption) GetShippingRules() *Listing_ShippingOption_ShippingRules
func (*Listing_ShippingOption) ProtoMessage ¶
func (*Listing_ShippingOption) ProtoMessage()
func (*Listing_ShippingOption) Reset ¶
func (m *Listing_ShippingOption) Reset()
func (*Listing_ShippingOption) String ¶
func (m *Listing_ShippingOption) String() string
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"` }
func (*Listing_ShippingOption_Service) Descriptor ¶ added in v0.1.1
func (*Listing_ShippingOption_Service) Descriptor() ([]byte, []int)
func (*Listing_ShippingOption_Service) ProtoMessage ¶ added in v0.1.1
func (*Listing_ShippingOption_Service) ProtoMessage()
func (*Listing_ShippingOption_Service) Reset ¶ added in v0.1.1
func (m *Listing_ShippingOption_Service) Reset()
func (*Listing_ShippingOption_Service) String ¶ added in v0.1.1
func (m *Listing_ShippingOption_Service) String() string
type Listing_ShippingOption_ShippingRules ¶ added in v0.1.1
type Listing_ShippingOption_ShippingRules struct { RuleType Listing_ShippingOption_ShippingRules_RuleType `protobuf:"varint,1,opt,name=ruleType,enum=Listing_ShippingOption_ShippingRules_RuleType" json:"ruleType,omitempty"` Rules []*Listing_ShippingOption_ShippingRules_Rule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"` }
func (*Listing_ShippingOption_ShippingRules) Descriptor ¶ added in v0.1.1
func (*Listing_ShippingOption_ShippingRules) Descriptor() ([]byte, []int)
func (*Listing_ShippingOption_ShippingRules) GetRules ¶ added in v0.1.1
func (m *Listing_ShippingOption_ShippingRules) GetRules() []*Listing_ShippingOption_ShippingRules_Rule
func (*Listing_ShippingOption_ShippingRules) ProtoMessage ¶ added in v0.1.1
func (*Listing_ShippingOption_ShippingRules) ProtoMessage()
func (*Listing_ShippingOption_ShippingRules) Reset ¶ added in v0.1.1
func (m *Listing_ShippingOption_ShippingRules) Reset()
func (*Listing_ShippingOption_ShippingRules) String ¶ added in v0.1.1
func (m *Listing_ShippingOption_ShippingRules) String() string
type Listing_ShippingOption_ShippingRules_Rule ¶ added in v0.1.1
type Listing_ShippingOption_ShippingRules_Rule struct { MinRange uint32 `protobuf:"varint,1,opt,name=minRange" json:"minRange,omitempty"` MaxRange uint32 `protobuf:"varint,2,opt,name=maxRange" json:"maxRange,omitempty"` Price uint64 `protobuf:"varint,3,opt,name=price" json:"price,omitempty"` }
func (*Listing_ShippingOption_ShippingRules_Rule) Descriptor ¶ added in v0.1.1
func (*Listing_ShippingOption_ShippingRules_Rule) Descriptor() ([]byte, []int)
func (*Listing_ShippingOption_ShippingRules_Rule) ProtoMessage ¶ added in v0.1.1
func (*Listing_ShippingOption_ShippingRules_Rule) ProtoMessage()
func (*Listing_ShippingOption_ShippingRules_Rule) Reset ¶ added in v0.1.1
func (m *Listing_ShippingOption_ShippingRules_Rule) Reset()
func (*Listing_ShippingOption_ShippingRules_Rule) String ¶ added in v0.1.1
func (m *Listing_ShippingOption_ShippingRules_Rule) String() string
type Listing_ShippingOption_ShippingRules_RuleType ¶ added in v0.1.1
type Listing_ShippingOption_ShippingRules_RuleType int32
const ( Listing_ShippingOption_ShippingRules_QUANTITY_DISCOUNT Listing_ShippingOption_ShippingRules_RuleType = 0 Listing_ShippingOption_ShippingRules_FLAT_FEE_QUANTITY_RANGE Listing_ShippingOption_ShippingRules_RuleType = 1 Listing_ShippingOption_ShippingRules_FLAT_FEE_WEIGHT_RANGE Listing_ShippingOption_ShippingRules_RuleType = 2 Listing_ShippingOption_ShippingRules_COMBINED_SHIPPING_ADD Listing_ShippingOption_ShippingRules_RuleType = 3 Listing_ShippingOption_ShippingRules_COMBINED_SHIPPING_SUBTRACT Listing_ShippingOption_ShippingRules_RuleType = 4 )
func (Listing_ShippingOption_ShippingRules_RuleType) EnumDescriptor ¶ added in v0.1.1
func (Listing_ShippingOption_ShippingRules_RuleType) EnumDescriptor() ([]byte, []int)
func (Listing_ShippingOption_ShippingRules_RuleType) String ¶ added in v0.1.1
func (x Listing_ShippingOption_ShippingRules_RuleType) String() string
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)
func (Listing_ShippingOption_ShippingType) String ¶
func (x Listing_ShippingOption_ShippingType) String() string
type Listing_Tax ¶
type Listing_Tax struct { TaxType string `protobuf:"bytes,1,opt,name=taxType" json:"taxType,omitempty"` TaxRegions []CountryCode `protobuf:"varint,2,rep,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) ProtoMessage ¶
func (*Listing_Tax) ProtoMessage()
func (*Listing_Tax) Reset ¶
func (m *Listing_Tax) Reset()
func (*Listing_Tax) String ¶
func (m *Listing_Tax) String() string
type Message ¶
type Message struct { MessageType Message_MessageType `protobuf:"varint,1,opt,name=messageType,enum=Message_MessageType" json:"messageType,omitempty"` Payload *google_protobuf.Any `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` }
func (*Message) Descriptor ¶
func (*Message) GetPayload ¶
func (m *Message) GetPayload() *google_protobuf.Any
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_ERROR Message_MessageType = 500 )
func (Message_MessageType) EnumDescriptor ¶
func (Message_MessageType) EnumDescriptor() ([]byte, []int)
func (Message_MessageType) String ¶
func (x Message_MessageType) String() string
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"` Fee *Moderator_Fee `protobuf:"bytes,4,opt,name=fee" json:"fee,omitempty"` }
func (*Moderator) Descriptor ¶ added in v0.1.1
func (*Moderator) GetFee ¶ added in v0.1.1
func (m *Moderator) GetFee() *Moderator_Fee
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) GetFixedFee ¶ added in v0.1.1
func (m *Moderator_Fee) GetFixedFee() *Moderator_Price
func (*Moderator_Fee) ProtoMessage ¶ added in v0.1.1
func (*Moderator_Fee) ProtoMessage()
func (*Moderator_Fee) Reset ¶ added in v0.1.1
func (m *Moderator_Fee) Reset()
func (*Moderator_Fee) String ¶ added in v0.1.1
func (m *Moderator_Fee) String() string
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)
func (Moderator_Fee_FeeType) String ¶ added in v0.1.1
func (x Moderator_Fee_FeeType) String() string
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) ProtoMessage ¶ added in v0.1.1
func (*Moderator_Price) ProtoMessage()
func (*Moderator_Price) Reset ¶ added in v0.1.1
func (m *Moderator_Price) Reset()
func (*Moderator_Price) String ¶ added in v0.1.1
func (m *Moderator_Price) String() string
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"` }
func (*Order) Descriptor ¶
func (*Order) GetBuyerID ¶
func (*Order) GetItems ¶
func (m *Order) GetItems() []*Order_Item
func (*Order) GetPayment ¶
func (m *Order) GetPayment() *Order_Payment
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) 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"` PayoutSigs []*BitcoinSignature `protobuf:"bytes,2,rep,name=payoutSigs" json:"payoutSigs,omitempty"` Ratings []*OrderCompletion_Rating `protobuf:"bytes,3,rep,name=ratings" json:"ratings,omitempty"` }
func (*OrderCompletion) Descriptor ¶ added in v0.2.2
func (*OrderCompletion) Descriptor() ([]byte, []int)
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() []*OrderCompletion_Rating
func (*OrderCompletion) ProtoMessage ¶ added in v0.2.2
func (*OrderCompletion) ProtoMessage()
func (*OrderCompletion) Reset ¶ added in v0.2.2
func (m *OrderCompletion) Reset()
func (*OrderCompletion) String ¶ added in v0.2.2
func (m *OrderCompletion) String() string
type OrderCompletion_Rating ¶ added in v0.2.2
type OrderCompletion_Rating struct { RatingData *OrderCompletion_Rating_RatingData `protobuf:"bytes,1,opt,name=ratingData" json:"ratingData,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*OrderCompletion_Rating) Descriptor ¶ added in v0.2.2
func (*OrderCompletion_Rating) Descriptor() ([]byte, []int)
func (*OrderCompletion_Rating) GetRatingData ¶ added in v0.2.2
func (m *OrderCompletion_Rating) GetRatingData() *OrderCompletion_Rating_RatingData
func (*OrderCompletion_Rating) ProtoMessage ¶ added in v0.2.2
func (*OrderCompletion_Rating) ProtoMessage()
func (*OrderCompletion_Rating) Reset ¶ added in v0.2.2
func (m *OrderCompletion_Rating) Reset()
func (*OrderCompletion_Rating) String ¶ added in v0.2.2
func (m *OrderCompletion_Rating) String() string
type OrderCompletion_Rating_RatingData ¶ added in v0.2.2
type OrderCompletion_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"` BuyerID *ID `protobuf:"bytes,3,opt,name=buyerID" json:"buyerID,omitempty"` ModeratorID *ID `protobuf:"bytes,4,opt,name=moderatorID" json:"moderatorID,omitempty"` VendorSig *RatingSignature `protobuf:"bytes,5,opt,name=vendorSig" json:"vendorSig,omitempty"` ModeratorSig []byte `protobuf:"bytes,6,opt,name=moderatorSig,proto3" json:"moderatorSig,omitempty"` Timestamp *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=timestamp" json:"timestamp,omitempty"` Overall uint32 `protobuf:"varint,8,opt,name=overall" json:"overall,omitempty"` Quality uint32 `protobuf:"varint,9,opt,name=quality" json:"quality,omitempty"` Description uint32 `protobuf:"varint,10,opt,name=description" json:"description,omitempty"` DeliverySpeed uint32 `protobuf:"varint,11,opt,name=deliverySpeed" json:"deliverySpeed,omitempty"` CustomerService uint32 `protobuf:"varint,12,opt,name=customerService" json:"customerService,omitempty"` Review string `protobuf:"bytes,13,opt,name=review" json:"review,omitempty"` }
func (*OrderCompletion_Rating_RatingData) Descriptor ¶ added in v0.2.2
func (*OrderCompletion_Rating_RatingData) Descriptor() ([]byte, []int)
func (*OrderCompletion_Rating_RatingData) GetBuyerID ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) GetBuyerID() *ID
func (*OrderCompletion_Rating_RatingData) GetModeratorID ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) GetModeratorID() *ID
func (*OrderCompletion_Rating_RatingData) GetTimestamp ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) GetTimestamp() *google_protobuf.Timestamp
func (*OrderCompletion_Rating_RatingData) GetVendorID ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) GetVendorID() *ID
func (*OrderCompletion_Rating_RatingData) GetVendorSig ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) GetVendorSig() *RatingSignature
func (*OrderCompletion_Rating_RatingData) ProtoMessage ¶ added in v0.2.2
func (*OrderCompletion_Rating_RatingData) ProtoMessage()
func (*OrderCompletion_Rating_RatingData) Reset ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) Reset()
func (*OrderCompletion_Rating_RatingData) String ¶ added in v0.2.2
func (m *OrderCompletion_Rating_RatingData) String() string
type OrderConfirmation ¶
type OrderConfirmation struct { OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"` // Direct payments only PaymentAddress string `protobuf:"bytes,2,opt,name=paymentAddress" json:"paymentAddress,omitempty"` RequestedAmount uint64 `protobuf:"varint,3,opt,name=requestedAmount" json:"requestedAmount,omitempty"` PayoutFee uint64 `protobuf:"varint,4,opt,name=payoutFee" json:"payoutFee,omitempty"` RatingSignatures []*RatingSignature `protobuf:"bytes,5,rep,name=ratingSignatures" json:"ratingSignatures,omitempty"` }
func (*OrderConfirmation) Descriptor ¶
func (*OrderConfirmation) Descriptor() ([]byte, []int)
func (*OrderConfirmation) GetRatingSignatures ¶ added in v0.2.2
func (m *OrderConfirmation) GetRatingSignatures() []*RatingSignature
func (*OrderConfirmation) ProtoMessage ¶
func (*OrderConfirmation) ProtoMessage()
func (*OrderConfirmation) Reset ¶
func (m *OrderConfirmation) Reset()
func (*OrderConfirmation) String ¶
func (m *OrderConfirmation) String() string
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"` // Physical goods only PhysicalDelivery []*OrderFulfillment_PhysicalDelivery `protobuf:"bytes,3,rep,name=physicalDelivery" json:"physicalDelivery,omitempty"` // Digital goods only DigitalDelivery []*OrderFulfillment_DigitalDelivery `protobuf:"bytes,4,rep,name=digitalDelivery" json:"digitalDelivery,omitempty"` // Moderated payments only Payout *OrderFulfillment_Payout `protobuf:"bytes,5,opt,name=payout" json:"payout,omitempty"` RatingSignature *RatingSignature `protobuf:"bytes,6,opt,name=ratingSignature" json:"ratingSignature,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) 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) ProtoMessage ¶ added in v0.1.1
func (*OrderFulfillment) ProtoMessage()
func (*OrderFulfillment) Reset ¶ added in v0.1.1
func (m *OrderFulfillment) Reset()
func (*OrderFulfillment) String ¶ added in v0.1.1
func (m *OrderFulfillment) String() string
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) ProtoMessage ¶ added in v0.2.1
func (*OrderFulfillment_DigitalDelivery) ProtoMessage()
func (*OrderFulfillment_DigitalDelivery) Reset ¶ added in v0.2.1
func (m *OrderFulfillment_DigitalDelivery) Reset()
func (*OrderFulfillment_DigitalDelivery) String ¶ added in v0.2.1
func (m *OrderFulfillment_DigitalDelivery) String() string
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) 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()
func (*OrderFulfillment_Payout) Reset ¶ added in v0.2.1
func (m *OrderFulfillment_Payout) Reset()
func (*OrderFulfillment_Payout) String ¶ added in v0.2.1
func (m *OrderFulfillment_Payout) String() string
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) ProtoMessage ¶ added in v0.2.1
func (*OrderFulfillment_PhysicalDelivery) ProtoMessage()
func (*OrderFulfillment_PhysicalDelivery) Reset ¶ added in v0.2.1
func (m *OrderFulfillment_PhysicalDelivery) Reset()
func (*OrderFulfillment_PhysicalDelivery) String ¶ added in v0.2.1
func (m *OrderFulfillment_PhysicalDelivery) String() string
type OrderReject ¶ added in v0.2.1
type OrderReject struct { OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"` Sigs []*BitcoinSignature `protobuf:"bytes,2,rep,name=sigs" json:"sigs,omitempty"` }
func (*OrderReject) Descriptor ¶ added in v0.2.1
func (*OrderReject) Descriptor() ([]byte, []int)
func (*OrderReject) GetSigs ¶ added in v0.2.1
func (m *OrderReject) GetSigs() []*BitcoinSignature
func (*OrderReject) ProtoMessage ¶ added in v0.2.1
func (*OrderReject) ProtoMessage()
func (*OrderReject) Reset ¶ added in v0.2.1
func (m *OrderReject) Reset()
func (*OrderReject) String ¶ added in v0.2.1
func (m *OrderReject) String() string
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"` Transactions []*TransactionRecord `protobuf:"bytes,5,rep,name=transactions" json:"transactions,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) GetTransactions ¶ added in v0.2.1
func (m *OrderRespApi) GetTransactions() []*TransactionRecord
func (*OrderRespApi) ProtoMessage ¶ added in v0.2.1
func (*OrderRespApi) ProtoMessage()
func (*OrderRespApi) Reset ¶ added in v0.2.1
func (m *OrderRespApi) Reset()
func (*OrderRespApi) String ¶ added in v0.2.1
func (m *OrderRespApi) String() string
type OrderState ¶ added in v0.1.2
type OrderState int32
const ( // New order, has not yet been accepted by the vendor OrderState_PENDING OrderState = 0 // Vendor has accepted the order and is awaiting payment OrderState_CONFIRMED OrderState = 1 // Buyer has funded the order OrderState_FUNDED OrderState = 2 // Vendor has shipped the item/sent the digitial good OrderState_FULFILLED OrderState = 3 // Buyer has completed the order, released the funds, and left a review OrderState_COMPLETE OrderState = 4 // Contract is under active dispute OrderState_DISPUTED OrderState = 5 // The moderator has resolved the dispute and we are waiting for the winning party to // accept the payout. OrderState_DECIDED OrderState = 6 // 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 = 7 // Vendor refunded the order OrderState_REFUNDED OrderState = 8 // Buyer canceled the order (offline order only) OrderState_CANCELED OrderState = 9 // Vendor declined to confirm the order (offline order only) OrderState_REJECTED OrderState = 10 )
func (OrderState) EnumDescriptor ¶ added in v0.1.2
func (OrderState) EnumDescriptor() ([]byte, []int)
func (OrderState) String ¶ added in v0.1.2
func (x OrderState) String() string
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) GetOptions ¶
func (m *Order_Item) GetOptions() []*Order_Item_Option
func (*Order_Item) GetShippingOption ¶
func (m *Order_Item) GetShippingOption() *Order_Item_ShippingOption
func (*Order_Item) ProtoMessage ¶
func (*Order_Item) ProtoMessage()
func (*Order_Item) Reset ¶
func (m *Order_Item) Reset()
func (*Order_Item) String ¶
func (m *Order_Item) String() string
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()
func (*Order_Item_Option) Reset ¶
func (m *Order_Item_Option) Reset()
func (*Order_Item_Option) String ¶
func (m *Order_Item_Option) String() string
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) ProtoMessage ¶
func (*Order_Item_ShippingOption) ProtoMessage()
func (*Order_Item_ShippingOption) Reset ¶
func (m *Order_Item_ShippingOption) Reset()
func (*Order_Item_ShippingOption) String ¶
func (m *Order_Item_ShippingOption) String() string
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"` ExchangeRate uint64 `protobuf:"varint,4,opt,name=exchangeRate" json:"exchangeRate,omitempty"` Chaincode string `protobuf:"bytes,6,opt,name=chaincode" json:"chaincode,omitempty"` Address string `protobuf:"bytes,7,opt,name=address" json:"address,omitempty"` RedeemScript string `protobuf:"bytes,8,opt,name=redeemScript" json:"redeemScript,omitempty"` }
func (*Order_Payment) Descriptor ¶
func (*Order_Payment) Descriptor() ([]byte, []int)
func (*Order_Payment) ProtoMessage ¶
func (*Order_Payment) ProtoMessage()
func (*Order_Payment) Reset ¶
func (m *Order_Payment) Reset()
func (*Order_Payment) String ¶
func (m *Order_Payment) String() string
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)
func (Order_Payment_Method) String ¶
func (x Order_Payment_Method) String() string
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) ProtoMessage ¶
func (*Order_Shipping) ProtoMessage()
func (*Order_Shipping) Reset ¶
func (m *Order_Shipping) Reset()
func (*Order_Shipping) String ¶
func (m *Order_Shipping) String() string
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) ProtoMessage ¶ added in v0.3.0
func (*Outpoint) ProtoMessage()
type Profile ¶
type Profile struct { Handle string `protobuf:"bytes,1,opt,name=handle" json:"handle,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Location string `protobuf:"bytes,3,opt,name=location" json:"location,omitempty"` About string `protobuf:"bytes,4,opt,name=about" json:"about,omitempty"` ShortDescription string `protobuf:"bytes,5,opt,name=shortDescription" json:"shortDescription,omitempty"` Website string `protobuf:"bytes,6,opt,name=website" json:"website,omitempty"` Email string `protobuf:"bytes,7,opt,name=email" json:"email,omitempty"` PhoneNumber string `protobuf:"bytes,8,opt,name=phoneNumber" json:"phoneNumber,omitempty"` Social []*Profile_SocialAccount `protobuf:"bytes,9,rep,name=social" json:"social,omitempty"` AvgRating uint32 `protobuf:"varint,10,opt,name=avgRating" json:"avgRating,omitempty"` NumRatings uint32 `protobuf:"varint,11,opt,name=numRatings" json:"numRatings,omitempty"` Nsfw bool `protobuf:"varint,12,opt,name=nsfw" json:"nsfw,omitempty"` Vendor bool `protobuf:"varint,13,opt,name=vendor" json:"vendor,omitempty"` Moderator bool `protobuf:"varint,14,opt,name=moderator" json:"moderator,omitempty"` ModInfo *Moderator `protobuf:"bytes,15,opt,name=modInfo" json:"modInfo,omitempty"` PrimaryColor string `protobuf:"bytes,16,opt,name=primaryColor" json:"primaryColor,omitempty"` SecondaryColor string `protobuf:"bytes,17,opt,name=secondaryColor" json:"secondaryColor,omitempty"` TextColor string `protobuf:"bytes,18,opt,name=textColor" json:"textColor,omitempty"` HighlightColor string `protobuf:"bytes,19,opt,name=highlightColor" json:"highlightColor,omitempty"` HighlightTextColor string `protobuf:"bytes,20,opt,name=highlightTextColor" json:"highlightTextColor,omitempty"` AvatarHashes *Profile_Image `protobuf:"bytes,21,opt,name=avatarHashes" json:"avatarHashes,omitempty"` HeaderHashes *Profile_Image `protobuf:"bytes,22,opt,name=headerHashes" json:"headerHashes,omitempty"` FollowerCount uint32 `protobuf:"varint,23,opt,name=followerCount" json:"followerCount,omitempty"` FollowingCount uint32 `protobuf:"varint,24,opt,name=followingCount" json:"followingCount,omitempty"` ListingCount uint32 `protobuf:"varint,25,opt,name=listingCount" json:"listingCount,omitempty"` BitcoinPubkey string `protobuf:"bytes,26,opt,name=bitcoinPubkey" json:"bitcoinPubkey,omitempty"` LastModified *google_protobuf.Timestamp `protobuf:"bytes,27,opt,name=lastModified" json:"lastModified,omitempty"` }
func (*Profile) Descriptor ¶
func (*Profile) GetAvatarHashes ¶ added in v0.2.1
func (m *Profile) GetAvatarHashes() *Profile_Image
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) GetModInfo ¶ added in v0.4.0
func (*Profile) GetSocial ¶
func (m *Profile) GetSocial() []*Profile_SocialAccount
func (*Profile) ProtoMessage ¶
func (*Profile) 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) ProtoMessage ¶ added in v0.2.1
func (*Profile_Image) ProtoMessage()
func (*Profile_Image) Reset ¶ added in v0.2.1
func (m *Profile_Image) Reset()
func (*Profile_Image) String ¶ added in v0.2.1
func (m *Profile_Image) String() string
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) ProtoMessage ¶
func (*Profile_SocialAccount) ProtoMessage()
func (*Profile_SocialAccount) Reset ¶
func (m *Profile_SocialAccount) Reset()
func (*Profile_SocialAccount) String ¶
func (m *Profile_SocialAccount) String() string
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) ProtoMessage ¶ added in v0.2.2
func (*RatingSignature) ProtoMessage()
func (*RatingSignature) Reset ¶ added in v0.2.2
func (m *RatingSignature) Reset()
func (*RatingSignature) String ¶ added in v0.2.2
func (m *RatingSignature) String() string
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"` }
func (*RatingSignature_TransactionMetadata) Descriptor ¶ added in v0.2.2
func (*RatingSignature_TransactionMetadata) Descriptor() ([]byte, []int)
func (*RatingSignature_TransactionMetadata) ProtoMessage ¶ added in v0.2.2
func (*RatingSignature_TransactionMetadata) ProtoMessage()
func (*RatingSignature_TransactionMetadata) Reset ¶ added in v0.2.2
func (m *RatingSignature_TransactionMetadata) Reset()
func (*RatingSignature_TransactionMetadata) String ¶ added in v0.2.2
func (m *RatingSignature_TransactionMetadata) String() string
type Refund ¶
type Refund struct { OrderID string `protobuf:"bytes,1,opt,name=orderID" json:"orderID,omitempty"` Sigs []*BitcoinSignature `protobuf:"bytes,2,rep,name=sigs" json:"sigs,omitempty"` Memo string `protobuf:"bytes,3,opt,name=memo" json:"memo,omitempty"` }
func (*Refund) Descriptor ¶
func (*Refund) GetSigs ¶ added in v0.2.1
func (m *Refund) GetSigs() []*BitcoinSignature
func (*Refund) ProtoMessage ¶
func (*Refund) 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"` Refund *Refund `protobuf:"bytes,8,opt,name=refund" json:"refund,omitempty"` Signatures []*Signature `protobuf:"bytes,9,rep,name=signatures" json:"signatures,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) GetDisputeResolution ¶
func (m *RicardianContract) GetDisputeResolution() *DisputeResolution
func (*RicardianContract) GetRefund ¶
func (m *RicardianContract) GetRefund() *Refund
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()
func (*RicardianContract) Reset ¶
func (m *RicardianContract) Reset()
func (*RicardianContract) String ¶
func (m *RicardianContract) String() string
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) 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)
func (Signature_Section) String ¶ added in v0.2.3
func (x Signature_Section) String() string
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"` }
func (*TransactionRecord) Descriptor ¶ added in v0.2.1
func (*TransactionRecord) Descriptor() ([]byte, []int)
func (*TransactionRecord) ProtoMessage ¶ added in v0.2.1
func (*TransactionRecord) ProtoMessage()
func (*TransactionRecord) Reset ¶ added in v0.2.1
func (m *TransactionRecord) Reset()
func (*TransactionRecord) String ¶ added in v0.2.1
func (m *TransactionRecord) String() string