Documentation ¶
Overview ¶
Package model is a generated protocol buffer package.
It is generated from these files:
model/schema.proto
It has these top-level messages:
BusinessAccount Topics Media Address DateOfBirth ServicesManagedByBlackspace PaymentProcessingMethods PaymentMedium PaymentOptions BusinessType BusinessCategory BusinessSubCategory MerchantType PhoneNumber PhoneType
Index ¶
- Variables
- func DefaultDeleteBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) error
- func DefaultDeleteBusinessAccountSet(ctx context.Context, in []*BusinessAccount, db *gorm1.DB) error
- func DefaultDeleteMedia(ctx context.Context, in *Media, db *gorm1.DB) error
- func DefaultDeleteMediaSet(ctx context.Context, in []*Media, db *gorm1.DB) error
- func DefaultDeleteTopics(ctx context.Context, in *Topics, db *gorm1.DB) error
- func DefaultDeleteTopicsSet(ctx context.Context, in []*Topics, db *gorm1.DB) error
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAddress() string
- func (x *Address) GetApartmentUnit() string
- func (x *Address) GetBirthdate() *DateOfBirth
- func (x *Address) GetCity() string
- func (x *Address) GetState() string
- func (x *Address) GetZipCode() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- func (this *Address) Validate() error
- type BusinessAccount
- func DefaultApplyFieldMaskBusinessAccount(ctx context.Context, patchee *BusinessAccount, patcher *BusinessAccount, ...) (*BusinessAccount, error)
- func DefaultCreateBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
- func DefaultListBusinessAccount(ctx context.Context, db *gorm1.DB) ([]*BusinessAccount, error)
- func DefaultPatchBusinessAccount(ctx context.Context, in *BusinessAccount, updateMask *field_mask1.FieldMask, ...) (*BusinessAccount, error)
- func DefaultPatchSetBusinessAccount(ctx context.Context, objects []*BusinessAccount, ...) ([]*BusinessAccount, error)
- func DefaultReadBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
- func DefaultStrictUpdateBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
- func (*BusinessAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessAccount) GetAuthnId() uint32
- func (x *BusinessAccount) GetBusinessGoals() []string
- func (x *BusinessAccount) GetBusinessStage() string
- func (x *BusinessAccount) GetCategory() string
- func (x *BusinessAccount) GetCompanyAddress() string
- func (x *BusinessAccount) GetCompanyName() string
- func (x *BusinessAccount) GetEmail() string
- func (x *BusinessAccount) GetFounderAddress() *Address
- func (x *BusinessAccount) GetId() uint32
- func (x *BusinessAccount) GetIsActive() bool
- func (x *BusinessAccount) GetMedia() *Media
- func (x *BusinessAccount) GetMerchantType() *MerchantType
- func (x *BusinessAccount) GetPassword() string
- func (x *BusinessAccount) GetPaymentDetails() *PaymentProcessingMethods
- func (x *BusinessAccount) GetPhoneNumber() *PhoneNumber
- func (x *BusinessAccount) GetServicesManagedByBlackspace() *ServicesManagedByBlackspace
- func (x *BusinessAccount) GetSubscribedTopics() *Topics
- func (x *BusinessAccount) GetTypeOfBusiness() *BusinessType
- func (*BusinessAccount) ProtoMessage()
- func (x *BusinessAccount) ProtoReflect() protoreflect.Message
- func (x *BusinessAccount) Reset()
- func (x *BusinessAccount) String() string
- func (m *BusinessAccount) ToORM(ctx context.Context) (BusinessAccountORM, error)
- func (this *BusinessAccount) Validate() error
- type BusinessAccountORM
- type BusinessAccountORMWithAfterCreate_
- type BusinessAccountORMWithAfterDeleteSet
- type BusinessAccountORMWithAfterDelete_
- type BusinessAccountORMWithAfterListFind
- type BusinessAccountORMWithAfterReadFind
- type BusinessAccountORMWithAfterStrictUpdateSave
- type BusinessAccountORMWithBeforeCreate_
- type BusinessAccountORMWithBeforeDeleteSet
- type BusinessAccountORMWithBeforeDelete_
- type BusinessAccountORMWithBeforeListApplyQuery
- type BusinessAccountORMWithBeforeListFind
- type BusinessAccountORMWithBeforeReadApplyQuery
- type BusinessAccountORMWithBeforeReadFind
- type BusinessAccountORMWithBeforeStrictUpdateCleanup
- type BusinessAccountORMWithBeforeStrictUpdateSave
- type BusinessAccountWithAfterPatchSave
- type BusinessAccountWithAfterToORM
- type BusinessAccountWithAfterToPB
- type BusinessAccountWithBeforePatchApplyFieldMask
- type BusinessAccountWithBeforePatchRead
- type BusinessAccountWithBeforePatchSave
- type BusinessAccountWithBeforeToORM
- type BusinessAccountWithBeforeToPB
- type BusinessCategory
- func (*BusinessCategory) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessCategory) GetBeautyAndPersonalCare() bool
- func (x *BusinessCategory) GetCharitiesEducationMembership() bool
- func (x *BusinessCategory) GetFoodAndDrink() bool
- func (x *BusinessCategory) GetHealthCareAndFitness() bool
- func (x *BusinessCategory) GetHomeAndRepair() bool
- func (x *BusinessCategory) GetLeisureAndEntertainment() bool
- func (x *BusinessCategory) GetProfessionalServices() bool
- func (x *BusinessCategory) GetRetail() bool
- func (x *BusinessCategory) GetTech() bool
- func (x *BusinessCategory) GetTransportation() bool
- func (*BusinessCategory) ProtoMessage()
- func (x *BusinessCategory) ProtoReflect() protoreflect.Message
- func (x *BusinessCategory) Reset()
- func (x *BusinessCategory) String() string
- func (this *BusinessCategory) Validate() error
- type BusinessSubCategory
- func (*BusinessSubCategory) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessSubCategory) GetArt() bool
- func (x *BusinessSubCategory) GetConsulting() bool
- func (x *BusinessSubCategory) GetDesign() bool
- func (x *BusinessSubCategory) GetFashion() bool
- func (x *BusinessSubCategory) GetFitenss() bool
- func (x *BusinessSubCategory) GetFood() bool
- func (x *BusinessSubCategory) GetGaming() bool
- func (x *BusinessSubCategory) GetHealth_And_Beauty() bool
- func (x *BusinessSubCategory) GetInterior_Design() bool
- func (x *BusinessSubCategory) GetJewelry() bool
- func (x *BusinessSubCategory) GetMagazine() bool
- func (x *BusinessSubCategory) GetMarketing() bool
- func (x *BusinessSubCategory) GetMusic() bool
- func (x *BusinessSubCategory) GetNon_Profit() bool
- func (x *BusinessSubCategory) GetPhotography() bool
- func (x *BusinessSubCategory) GetPolictics() bool
- func (x *BusinessSubCategory) GetRestaurants() bool
- func (x *BusinessSubCategory) GetServices() bool
- func (x *BusinessSubCategory) GetTechnology() bool
- func (x *BusinessSubCategory) GetTravel() bool
- func (*BusinessSubCategory) ProtoMessage()
- func (x *BusinessSubCategory) ProtoReflect() protoreflect.Message
- func (x *BusinessSubCategory) Reset()
- func (x *BusinessSubCategory) String() string
- func (this *BusinessSubCategory) Validate() error
- type BusinessType
- func (*BusinessType) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessType) GetCategory() *BusinessCategory
- func (x *BusinessType) GetSubCategory() *BusinessSubCategory
- func (*BusinessType) ProtoMessage()
- func (x *BusinessType) ProtoReflect() protoreflect.Message
- func (x *BusinessType) Reset()
- func (x *BusinessType) String() string
- func (this *BusinessType) Validate() error
- type DateOfBirth
- func (*DateOfBirth) Descriptor() ([]byte, []int)deprecated
- func (x *DateOfBirth) GetDay() string
- func (x *DateOfBirth) GetMonth() string
- func (x *DateOfBirth) GetYear() string
- func (*DateOfBirth) ProtoMessage()
- func (x *DateOfBirth) ProtoReflect() protoreflect.Message
- func (x *DateOfBirth) Reset()
- func (x *DateOfBirth) String() string
- func (this *DateOfBirth) Validate() error
- type Media
- func DefaultApplyFieldMaskMedia(ctx context.Context, patchee *Media, patcher *Media, ...) (*Media, error)
- func DefaultCreateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func DefaultListMedia(ctx context.Context, db *gorm1.DB) ([]*Media, error)
- func DefaultPatchMedia(ctx context.Context, in *Media, updateMask *field_mask1.FieldMask, ...) (*Media, error)
- func DefaultPatchSetMedia(ctx context.Context, objects []*Media, updateMasks []*field_mask1.FieldMask, ...) ([]*Media, error)
- func DefaultReadMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func DefaultStrictUpdateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func (*Media) Descriptor() ([]byte, []int)deprecated
- func (x *Media) GetFacebook() string
- func (x *Media) GetId() uint32
- func (x *Media) GetInstagram() string
- func (x *Media) GetLinkedIn() string
- func (x *Media) GetPinterest() string
- func (x *Media) GetWebsite() string
- func (*Media) ProtoMessage()
- func (x *Media) ProtoReflect() protoreflect.Message
- func (x *Media) Reset()
- func (x *Media) String() string
- func (m *Media) ToORM(ctx context.Context) (MediaORM, error)
- func (this *Media) Validate() error
- type MediaORM
- type MediaORMWithAfterCreate_
- type MediaORMWithAfterDeleteSet
- type MediaORMWithAfterDelete_
- type MediaORMWithAfterListFind
- type MediaORMWithAfterReadFind
- type MediaORMWithAfterStrictUpdateSave
- type MediaORMWithBeforeCreate_
- type MediaORMWithBeforeDeleteSet
- type MediaORMWithBeforeDelete_
- type MediaORMWithBeforeListApplyQuery
- type MediaORMWithBeforeListFind
- type MediaORMWithBeforeReadApplyQuery
- type MediaORMWithBeforeReadFind
- type MediaORMWithBeforeStrictUpdateCleanup
- type MediaORMWithBeforeStrictUpdateSave
- type MediaWithAfterPatchSave
- type MediaWithAfterToORM
- type MediaWithAfterToPB
- type MediaWithBeforePatchApplyFieldMask
- type MediaWithBeforePatchRead
- type MediaWithBeforePatchSave
- type MediaWithBeforeToORM
- type MediaWithBeforeToPB
- type MerchantType
- func (*MerchantType) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantType) GetCasualUse() bool
- func (x *MerchantType) GetCharity() bool
- func (x *MerchantType) GetLLCCorporation() bool
- func (x *MerchantType) GetOnePersonBusiness() bool
- func (x *MerchantType) GetPartnership() bool
- func (x *MerchantType) GetReligiousOrganization() bool
- func (x *MerchantType) GetSideProject() bool
- func (x *MerchantType) GetSoleProprietor() bool
- func (*MerchantType) ProtoMessage()
- func (x *MerchantType) ProtoReflect() protoreflect.Message
- func (x *MerchantType) Reset()
- func (x *MerchantType) String() string
- func (this *MerchantType) Validate() error
- type PaymentMedium
- func (*PaymentMedium) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentMedium) GetComputer() bool
- func (x *PaymentMedium) GetMobilePhone() bool
- func (x *PaymentMedium) GetTablet() bool
- func (*PaymentMedium) ProtoMessage()
- func (x *PaymentMedium) ProtoReflect() protoreflect.Message
- func (x *PaymentMedium) Reset()
- func (x *PaymentMedium) String() string
- func (this *PaymentMedium) Validate() error
- type PaymentOptions
- func (*PaymentOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentOptions) GetBrickAndMortar() bool
- func (x *PaymentOptions) GetOnTheGo() bool
- func (x *PaymentOptions) GetOnline() bool
- func (x *PaymentOptions) GetThroughInvoices() bool
- func (*PaymentOptions) ProtoMessage()
- func (x *PaymentOptions) ProtoReflect() protoreflect.Message
- func (x *PaymentOptions) Reset()
- func (x *PaymentOptions) String() string
- func (this *PaymentOptions) Validate() error
- type PaymentProcessingMethods
- func (*PaymentProcessingMethods) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentProcessingMethods) GetMedium() []*PaymentMedium
- func (x *PaymentProcessingMethods) GetPaymentOptions() []*PaymentOptions
- func (*PaymentProcessingMethods) ProtoMessage()
- func (x *PaymentProcessingMethods) ProtoReflect() protoreflect.Message
- func (x *PaymentProcessingMethods) Reset()
- func (x *PaymentProcessingMethods) String() string
- func (this *PaymentProcessingMethods) Validate() error
- type PhoneNumber
- func (*PhoneNumber) Descriptor() ([]byte, []int)deprecated
- func (x *PhoneNumber) GetNumber() string
- func (x *PhoneNumber) GetType() *PhoneType
- func (*PhoneNumber) ProtoMessage()
- func (x *PhoneNumber) ProtoReflect() protoreflect.Message
- func (x *PhoneNumber) Reset()
- func (x *PhoneNumber) String() string
- func (this *PhoneNumber) Validate() error
- type PhoneType
- func (*PhoneType) Descriptor() ([]byte, []int)deprecated
- func (x *PhoneType) GetHome() bool
- func (x *PhoneType) GetMobile() bool
- func (x *PhoneType) GetWork() bool
- func (*PhoneType) ProtoMessage()
- func (x *PhoneType) ProtoReflect() protoreflect.Message
- func (x *PhoneType) Reset()
- func (x *PhoneType) String() string
- func (this *PhoneType) Validate() error
- type ServicesManagedByBlackspace
- func (*ServicesManagedByBlackspace) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesManagedByBlackspace) GetAnalytics() bool
- func (x *ServicesManagedByBlackspace) GetDiscounts() bool
- func (x *ServicesManagedByBlackspace) GetFundingYourBusiness() bool
- func (x *ServicesManagedByBlackspace) GetGiftCards() bool
- func (x *ServicesManagedByBlackspace) GetItemCatalog() bool
- func (x *ServicesManagedByBlackspace) GetLoyaltyProgram() bool
- func (x *ServicesManagedByBlackspace) GetMarketingCampaigns() bool
- func (*ServicesManagedByBlackspace) ProtoMessage()
- func (x *ServicesManagedByBlackspace) ProtoReflect() protoreflect.Message
- func (x *ServicesManagedByBlackspace) Reset()
- func (x *ServicesManagedByBlackspace) String() string
- func (this *ServicesManagedByBlackspace) Validate() error
- type Topics
- func DefaultApplyFieldMaskTopics(ctx context.Context, patchee *Topics, patcher *Topics, ...) (*Topics, error)
- func DefaultCreateTopics(ctx context.Context, in *Topics, db *gorm1.DB) (*Topics, error)
- func DefaultListTopics(ctx context.Context, db *gorm1.DB) ([]*Topics, error)
- func DefaultPatchSetTopics(ctx context.Context, objects []*Topics, updateMasks []*field_mask1.FieldMask, ...) ([]*Topics, error)
- func DefaultPatchTopics(ctx context.Context, in *Topics, updateMask *field_mask1.FieldMask, ...) (*Topics, error)
- func DefaultReadTopics(ctx context.Context, in *Topics, db *gorm1.DB) (*Topics, error)
- func DefaultStrictUpdateTopics(ctx context.Context, in *Topics, db *gorm1.DB) (*Topics, error)
- func (*Topics) Descriptor() ([]byte, []int)deprecated
- func (x *Topics) GetArt() bool
- func (x *Topics) GetBusiness() bool
- func (x *Topics) GetCooking() bool
- func (x *Topics) GetDesign() bool
- func (x *Topics) GetFashionAndStyle() bool
- func (x *Topics) GetFood() bool
- func (x *Topics) GetHealth() bool
- func (x *Topics) GetId() uint32
- func (x *Topics) GetMusic() bool
- func (x *Topics) GetScience() bool
- func (x *Topics) GetTechnology() bool
- func (x *Topics) GetTravel() bool
- func (*Topics) ProtoMessage()
- func (x *Topics) ProtoReflect() protoreflect.Message
- func (x *Topics) Reset()
- func (x *Topics) String() string
- func (m *Topics) ToORM(ctx context.Context) (TopicsORM, error)
- func (this *Topics) Validate() error
- type TopicsORM
- type TopicsORMWithAfterCreate_
- type TopicsORMWithAfterDeleteSet
- type TopicsORMWithAfterDelete_
- type TopicsORMWithAfterListFind
- type TopicsORMWithAfterReadFind
- type TopicsORMWithAfterStrictUpdateSave
- type TopicsORMWithBeforeCreate_
- type TopicsORMWithBeforeDeleteSet
- type TopicsORMWithBeforeDelete_
- type TopicsORMWithBeforeListApplyQuery
- type TopicsORMWithBeforeListFind
- type TopicsORMWithBeforeReadApplyQuery
- type TopicsORMWithBeforeReadFind
- type TopicsORMWithBeforeStrictUpdateCleanup
- type TopicsORMWithBeforeStrictUpdateSave
- type TopicsWithAfterPatchSave
- type TopicsWithAfterToORM
- type TopicsWithAfterToPB
- type TopicsWithBeforePatchApplyFieldMask
- type TopicsWithBeforePatchRead
- type TopicsWithBeforePatchSave
- type TopicsWithBeforeToORM
- type TopicsWithBeforeToPB
Constants ¶
This section is empty.
Variables ¶
var File_model_schema_proto protoreflect.FileDescriptor
Functions ¶
func DefaultDeleteMedia ¶
func DefaultDeleteMediaSet ¶
func DefaultDeleteTopics ¶
Types ¶
type Address ¶
type Address struct { Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` ApartmentUnit string `protobuf:"bytes,2,opt,name=ApartmentUnit,proto3" json:"ApartmentUnit,omitempty"` ZipCode string `protobuf:"bytes,3,opt,name=ZipCode,proto3" json:"ZipCode,omitempty"` City string `protobuf:"bytes,4,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,5,opt,name=State,proto3" json:"State,omitempty"` Birthdate *DateOfBirth `protobuf:"bytes,6,opt,name=birthdate,proto3" json:"birthdate,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetAddress ¶
func (*Address) GetApartmentUnit ¶
func (*Address) GetBirthdate ¶
func (x *Address) GetBirthdate() *DateOfBirth
func (*Address) GetZipCode ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type BusinessAccount ¶
type BusinessAccount struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CompanyName string `protobuf:"bytes,2,opt,name=companyName,proto3" json:"companyName,omitempty"` CompanyAddress string `protobuf:"bytes,3,opt,name=companyAddress,proto3" json:"companyAddress,omitempty"` PhoneNumber *PhoneNumber `protobuf:"bytes,4,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` Media *Media `protobuf:"bytes,6,opt,name=media,proto3" json:"media,omitempty"` Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` IsActive bool `protobuf:"varint,9,opt,name=isActive,proto3" json:"isActive,omitempty"` // define the types of businesses available TypeOfBusiness *BusinessType `protobuf:"bytes,10,opt,name=typeOfBusiness,proto3" json:"typeOfBusiness,omitempty"` // defines business top goals // sell products, market business, sell services, sell memberships, build community BusinessGoals []string `protobuf:"bytes,11,rep,name=businessGoals,proto3" json:"businessGoals,omitempty"` // the stage at which the business is at // collecting inspiration, formalizing an idea or personal project, project or hobby to business, // growing existing business BusinessStage string `protobuf:"bytes,12,opt,name=businessStage,proto3" json:"businessStage,omitempty"` // type of merchant MerchantType *MerchantType `protobuf:"bytes,13,opt,name=merchantType,proto3" json:"merchantType,omitempty"` // processing method details PaymentDetails *PaymentProcessingMethods `protobuf:"bytes,14,opt,name=paymentDetails,proto3" json:"paymentDetails,omitempty"` // types of services blackspace can manage on the business' behalf ServicesManagedByBlackspace *ServicesManagedByBlackspace `protobuf:"bytes,15,opt,name=servicesManagedByBlackspace,proto3" json:"servicesManagedByBlackspace,omitempty"` // business address FounderAddress *Address `protobuf:"bytes,16,opt,name=founderAddress,proto3" json:"founderAddress,omitempty"` // Business Interests SubscribedTopics *Topics `protobuf:"bytes,17,opt,name=subscribedTopics,proto3" json:"subscribedTopics,omitempty"` // authentication service ref AuthnId uint32 `protobuf:"varint,18,opt,name=authnId,proto3" json:"authnId,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskBusinessAccount ¶
func DefaultApplyFieldMaskBusinessAccount(ctx context.Context, patchee *BusinessAccount, patcher *BusinessAccount, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*BusinessAccount, error)
DefaultApplyFieldMaskBusinessAccount patches an pbObject with patcher according to a field mask.
func DefaultCreateBusinessAccount ¶
func DefaultCreateBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
DefaultCreateBusinessAccount executes a basic gorm create call
func DefaultListBusinessAccount ¶
DefaultListBusinessAccount executes a gorm list call
func DefaultPatchBusinessAccount ¶
func DefaultPatchBusinessAccount(ctx context.Context, in *BusinessAccount, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*BusinessAccount, error)
DefaultPatchBusinessAccount executes a basic gorm update call with patch behavior
func DefaultPatchSetBusinessAccount ¶
func DefaultPatchSetBusinessAccount(ctx context.Context, objects []*BusinessAccount, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*BusinessAccount, error)
DefaultPatchSetBusinessAccount executes a bulk gorm update call with patch behavior
func DefaultReadBusinessAccount ¶
func DefaultReadBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
DefaultReadBusinessAccount executes a basic gorm read call
func DefaultStrictUpdateBusinessAccount ¶
func DefaultStrictUpdateBusinessAccount(ctx context.Context, in *BusinessAccount, db *gorm1.DB) (*BusinessAccount, error)
DefaultStrictUpdateBusinessAccount clears first level 1:many children and then executes a gorm update call
func (*BusinessAccount) Descriptor
deprecated
func (*BusinessAccount) Descriptor() ([]byte, []int)
Deprecated: Use BusinessAccount.ProtoReflect.Descriptor instead.
func (*BusinessAccount) GetAuthnId ¶
func (x *BusinessAccount) GetAuthnId() uint32
func (*BusinessAccount) GetBusinessGoals ¶
func (x *BusinessAccount) GetBusinessGoals() []string
func (*BusinessAccount) GetBusinessStage ¶
func (x *BusinessAccount) GetBusinessStage() string
func (*BusinessAccount) GetCategory ¶
func (x *BusinessAccount) GetCategory() string
func (*BusinessAccount) GetCompanyAddress ¶
func (x *BusinessAccount) GetCompanyAddress() string
func (*BusinessAccount) GetCompanyName ¶
func (x *BusinessAccount) GetCompanyName() string
func (*BusinessAccount) GetEmail ¶
func (x *BusinessAccount) GetEmail() string
func (*BusinessAccount) GetFounderAddress ¶
func (x *BusinessAccount) GetFounderAddress() *Address
func (*BusinessAccount) GetId ¶
func (x *BusinessAccount) GetId() uint32
func (*BusinessAccount) GetIsActive ¶
func (x *BusinessAccount) GetIsActive() bool
func (*BusinessAccount) GetMedia ¶
func (x *BusinessAccount) GetMedia() *Media
func (*BusinessAccount) GetMerchantType ¶
func (x *BusinessAccount) GetMerchantType() *MerchantType
func (*BusinessAccount) GetPassword ¶
func (x *BusinessAccount) GetPassword() string
func (*BusinessAccount) GetPaymentDetails ¶
func (x *BusinessAccount) GetPaymentDetails() *PaymentProcessingMethods
func (*BusinessAccount) GetPhoneNumber ¶
func (x *BusinessAccount) GetPhoneNumber() *PhoneNumber
func (*BusinessAccount) GetServicesManagedByBlackspace ¶
func (x *BusinessAccount) GetServicesManagedByBlackspace() *ServicesManagedByBlackspace
func (*BusinessAccount) GetSubscribedTopics ¶
func (x *BusinessAccount) GetSubscribedTopics() *Topics
func (*BusinessAccount) GetTypeOfBusiness ¶
func (x *BusinessAccount) GetTypeOfBusiness() *BusinessType
func (*BusinessAccount) ProtoMessage ¶
func (*BusinessAccount) ProtoMessage()
func (*BusinessAccount) ProtoReflect ¶
func (x *BusinessAccount) ProtoReflect() protoreflect.Message
func (*BusinessAccount) Reset ¶
func (x *BusinessAccount) Reset()
func (*BusinessAccount) String ¶
func (x *BusinessAccount) String() string
func (*BusinessAccount) ToORM ¶
func (m *BusinessAccount) ToORM(ctx context.Context) (BusinessAccountORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*BusinessAccount) Validate ¶
func (this *BusinessAccount) Validate() error
type BusinessAccountORM ¶
type BusinessAccountORM struct { AuthnId uint32 BusinessGoals pq1.StringArray `gorm:"type:text[]"` BusinessStage string Category string CompanyAddress string CompanyName string Email string Id uint32 `gorm:"type:serial;primary_key;auto_increment"` IsActive bool Media *MediaORM `gorm:"foreignkey:BusinessAccountId;association_foreignkey:Id;preload:true"` Password string SubscribedTopics *TopicsORM `gorm:"foreignkey:BusinessAccountId;association_foreignkey:Id;preload:true"` }
func (BusinessAccountORM) TableName ¶
func (BusinessAccountORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*BusinessAccountORM) ToPB ¶
func (m *BusinessAccountORM) ToPB(ctx context.Context) (BusinessAccount, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type BusinessAccountWithAfterPatchSave ¶
type BusinessAccountWithAfterPatchSave interface {
AfterPatchSave(context.Context, *BusinessAccount, *field_mask1.FieldMask, *gorm1.DB) error
}
type BusinessAccountWithAfterToORM ¶
type BusinessAccountWithAfterToORM interface {
AfterToORM(context.Context, *BusinessAccountORM) error
}
BusinessAccountAfterToORM called after default ToORM code
type BusinessAccountWithAfterToPB ¶
type BusinessAccountWithAfterToPB interface {
AfterToPB(context.Context, *BusinessAccount) error
}
BusinessAccountAfterToPB called after default ToPB code
type BusinessAccountWithBeforePatchApplyFieldMask ¶
type BusinessAccountWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *BusinessAccount, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type BusinessAccountWithBeforePatchRead ¶
type BusinessAccountWithBeforePatchRead interface {
BeforePatchRead(context.Context, *BusinessAccount, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type BusinessAccountWithBeforePatchSave ¶
type BusinessAccountWithBeforePatchSave interface {
BeforePatchSave(context.Context, *BusinessAccount, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type BusinessAccountWithBeforeToORM ¶
type BusinessAccountWithBeforeToORM interface {
BeforeToORM(context.Context, *BusinessAccountORM) error
}
BusinessAccountBeforeToORM called before default ToORM code
type BusinessAccountWithBeforeToPB ¶
type BusinessAccountWithBeforeToPB interface {
BeforeToPB(context.Context, *BusinessAccount) error
}
BusinessAccountBeforeToPB called before default ToPB code
type BusinessCategory ¶
type BusinessCategory struct { Tech bool `protobuf:"varint,1,opt,name=Tech,proto3" json:"Tech,omitempty"` CharitiesEducationMembership bool `protobuf:"varint,2,opt,name=CharitiesEducationMembership,proto3" json:"CharitiesEducationMembership,omitempty"` FoodAndDrink bool `protobuf:"varint,3,opt,name=FoodAndDrink,proto3" json:"FoodAndDrink,omitempty"` HealthCareAndFitness bool `protobuf:"varint,4,opt,name=HealthCareAndFitness,proto3" json:"HealthCareAndFitness,omitempty"` HomeAndRepair bool `protobuf:"varint,5,opt,name=HomeAndRepair,proto3" json:"HomeAndRepair,omitempty"` LeisureAndEntertainment bool `protobuf:"varint,6,opt,name=LeisureAndEntertainment,proto3" json:"LeisureAndEntertainment,omitempty"` ProfessionalServices bool `protobuf:"varint,7,opt,name=ProfessionalServices,proto3" json:"ProfessionalServices,omitempty"` Retail bool `protobuf:"varint,8,opt,name=Retail,proto3" json:"Retail,omitempty"` Transportation bool `protobuf:"varint,9,opt,name=Transportation,proto3" json:"Transportation,omitempty"` BeautyAndPersonalCare bool `protobuf:"varint,10,opt,name=BeautyAndPersonalCare,proto3" json:"BeautyAndPersonalCare,omitempty"` // contains filtered or unexported fields }
func (*BusinessCategory) Descriptor
deprecated
func (*BusinessCategory) Descriptor() ([]byte, []int)
Deprecated: Use BusinessCategory.ProtoReflect.Descriptor instead.
func (*BusinessCategory) GetBeautyAndPersonalCare ¶
func (x *BusinessCategory) GetBeautyAndPersonalCare() bool
func (*BusinessCategory) GetCharitiesEducationMembership ¶
func (x *BusinessCategory) GetCharitiesEducationMembership() bool
func (*BusinessCategory) GetFoodAndDrink ¶
func (x *BusinessCategory) GetFoodAndDrink() bool
func (*BusinessCategory) GetHealthCareAndFitness ¶
func (x *BusinessCategory) GetHealthCareAndFitness() bool
func (*BusinessCategory) GetHomeAndRepair ¶
func (x *BusinessCategory) GetHomeAndRepair() bool
func (*BusinessCategory) GetLeisureAndEntertainment ¶
func (x *BusinessCategory) GetLeisureAndEntertainment() bool
func (*BusinessCategory) GetProfessionalServices ¶
func (x *BusinessCategory) GetProfessionalServices() bool
func (*BusinessCategory) GetRetail ¶
func (x *BusinessCategory) GetRetail() bool
func (*BusinessCategory) GetTech ¶
func (x *BusinessCategory) GetTech() bool
func (*BusinessCategory) GetTransportation ¶
func (x *BusinessCategory) GetTransportation() bool
func (*BusinessCategory) ProtoMessage ¶
func (*BusinessCategory) ProtoMessage()
func (*BusinessCategory) ProtoReflect ¶
func (x *BusinessCategory) ProtoReflect() protoreflect.Message
func (*BusinessCategory) Reset ¶
func (x *BusinessCategory) Reset()
func (*BusinessCategory) String ¶
func (x *BusinessCategory) String() string
func (*BusinessCategory) Validate ¶
func (this *BusinessCategory) Validate() error
type BusinessSubCategory ¶
type BusinessSubCategory struct { // art, marketing, travel, interior design, music, technology, food, restaurants, politics, health & beauty, // design, non-profit, jewelry, gaming, magazine, photography, fitness, consulting, fashion, services Marketing bool `protobuf:"varint,1,opt,name=Marketing,proto3" json:"Marketing,omitempty"` Travel bool `protobuf:"varint,2,opt,name=Travel,proto3" json:"Travel,omitempty"` Interior_Design bool `protobuf:"varint,3,opt,name=Interior_Design,json=InteriorDesign,proto3" json:"Interior_Design,omitempty"` Music bool `protobuf:"varint,4,opt,name=Music,proto3" json:"Music,omitempty"` Technology bool `protobuf:"varint,5,opt,name=Technology,proto3" json:"Technology,omitempty"` Food bool `protobuf:"varint,6,opt,name=Food,proto3" json:"Food,omitempty"` Restaurants bool `protobuf:"varint,7,opt,name=Restaurants,proto3" json:"Restaurants,omitempty"` Polictics bool `protobuf:"varint,8,opt,name=Polictics,proto3" json:"Polictics,omitempty"` Health_And_Beauty bool `protobuf:"varint,9,opt,name=Health_And_Beauty,json=HealthAndBeauty,proto3" json:"Health_And_Beauty,omitempty"` Design bool `protobuf:"varint,10,opt,name=Design,proto3" json:"Design,omitempty"` Non_Profit bool `protobuf:"varint,11,opt,name=Non_Profit,json=NonProfit,proto3" json:"Non_Profit,omitempty"` Jewelry bool `protobuf:"varint,12,opt,name=Jewelry,proto3" json:"Jewelry,omitempty"` Gaming bool `protobuf:"varint,13,opt,name=Gaming,proto3" json:"Gaming,omitempty"` Magazine bool `protobuf:"varint,14,opt,name=Magazine,proto3" json:"Magazine,omitempty"` Photography bool `protobuf:"varint,15,opt,name=Photography,proto3" json:"Photography,omitempty"` Fitenss bool `protobuf:"varint,16,opt,name=Fitenss,proto3" json:"Fitenss,omitempty"` Consulting bool `protobuf:"varint,17,opt,name=Consulting,proto3" json:"Consulting,omitempty"` Fashion bool `protobuf:"varint,18,opt,name=Fashion,proto3" json:"Fashion,omitempty"` Services bool `protobuf:"varint,19,opt,name=Services,proto3" json:"Services,omitempty"` Art bool `protobuf:"varint,20,opt,name=Art,proto3" json:"Art,omitempty"` // contains filtered or unexported fields }
func (*BusinessSubCategory) Descriptor
deprecated
func (*BusinessSubCategory) Descriptor() ([]byte, []int)
Deprecated: Use BusinessSubCategory.ProtoReflect.Descriptor instead.
func (*BusinessSubCategory) GetArt ¶
func (x *BusinessSubCategory) GetArt() bool
func (*BusinessSubCategory) GetConsulting ¶
func (x *BusinessSubCategory) GetConsulting() bool
func (*BusinessSubCategory) GetDesign ¶
func (x *BusinessSubCategory) GetDesign() bool
func (*BusinessSubCategory) GetFashion ¶
func (x *BusinessSubCategory) GetFashion() bool
func (*BusinessSubCategory) GetFitenss ¶
func (x *BusinessSubCategory) GetFitenss() bool
func (*BusinessSubCategory) GetFood ¶
func (x *BusinessSubCategory) GetFood() bool
func (*BusinessSubCategory) GetGaming ¶
func (x *BusinessSubCategory) GetGaming() bool
func (*BusinessSubCategory) GetHealth_And_Beauty ¶
func (x *BusinessSubCategory) GetHealth_And_Beauty() bool
func (*BusinessSubCategory) GetInterior_Design ¶
func (x *BusinessSubCategory) GetInterior_Design() bool
func (*BusinessSubCategory) GetJewelry ¶
func (x *BusinessSubCategory) GetJewelry() bool
func (*BusinessSubCategory) GetMagazine ¶
func (x *BusinessSubCategory) GetMagazine() bool
func (*BusinessSubCategory) GetMarketing ¶
func (x *BusinessSubCategory) GetMarketing() bool
func (*BusinessSubCategory) GetMusic ¶
func (x *BusinessSubCategory) GetMusic() bool
func (*BusinessSubCategory) GetNon_Profit ¶
func (x *BusinessSubCategory) GetNon_Profit() bool
func (*BusinessSubCategory) GetPhotography ¶
func (x *BusinessSubCategory) GetPhotography() bool
func (*BusinessSubCategory) GetPolictics ¶
func (x *BusinessSubCategory) GetPolictics() bool
func (*BusinessSubCategory) GetRestaurants ¶
func (x *BusinessSubCategory) GetRestaurants() bool
func (*BusinessSubCategory) GetServices ¶
func (x *BusinessSubCategory) GetServices() bool
func (*BusinessSubCategory) GetTechnology ¶
func (x *BusinessSubCategory) GetTechnology() bool
func (*BusinessSubCategory) GetTravel ¶
func (x *BusinessSubCategory) GetTravel() bool
func (*BusinessSubCategory) ProtoMessage ¶
func (*BusinessSubCategory) ProtoMessage()
func (*BusinessSubCategory) ProtoReflect ¶
func (x *BusinessSubCategory) ProtoReflect() protoreflect.Message
func (*BusinessSubCategory) Reset ¶
func (x *BusinessSubCategory) Reset()
func (*BusinessSubCategory) String ¶
func (x *BusinessSubCategory) String() string
func (*BusinessSubCategory) Validate ¶
func (this *BusinessSubCategory) Validate() error
type BusinessType ¶
type BusinessType struct { Category *BusinessCategory `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` SubCategory *BusinessSubCategory `protobuf:"bytes,2,opt,name=subCategory,proto3" json:"subCategory,omitempty"` // contains filtered or unexported fields }
func (*BusinessType) Descriptor
deprecated
func (*BusinessType) Descriptor() ([]byte, []int)
Deprecated: Use BusinessType.ProtoReflect.Descriptor instead.
func (*BusinessType) GetCategory ¶
func (x *BusinessType) GetCategory() *BusinessCategory
func (*BusinessType) GetSubCategory ¶
func (x *BusinessType) GetSubCategory() *BusinessSubCategory
func (*BusinessType) ProtoMessage ¶
func (*BusinessType) ProtoMessage()
func (*BusinessType) ProtoReflect ¶
func (x *BusinessType) ProtoReflect() protoreflect.Message
func (*BusinessType) Reset ¶
func (x *BusinessType) Reset()
func (*BusinessType) String ¶
func (x *BusinessType) String() string
func (*BusinessType) Validate ¶
func (this *BusinessType) Validate() error
type DateOfBirth ¶
type DateOfBirth struct { Month string `protobuf:"bytes,1,opt,name=Month,proto3" json:"Month,omitempty"` Day string `protobuf:"bytes,2,opt,name=Day,proto3" json:"Day,omitempty"` Year string `protobuf:"bytes,3,opt,name=Year,proto3" json:"Year,omitempty"` // contains filtered or unexported fields }
func (*DateOfBirth) Descriptor
deprecated
func (*DateOfBirth) Descriptor() ([]byte, []int)
Deprecated: Use DateOfBirth.ProtoReflect.Descriptor instead.
func (*DateOfBirth) GetDay ¶
func (x *DateOfBirth) GetDay() string
func (*DateOfBirth) GetMonth ¶
func (x *DateOfBirth) GetMonth() string
func (*DateOfBirth) GetYear ¶
func (x *DateOfBirth) GetYear() string
func (*DateOfBirth) ProtoMessage ¶
func (*DateOfBirth) ProtoMessage()
func (*DateOfBirth) ProtoReflect ¶
func (x *DateOfBirth) ProtoReflect() protoreflect.Message
func (*DateOfBirth) Reset ¶
func (x *DateOfBirth) Reset()
func (*DateOfBirth) String ¶
func (x *DateOfBirth) String() string
func (*DateOfBirth) Validate ¶
func (this *DateOfBirth) Validate() error
type Media ¶
type Media struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"` Instagram string `protobuf:"bytes,3,opt,name=instagram,proto3" json:"instagram,omitempty"` Facebook string `protobuf:"bytes,4,opt,name=facebook,proto3" json:"facebook,omitempty"` LinkedIn string `protobuf:"bytes,5,opt,name=linkedIn,proto3" json:"linkedIn,omitempty"` Pinterest string `protobuf:"bytes,6,opt,name=pinterest,proto3" json:"pinterest,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskMedia ¶
func DefaultApplyFieldMaskMedia(ctx context.Context, patchee *Media, patcher *Media, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Media, error)
DefaultApplyFieldMaskMedia patches an pbObject with patcher according to a field mask.
func DefaultCreateMedia ¶
DefaultCreateMedia executes a basic gorm create call
func DefaultListMedia ¶
DefaultListMedia executes a gorm list call
func DefaultPatchMedia ¶
func DefaultPatchMedia(ctx context.Context, in *Media, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Media, error)
DefaultPatchMedia executes a basic gorm update call with patch behavior
func DefaultPatchSetMedia ¶
func DefaultPatchSetMedia(ctx context.Context, objects []*Media, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Media, error)
DefaultPatchSetMedia executes a bulk gorm update call with patch behavior
func DefaultReadMedia ¶
DefaultReadMedia executes a basic gorm read call
func DefaultStrictUpdateMedia ¶
DefaultStrictUpdateMedia clears first level 1:many children and then executes a gorm update call
func (*Media) Descriptor
deprecated
func (*Media) GetFacebook ¶
func (*Media) GetInstagram ¶
func (*Media) GetLinkedIn ¶
func (*Media) GetPinterest ¶
func (*Media) GetWebsite ¶
func (*Media) ProtoMessage ¶
func (*Media) ProtoMessage()
func (*Media) ProtoReflect ¶
func (x *Media) ProtoReflect() protoreflect.Message
type MediaORM ¶
type MediaORM struct { BusinessAccountId *uint32 Facebook string Id uint32 `gorm:"type:serial;primary_key;auto_increment"` Instagram string LinkedIn string Pinterest string Website string }
type MediaWithAfterPatchSave ¶
type MediaWithAfterToORM ¶
MediaAfterToORM called after default ToORM code
type MediaWithAfterToPB ¶
MediaAfterToPB called after default ToPB code
type MediaWithBeforeToORM ¶
MediaBeforeToORM called before default ToORM code
type MediaWithBeforeToPB ¶
MediaBeforeToPB called before default ToPB code
type MerchantType ¶
type MerchantType struct { SoleProprietor bool `protobuf:"varint,1,opt,name=SoleProprietor,proto3" json:"SoleProprietor,omitempty"` SideProject bool `protobuf:"varint,2,opt,name=SideProject,proto3" json:"SideProject,omitempty"` CasualUse bool `protobuf:"varint,3,opt,name=CasualUse,proto3" json:"CasualUse,omitempty"` LLCCorporation bool `protobuf:"varint,4,opt,name=LLCCorporation,proto3" json:"LLCCorporation,omitempty"` Partnership bool `protobuf:"varint,5,opt,name=Partnership,proto3" json:"Partnership,omitempty"` Charity bool `protobuf:"varint,6,opt,name=Charity,proto3" json:"Charity,omitempty"` ReligiousOrganization bool `protobuf:"varint,7,opt,name=ReligiousOrganization,proto3" json:"ReligiousOrganization,omitempty"` OnePersonBusiness bool `protobuf:"varint,8,opt,name=OnePersonBusiness,proto3" json:"OnePersonBusiness,omitempty"` // contains filtered or unexported fields }
func (*MerchantType) Descriptor
deprecated
func (*MerchantType) Descriptor() ([]byte, []int)
Deprecated: Use MerchantType.ProtoReflect.Descriptor instead.
func (*MerchantType) GetCasualUse ¶
func (x *MerchantType) GetCasualUse() bool
func (*MerchantType) GetCharity ¶
func (x *MerchantType) GetCharity() bool
func (*MerchantType) GetLLCCorporation ¶
func (x *MerchantType) GetLLCCorporation() bool
func (*MerchantType) GetOnePersonBusiness ¶
func (x *MerchantType) GetOnePersonBusiness() bool
func (*MerchantType) GetPartnership ¶
func (x *MerchantType) GetPartnership() bool
func (*MerchantType) GetReligiousOrganization ¶
func (x *MerchantType) GetReligiousOrganization() bool
func (*MerchantType) GetSideProject ¶
func (x *MerchantType) GetSideProject() bool
func (*MerchantType) GetSoleProprietor ¶
func (x *MerchantType) GetSoleProprietor() bool
func (*MerchantType) ProtoMessage ¶
func (*MerchantType) ProtoMessage()
func (*MerchantType) ProtoReflect ¶
func (x *MerchantType) ProtoReflect() protoreflect.Message
func (*MerchantType) Reset ¶
func (x *MerchantType) Reset()
func (*MerchantType) String ¶
func (x *MerchantType) String() string
func (*MerchantType) Validate ¶
func (this *MerchantType) Validate() error
type PaymentMedium ¶
type PaymentMedium struct { MobilePhone bool `protobuf:"varint,1,opt,name=MobilePhone,proto3" json:"MobilePhone,omitempty"` Tablet bool `protobuf:"varint,2,opt,name=Tablet,proto3" json:"Tablet,omitempty"` Computer bool `protobuf:"varint,3,opt,name=Computer,proto3" json:"Computer,omitempty"` // contains filtered or unexported fields }
func (*PaymentMedium) Descriptor
deprecated
func (*PaymentMedium) Descriptor() ([]byte, []int)
Deprecated: Use PaymentMedium.ProtoReflect.Descriptor instead.
func (*PaymentMedium) GetComputer ¶
func (x *PaymentMedium) GetComputer() bool
func (*PaymentMedium) GetMobilePhone ¶
func (x *PaymentMedium) GetMobilePhone() bool
func (*PaymentMedium) GetTablet ¶
func (x *PaymentMedium) GetTablet() bool
func (*PaymentMedium) ProtoMessage ¶
func (*PaymentMedium) ProtoMessage()
func (*PaymentMedium) ProtoReflect ¶
func (x *PaymentMedium) ProtoReflect() protoreflect.Message
func (*PaymentMedium) Reset ¶
func (x *PaymentMedium) Reset()
func (*PaymentMedium) String ¶
func (x *PaymentMedium) String() string
func (*PaymentMedium) Validate ¶
func (this *PaymentMedium) Validate() error
type PaymentOptions ¶
type PaymentOptions struct { BrickAndMortar bool `protobuf:"varint,1,opt,name=BrickAndMortar,proto3" json:"BrickAndMortar,omitempty"` OnTheGo bool `protobuf:"varint,2,opt,name=OnTheGo,proto3" json:"OnTheGo,omitempty"` Online bool `protobuf:"varint,3,opt,name=Online,proto3" json:"Online,omitempty"` ThroughInvoices bool `protobuf:"varint,4,opt,name=ThroughInvoices,proto3" json:"ThroughInvoices,omitempty"` // contains filtered or unexported fields }
func (*PaymentOptions) Descriptor
deprecated
func (*PaymentOptions) Descriptor() ([]byte, []int)
Deprecated: Use PaymentOptions.ProtoReflect.Descriptor instead.
func (*PaymentOptions) GetBrickAndMortar ¶
func (x *PaymentOptions) GetBrickAndMortar() bool
func (*PaymentOptions) GetOnTheGo ¶
func (x *PaymentOptions) GetOnTheGo() bool
func (*PaymentOptions) GetOnline ¶
func (x *PaymentOptions) GetOnline() bool
func (*PaymentOptions) GetThroughInvoices ¶
func (x *PaymentOptions) GetThroughInvoices() bool
func (*PaymentOptions) ProtoMessage ¶
func (*PaymentOptions) ProtoMessage()
func (*PaymentOptions) ProtoReflect ¶
func (x *PaymentOptions) ProtoReflect() protoreflect.Message
func (*PaymentOptions) Reset ¶
func (x *PaymentOptions) Reset()
func (*PaymentOptions) String ¶
func (x *PaymentOptions) String() string
func (*PaymentOptions) Validate ¶
func (this *PaymentOptions) Validate() error
type PaymentProcessingMethods ¶
type PaymentProcessingMethods struct { PaymentOptions []*PaymentOptions `protobuf:"bytes,1,rep,name=paymentOptions,proto3" json:"paymentOptions,omitempty"` Medium []*PaymentMedium `protobuf:"bytes,2,rep,name=medium,proto3" json:"medium,omitempty"` // contains filtered or unexported fields }
func (*PaymentProcessingMethods) Descriptor
deprecated
func (*PaymentProcessingMethods) Descriptor() ([]byte, []int)
Deprecated: Use PaymentProcessingMethods.ProtoReflect.Descriptor instead.
func (*PaymentProcessingMethods) GetMedium ¶
func (x *PaymentProcessingMethods) GetMedium() []*PaymentMedium
func (*PaymentProcessingMethods) GetPaymentOptions ¶
func (x *PaymentProcessingMethods) GetPaymentOptions() []*PaymentOptions
func (*PaymentProcessingMethods) ProtoMessage ¶
func (*PaymentProcessingMethods) ProtoMessage()
func (*PaymentProcessingMethods) ProtoReflect ¶
func (x *PaymentProcessingMethods) ProtoReflect() protoreflect.Message
func (*PaymentProcessingMethods) Reset ¶
func (x *PaymentProcessingMethods) Reset()
func (*PaymentProcessingMethods) String ¶
func (x *PaymentProcessingMethods) String() string
func (*PaymentProcessingMethods) Validate ¶
func (this *PaymentProcessingMethods) Validate() error
type PhoneNumber ¶
type PhoneNumber struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` Type *PhoneType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PhoneNumber) Descriptor
deprecated
func (*PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) GetNumber ¶
func (x *PhoneNumber) GetNumber() string
func (*PhoneNumber) GetType ¶
func (x *PhoneNumber) GetType() *PhoneType
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) ProtoReflect ¶
func (x *PhoneNumber) ProtoReflect() protoreflect.Message
func (*PhoneNumber) Reset ¶
func (x *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (x *PhoneNumber) String() string
func (*PhoneNumber) Validate ¶
func (this *PhoneNumber) Validate() error
type PhoneType ¶
type PhoneType struct { Home bool `protobuf:"varint,1,opt,name=home,proto3" json:"home,omitempty"` Work bool `protobuf:"varint,2,opt,name=work,proto3" json:"work,omitempty"` Mobile bool `protobuf:"varint,3,opt,name=mobile,proto3" json:"mobile,omitempty"` // contains filtered or unexported fields }
func (*PhoneType) Descriptor
deprecated
func (*PhoneType) ProtoMessage ¶
func (*PhoneType) ProtoMessage()
func (*PhoneType) ProtoReflect ¶
func (x *PhoneType) ProtoReflect() protoreflect.Message
type ServicesManagedByBlackspace ¶
type ServicesManagedByBlackspace struct { // create items or services to speed up checkout and enhance reports ItemCatalog bool `protobuf:"varint,1,opt,name=ItemCatalog,proto3" json:"ItemCatalog,omitempty"` // sell gift cards in store or online to boost sales GiftCards bool `protobuf:"varint,2,opt,name=GiftCards,proto3" json:"GiftCards,omitempty"` // provide discounts to boost visibility and sales Discounts bool `protobuf:"varint,3,opt,name=Discounts,proto3" json:"Discounts,omitempty"` // email your customers to tell them about promotions or special events MarketingCampaigns bool `protobuf:"varint,4,opt,name=MarketingCampaigns,proto3" json:"MarketingCampaigns,omitempty"` // keep your customers coming back with customized rewards program LoyaltyProgram bool `protobuf:"varint,5,opt,name=LoyaltyProgram,proto3" json:"LoyaltyProgram,omitempty"` // get access to financing by running your business on blackspace FundingYourBusiness bool `protobuf:"varint,6,opt,name=FundingYourBusiness,proto3" json:"FundingYourBusiness,omitempty"` // access analytics (indepth) data on buying trends Analytics bool `protobuf:"varint,7,opt,name=Analytics,proto3" json:"Analytics,omitempty"` // contains filtered or unexported fields }
func (*ServicesManagedByBlackspace) Descriptor
deprecated
func (*ServicesManagedByBlackspace) Descriptor() ([]byte, []int)
Deprecated: Use ServicesManagedByBlackspace.ProtoReflect.Descriptor instead.
func (*ServicesManagedByBlackspace) GetAnalytics ¶
func (x *ServicesManagedByBlackspace) GetAnalytics() bool
func (*ServicesManagedByBlackspace) GetDiscounts ¶
func (x *ServicesManagedByBlackspace) GetDiscounts() bool
func (*ServicesManagedByBlackspace) GetFundingYourBusiness ¶
func (x *ServicesManagedByBlackspace) GetFundingYourBusiness() bool
func (*ServicesManagedByBlackspace) GetGiftCards ¶
func (x *ServicesManagedByBlackspace) GetGiftCards() bool
func (*ServicesManagedByBlackspace) GetItemCatalog ¶
func (x *ServicesManagedByBlackspace) GetItemCatalog() bool
func (*ServicesManagedByBlackspace) GetLoyaltyProgram ¶
func (x *ServicesManagedByBlackspace) GetLoyaltyProgram() bool
func (*ServicesManagedByBlackspace) GetMarketingCampaigns ¶
func (x *ServicesManagedByBlackspace) GetMarketingCampaigns() bool
func (*ServicesManagedByBlackspace) ProtoMessage ¶
func (*ServicesManagedByBlackspace) ProtoMessage()
func (*ServicesManagedByBlackspace) ProtoReflect ¶
func (x *ServicesManagedByBlackspace) ProtoReflect() protoreflect.Message
func (*ServicesManagedByBlackspace) Reset ¶
func (x *ServicesManagedByBlackspace) Reset()
func (*ServicesManagedByBlackspace) String ¶
func (x *ServicesManagedByBlackspace) String() string
func (*ServicesManagedByBlackspace) Validate ¶
func (this *ServicesManagedByBlackspace) Validate() error
type Topics ¶
type Topics struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Technology bool `protobuf:"varint,2,opt,name=Technology,proto3" json:"Technology,omitempty"` Health bool `protobuf:"varint,3,opt,name=Health,proto3" json:"Health,omitempty"` Food bool `protobuf:"varint,4,opt,name=Food,proto3" json:"Food,omitempty"` Science bool `protobuf:"varint,5,opt,name=Science,proto3" json:"Science,omitempty"` Music bool `protobuf:"varint,6,opt,name=Music,proto3" json:"Music,omitempty"` Travel bool `protobuf:"varint,7,opt,name=Travel,proto3" json:"Travel,omitempty"` Business bool `protobuf:"varint,8,opt,name=Business,proto3" json:"Business,omitempty"` Cooking bool `protobuf:"varint,9,opt,name=Cooking,proto3" json:"Cooking,omitempty"` FashionAndStyle bool `protobuf:"varint,10,opt,name=FashionAndStyle,proto3" json:"FashionAndStyle,omitempty"` Design bool `protobuf:"varint,11,opt,name=Design,proto3" json:"Design,omitempty"` Art bool `protobuf:"varint,12,opt,name=Art,proto3" json:"Art,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTopics ¶
func DefaultApplyFieldMaskTopics(ctx context.Context, patchee *Topics, patcher *Topics, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Topics, error)
DefaultApplyFieldMaskTopics patches an pbObject with patcher according to a field mask.
func DefaultCreateTopics ¶
DefaultCreateTopics executes a basic gorm create call
func DefaultListTopics ¶
DefaultListTopics executes a gorm list call
func DefaultPatchSetTopics ¶
func DefaultPatchSetTopics(ctx context.Context, objects []*Topics, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Topics, error)
DefaultPatchSetTopics executes a bulk gorm update call with patch behavior
func DefaultPatchTopics ¶
func DefaultPatchTopics(ctx context.Context, in *Topics, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Topics, error)
DefaultPatchTopics executes a basic gorm update call with patch behavior
func DefaultReadTopics ¶
DefaultReadTopics executes a basic gorm read call
func DefaultStrictUpdateTopics ¶
DefaultStrictUpdateTopics clears first level 1:many children and then executes a gorm update call
func (*Topics) Descriptor
deprecated
func (*Topics) GetBusiness ¶
func (*Topics) GetCooking ¶
func (*Topics) GetFashionAndStyle ¶
func (*Topics) GetScience ¶
func (*Topics) GetTechnology ¶
func (*Topics) ProtoMessage ¶
func (*Topics) ProtoMessage()
func (*Topics) ProtoReflect ¶
func (x *Topics) ProtoReflect() protoreflect.Message
type TopicsORM ¶
type TopicsORM struct { Art bool Business bool BusinessAccountId *uint32 Cooking bool Design bool FashionAndStyle bool Food bool Health bool Id uint32 `gorm:"type:serial;primary_key;auto_increment"` Music bool Science bool Technology bool Travel bool }
type TopicsWithAfterToORM ¶
TopicsAfterToORM called after default ToORM code
type TopicsWithAfterToPB ¶
TopicsAfterToPB called after default ToPB code
type TopicsWithBeforeToORM ¶
TopicsBeforeToORM called before default ToORM code