Documentation ¶
Index ¶
- Variables
- func RegisterAccountIssueServiceServer(s *grpc.Server, srv AccountIssueServiceServer)
- func RegisterAccountTaxServiceServer(s *grpc.Server, srv AccountTaxServiceServer)
- func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer)
- func RegisterAutofeedSettingsServiceServer(s *grpc.Server, srv AutofeedSettingsServiceServer)
- func RegisterBusinessIdentityServiceServer(s *grpc.Server, srv BusinessIdentityServiceServer)
- func RegisterBusinessInfoServiceServer(s *grpc.Server, srv BusinessInfoServiceServer)
- func RegisterEmailPreferencesServiceServer(s *grpc.Server, srv EmailPreferencesServiceServer)
- func RegisterHomepageServiceServer(s *grpc.Server, srv HomepageServiceServer)
- func RegisterOnlineReturnPolicyServiceServer(s *grpc.Server, srv OnlineReturnPolicyServiceServer)
- func RegisterProgramsServiceServer(s *grpc.Server, srv ProgramsServiceServer)
- func RegisterRegionsServiceServer(s *grpc.Server, srv RegionsServiceServer)
- func RegisterShippingSettingsServiceServer(s *grpc.Server, srv ShippingSettingsServiceServer)
- func RegisterTermsOfServiceAgreementStateServiceServer(s *grpc.Server, srv TermsOfServiceAgreementStateServiceServer)
- func RegisterTermsOfServiceServiceServer(s *grpc.Server, srv TermsOfServiceServiceServer)
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type AcceptTermsOfServiceRequest
- func (*AcceptTermsOfServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptTermsOfServiceRequest) GetAccount() string
- func (x *AcceptTermsOfServiceRequest) GetName() string
- func (x *AcceptTermsOfServiceRequest) GetRegionCode() string
- func (*AcceptTermsOfServiceRequest) ProtoMessage()
- func (x *AcceptTermsOfServiceRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptTermsOfServiceRequest) Reset()
- func (x *AcceptTermsOfServiceRequest) String() string
- type Accepted
- func (*Accepted) Descriptor() ([]byte, []int)deprecated
- func (x *Accepted) GetAcceptedBy() string
- func (x *Accepted) GetTermsOfService() string
- func (x *Accepted) GetValidUntil() *date.Date
- func (*Accepted) ProtoMessage()
- func (x *Accepted) ProtoReflect() protoreflect.Message
- func (x *Accepted) Reset()
- func (x *Accepted) String() string
- type AccessRight
- func (AccessRight) Descriptor() protoreflect.EnumDescriptor
- func (x AccessRight) Enum() *AccessRight
- func (AccessRight) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessRight) Number() protoreflect.EnumNumber
- func (x AccessRight) String() string
- func (AccessRight) Type() protoreflect.EnumType
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountId() int64
- func (x *Account) GetAccountName() string
- func (x *Account) GetAdultContent() bool
- func (x *Account) GetLanguageCode() string
- func (x *Account) GetName() string
- func (x *Account) GetTestAccount() bool
- func (x *Account) GetTimeZone() *datetime.TimeZone
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountAggregation
- type AccountIssue
- func (*AccountIssue) Descriptor() ([]byte, []int)deprecated
- func (x *AccountIssue) GetDetail() string
- func (x *AccountIssue) GetDocumentationUri() string
- func (x *AccountIssue) GetImpactedDestinations() []*AccountIssue_ImpactedDestination
- func (x *AccountIssue) GetName() string
- func (x *AccountIssue) GetSeverity() AccountIssue_Severity
- func (x *AccountIssue) GetTitle() string
- func (*AccountIssue) ProtoMessage()
- func (x *AccountIssue) ProtoReflect() protoreflect.Message
- func (x *AccountIssue) Reset()
- func (x *AccountIssue) String() string
- type AccountIssueServiceClient
- type AccountIssueServiceServer
- type AccountIssue_ImpactedDestination
- func (*AccountIssue_ImpactedDestination) Descriptor() ([]byte, []int)deprecated
- func (x *AccountIssue_ImpactedDestination) GetImpacts() []*AccountIssue_ImpactedDestination_Impact
- func (x *AccountIssue_ImpactedDestination) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (*AccountIssue_ImpactedDestination) ProtoMessage()
- func (x *AccountIssue_ImpactedDestination) ProtoReflect() protoreflect.Message
- func (x *AccountIssue_ImpactedDestination) Reset()
- func (x *AccountIssue_ImpactedDestination) String() string
- type AccountIssue_ImpactedDestination_Impact
- func (*AccountIssue_ImpactedDestination_Impact) Descriptor() ([]byte, []int)deprecated
- func (x *AccountIssue_ImpactedDestination_Impact) GetRegionCode() string
- func (x *AccountIssue_ImpactedDestination_Impact) GetSeverity() AccountIssue_Severity
- func (*AccountIssue_ImpactedDestination_Impact) ProtoMessage()
- func (x *AccountIssue_ImpactedDestination_Impact) ProtoReflect() protoreflect.Message
- func (x *AccountIssue_ImpactedDestination_Impact) Reset()
- func (x *AccountIssue_ImpactedDestination_Impact) String() string
- type AccountIssue_Severity
- func (AccountIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x AccountIssue_Severity) Enum() *AccountIssue_Severity
- func (AccountIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountIssue_Severity) Number() protoreflect.EnumNumber
- func (x AccountIssue_Severity) String() string
- func (AccountIssue_Severity) Type() protoreflect.EnumType
- type AccountTax
- func (*AccountTax) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTax) GetAccount() int64
- func (x *AccountTax) GetName() string
- func (x *AccountTax) GetTaxRules() []*TaxRule
- func (*AccountTax) ProtoMessage()
- func (x *AccountTax) ProtoReflect() protoreflect.Message
- func (x *AccountTax) Reset()
- func (x *AccountTax) String() string
- type AccountTaxServiceClient
- type AccountTaxServiceServer
- type AccountsServiceClient
- type AccountsServiceServer
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAdministrativeArea() string
- func (x *Address) GetCity() string
- func (x *Address) GetPostalCode() string
- func (x *Address) GetRegionCode() string
- func (x *Address) GetStreetAddress() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type AutofeedSettings
- func (*AutofeedSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AutofeedSettings) GetEligible() bool
- func (x *AutofeedSettings) GetEnableProducts() bool
- func (x *AutofeedSettings) GetName() string
- func (*AutofeedSettings) ProtoMessage()
- func (x *AutofeedSettings) ProtoReflect() protoreflect.Message
- func (x *AutofeedSettings) Reset()
- func (x *AutofeedSettings) String() string
- type AutofeedSettingsServiceClient
- type AutofeedSettingsServiceServer
- type BusinessDayConfig
- func (*BusinessDayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessDayConfig) GetBusinessDays() []BusinessDayConfig_Weekday
- func (*BusinessDayConfig) ProtoMessage()
- func (x *BusinessDayConfig) ProtoReflect() protoreflect.Message
- func (x *BusinessDayConfig) Reset()
- func (x *BusinessDayConfig) String() string
- type BusinessDayConfig_Weekday
- func (BusinessDayConfig_Weekday) Descriptor() protoreflect.EnumDescriptor
- func (x BusinessDayConfig_Weekday) Enum() *BusinessDayConfig_Weekday
- func (BusinessDayConfig_Weekday) EnumDescriptor() ([]byte, []int)deprecated
- func (x BusinessDayConfig_Weekday) Number() protoreflect.EnumNumber
- func (x BusinessDayConfig_Weekday) String() string
- func (BusinessDayConfig_Weekday) Type() protoreflect.EnumType
- type BusinessIdentity
- func (*BusinessIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessIdentity) GetBlackOwned() *BusinessIdentity_IdentityAttribute
- func (x *BusinessIdentity) GetLatinoOwned() *BusinessIdentity_IdentityAttribute
- func (x *BusinessIdentity) GetName() string
- func (x *BusinessIdentity) GetPromotionsConsent() BusinessIdentity_PromotionsConsent
- func (x *BusinessIdentity) GetSmallBusiness() *BusinessIdentity_IdentityAttribute
- func (x *BusinessIdentity) GetVeteranOwned() *BusinessIdentity_IdentityAttribute
- func (x *BusinessIdentity) GetWomenOwned() *BusinessIdentity_IdentityAttribute
- func (*BusinessIdentity) ProtoMessage()
- func (x *BusinessIdentity) ProtoReflect() protoreflect.Message
- func (x *BusinessIdentity) Reset()
- func (x *BusinessIdentity) String() string
- type BusinessIdentityServiceClient
- type BusinessIdentityServiceServer
- type BusinessIdentity_IdentityAttribute
- func (*BusinessIdentity_IdentityAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessIdentity_IdentityAttribute) GetIdentityDeclaration() BusinessIdentity_IdentityAttribute_IdentityDeclaration
- func (*BusinessIdentity_IdentityAttribute) ProtoMessage()
- func (x *BusinessIdentity_IdentityAttribute) ProtoReflect() protoreflect.Message
- func (x *BusinessIdentity_IdentityAttribute) Reset()
- func (x *BusinessIdentity_IdentityAttribute) String() string
- type BusinessIdentity_IdentityAttribute_IdentityDeclaration
- func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Descriptor() protoreflect.EnumDescriptor
- func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) Enum() *BusinessIdentity_IdentityAttribute_IdentityDeclaration
- func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) EnumDescriptor() ([]byte, []int)deprecated
- func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) Number() protoreflect.EnumNumber
- func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) String() string
- func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Type() protoreflect.EnumType
- type BusinessIdentity_PromotionsConsent
- func (BusinessIdentity_PromotionsConsent) Descriptor() protoreflect.EnumDescriptor
- func (x BusinessIdentity_PromotionsConsent) Enum() *BusinessIdentity_PromotionsConsent
- func (BusinessIdentity_PromotionsConsent) EnumDescriptor() ([]byte, []int)deprecated
- func (x BusinessIdentity_PromotionsConsent) Number() protoreflect.EnumNumber
- func (x BusinessIdentity_PromotionsConsent) String() string
- func (BusinessIdentity_PromotionsConsent) Type() protoreflect.EnumType
- type BusinessInfo
- func (*BusinessInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessInfo) GetAddress() *postaladdress.PostalAddress
- func (x *BusinessInfo) GetCustomerService() *CustomerService
- func (x *BusinessInfo) GetKoreanBusinessRegistrationNumber() string
- func (x *BusinessInfo) GetName() string
- func (x *BusinessInfo) GetPhone() *phone_number.PhoneNumber
- func (x *BusinessInfo) GetPhoneVerificationState() PhoneVerificationState
- func (*BusinessInfo) ProtoMessage()
- func (x *BusinessInfo) ProtoReflect() protoreflect.Message
- func (x *BusinessInfo) Reset()
- func (x *BusinessInfo) String() string
- type BusinessInfoServiceClient
- type BusinessInfoServiceServer
- type CarrierRate
- func (*CarrierRate) Descriptor() ([]byte, []int)deprecated
- func (x *CarrierRate) GetCarrier() string
- func (x *CarrierRate) GetCarrierService() string
- func (x *CarrierRate) GetFlatAdjustment() *typepb.Price
- func (x *CarrierRate) GetName() string
- func (x *CarrierRate) GetOriginPostalCode() string
- func (x *CarrierRate) GetPercentageAdjustment() string
- func (*CarrierRate) ProtoMessage()
- func (x *CarrierRate) ProtoReflect() protoreflect.Message
- func (x *CarrierRate) Reset()
- func (x *CarrierRate) String() string
- type ClaimHomepageRequest
- func (*ClaimHomepageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimHomepageRequest) GetName() string
- func (*ClaimHomepageRequest) ProtoMessage()
- func (x *ClaimHomepageRequest) ProtoReflect() protoreflect.Message
- func (x *ClaimHomepageRequest) Reset()
- func (x *ClaimHomepageRequest) String() string
- type CreateAndConfigureAccountRequest
- func (*CreateAndConfigureAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAndConfigureAccountRequest) GetAcceptTermsOfService() *CreateAndConfigureAccountRequest_AcceptTermsOfService
- func (x *CreateAndConfigureAccountRequest) GetAccount() *Account
- func (x *CreateAndConfigureAccountRequest) GetService() []*CreateAndConfigureAccountRequest_AddAccountService
- func (x *CreateAndConfigureAccountRequest) GetUsers() []*CreateUserRequest
- func (*CreateAndConfigureAccountRequest) ProtoMessage()
- func (x *CreateAndConfigureAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAndConfigureAccountRequest) Reset()
- func (x *CreateAndConfigureAccountRequest) String() string
- type CreateAndConfigureAccountRequest_AcceptTermsOfService
- func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) GetName() string
- func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) GetRegionCode() string
- func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoMessage()
- func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoReflect() protoreflect.Message
- func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) Reset()
- func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) String() string
- type CreateAndConfigureAccountRequest_AddAccountService
- func (*CreateAndConfigureAccountRequest_AddAccountService) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAndConfigureAccountRequest_AddAccountService) GetAccountAggregation() *AccountAggregation
- func (x *CreateAndConfigureAccountRequest_AddAccountService) GetProvider() string
- func (m *CreateAndConfigureAccountRequest_AddAccountService) GetServiceType() isCreateAndConfigureAccountRequest_AddAccountService_ServiceType
- func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoMessage()
- func (x *CreateAndConfigureAccountRequest_AddAccountService) ProtoReflect() protoreflect.Message
- func (x *CreateAndConfigureAccountRequest_AddAccountService) Reset()
- func (x *CreateAndConfigureAccountRequest_AddAccountService) String() string
- type CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation
- type CreateRegionRequest
- func (*CreateRegionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegionRequest) GetParent() string
- func (x *CreateRegionRequest) GetRegion() *Region
- func (x *CreateRegionRequest) GetRegionId() string
- func (*CreateRegionRequest) ProtoMessage()
- func (x *CreateRegionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRegionRequest) Reset()
- func (x *CreateRegionRequest) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetParent() string
- func (x *CreateUserRequest) GetUser() *User
- func (x *CreateUserRequest) GetUserId() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CustomerService
- func (*CustomerService) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerService) GetEmail() string
- func (x *CustomerService) GetPhone() *phone_number.PhoneNumber
- func (x *CustomerService) GetUri() string
- func (*CustomerService) ProtoMessage()
- func (x *CustomerService) ProtoReflect() protoreflect.Message
- func (x *CustomerService) Reset()
- func (x *CustomerService) String() string
- type CutoffTime
- func (*CutoffTime) Descriptor() ([]byte, []int)deprecated
- func (x *CutoffTime) GetHour() int32
- func (x *CutoffTime) GetMinute() int32
- func (x *CutoffTime) GetTimeZone() string
- func (*CutoffTime) ProtoMessage()
- func (x *CutoffTime) ProtoReflect() protoreflect.Message
- func (x *CutoffTime) Reset()
- func (x *CutoffTime) String() string
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountRequest) GetForce() bool
- func (x *DeleteAccountRequest) GetName() string
- func (*DeleteAccountRequest) ProtoMessage()
- func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountRequest) Reset()
- func (x *DeleteAccountRequest) String() string
- type DeleteRegionRequest
- func (*DeleteRegionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegionRequest) GetName() string
- func (*DeleteRegionRequest) ProtoMessage()
- func (x *DeleteRegionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegionRequest) Reset()
- func (x *DeleteRegionRequest) String() string
- type DeleteUserRequest
- type DeliveryTime
- func (*DeliveryTime) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryTime) GetCutoffTime() *CutoffTime
- func (x *DeliveryTime) GetHandlingBusinessDayConfig() *BusinessDayConfig
- func (x *DeliveryTime) GetMaxHandlingDays() int32
- func (x *DeliveryTime) GetMaxTransitDays() int32
- func (x *DeliveryTime) GetMinHandlingDays() int32
- func (x *DeliveryTime) GetMinTransitDays() int32
- func (x *DeliveryTime) GetTransitBusinessDayConfig() *BusinessDayConfig
- func (x *DeliveryTime) GetTransitTimeTable() *TransitTable
- func (x *DeliveryTime) GetWarehouseBasedDeliveryTimes() []*WarehouseBasedDeliveryTime
- func (*DeliveryTime) ProtoMessage()
- func (x *DeliveryTime) ProtoReflect() protoreflect.Message
- func (x *DeliveryTime) Reset()
- func (x *DeliveryTime) String() string
- type DisableProgramRequest
- func (*DisableProgramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableProgramRequest) GetName() string
- func (*DisableProgramRequest) ProtoMessage()
- func (x *DisableProgramRequest) ProtoReflect() protoreflect.Message
- func (x *DisableProgramRequest) Reset()
- func (x *DisableProgramRequest) String() string
- type Distance
- type Distance_Unit
- func (Distance_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x Distance_Unit) Enum() *Distance_Unit
- func (Distance_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Distance_Unit) Number() protoreflect.EnumNumber
- func (x Distance_Unit) String() string
- func (Distance_Unit) Type() protoreflect.EnumType
- type EmailPreferences
- func (*EmailPreferences) Descriptor() ([]byte, []int)deprecated
- func (x *EmailPreferences) GetName() string
- func (x *EmailPreferences) GetNewsAndTips() EmailPreferences_OptInState
- func (*EmailPreferences) ProtoMessage()
- func (x *EmailPreferences) ProtoReflect() protoreflect.Message
- func (x *EmailPreferences) Reset()
- func (x *EmailPreferences) String() string
- type EmailPreferencesServiceClient
- type EmailPreferencesServiceServer
- type EmailPreferences_OptInState
- func (EmailPreferences_OptInState) Descriptor() protoreflect.EnumDescriptor
- func (x EmailPreferences_OptInState) Enum() *EmailPreferences_OptInState
- func (EmailPreferences_OptInState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmailPreferences_OptInState) Number() protoreflect.EnumNumber
- func (x EmailPreferences_OptInState) String() string
- func (EmailPreferences_OptInState) Type() protoreflect.EnumType
- type EnableProgramRequest
- func (*EnableProgramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableProgramRequest) GetName() string
- func (*EnableProgramRequest) ProtoMessage()
- func (x *EnableProgramRequest) ProtoReflect() protoreflect.Message
- func (x *EnableProgramRequest) Reset()
- func (x *EnableProgramRequest) String() string
- type GetAccountRequest
- type GetAccountTaxRequest
- func (*GetAccountTaxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountTaxRequest) GetName() string
- func (*GetAccountTaxRequest) ProtoMessage()
- func (x *GetAccountTaxRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountTaxRequest) Reset()
- func (x *GetAccountTaxRequest) String() string
- type GetAutofeedSettingsRequest
- func (*GetAutofeedSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAutofeedSettingsRequest) GetName() string
- func (*GetAutofeedSettingsRequest) ProtoMessage()
- func (x *GetAutofeedSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAutofeedSettingsRequest) Reset()
- func (x *GetAutofeedSettingsRequest) String() string
- type GetBusinessIdentityRequest
- func (*GetBusinessIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBusinessIdentityRequest) GetName() string
- func (*GetBusinessIdentityRequest) ProtoMessage()
- func (x *GetBusinessIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GetBusinessIdentityRequest) Reset()
- func (x *GetBusinessIdentityRequest) String() string
- type GetBusinessInfoRequest
- func (*GetBusinessInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBusinessInfoRequest) GetName() string
- func (*GetBusinessInfoRequest) ProtoMessage()
- func (x *GetBusinessInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetBusinessInfoRequest) Reset()
- func (x *GetBusinessInfoRequest) String() string
- type GetEmailPreferencesRequest
- func (*GetEmailPreferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmailPreferencesRequest) GetName() string
- func (*GetEmailPreferencesRequest) ProtoMessage()
- func (x *GetEmailPreferencesRequest) ProtoReflect() protoreflect.Message
- func (x *GetEmailPreferencesRequest) Reset()
- func (x *GetEmailPreferencesRequest) String() string
- type GetHomepageRequest
- func (*GetHomepageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomepageRequest) GetName() string
- func (*GetHomepageRequest) ProtoMessage()
- func (x *GetHomepageRequest) ProtoReflect() protoreflect.Message
- func (x *GetHomepageRequest) Reset()
- func (x *GetHomepageRequest) String() string
- type GetOnlineReturnPolicyRequest
- func (*GetOnlineReturnPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOnlineReturnPolicyRequest) GetName() string
- func (*GetOnlineReturnPolicyRequest) ProtoMessage()
- func (x *GetOnlineReturnPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetOnlineReturnPolicyRequest) Reset()
- func (x *GetOnlineReturnPolicyRequest) String() string
- type GetProgramRequest
- type GetRegionRequest
- type GetShippingSettingsRequest
- func (*GetShippingSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShippingSettingsRequest) GetName() string
- func (*GetShippingSettingsRequest) ProtoMessage()
- func (x *GetShippingSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetShippingSettingsRequest) Reset()
- func (x *GetShippingSettingsRequest) String() string
- type GetTermsOfServiceAgreementStateRequest
- func (*GetTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTermsOfServiceAgreementStateRequest) GetName() string
- func (*GetTermsOfServiceAgreementStateRequest) ProtoMessage()
- func (x *GetTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTermsOfServiceAgreementStateRequest) Reset()
- func (x *GetTermsOfServiceAgreementStateRequest) String() string
- type GetTermsOfServiceRequest
- func (*GetTermsOfServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTermsOfServiceRequest) GetName() string
- func (*GetTermsOfServiceRequest) ProtoMessage()
- func (x *GetTermsOfServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetTermsOfServiceRequest) Reset()
- func (x *GetTermsOfServiceRequest) String() string
- type GetUserRequest
- type Headers
- func (*Headers) Descriptor() ([]byte, []int)deprecated
- func (x *Headers) GetLocations() []*LocationIdSet
- func (x *Headers) GetNumberOfItems() []string
- func (x *Headers) GetPostalCodeGroupNames() []string
- func (x *Headers) GetPrices() []*typepb.Price
- func (x *Headers) GetWeights() []*typepb.Weight
- func (*Headers) ProtoMessage()
- func (x *Headers) ProtoReflect() protoreflect.Message
- func (x *Headers) Reset()
- func (x *Headers) String() string
- type Homepage
- func (*Homepage) Descriptor() ([]byte, []int)deprecated
- func (x *Homepage) GetClaimed() bool
- func (x *Homepage) GetName() string
- func (x *Homepage) GetUri() string
- func (*Homepage) ProtoMessage()
- func (x *Homepage) ProtoReflect() protoreflect.Message
- func (x *Homepage) Reset()
- func (x *Homepage) String() string
- type HomepageServiceClient
- type HomepageServiceServer
- type InsertShippingSettingsRequest
- func (*InsertShippingSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertShippingSettingsRequest) GetParent() string
- func (x *InsertShippingSettingsRequest) GetShippingSetting() *ShippingSettings
- func (*InsertShippingSettingsRequest) ProtoMessage()
- func (x *InsertShippingSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *InsertShippingSettingsRequest) Reset()
- func (x *InsertShippingSettingsRequest) String() string
- type ListAccountIssuesRequest
- func (*ListAccountIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountIssuesRequest) GetLanguageCode() string
- func (x *ListAccountIssuesRequest) GetPageSize() int32
- func (x *ListAccountIssuesRequest) GetPageToken() string
- func (x *ListAccountIssuesRequest) GetParent() string
- func (x *ListAccountIssuesRequest) GetTimeZone() string
- func (*ListAccountIssuesRequest) ProtoMessage()
- func (x *ListAccountIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountIssuesRequest) Reset()
- func (x *ListAccountIssuesRequest) String() string
- type ListAccountIssuesResponse
- func (*ListAccountIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountIssuesResponse) GetAccountIssues() []*AccountIssue
- func (x *ListAccountIssuesResponse) GetNextPageToken() string
- func (*ListAccountIssuesResponse) ProtoMessage()
- func (x *ListAccountIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountIssuesResponse) Reset()
- func (x *ListAccountIssuesResponse) String() string
- type ListAccountTaxRequest
- func (*ListAccountTaxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountTaxRequest) GetPageSize() int32
- func (x *ListAccountTaxRequest) GetPageToken() string
- func (x *ListAccountTaxRequest) GetParent() string
- func (*ListAccountTaxRequest) ProtoMessage()
- func (x *ListAccountTaxRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountTaxRequest) Reset()
- func (x *ListAccountTaxRequest) String() string
- type ListAccountTaxResponse
- func (*ListAccountTaxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountTaxResponse) GetAccountTaxes() []*AccountTax
- func (x *ListAccountTaxResponse) GetNextPageToken() string
- func (*ListAccountTaxResponse) ProtoMessage()
- func (x *ListAccountTaxResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountTaxResponse) Reset()
- func (x *ListAccountTaxResponse) String() string
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetFilter() string
- func (x *ListAccountsRequest) GetPageSize() int32
- func (x *ListAccountsRequest) GetPageToken() string
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsResponse) GetAccounts() []*Account
- func (x *ListAccountsResponse) GetNextPageToken() string
- func (*ListAccountsResponse) ProtoMessage()
- func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountsResponse) Reset()
- func (x *ListAccountsResponse) String() string
- type ListOnlineReturnPoliciesRequest
- func (*ListOnlineReturnPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOnlineReturnPoliciesRequest) GetPageSize() int32
- func (x *ListOnlineReturnPoliciesRequest) GetPageToken() string
- func (x *ListOnlineReturnPoliciesRequest) GetParent() string
- func (*ListOnlineReturnPoliciesRequest) ProtoMessage()
- func (x *ListOnlineReturnPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListOnlineReturnPoliciesRequest) Reset()
- func (x *ListOnlineReturnPoliciesRequest) String() string
- type ListOnlineReturnPoliciesResponse
- func (*ListOnlineReturnPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOnlineReturnPoliciesResponse) GetNextPageToken() string
- func (x *ListOnlineReturnPoliciesResponse) GetOnlineReturnPolicies() []*OnlineReturnPolicy
- func (*ListOnlineReturnPoliciesResponse) ProtoMessage()
- func (x *ListOnlineReturnPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListOnlineReturnPoliciesResponse) Reset()
- func (x *ListOnlineReturnPoliciesResponse) String() string
- type ListProgramsRequest
- func (*ListProgramsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProgramsRequest) GetPageSize() int32
- func (x *ListProgramsRequest) GetPageToken() string
- func (x *ListProgramsRequest) GetParent() string
- func (*ListProgramsRequest) ProtoMessage()
- func (x *ListProgramsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProgramsRequest) Reset()
- func (x *ListProgramsRequest) String() string
- type ListProgramsResponse
- func (*ListProgramsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProgramsResponse) GetNextPageToken() string
- func (x *ListProgramsResponse) GetPrograms() []*Program
- func (*ListProgramsResponse) ProtoMessage()
- func (x *ListProgramsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProgramsResponse) Reset()
- func (x *ListProgramsResponse) String() string
- type ListRegionsRequest
- func (*ListRegionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegionsRequest) GetPageSize() int32
- func (x *ListRegionsRequest) GetPageToken() string
- func (x *ListRegionsRequest) GetParent() string
- func (*ListRegionsRequest) ProtoMessage()
- func (x *ListRegionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegionsRequest) Reset()
- func (x *ListRegionsRequest) String() string
- type ListRegionsResponse
- func (*ListRegionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegionsResponse) GetNextPageToken() string
- func (x *ListRegionsResponse) GetRegions() []*Region
- func (*ListRegionsResponse) ProtoMessage()
- func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegionsResponse) Reset()
- func (x *ListRegionsResponse) String() string
- type ListSubAccountsRequest
- func (*ListSubAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubAccountsRequest) GetPageSize() int32
- func (x *ListSubAccountsRequest) GetPageToken() string
- func (x *ListSubAccountsRequest) GetProvider() string
- func (*ListSubAccountsRequest) ProtoMessage()
- func (x *ListSubAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubAccountsRequest) Reset()
- func (x *ListSubAccountsRequest) String() string
- type ListSubAccountsResponse
- func (*ListSubAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubAccountsResponse) GetAccounts() []*Account
- func (x *ListSubAccountsResponse) GetNextPageToken() string
- func (*ListSubAccountsResponse) ProtoMessage()
- func (x *ListSubAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubAccountsResponse) Reset()
- func (x *ListSubAccountsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (x *ListUsersRequest) GetParent() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type LocationIdSet
- type MinimumOrderValueTable
- func (*MinimumOrderValueTable) Descriptor() ([]byte, []int)deprecated
- func (x *MinimumOrderValueTable) GetStoreCodeSetWithMovs() []*MinimumOrderValueTable_StoreCodeSetWithMov
- func (*MinimumOrderValueTable) ProtoMessage()
- func (x *MinimumOrderValueTable) ProtoReflect() protoreflect.Message
- func (x *MinimumOrderValueTable) Reset()
- func (x *MinimumOrderValueTable) String() string
- type MinimumOrderValueTable_StoreCodeSetWithMov
- func (*MinimumOrderValueTable_StoreCodeSetWithMov) Descriptor() ([]byte, []int)deprecated
- func (x *MinimumOrderValueTable_StoreCodeSetWithMov) GetStoreCodes() []string
- func (x *MinimumOrderValueTable_StoreCodeSetWithMov) GetValue() *typepb.Price
- func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoMessage()
- func (x *MinimumOrderValueTable_StoreCodeSetWithMov) ProtoReflect() protoreflect.Message
- func (x *MinimumOrderValueTable_StoreCodeSetWithMov) Reset()
- func (x *MinimumOrderValueTable_StoreCodeSetWithMov) String() string
- type OnlineReturnPolicy
- func (*OnlineReturnPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineReturnPolicy) GetAcceptDefectiveOnly() bool
- func (x *OnlineReturnPolicy) GetAcceptExchange() bool
- func (x *OnlineReturnPolicy) GetCountries() []string
- func (x *OnlineReturnPolicy) GetItemConditions() []OnlineReturnPolicy_ItemCondition
- func (x *OnlineReturnPolicy) GetLabel() string
- func (x *OnlineReturnPolicy) GetName() string
- func (x *OnlineReturnPolicy) GetPolicy() *OnlineReturnPolicy_Policy
- func (x *OnlineReturnPolicy) GetProcessRefundDays() int32
- func (x *OnlineReturnPolicy) GetRestockingFee() *OnlineReturnPolicy_RestockingFee
- func (x *OnlineReturnPolicy) GetReturnMethods() []OnlineReturnPolicy_ReturnMethod
- func (x *OnlineReturnPolicy) GetReturnPolicyId() string
- func (x *OnlineReturnPolicy) GetReturnPolicyUri() string
- func (x *OnlineReturnPolicy) GetReturnShippingFee() *OnlineReturnPolicy_ReturnShippingFee
- func (*OnlineReturnPolicy) ProtoMessage()
- func (x *OnlineReturnPolicy) ProtoReflect() protoreflect.Message
- func (x *OnlineReturnPolicy) Reset()
- func (x *OnlineReturnPolicy) String() string
- type OnlineReturnPolicyServiceClient
- type OnlineReturnPolicyServiceServer
- type OnlineReturnPolicy_ItemCondition
- func (OnlineReturnPolicy_ItemCondition) Descriptor() protoreflect.EnumDescriptor
- func (x OnlineReturnPolicy_ItemCondition) Enum() *OnlineReturnPolicy_ItemCondition
- func (OnlineReturnPolicy_ItemCondition) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnlineReturnPolicy_ItemCondition) Number() protoreflect.EnumNumber
- func (x OnlineReturnPolicy_ItemCondition) String() string
- func (OnlineReturnPolicy_ItemCondition) Type() protoreflect.EnumType
- type OnlineReturnPolicy_Policy
- func (*OnlineReturnPolicy_Policy) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineReturnPolicy_Policy) GetDays() int64
- func (x *OnlineReturnPolicy_Policy) GetType() OnlineReturnPolicy_Policy_Type
- func (*OnlineReturnPolicy_Policy) ProtoMessage()
- func (x *OnlineReturnPolicy_Policy) ProtoReflect() protoreflect.Message
- func (x *OnlineReturnPolicy_Policy) Reset()
- func (x *OnlineReturnPolicy_Policy) String() string
- type OnlineReturnPolicy_Policy_Type
- func (OnlineReturnPolicy_Policy_Type) Descriptor() protoreflect.EnumDescriptor
- func (x OnlineReturnPolicy_Policy_Type) Enum() *OnlineReturnPolicy_Policy_Type
- func (OnlineReturnPolicy_Policy_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnlineReturnPolicy_Policy_Type) Number() protoreflect.EnumNumber
- func (x OnlineReturnPolicy_Policy_Type) String() string
- func (OnlineReturnPolicy_Policy_Type) Type() protoreflect.EnumType
- type OnlineReturnPolicy_RestockingFee
- func (*OnlineReturnPolicy_RestockingFee) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineReturnPolicy_RestockingFee) GetFixedFee() *typepb.Price
- func (x *OnlineReturnPolicy_RestockingFee) GetMicroPercent() int32
- func (m *OnlineReturnPolicy_RestockingFee) GetType() isOnlineReturnPolicy_RestockingFee_Type
- func (*OnlineReturnPolicy_RestockingFee) ProtoMessage()
- func (x *OnlineReturnPolicy_RestockingFee) ProtoReflect() protoreflect.Message
- func (x *OnlineReturnPolicy_RestockingFee) Reset()
- func (x *OnlineReturnPolicy_RestockingFee) String() string
- type OnlineReturnPolicy_RestockingFee_FixedFee
- type OnlineReturnPolicy_RestockingFee_MicroPercent
- type OnlineReturnPolicy_ReturnMethod
- func (OnlineReturnPolicy_ReturnMethod) Descriptor() protoreflect.EnumDescriptor
- func (x OnlineReturnPolicy_ReturnMethod) Enum() *OnlineReturnPolicy_ReturnMethod
- func (OnlineReturnPolicy_ReturnMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnlineReturnPolicy_ReturnMethod) Number() protoreflect.EnumNumber
- func (x OnlineReturnPolicy_ReturnMethod) String() string
- func (OnlineReturnPolicy_ReturnMethod) Type() protoreflect.EnumType
- type OnlineReturnPolicy_ReturnShippingFee
- func (*OnlineReturnPolicy_ReturnShippingFee) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineReturnPolicy_ReturnShippingFee) GetFixedFee() *typepb.Price
- func (x *OnlineReturnPolicy_ReturnShippingFee) GetType() OnlineReturnPolicy_ReturnShippingFee_Type
- func (*OnlineReturnPolicy_ReturnShippingFee) ProtoMessage()
- func (x *OnlineReturnPolicy_ReturnShippingFee) ProtoReflect() protoreflect.Message
- func (x *OnlineReturnPolicy_ReturnShippingFee) Reset()
- func (x *OnlineReturnPolicy_ReturnShippingFee) String() string
- type OnlineReturnPolicy_ReturnShippingFee_Type
- func (OnlineReturnPolicy_ReturnShippingFee_Type) Descriptor() protoreflect.EnumDescriptor
- func (x OnlineReturnPolicy_ReturnShippingFee_Type) Enum() *OnlineReturnPolicy_ReturnShippingFee_Type
- func (OnlineReturnPolicy_ReturnShippingFee_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnlineReturnPolicy_ReturnShippingFee_Type) Number() protoreflect.EnumNumber
- func (x OnlineReturnPolicy_ReturnShippingFee_Type) String() string
- func (OnlineReturnPolicy_ReturnShippingFee_Type) Type() protoreflect.EnumType
- type PhoneVerificationState
- func (PhoneVerificationState) Descriptor() protoreflect.EnumDescriptor
- func (x PhoneVerificationState) Enum() *PhoneVerificationState
- func (PhoneVerificationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PhoneVerificationState) Number() protoreflect.EnumNumber
- func (x PhoneVerificationState) String() string
- func (PhoneVerificationState) Type() protoreflect.EnumType
- type Program
- func (*Program) Descriptor() ([]byte, []int)deprecated
- func (x *Program) GetActiveRegionCodes() []string
- func (x *Program) GetDocumentationUri() string
- func (x *Program) GetName() string
- func (x *Program) GetState() Program_State
- func (x *Program) GetUnmetRequirements() []*Program_Requirement
- func (*Program) ProtoMessage()
- func (x *Program) ProtoReflect() protoreflect.Message
- func (x *Program) Reset()
- func (x *Program) String() string
- type Program_Requirement
- func (*Program_Requirement) Descriptor() ([]byte, []int)deprecated
- func (x *Program_Requirement) GetAffectedRegionCodes() []string
- func (x *Program_Requirement) GetDocumentationUri() string
- func (x *Program_Requirement) GetTitle() string
- func (*Program_Requirement) ProtoMessage()
- func (x *Program_Requirement) ProtoReflect() protoreflect.Message
- func (x *Program_Requirement) Reset()
- func (x *Program_Requirement) String() string
- type Program_State
- func (Program_State) Descriptor() protoreflect.EnumDescriptor
- func (x Program_State) Enum() *Program_State
- func (Program_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Program_State) Number() protoreflect.EnumNumber
- func (x Program_State) String() string
- func (Program_State) Type() protoreflect.EnumType
- type ProgramsServiceClient
- type ProgramsServiceServer
- type RateGroup
- func (*RateGroup) Descriptor() ([]byte, []int)deprecated
- func (x *RateGroup) GetApplicableShippingLabels() []string
- func (x *RateGroup) GetCarrierRates() []*CarrierRate
- func (x *RateGroup) GetMainTable() *Table
- func (x *RateGroup) GetName() string
- func (x *RateGroup) GetSingleValue() *Value
- func (x *RateGroup) GetSubtables() []*Table
- func (*RateGroup) ProtoMessage()
- func (x *RateGroup) ProtoReflect() protoreflect.Message
- func (x *RateGroup) Reset()
- func (x *RateGroup) String() string
- type Region
- func (*Region) Descriptor() ([]byte, []int)deprecated
- func (x *Region) GetDisplayName() string
- func (x *Region) GetGeotargetArea() *Region_GeoTargetArea
- func (x *Region) GetName() string
- func (x *Region) GetPostalCodeArea() *Region_PostalCodeArea
- func (x *Region) GetRegionalInventoryEligible() *wrapperspb.BoolValue
- func (x *Region) GetShippingEligible() *wrapperspb.BoolValue
- func (*Region) ProtoMessage()
- func (x *Region) ProtoReflect() protoreflect.Message
- func (x *Region) Reset()
- func (x *Region) String() string
- type Region_GeoTargetArea
- func (*Region_GeoTargetArea) Descriptor() ([]byte, []int)deprecated
- func (x *Region_GeoTargetArea) GetGeotargetCriteriaIds() []int64
- func (*Region_GeoTargetArea) ProtoMessage()
- func (x *Region_GeoTargetArea) ProtoReflect() protoreflect.Message
- func (x *Region_GeoTargetArea) Reset()
- func (x *Region_GeoTargetArea) String() string
- type Region_PostalCodeArea
- func (*Region_PostalCodeArea) Descriptor() ([]byte, []int)deprecated
- func (x *Region_PostalCodeArea) GetPostalCodes() []*Region_PostalCodeArea_PostalCodeRange
- func (x *Region_PostalCodeArea) GetRegionCode() string
- func (*Region_PostalCodeArea) ProtoMessage()
- func (x *Region_PostalCodeArea) ProtoReflect() protoreflect.Message
- func (x *Region_PostalCodeArea) Reset()
- func (x *Region_PostalCodeArea) String() string
- type Region_PostalCodeArea_PostalCodeRange
- func (*Region_PostalCodeArea_PostalCodeRange) Descriptor() ([]byte, []int)deprecated
- func (x *Region_PostalCodeArea_PostalCodeRange) GetBegin() string
- func (x *Region_PostalCodeArea_PostalCodeRange) GetEnd() string
- func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage()
- func (x *Region_PostalCodeArea_PostalCodeRange) ProtoReflect() protoreflect.Message
- func (x *Region_PostalCodeArea_PostalCodeRange) Reset()
- func (x *Region_PostalCodeArea_PostalCodeRange) String() string
- type RegionsServiceClient
- type RegionsServiceServer
- type Required
- type RetrieveForApplicationTermsOfServiceAgreementStateRequest
- func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) GetParent() string
- func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoMessage()
- func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message
- func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) Reset()
- func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) String() string
- type RetrieveLatestTermsOfServiceRequest
- func (*RetrieveLatestTermsOfServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveLatestTermsOfServiceRequest) GetKind() TermsOfServiceKind
- func (x *RetrieveLatestTermsOfServiceRequest) GetRegionCode() string
- func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage()
- func (x *RetrieveLatestTermsOfServiceRequest) ProtoReflect() protoreflect.Message
- func (x *RetrieveLatestTermsOfServiceRequest) Reset()
- func (x *RetrieveLatestTermsOfServiceRequest) String() string
- type Row
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetActive() bool
- func (x *Service) GetCurrencyCode() string
- func (x *Service) GetDeliveryCountries() []string
- func (x *Service) GetDeliveryTime() *DeliveryTime
- func (x *Service) GetLoyaltyPrograms() []*Service_LoyaltyProgram
- func (x *Service) GetMinimumOrderValue() *typepb.Price
- func (x *Service) GetMinimumOrderValueTable() *MinimumOrderValueTable
- func (x *Service) GetRateGroups() []*RateGroup
- func (x *Service) GetServiceName() string
- func (x *Service) GetShipmentType() Service_ShipmentType
- func (x *Service) GetStoreConfig() *Service_StoreConfig
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type Service_LoyaltyProgram
- func (*Service_LoyaltyProgram) Descriptor() ([]byte, []int)deprecated
- func (x *Service_LoyaltyProgram) GetLoyaltyProgramTiers() []*Service_LoyaltyProgram_LoyaltyProgramTiers
- func (x *Service_LoyaltyProgram) GetProgramLabel() string
- func (*Service_LoyaltyProgram) ProtoMessage()
- func (x *Service_LoyaltyProgram) ProtoReflect() protoreflect.Message
- func (x *Service_LoyaltyProgram) Reset()
- func (x *Service_LoyaltyProgram) String() string
- type Service_LoyaltyProgram_LoyaltyProgramTiers
- func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Descriptor() ([]byte, []int)deprecated
- func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) GetTierLabel() string
- func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoMessage()
- func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoReflect() protoreflect.Message
- func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) Reset()
- func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) String() string
- type Service_ShipmentType
- func (Service_ShipmentType) Descriptor() protoreflect.EnumDescriptor
- func (x Service_ShipmentType) Enum() *Service_ShipmentType
- func (Service_ShipmentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_ShipmentType) Number() protoreflect.EnumNumber
- func (x Service_ShipmentType) String() string
- func (Service_ShipmentType) Type() protoreflect.EnumType
- type Service_StoreConfig
- func (*Service_StoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Service_StoreConfig) GetCutoffConfig() *Service_StoreConfig_CutoffConfig
- func (x *Service_StoreConfig) GetServiceRadius() *Distance
- func (x *Service_StoreConfig) GetStoreCodes() []string
- func (x *Service_StoreConfig) GetStoreServiceType() Service_StoreConfig_StoreServiceType
- func (*Service_StoreConfig) ProtoMessage()
- func (x *Service_StoreConfig) ProtoReflect() protoreflect.Message
- func (x *Service_StoreConfig) Reset()
- func (x *Service_StoreConfig) String() string
- type Service_StoreConfig_CutoffConfig
- func (*Service_StoreConfig_CutoffConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Service_StoreConfig_CutoffConfig) GetLocalCutoffTime() *Service_StoreConfig_CutoffConfig_LocalCutoffTime
- func (x *Service_StoreConfig_CutoffConfig) GetNoDeliveryPostCutoff() bool
- func (x *Service_StoreConfig_CutoffConfig) GetStoreCloseOffsetHours() int64
- func (*Service_StoreConfig_CutoffConfig) ProtoMessage()
- func (x *Service_StoreConfig_CutoffConfig) ProtoReflect() protoreflect.Message
- func (x *Service_StoreConfig_CutoffConfig) Reset()
- func (x *Service_StoreConfig_CutoffConfig) String() string
- type Service_StoreConfig_CutoffConfig_LocalCutoffTime
- func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Descriptor() ([]byte, []int)deprecated
- func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetHour() int64
- func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetMinute() int64
- func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoMessage()
- func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoReflect() protoreflect.Message
- func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) Reset()
- func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) String() string
- type Service_StoreConfig_StoreServiceType
- func (Service_StoreConfig_StoreServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x Service_StoreConfig_StoreServiceType) Enum() *Service_StoreConfig_StoreServiceType
- func (Service_StoreConfig_StoreServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_StoreConfig_StoreServiceType) Number() protoreflect.EnumNumber
- func (x Service_StoreConfig_StoreServiceType) String() string
- func (Service_StoreConfig_StoreServiceType) Type() protoreflect.EnumType
- type ShippingSettings
- func (*ShippingSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ShippingSettings) GetEtag() string
- func (x *ShippingSettings) GetName() string
- func (x *ShippingSettings) GetServices() []*Service
- func (x *ShippingSettings) GetWarehouses() []*Warehouse
- func (*ShippingSettings) ProtoMessage()
- func (x *ShippingSettings) ProtoReflect() protoreflect.Message
- func (x *ShippingSettings) Reset()
- func (x *ShippingSettings) String() string
- type ShippingSettingsServiceClient
- type ShippingSettingsServiceServer
- type Table
- func (*Table) Descriptor() ([]byte, []int)deprecated
- func (x *Table) GetColumnHeaders() *Headers
- func (x *Table) GetName() string
- func (x *Table) GetRowHeaders() *Headers
- func (x *Table) GetRows() []*Row
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (x *Table) String() string
- type TaxRule
- func (*TaxRule) Descriptor() ([]byte, []int)deprecated
- func (x *TaxRule) GetEffectiveTimePeriod() *interval.Interval
- func (m *TaxRule) GetLocation() isTaxRule_Location
- func (x *TaxRule) GetLocationId() int64
- func (x *TaxRule) GetPostCodeRange() *TaxRule_TaxPostalCodeRange
- func (m *TaxRule) GetRateCalculation() isTaxRule_RateCalculation
- func (x *TaxRule) GetRegionCode() string
- func (x *TaxRule) GetSelfSpecifiedRateMicros() int64
- func (x *TaxRule) GetShippingTaxed() bool
- func (x *TaxRule) GetUseGoogleRate() bool
- func (*TaxRule) ProtoMessage()
- func (x *TaxRule) ProtoReflect() protoreflect.Message
- func (x *TaxRule) Reset()
- func (x *TaxRule) String() string
- type TaxRule_LocationId
- type TaxRule_PostCodeRange
- type TaxRule_SelfSpecifiedRateMicros
- type TaxRule_TaxPostalCodeRange
- func (*TaxRule_TaxPostalCodeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TaxRule_TaxPostalCodeRange) GetEnd() string
- func (x *TaxRule_TaxPostalCodeRange) GetStart() string
- func (*TaxRule_TaxPostalCodeRange) ProtoMessage()
- func (x *TaxRule_TaxPostalCodeRange) ProtoReflect() protoreflect.Message
- func (x *TaxRule_TaxPostalCodeRange) Reset()
- func (x *TaxRule_TaxPostalCodeRange) String() string
- type TaxRule_UseGoogleRate
- type TermsOfService
- func (*TermsOfService) Descriptor() ([]byte, []int)deprecated
- func (x *TermsOfService) GetExternal() bool
- func (x *TermsOfService) GetFileUri() string
- func (x *TermsOfService) GetKind() TermsOfServiceKind
- func (x *TermsOfService) GetName() string
- func (x *TermsOfService) GetRegionCode() string
- func (*TermsOfService) ProtoMessage()
- func (x *TermsOfService) ProtoReflect() protoreflect.Message
- func (x *TermsOfService) Reset()
- func (x *TermsOfService) String() string
- type TermsOfServiceAgreementState
- func (*TermsOfServiceAgreementState) Descriptor() ([]byte, []int)deprecated
- func (x *TermsOfServiceAgreementState) GetAccepted() *Accepted
- func (x *TermsOfServiceAgreementState) GetName() string
- func (x *TermsOfServiceAgreementState) GetRegionCode() string
- func (x *TermsOfServiceAgreementState) GetRequired() *Required
- func (x *TermsOfServiceAgreementState) GetTermsOfServiceKind() TermsOfServiceKind
- func (*TermsOfServiceAgreementState) ProtoMessage()
- func (x *TermsOfServiceAgreementState) ProtoReflect() protoreflect.Message
- func (x *TermsOfServiceAgreementState) Reset()
- func (x *TermsOfServiceAgreementState) String() string
- type TermsOfServiceAgreementStateServiceClient
- type TermsOfServiceAgreementStateServiceServer
- type TermsOfServiceKind
- func (TermsOfServiceKind) Descriptor() protoreflect.EnumDescriptor
- func (x TermsOfServiceKind) Enum() *TermsOfServiceKind
- func (TermsOfServiceKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x TermsOfServiceKind) Number() protoreflect.EnumNumber
- func (x TermsOfServiceKind) String() string
- func (TermsOfServiceKind) Type() protoreflect.EnumType
- type TermsOfServiceServiceClient
- type TermsOfServiceServiceServer
- type TransitTable
- func (*TransitTable) Descriptor() ([]byte, []int)deprecated
- func (x *TransitTable) GetPostalCodeGroupNames() []string
- func (x *TransitTable) GetRows() []*TransitTable_TransitTimeRow
- func (x *TransitTable) GetTransitTimeLabels() []string
- func (*TransitTable) ProtoMessage()
- func (x *TransitTable) ProtoReflect() protoreflect.Message
- func (x *TransitTable) Reset()
- func (x *TransitTable) String() string
- type TransitTable_TransitTimeRow
- func (*TransitTable_TransitTimeRow) Descriptor() ([]byte, []int)deprecated
- func (x *TransitTable_TransitTimeRow) GetValues() []*TransitTable_TransitTimeRow_TransitTimeValue
- func (*TransitTable_TransitTimeRow) ProtoMessage()
- func (x *TransitTable_TransitTimeRow) ProtoReflect() protoreflect.Message
- func (x *TransitTable_TransitTimeRow) Reset()
- func (x *TransitTable_TransitTimeRow) String() string
- type TransitTable_TransitTimeRow_TransitTimeValue
- func (*TransitTable_TransitTimeRow_TransitTimeValue) Descriptor() ([]byte, []int)deprecated
- func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMaxTransitDays() int32
- func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMinTransitDays() int32
- func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoMessage()
- func (x *TransitTable_TransitTimeRow_TransitTimeValue) ProtoReflect() protoreflect.Message
- func (x *TransitTable_TransitTimeRow_TransitTimeValue) Reset()
- func (x *TransitTable_TransitTimeRow_TransitTimeValue) String() string
- type UnclaimHomepageRequest
- func (*UnclaimHomepageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnclaimHomepageRequest) GetName() string
- func (*UnclaimHomepageRequest) ProtoMessage()
- func (x *UnclaimHomepageRequest) ProtoReflect() protoreflect.Message
- func (x *UnclaimHomepageRequest) Reset()
- func (x *UnclaimHomepageRequest) String() string
- type UnimplementedAccountIssueServiceServer
- type UnimplementedAccountTaxServiceServer
- func (*UnimplementedAccountTaxServiceServer) GetAccountTax(context.Context, *GetAccountTaxRequest) (*AccountTax, error)
- func (*UnimplementedAccountTaxServiceServer) ListAccountTax(context.Context, *ListAccountTaxRequest) (*ListAccountTaxResponse, error)
- func (*UnimplementedAccountTaxServiceServer) UpdateAccountTax(context.Context, *UpdateAccountTaxRequest) (*AccountTax, error)
- type UnimplementedAccountsServiceServer
- func (*UnimplementedAccountsServiceServer) CreateAndConfigureAccount(context.Context, *CreateAndConfigureAccountRequest) (*Account, error)
- func (*UnimplementedAccountsServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
- func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
- func (*UnimplementedAccountsServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
- func (*UnimplementedAccountsServiceServer) ListSubAccounts(context.Context, *ListSubAccountsRequest) (*ListSubAccountsResponse, error)
- func (*UnimplementedAccountsServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error)
- type UnimplementedAutofeedSettingsServiceServer
- type UnimplementedBusinessIdentityServiceServer
- type UnimplementedBusinessInfoServiceServer
- type UnimplementedEmailPreferencesServiceServer
- type UnimplementedHomepageServiceServer
- func (*UnimplementedHomepageServiceServer) ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error)
- func (*UnimplementedHomepageServiceServer) GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error)
- func (*UnimplementedHomepageServiceServer) UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error)
- func (*UnimplementedHomepageServiceServer) UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error)
- type UnimplementedOnlineReturnPolicyServiceServer
- func (*UnimplementedOnlineReturnPolicyServiceServer) GetOnlineReturnPolicy(context.Context, *GetOnlineReturnPolicyRequest) (*OnlineReturnPolicy, error)
- func (*UnimplementedOnlineReturnPolicyServiceServer) ListOnlineReturnPolicies(context.Context, *ListOnlineReturnPoliciesRequest) (*ListOnlineReturnPoliciesResponse, error)
- type UnimplementedProgramsServiceServer
- func (*UnimplementedProgramsServiceServer) DisableProgram(context.Context, *DisableProgramRequest) (*Program, error)
- func (*UnimplementedProgramsServiceServer) EnableProgram(context.Context, *EnableProgramRequest) (*Program, error)
- func (*UnimplementedProgramsServiceServer) GetProgram(context.Context, *GetProgramRequest) (*Program, error)
- func (*UnimplementedProgramsServiceServer) ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error)
- type UnimplementedRegionsServiceServer
- func (*UnimplementedRegionsServiceServer) CreateRegion(context.Context, *CreateRegionRequest) (*Region, error)
- func (*UnimplementedRegionsServiceServer) DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error)
- func (*UnimplementedRegionsServiceServer) GetRegion(context.Context, *GetRegionRequest) (*Region, error)
- func (*UnimplementedRegionsServiceServer) ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error)
- func (*UnimplementedRegionsServiceServer) UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error)
- type UnimplementedShippingSettingsServiceServer
- type UnimplementedTermsOfServiceAgreementStateServiceServer
- func (*UnimplementedTermsOfServiceAgreementStateServiceServer) GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
- func (*UnimplementedTermsOfServiceAgreementStateServiceServer) RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
- type UnimplementedTermsOfServiceServiceServer
- func (*UnimplementedTermsOfServiceServiceServer) AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*emptypb.Empty, error)
- func (*UnimplementedTermsOfServiceServiceServer) GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error)
- func (*UnimplementedTermsOfServiceServiceServer) RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error)
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
- func (*UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (*UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
- func (*UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (*UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAccount() *Account
- func (x *UpdateAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UpdateAccountTaxRequest
- func (*UpdateAccountTaxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountTaxRequest) GetAccountTax() *AccountTax
- func (x *UpdateAccountTaxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAccountTaxRequest) ProtoMessage()
- func (x *UpdateAccountTaxRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountTaxRequest) Reset()
- func (x *UpdateAccountTaxRequest) String() string
- type UpdateAutofeedSettingsRequest
- func (*UpdateAutofeedSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAutofeedSettingsRequest) GetAutofeedSettings() *AutofeedSettings
- func (x *UpdateAutofeedSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAutofeedSettingsRequest) ProtoMessage()
- func (x *UpdateAutofeedSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAutofeedSettingsRequest) Reset()
- func (x *UpdateAutofeedSettingsRequest) String() string
- type UpdateBusinessIdentityRequest
- func (*UpdateBusinessIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessIdentityRequest) GetBusinessIdentity() *BusinessIdentity
- func (x *UpdateBusinessIdentityRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBusinessIdentityRequest) ProtoMessage()
- func (x *UpdateBusinessIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessIdentityRequest) Reset()
- func (x *UpdateBusinessIdentityRequest) String() string
- type UpdateBusinessInfoRequest
- func (*UpdateBusinessInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessInfoRequest) GetBusinessInfo() *BusinessInfo
- func (x *UpdateBusinessInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBusinessInfoRequest) ProtoMessage()
- func (x *UpdateBusinessInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessInfoRequest) Reset()
- func (x *UpdateBusinessInfoRequest) String() string
- type UpdateEmailPreferencesRequest
- func (*UpdateEmailPreferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEmailPreferencesRequest) GetEmailPreferences() *EmailPreferences
- func (x *UpdateEmailPreferencesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEmailPreferencesRequest) ProtoMessage()
- func (x *UpdateEmailPreferencesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEmailPreferencesRequest) Reset()
- func (x *UpdateEmailPreferencesRequest) String() string
- type UpdateHomepageRequest
- func (*UpdateHomepageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHomepageRequest) GetHomepage() *Homepage
- func (x *UpdateHomepageRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHomepageRequest) ProtoMessage()
- func (x *UpdateHomepageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHomepageRequest) Reset()
- func (x *UpdateHomepageRequest) String() string
- type UpdateRegionRequest
- func (*UpdateRegionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegionRequest) GetRegion() *Region
- func (x *UpdateRegionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRegionRequest) ProtoMessage()
- func (x *UpdateRegionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegionRequest) Reset()
- func (x *UpdateRegionRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccessRights() []AccessRight
- func (x *User) GetName() string
- func (x *User) GetState() User_State
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserServiceClient
- type UserServiceServer
- type User_State
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetCarrierRate() string
- func (x *Value) GetFlatRate() *typepb.Price
- func (x *Value) GetNoShipping() bool
- func (x *Value) GetPricePercentage() string
- func (x *Value) GetSubtable() string
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Warehouse
- func (*Warehouse) Descriptor() ([]byte, []int)deprecated
- func (x *Warehouse) GetBusinessDayConfig() *BusinessDayConfig
- func (x *Warehouse) GetCutoffTime() *WarehouseCutoffTime
- func (x *Warehouse) GetHandlingDays() int64
- func (x *Warehouse) GetName() string
- func (x *Warehouse) GetShippingAddress() *Address
- func (*Warehouse) ProtoMessage()
- func (x *Warehouse) ProtoReflect() protoreflect.Message
- func (x *Warehouse) Reset()
- func (x *Warehouse) String() string
- type WarehouseBasedDeliveryTime
- func (*WarehouseBasedDeliveryTime) Descriptor() ([]byte, []int)deprecated
- func (x *WarehouseBasedDeliveryTime) GetCarrier() string
- func (x *WarehouseBasedDeliveryTime) GetCarrierService() string
- func (x *WarehouseBasedDeliveryTime) GetWarehouse() string
- func (*WarehouseBasedDeliveryTime) ProtoMessage()
- func (x *WarehouseBasedDeliveryTime) ProtoReflect() protoreflect.Message
- func (x *WarehouseBasedDeliveryTime) Reset()
- func (x *WarehouseBasedDeliveryTime) String() string
- type WarehouseCutoffTime
- func (*WarehouseCutoffTime) Descriptor() ([]byte, []int)deprecated
- func (x *WarehouseCutoffTime) GetHour() int32
- func (x *WarehouseCutoffTime) GetMinute() int32
- func (*WarehouseCutoffTime) ProtoMessage()
- func (x *WarehouseCutoffTime) ProtoReflect() protoreflect.Message
- func (x *WarehouseCutoffTime) Reset()
- func (x *WarehouseCutoffTime) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AccessRight_name = map[int32]string{ 0: "ACCESS_RIGHT_UNSPECIFIED", 1: "STANDARD", 2: "ADMIN", 3: "PERFORMANCE_REPORTING", } AccessRight_value = map[string]int32{ "ACCESS_RIGHT_UNSPECIFIED": 0, "STANDARD": 1, "ADMIN": 2, "PERFORMANCE_REPORTING": 3, } )
Enum value maps for AccessRight.
var ( AccountIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "CRITICAL", 2: "ERROR", 3: "SUGGESTION", } AccountIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "CRITICAL": 1, "ERROR": 2, "SUGGESTION": 3, } )
Enum value maps for AccountIssue_Severity.
var ( BusinessIdentity_PromotionsConsent_name = map[int32]string{ 0: "PROMOTIONS_CONSENT_UNSPECIFIED", 1: "PROMOTIONS_CONSENT_GIVEN", 2: "PROMOTIONS_CONSENT_DENIED", } BusinessIdentity_PromotionsConsent_value = map[string]int32{ "PROMOTIONS_CONSENT_UNSPECIFIED": 0, "PROMOTIONS_CONSENT_GIVEN": 1, "PROMOTIONS_CONSENT_DENIED": 2, } )
Enum value maps for BusinessIdentity_PromotionsConsent.
var ( BusinessIdentity_IdentityAttribute_IdentityDeclaration_name = map[int32]string{ 0: "IDENTITY_DECLARATION_UNSPECIFIED", 1: "SELF_IDENTIFIES_AS", 2: "DOES_NOT_SELF_IDENTIFY_AS", } BusinessIdentity_IdentityAttribute_IdentityDeclaration_value = map[string]int32{ "IDENTITY_DECLARATION_UNSPECIFIED": 0, "SELF_IDENTIFIES_AS": 1, "DOES_NOT_SELF_IDENTIFY_AS": 2, } )
Enum value maps for BusinessIdentity_IdentityAttribute_IdentityDeclaration.
var ( EmailPreferences_OptInState_name = map[int32]string{ 0: "OPT_IN_STATE_UNSPECIFIED", 1: "OPTED_OUT", 2: "OPTED_IN", 3: "UNCONFIRMED", } EmailPreferences_OptInState_value = map[string]int32{ "OPT_IN_STATE_UNSPECIFIED": 0, "OPTED_OUT": 1, "OPTED_IN": 2, "UNCONFIRMED": 3, } )
Enum value maps for EmailPreferences_OptInState.
var ( OnlineReturnPolicy_ReturnMethod_name = map[int32]string{ 0: "RETURN_METHOD_UNSPECIFIED", 1: "BY_MAIL", 2: "IN_STORE", 3: "AT_A_KIOSK", } OnlineReturnPolicy_ReturnMethod_value = map[string]int32{ "RETURN_METHOD_UNSPECIFIED": 0, "BY_MAIL": 1, "IN_STORE": 2, "AT_A_KIOSK": 3, } )
Enum value maps for OnlineReturnPolicy_ReturnMethod.
var ( OnlineReturnPolicy_ItemCondition_name = map[int32]string{ 0: "ITEM_CONDITION_UNSPECIFIED", 1: "NEW", 2: "USED", } OnlineReturnPolicy_ItemCondition_value = map[string]int32{ "ITEM_CONDITION_UNSPECIFIED": 0, "NEW": 1, "USED": 2, } )
Enum value maps for OnlineReturnPolicy_ItemCondition.
var ( OnlineReturnPolicy_ReturnShippingFee_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "FIXED", 2: "CUSTOMER_PAYING_ACTUAL_FEE", } OnlineReturnPolicy_ReturnShippingFee_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "FIXED": 1, "CUSTOMER_PAYING_ACTUAL_FEE": 2, } )
Enum value maps for OnlineReturnPolicy_ReturnShippingFee_Type.
var ( OnlineReturnPolicy_Policy_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "NUMBER_OF_DAYS_AFTER_DELIVERY", 2: "NO_RETURNS", 3: "LIFETIME_RETURNS", } OnlineReturnPolicy_Policy_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "NUMBER_OF_DAYS_AFTER_DELIVERY": 1, "NO_RETURNS": 2, "LIFETIME_RETURNS": 3, } )
Enum value maps for OnlineReturnPolicy_Policy_Type.
var ( PhoneVerificationState_name = map[int32]string{ 0: "PHONE_VERIFICATION_STATE_UNSPECIFIED", 1: "PHONE_VERIFICATION_STATE_VERIFIED", 2: "PHONE_VERIFICATION_STATE_UNVERIFIED", } PhoneVerificationState_value = map[string]int32{ "PHONE_VERIFICATION_STATE_UNSPECIFIED": 0, "PHONE_VERIFICATION_STATE_VERIFIED": 1, "PHONE_VERIFICATION_STATE_UNVERIFIED": 2, } )
Enum value maps for PhoneVerificationState.
var ( Program_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "NOT_ELIGIBLE", 2: "ELIGIBLE", 3: "ENABLED", } Program_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "NOT_ELIGIBLE": 1, "ELIGIBLE": 2, "ENABLED": 3, } )
Enum value maps for Program_State.
var ( Service_ShipmentType_name = map[int32]string{ 0: "SHIPMENT_TYPE_UNSPECIFIED", 1: "DELIVERY", 2: "LOCAL_DELIVERY", 3: "COLLECTION_POINT", } Service_ShipmentType_value = map[string]int32{ "SHIPMENT_TYPE_UNSPECIFIED": 0, "DELIVERY": 1, "LOCAL_DELIVERY": 2, "COLLECTION_POINT": 3, } )
Enum value maps for Service_ShipmentType.
var ( Service_StoreConfig_StoreServiceType_name = map[int32]string{ 0: "STORE_SERVICE_TYPE_UNSPECIFIED", 1: "ALL_STORES", 2: "SELECTED_STORES", } Service_StoreConfig_StoreServiceType_value = map[string]int32{ "STORE_SERVICE_TYPE_UNSPECIFIED": 0, "ALL_STORES": 1, "SELECTED_STORES": 2, } )
Enum value maps for Service_StoreConfig_StoreServiceType.
var ( Distance_Unit_name = map[int32]string{ 0: "UNIT_UNSPECIFIED", 1: "MILES", 2: "KILOMETERS", } Distance_Unit_value = map[string]int32{ "UNIT_UNSPECIFIED": 0, "MILES": 1, "KILOMETERS": 2, } )
Enum value maps for Distance_Unit.
var ( BusinessDayConfig_Weekday_name = map[int32]string{ 0: "WEEKDAY_UNSPECIFIED", 1: "MONDAY", 2: "TUESDAY", 3: "WEDNESDAY", 4: "THURSDAY", 5: "FRIDAY", 6: "SATURDAY", 7: "SUNDAY", } BusinessDayConfig_Weekday_value = map[string]int32{ "WEEKDAY_UNSPECIFIED": 0, "MONDAY": 1, "TUESDAY": 2, "WEDNESDAY": 3, "THURSDAY": 4, "FRIDAY": 5, "SATURDAY": 6, "SUNDAY": 7, } )
Enum value maps for BusinessDayConfig_Weekday.
var ( TermsOfServiceKind_name = map[int32]string{ 0: "TERMS_OF_SERVICE_KIND_UNSPECIFIED", 1: "MERCHANT_CENTER", } TermsOfServiceKind_value = map[string]int32{ "TERMS_OF_SERVICE_KIND_UNSPECIFIED": 0, "MERCHANT_CENTER": 1, } )
Enum value maps for TermsOfServiceKind.
var ( User_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "VERIFIED", } User_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "VERIFIED": 2, } )
Enum value maps for User_State.
var File_google_shopping_merchant_accounts_v1beta_accessright_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_account_tax_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_accountissue_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_accounts_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_accountservices_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_autofeedsettings_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_businessidentity_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_businessinfo_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_customerservice_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_emailpreferences_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_homepage_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_online_return_policy_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_phoneverificationstate_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_programs_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_regions_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_shippingsettings_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_tax_rule_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_termsofservice_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_termsofserviceagreementstate_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_accounts_v1beta_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountIssueServiceServer ¶
func RegisterAccountIssueServiceServer(s *grpc.Server, srv AccountIssueServiceServer)
func RegisterAccountTaxServiceServer ¶
func RegisterAccountTaxServiceServer(s *grpc.Server, srv AccountTaxServiceServer)
func RegisterAccountsServiceServer ¶
func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer)
func RegisterAutofeedSettingsServiceServer ¶ added in v0.11.0
func RegisterAutofeedSettingsServiceServer(s *grpc.Server, srv AutofeedSettingsServiceServer)
func RegisterBusinessIdentityServiceServer ¶
func RegisterBusinessIdentityServiceServer(s *grpc.Server, srv BusinessIdentityServiceServer)
func RegisterBusinessInfoServiceServer ¶
func RegisterBusinessInfoServiceServer(s *grpc.Server, srv BusinessInfoServiceServer)
func RegisterEmailPreferencesServiceServer ¶
func RegisterEmailPreferencesServiceServer(s *grpc.Server, srv EmailPreferencesServiceServer)
func RegisterHomepageServiceServer ¶
func RegisterHomepageServiceServer(s *grpc.Server, srv HomepageServiceServer)
func RegisterOnlineReturnPolicyServiceServer ¶
func RegisterOnlineReturnPolicyServiceServer(s *grpc.Server, srv OnlineReturnPolicyServiceServer)
func RegisterProgramsServiceServer ¶
func RegisterProgramsServiceServer(s *grpc.Server, srv ProgramsServiceServer)
func RegisterRegionsServiceServer ¶
func RegisterRegionsServiceServer(s *grpc.Server, srv RegionsServiceServer)
func RegisterShippingSettingsServiceServer ¶
func RegisterShippingSettingsServiceServer(s *grpc.Server, srv ShippingSettingsServiceServer)
func RegisterTermsOfServiceAgreementStateServiceServer ¶
func RegisterTermsOfServiceAgreementStateServiceServer(s *grpc.Server, srv TermsOfServiceAgreementStateServiceServer)
func RegisterTermsOfServiceServiceServer ¶
func RegisterTermsOfServiceServiceServer(s *grpc.Server, srv TermsOfServiceServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type AcceptTermsOfServiceRequest ¶
type AcceptTermsOfServiceRequest struct { // Required. The resource name of the terms of service version. // Format: `termsOfService/{version}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The account for which to accept the ToS. Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This // is either a country when the ToS applies specifically to that country or // 001 when it applies globally. RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // contains filtered or unexported fields }
Request message for the `AcceptTermsOfService` method.
func (*AcceptTermsOfServiceRequest) Descriptor
deprecated
func (*AcceptTermsOfServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptTermsOfServiceRequest.ProtoReflect.Descriptor instead.
func (*AcceptTermsOfServiceRequest) GetAccount ¶
func (x *AcceptTermsOfServiceRequest) GetAccount() string
func (*AcceptTermsOfServiceRequest) GetName ¶
func (x *AcceptTermsOfServiceRequest) GetName() string
func (*AcceptTermsOfServiceRequest) GetRegionCode ¶
func (x *AcceptTermsOfServiceRequest) GetRegionCode() string
func (*AcceptTermsOfServiceRequest) ProtoMessage ¶
func (*AcceptTermsOfServiceRequest) ProtoMessage()
func (*AcceptTermsOfServiceRequest) ProtoReflect ¶
func (x *AcceptTermsOfServiceRequest) ProtoReflect() protoreflect.Message
func (*AcceptTermsOfServiceRequest) Reset ¶
func (x *AcceptTermsOfServiceRequest) Reset()
func (*AcceptTermsOfServiceRequest) String ¶
func (x *AcceptTermsOfServiceRequest) String() string
type Accepted ¶
type Accepted struct { // The accepted // [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService). TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` // The account where the acceptance was recorded. This can be the account // itself or, in the case of subaccounts, the MCA account. AcceptedBy string `protobuf:"bytes,2,opt,name=accepted_by,json=acceptedBy,proto3" json:"accepted_by,omitempty"` // When set, it states that the accepted // [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) // is only valid until the end of this date (in UTC). A new one must be // accepted before then. The information of the required // [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) // is found in the [Required](Required) message. ValidUntil *date.Date `protobuf:"bytes,3,opt,name=valid_until,json=validUntil,proto3,oneof" json:"valid_until,omitempty"` // contains filtered or unexported fields }
Describes the accepted terms of service.
func (*Accepted) Descriptor
deprecated
func (*Accepted) GetAcceptedBy ¶
func (*Accepted) GetTermsOfService ¶
func (*Accepted) GetValidUntil ¶
func (*Accepted) ProtoMessage ¶
func (*Accepted) ProtoMessage()
func (*Accepted) ProtoReflect ¶
func (x *Accepted) ProtoReflect() protoreflect.Message
type AccessRight ¶
type AccessRight int32
The access right.
const ( // Default value. This value is unused. AccessRight_ACCESS_RIGHT_UNSPECIFIED AccessRight = 0 // Standard access rights. AccessRight_STANDARD AccessRight = 1 // Admin access rights. AccessRight_ADMIN AccessRight = 2 // Users with this right have access to performance and insights. AccessRight_PERFORMANCE_REPORTING AccessRight = 3 )
func (AccessRight) Descriptor ¶
func (AccessRight) Descriptor() protoreflect.EnumDescriptor
func (AccessRight) Enum ¶
func (x AccessRight) Enum() *AccessRight
func (AccessRight) EnumDescriptor
deprecated
func (AccessRight) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessRight.Descriptor instead.
func (AccessRight) Number ¶
func (x AccessRight) Number() protoreflect.EnumNumber
func (AccessRight) String ¶
func (x AccessRight) String() string
func (AccessRight) Type ¶
func (AccessRight) Type() protoreflect.EnumType
type Account ¶
type Account struct { // Identifier. The resource name of the account. // Format: `accounts/{account}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The ID of the account. AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Required. A human-readable name of the account. See // [store name](https://support.google.com/merchants/answer/160556) and // [business name](https://support.google.com/merchants/answer/12159159) for // more information. AccountName string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Whether this account contains adult content. AdultContent bool `protobuf:"varint,4,opt,name=adult_content,json=adultContent,proto3" json:"adult_content,omitempty"` // Output only. Whether this is a test account. TestAccount bool `protobuf:"varint,5,opt,name=test_account,json=testAccount,proto3" json:"test_account,omitempty"` // Required. The time zone of the account. // // On writes, `time_zone` sets both the `reporting_time_zone` and the // `display_time_zone`. // // For reads, `time_zone` always returns the `display_time_zone`. If // `display_time_zone` doesn't exist for your account, `time_zone` is empty. TimeZone *datetime.TimeZone `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Required. The account's [BCP-47 language // code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`. LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
An account.
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetAccountName ¶
func (*Account) GetAdultContent ¶
func (*Account) GetLanguageCode ¶
func (*Account) GetTestAccount ¶
func (*Account) GetTimeZone ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountAggregation ¶ added in v0.11.0
type AccountAggregation struct {
// contains filtered or unexported fields
}
`AccountAggregation` payload.
func (*AccountAggregation) Descriptor
deprecated
added in
v0.11.0
func (*AccountAggregation) Descriptor() ([]byte, []int)
Deprecated: Use AccountAggregation.ProtoReflect.Descriptor instead.
func (*AccountAggregation) ProtoMessage ¶ added in v0.11.0
func (*AccountAggregation) ProtoMessage()
func (*AccountAggregation) ProtoReflect ¶ added in v0.11.0
func (x *AccountAggregation) ProtoReflect() protoreflect.Message
func (*AccountAggregation) Reset ¶ added in v0.11.0
func (x *AccountAggregation) Reset()
func (*AccountAggregation) String ¶ added in v0.11.0
func (x *AccountAggregation) String() string
type AccountIssue ¶
type AccountIssue struct { // Identifier. The resource name of the account issue. // Format: `accounts/{account}/issues/{id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The localized title of the issue. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The overall severity of the issue. Severity AccountIssue_Severity `` /* 138-byte string literal not displayed */ // The impact this issue has on various destinations. ImpactedDestinations []*AccountIssue_ImpactedDestination `protobuf:"bytes,4,rep,name=impacted_destinations,json=impactedDestinations,proto3" json:"impacted_destinations,omitempty"` // Further localized details about the issue. Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"` // Link to Merchant Center Help Center providing further information about the // issue and how to fix it. DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"` // contains filtered or unexported fields }
An [`AccountIssue`](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).
func (*AccountIssue) Descriptor
deprecated
func (*AccountIssue) Descriptor() ([]byte, []int)
Deprecated: Use AccountIssue.ProtoReflect.Descriptor instead.
func (*AccountIssue) GetDetail ¶
func (x *AccountIssue) GetDetail() string
func (*AccountIssue) GetDocumentationUri ¶
func (x *AccountIssue) GetDocumentationUri() string
func (*AccountIssue) GetImpactedDestinations ¶
func (x *AccountIssue) GetImpactedDestinations() []*AccountIssue_ImpactedDestination
func (*AccountIssue) GetName ¶
func (x *AccountIssue) GetName() string
func (*AccountIssue) GetSeverity ¶
func (x *AccountIssue) GetSeverity() AccountIssue_Severity
func (*AccountIssue) GetTitle ¶
func (x *AccountIssue) GetTitle() string
func (*AccountIssue) ProtoMessage ¶
func (*AccountIssue) ProtoMessage()
func (*AccountIssue) ProtoReflect ¶
func (x *AccountIssue) ProtoReflect() protoreflect.Message
func (*AccountIssue) Reset ¶
func (x *AccountIssue) Reset()
func (*AccountIssue) String ¶
func (x *AccountIssue) String() string
type AccountIssueServiceClient ¶
type AccountIssueServiceClient interface { // Lists all account issues of a Merchant Center account. ListAccountIssues(ctx context.Context, in *ListAccountIssuesRequest, opts ...grpc.CallOption) (*ListAccountIssuesResponse, error) }
AccountIssueServiceClient is the client API for AccountIssueService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountIssueServiceClient ¶
func NewAccountIssueServiceClient(cc grpc.ClientConnInterface) AccountIssueServiceClient
type AccountIssueServiceServer ¶
type AccountIssueServiceServer interface { // Lists all account issues of a Merchant Center account. ListAccountIssues(context.Context, *ListAccountIssuesRequest) (*ListAccountIssuesResponse, error) }
AccountIssueServiceServer is the server API for AccountIssueService service.
type AccountIssue_ImpactedDestination ¶
type AccountIssue_ImpactedDestination struct { // The impacted reporting context. ReportingContext *typepb.ReportingContext_ReportingContextEnum `` /* 180-byte string literal not displayed */ // The (negative) impact for various regions on the given destination. Impacts []*AccountIssue_ImpactedDestination_Impact `protobuf:"bytes,2,rep,name=impacts,proto3" json:"impacts,omitempty"` // contains filtered or unexported fields }
The impact of the issue on a destination.
func (*AccountIssue_ImpactedDestination) Descriptor
deprecated
func (*AccountIssue_ImpactedDestination) Descriptor() ([]byte, []int)
Deprecated: Use AccountIssue_ImpactedDestination.ProtoReflect.Descriptor instead.
func (*AccountIssue_ImpactedDestination) GetImpacts ¶
func (x *AccountIssue_ImpactedDestination) GetImpacts() []*AccountIssue_ImpactedDestination_Impact
func (*AccountIssue_ImpactedDestination) GetReportingContext ¶
func (x *AccountIssue_ImpactedDestination) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*AccountIssue_ImpactedDestination) ProtoMessage ¶
func (*AccountIssue_ImpactedDestination) ProtoMessage()
func (*AccountIssue_ImpactedDestination) ProtoReflect ¶
func (x *AccountIssue_ImpactedDestination) ProtoReflect() protoreflect.Message
func (*AccountIssue_ImpactedDestination) Reset ¶
func (x *AccountIssue_ImpactedDestination) Reset()
func (*AccountIssue_ImpactedDestination) String ¶
func (x *AccountIssue_ImpactedDestination) String() string
type AccountIssue_ImpactedDestination_Impact ¶
type AccountIssue_ImpactedDestination_Impact struct { // The [CLDR region code](https://cldr.unicode.org/) where this issue // applies. RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // The severity of the issue on the destination and region. Severity AccountIssue_Severity `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
The impact of the issue on a region.
func (*AccountIssue_ImpactedDestination_Impact) Descriptor
deprecated
func (*AccountIssue_ImpactedDestination_Impact) Descriptor() ([]byte, []int)
Deprecated: Use AccountIssue_ImpactedDestination_Impact.ProtoReflect.Descriptor instead.
func (*AccountIssue_ImpactedDestination_Impact) GetRegionCode ¶
func (x *AccountIssue_ImpactedDestination_Impact) GetRegionCode() string
func (*AccountIssue_ImpactedDestination_Impact) GetSeverity ¶
func (x *AccountIssue_ImpactedDestination_Impact) GetSeverity() AccountIssue_Severity
func (*AccountIssue_ImpactedDestination_Impact) ProtoMessage ¶
func (*AccountIssue_ImpactedDestination_Impact) ProtoMessage()
func (*AccountIssue_ImpactedDestination_Impact) ProtoReflect ¶
func (x *AccountIssue_ImpactedDestination_Impact) ProtoReflect() protoreflect.Message
func (*AccountIssue_ImpactedDestination_Impact) Reset ¶
func (x *AccountIssue_ImpactedDestination_Impact) Reset()
func (*AccountIssue_ImpactedDestination_Impact) String ¶
func (x *AccountIssue_ImpactedDestination_Impact) String() string
type AccountIssue_Severity ¶
type AccountIssue_Severity int32
All possible issue severities.
const ( // The severity is unknown. AccountIssue_SEVERITY_UNSPECIFIED AccountIssue_Severity = 0 // The issue causes offers to not serve. AccountIssue_CRITICAL AccountIssue_Severity = 1 // The issue might affect offers (in the future) or might be an // indicator of issues with offers. AccountIssue_ERROR AccountIssue_Severity = 2 // The issue is a suggestion for improvement. AccountIssue_SUGGESTION AccountIssue_Severity = 3 )
func (AccountIssue_Severity) Descriptor ¶
func (AccountIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (AccountIssue_Severity) Enum ¶
func (x AccountIssue_Severity) Enum() *AccountIssue_Severity
func (AccountIssue_Severity) EnumDescriptor
deprecated
func (AccountIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountIssue_Severity.Descriptor instead.
func (AccountIssue_Severity) Number ¶
func (x AccountIssue_Severity) Number() protoreflect.EnumNumber
func (AccountIssue_Severity) String ¶
func (x AccountIssue_Severity) String() string
func (AccountIssue_Severity) Type ¶
func (AccountIssue_Severity) Type() protoreflect.EnumType
type AccountTax ¶
type AccountTax struct { // Identifier. The name of the tax setting. // Format: // "{account_tax.name=accounts/{account}}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The ID of the account to which these account tax settings // belong. Account int64 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"` // Tax rules. "Define the tax rules in each region. // No tax will be presented if a region has no rule." TaxRules []*TaxRule `protobuf:"bytes,3,rep,name=tax_rules,json=taxRules,proto3" json:"tax_rules,omitempty"` // contains filtered or unexported fields }
The tax settings of a merchant account. All methods require the admin role.
func (*AccountTax) Descriptor
deprecated
func (*AccountTax) Descriptor() ([]byte, []int)
Deprecated: Use AccountTax.ProtoReflect.Descriptor instead.
func (*AccountTax) GetAccount ¶
func (x *AccountTax) GetAccount() int64
func (*AccountTax) GetName ¶
func (x *AccountTax) GetName() string
func (*AccountTax) GetTaxRules ¶
func (x *AccountTax) GetTaxRules() []*TaxRule
func (*AccountTax) ProtoMessage ¶
func (*AccountTax) ProtoMessage()
func (*AccountTax) ProtoReflect ¶
func (x *AccountTax) ProtoReflect() protoreflect.Message
func (*AccountTax) Reset ¶
func (x *AccountTax) Reset()
func (*AccountTax) String ¶
func (x *AccountTax) String() string
type AccountTaxServiceClient ¶
type AccountTaxServiceClient interface { // Returns the tax rules that match the conditions of GetAccountTaxRequest GetAccountTax(ctx context.Context, in *GetAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) // Lists the tax settings of the sub-accounts only in your // Merchant Center account. // This method can only be called on a multi-client account, otherwise it'll // return an error. ListAccountTax(ctx context.Context, in *ListAccountTaxRequest, opts ...grpc.CallOption) (*ListAccountTaxResponse, error) // Updates the tax settings of the account. UpdateAccountTax(ctx context.Context, in *UpdateAccountTaxRequest, opts ...grpc.CallOption) (*AccountTax, error) }
AccountTaxServiceClient is the client API for AccountTaxService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountTaxServiceClient ¶
func NewAccountTaxServiceClient(cc grpc.ClientConnInterface) AccountTaxServiceClient
type AccountTaxServiceServer ¶
type AccountTaxServiceServer interface { // Returns the tax rules that match the conditions of GetAccountTaxRequest GetAccountTax(context.Context, *GetAccountTaxRequest) (*AccountTax, error) // Lists the tax settings of the sub-accounts only in your // Merchant Center account. // This method can only be called on a multi-client account, otherwise it'll // return an error. ListAccountTax(context.Context, *ListAccountTaxRequest) (*ListAccountTaxResponse, error) // Updates the tax settings of the account. UpdateAccountTax(context.Context, *UpdateAccountTaxRequest) (*AccountTax, error) }
AccountTaxServiceServer is the server API for AccountTaxService service.
type AccountsServiceClient ¶
type AccountsServiceClient interface { // Retrieves an account from your Merchant Center account. // After inserting, updating, or deleting an account, it may take several // minutes before changes take effect. GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error) // Creates a standalone Merchant Center account with additional configuration. // Adds the user that makes the request as an admin for the new account. CreateAndConfigureAccount(ctx context.Context, in *CreateAndConfigureAccountRequest, opts ...grpc.CallOption) (*Account, error) // Deletes the specified account regardless of its type: standalone, MCA or // sub-account. Deleting an MCA leads to the deletion of all of its // sub-accounts. Executing this method requires admin access. // The deletion succeeds only if the account does not provide services // to any other account and has no processed offers. You can use the `force` // parameter to override this. DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates an account regardless of its type: standalone, MCA or sub-account. // Executing this method requires admin access. UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*Account, error) // Lists accounts accessible to the calling user and matching the // constraints of the request such as page size or filters. // This is not just listing the sub-accounts of an MCA, but all accounts the // calling user has access to including other MCAs, linked accounts, // standalone accounts and so on. If no filter is provided, then it returns // accounts the user is directly added to. ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) // List all sub-accounts for a given multi client account. This is a // convenience wrapper for the more powerful `ListAccounts` method. This // method will produce the same results as calling `ListsAccounts` with the // following filter: // `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))` ListSubAccounts(ctx context.Context, in *ListSubAccountsRequest, opts ...grpc.CallOption) (*ListSubAccountsResponse, error) }
AccountsServiceClient is the client API for AccountsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountsServiceClient ¶
func NewAccountsServiceClient(cc grpc.ClientConnInterface) AccountsServiceClient
type AccountsServiceServer ¶
type AccountsServiceServer interface { // Retrieves an account from your Merchant Center account. // After inserting, updating, or deleting an account, it may take several // minutes before changes take effect. GetAccount(context.Context, *GetAccountRequest) (*Account, error) // Creates a standalone Merchant Center account with additional configuration. // Adds the user that makes the request as an admin for the new account. CreateAndConfigureAccount(context.Context, *CreateAndConfigureAccountRequest) (*Account, error) // Deletes the specified account regardless of its type: standalone, MCA or // sub-account. Deleting an MCA leads to the deletion of all of its // sub-accounts. Executing this method requires admin access. // The deletion succeeds only if the account does not provide services // to any other account and has no processed offers. You can use the `force` // parameter to override this. DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error) // Updates an account regardless of its type: standalone, MCA or sub-account. // Executing this method requires admin access. UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error) // Lists accounts accessible to the calling user and matching the // constraints of the request such as page size or filters. // This is not just listing the sub-accounts of an MCA, but all accounts the // calling user has access to including other MCAs, linked accounts, // standalone accounts and so on. If no filter is provided, then it returns // accounts the user is directly added to. ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) // List all sub-accounts for a given multi client account. This is a // convenience wrapper for the more powerful `ListAccounts` method. This // method will produce the same results as calling `ListsAccounts` with the // following filter: // `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))` ListSubAccounts(context.Context, *ListSubAccountsRequest) (*ListSubAccountsResponse, error) }
AccountsServiceServer is the server API for AccountsService service.
type Address ¶
type Address struct { // Street-level part of the address. For example: `111w 31st Street`. StreetAddress *string `protobuf:"bytes,1,opt,name=street_address,json=streetAddress,proto3,oneof" json:"street_address,omitempty"` // Required. City, town or commune. May also include dependent localities or // sublocalities (For example neighborhoods or suburbs). City *string `protobuf:"bytes,2,opt,name=city,proto3,oneof" json:"city,omitempty"` // Required. Top-level administrative subdivision of the country. For example, // a state like California ("CA") or a province like Quebec ("QC"). AdministrativeArea *string `protobuf:"bytes,3,opt,name=administrative_area,json=administrativeArea,proto3,oneof" json:"administrative_area,omitempty"` // Required. Postal code or ZIP (For example "94043"). PostalCode *string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"` // Required. [CLDR country // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // (For example "US"). RegionCode *string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3,oneof" json:"region_code,omitempty"` // contains filtered or unexported fields }
Shipping address of the warehouse.
func (*Address) Descriptor
deprecated
func (*Address) GetAdministrativeArea ¶
func (*Address) GetPostalCode ¶
func (*Address) GetRegionCode ¶
func (*Address) GetStreetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AutofeedSettings ¶ added in v0.11.0
type AutofeedSettings struct { // Identifier. The resource name of the autofeed settings. // Format: `accounts/{account}/autofeedSettings`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Enables or disables product crawling through the autofeed for the // given account. Autofeed accounts must meet [certain // conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), // which can be checked through the `eligible` field. // The account must **not** be a marketplace. // When the autofeed is enabled for the first time, the products usually // appear instantly. When re-enabling, it might take up to 24 hours for // products to appear. EnableProducts bool `protobuf:"varint,2,opt,name=enable_products,json=enableProducts,proto3" json:"enable_products,omitempty"` // Output only. Determines whether merchant is eligible for being enrolled // into an autofeed. Eligible bool `protobuf:"varint,3,opt,name=eligible,proto3" json:"eligible,omitempty"` // contains filtered or unexported fields }
Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.
func (*AutofeedSettings) Descriptor
deprecated
added in
v0.11.0
func (*AutofeedSettings) Descriptor() ([]byte, []int)
Deprecated: Use AutofeedSettings.ProtoReflect.Descriptor instead.
func (*AutofeedSettings) GetEligible ¶ added in v0.11.0
func (x *AutofeedSettings) GetEligible() bool
func (*AutofeedSettings) GetEnableProducts ¶ added in v0.11.0
func (x *AutofeedSettings) GetEnableProducts() bool
func (*AutofeedSettings) GetName ¶ added in v0.11.0
func (x *AutofeedSettings) GetName() string
func (*AutofeedSettings) ProtoMessage ¶ added in v0.11.0
func (*AutofeedSettings) ProtoMessage()
func (*AutofeedSettings) ProtoReflect ¶ added in v0.11.0
func (x *AutofeedSettings) ProtoReflect() protoreflect.Message
func (*AutofeedSettings) Reset ¶ added in v0.11.0
func (x *AutofeedSettings) Reset()
func (*AutofeedSettings) String ¶ added in v0.11.0
func (x *AutofeedSettings) String() string
type AutofeedSettingsServiceClient ¶ added in v0.11.0
type AutofeedSettingsServiceClient interface { // Retrieves the autofeed settings of an account. GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) // Updates the autofeed settings of an account. UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error) }
AutofeedSettingsServiceClient is the client API for AutofeedSettingsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAutofeedSettingsServiceClient ¶ added in v0.11.0
func NewAutofeedSettingsServiceClient(cc grpc.ClientConnInterface) AutofeedSettingsServiceClient
type AutofeedSettingsServiceServer ¶ added in v0.11.0
type AutofeedSettingsServiceServer interface { // Retrieves the autofeed settings of an account. GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error) // Updates the autofeed settings of an account. UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error) }
AutofeedSettingsServiceServer is the server API for AutofeedSettingsService service.
type BusinessDayConfig ¶
type BusinessDayConfig struct { // Required. Regular business days. // May not be empty. BusinessDays []BusinessDayConfig_Weekday `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
Business days of the warehouse.
func (*BusinessDayConfig) Descriptor
deprecated
func (*BusinessDayConfig) Descriptor() ([]byte, []int)
Deprecated: Use BusinessDayConfig.ProtoReflect.Descriptor instead.
func (*BusinessDayConfig) GetBusinessDays ¶
func (x *BusinessDayConfig) GetBusinessDays() []BusinessDayConfig_Weekday
func (*BusinessDayConfig) ProtoMessage ¶
func (*BusinessDayConfig) ProtoMessage()
func (*BusinessDayConfig) ProtoReflect ¶
func (x *BusinessDayConfig) ProtoReflect() protoreflect.Message
func (*BusinessDayConfig) Reset ¶
func (x *BusinessDayConfig) Reset()
func (*BusinessDayConfig) String ¶
func (x *BusinessDayConfig) String() string
type BusinessDayConfig_Weekday ¶
type BusinessDayConfig_Weekday int32
const ( BusinessDayConfig_WEEKDAY_UNSPECIFIED BusinessDayConfig_Weekday = 0 BusinessDayConfig_MONDAY BusinessDayConfig_Weekday = 1 BusinessDayConfig_TUESDAY BusinessDayConfig_Weekday = 2 BusinessDayConfig_WEDNESDAY BusinessDayConfig_Weekday = 3 BusinessDayConfig_THURSDAY BusinessDayConfig_Weekday = 4 BusinessDayConfig_FRIDAY BusinessDayConfig_Weekday = 5 BusinessDayConfig_SATURDAY BusinessDayConfig_Weekday = 6 BusinessDayConfig_SUNDAY BusinessDayConfig_Weekday = 7 )
func (BusinessDayConfig_Weekday) Descriptor ¶
func (BusinessDayConfig_Weekday) Descriptor() protoreflect.EnumDescriptor
func (BusinessDayConfig_Weekday) Enum ¶
func (x BusinessDayConfig_Weekday) Enum() *BusinessDayConfig_Weekday
func (BusinessDayConfig_Weekday) EnumDescriptor
deprecated
func (BusinessDayConfig_Weekday) EnumDescriptor() ([]byte, []int)
Deprecated: Use BusinessDayConfig_Weekday.Descriptor instead.
func (BusinessDayConfig_Weekday) Number ¶
func (x BusinessDayConfig_Weekday) Number() protoreflect.EnumNumber
func (BusinessDayConfig_Weekday) String ¶
func (x BusinessDayConfig_Weekday) String() string
func (BusinessDayConfig_Weekday) Type ¶
func (BusinessDayConfig_Weekday) Type() protoreflect.EnumType
type BusinessIdentity ¶
type BusinessIdentity struct { // Identifier. The resource name of the business identity. // Format: `accounts/{account}/businessIdentity` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Whether the identity attributes may be used for promotions. PromotionsConsent BusinessIdentity_PromotionsConsent `` /* 194-byte string literal not displayed */ // Optional. Specifies whether the business identifies itself as being // black-owned. This optional field will only be available for merchants with // a business country set to `US`. It is also not applicable for marketplaces // or marketplace sellers. BlackOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,3,opt,name=black_owned,json=blackOwned,proto3" json:"black_owned,omitempty"` // Optional. Specifies whether the business identifies itself as being // women-owned. This optional field will only be available for merchants with // a business country set to `US`. It is also not applicable for marketplaces // or marketplace sellers. WomenOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,4,opt,name=women_owned,json=womenOwned,proto3" json:"women_owned,omitempty"` // Optional. Specifies whether the business identifies itself as being // veteran-owned. This optional field will only be available for merchants // with a business country set to `US`. It is also not applicable for // marketplaces or marketplace sellers. VeteranOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,5,opt,name=veteran_owned,json=veteranOwned,proto3" json:"veteran_owned,omitempty"` // Optional. Specifies whether the business identifies itself as being // latino-owned. This optional field will only be available for merchants with // a business country set to `US`. It is also not applicable for marketplaces // or marketplace sellers. LatinoOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,6,opt,name=latino_owned,json=latinoOwned,proto3" json:"latino_owned,omitempty"` // Optional. Specifies whether the business identifies itself as a small // business. This optional field will only be available for merchants with a // business country set to `US`. It is also not applicable for marketplaces. SmallBusiness *BusinessIdentity_IdentityAttribute `protobuf:"bytes,7,opt,name=small_business,json=smallBusiness,proto3" json:"small_business,omitempty"` // contains filtered or unexported fields }
Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).
func (*BusinessIdentity) Descriptor
deprecated
func (*BusinessIdentity) Descriptor() ([]byte, []int)
Deprecated: Use BusinessIdentity.ProtoReflect.Descriptor instead.
func (*BusinessIdentity) GetBlackOwned ¶
func (x *BusinessIdentity) GetBlackOwned() *BusinessIdentity_IdentityAttribute
func (*BusinessIdentity) GetLatinoOwned ¶
func (x *BusinessIdentity) GetLatinoOwned() *BusinessIdentity_IdentityAttribute
func (*BusinessIdentity) GetName ¶
func (x *BusinessIdentity) GetName() string
func (*BusinessIdentity) GetPromotionsConsent ¶
func (x *BusinessIdentity) GetPromotionsConsent() BusinessIdentity_PromotionsConsent
func (*BusinessIdentity) GetSmallBusiness ¶
func (x *BusinessIdentity) GetSmallBusiness() *BusinessIdentity_IdentityAttribute
func (*BusinessIdentity) GetVeteranOwned ¶
func (x *BusinessIdentity) GetVeteranOwned() *BusinessIdentity_IdentityAttribute
func (*BusinessIdentity) GetWomenOwned ¶
func (x *BusinessIdentity) GetWomenOwned() *BusinessIdentity_IdentityAttribute
func (*BusinessIdentity) ProtoMessage ¶
func (*BusinessIdentity) ProtoMessage()
func (*BusinessIdentity) ProtoReflect ¶
func (x *BusinessIdentity) ProtoReflect() protoreflect.Message
func (*BusinessIdentity) Reset ¶
func (x *BusinessIdentity) Reset()
func (*BusinessIdentity) String ¶
func (x *BusinessIdentity) String() string
type BusinessIdentityServiceClient ¶
type BusinessIdentityServiceClient interface { // Retrieves the business identity of an account. GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) // Updates the business identity of an account. Executing this method requires // admin access. UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error) }
BusinessIdentityServiceClient is the client API for BusinessIdentityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBusinessIdentityServiceClient ¶
func NewBusinessIdentityServiceClient(cc grpc.ClientConnInterface) BusinessIdentityServiceClient
type BusinessIdentityServiceServer ¶
type BusinessIdentityServiceServer interface { // Retrieves the business identity of an account. GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error) // Updates the business identity of an account. Executing this method requires // admin access. UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error) }
BusinessIdentityServiceServer is the server API for BusinessIdentityService service.
type BusinessIdentity_IdentityAttribute ¶
type BusinessIdentity_IdentityAttribute struct { // Required. The declaration of identity for this attribute. IdentityDeclaration BusinessIdentity_IdentityAttribute_IdentityDeclaration `` /* 220-byte string literal not displayed */ // contains filtered or unexported fields }
All information related to an identity attribute.
func (*BusinessIdentity_IdentityAttribute) Descriptor
deprecated
func (*BusinessIdentity_IdentityAttribute) Descriptor() ([]byte, []int)
Deprecated: Use BusinessIdentity_IdentityAttribute.ProtoReflect.Descriptor instead.
func (*BusinessIdentity_IdentityAttribute) GetIdentityDeclaration ¶
func (x *BusinessIdentity_IdentityAttribute) GetIdentityDeclaration() BusinessIdentity_IdentityAttribute_IdentityDeclaration
func (*BusinessIdentity_IdentityAttribute) ProtoMessage ¶
func (*BusinessIdentity_IdentityAttribute) ProtoMessage()
func (*BusinessIdentity_IdentityAttribute) ProtoReflect ¶
func (x *BusinessIdentity_IdentityAttribute) ProtoReflect() protoreflect.Message
func (*BusinessIdentity_IdentityAttribute) Reset ¶
func (x *BusinessIdentity_IdentityAttribute) Reset()
func (*BusinessIdentity_IdentityAttribute) String ¶
func (x *BusinessIdentity_IdentityAttribute) String() string
type BusinessIdentity_IdentityAttribute_IdentityDeclaration ¶
type BusinessIdentity_IdentityAttribute_IdentityDeclaration int32
All possible settings regarding the declaration of an identity.
const ( // Default value indicating that no selection was made. BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED BusinessIdentity_IdentityAttribute_IdentityDeclaration = 0 // Indicates that the account identifies with the attribute. BusinessIdentity_IdentityAttribute_SELF_IDENTIFIES_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 1 // Indicates that the account does not identify with the attribute. BusinessIdentity_IdentityAttribute_DOES_NOT_SELF_IDENTIFY_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 2 )
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Descriptor ¶
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Descriptor() protoreflect.EnumDescriptor
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) EnumDescriptor
deprecated
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) EnumDescriptor() ([]byte, []int)
Deprecated: Use BusinessIdentity_IdentityAttribute_IdentityDeclaration.Descriptor instead.
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Number ¶
func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) Number() protoreflect.EnumNumber
func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) String ¶
func (x BusinessIdentity_IdentityAttribute_IdentityDeclaration) String() string
type BusinessIdentity_PromotionsConsent ¶
type BusinessIdentity_PromotionsConsent int32
All possible settings regarding promotions related to the business identity.
const ( // Default value indicating that no selection was made. BusinessIdentity_PROMOTIONS_CONSENT_UNSPECIFIED BusinessIdentity_PromotionsConsent = 0 // Indicates that the account consented to having their business identity // used for promotions. BusinessIdentity_PROMOTIONS_CONSENT_GIVEN BusinessIdentity_PromotionsConsent = 1 // Indicates that the account did not consent to having their business // identity used for promotions. BusinessIdentity_PROMOTIONS_CONSENT_DENIED BusinessIdentity_PromotionsConsent = 2 )
func (BusinessIdentity_PromotionsConsent) Descriptor ¶
func (BusinessIdentity_PromotionsConsent) Descriptor() protoreflect.EnumDescriptor
func (BusinessIdentity_PromotionsConsent) Enum ¶
func (x BusinessIdentity_PromotionsConsent) Enum() *BusinessIdentity_PromotionsConsent
func (BusinessIdentity_PromotionsConsent) EnumDescriptor
deprecated
func (BusinessIdentity_PromotionsConsent) EnumDescriptor() ([]byte, []int)
Deprecated: Use BusinessIdentity_PromotionsConsent.Descriptor instead.
func (BusinessIdentity_PromotionsConsent) Number ¶
func (x BusinessIdentity_PromotionsConsent) Number() protoreflect.EnumNumber
func (BusinessIdentity_PromotionsConsent) String ¶
func (x BusinessIdentity_PromotionsConsent) String() string
func (BusinessIdentity_PromotionsConsent) Type ¶
func (BusinessIdentity_PromotionsConsent) Type() protoreflect.EnumType
type BusinessInfo ¶
type BusinessInfo struct { // Identifier. The resource name of the business info. // Format: `accounts/{account}/businessInfo` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The address of the business. Address *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=address,proto3,oneof" json:"address,omitempty"` // Output only. The phone number of the business. Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"` // Output only. The phone verification state of the business. PhoneVerificationState *PhoneVerificationState `` /* 205-byte string literal not displayed */ // Optional. The customer service of the business. CustomerService *CustomerService `protobuf:"bytes,5,opt,name=customer_service,json=customerService,proto3,oneof" json:"customer_service,omitempty"` // Optional. The 10-digit [Korean business registration // number](https://support.google.com/merchants/answer/9037766) separated with // dashes in the format: XXX-XX-XXXXX. KoreanBusinessRegistrationNumber *string `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
Collection of information related to a business.
func (*BusinessInfo) Descriptor
deprecated
func (*BusinessInfo) Descriptor() ([]byte, []int)
Deprecated: Use BusinessInfo.ProtoReflect.Descriptor instead.
func (*BusinessInfo) GetAddress ¶
func (x *BusinessInfo) GetAddress() *postaladdress.PostalAddress
func (*BusinessInfo) GetCustomerService ¶
func (x *BusinessInfo) GetCustomerService() *CustomerService
func (*BusinessInfo) GetKoreanBusinessRegistrationNumber ¶ added in v0.11.0
func (x *BusinessInfo) GetKoreanBusinessRegistrationNumber() string
func (*BusinessInfo) GetName ¶
func (x *BusinessInfo) GetName() string
func (*BusinessInfo) GetPhone ¶
func (x *BusinessInfo) GetPhone() *phone_number.PhoneNumber
func (*BusinessInfo) GetPhoneVerificationState ¶
func (x *BusinessInfo) GetPhoneVerificationState() PhoneVerificationState
func (*BusinessInfo) ProtoMessage ¶
func (*BusinessInfo) ProtoMessage()
func (*BusinessInfo) ProtoReflect ¶
func (x *BusinessInfo) ProtoReflect() protoreflect.Message
func (*BusinessInfo) Reset ¶
func (x *BusinessInfo) Reset()
func (*BusinessInfo) String ¶
func (x *BusinessInfo) String() string
type BusinessInfoServiceClient ¶
type BusinessInfoServiceClient interface { // Retrieves the business info of an account. GetBusinessInfo(ctx context.Context, in *GetBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) // Updates the business info of an account. Executing this method requires // admin access. UpdateBusinessInfo(ctx context.Context, in *UpdateBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error) }
BusinessInfoServiceClient is the client API for BusinessInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBusinessInfoServiceClient ¶
func NewBusinessInfoServiceClient(cc grpc.ClientConnInterface) BusinessInfoServiceClient
type BusinessInfoServiceServer ¶
type BusinessInfoServiceServer interface { // Retrieves the business info of an account. GetBusinessInfo(context.Context, *GetBusinessInfoRequest) (*BusinessInfo, error) // Updates the business info of an account. Executing this method requires // admin access. UpdateBusinessInfo(context.Context, *UpdateBusinessInfoRequest) (*BusinessInfo, error) }
BusinessInfoServiceServer is the server API for BusinessInfoService service.
type CarrierRate ¶
type CarrierRate struct { // Required. Name of the carrier rate. Must be unique per rate group. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // Required. Carrier service, such as `"UPS"` or `"Fedex"`. Carrier *string `protobuf:"bytes,2,opt,name=carrier,proto3,oneof" json:"carrier,omitempty"` // Required. Carrier service, such as `"ground"` or `"2 days"`. CarrierService *string `protobuf:"bytes,3,opt,name=carrier_service,json=carrierService,proto3,oneof" json:"carrier_service,omitempty"` // Required. Shipping origin for this carrier rate. OriginPostalCode *string `protobuf:"bytes,4,opt,name=origin_postal_code,json=originPostalCode,proto3,oneof" json:"origin_postal_code,omitempty"` // Optional. Multiplicative shipping rate modifier as a number in decimal // notation. Can be negative. For example `"5.4"` increases the rate by 5.4%, // `"-3"` decreases the rate by 3%. PercentageAdjustment *string `` /* 127-byte string literal not displayed */ // Optional. Additive shipping rate modifier. Can be negative. For example // `{ "amount_micros": 1, "currency_code" : "USD" }` adds $1 to the rate, // `{ "amount_micros": -3, "currency_code" : "USD" }` removes $3 from the // rate. FlatAdjustment *typepb.Price `protobuf:"bytes,6,opt,name=flat_adjustment,json=flatAdjustment,proto3,oneof" json:"flat_adjustment,omitempty"` // contains filtered or unexported fields }
A list of carrier rates that can be referred to by `main_table` or `single_value`.
func (*CarrierRate) Descriptor
deprecated
func (*CarrierRate) Descriptor() ([]byte, []int)
Deprecated: Use CarrierRate.ProtoReflect.Descriptor instead.
func (*CarrierRate) GetCarrier ¶
func (x *CarrierRate) GetCarrier() string
func (*CarrierRate) GetCarrierService ¶
func (x *CarrierRate) GetCarrierService() string
func (*CarrierRate) GetFlatAdjustment ¶
func (x *CarrierRate) GetFlatAdjustment() *typepb.Price
func (*CarrierRate) GetName ¶
func (x *CarrierRate) GetName() string
func (*CarrierRate) GetOriginPostalCode ¶
func (x *CarrierRate) GetOriginPostalCode() string
func (*CarrierRate) GetPercentageAdjustment ¶
func (x *CarrierRate) GetPercentageAdjustment() string
func (*CarrierRate) ProtoMessage ¶
func (*CarrierRate) ProtoMessage()
func (*CarrierRate) ProtoReflect ¶
func (x *CarrierRate) ProtoReflect() protoreflect.Message
func (*CarrierRate) Reset ¶
func (x *CarrierRate) Reset()
func (*CarrierRate) String ¶
func (x *CarrierRate) String() string
type ClaimHomepageRequest ¶
type ClaimHomepageRequest struct { // Required. The name of the homepage to claim. // Format: `accounts/{account}/homepage` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `ClaimHomepage` method.
func (*ClaimHomepageRequest) Descriptor
deprecated
func (*ClaimHomepageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClaimHomepageRequest.ProtoReflect.Descriptor instead.
func (*ClaimHomepageRequest) GetName ¶
func (x *ClaimHomepageRequest) GetName() string
func (*ClaimHomepageRequest) ProtoMessage ¶
func (*ClaimHomepageRequest) ProtoMessage()
func (*ClaimHomepageRequest) ProtoReflect ¶
func (x *ClaimHomepageRequest) ProtoReflect() protoreflect.Message
func (*ClaimHomepageRequest) Reset ¶
func (x *ClaimHomepageRequest) Reset()
func (*ClaimHomepageRequest) String ¶
func (x *ClaimHomepageRequest) String() string
type CreateAndConfigureAccountRequest ¶
type CreateAndConfigureAccountRequest struct { // Required. The account to be created. Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Optional. Users to be added to the account. Users []*CreateUserRequest `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // Optional. The Terms of Service (ToS) to be accepted immediately upon // account creation. AcceptTermsOfService *CreateAndConfigureAccountRequest_AcceptTermsOfService `` /* 131-byte string literal not displayed */ // Required. An account service between the account to be created and the // provider account is initialized as part of the creation. At least one such // service needs to be provided. Currently exactly one of these needs to be // `account_aggregation`, which means you can only create sub accounts, not // standalone account through this method. Additional `account_management` or // `product_management` services may be provided. Service []*CreateAndConfigureAccountRequest_AddAccountService `protobuf:"bytes,4,rep,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
Request message for the `CreateAndConfigureAccount` method.
func (*CreateAndConfigureAccountRequest) Descriptor
deprecated
func (*CreateAndConfigureAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAndConfigureAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAndConfigureAccountRequest) GetAcceptTermsOfService ¶
func (x *CreateAndConfigureAccountRequest) GetAcceptTermsOfService() *CreateAndConfigureAccountRequest_AcceptTermsOfService
func (*CreateAndConfigureAccountRequest) GetAccount ¶
func (x *CreateAndConfigureAccountRequest) GetAccount() *Account
func (*CreateAndConfigureAccountRequest) GetService ¶
func (x *CreateAndConfigureAccountRequest) GetService() []*CreateAndConfigureAccountRequest_AddAccountService
func (*CreateAndConfigureAccountRequest) GetUsers ¶
func (x *CreateAndConfigureAccountRequest) GetUsers() []*CreateUserRequest
func (*CreateAndConfigureAccountRequest) ProtoMessage ¶
func (*CreateAndConfigureAccountRequest) ProtoMessage()
func (*CreateAndConfigureAccountRequest) ProtoReflect ¶
func (x *CreateAndConfigureAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAndConfigureAccountRequest) Reset ¶
func (x *CreateAndConfigureAccountRequest) Reset()
func (*CreateAndConfigureAccountRequest) String ¶
func (x *CreateAndConfigureAccountRequest) String() string
type CreateAndConfigureAccountRequest_AcceptTermsOfService ¶
type CreateAndConfigureAccountRequest_AcceptTermsOfService struct { // Required. The resource name of the terms of service version in the format // `termsOfService/{version}`. To retrieve the latest version, use the // [termsOfService.retrieveLatest](/merchant/api/reference/rest/accounts_v1beta/termsOfService/retrieveLatest) // method. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Region code as defined by [CLDR](https://cldr.unicode.org/). // This is either a country when the ToS applies specifically to that // country or `001` when it applies globally. RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // contains filtered or unexported fields }
Reference to a Terms of Service resource.
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) Descriptor
deprecated
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) Descriptor() ([]byte, []int)
Deprecated: Use CreateAndConfigureAccountRequest_AcceptTermsOfService.ProtoReflect.Descriptor instead.
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) GetName ¶
func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) GetName() string
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) GetRegionCode ¶
func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) GetRegionCode() string
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoMessage ¶
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoMessage()
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoReflect ¶
func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) ProtoReflect() protoreflect.Message
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) Reset ¶
func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) Reset()
func (*CreateAndConfigureAccountRequest_AcceptTermsOfService) String ¶
func (x *CreateAndConfigureAccountRequest_AcceptTermsOfService) String() string
type CreateAndConfigureAccountRequest_AddAccountService ¶
type CreateAndConfigureAccountRequest_AddAccountService struct { // The service type to be added. // // Types that are assignable to ServiceType: // // *CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation ServiceType isCreateAndConfigureAccountRequest_AddAccountService_ServiceType `protobuf_oneof:"service_type"` // Optional. The provider of the service. // Format: `accounts/{account}` Provider *string `protobuf:"bytes,1,opt,name=provider,proto3,oneof" json:"provider,omitempty"` // contains filtered or unexported fields }
Additional instructions to add account services during creation of the account.
func (*CreateAndConfigureAccountRequest_AddAccountService) Descriptor
deprecated
func (*CreateAndConfigureAccountRequest_AddAccountService) Descriptor() ([]byte, []int)
Deprecated: Use CreateAndConfigureAccountRequest_AddAccountService.ProtoReflect.Descriptor instead.
func (*CreateAndConfigureAccountRequest_AddAccountService) GetAccountAggregation ¶
func (x *CreateAndConfigureAccountRequest_AddAccountService) GetAccountAggregation() *AccountAggregation
func (*CreateAndConfigureAccountRequest_AddAccountService) GetProvider ¶
func (x *CreateAndConfigureAccountRequest_AddAccountService) GetProvider() string
func (*CreateAndConfigureAccountRequest_AddAccountService) GetServiceType ¶
func (m *CreateAndConfigureAccountRequest_AddAccountService) GetServiceType() isCreateAndConfigureAccountRequest_AddAccountService_ServiceType
func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoMessage ¶
func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoMessage()
func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoReflect ¶
func (x *CreateAndConfigureAccountRequest_AddAccountService) ProtoReflect() protoreflect.Message
func (*CreateAndConfigureAccountRequest_AddAccountService) Reset ¶
func (x *CreateAndConfigureAccountRequest_AddAccountService) Reset()
func (*CreateAndConfigureAccountRequest_AddAccountService) String ¶
func (x *CreateAndConfigureAccountRequest_AddAccountService) String() string
type CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation ¶
type CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation struct { // The provider is an // [aggregator](https://support.google.com/merchants/answer/188487) for // the account. Payload for service type Account Aggregation. AccountAggregation *AccountAggregation `protobuf:"bytes,103,opt,name=account_aggregation,json=accountAggregation,proto3,oneof"` }
type CreateRegionRequest ¶
type CreateRegionRequest struct { // Required. The account to create a region for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The identifier for the region, unique over all regions of the // same account. RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // Required. The region to create. Region *Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
Request message for the `CreateRegion` method.
func (*CreateRegionRequest) Descriptor
deprecated
func (*CreateRegionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegionRequest.ProtoReflect.Descriptor instead.
func (*CreateRegionRequest) GetParent ¶
func (x *CreateRegionRequest) GetParent() string
func (*CreateRegionRequest) GetRegion ¶
func (x *CreateRegionRequest) GetRegion() *Region
func (*CreateRegionRequest) GetRegionId ¶
func (x *CreateRegionRequest) GetRegionId() string
func (*CreateRegionRequest) ProtoMessage ¶
func (*CreateRegionRequest) ProtoMessage()
func (*CreateRegionRequest) ProtoReflect ¶
func (x *CreateRegionRequest) ProtoReflect() protoreflect.Message
func (*CreateRegionRequest) Reset ¶
func (x *CreateRegionRequest) Reset()
func (*CreateRegionRequest) String ¶
func (x *CreateRegionRequest) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // Required. The resource name of the account for which a user will be // created. Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The email address of the user (for example, // `john.doe@gmail.com`). UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Required. The user to create. User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Request message for the `CreateUser` method.
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetParent ¶
func (x *CreateUserRequest) GetParent() string
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) GetUserId ¶
func (x *CreateUserRequest) GetUserId() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CustomerService ¶
type CustomerService struct { // Optional. The URI where customer service may be found. Uri *string `protobuf:"bytes,1,opt,name=uri,proto3,oneof" json:"uri,omitempty"` // Optional. The email address where customer service may be reached. Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` // Optional. The phone number where customer service may be called. Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"` // contains filtered or unexported fields }
Customer service information.
func (*CustomerService) Descriptor
deprecated
func (*CustomerService) Descriptor() ([]byte, []int)
Deprecated: Use CustomerService.ProtoReflect.Descriptor instead.
func (*CustomerService) GetEmail ¶
func (x *CustomerService) GetEmail() string
func (*CustomerService) GetPhone ¶
func (x *CustomerService) GetPhone() *phone_number.PhoneNumber
func (*CustomerService) GetUri ¶
func (x *CustomerService) GetUri() string
func (*CustomerService) ProtoMessage ¶
func (*CustomerService) ProtoMessage()
func (*CustomerService) ProtoReflect ¶
func (x *CustomerService) ProtoReflect() protoreflect.Message
func (*CustomerService) Reset ¶
func (x *CustomerService) Reset()
func (*CustomerService) String ¶
func (x *CustomerService) String() string
type CutoffTime ¶
type CutoffTime struct { // Required. Hour of the cutoff time until which an order has to be placed to // be processed in the same day. Hour *int32 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"` // Required. Minute of the cutoff time until which an order has to be placed // to be processed in the same day. Minute *int32 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"` // Required. [Timezone // identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) // For example "Europe/Zurich". TimeZone *string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3,oneof" json:"time_zone,omitempty"` // contains filtered or unexported fields }
Business days cutoff time definition.
func (*CutoffTime) Descriptor
deprecated
func (*CutoffTime) Descriptor() ([]byte, []int)
Deprecated: Use CutoffTime.ProtoReflect.Descriptor instead.
func (*CutoffTime) GetHour ¶
func (x *CutoffTime) GetHour() int32
func (*CutoffTime) GetMinute ¶
func (x *CutoffTime) GetMinute() int32
func (*CutoffTime) GetTimeZone ¶
func (x *CutoffTime) GetTimeZone() string
func (*CutoffTime) ProtoMessage ¶
func (*CutoffTime) ProtoMessage()
func (*CutoffTime) ProtoReflect ¶
func (x *CutoffTime) ProtoReflect() protoreflect.Message
func (*CutoffTime) Reset ¶
func (x *CutoffTime) Reset()
func (*CutoffTime) String ¶
func (x *CutoffTime) String() string
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { // Required. The name of the account to delete. // Format: `accounts/{account}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. If set to `true`, the account is deleted even if it provides // services to other accounts or has processed offers. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
Request message for the `DeleteAccount` method.
func (*DeleteAccountRequest) Descriptor
deprecated
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountRequest) GetForce ¶ added in v0.11.0
func (x *DeleteAccountRequest) GetForce() bool
func (*DeleteAccountRequest) GetName ¶
func (x *DeleteAccountRequest) GetName() string
func (*DeleteAccountRequest) ProtoMessage ¶
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) ProtoReflect ¶
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountRequest) Reset ¶
func (x *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶
func (x *DeleteAccountRequest) String() string
type DeleteRegionRequest ¶
type DeleteRegionRequest struct { // Required. The name of the region to delete. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `DeleteRegion` method.
func (*DeleteRegionRequest) Descriptor
deprecated
func (*DeleteRegionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegionRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegionRequest) GetName ¶
func (x *DeleteRegionRequest) GetName() string
func (*DeleteRegionRequest) ProtoMessage ¶
func (*DeleteRegionRequest) ProtoMessage()
func (*DeleteRegionRequest) ProtoReflect ¶
func (x *DeleteRegionRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegionRequest) Reset ¶
func (x *DeleteRegionRequest) Reset()
func (*DeleteRegionRequest) String ¶
func (x *DeleteRegionRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { // Required. The name of the user to delete. // Format: `accounts/{account}/users/{email}` // // It is also possible to delete the user corresponding to the caller by using // `me` rather than an email address as in `accounts/{account}/users/me`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `DeleteUser` method.
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetName ¶
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeliveryTime ¶
type DeliveryTime struct { // Minimum number of business days that is spent in transit. 0 means same // day delivery, 1 means next day delivery. // Either `min_transit_days`, `max_transit_days` or // `transit_time_table` must be set, but not both. MinTransitDays *int32 `protobuf:"varint,1,opt,name=min_transit_days,json=minTransitDays,proto3,oneof" json:"min_transit_days,omitempty"` // Maximum number of business days that is spent in transit. 0 means same // day delivery, 1 means next day delivery. Must be greater than or equal // to `min_transit_days`. MaxTransitDays *int32 `protobuf:"varint,2,opt,name=max_transit_days,json=maxTransitDays,proto3,oneof" json:"max_transit_days,omitempty"` // Business days cutoff time definition. // If not configured the cutoff time will be defaulted to 8AM PST. CutoffTime *CutoffTime `protobuf:"bytes,3,opt,name=cutoff_time,json=cutoffTime,proto3,oneof" json:"cutoff_time,omitempty"` // Minimum number of business days spent before an order is shipped. // 0 means same day shipped, 1 means next day shipped. // 'min_handling_days' and 'max_handling_days' should be either set or not set // at the same time. MinHandlingDays *int32 `protobuf:"varint,4,opt,name=min_handling_days,json=minHandlingDays,proto3,oneof" json:"min_handling_days,omitempty"` // Maximum number of business days spent before an order is shipped. // 0 means same day shipped, 1 means next day shipped. // Must be greater than or equal to `min_handling_days`. // 'min_handling_days' and 'max_handling_days' should be either set or not set // at the same time. MaxHandlingDays *int32 `protobuf:"varint,5,opt,name=max_handling_days,json=maxHandlingDays,proto3,oneof" json:"max_handling_days,omitempty"` // Transit time table, number of business days spent in transit based on row // and column dimensions. Either `min_transit_days`, `max_transit_days` or // `transit_time_table` can be set, but not both. TransitTimeTable *TransitTable `protobuf:"bytes,6,opt,name=transit_time_table,json=transitTimeTable,proto3,oneof" json:"transit_time_table,omitempty"` // The business days during which orders can be handled. // If not provided, Monday to Friday business days will be assumed. HandlingBusinessDayConfig *BusinessDayConfig `` /* 146-byte string literal not displayed */ // The business days during which orders can be in-transit. // If not provided, Monday to Friday business days will be assumed. TransitBusinessDayConfig *BusinessDayConfig `` /* 143-byte string literal not displayed */ // Optional. Indicates that the delivery time should be calculated per // warehouse (shipping origin location) based on the settings of the selected // carrier. When set, no other transit time related field in [delivery // time][[google.shopping.content.bundles.ShippingSetting.DeliveryTime] should // be set. WarehouseBasedDeliveryTimes []*WarehouseBasedDeliveryTime `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Time spent in various aspects from order to the delivery of the product.
func (*DeliveryTime) Descriptor
deprecated
func (*DeliveryTime) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryTime.ProtoReflect.Descriptor instead.
func (*DeliveryTime) GetCutoffTime ¶
func (x *DeliveryTime) GetCutoffTime() *CutoffTime
func (*DeliveryTime) GetHandlingBusinessDayConfig ¶
func (x *DeliveryTime) GetHandlingBusinessDayConfig() *BusinessDayConfig
func (*DeliveryTime) GetMaxHandlingDays ¶
func (x *DeliveryTime) GetMaxHandlingDays() int32
func (*DeliveryTime) GetMaxTransitDays ¶
func (x *DeliveryTime) GetMaxTransitDays() int32
func (*DeliveryTime) GetMinHandlingDays ¶
func (x *DeliveryTime) GetMinHandlingDays() int32
func (*DeliveryTime) GetMinTransitDays ¶
func (x *DeliveryTime) GetMinTransitDays() int32
func (*DeliveryTime) GetTransitBusinessDayConfig ¶
func (x *DeliveryTime) GetTransitBusinessDayConfig() *BusinessDayConfig
func (*DeliveryTime) GetTransitTimeTable ¶
func (x *DeliveryTime) GetTransitTimeTable() *TransitTable
func (*DeliveryTime) GetWarehouseBasedDeliveryTimes ¶
func (x *DeliveryTime) GetWarehouseBasedDeliveryTimes() []*WarehouseBasedDeliveryTime
func (*DeliveryTime) ProtoMessage ¶
func (*DeliveryTime) ProtoMessage()
func (*DeliveryTime) ProtoReflect ¶
func (x *DeliveryTime) ProtoReflect() protoreflect.Message
func (*DeliveryTime) Reset ¶
func (x *DeliveryTime) Reset()
func (*DeliveryTime) String ¶
func (x *DeliveryTime) String() string
type DisableProgramRequest ¶
type DisableProgramRequest struct { // Required. The name of the program for which to disable participation for // the given account. Format: `accounts/{account}/programs/{program}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the DisableProgram method.
func (*DisableProgramRequest) Descriptor
deprecated
func (*DisableProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableProgramRequest.ProtoReflect.Descriptor instead.
func (*DisableProgramRequest) GetName ¶
func (x *DisableProgramRequest) GetName() string
func (*DisableProgramRequest) ProtoMessage ¶
func (*DisableProgramRequest) ProtoMessage()
func (*DisableProgramRequest) ProtoReflect ¶
func (x *DisableProgramRequest) ProtoReflect() protoreflect.Message
func (*DisableProgramRequest) Reset ¶
func (x *DisableProgramRequest) Reset()
func (*DisableProgramRequest) String ¶
func (x *DisableProgramRequest) String() string
type Distance ¶
type Distance struct { // Integer value of distance. Value *int64 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"` // Unit can differ based on country, it is parameterized to include miles // and kilometers. Unit *Distance_Unit `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Maximum delivery radius. This is only required for the local delivery shipment type.
func (*Distance) Descriptor
deprecated
func (*Distance) GetUnit ¶
func (x *Distance) GetUnit() Distance_Unit
func (*Distance) ProtoMessage ¶
func (*Distance) ProtoMessage()
func (*Distance) ProtoReflect ¶
func (x *Distance) ProtoReflect() protoreflect.Message
type Distance_Unit ¶
type Distance_Unit int32
Unit can differ based on country, it is parameterized to include miles and kilometers.
const ( // Unit unspecified Distance_UNIT_UNSPECIFIED Distance_Unit = 0 // Unit in miles Distance_MILES Distance_Unit = 1 // Unit in kilometers Distance_KILOMETERS Distance_Unit = 2 )
func (Distance_Unit) Descriptor ¶
func (Distance_Unit) Descriptor() protoreflect.EnumDescriptor
func (Distance_Unit) Enum ¶
func (x Distance_Unit) Enum() *Distance_Unit
func (Distance_Unit) EnumDescriptor
deprecated
func (Distance_Unit) EnumDescriptor() ([]byte, []int)
Deprecated: Use Distance_Unit.Descriptor instead.
func (Distance_Unit) Number ¶
func (x Distance_Unit) Number() protoreflect.EnumNumber
func (Distance_Unit) String ¶
func (x Distance_Unit) String() string
func (Distance_Unit) Type ¶
func (Distance_Unit) Type() protoreflect.EnumType
type EmailPreferences ¶
type EmailPreferences struct { // Identifier. The name of the EmailPreferences. The endpoint is only // supported for the authenticated user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Updates on new features, tips and best practices. NewsAndTips EmailPreferences_OptInState `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.
func (*EmailPreferences) Descriptor
deprecated
func (*EmailPreferences) Descriptor() ([]byte, []int)
Deprecated: Use EmailPreferences.ProtoReflect.Descriptor instead.
func (*EmailPreferences) GetName ¶
func (x *EmailPreferences) GetName() string
func (*EmailPreferences) GetNewsAndTips ¶
func (x *EmailPreferences) GetNewsAndTips() EmailPreferences_OptInState
func (*EmailPreferences) ProtoMessage ¶
func (*EmailPreferences) ProtoMessage()
func (*EmailPreferences) ProtoReflect ¶
func (x *EmailPreferences) ProtoReflect() protoreflect.Message
func (*EmailPreferences) Reset ¶
func (x *EmailPreferences) Reset()
func (*EmailPreferences) String ¶
func (x *EmailPreferences) String() string
type EmailPreferencesServiceClient ¶
type EmailPreferencesServiceClient interface { // Returns the email preferences for a Merchant Center account user. // // Use the name=accounts/*/users/me/emailPreferences alias to get preferences // for the authenticated user. GetEmailPreferences(ctx context.Context, in *GetEmailPreferencesRequest, opts ...grpc.CallOption) (*EmailPreferences, error) // Updates the email preferences for a Merchant Center account user. MCA users // should specify the MCA account rather than a sub-account of the MCA. // // Preferences which are not explicitly selected in the update mask will not // be updated. // // It is invalid for updates to specify an UNCONFIRMED opt-in status value. // // Use the name=accounts/*/users/me/emailPreferences alias to update // preferences // for the authenticated user. UpdateEmailPreferences(ctx context.Context, in *UpdateEmailPreferencesRequest, opts ...grpc.CallOption) (*EmailPreferences, error) }
EmailPreferencesServiceClient is the client API for EmailPreferencesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEmailPreferencesServiceClient ¶
func NewEmailPreferencesServiceClient(cc grpc.ClientConnInterface) EmailPreferencesServiceClient
type EmailPreferencesServiceServer ¶
type EmailPreferencesServiceServer interface { // Returns the email preferences for a Merchant Center account user. // // Use the name=accounts/*/users/me/emailPreferences alias to get preferences // for the authenticated user. GetEmailPreferences(context.Context, *GetEmailPreferencesRequest) (*EmailPreferences, error) // Updates the email preferences for a Merchant Center account user. MCA users // should specify the MCA account rather than a sub-account of the MCA. // // Preferences which are not explicitly selected in the update mask will not // be updated. // // It is invalid for updates to specify an UNCONFIRMED opt-in status value. // // Use the name=accounts/*/users/me/emailPreferences alias to update // preferences // for the authenticated user. UpdateEmailPreferences(context.Context, *UpdateEmailPreferencesRequest) (*EmailPreferences, error) }
EmailPreferencesServiceServer is the server API for EmailPreferencesService service.
type EmailPreferences_OptInState ¶
type EmailPreferences_OptInState int32
Opt in state of the email preference.
const ( // Opt-in status is not specified. EmailPreferences_OPT_IN_STATE_UNSPECIFIED EmailPreferences_OptInState = 0 // User has opted out of receiving this type of email. EmailPreferences_OPTED_OUT EmailPreferences_OptInState = 1 // User has opted in to receiving this type of email. EmailPreferences_OPTED_IN EmailPreferences_OptInState = 2 // User has opted in to receiving this type of email and the confirmation // email has been sent, but user has not yet confirmed the opt in (applies // only to certain countries). EmailPreferences_UNCONFIRMED EmailPreferences_OptInState = 3 )
func (EmailPreferences_OptInState) Descriptor ¶
func (EmailPreferences_OptInState) Descriptor() protoreflect.EnumDescriptor
func (EmailPreferences_OptInState) Enum ¶
func (x EmailPreferences_OptInState) Enum() *EmailPreferences_OptInState
func (EmailPreferences_OptInState) EnumDescriptor
deprecated
func (EmailPreferences_OptInState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmailPreferences_OptInState.Descriptor instead.
func (EmailPreferences_OptInState) Number ¶
func (x EmailPreferences_OptInState) Number() protoreflect.EnumNumber
func (EmailPreferences_OptInState) String ¶
func (x EmailPreferences_OptInState) String() string
func (EmailPreferences_OptInState) Type ¶
func (EmailPreferences_OptInState) Type() protoreflect.EnumType
type EnableProgramRequest ¶
type EnableProgramRequest struct { // Required. The name of the program for which to enable participation for the // given account. Format: `accounts/{account}/programs/{program}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the EnableProgram method.
func (*EnableProgramRequest) Descriptor
deprecated
func (*EnableProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableProgramRequest.ProtoReflect.Descriptor instead.
func (*EnableProgramRequest) GetName ¶
func (x *EnableProgramRequest) GetName() string
func (*EnableProgramRequest) ProtoMessage ¶
func (*EnableProgramRequest) ProtoMessage()
func (*EnableProgramRequest) ProtoReflect ¶
func (x *EnableProgramRequest) ProtoReflect() protoreflect.Message
func (*EnableProgramRequest) Reset ¶
func (x *EnableProgramRequest) Reset()
func (*EnableProgramRequest) String ¶
func (x *EnableProgramRequest) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { // Required. The name of the account to retrieve. // Format: `accounts/{account}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetAccount` method.
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetName ¶
func (x *GetAccountRequest) GetName() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountTaxRequest ¶
type GetAccountTaxRequest struct { // Required. The name from which tax settings will be retrieved Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request to get tax settings
func (*GetAccountTaxRequest) Descriptor
deprecated
func (*GetAccountTaxRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountTaxRequest.ProtoReflect.Descriptor instead.
func (*GetAccountTaxRequest) GetName ¶
func (x *GetAccountTaxRequest) GetName() string
func (*GetAccountTaxRequest) ProtoMessage ¶
func (*GetAccountTaxRequest) ProtoMessage()
func (*GetAccountTaxRequest) ProtoReflect ¶
func (x *GetAccountTaxRequest) ProtoReflect() protoreflect.Message
func (*GetAccountTaxRequest) Reset ¶
func (x *GetAccountTaxRequest) Reset()
func (*GetAccountTaxRequest) String ¶
func (x *GetAccountTaxRequest) String() string
type GetAutofeedSettingsRequest ¶ added in v0.11.0
type GetAutofeedSettingsRequest struct { // Required. The resource name of the autofeed settings. // Format: `accounts/{account}/autofeedSettings` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetAutofeedSettings` method.
func (*GetAutofeedSettingsRequest) Descriptor
deprecated
added in
v0.11.0
func (*GetAutofeedSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAutofeedSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetAutofeedSettingsRequest) GetName ¶ added in v0.11.0
func (x *GetAutofeedSettingsRequest) GetName() string
func (*GetAutofeedSettingsRequest) ProtoMessage ¶ added in v0.11.0
func (*GetAutofeedSettingsRequest) ProtoMessage()
func (*GetAutofeedSettingsRequest) ProtoReflect ¶ added in v0.11.0
func (x *GetAutofeedSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetAutofeedSettingsRequest) Reset ¶ added in v0.11.0
func (x *GetAutofeedSettingsRequest) Reset()
func (*GetAutofeedSettingsRequest) String ¶ added in v0.11.0
func (x *GetAutofeedSettingsRequest) String() string
type GetBusinessIdentityRequest ¶
type GetBusinessIdentityRequest struct { // Required. The resource name of the business identity. // Format: `accounts/{account}/businessIdentity` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetBusinessIdentity` method.
func (*GetBusinessIdentityRequest) Descriptor
deprecated
func (*GetBusinessIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBusinessIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetBusinessIdentityRequest) GetName ¶
func (x *GetBusinessIdentityRequest) GetName() string
func (*GetBusinessIdentityRequest) ProtoMessage ¶
func (*GetBusinessIdentityRequest) ProtoMessage()
func (*GetBusinessIdentityRequest) ProtoReflect ¶
func (x *GetBusinessIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetBusinessIdentityRequest) Reset ¶
func (x *GetBusinessIdentityRequest) Reset()
func (*GetBusinessIdentityRequest) String ¶
func (x *GetBusinessIdentityRequest) String() string
type GetBusinessInfoRequest ¶
type GetBusinessInfoRequest struct { // Required. The resource name of the business info. // Format: `accounts/{account}/businessInfo` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetBusinessInfo` method.
func (*GetBusinessInfoRequest) Descriptor
deprecated
func (*GetBusinessInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBusinessInfoRequest.ProtoReflect.Descriptor instead.
func (*GetBusinessInfoRequest) GetName ¶
func (x *GetBusinessInfoRequest) GetName() string
func (*GetBusinessInfoRequest) ProtoMessage ¶
func (*GetBusinessInfoRequest) ProtoMessage()
func (*GetBusinessInfoRequest) ProtoReflect ¶
func (x *GetBusinessInfoRequest) ProtoReflect() protoreflect.Message
func (*GetBusinessInfoRequest) Reset ¶
func (x *GetBusinessInfoRequest) Reset()
func (*GetBusinessInfoRequest) String ¶
func (x *GetBusinessInfoRequest) String() string
type GetEmailPreferencesRequest ¶
type GetEmailPreferencesRequest struct { // Required. The name of the `EmailPreferences` resource. // Format: `accounts/{account}/users/{email}/emailPreferences` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetEmailPreferences method.
func (*GetEmailPreferencesRequest) Descriptor
deprecated
func (*GetEmailPreferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailPreferencesRequest.ProtoReflect.Descriptor instead.
func (*GetEmailPreferencesRequest) GetName ¶
func (x *GetEmailPreferencesRequest) GetName() string
func (*GetEmailPreferencesRequest) ProtoMessage ¶
func (*GetEmailPreferencesRequest) ProtoMessage()
func (*GetEmailPreferencesRequest) ProtoReflect ¶
func (x *GetEmailPreferencesRequest) ProtoReflect() protoreflect.Message
func (*GetEmailPreferencesRequest) Reset ¶
func (x *GetEmailPreferencesRequest) Reset()
func (*GetEmailPreferencesRequest) String ¶
func (x *GetEmailPreferencesRequest) String() string
type GetHomepageRequest ¶
type GetHomepageRequest struct { // Required. The name of the homepage to retrieve. // Format: `accounts/{account}/homepage` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetHomepage` method.
func (*GetHomepageRequest) Descriptor
deprecated
func (*GetHomepageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHomepageRequest.ProtoReflect.Descriptor instead.
func (*GetHomepageRequest) GetName ¶
func (x *GetHomepageRequest) GetName() string
func (*GetHomepageRequest) ProtoMessage ¶
func (*GetHomepageRequest) ProtoMessage()
func (*GetHomepageRequest) ProtoReflect ¶
func (x *GetHomepageRequest) ProtoReflect() protoreflect.Message
func (*GetHomepageRequest) Reset ¶
func (x *GetHomepageRequest) Reset()
func (*GetHomepageRequest) String ¶
func (x *GetHomepageRequest) String() string
type GetOnlineReturnPolicyRequest ¶
type GetOnlineReturnPolicyRequest struct { // Required. The name of the return policy to retrieve. // Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetOnlineReturnPolicy` method.
func (*GetOnlineReturnPolicyRequest) Descriptor
deprecated
func (*GetOnlineReturnPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOnlineReturnPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetOnlineReturnPolicyRequest) GetName ¶
func (x *GetOnlineReturnPolicyRequest) GetName() string
func (*GetOnlineReturnPolicyRequest) ProtoMessage ¶
func (*GetOnlineReturnPolicyRequest) ProtoMessage()
func (*GetOnlineReturnPolicyRequest) ProtoReflect ¶
func (x *GetOnlineReturnPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetOnlineReturnPolicyRequest) Reset ¶
func (x *GetOnlineReturnPolicyRequest) Reset()
func (*GetOnlineReturnPolicyRequest) String ¶
func (x *GetOnlineReturnPolicyRequest) String() string
type GetProgramRequest ¶
type GetProgramRequest struct { // Required. The name of the program to retrieve. // Format: `accounts/{account}/programs/{program}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the GetProgram method.
func (*GetProgramRequest) Descriptor
deprecated
func (*GetProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProgramRequest.ProtoReflect.Descriptor instead.
func (*GetProgramRequest) GetName ¶
func (x *GetProgramRequest) GetName() string
func (*GetProgramRequest) ProtoMessage ¶
func (*GetProgramRequest) ProtoMessage()
func (*GetProgramRequest) ProtoReflect ¶
func (x *GetProgramRequest) ProtoReflect() protoreflect.Message
func (*GetProgramRequest) Reset ¶
func (x *GetProgramRequest) Reset()
func (*GetProgramRequest) String ¶
func (x *GetProgramRequest) String() string
type GetRegionRequest ¶
type GetRegionRequest struct { // Required. The name of the region to retrieve. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetRegion` method.
func (*GetRegionRequest) Descriptor
deprecated
func (*GetRegionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegionRequest.ProtoReflect.Descriptor instead.
func (*GetRegionRequest) GetName ¶
func (x *GetRegionRequest) GetName() string
func (*GetRegionRequest) ProtoMessage ¶
func (*GetRegionRequest) ProtoMessage()
func (*GetRegionRequest) ProtoReflect ¶
func (x *GetRegionRequest) ProtoReflect() protoreflect.Message
func (*GetRegionRequest) Reset ¶
func (x *GetRegionRequest) Reset()
func (*GetRegionRequest) String ¶
func (x *GetRegionRequest) String() string
type GetShippingSettingsRequest ¶
type GetShippingSettingsRequest struct { // Required. The name of the shipping setting to retrieve. // Format: `accounts/{account}/shippingsetting` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetShippingSetting` method.
func (*GetShippingSettingsRequest) Descriptor
deprecated
func (*GetShippingSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShippingSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetShippingSettingsRequest) GetName ¶
func (x *GetShippingSettingsRequest) GetName() string
func (*GetShippingSettingsRequest) ProtoMessage ¶
func (*GetShippingSettingsRequest) ProtoMessage()
func (*GetShippingSettingsRequest) ProtoReflect ¶
func (x *GetShippingSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetShippingSettingsRequest) Reset ¶
func (x *GetShippingSettingsRequest) Reset()
func (*GetShippingSettingsRequest) String ¶
func (x *GetShippingSettingsRequest) String() string
type GetTermsOfServiceAgreementStateRequest ¶
type GetTermsOfServiceAgreementStateRequest struct { // Required. The resource name of the terms of service version. // Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` // The identifier format is: `{TermsOfServiceKind}-{country}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetTermsOfServiceAgreementState` method.
func (*GetTermsOfServiceAgreementStateRequest) Descriptor
deprecated
func (*GetTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead.
func (*GetTermsOfServiceAgreementStateRequest) GetName ¶
func (x *GetTermsOfServiceAgreementStateRequest) GetName() string
func (*GetTermsOfServiceAgreementStateRequest) ProtoMessage ¶
func (*GetTermsOfServiceAgreementStateRequest) ProtoMessage()
func (*GetTermsOfServiceAgreementStateRequest) ProtoReflect ¶
func (x *GetTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message
func (*GetTermsOfServiceAgreementStateRequest) Reset ¶
func (x *GetTermsOfServiceAgreementStateRequest) Reset()
func (*GetTermsOfServiceAgreementStateRequest) String ¶
func (x *GetTermsOfServiceAgreementStateRequest) String() string
type GetTermsOfServiceRequest ¶
type GetTermsOfServiceRequest struct { // Required. The resource name of the terms of service version. // Format: `termsOfService/{version}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetTermsOfService` method.
func (*GetTermsOfServiceRequest) Descriptor
deprecated
func (*GetTermsOfServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTermsOfServiceRequest.ProtoReflect.Descriptor instead.
func (*GetTermsOfServiceRequest) GetName ¶
func (x *GetTermsOfServiceRequest) GetName() string
func (*GetTermsOfServiceRequest) ProtoMessage ¶
func (*GetTermsOfServiceRequest) ProtoMessage()
func (*GetTermsOfServiceRequest) ProtoReflect ¶
func (x *GetTermsOfServiceRequest) ProtoReflect() protoreflect.Message
func (*GetTermsOfServiceRequest) Reset ¶
func (x *GetTermsOfServiceRequest) Reset()
func (*GetTermsOfServiceRequest) String ¶
func (x *GetTermsOfServiceRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct { // Required. The name of the user to retrieve. // Format: `accounts/{account}/users/{email}` // // It is also possible to retrieve the user corresponding to the caller by // using `me` rather than an email address as in // `accounts/{account}/users/me`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetUser` method.
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type Headers ¶
type Headers struct { // Required. A list of inclusive order price upper bounds. The last price's // value can be infinity by setting price amount_micros = -1. For example // `[{"amount_micros": 10000000, "currency_code": "USD"}, // {"amount_micros": 500000000, "currency_code": "USD"}, // {"amount_micros": -1, "currency_code": "USD"}]` represents the headers // "<= $10", "<= $500", and "> $500". All prices within a service must have // the same currency. Must be non-empty. Must be positive except -1. Can only // be set if all other fields are not set. Prices []*typepb.Price `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"` // Required. A list of inclusive order weight upper bounds. The last weight's // value can be infinity by setting price amount_micros = -1. For example // `[{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, // "unit": "kg"}, // {"amount_micros": -1, "unit": "kg"}]` represents the headers // "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have // the same unit. Must be non-empty. Must be positive except -1. Can only be // set if all other fields are not set. Weights []*typepb.Weight `protobuf:"bytes,2,rep,name=weights,proto3" json:"weights,omitempty"` // Required. A list of inclusive number of items upper bounds. The last value // can be // `"infinity"`. For example // `["10", "50", "infinity"]` represents the headers // "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can // only be set if all other fields are not set. NumberOfItems []string `protobuf:"bytes,3,rep,name=number_of_items,json=numberOfItems,proto3" json:"number_of_items,omitempty"` // Required. A list of postal group names. The last value can be // `"all other locations"`. Example: // `["zone 1", "zone 2", "all other locations"]`. The referred // postal code groups must match the delivery country of the service. Must // be non-empty. Can only be set if all other fields are not set. PostalCodeGroupNames []string `protobuf:"bytes,4,rep,name=postal_code_group_names,json=postalCodeGroupNames,proto3" json:"postal_code_group_names,omitempty"` // Required. A list of location ID sets. Must be non-empty. Can only be set if // all other fields are not set. Locations []*LocationIdSet `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"` // contains filtered or unexported fields }
A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `num_items`, `postal_code_group_names`, or `location` must be set.
func (*Headers) Descriptor
deprecated
func (*Headers) GetLocations ¶
func (x *Headers) GetLocations() []*LocationIdSet
func (*Headers) GetNumberOfItems ¶
func (*Headers) GetPostalCodeGroupNames ¶
func (*Headers) GetWeights ¶
func (*Headers) ProtoMessage ¶
func (*Headers) ProtoMessage()
func (*Headers) ProtoReflect ¶
func (x *Headers) ProtoReflect() protoreflect.Message
type Homepage ¶
type Homepage struct { // Identifier. The resource name of the store's homepage. // Format: `accounts/{account}/homepage` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The URI (typically a URL) of the store's homepage. Uri *string `protobuf:"bytes,2,opt,name=uri,proto3,oneof" json:"uri,omitempty"` // Output only. Whether the homepage is claimed. See // https://support.google.com/merchants/answer/176793. Claimed bool `protobuf:"varint,3,opt,name=claimed,proto3" json:"claimed,omitempty"` // contains filtered or unexported fields }
A store's homepage.
func (*Homepage) Descriptor
deprecated
func (*Homepage) GetClaimed ¶
func (*Homepage) ProtoMessage ¶
func (*Homepage) ProtoMessage()
func (*Homepage) ProtoReflect ¶
func (x *Homepage) ProtoReflect() protoreflect.Message
type HomepageServiceClient ¶
type HomepageServiceClient interface { // Retrieves a store's homepage. GetHomepage(ctx context.Context, in *GetHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) // Updates a store's homepage. Executing this method requires admin access. UpdateHomepage(ctx context.Context, in *UpdateHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) // Claims a store's homepage. Executing this method requires admin access. // // If the homepage is already claimed, this will recheck the // verification (unless the merchant is exempted from claiming, which also // exempts from verification) and return a successful response. If ownership // can no longer be verified, it will return an error, but it won't clear the // claim. In case of failure, a canonical error message will be returned: // - PERMISSION_DENIED: user doesn't have the necessary permissions on this // MC account; // - FAILED_PRECONDITION: // - The account is not a Merchant Center account; // - MC account doesn't have a homepage; // - claiming failed (in this case the error message will contain more // details). ClaimHomepage(ctx context.Context, in *ClaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) // Unclaims a store's homepage. Executing this method requires admin access. UnclaimHomepage(ctx context.Context, in *UnclaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) }
HomepageServiceClient is the client API for HomepageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHomepageServiceClient ¶
func NewHomepageServiceClient(cc grpc.ClientConnInterface) HomepageServiceClient
type HomepageServiceServer ¶
type HomepageServiceServer interface { // Retrieves a store's homepage. GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error) // Updates a store's homepage. Executing this method requires admin access. UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error) // Claims a store's homepage. Executing this method requires admin access. // // If the homepage is already claimed, this will recheck the // verification (unless the merchant is exempted from claiming, which also // exempts from verification) and return a successful response. If ownership // can no longer be verified, it will return an error, but it won't clear the // claim. In case of failure, a canonical error message will be returned: // - PERMISSION_DENIED: user doesn't have the necessary permissions on this // MC account; // - FAILED_PRECONDITION: // - The account is not a Merchant Center account; // - MC account doesn't have a homepage; // - claiming failed (in this case the error message will contain more // details). ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error) // Unclaims a store's homepage. Executing this method requires admin access. UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error) }
HomepageServiceServer is the server API for HomepageService service.
type InsertShippingSettingsRequest ¶
type InsertShippingSettingsRequest struct { // Required. The account where this product will be inserted. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The new version of the account. ShippingSetting *ShippingSettings `protobuf:"bytes,2,opt,name=shipping_setting,json=shippingSetting,proto3" json:"shipping_setting,omitempty"` // contains filtered or unexported fields }
Request message for the `InsertShippingSetting` method.
func (*InsertShippingSettingsRequest) Descriptor
deprecated
func (*InsertShippingSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertShippingSettingsRequest.ProtoReflect.Descriptor instead.
func (*InsertShippingSettingsRequest) GetParent ¶
func (x *InsertShippingSettingsRequest) GetParent() string
func (*InsertShippingSettingsRequest) GetShippingSetting ¶
func (x *InsertShippingSettingsRequest) GetShippingSetting() *ShippingSettings
func (*InsertShippingSettingsRequest) ProtoMessage ¶
func (*InsertShippingSettingsRequest) ProtoMessage()
func (*InsertShippingSettingsRequest) ProtoReflect ¶
func (x *InsertShippingSettingsRequest) ProtoReflect() protoreflect.Message
func (*InsertShippingSettingsRequest) Reset ¶
func (x *InsertShippingSettingsRequest) Reset()
func (*InsertShippingSettingsRequest) String ¶
func (x *InsertShippingSettingsRequest) String() string
type ListAccountIssuesRequest ¶
type ListAccountIssuesRequest struct { // Required. The parent, which owns this collection of issues. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of issues to return. The service may return // fewer than this value. If unspecified, at most 50 users will be returned. // The maximum value is 100; values above 100 will be coerced to 100 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListAccountIssues` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAccountIssues` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The issues in the response will have human-readable fields in the // given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47), // such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be // used. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The [IANA](https://www.iana.org/time-zones) timezone used to // localize times in human-readable fields. For example 'America/Los_Angeles'. // If not set, 'America/Los_Angeles' will be used. TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
Request message for the `ListAccountIssues` method.
func (*ListAccountIssuesRequest) Descriptor
deprecated
func (*ListAccountIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountIssuesRequest.ProtoReflect.Descriptor instead.
func (*ListAccountIssuesRequest) GetLanguageCode ¶
func (x *ListAccountIssuesRequest) GetLanguageCode() string
func (*ListAccountIssuesRequest) GetPageSize ¶
func (x *ListAccountIssuesRequest) GetPageSize() int32
func (*ListAccountIssuesRequest) GetPageToken ¶
func (x *ListAccountIssuesRequest) GetPageToken() string
func (*ListAccountIssuesRequest) GetParent ¶
func (x *ListAccountIssuesRequest) GetParent() string
func (*ListAccountIssuesRequest) GetTimeZone ¶
func (x *ListAccountIssuesRequest) GetTimeZone() string
func (*ListAccountIssuesRequest) ProtoMessage ¶
func (*ListAccountIssuesRequest) ProtoMessage()
func (*ListAccountIssuesRequest) ProtoReflect ¶
func (x *ListAccountIssuesRequest) ProtoReflect() protoreflect.Message
func (*ListAccountIssuesRequest) Reset ¶
func (x *ListAccountIssuesRequest) Reset()
func (*ListAccountIssuesRequest) String ¶
func (x *ListAccountIssuesRequest) String() string
type ListAccountIssuesResponse ¶
type ListAccountIssuesResponse struct { // The issues from the specified account. AccountIssues []*AccountIssue `protobuf:"bytes,1,rep,name=account_issues,json=accountIssues,proto3" json:"account_issues,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListAccountIssues` method.
func (*ListAccountIssuesResponse) Descriptor
deprecated
func (*ListAccountIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountIssuesResponse.ProtoReflect.Descriptor instead.
func (*ListAccountIssuesResponse) GetAccountIssues ¶
func (x *ListAccountIssuesResponse) GetAccountIssues() []*AccountIssue
func (*ListAccountIssuesResponse) GetNextPageToken ¶
func (x *ListAccountIssuesResponse) GetNextPageToken() string
func (*ListAccountIssuesResponse) ProtoMessage ¶
func (*ListAccountIssuesResponse) ProtoMessage()
func (*ListAccountIssuesResponse) ProtoReflect ¶
func (x *ListAccountIssuesResponse) ProtoReflect() protoreflect.Message
func (*ListAccountIssuesResponse) Reset ¶
func (x *ListAccountIssuesResponse) Reset()
func (*ListAccountIssuesResponse) String ¶
func (x *ListAccountIssuesResponse) String() string
type ListAccountTaxRequest ¶
type ListAccountTaxRequest struct { // Required. The parent, which owns this collection of account tax. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of tax settings to return in the response, used for // paging. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The token returned by the previous request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request to list all sub-account tax settings only for the requesting merchant This method can only be called on a multi-client account, otherwise it'll return an error.
func (*ListAccountTaxRequest) Descriptor
deprecated
func (*ListAccountTaxRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountTaxRequest.ProtoReflect.Descriptor instead.
func (*ListAccountTaxRequest) GetPageSize ¶
func (x *ListAccountTaxRequest) GetPageSize() int32
func (*ListAccountTaxRequest) GetPageToken ¶
func (x *ListAccountTaxRequest) GetPageToken() string
func (*ListAccountTaxRequest) GetParent ¶
func (x *ListAccountTaxRequest) GetParent() string
func (*ListAccountTaxRequest) ProtoMessage ¶
func (*ListAccountTaxRequest) ProtoMessage()
func (*ListAccountTaxRequest) ProtoReflect ¶
func (x *ListAccountTaxRequest) ProtoReflect() protoreflect.Message
func (*ListAccountTaxRequest) Reset ¶
func (x *ListAccountTaxRequest) Reset()
func (*ListAccountTaxRequest) String ¶
func (x *ListAccountTaxRequest) String() string
type ListAccountTaxResponse ¶
type ListAccountTaxResponse struct { // Page of accounttax settings AccountTaxes []*AccountTax `protobuf:"bytes,1,rep,name=account_taxes,json=accountTaxes,proto3" json:"account_taxes,omitempty"` // The token for the retrieval of the next page of account tax settings. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to account tax list request This method can only be called on a multi-client account, otherwise it'll return an error.
func (*ListAccountTaxResponse) Descriptor
deprecated
func (*ListAccountTaxResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountTaxResponse.ProtoReflect.Descriptor instead.
func (*ListAccountTaxResponse) GetAccountTaxes ¶
func (x *ListAccountTaxResponse) GetAccountTaxes() []*AccountTax
func (*ListAccountTaxResponse) GetNextPageToken ¶
func (x *ListAccountTaxResponse) GetNextPageToken() string
func (*ListAccountTaxResponse) ProtoMessage ¶
func (*ListAccountTaxResponse) ProtoMessage()
func (*ListAccountTaxResponse) ProtoReflect ¶
func (x *ListAccountTaxResponse) ProtoReflect() protoreflect.Message
func (*ListAccountTaxResponse) Reset ¶
func (x *ListAccountTaxResponse) Reset()
func (*ListAccountTaxResponse) String ¶
func (x *ListAccountTaxResponse) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct { // Optional. The maximum number of accounts to return. The service may return // fewer than this value. If unspecified, at most 250 accounts are returned. // The maximum value is 500; values above 500 are coerced to 500. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListAccounts` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAccounts` must match // the call that provided the page token. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Returns only accounts that match the // [filter](/merchant/api/guides/accounts/filter). // For more details, see the // [filter syntax reference](/merchant/api/guides/accounts/filter-syntax). Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for the `ListAccounts` method.
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetFilter ¶
func (x *ListAccountsRequest) GetFilter() string
func (*ListAccountsRequest) GetPageSize ¶
func (x *ListAccountsRequest) GetPageSize() int32
func (*ListAccountsRequest) GetPageToken ¶
func (x *ListAccountsRequest) GetPageToken() string
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type ListAccountsResponse ¶
type ListAccountsResponse struct { // The accounts matching the `ListAccountsRequest`. Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListAccounts` method.
func (*ListAccountsResponse) Descriptor
deprecated
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountsResponse) GetAccounts ¶
func (x *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) GetNextPageToken ¶
func (x *ListAccountsResponse) GetNextPageToken() string
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) ProtoReflect ¶
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountsResponse) Reset ¶
func (x *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (x *ListAccountsResponse) String() string
type ListOnlineReturnPoliciesRequest ¶
type ListOnlineReturnPoliciesRequest struct { // Required. The merchant account for which to list return policies. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of `OnlineReturnPolicy` resources to return. // The service returns fewer than this value if the number of return policies // for the given merchant is less that than the `pageSize`. The default value // is 10. The maximum value is 100; If a value higher than the maximum is // specified, then the `pageSize` will default to the maximum PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListOnlineReturnPolicies` // call. Provide the page token to retrieve the subsequent page. // // When paginating, all other parameters provided to // `ListOnlineReturnPolicies` must match the call that provided the page // token. The token returned as // [nextPageToken][google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse.next_page_token] // in the response to the previous request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the `ListOnlineReturnPolicies` method.
func (*ListOnlineReturnPoliciesRequest) Descriptor
deprecated
func (*ListOnlineReturnPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOnlineReturnPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListOnlineReturnPoliciesRequest) GetPageSize ¶
func (x *ListOnlineReturnPoliciesRequest) GetPageSize() int32
func (*ListOnlineReturnPoliciesRequest) GetPageToken ¶
func (x *ListOnlineReturnPoliciesRequest) GetPageToken() string
func (*ListOnlineReturnPoliciesRequest) GetParent ¶
func (x *ListOnlineReturnPoliciesRequest) GetParent() string
func (*ListOnlineReturnPoliciesRequest) ProtoMessage ¶
func (*ListOnlineReturnPoliciesRequest) ProtoMessage()
func (*ListOnlineReturnPoliciesRequest) ProtoReflect ¶
func (x *ListOnlineReturnPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListOnlineReturnPoliciesRequest) Reset ¶
func (x *ListOnlineReturnPoliciesRequest) Reset()
func (*ListOnlineReturnPoliciesRequest) String ¶
func (x *ListOnlineReturnPoliciesRequest) String() string
type ListOnlineReturnPoliciesResponse ¶
type ListOnlineReturnPoliciesResponse struct { // The retrieved return policies. OnlineReturnPolicies []*OnlineReturnPolicy `protobuf:"bytes,1,rep,name=online_return_policies,json=onlineReturnPolicies,proto3" json:"online_return_policies,omitempty"` // A token, which can be sent as `pageToken` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListOnlineReturnPolicies` method.
func (*ListOnlineReturnPoliciesResponse) Descriptor
deprecated
func (*ListOnlineReturnPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOnlineReturnPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListOnlineReturnPoliciesResponse) GetNextPageToken ¶
func (x *ListOnlineReturnPoliciesResponse) GetNextPageToken() string
func (*ListOnlineReturnPoliciesResponse) GetOnlineReturnPolicies ¶
func (x *ListOnlineReturnPoliciesResponse) GetOnlineReturnPolicies() []*OnlineReturnPolicy
func (*ListOnlineReturnPoliciesResponse) ProtoMessage ¶
func (*ListOnlineReturnPoliciesResponse) ProtoMessage()
func (*ListOnlineReturnPoliciesResponse) ProtoReflect ¶
func (x *ListOnlineReturnPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListOnlineReturnPoliciesResponse) Reset ¶
func (x *ListOnlineReturnPoliciesResponse) Reset()
func (*ListOnlineReturnPoliciesResponse) String ¶
func (x *ListOnlineReturnPoliciesResponse) String() string
type ListProgramsRequest ¶
type ListProgramsRequest struct { // Required. The name of the account for which to retrieve all programs. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of programs to return in a single response. If // unspecified (or 0), a default size of 1000 is used. The maximum value is // 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A continuation token, received from a previous `ListPrograms` // call. Provide this to retrieve the next page. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the ListPrograms method.
func (*ListProgramsRequest) Descriptor
deprecated
func (*ListProgramsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProgramsRequest.ProtoReflect.Descriptor instead.
func (*ListProgramsRequest) GetPageSize ¶
func (x *ListProgramsRequest) GetPageSize() int32
func (*ListProgramsRequest) GetPageToken ¶
func (x *ListProgramsRequest) GetPageToken() string
func (*ListProgramsRequest) GetParent ¶
func (x *ListProgramsRequest) GetParent() string
func (*ListProgramsRequest) ProtoMessage ¶
func (*ListProgramsRequest) ProtoMessage()
func (*ListProgramsRequest) ProtoReflect ¶
func (x *ListProgramsRequest) ProtoReflect() protoreflect.Message
func (*ListProgramsRequest) Reset ¶
func (x *ListProgramsRequest) Reset()
func (*ListProgramsRequest) String ¶
func (x *ListProgramsRequest) String() string
type ListProgramsResponse ¶
type ListProgramsResponse struct { // The programs for the given account. Programs []*Program `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. If this // field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the ListPrograms method.
func (*ListProgramsResponse) Descriptor
deprecated
func (*ListProgramsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProgramsResponse.ProtoReflect.Descriptor instead.
func (*ListProgramsResponse) GetNextPageToken ¶
func (x *ListProgramsResponse) GetNextPageToken() string
func (*ListProgramsResponse) GetPrograms ¶
func (x *ListProgramsResponse) GetPrograms() []*Program
func (*ListProgramsResponse) ProtoMessage ¶
func (*ListProgramsResponse) ProtoMessage()
func (*ListProgramsResponse) ProtoReflect ¶
func (x *ListProgramsResponse) ProtoReflect() protoreflect.Message
func (*ListProgramsResponse) Reset ¶
func (x *ListProgramsResponse) Reset()
func (*ListProgramsResponse) String ¶
func (x *ListProgramsResponse) String() string
type ListRegionsRequest ¶
type ListRegionsRequest struct { // Required. The account to list regions for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of regions to return. The service may return // fewer than this value. // If unspecified, at most 50 regions will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListRegions` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListRegions` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the `ListRegions` method.
func (*ListRegionsRequest) Descriptor
deprecated
func (*ListRegionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegionsRequest.ProtoReflect.Descriptor instead.
func (*ListRegionsRequest) GetPageSize ¶
func (x *ListRegionsRequest) GetPageSize() int32
func (*ListRegionsRequest) GetPageToken ¶
func (x *ListRegionsRequest) GetPageToken() string
func (*ListRegionsRequest) GetParent ¶
func (x *ListRegionsRequest) GetParent() string
func (*ListRegionsRequest) ProtoMessage ¶
func (*ListRegionsRequest) ProtoMessage()
func (*ListRegionsRequest) ProtoReflect ¶
func (x *ListRegionsRequest) ProtoReflect() protoreflect.Message
func (*ListRegionsRequest) Reset ¶
func (x *ListRegionsRequest) Reset()
func (*ListRegionsRequest) String ¶
func (x *ListRegionsRequest) String() string
type ListRegionsResponse ¶
type ListRegionsResponse struct { // The regions from the specified merchant. Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListRegions` method.
func (*ListRegionsResponse) Descriptor
deprecated
func (*ListRegionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegionsResponse.ProtoReflect.Descriptor instead.
func (*ListRegionsResponse) GetNextPageToken ¶
func (x *ListRegionsResponse) GetNextPageToken() string
func (*ListRegionsResponse) GetRegions ¶
func (x *ListRegionsResponse) GetRegions() []*Region
func (*ListRegionsResponse) ProtoMessage ¶
func (*ListRegionsResponse) ProtoMessage()
func (*ListRegionsResponse) ProtoReflect ¶
func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message
func (*ListRegionsResponse) Reset ¶
func (x *ListRegionsResponse) Reset()
func (*ListRegionsResponse) String ¶
func (x *ListRegionsResponse) String() string
type ListSubAccountsRequest ¶
type ListSubAccountsRequest struct { // Required. The parent account. // Format: `accounts/{account}` Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // Optional. The maximum number of accounts to return. The service may return // fewer than this value. If unspecified, at most 250 accounts are returned. // The maximum value is 500; values above 500 are coerced to 500. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListAccounts` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAccounts` must match // the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the `ListSubAccounts` method.
func (*ListSubAccountsRequest) Descriptor
deprecated
func (*ListSubAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListSubAccountsRequest) GetPageSize ¶
func (x *ListSubAccountsRequest) GetPageSize() int32
func (*ListSubAccountsRequest) GetPageToken ¶
func (x *ListSubAccountsRequest) GetPageToken() string
func (*ListSubAccountsRequest) GetProvider ¶
func (x *ListSubAccountsRequest) GetProvider() string
func (*ListSubAccountsRequest) ProtoMessage ¶
func (*ListSubAccountsRequest) ProtoMessage()
func (*ListSubAccountsRequest) ProtoReflect ¶
func (x *ListSubAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListSubAccountsRequest) Reset ¶
func (x *ListSubAccountsRequest) Reset()
func (*ListSubAccountsRequest) String ¶
func (x *ListSubAccountsRequest) String() string
type ListSubAccountsResponse ¶
type ListSubAccountsResponse struct { // The accounts for which the given parent account is an aggregator. Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListSubAccounts` method.
func (*ListSubAccountsResponse) Descriptor
deprecated
func (*ListSubAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListSubAccountsResponse) GetAccounts ¶
func (x *ListSubAccountsResponse) GetAccounts() []*Account
func (*ListSubAccountsResponse) GetNextPageToken ¶
func (x *ListSubAccountsResponse) GetNextPageToken() string
func (*ListSubAccountsResponse) ProtoMessage ¶
func (*ListSubAccountsResponse) ProtoMessage()
func (*ListSubAccountsResponse) ProtoReflect ¶
func (x *ListSubAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListSubAccountsResponse) Reset ¶
func (x *ListSubAccountsResponse) Reset()
func (*ListSubAccountsResponse) String ¶
func (x *ListSubAccountsResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { // Required. The parent, which owns this collection of users. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of users to return. The service may return // fewer than this value. If unspecified, at most 50 users will be returned. // The maximum value is 100; values above 100 will be coerced to 100 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListUsers` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListUsers` must match // the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the `ListUsers` method.
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) GetParent ¶
func (x *ListUsersRequest) GetParent() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { // The users from the specified account. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListUsers` method.
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type LocationIdSet ¶
type LocationIdSet struct { // Required. A non-empty list of // [location // IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). // They must all be of the same location type (For // example, state). LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` // contains filtered or unexported fields }
A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.
func (*LocationIdSet) Descriptor
deprecated
func (*LocationIdSet) Descriptor() ([]byte, []int)
Deprecated: Use LocationIdSet.ProtoReflect.Descriptor instead.
func (*LocationIdSet) GetLocationIds ¶
func (x *LocationIdSet) GetLocationIds() []string
func (*LocationIdSet) ProtoMessage ¶
func (*LocationIdSet) ProtoMessage()
func (*LocationIdSet) ProtoReflect ¶
func (x *LocationIdSet) ProtoReflect() protoreflect.Message
func (*LocationIdSet) Reset ¶
func (x *LocationIdSet) Reset()
func (*LocationIdSet) String ¶
func (x *LocationIdSet) String() string
type MinimumOrderValueTable ¶
type MinimumOrderValueTable struct { // Required. A list of store code sets sharing the same minimum order value // (MOV). At least two sets are required and the last one must be empty, which // signifies 'MOV for all other stores'. Each store code can only appear once // across all the sets. All prices within a service must have the same // currency. StoreCodeSetWithMovs []*MinimumOrderValueTable_StoreCodeSetWithMov `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Table of per store minimum order values for the pickup fulfillment type.
func (*MinimumOrderValueTable) Descriptor
deprecated
func (*MinimumOrderValueTable) Descriptor() ([]byte, []int)
Deprecated: Use MinimumOrderValueTable.ProtoReflect.Descriptor instead.
func (*MinimumOrderValueTable) GetStoreCodeSetWithMovs ¶
func (x *MinimumOrderValueTable) GetStoreCodeSetWithMovs() []*MinimumOrderValueTable_StoreCodeSetWithMov
func (*MinimumOrderValueTable) ProtoMessage ¶
func (*MinimumOrderValueTable) ProtoMessage()
func (*MinimumOrderValueTable) ProtoReflect ¶
func (x *MinimumOrderValueTable) ProtoReflect() protoreflect.Message
func (*MinimumOrderValueTable) Reset ¶
func (x *MinimumOrderValueTable) Reset()
func (*MinimumOrderValueTable) String ¶
func (x *MinimumOrderValueTable) String() string
type MinimumOrderValueTable_StoreCodeSetWithMov ¶
type MinimumOrderValueTable_StoreCodeSetWithMov struct { // Optional. A list of unique store codes or empty for the catch all. StoreCodes []string `protobuf:"bytes,1,rep,name=store_codes,json=storeCodes,proto3" json:"store_codes,omitempty"` // The minimum order value for the given stores. Value *typepb.Price `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.
func (*MinimumOrderValueTable_StoreCodeSetWithMov) Descriptor
deprecated
func (*MinimumOrderValueTable_StoreCodeSetWithMov) Descriptor() ([]byte, []int)
Deprecated: Use MinimumOrderValueTable_StoreCodeSetWithMov.ProtoReflect.Descriptor instead.
func (*MinimumOrderValueTable_StoreCodeSetWithMov) GetStoreCodes ¶
func (x *MinimumOrderValueTable_StoreCodeSetWithMov) GetStoreCodes() []string
func (*MinimumOrderValueTable_StoreCodeSetWithMov) GetValue ¶
func (x *MinimumOrderValueTable_StoreCodeSetWithMov) GetValue() *typepb.Price
func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoMessage ¶
func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoMessage()
func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoReflect ¶
func (x *MinimumOrderValueTable_StoreCodeSetWithMov) ProtoReflect() protoreflect.Message
func (*MinimumOrderValueTable_StoreCodeSetWithMov) Reset ¶
func (x *MinimumOrderValueTable_StoreCodeSetWithMov) Reset()
func (*MinimumOrderValueTable_StoreCodeSetWithMov) String ¶
func (x *MinimumOrderValueTable_StoreCodeSetWithMov) String() string
type OnlineReturnPolicy ¶
type OnlineReturnPolicy struct { // Identifier. The name of the `OnlineReturnPolicy` resource. // Format: `accounts/{account}/onlineReturnPolicies/{return_policy}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Return policy ID generated by Google. ReturnPolicyId string `protobuf:"bytes,2,opt,name=return_policy_id,json=returnPolicyId,proto3" json:"return_policy_id,omitempty"` // This field represents the unique user-defined label of the return policy. // It is important to note that the same label cannot be used in different // return policies for the same country. Unless a product specifies a specific // label attribute, policies will be automatically labeled as 'default'. // To assign a custom return policy to certain product groups, follow the // instructions provided in the [Return policy label] // (https://support.google.com/merchants/answer/9445425). // The label can contain up to 50 characters. Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // The countries of sale where the return policy applies. The values // must be a valid 2 letter ISO 3166 code. Countries []string `protobuf:"bytes,4,rep,name=countries,proto3" json:"countries,omitempty"` // The return policy. Policy *OnlineReturnPolicy_Policy `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"` // The restocking fee that applies to all return reason categories. This would // be treated as a free restocking fee if the value is not set. RestockingFee *OnlineReturnPolicy_RestockingFee `protobuf:"bytes,6,opt,name=restocking_fee,json=restockingFee,proto3" json:"restocking_fee,omitempty"` // The return methods of how customers can return an item. This value is // required to not be empty unless the type of return policy is noReturns. ReturnMethods []OnlineReturnPolicy_ReturnMethod `` /* 186-byte string literal not displayed */ // The item conditions accepted for returns must not be empty unless the type // of return policy is 'noReturns'. ItemConditions []OnlineReturnPolicy_ItemCondition `` /* 190-byte string literal not displayed */ // The return shipping fee. Should be set only when customer need to download // and print the return label. ReturnShippingFee *OnlineReturnPolicy_ReturnShippingFee `protobuf:"bytes,9,opt,name=return_shipping_fee,json=returnShippingFee,proto3" json:"return_shipping_fee,omitempty"` // The return policy uri. This can used by Google to do a sanity check for the // policy. It must be a valid URL. ReturnPolicyUri string `protobuf:"bytes,10,opt,name=return_policy_uri,json=returnPolicyUri,proto3" json:"return_policy_uri,omitempty"` // This field specifies if merchant only accepts defective products for // returns, and this field is required. AcceptDefectiveOnly *bool `` /* 128-byte string literal not displayed */ // The field specifies the number of days it takes for merchants to process // refunds, field is optional. ProcessRefundDays *int32 `protobuf:"varint,12,opt,name=process_refund_days,json=processRefundDays,proto3,oneof" json:"process_refund_days,omitempty"` // This field specifies if merchant allows customers to exchange products, // this field is required. AcceptExchange *bool `protobuf:"varint,13,opt,name=accept_exchange,json=acceptExchange,proto3,oneof" json:"accept_exchange,omitempty"` // contains filtered or unexported fields }
[Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to represent return policies for ads and free listings programs.
func (*OnlineReturnPolicy) Descriptor
deprecated
func (*OnlineReturnPolicy) Descriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy.ProtoReflect.Descriptor instead.
func (*OnlineReturnPolicy) GetAcceptDefectiveOnly ¶
func (x *OnlineReturnPolicy) GetAcceptDefectiveOnly() bool
func (*OnlineReturnPolicy) GetAcceptExchange ¶
func (x *OnlineReturnPolicy) GetAcceptExchange() bool
func (*OnlineReturnPolicy) GetCountries ¶
func (x *OnlineReturnPolicy) GetCountries() []string
func (*OnlineReturnPolicy) GetItemConditions ¶
func (x *OnlineReturnPolicy) GetItemConditions() []OnlineReturnPolicy_ItemCondition
func (*OnlineReturnPolicy) GetLabel ¶
func (x *OnlineReturnPolicy) GetLabel() string
func (*OnlineReturnPolicy) GetName ¶
func (x *OnlineReturnPolicy) GetName() string
func (*OnlineReturnPolicy) GetPolicy ¶
func (x *OnlineReturnPolicy) GetPolicy() *OnlineReturnPolicy_Policy
func (*OnlineReturnPolicy) GetProcessRefundDays ¶
func (x *OnlineReturnPolicy) GetProcessRefundDays() int32
func (*OnlineReturnPolicy) GetRestockingFee ¶
func (x *OnlineReturnPolicy) GetRestockingFee() *OnlineReturnPolicy_RestockingFee
func (*OnlineReturnPolicy) GetReturnMethods ¶
func (x *OnlineReturnPolicy) GetReturnMethods() []OnlineReturnPolicy_ReturnMethod
func (*OnlineReturnPolicy) GetReturnPolicyId ¶
func (x *OnlineReturnPolicy) GetReturnPolicyId() string
func (*OnlineReturnPolicy) GetReturnPolicyUri ¶
func (x *OnlineReturnPolicy) GetReturnPolicyUri() string
func (*OnlineReturnPolicy) GetReturnShippingFee ¶
func (x *OnlineReturnPolicy) GetReturnShippingFee() *OnlineReturnPolicy_ReturnShippingFee
func (*OnlineReturnPolicy) ProtoMessage ¶
func (*OnlineReturnPolicy) ProtoMessage()
func (*OnlineReturnPolicy) ProtoReflect ¶
func (x *OnlineReturnPolicy) ProtoReflect() protoreflect.Message
func (*OnlineReturnPolicy) Reset ¶
func (x *OnlineReturnPolicy) Reset()
func (*OnlineReturnPolicy) String ¶
func (x *OnlineReturnPolicy) String() string
type OnlineReturnPolicyServiceClient ¶
type OnlineReturnPolicyServiceClient interface { // Gets an existing return policy. GetOnlineReturnPolicy(ctx context.Context, in *GetOnlineReturnPolicyRequest, opts ...grpc.CallOption) (*OnlineReturnPolicy, error) // Lists all existing return policies. ListOnlineReturnPolicies(ctx context.Context, in *ListOnlineReturnPoliciesRequest, opts ...grpc.CallOption) (*ListOnlineReturnPoliciesResponse, error) }
OnlineReturnPolicyServiceClient is the client API for OnlineReturnPolicyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOnlineReturnPolicyServiceClient ¶
func NewOnlineReturnPolicyServiceClient(cc grpc.ClientConnInterface) OnlineReturnPolicyServiceClient
type OnlineReturnPolicyServiceServer ¶
type OnlineReturnPolicyServiceServer interface { // Gets an existing return policy. GetOnlineReturnPolicy(context.Context, *GetOnlineReturnPolicyRequest) (*OnlineReturnPolicy, error) // Lists all existing return policies. ListOnlineReturnPolicies(context.Context, *ListOnlineReturnPoliciesRequest) (*ListOnlineReturnPoliciesResponse, error) }
OnlineReturnPolicyServiceServer is the server API for OnlineReturnPolicyService service.
type OnlineReturnPolicy_ItemCondition ¶
type OnlineReturnPolicy_ItemCondition int32
The available item conditions.
const ( // Default value. This value is unused. OnlineReturnPolicy_ITEM_CONDITION_UNSPECIFIED OnlineReturnPolicy_ItemCondition = 0 // New. OnlineReturnPolicy_NEW OnlineReturnPolicy_ItemCondition = 1 // Used. OnlineReturnPolicy_USED OnlineReturnPolicy_ItemCondition = 2 )
func (OnlineReturnPolicy_ItemCondition) Descriptor ¶
func (OnlineReturnPolicy_ItemCondition) Descriptor() protoreflect.EnumDescriptor
func (OnlineReturnPolicy_ItemCondition) Enum ¶
func (x OnlineReturnPolicy_ItemCondition) Enum() *OnlineReturnPolicy_ItemCondition
func (OnlineReturnPolicy_ItemCondition) EnumDescriptor
deprecated
func (OnlineReturnPolicy_ItemCondition) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_ItemCondition.Descriptor instead.
func (OnlineReturnPolicy_ItemCondition) Number ¶
func (x OnlineReturnPolicy_ItemCondition) Number() protoreflect.EnumNumber
func (OnlineReturnPolicy_ItemCondition) String ¶
func (x OnlineReturnPolicy_ItemCondition) String() string
func (OnlineReturnPolicy_ItemCondition) Type ¶
func (OnlineReturnPolicy_ItemCondition) Type() protoreflect.EnumType
type OnlineReturnPolicy_Policy ¶
type OnlineReturnPolicy_Policy struct { // Policy type. Type OnlineReturnPolicy_Policy_Type `` /* 139-byte string literal not displayed */ // The number of days items can be returned after delivery, where one day // is defined as 24 hours after the delivery timestamp. Required for // `NUMBER_OF_DAYS_AFTER_DELIVERY` returns. Days int64 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"` // contains filtered or unexported fields }
The available policies.
func (*OnlineReturnPolicy_Policy) Descriptor
deprecated
func (*OnlineReturnPolicy_Policy) Descriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_Policy.ProtoReflect.Descriptor instead.
func (*OnlineReturnPolicy_Policy) GetDays ¶
func (x *OnlineReturnPolicy_Policy) GetDays() int64
func (*OnlineReturnPolicy_Policy) GetType ¶
func (x *OnlineReturnPolicy_Policy) GetType() OnlineReturnPolicy_Policy_Type
func (*OnlineReturnPolicy_Policy) ProtoMessage ¶
func (*OnlineReturnPolicy_Policy) ProtoMessage()
func (*OnlineReturnPolicy_Policy) ProtoReflect ¶
func (x *OnlineReturnPolicy_Policy) ProtoReflect() protoreflect.Message
func (*OnlineReturnPolicy_Policy) Reset ¶
func (x *OnlineReturnPolicy_Policy) Reset()
func (*OnlineReturnPolicy_Policy) String ¶
func (x *OnlineReturnPolicy_Policy) String() string
type OnlineReturnPolicy_Policy_Type ¶
type OnlineReturnPolicy_Policy_Type int32
Return policy types.
const ( // Default value. This value is unused. OnlineReturnPolicy_Policy_TYPE_UNSPECIFIED OnlineReturnPolicy_Policy_Type = 0 // The number of days within which a return is valid after delivery. OnlineReturnPolicy_Policy_NUMBER_OF_DAYS_AFTER_DELIVERY OnlineReturnPolicy_Policy_Type = 1 // No returns. OnlineReturnPolicy_Policy_NO_RETURNS OnlineReturnPolicy_Policy_Type = 2 // Life time returns. OnlineReturnPolicy_Policy_LIFETIME_RETURNS OnlineReturnPolicy_Policy_Type = 3 )
func (OnlineReturnPolicy_Policy_Type) Descriptor ¶
func (OnlineReturnPolicy_Policy_Type) Descriptor() protoreflect.EnumDescriptor
func (OnlineReturnPolicy_Policy_Type) Enum ¶
func (x OnlineReturnPolicy_Policy_Type) Enum() *OnlineReturnPolicy_Policy_Type
func (OnlineReturnPolicy_Policy_Type) EnumDescriptor
deprecated
func (OnlineReturnPolicy_Policy_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_Policy_Type.Descriptor instead.
func (OnlineReturnPolicy_Policy_Type) Number ¶
func (x OnlineReturnPolicy_Policy_Type) Number() protoreflect.EnumNumber
func (OnlineReturnPolicy_Policy_Type) String ¶
func (x OnlineReturnPolicy_Policy_Type) String() string
func (OnlineReturnPolicy_Policy_Type) Type ¶
func (OnlineReturnPolicy_Policy_Type) Type() protoreflect.EnumType
type OnlineReturnPolicy_RestockingFee ¶
type OnlineReturnPolicy_RestockingFee struct { // Types that are assignable to Type: // // *OnlineReturnPolicy_RestockingFee_FixedFee // *OnlineReturnPolicy_RestockingFee_MicroPercent Type isOnlineReturnPolicy_RestockingFee_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
The restocking fee. This can be a flat fee or a micro percent.
func (*OnlineReturnPolicy_RestockingFee) Descriptor
deprecated
func (*OnlineReturnPolicy_RestockingFee) Descriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_RestockingFee.ProtoReflect.Descriptor instead.
func (*OnlineReturnPolicy_RestockingFee) GetFixedFee ¶
func (x *OnlineReturnPolicy_RestockingFee) GetFixedFee() *typepb.Price
func (*OnlineReturnPolicy_RestockingFee) GetMicroPercent ¶
func (x *OnlineReturnPolicy_RestockingFee) GetMicroPercent() int32
func (*OnlineReturnPolicy_RestockingFee) GetType ¶
func (m *OnlineReturnPolicy_RestockingFee) GetType() isOnlineReturnPolicy_RestockingFee_Type
func (*OnlineReturnPolicy_RestockingFee) ProtoMessage ¶
func (*OnlineReturnPolicy_RestockingFee) ProtoMessage()
func (*OnlineReturnPolicy_RestockingFee) ProtoReflect ¶
func (x *OnlineReturnPolicy_RestockingFee) ProtoReflect() protoreflect.Message
func (*OnlineReturnPolicy_RestockingFee) Reset ¶
func (x *OnlineReturnPolicy_RestockingFee) Reset()
func (*OnlineReturnPolicy_RestockingFee) String ¶
func (x *OnlineReturnPolicy_RestockingFee) String() string
type OnlineReturnPolicy_RestockingFee_MicroPercent ¶
type OnlineReturnPolicy_RestockingFee_MicroPercent struct { // Percent of total price in micros. 15,000,000 means 15% of the total // price would be charged. MicroPercent int32 `protobuf:"varint,2,opt,name=micro_percent,json=microPercent,proto3,oneof"` }
type OnlineReturnPolicy_ReturnMethod ¶
type OnlineReturnPolicy_ReturnMethod int32
The available return methods.
const ( // Default value. This value is unused. OnlineReturnPolicy_RETURN_METHOD_UNSPECIFIED OnlineReturnPolicy_ReturnMethod = 0 // Return by mail. OnlineReturnPolicy_BY_MAIL OnlineReturnPolicy_ReturnMethod = 1 // Return in store. OnlineReturnPolicy_IN_STORE OnlineReturnPolicy_ReturnMethod = 2 // Return at a kiosk. OnlineReturnPolicy_AT_A_KIOSK OnlineReturnPolicy_ReturnMethod = 3 )
func (OnlineReturnPolicy_ReturnMethod) Descriptor ¶
func (OnlineReturnPolicy_ReturnMethod) Descriptor() protoreflect.EnumDescriptor
func (OnlineReturnPolicy_ReturnMethod) Enum ¶
func (x OnlineReturnPolicy_ReturnMethod) Enum() *OnlineReturnPolicy_ReturnMethod
func (OnlineReturnPolicy_ReturnMethod) EnumDescriptor
deprecated
func (OnlineReturnPolicy_ReturnMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_ReturnMethod.Descriptor instead.
func (OnlineReturnPolicy_ReturnMethod) Number ¶
func (x OnlineReturnPolicy_ReturnMethod) Number() protoreflect.EnumNumber
func (OnlineReturnPolicy_ReturnMethod) String ¶
func (x OnlineReturnPolicy_ReturnMethod) String() string
func (OnlineReturnPolicy_ReturnMethod) Type ¶
func (OnlineReturnPolicy_ReturnMethod) Type() protoreflect.EnumType
type OnlineReturnPolicy_ReturnShippingFee ¶
type OnlineReturnPolicy_ReturnShippingFee struct { // Type of return shipping fee. Type OnlineReturnPolicy_ReturnShippingFee_Type `` /* 150-byte string literal not displayed */ // Fixed return shipping fee amount. This value is only applicable when type // is `FIXED`. We will treat the return shipping fee as free if type is // `FIXED` and this value is not set. FixedFee *typepb.Price `protobuf:"bytes,2,opt,name=fixed_fee,json=fixedFee,proto3" json:"fixed_fee,omitempty"` // contains filtered or unexported fields }
The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.
func (*OnlineReturnPolicy_ReturnShippingFee) Descriptor
deprecated
func (*OnlineReturnPolicy_ReturnShippingFee) Descriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_ReturnShippingFee.ProtoReflect.Descriptor instead.
func (*OnlineReturnPolicy_ReturnShippingFee) GetFixedFee ¶
func (x *OnlineReturnPolicy_ReturnShippingFee) GetFixedFee() *typepb.Price
func (*OnlineReturnPolicy_ReturnShippingFee) GetType ¶
func (x *OnlineReturnPolicy_ReturnShippingFee) GetType() OnlineReturnPolicy_ReturnShippingFee_Type
func (*OnlineReturnPolicy_ReturnShippingFee) ProtoMessage ¶
func (*OnlineReturnPolicy_ReturnShippingFee) ProtoMessage()
func (*OnlineReturnPolicy_ReturnShippingFee) ProtoReflect ¶
func (x *OnlineReturnPolicy_ReturnShippingFee) ProtoReflect() protoreflect.Message
func (*OnlineReturnPolicy_ReturnShippingFee) Reset ¶
func (x *OnlineReturnPolicy_ReturnShippingFee) Reset()
func (*OnlineReturnPolicy_ReturnShippingFee) String ¶
func (x *OnlineReturnPolicy_ReturnShippingFee) String() string
type OnlineReturnPolicy_ReturnShippingFee_Type ¶
type OnlineReturnPolicy_ReturnShippingFee_Type int32
Return shipping fee types.
const ( // Default value. This value is unused. OnlineReturnPolicy_ReturnShippingFee_TYPE_UNSPECIFIED OnlineReturnPolicy_ReturnShippingFee_Type = 0 // The return shipping fee is a fixed value. OnlineReturnPolicy_ReturnShippingFee_FIXED OnlineReturnPolicy_ReturnShippingFee_Type = 1 // Customers will pay the actual return shipping fee. OnlineReturnPolicy_ReturnShippingFee_CUSTOMER_PAYING_ACTUAL_FEE OnlineReturnPolicy_ReturnShippingFee_Type = 2 )
func (OnlineReturnPolicy_ReturnShippingFee_Type) Descriptor ¶
func (OnlineReturnPolicy_ReturnShippingFee_Type) Descriptor() protoreflect.EnumDescriptor
func (OnlineReturnPolicy_ReturnShippingFee_Type) EnumDescriptor
deprecated
func (OnlineReturnPolicy_ReturnShippingFee_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnlineReturnPolicy_ReturnShippingFee_Type.Descriptor instead.
func (OnlineReturnPolicy_ReturnShippingFee_Type) Number ¶
func (x OnlineReturnPolicy_ReturnShippingFee_Type) Number() protoreflect.EnumNumber
func (OnlineReturnPolicy_ReturnShippingFee_Type) String ¶
func (x OnlineReturnPolicy_ReturnShippingFee_Type) String() string
func (OnlineReturnPolicy_ReturnShippingFee_Type) Type ¶
func (OnlineReturnPolicy_ReturnShippingFee_Type) Type() protoreflect.EnumType
type PhoneVerificationState ¶
type PhoneVerificationState int32
The phone verification state.
const ( // Default value. This value is unused. PhoneVerificationState_PHONE_VERIFICATION_STATE_UNSPECIFIED PhoneVerificationState = 0 // The phone is verified. PhoneVerificationState_PHONE_VERIFICATION_STATE_VERIFIED PhoneVerificationState = 1 // The phone is unverified PhoneVerificationState_PHONE_VERIFICATION_STATE_UNVERIFIED PhoneVerificationState = 2 )
func (PhoneVerificationState) Descriptor ¶
func (PhoneVerificationState) Descriptor() protoreflect.EnumDescriptor
func (PhoneVerificationState) Enum ¶
func (x PhoneVerificationState) Enum() *PhoneVerificationState
func (PhoneVerificationState) EnumDescriptor
deprecated
func (PhoneVerificationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PhoneVerificationState.Descriptor instead.
func (PhoneVerificationState) Number ¶
func (x PhoneVerificationState) Number() protoreflect.EnumNumber
func (PhoneVerificationState) String ¶
func (x PhoneVerificationState) String() string
func (PhoneVerificationState) Type ¶
func (PhoneVerificationState) Type() protoreflect.EnumType
type Program ¶
type Program struct { // Identifier. The resource name of the program. // Format: `accounts/{account}/programs/{program}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The URL of a Merchant Center help page describing the program. DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"` // Output only. The participation state of the account in the program. State Program_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1beta.Program_State" json:"state,omitempty"` // Output only. The regions in which the account is actively participating in // the program. Active regions are defined as those where all program // requirements affecting the regions have been met. // // Region codes are defined by [CLDR](https://cldr.unicode.org/). This is // either a country where the program applies specifically to that country or // `001` when the program applies globally. ActiveRegionCodes []string `protobuf:"bytes,4,rep,name=active_region_codes,json=activeRegionCodes,proto3" json:"active_region_codes,omitempty"` // Output only. The requirements that the account has not yet satisfied that // are affecting participation in the program. UnmetRequirements []*Program_Requirement `protobuf:"bytes,5,rep,name=unmet_requirements,json=unmetRequirements,proto3" json:"unmet_requirements,omitempty"` // contains filtered or unexported fields }
Defines participation in a given program for the specified account.
Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) program, which enables products from a merchant's store to be shown across Google for free.
func (*Program) Descriptor
deprecated
func (*Program) GetActiveRegionCodes ¶
func (*Program) GetDocumentationUri ¶
func (*Program) GetState ¶
func (x *Program) GetState() Program_State
func (*Program) GetUnmetRequirements ¶
func (x *Program) GetUnmetRequirements() []*Program_Requirement
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) ProtoReflect ¶
func (x *Program) ProtoReflect() protoreflect.Message
type Program_Requirement ¶
type Program_Requirement struct { // Output only. Name of the requirement. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Output only. The URL of a help page describing the requirement. DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"` // Output only. The regions that are currently affected by this requirement // not being met. // // Region codes are defined by [CLDR](https://cldr.unicode.org/). This is // either a country where the program applies specifically to that country // or `001` when the program applies globally. AffectedRegionCodes []string `protobuf:"bytes,3,rep,name=affected_region_codes,json=affectedRegionCodes,proto3" json:"affected_region_codes,omitempty"` // contains filtered or unexported fields }
Defines a requirement specified for participation in the program.
func (*Program_Requirement) Descriptor
deprecated
func (*Program_Requirement) Descriptor() ([]byte, []int)
Deprecated: Use Program_Requirement.ProtoReflect.Descriptor instead.
func (*Program_Requirement) GetAffectedRegionCodes ¶
func (x *Program_Requirement) GetAffectedRegionCodes() []string
func (*Program_Requirement) GetDocumentationUri ¶
func (x *Program_Requirement) GetDocumentationUri() string
func (*Program_Requirement) GetTitle ¶
func (x *Program_Requirement) GetTitle() string
func (*Program_Requirement) ProtoMessage ¶
func (*Program_Requirement) ProtoMessage()
func (*Program_Requirement) ProtoReflect ¶
func (x *Program_Requirement) ProtoReflect() protoreflect.Message
func (*Program_Requirement) Reset ¶
func (x *Program_Requirement) Reset()
func (*Program_Requirement) String ¶
func (x *Program_Requirement) String() string
type Program_State ¶
type Program_State int32
Possible program participation states for the account.
const ( // Default value. This value is unused. Program_STATE_UNSPECIFIED Program_State = 0 // The account is not eligible to participate in the program. Program_NOT_ELIGIBLE Program_State = 1 // The account is eligible to participate in the program. Program_ELIGIBLE Program_State = 2 // The program is enabled for the account. Program_ENABLED Program_State = 3 )
func (Program_State) Descriptor ¶
func (Program_State) Descriptor() protoreflect.EnumDescriptor
func (Program_State) Enum ¶
func (x Program_State) Enum() *Program_State
func (Program_State) EnumDescriptor
deprecated
func (Program_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Program_State.Descriptor instead.
func (Program_State) Number ¶
func (x Program_State) Number() protoreflect.EnumNumber
func (Program_State) String ¶
func (x Program_State) String() string
func (Program_State) Type ¶
func (Program_State) Type() protoreflect.EnumType
type ProgramsServiceClient ¶
type ProgramsServiceClient interface { // Retrieves the specified program for the account. GetProgram(ctx context.Context, in *GetProgramRequest, opts ...grpc.CallOption) (*Program, error) // Retrieves all programs for the account. ListPrograms(ctx context.Context, in *ListProgramsRequest, opts ...grpc.CallOption) (*ListProgramsResponse, error) // Enable participation in the specified program for the account. Executing // this method requires admin access. EnableProgram(ctx context.Context, in *EnableProgramRequest, opts ...grpc.CallOption) (*Program, error) // Disable participation in the specified program for the account. Executing // this method requires admin access. DisableProgram(ctx context.Context, in *DisableProgramRequest, opts ...grpc.CallOption) (*Program, error) }
ProgramsServiceClient is the client API for ProgramsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProgramsServiceClient ¶
func NewProgramsServiceClient(cc grpc.ClientConnInterface) ProgramsServiceClient
type ProgramsServiceServer ¶
type ProgramsServiceServer interface { // Retrieves the specified program for the account. GetProgram(context.Context, *GetProgramRequest) (*Program, error) // Retrieves all programs for the account. ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error) // Enable participation in the specified program for the account. Executing // this method requires admin access. EnableProgram(context.Context, *EnableProgramRequest) (*Program, error) // Disable participation in the specified program for the account. Executing // this method requires admin access. DisableProgram(context.Context, *DisableProgramRequest) (*Program, error) }
ProgramsServiceServer is the server API for ProgramsService service.
type RateGroup ¶
type RateGroup struct { // Required. A list of [shipping // labels](https://support.google.com/merchants/answer/6324504) defining the // products to which this rate group applies to. This is a disjunction: only // one of the labels has to match for the rate group to apply. May only be // empty for the last rate group of a service. ApplicableShippingLabels []string `` /* 135-byte string literal not displayed */ // The value of the rate group (For example flat rate $10). Can only be set // if `main_table` and `subtables` are not set. SingleValue *Value `protobuf:"bytes,2,opt,name=single_value,json=singleValue,proto3,oneof" json:"single_value,omitempty"` // A table defining the rate group, when `single_value` is not // expressive enough. Can only be set if `single_value` is not // set. MainTable *Table `protobuf:"bytes,3,opt,name=main_table,json=mainTable,proto3,oneof" json:"main_table,omitempty"` // Optional. A list of subtables referred to by `main_table`. Can only // be set if `main_table` is set. Subtables []*Table `protobuf:"bytes,4,rep,name=subtables,proto3" json:"subtables,omitempty"` // Optional. A list of carrier rates that can be referred to by // `main_table` or `single_value`. CarrierRates []*CarrierRate `protobuf:"bytes,5,rep,name=carrier_rates,json=carrierRates,proto3" json:"carrier_rates,omitempty"` // Optional. Name of the rate group. // If set has to be unique within shipping service. Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means "everything else". The other `applicable_shipping_labels` must not overlap.
func (*RateGroup) Descriptor
deprecated
func (*RateGroup) GetApplicableShippingLabels ¶
func (*RateGroup) GetCarrierRates ¶
func (x *RateGroup) GetCarrierRates() []*CarrierRate
func (*RateGroup) GetMainTable ¶
func (*RateGroup) GetSingleValue ¶
func (*RateGroup) GetSubtables ¶
func (*RateGroup) ProtoMessage ¶
func (*RateGroup) ProtoMessage()
func (*RateGroup) ProtoReflect ¶
func (x *RateGroup) ProtoReflect() protoreflect.Message
type Region ¶
type Region struct { // Identifier. The resource name of the region. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The display name of the region. DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` // Optional. A list of postal codes that defines the region area. PostalCodeArea *Region_PostalCodeArea `protobuf:"bytes,3,opt,name=postal_code_area,json=postalCodeArea,proto3" json:"postal_code_area,omitempty"` // Optional. A list of geotargets that defines the region area. GeotargetArea *Region_GeoTargetArea `protobuf:"bytes,4,opt,name=geotarget_area,json=geotargetArea,proto3" json:"geotarget_area,omitempty"` // Output only. Indicates if the region is eligible for use in the Regional // Inventory configuration. RegionalInventoryEligible *wrapperspb.BoolValue `` /* 138-byte string literal not displayed */ // Output only. Indicates if the region is eligible for use in the Shipping // Services configuration. ShippingEligible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=shipping_eligible,json=shippingEligible,proto3" json:"shipping_eligible,omitempty"` // contains filtered or unexported fields }
Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
func (*Region) Descriptor
deprecated
func (*Region) GetDisplayName ¶
func (*Region) GetGeotargetArea ¶
func (x *Region) GetGeotargetArea() *Region_GeoTargetArea
func (*Region) GetPostalCodeArea ¶
func (x *Region) GetPostalCodeArea() *Region_PostalCodeArea
func (*Region) GetRegionalInventoryEligible ¶
func (x *Region) GetRegionalInventoryEligible() *wrapperspb.BoolValue
func (*Region) GetShippingEligible ¶
func (x *Region) GetShippingEligible() *wrapperspb.BoolValue
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) ProtoReflect ¶
func (x *Region) ProtoReflect() protoreflect.Message
type Region_GeoTargetArea ¶
type Region_GeoTargetArea struct { // Required. A non-empty list of [location // IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). // They must all be of the same location type (for example, state). GeotargetCriteriaIds []int64 `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
A list of geotargets that defines the region area.
func (*Region_GeoTargetArea) Descriptor
deprecated
func (*Region_GeoTargetArea) Descriptor() ([]byte, []int)
Deprecated: Use Region_GeoTargetArea.ProtoReflect.Descriptor instead.
func (*Region_GeoTargetArea) GetGeotargetCriteriaIds ¶
func (x *Region_GeoTargetArea) GetGeotargetCriteriaIds() []int64
func (*Region_GeoTargetArea) ProtoMessage ¶
func (*Region_GeoTargetArea) ProtoMessage()
func (*Region_GeoTargetArea) ProtoReflect ¶
func (x *Region_GeoTargetArea) ProtoReflect() protoreflect.Message
func (*Region_GeoTargetArea) Reset ¶
func (x *Region_GeoTargetArea) Reset()
func (*Region_GeoTargetArea) String ¶
func (x *Region_GeoTargetArea) String() string
type Region_PostalCodeArea ¶
type Region_PostalCodeArea struct { // Required. [CLDR territory // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // or the country the postal code group applies to. RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Required. A range of postal codes. PostalCodes []*Region_PostalCodeArea_PostalCodeRange `protobuf:"bytes,2,rep,name=postal_codes,json=postalCodes,proto3" json:"postal_codes,omitempty"` // contains filtered or unexported fields }
A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible through the account's `ShippingSettings.postalCodeGroups` resource.
func (*Region_PostalCodeArea) Descriptor
deprecated
func (*Region_PostalCodeArea) Descriptor() ([]byte, []int)
Deprecated: Use Region_PostalCodeArea.ProtoReflect.Descriptor instead.
func (*Region_PostalCodeArea) GetPostalCodes ¶
func (x *Region_PostalCodeArea) GetPostalCodes() []*Region_PostalCodeArea_PostalCodeRange
func (*Region_PostalCodeArea) GetRegionCode ¶
func (x *Region_PostalCodeArea) GetRegionCode() string
func (*Region_PostalCodeArea) ProtoMessage ¶
func (*Region_PostalCodeArea) ProtoMessage()
func (*Region_PostalCodeArea) ProtoReflect ¶
func (x *Region_PostalCodeArea) ProtoReflect() protoreflect.Message
func (*Region_PostalCodeArea) Reset ¶
func (x *Region_PostalCodeArea) Reset()
func (*Region_PostalCodeArea) String ¶
func (x *Region_PostalCodeArea) String() string
type Region_PostalCodeArea_PostalCodeRange ¶
type Region_PostalCodeArea_PostalCodeRange struct { // Required. A postal code or a pattern of the form prefix* denoting the // inclusive lower bound of the range defining the area. Examples values: // `94108`, `9410*`, `9*`. Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"` // Optional. A postal code or a pattern of the form `prefix*` denoting the // inclusive upper bound of the range defining the area. It must have the // same length as postalCodeRangeBegin: if postalCodeRangeBegin is a // postal code then postalCodeRangeEnd must be a postal code too; if // postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a // pattern with the same prefix length. Optional: if not set, then the // area is defined as being all the postal codes matching // postalCodeRangeBegin. End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
A range of postal codes that defines the region area.
func (*Region_PostalCodeArea_PostalCodeRange) Descriptor
deprecated
func (*Region_PostalCodeArea_PostalCodeRange) Descriptor() ([]byte, []int)
Deprecated: Use Region_PostalCodeArea_PostalCodeRange.ProtoReflect.Descriptor instead.
func (*Region_PostalCodeArea_PostalCodeRange) GetBegin ¶
func (x *Region_PostalCodeArea_PostalCodeRange) GetBegin() string
func (*Region_PostalCodeArea_PostalCodeRange) GetEnd ¶
func (x *Region_PostalCodeArea_PostalCodeRange) GetEnd() string
func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage ¶
func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage()
func (*Region_PostalCodeArea_PostalCodeRange) ProtoReflect ¶
func (x *Region_PostalCodeArea_PostalCodeRange) ProtoReflect() protoreflect.Message
func (*Region_PostalCodeArea_PostalCodeRange) Reset ¶
func (x *Region_PostalCodeArea_PostalCodeRange) Reset()
func (*Region_PostalCodeArea_PostalCodeRange) String ¶
func (x *Region_PostalCodeArea_PostalCodeRange) String() string
type RegionsServiceClient ¶
type RegionsServiceClient interface { // Retrieves a region defined in your Merchant Center account. GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) // Creates a region definition in your Merchant Center account. Executing this // method requires admin access. CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error) // Updates a region definition in your Merchant Center account. Executing this // method requires admin access. UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error) // Deletes a region definition from your Merchant Center account. Executing // this method requires admin access. DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists the regions in your Merchant Center account. ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error) }
RegionsServiceClient is the client API for RegionsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRegionsServiceClient ¶
func NewRegionsServiceClient(cc grpc.ClientConnInterface) RegionsServiceClient
type RegionsServiceServer ¶
type RegionsServiceServer interface { // Retrieves a region defined in your Merchant Center account. GetRegion(context.Context, *GetRegionRequest) (*Region, error) // Creates a region definition in your Merchant Center account. Executing this // method requires admin access. CreateRegion(context.Context, *CreateRegionRequest) (*Region, error) // Updates a region definition in your Merchant Center account. Executing this // method requires admin access. UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error) // Deletes a region definition from your Merchant Center account. Executing // this method requires admin access. DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error) // Lists the regions in your Merchant Center account. ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error) }
RegionsServiceServer is the server API for RegionsService service.
type Required ¶
type Required struct { // The // [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) // that need to be accepted. TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` // Full URL to the terms of service file. This field is the same as // [TermsOfService.file_uri](TermsOfService.file_uri), it is added // here for convenience only. TosFileUri string `protobuf:"bytes,2,opt,name=tos_file_uri,json=tosFileUri,proto3" json:"tos_file_uri,omitempty"` // contains filtered or unexported fields }
Describes the terms of service which are required to be accepted.
func (*Required) Descriptor
deprecated
func (*Required) GetTermsOfService ¶
func (*Required) GetTosFileUri ¶
func (*Required) ProtoMessage ¶
func (*Required) ProtoMessage()
func (*Required) ProtoReflect ¶
func (x *Required) ProtoReflect() protoreflect.Message
type RetrieveForApplicationTermsOfServiceAgreementStateRequest ¶
type RetrieveForApplicationTermsOfServiceAgreementStateRequest struct { // Required. The account for which to get a TermsOfServiceAgreementState // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Request message for the `RetrieveForApplicationTermsOfServiceAgreementState` method.
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Descriptor
deprecated
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveForApplicationTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead.
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) GetParent ¶
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) GetParent() string
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoMessage ¶
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoMessage()
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoReflect ¶
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoReflect() protoreflect.Message
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Reset ¶
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) Reset()
func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) String ¶
func (x *RetrieveForApplicationTermsOfServiceAgreementStateRequest) String() string
type RetrieveLatestTermsOfServiceRequest ¶
type RetrieveLatestTermsOfServiceRequest struct { // Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This // is either a country when the ToS applies specifically to that country or // 001 when it applies globally. RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Required. The Kind this terms of service version applies to. Kind TermsOfServiceKind `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for the `RetrieveLatestTermsOfService` method.
func (*RetrieveLatestTermsOfServiceRequest) Descriptor
deprecated
func (*RetrieveLatestTermsOfServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveLatestTermsOfServiceRequest.ProtoReflect.Descriptor instead.
func (*RetrieveLatestTermsOfServiceRequest) GetKind ¶
func (x *RetrieveLatestTermsOfServiceRequest) GetKind() TermsOfServiceKind
func (*RetrieveLatestTermsOfServiceRequest) GetRegionCode ¶
func (x *RetrieveLatestTermsOfServiceRequest) GetRegionCode() string
func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage ¶
func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage()
func (*RetrieveLatestTermsOfServiceRequest) ProtoReflect ¶
func (x *RetrieveLatestTermsOfServiceRequest) ProtoReflect() protoreflect.Message
func (*RetrieveLatestTermsOfServiceRequest) Reset ¶
func (x *RetrieveLatestTermsOfServiceRequest) Reset()
func (*RetrieveLatestTermsOfServiceRequest) String ¶
func (x *RetrieveLatestTermsOfServiceRequest) String() string
type Row ¶
type Row struct { // Required. The list of cells that constitute the row. Must have the same // length as `columnHeaders` for two-dimensional tables, a length of 1 for // one-dimensional tables. Cells []*Value `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` // contains filtered or unexported fields }
Include a list of cells.
func (*Row) Descriptor
deprecated
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type Service ¶
type Service struct { // Required. Free-form name of the service. Must be unique within target // account. ServiceName *string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"` // Required. A boolean exposing the active status of the shipping service. Active *bool `protobuf:"varint,2,opt,name=active,proto3,oneof" json:"active,omitempty"` // Required. The CLDR territory code of the countries to which the service // applies. DeliveryCountries []string `protobuf:"bytes,3,rep,name=delivery_countries,json=deliveryCountries,proto3" json:"delivery_countries,omitempty"` // The CLDR code of the currency to which this service applies. Must match // that of the prices in rate groups. CurrencyCode *string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3,oneof" json:"currency_code,omitempty"` // Required. Time spent in various aspects from order to the delivery of the // product. DeliveryTime *DeliveryTime `protobuf:"bytes,5,opt,name=delivery_time,json=deliveryTime,proto3,oneof" json:"delivery_time,omitempty"` // Optional. Shipping rate group definitions. Only the last one is allowed to // have an empty `applicable_shipping_labels`, which means "everything else". // The other `applicable_shipping_labels` must not overlap. RateGroups []*RateGroup `protobuf:"bytes,6,rep,name=rate_groups,json=rateGroups,proto3" json:"rate_groups,omitempty"` // Type of locations this service ships orders to. ShipmentType *Service_ShipmentType `` /* 171-byte string literal not displayed */ // Minimum order value for this service. If set, indicates that customers // will have to spend at least this amount. // All prices within a service must have the same currency. // Cannot be set together with minimum_order_value_table. MinimumOrderValue *typepb.Price `protobuf:"bytes,8,opt,name=minimum_order_value,json=minimumOrderValue,proto3,oneof" json:"minimum_order_value,omitempty"` // Table of per store minimum order values for the pickup fulfillment type. // Cannot be set together with minimum_order_value. MinimumOrderValueTable *MinimumOrderValueTable `` /* 137-byte string literal not displayed */ // A list of stores your products are delivered from. // This is only valid for the local delivery shipment type. StoreConfig *Service_StoreConfig `protobuf:"bytes,10,opt,name=store_config,json=storeConfig,proto3,oneof" json:"store_config,omitempty"` // Optional. Loyalty programs that this shipping service is limited to. LoyaltyPrograms []*Service_LoyaltyProgram `protobuf:"bytes,11,rep,name=loyalty_programs,json=loyaltyPrograms,proto3" json:"loyalty_programs,omitempty"` // contains filtered or unexported fields }
Shipping service.
func (*Service) Descriptor
deprecated
func (*Service) GetCurrencyCode ¶
func (*Service) GetDeliveryCountries ¶
func (*Service) GetDeliveryTime ¶
func (x *Service) GetDeliveryTime() *DeliveryTime
func (*Service) GetLoyaltyPrograms ¶
func (x *Service) GetLoyaltyPrograms() []*Service_LoyaltyProgram
func (*Service) GetMinimumOrderValue ¶
func (*Service) GetMinimumOrderValueTable ¶
func (x *Service) GetMinimumOrderValueTable() *MinimumOrderValueTable
func (*Service) GetRateGroups ¶
func (*Service) GetServiceName ¶
func (*Service) GetShipmentType ¶
func (x *Service) GetShipmentType() Service_ShipmentType
func (*Service) GetStoreConfig ¶
func (x *Service) GetStoreConfig() *Service_StoreConfig
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type Service_LoyaltyProgram ¶
type Service_LoyaltyProgram struct { // This is the loyalty program label set in your loyalty program settings in // Merchant Center. This sub-attribute allows Google to map your loyalty // program to eligible offers. ProgramLabel *string `protobuf:"bytes,1,opt,name=program_label,json=programLabel,proto3,oneof" json:"program_label,omitempty"` // Optional. Loyalty program tier of this shipping service. LoyaltyProgramTiers []*Service_LoyaltyProgram_LoyaltyProgramTiers `protobuf:"bytes,2,rep,name=loyalty_program_tiers,json=loyaltyProgramTiers,proto3" json:"loyalty_program_tiers,omitempty"` // contains filtered or unexported fields }
[Loyalty program](https://support.google.com/merchants/answer/12922446) provided by a merchant.
func (*Service_LoyaltyProgram) Descriptor
deprecated
func (*Service_LoyaltyProgram) Descriptor() ([]byte, []int)
Deprecated: Use Service_LoyaltyProgram.ProtoReflect.Descriptor instead.
func (*Service_LoyaltyProgram) GetLoyaltyProgramTiers ¶
func (x *Service_LoyaltyProgram) GetLoyaltyProgramTiers() []*Service_LoyaltyProgram_LoyaltyProgramTiers
func (*Service_LoyaltyProgram) GetProgramLabel ¶
func (x *Service_LoyaltyProgram) GetProgramLabel() string
func (*Service_LoyaltyProgram) ProtoMessage ¶
func (*Service_LoyaltyProgram) ProtoMessage()
func (*Service_LoyaltyProgram) ProtoReflect ¶
func (x *Service_LoyaltyProgram) ProtoReflect() protoreflect.Message
func (*Service_LoyaltyProgram) Reset ¶
func (x *Service_LoyaltyProgram) Reset()
func (*Service_LoyaltyProgram) String ¶
func (x *Service_LoyaltyProgram) String() string
type Service_LoyaltyProgram_LoyaltyProgramTiers ¶
type Service_LoyaltyProgram_LoyaltyProgramTiers struct { // The tier label [tier_label] sub-attribute differentiates offer level // benefits between each tier. This value is also set in your program // settings in Merchant Center, and is required for data source changes // even if your loyalty program only has 1 tier. TierLabel *string `protobuf:"bytes,1,opt,name=tier_label,json=tierLabel,proto3,oneof" json:"tier_label,omitempty"` // contains filtered or unexported fields }
Subset of a merchants loyalty program.
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Descriptor
deprecated
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Descriptor() ([]byte, []int)
Deprecated: Use Service_LoyaltyProgram_LoyaltyProgramTiers.ProtoReflect.Descriptor instead.
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) GetTierLabel ¶
func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) GetTierLabel() string
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoMessage ¶
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoMessage()
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoReflect ¶
func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoReflect() protoreflect.Message
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Reset ¶
func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) Reset()
func (*Service_LoyaltyProgram_LoyaltyProgramTiers) String ¶
func (x *Service_LoyaltyProgram_LoyaltyProgramTiers) String() string
type Service_ShipmentType ¶
type Service_ShipmentType int32
Shipment type of shipping service.
const ( // This service did not specify shipment type. Service_SHIPMENT_TYPE_UNSPECIFIED Service_ShipmentType = 0 // This service ships orders to an address chosen by the customer. Service_DELIVERY Service_ShipmentType = 1 // This service ships orders to an address chosen by the customer. // The order is shipped from a local store near by. Service_LOCAL_DELIVERY Service_ShipmentType = 2 // This service ships orders to an address chosen by the customer. // The order is shipped from a collection point. Service_COLLECTION_POINT Service_ShipmentType = 3 )
func (Service_ShipmentType) Descriptor ¶
func (Service_ShipmentType) Descriptor() protoreflect.EnumDescriptor
func (Service_ShipmentType) Enum ¶
func (x Service_ShipmentType) Enum() *Service_ShipmentType
func (Service_ShipmentType) EnumDescriptor
deprecated
func (Service_ShipmentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_ShipmentType.Descriptor instead.
func (Service_ShipmentType) Number ¶
func (x Service_ShipmentType) Number() protoreflect.EnumNumber
func (Service_ShipmentType) String ¶
func (x Service_ShipmentType) String() string
func (Service_ShipmentType) Type ¶
func (Service_ShipmentType) Type() protoreflect.EnumType
type Service_StoreConfig ¶
type Service_StoreConfig struct { // Indicates whether all stores, or selected stores, listed by this // merchant provide local delivery. StoreServiceType *Service_StoreConfig_StoreServiceType `` /* 201-byte string literal not displayed */ // Optional. A list of store codes that provide local delivery. // If empty, then `all_stores` must be true. StoreCodes []string `protobuf:"bytes,2,rep,name=store_codes,json=storeCodes,proto3" json:"store_codes,omitempty"` // Configs related to local delivery ends for the day. CutoffConfig *Service_StoreConfig_CutoffConfig `protobuf:"bytes,3,opt,name=cutoff_config,json=cutoffConfig,proto3,oneof" json:"cutoff_config,omitempty"` // Maximum delivery radius. // This is only required for the local delivery shipment type. ServiceRadius *Distance `protobuf:"bytes,4,opt,name=service_radius,json=serviceRadius,proto3,oneof" json:"service_radius,omitempty"` // contains filtered or unexported fields }
A list of stores your products are delivered from. This is only valid for the local delivery shipment type.
func (*Service_StoreConfig) Descriptor
deprecated
func (*Service_StoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use Service_StoreConfig.ProtoReflect.Descriptor instead.
func (*Service_StoreConfig) GetCutoffConfig ¶
func (x *Service_StoreConfig) GetCutoffConfig() *Service_StoreConfig_CutoffConfig
func (*Service_StoreConfig) GetServiceRadius ¶
func (x *Service_StoreConfig) GetServiceRadius() *Distance
func (*Service_StoreConfig) GetStoreCodes ¶
func (x *Service_StoreConfig) GetStoreCodes() []string
func (*Service_StoreConfig) GetStoreServiceType ¶
func (x *Service_StoreConfig) GetStoreServiceType() Service_StoreConfig_StoreServiceType
func (*Service_StoreConfig) ProtoMessage ¶
func (*Service_StoreConfig) ProtoMessage()
func (*Service_StoreConfig) ProtoReflect ¶
func (x *Service_StoreConfig) ProtoReflect() protoreflect.Message
func (*Service_StoreConfig) Reset ¶
func (x *Service_StoreConfig) Reset()
func (*Service_StoreConfig) String ¶
func (x *Service_StoreConfig) String() string
type Service_StoreConfig_CutoffConfig ¶
type Service_StoreConfig_CutoffConfig struct { // Time that local delivery ends for the day. LocalCutoffTime *Service_StoreConfig_CutoffConfig_LocalCutoffTime `protobuf:"bytes,1,opt,name=local_cutoff_time,json=localCutoffTime,proto3,oneof" json:"local_cutoff_time,omitempty"` // Only valid with local delivery fulfillment. Represents cutoff time // as the number of hours before store closing. Mutually exclusive // with `local_cutoff_time`. StoreCloseOffsetHours *int64 `` /* 135-byte string literal not displayed */ // Merchants can opt-out of showing n+1 day local delivery when they have // a shipping service configured to n day local delivery. For example, if // the shipping service defines same-day delivery, and it's past the // cut-off, setting this field to `true` results in the calculated // shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the // same example, setting this field to `false` results in the calculated // shipping time being one day. This is only for local delivery. NoDeliveryPostCutoff *bool `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Configs related to local delivery ends for the day.
func (*Service_StoreConfig_CutoffConfig) Descriptor
deprecated
func (*Service_StoreConfig_CutoffConfig) Descriptor() ([]byte, []int)
Deprecated: Use Service_StoreConfig_CutoffConfig.ProtoReflect.Descriptor instead.
func (*Service_StoreConfig_CutoffConfig) GetLocalCutoffTime ¶
func (x *Service_StoreConfig_CutoffConfig) GetLocalCutoffTime() *Service_StoreConfig_CutoffConfig_LocalCutoffTime
func (*Service_StoreConfig_CutoffConfig) GetNoDeliveryPostCutoff ¶
func (x *Service_StoreConfig_CutoffConfig) GetNoDeliveryPostCutoff() bool
func (*Service_StoreConfig_CutoffConfig) GetStoreCloseOffsetHours ¶
func (x *Service_StoreConfig_CutoffConfig) GetStoreCloseOffsetHours() int64
func (*Service_StoreConfig_CutoffConfig) ProtoMessage ¶
func (*Service_StoreConfig_CutoffConfig) ProtoMessage()
func (*Service_StoreConfig_CutoffConfig) ProtoReflect ¶
func (x *Service_StoreConfig_CutoffConfig) ProtoReflect() protoreflect.Message
func (*Service_StoreConfig_CutoffConfig) Reset ¶
func (x *Service_StoreConfig_CutoffConfig) Reset()
func (*Service_StoreConfig_CutoffConfig) String ¶
func (x *Service_StoreConfig_CutoffConfig) String() string
type Service_StoreConfig_CutoffConfig_LocalCutoffTime ¶
type Service_StoreConfig_CutoffConfig_LocalCutoffTime struct { // Hour local delivery orders must be placed by to process the same // day. Hour *int64 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"` // Minute local delivery orders must be placed by to process the same // day. Minute *int64 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"` // contains filtered or unexported fields }
Time that local delivery ends for the day.
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Descriptor
deprecated
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Descriptor() ([]byte, []int)
Deprecated: Use Service_StoreConfig_CutoffConfig_LocalCutoffTime.ProtoReflect.Descriptor instead.
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetHour ¶
func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetHour() int64
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetMinute ¶
func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetMinute() int64
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoMessage ¶
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoMessage()
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoReflect ¶
func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoReflect() protoreflect.Message
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Reset ¶
func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) Reset()
func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) String ¶
func (x *Service_StoreConfig_CutoffConfig_LocalCutoffTime) String() string
type Service_StoreConfig_StoreServiceType ¶
type Service_StoreConfig_StoreServiceType int32
Indicates whether all stores, or selected stores, listed by the merchant provide local delivery.
const ( // Did not specify store service type. Service_StoreConfig_STORE_SERVICE_TYPE_UNSPECIFIED Service_StoreConfig_StoreServiceType = 0 // Indicates whether all stores, current and future, listed by this // merchant provide local delivery. Service_StoreConfig_ALL_STORES Service_StoreConfig_StoreServiceType = 1 // Indicates that only the stores listed in `store_codes` are eligible // for local delivery. Service_StoreConfig_SELECTED_STORES Service_StoreConfig_StoreServiceType = 2 )
func (Service_StoreConfig_StoreServiceType) Descriptor ¶
func (Service_StoreConfig_StoreServiceType) Descriptor() protoreflect.EnumDescriptor
func (Service_StoreConfig_StoreServiceType) Enum ¶
func (x Service_StoreConfig_StoreServiceType) Enum() *Service_StoreConfig_StoreServiceType
func (Service_StoreConfig_StoreServiceType) EnumDescriptor
deprecated
func (Service_StoreConfig_StoreServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_StoreConfig_StoreServiceType.Descriptor instead.
func (Service_StoreConfig_StoreServiceType) Number ¶
func (x Service_StoreConfig_StoreServiceType) Number() protoreflect.EnumNumber
func (Service_StoreConfig_StoreServiceType) String ¶
func (x Service_StoreConfig_StoreServiceType) String() string
func (Service_StoreConfig_StoreServiceType) Type ¶
func (Service_StoreConfig_StoreServiceType) Type() protoreflect.EnumType
type ShippingSettings ¶
type ShippingSettings struct { // Identifier. The resource name of the shipping setting. // Format: `accounts/{account}/shippingSetting` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The target account's list of services. Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // Optional. A list of warehouses which can be referred to in `services`. Warehouses []*Warehouse `protobuf:"bytes,3,rep,name=warehouses,proto3" json:"warehouses,omitempty"` // Required. This field is used for avoid async issue. Make sure shipping // setting data // // didn't change between get call and insert call. The user should do // following steps: // // 1. Set etag field as empty string for initial shipping setting creation. // // 2. After initial creation, call get method to obtain an etag and current // shipping setting data before call insert. // // 3. Modify to wanted shipping setting information. // // 4. Call insert method with the wanted shipping setting information with // the etag obtained from step 2. // // 5. If shipping setting data changed between step 2 and step 4. Insert // request will fail because the etag changes every time the shipping setting // data changes. User should repeate step 2-4 with the new etag. Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
The merchant account's [shipping setting](https://support.google.com/merchants/answer/6069284).
func (*ShippingSettings) Descriptor
deprecated
func (*ShippingSettings) Descriptor() ([]byte, []int)
Deprecated: Use ShippingSettings.ProtoReflect.Descriptor instead.
func (*ShippingSettings) GetEtag ¶
func (x *ShippingSettings) GetEtag() string
func (*ShippingSettings) GetName ¶
func (x *ShippingSettings) GetName() string
func (*ShippingSettings) GetServices ¶
func (x *ShippingSettings) GetServices() []*Service
func (*ShippingSettings) GetWarehouses ¶
func (x *ShippingSettings) GetWarehouses() []*Warehouse
func (*ShippingSettings) ProtoMessage ¶
func (*ShippingSettings) ProtoMessage()
func (*ShippingSettings) ProtoReflect ¶
func (x *ShippingSettings) ProtoReflect() protoreflect.Message
func (*ShippingSettings) Reset ¶
func (x *ShippingSettings) Reset()
func (*ShippingSettings) String ¶
func (x *ShippingSettings) String() string
type ShippingSettingsServiceClient ¶
type ShippingSettingsServiceClient interface { // Retrieve shipping setting information. GetShippingSettings(ctx context.Context, in *GetShippingSettingsRequest, opts ...grpc.CallOption) (*ShippingSettings, error) // Replace the shipping setting of a merchant with the request shipping // setting. Executing this method requires admin access. InsertShippingSettings(ctx context.Context, in *InsertShippingSettingsRequest, opts ...grpc.CallOption) (*ShippingSettings, error) }
ShippingSettingsServiceClient is the client API for ShippingSettingsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewShippingSettingsServiceClient ¶
func NewShippingSettingsServiceClient(cc grpc.ClientConnInterface) ShippingSettingsServiceClient
type ShippingSettingsServiceServer ¶
type ShippingSettingsServiceServer interface { // Retrieve shipping setting information. GetShippingSettings(context.Context, *GetShippingSettingsRequest) (*ShippingSettings, error) // Replace the shipping setting of a merchant with the request shipping // setting. Executing this method requires admin access. InsertShippingSettings(context.Context, *InsertShippingSettingsRequest) (*ShippingSettings, error) }
ShippingSettingsServiceServer is the server API for ShippingSettingsService service.
type Table ¶
type Table struct { // Name of the table. Required for subtables, ignored for the main table. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // Required. Headers of the table's rows. RowHeaders *Headers `protobuf:"bytes,2,opt,name=row_headers,json=rowHeaders,proto3,oneof" json:"row_headers,omitempty"` // Headers of the table's columns. Optional: if not set then the table has // only one dimension. ColumnHeaders *Headers `protobuf:"bytes,3,opt,name=column_headers,json=columnHeaders,proto3,oneof" json:"column_headers,omitempty"` // Required. The list of rows that constitute the table. Must have the same // length as `row_headers`. Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
A table defining the rate group, when `single_value` is not expressive enough.
func (*Table) Descriptor
deprecated
func (*Table) GetColumnHeaders ¶
func (*Table) GetRowHeaders ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type TaxRule ¶
type TaxRule struct { // Describe the location through either postal code range or a criteria id. // // Types that are assignable to Location: // // *TaxRule_LocationId // *TaxRule_PostCodeRange Location isTaxRule_Location `protobuf_oneof:"location"` // What is the way to calculate tax rate for deliveries to this admin's area. // Can only be set on US states. // // Types that are assignable to RateCalculation: // // *TaxRule_UseGoogleRate // *TaxRule_SelfSpecifiedRateMicros RateCalculation isTaxRule_RateCalculation `protobuf_oneof:"rate_calculation"` // Region code in which this rule is applicable RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // If set, shipping charge is taxed (at the same rate as product) when // delivering to this admin's area. // Can only be set on US states without category. ShippingTaxed bool `protobuf:"varint,6,opt,name=shipping_taxed,json=shippingTaxed,proto3" json:"shipping_taxed,omitempty"` // Required. Time period when this rule is effective. If the duration is // missing from effective_time listed, then it is open ended to the future. // The start of this time period is inclusive, and the end is exclusive. EffectiveTimePeriod *interval.Interval `protobuf:"bytes,7,opt,name=effective_time_period,json=effectiveTimePeriod,proto3" json:"effective_time_period,omitempty"` // contains filtered or unexported fields }
Primary type convension
percent micro : 100% = 1 000 000 and 1% = 10 000
cannot be negative.
Information about tax nexus and related parameters applicable to orders delivered to the area covered by a single tax admin. Nexus is created when a merchant is doing business in an area administered by tax admin (only US states are supported for nexus configuration). If merchant has nexus in a US state, merchant needs to pay tax to all tax authorities associated with the shipping destination. Next Id : 8
func (*TaxRule) Descriptor
deprecated
func (*TaxRule) GetEffectiveTimePeriod ¶
func (*TaxRule) GetLocation ¶
func (m *TaxRule) GetLocation() isTaxRule_Location
func (*TaxRule) GetLocationId ¶
func (*TaxRule) GetPostCodeRange ¶
func (x *TaxRule) GetPostCodeRange() *TaxRule_TaxPostalCodeRange
func (*TaxRule) GetRateCalculation ¶
func (m *TaxRule) GetRateCalculation() isTaxRule_RateCalculation
func (*TaxRule) GetRegionCode ¶
func (*TaxRule) GetSelfSpecifiedRateMicros ¶
func (*TaxRule) GetShippingTaxed ¶
func (*TaxRule) GetUseGoogleRate ¶
func (*TaxRule) ProtoMessage ¶
func (*TaxRule) ProtoMessage()
func (*TaxRule) ProtoReflect ¶
func (x *TaxRule) ProtoReflect() protoreflect.Message
type TaxRule_LocationId ¶
type TaxRule_LocationId struct { // The admin_id or criteria_id of the region in which this rule is // applicable. LocationId int64 `protobuf:"varint,2,opt,name=location_id,json=locationId,proto3,oneof"` }
type TaxRule_PostCodeRange ¶
type TaxRule_PostCodeRange struct { // The range of postal codes in which this rule is applicable. PostCodeRange *TaxRule_TaxPostalCodeRange `protobuf:"bytes,3,opt,name=post_code_range,json=postCodeRange,proto3,oneof"` }
type TaxRule_SelfSpecifiedRateMicros ¶
type TaxRule_SelfSpecifiedRateMicros struct { // A fixed rate specified in micros, where 100% = 1_000_000. // Suitable for origin-based states. SelfSpecifiedRateMicros int64 `protobuf:"varint,5,opt,name=self_specified_rate_micros,json=selfSpecifiedRateMicros,proto3,oneof"` }
type TaxRule_TaxPostalCodeRange ¶
type TaxRule_TaxPostalCodeRange struct { // Required. The start of the postal code range, which is also the smallest // in the range. Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` // The end of the postal code range. Will be the same as start if not // specified. End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
A range of postal codes that defines the area.
func (*TaxRule_TaxPostalCodeRange) Descriptor
deprecated
func (*TaxRule_TaxPostalCodeRange) Descriptor() ([]byte, []int)
Deprecated: Use TaxRule_TaxPostalCodeRange.ProtoReflect.Descriptor instead.
func (*TaxRule_TaxPostalCodeRange) GetEnd ¶
func (x *TaxRule_TaxPostalCodeRange) GetEnd() string
func (*TaxRule_TaxPostalCodeRange) GetStart ¶
func (x *TaxRule_TaxPostalCodeRange) GetStart() string
func (*TaxRule_TaxPostalCodeRange) ProtoMessage ¶
func (*TaxRule_TaxPostalCodeRange) ProtoMessage()
func (*TaxRule_TaxPostalCodeRange) ProtoReflect ¶
func (x *TaxRule_TaxPostalCodeRange) ProtoReflect() protoreflect.Message
func (*TaxRule_TaxPostalCodeRange) Reset ¶
func (x *TaxRule_TaxPostalCodeRange) Reset()
func (*TaxRule_TaxPostalCodeRange) String ¶
func (x *TaxRule_TaxPostalCodeRange) String() string
type TaxRule_UseGoogleRate ¶
type TaxRule_UseGoogleRate struct { // Rate that depends on delivery location: if merchant has a nexus in // corresponding US state, rates from authorities with jurisdiction over // delivery area are added up. UseGoogleRate bool `protobuf:"varint,4,opt,name=use_google_rate,json=useGoogleRate,proto3,oneof"` }
type TermsOfService ¶
type TermsOfService struct { // Identifier. The resource name of the terms of service version. // Format: `termsOfService/{version}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Region code as defined by [CLDR](https://cldr.unicode.org/). This is either // a country where the ToS applies specifically to that country or `001` when // the same `TermsOfService` can be signed in any country. However note that // when signing a ToS that applies globally we still expect that a specific // country is provided (this should be merchant business country or program // country of participation). RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // The Kind this terms of service version applies to. Kind TermsOfServiceKind `` /* 127-byte string literal not displayed */ // URI for terms of service file that needs to be displayed to signing users. FileUri *string `protobuf:"bytes,4,opt,name=file_uri,json=fileUri,proto3,oneof" json:"file_uri,omitempty"` // Whether this terms of service version is external. External terms of // service versions can only be agreed through external processes and not // directly by the merchant through UI or API. External bool `protobuf:"varint,5,opt,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
A `TermsOfService`.
func (*TermsOfService) Descriptor
deprecated
func (*TermsOfService) Descriptor() ([]byte, []int)
Deprecated: Use TermsOfService.ProtoReflect.Descriptor instead.
func (*TermsOfService) GetExternal ¶
func (x *TermsOfService) GetExternal() bool
func (*TermsOfService) GetFileUri ¶
func (x *TermsOfService) GetFileUri() string
func (*TermsOfService) GetKind ¶
func (x *TermsOfService) GetKind() TermsOfServiceKind
func (*TermsOfService) GetName ¶
func (x *TermsOfService) GetName() string
func (*TermsOfService) GetRegionCode ¶
func (x *TermsOfService) GetRegionCode() string
func (*TermsOfService) ProtoMessage ¶
func (*TermsOfService) ProtoMessage()
func (*TermsOfService) ProtoReflect ¶
func (x *TermsOfService) ProtoReflect() protoreflect.Message
func (*TermsOfService) Reset ¶
func (x *TermsOfService) Reset()
func (*TermsOfService) String ¶
func (x *TermsOfService) String() string
type TermsOfServiceAgreementState ¶
type TermsOfServiceAgreementState struct { // Identifier. The resource name of the terms of service version. // Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` // The identifier format is: `{TermsOfServiceKind}-{country}` // For example, an identifier could be: `MERCHANT_CENTER-US` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Region code as defined by https://cldr.unicode.org/. This is the // country the current state applies to. RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Terms of Service kind associated with the particular version. TermsOfServiceKind TermsOfServiceKind `` /* 185-byte string literal not displayed */ // The accepted terms of service of this kind and for the associated // region_code Accepted *Accepted `protobuf:"bytes,4,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"` // The required terms of service Required *Required `protobuf:"bytes,5,opt,name=required,proto3,oneof" json:"required,omitempty"` // contains filtered or unexported fields }
This resource represents the agreement state for a given account and terms of service kind. The state is as follows:
* If the merchant has accepted a terms of service: [accepted](TermsOfServiceAggrementState.accepted) will be populated, otherwise it will be empty * If the merchant must sign a terms of service: [required](TermsOfServiceAggrementState.required) will be populated, otherwise it will be empty.
Note that both [required](TermsOfServiceAggrementState.required) and [accepted](TermsOfServiceAggrementState.accepted) can be present. In this case the `accepted` terms of services will have an expiration date set in the [valid_until](Accepted.valid_until) field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect 3Ps to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as [tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of service is done by calling accept on the TermsOfService(TermsOfService) resource.
func (*TermsOfServiceAgreementState) Descriptor
deprecated
func (*TermsOfServiceAgreementState) Descriptor() ([]byte, []int)
Deprecated: Use TermsOfServiceAgreementState.ProtoReflect.Descriptor instead.
func (*TermsOfServiceAgreementState) GetAccepted ¶
func (x *TermsOfServiceAgreementState) GetAccepted() *Accepted
func (*TermsOfServiceAgreementState) GetName ¶
func (x *TermsOfServiceAgreementState) GetName() string
func (*TermsOfServiceAgreementState) GetRegionCode ¶
func (x *TermsOfServiceAgreementState) GetRegionCode() string
func (*TermsOfServiceAgreementState) GetRequired ¶
func (x *TermsOfServiceAgreementState) GetRequired() *Required
func (*TermsOfServiceAgreementState) GetTermsOfServiceKind ¶
func (x *TermsOfServiceAgreementState) GetTermsOfServiceKind() TermsOfServiceKind
func (*TermsOfServiceAgreementState) ProtoMessage ¶
func (*TermsOfServiceAgreementState) ProtoMessage()
func (*TermsOfServiceAgreementState) ProtoReflect ¶
func (x *TermsOfServiceAgreementState) ProtoReflect() protoreflect.Message
func (*TermsOfServiceAgreementState) Reset ¶
func (x *TermsOfServiceAgreementState) Reset()
func (*TermsOfServiceAgreementState) String ¶
func (x *TermsOfServiceAgreementState) String() string
type TermsOfServiceAgreementStateServiceClient ¶
type TermsOfServiceAgreementStateServiceClient interface { // Returns the state of a terms of service agreement. GetTermsOfServiceAgreementState(ctx context.Context, in *GetTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) // Retrieves the state of the agreement for the application terms of service. RetrieveForApplicationTermsOfServiceAgreementState(ctx context.Context, in *RetrieveForApplicationTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error) }
TermsOfServiceAgreementStateServiceClient is the client API for TermsOfServiceAgreementStateService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTermsOfServiceAgreementStateServiceClient ¶
func NewTermsOfServiceAgreementStateServiceClient(cc grpc.ClientConnInterface) TermsOfServiceAgreementStateServiceClient
type TermsOfServiceAgreementStateServiceServer ¶
type TermsOfServiceAgreementStateServiceServer interface { // Returns the state of a terms of service agreement. GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) // Retrieves the state of the agreement for the application terms of service. RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error) }
TermsOfServiceAgreementStateServiceServer is the server API for TermsOfServiceAgreementStateService service.
type TermsOfServiceKind ¶
type TermsOfServiceKind int32
The TermsOfService Kind.
const ( // Default value. This value is unused. TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED TermsOfServiceKind = 0 // Merchant Center application. TermsOfServiceKind_MERCHANT_CENTER TermsOfServiceKind = 1 )
func (TermsOfServiceKind) Descriptor ¶
func (TermsOfServiceKind) Descriptor() protoreflect.EnumDescriptor
func (TermsOfServiceKind) Enum ¶
func (x TermsOfServiceKind) Enum() *TermsOfServiceKind
func (TermsOfServiceKind) EnumDescriptor
deprecated
func (TermsOfServiceKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use TermsOfServiceKind.Descriptor instead.
func (TermsOfServiceKind) Number ¶
func (x TermsOfServiceKind) Number() protoreflect.EnumNumber
func (TermsOfServiceKind) String ¶
func (x TermsOfServiceKind) String() string
func (TermsOfServiceKind) Type ¶
func (TermsOfServiceKind) Type() protoreflect.EnumType
type TermsOfServiceServiceClient ¶
type TermsOfServiceServiceClient interface { // Retrieves the `TermsOfService` associated with the provided version. GetTermsOfService(ctx context.Context, in *GetTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) // Retrieves the latest version of the `TermsOfService` for a given `kind` and // `region_code`. RetrieveLatestTermsOfService(ctx context.Context, in *RetrieveLatestTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error) // Accepts a `TermsOfService`. Executing this method requires admin access. AcceptTermsOfService(ctx context.Context, in *AcceptTermsOfServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TermsOfServiceServiceClient is the client API for TermsOfServiceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTermsOfServiceServiceClient ¶
func NewTermsOfServiceServiceClient(cc grpc.ClientConnInterface) TermsOfServiceServiceClient
type TermsOfServiceServiceServer ¶
type TermsOfServiceServiceServer interface { // Retrieves the `TermsOfService` associated with the provided version. GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error) // Retrieves the latest version of the `TermsOfService` for a given `kind` and // `region_code`. RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error) // Accepts a `TermsOfService`. Executing this method requires admin access. AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*emptypb.Empty, error) }
TermsOfServiceServiceServer is the server API for TermsOfServiceService service.
type TransitTable ¶
type TransitTable struct { // Required. A list of region names // [Region.name][google.shopping.merchant.accounts.v1beta.Region.name] . The // last value can be // `"all other locations"`. Example: // `["zone 1", "zone 2", "all other locations"]`. The referred // postal code groups must match the delivery country of the service. PostalCodeGroupNames []string `protobuf:"bytes,1,rep,name=postal_code_group_names,json=postalCodeGroupNames,proto3" json:"postal_code_group_names,omitempty"` // Required. A list of transit time labels. The last value can be // `"all other labels"`. Example: // `["food", "electronics", "all other labels"]`. TransitTimeLabels []string `protobuf:"bytes,2,rep,name=transit_time_labels,json=transitTimeLabels,proto3" json:"transit_time_labels,omitempty"` // Required. If there's only one dimension set of `postal_code_group_names` or // `transit_time_labels`, there are multiple rows each with one value // for that dimension. If there are two dimensions, each row corresponds to a // `postal_code_group_names`, and columns (values) to a // `transit_time_labels`. Rows []*TransitTable_TransitTimeRow `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Transit time table, number of business days spent in transit based on row and column dimensions. Either `min_transit_days`, `max_transit_days` or `transit_time_table` can be set, but not both.
func (*TransitTable) Descriptor
deprecated
func (*TransitTable) Descriptor() ([]byte, []int)
Deprecated: Use TransitTable.ProtoReflect.Descriptor instead.
func (*TransitTable) GetPostalCodeGroupNames ¶
func (x *TransitTable) GetPostalCodeGroupNames() []string
func (*TransitTable) GetRows ¶
func (x *TransitTable) GetRows() []*TransitTable_TransitTimeRow
func (*TransitTable) GetTransitTimeLabels ¶
func (x *TransitTable) GetTransitTimeLabels() []string
func (*TransitTable) ProtoMessage ¶
func (*TransitTable) ProtoMessage()
func (*TransitTable) ProtoReflect ¶
func (x *TransitTable) ProtoReflect() protoreflect.Message
func (*TransitTable) Reset ¶
func (x *TransitTable) Reset()
func (*TransitTable) String ¶
func (x *TransitTable) String() string
type TransitTable_TransitTimeRow ¶
type TransitTable_TransitTimeRow struct { // Required. Transit time range (min-max) in business days. Values []*TransitTable_TransitTimeRow_TransitTimeValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
If there's only one dimension set of `postal_code_group_names` or `transit_time_labels`, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a `postal_code_group_names`, and columns (values) to a `transit_time_labels`.
func (*TransitTable_TransitTimeRow) Descriptor
deprecated
func (*TransitTable_TransitTimeRow) Descriptor() ([]byte, []int)
Deprecated: Use TransitTable_TransitTimeRow.ProtoReflect.Descriptor instead.
func (*TransitTable_TransitTimeRow) GetValues ¶
func (x *TransitTable_TransitTimeRow) GetValues() []*TransitTable_TransitTimeRow_TransitTimeValue
func (*TransitTable_TransitTimeRow) ProtoMessage ¶
func (*TransitTable_TransitTimeRow) ProtoMessage()
func (*TransitTable_TransitTimeRow) ProtoReflect ¶
func (x *TransitTable_TransitTimeRow) ProtoReflect() protoreflect.Message
func (*TransitTable_TransitTimeRow) Reset ¶
func (x *TransitTable_TransitTimeRow) Reset()
func (*TransitTable_TransitTimeRow) String ¶
func (x *TransitTable_TransitTimeRow) String() string
type TransitTable_TransitTimeRow_TransitTimeValue ¶
type TransitTable_TransitTimeRow_TransitTimeValue struct { // Minimum transit time range in business days. 0 means same // day delivery, 1 means next day delivery. MinTransitDays *int32 `protobuf:"varint,1,opt,name=min_transit_days,json=minTransitDays,proto3,oneof" json:"min_transit_days,omitempty"` // Must be greater than or equal to `min_transit_days`. MaxTransitDays *int32 `protobuf:"varint,2,opt,name=max_transit_days,json=maxTransitDays,proto3,oneof" json:"max_transit_days,omitempty"` // contains filtered or unexported fields }
Transit time range (min-max) in business days.
func (*TransitTable_TransitTimeRow_TransitTimeValue) Descriptor
deprecated
func (*TransitTable_TransitTimeRow_TransitTimeValue) Descriptor() ([]byte, []int)
Deprecated: Use TransitTable_TransitTimeRow_TransitTimeValue.ProtoReflect.Descriptor instead.
func (*TransitTable_TransitTimeRow_TransitTimeValue) GetMaxTransitDays ¶
func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMaxTransitDays() int32
func (*TransitTable_TransitTimeRow_TransitTimeValue) GetMinTransitDays ¶
func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMinTransitDays() int32
func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoMessage ¶
func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoMessage()
func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoReflect ¶
func (x *TransitTable_TransitTimeRow_TransitTimeValue) ProtoReflect() protoreflect.Message
func (*TransitTable_TransitTimeRow_TransitTimeValue) Reset ¶
func (x *TransitTable_TransitTimeRow_TransitTimeValue) Reset()
func (*TransitTable_TransitTimeRow_TransitTimeValue) String ¶
func (x *TransitTable_TransitTimeRow_TransitTimeValue) String() string
type UnclaimHomepageRequest ¶
type UnclaimHomepageRequest struct { // Required. The name of the homepage to unclaim. // Format: `accounts/{account}/homepage` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `UnclaimHomepage` method.
func (*UnclaimHomepageRequest) Descriptor
deprecated
func (*UnclaimHomepageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnclaimHomepageRequest.ProtoReflect.Descriptor instead.
func (*UnclaimHomepageRequest) GetName ¶
func (x *UnclaimHomepageRequest) GetName() string
func (*UnclaimHomepageRequest) ProtoMessage ¶
func (*UnclaimHomepageRequest) ProtoMessage()
func (*UnclaimHomepageRequest) ProtoReflect ¶
func (x *UnclaimHomepageRequest) ProtoReflect() protoreflect.Message
func (*UnclaimHomepageRequest) Reset ¶
func (x *UnclaimHomepageRequest) Reset()
func (*UnclaimHomepageRequest) String ¶
func (x *UnclaimHomepageRequest) String() string
type UnimplementedAccountIssueServiceServer ¶
type UnimplementedAccountIssueServiceServer struct { }
UnimplementedAccountIssueServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountIssueServiceServer) ListAccountIssues ¶
func (*UnimplementedAccountIssueServiceServer) ListAccountIssues(context.Context, *ListAccountIssuesRequest) (*ListAccountIssuesResponse, error)
type UnimplementedAccountTaxServiceServer ¶
type UnimplementedAccountTaxServiceServer struct { }
UnimplementedAccountTaxServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountTaxServiceServer) GetAccountTax ¶
func (*UnimplementedAccountTaxServiceServer) GetAccountTax(context.Context, *GetAccountTaxRequest) (*AccountTax, error)
func (*UnimplementedAccountTaxServiceServer) ListAccountTax ¶
func (*UnimplementedAccountTaxServiceServer) ListAccountTax(context.Context, *ListAccountTaxRequest) (*ListAccountTaxResponse, error)
func (*UnimplementedAccountTaxServiceServer) UpdateAccountTax ¶
func (*UnimplementedAccountTaxServiceServer) UpdateAccountTax(context.Context, *UpdateAccountTaxRequest) (*AccountTax, error)
type UnimplementedAccountsServiceServer ¶
type UnimplementedAccountsServiceServer struct { }
UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountsServiceServer) CreateAndConfigureAccount ¶
func (*UnimplementedAccountsServiceServer) CreateAndConfigureAccount(context.Context, *CreateAndConfigureAccountRequest) (*Account, error)
func (*UnimplementedAccountsServiceServer) DeleteAccount ¶
func (*UnimplementedAccountsServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
func (*UnimplementedAccountsServiceServer) GetAccount ¶
func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
func (*UnimplementedAccountsServiceServer) ListAccounts ¶
func (*UnimplementedAccountsServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
func (*UnimplementedAccountsServiceServer) ListSubAccounts ¶
func (*UnimplementedAccountsServiceServer) ListSubAccounts(context.Context, *ListSubAccountsRequest) (*ListSubAccountsResponse, error)
func (*UnimplementedAccountsServiceServer) UpdateAccount ¶
func (*UnimplementedAccountsServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error)
type UnimplementedAutofeedSettingsServiceServer ¶ added in v0.11.0
type UnimplementedAutofeedSettingsServiceServer struct { }
UnimplementedAutofeedSettingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAutofeedSettingsServiceServer) GetAutofeedSettings ¶ added in v0.11.0
func (*UnimplementedAutofeedSettingsServiceServer) GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error)
func (*UnimplementedAutofeedSettingsServiceServer) UpdateAutofeedSettings ¶ added in v0.11.0
func (*UnimplementedAutofeedSettingsServiceServer) UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error)
type UnimplementedBusinessIdentityServiceServer ¶
type UnimplementedBusinessIdentityServiceServer struct { }
UnimplementedBusinessIdentityServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBusinessIdentityServiceServer) GetBusinessIdentity ¶
func (*UnimplementedBusinessIdentityServiceServer) GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error)
func (*UnimplementedBusinessIdentityServiceServer) UpdateBusinessIdentity ¶
func (*UnimplementedBusinessIdentityServiceServer) UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error)
type UnimplementedBusinessInfoServiceServer ¶
type UnimplementedBusinessInfoServiceServer struct { }
UnimplementedBusinessInfoServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBusinessInfoServiceServer) GetBusinessInfo ¶
func (*UnimplementedBusinessInfoServiceServer) GetBusinessInfo(context.Context, *GetBusinessInfoRequest) (*BusinessInfo, error)
func (*UnimplementedBusinessInfoServiceServer) UpdateBusinessInfo ¶
func (*UnimplementedBusinessInfoServiceServer) UpdateBusinessInfo(context.Context, *UpdateBusinessInfoRequest) (*BusinessInfo, error)
type UnimplementedEmailPreferencesServiceServer ¶
type UnimplementedEmailPreferencesServiceServer struct { }
UnimplementedEmailPreferencesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEmailPreferencesServiceServer) GetEmailPreferences ¶
func (*UnimplementedEmailPreferencesServiceServer) GetEmailPreferences(context.Context, *GetEmailPreferencesRequest) (*EmailPreferences, error)
func (*UnimplementedEmailPreferencesServiceServer) UpdateEmailPreferences ¶
func (*UnimplementedEmailPreferencesServiceServer) UpdateEmailPreferences(context.Context, *UpdateEmailPreferencesRequest) (*EmailPreferences, error)
type UnimplementedHomepageServiceServer ¶
type UnimplementedHomepageServiceServer struct { }
UnimplementedHomepageServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHomepageServiceServer) ClaimHomepage ¶
func (*UnimplementedHomepageServiceServer) ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error)
func (*UnimplementedHomepageServiceServer) GetHomepage ¶
func (*UnimplementedHomepageServiceServer) GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error)
func (*UnimplementedHomepageServiceServer) UnclaimHomepage ¶
func (*UnimplementedHomepageServiceServer) UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error)
func (*UnimplementedHomepageServiceServer) UpdateHomepage ¶
func (*UnimplementedHomepageServiceServer) UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error)
type UnimplementedOnlineReturnPolicyServiceServer ¶
type UnimplementedOnlineReturnPolicyServiceServer struct { }
UnimplementedOnlineReturnPolicyServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedOnlineReturnPolicyServiceServer) GetOnlineReturnPolicy ¶
func (*UnimplementedOnlineReturnPolicyServiceServer) GetOnlineReturnPolicy(context.Context, *GetOnlineReturnPolicyRequest) (*OnlineReturnPolicy, error)
func (*UnimplementedOnlineReturnPolicyServiceServer) ListOnlineReturnPolicies ¶
func (*UnimplementedOnlineReturnPolicyServiceServer) ListOnlineReturnPolicies(context.Context, *ListOnlineReturnPoliciesRequest) (*ListOnlineReturnPoliciesResponse, error)
type UnimplementedProgramsServiceServer ¶
type UnimplementedProgramsServiceServer struct { }
UnimplementedProgramsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProgramsServiceServer) DisableProgram ¶
func (*UnimplementedProgramsServiceServer) DisableProgram(context.Context, *DisableProgramRequest) (*Program, error)
func (*UnimplementedProgramsServiceServer) EnableProgram ¶
func (*UnimplementedProgramsServiceServer) EnableProgram(context.Context, *EnableProgramRequest) (*Program, error)
func (*UnimplementedProgramsServiceServer) GetProgram ¶
func (*UnimplementedProgramsServiceServer) GetProgram(context.Context, *GetProgramRequest) (*Program, error)
func (*UnimplementedProgramsServiceServer) ListPrograms ¶
func (*UnimplementedProgramsServiceServer) ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error)
type UnimplementedRegionsServiceServer ¶
type UnimplementedRegionsServiceServer struct { }
UnimplementedRegionsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRegionsServiceServer) CreateRegion ¶
func (*UnimplementedRegionsServiceServer) CreateRegion(context.Context, *CreateRegionRequest) (*Region, error)
func (*UnimplementedRegionsServiceServer) DeleteRegion ¶
func (*UnimplementedRegionsServiceServer) DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error)
func (*UnimplementedRegionsServiceServer) GetRegion ¶
func (*UnimplementedRegionsServiceServer) GetRegion(context.Context, *GetRegionRequest) (*Region, error)
func (*UnimplementedRegionsServiceServer) ListRegions ¶
func (*UnimplementedRegionsServiceServer) ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error)
func (*UnimplementedRegionsServiceServer) UpdateRegion ¶
func (*UnimplementedRegionsServiceServer) UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error)
type UnimplementedShippingSettingsServiceServer ¶
type UnimplementedShippingSettingsServiceServer struct { }
UnimplementedShippingSettingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedShippingSettingsServiceServer) GetShippingSettings ¶
func (*UnimplementedShippingSettingsServiceServer) GetShippingSettings(context.Context, *GetShippingSettingsRequest) (*ShippingSettings, error)
func (*UnimplementedShippingSettingsServiceServer) InsertShippingSettings ¶
func (*UnimplementedShippingSettingsServiceServer) InsertShippingSettings(context.Context, *InsertShippingSettingsRequest) (*ShippingSettings, error)
type UnimplementedTermsOfServiceAgreementStateServiceServer ¶
type UnimplementedTermsOfServiceAgreementStateServiceServer struct { }
UnimplementedTermsOfServiceAgreementStateServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) GetTermsOfServiceAgreementState ¶
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) RetrieveForApplicationTermsOfServiceAgreementState ¶
func (*UnimplementedTermsOfServiceAgreementStateServiceServer) RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
type UnimplementedTermsOfServiceServiceServer ¶
type UnimplementedTermsOfServiceServiceServer struct { }
UnimplementedTermsOfServiceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTermsOfServiceServiceServer) AcceptTermsOfService ¶
func (*UnimplementedTermsOfServiceServiceServer) AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*emptypb.Empty, error)
func (*UnimplementedTermsOfServiceServiceServer) GetTermsOfService ¶
func (*UnimplementedTermsOfServiceServiceServer) GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error)
func (*UnimplementedTermsOfServiceServiceServer) RetrieveLatestTermsOfService ¶
func (*UnimplementedTermsOfServiceServiceServer) RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) CreateUser ¶
func (*UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
func (*UnimplementedUserServiceServer) DeleteUser ¶
func (*UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (*UnimplementedUserServiceServer) GetUser ¶
func (*UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
func (*UnimplementedUserServiceServer) ListUsers ¶
func (*UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (*UnimplementedUserServiceServer) UpdateUser ¶
func (*UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { // Required. The new version of the account. Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateAccount` method.
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAccount ¶
func (x *UpdateAccountRequest) GetAccount() *Account
func (*UpdateAccountRequest) GetUpdateMask ¶
func (x *UpdateAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UpdateAccountTaxRequest ¶
type UpdateAccountTaxRequest struct { // Required. The tax setting that will be updated AccountTax *AccountTax `protobuf:"bytes,1,opt,name=account_tax,json=accountTax,proto3" json:"account_tax,omitempty"` // The list of fields to be updated UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request to update the tax settings
func (*UpdateAccountTaxRequest) Descriptor
deprecated
func (*UpdateAccountTaxRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountTaxRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountTaxRequest) GetAccountTax ¶
func (x *UpdateAccountTaxRequest) GetAccountTax() *AccountTax
func (*UpdateAccountTaxRequest) GetUpdateMask ¶
func (x *UpdateAccountTaxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccountTaxRequest) ProtoMessage ¶
func (*UpdateAccountTaxRequest) ProtoMessage()
func (*UpdateAccountTaxRequest) ProtoReflect ¶
func (x *UpdateAccountTaxRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountTaxRequest) Reset ¶
func (x *UpdateAccountTaxRequest) Reset()
func (*UpdateAccountTaxRequest) String ¶
func (x *UpdateAccountTaxRequest) String() string
type UpdateAutofeedSettingsRequest ¶ added in v0.11.0
type UpdateAutofeedSettingsRequest struct { // Required. The new version of the autofeed setting. AutofeedSettings *AutofeedSettings `protobuf:"bytes,1,opt,name=autofeed_settings,json=autofeedSettings,proto3" json:"autofeed_settings,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateAutofeedSettings` method.
func (*UpdateAutofeedSettingsRequest) Descriptor
deprecated
added in
v0.11.0
func (*UpdateAutofeedSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAutofeedSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateAutofeedSettingsRequest) GetAutofeedSettings ¶ added in v0.11.0
func (x *UpdateAutofeedSettingsRequest) GetAutofeedSettings() *AutofeedSettings
func (*UpdateAutofeedSettingsRequest) GetUpdateMask ¶ added in v0.11.0
func (x *UpdateAutofeedSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAutofeedSettingsRequest) ProtoMessage ¶ added in v0.11.0
func (*UpdateAutofeedSettingsRequest) ProtoMessage()
func (*UpdateAutofeedSettingsRequest) ProtoReflect ¶ added in v0.11.0
func (x *UpdateAutofeedSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateAutofeedSettingsRequest) Reset ¶ added in v0.11.0
func (x *UpdateAutofeedSettingsRequest) Reset()
func (*UpdateAutofeedSettingsRequest) String ¶ added in v0.11.0
func (x *UpdateAutofeedSettingsRequest) String() string
type UpdateBusinessIdentityRequest ¶
type UpdateBusinessIdentityRequest struct { // Required. The new version of the business identity. BusinessIdentity *BusinessIdentity `protobuf:"bytes,1,opt,name=business_identity,json=businessIdentity,proto3" json:"business_identity,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateBusinessIdentity` method.
func (*UpdateBusinessIdentityRequest) Descriptor
deprecated
func (*UpdateBusinessIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessIdentityRequest.ProtoReflect.Descriptor instead.
func (*UpdateBusinessIdentityRequest) GetBusinessIdentity ¶
func (x *UpdateBusinessIdentityRequest) GetBusinessIdentity() *BusinessIdentity
func (*UpdateBusinessIdentityRequest) GetUpdateMask ¶
func (x *UpdateBusinessIdentityRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBusinessIdentityRequest) ProtoMessage ¶
func (*UpdateBusinessIdentityRequest) ProtoMessage()
func (*UpdateBusinessIdentityRequest) ProtoReflect ¶
func (x *UpdateBusinessIdentityRequest) ProtoReflect() protoreflect.Message
func (*UpdateBusinessIdentityRequest) Reset ¶
func (x *UpdateBusinessIdentityRequest) Reset()
func (*UpdateBusinessIdentityRequest) String ¶
func (x *UpdateBusinessIdentityRequest) String() string
type UpdateBusinessInfoRequest ¶
type UpdateBusinessInfoRequest struct { // Required. The new version of the business info. BusinessInfo *BusinessInfo `protobuf:"bytes,1,opt,name=business_info,json=businessInfo,proto3" json:"business_info,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateBusinessInfo` method.
func (*UpdateBusinessInfoRequest) Descriptor
deprecated
func (*UpdateBusinessInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateBusinessInfoRequest) GetBusinessInfo ¶
func (x *UpdateBusinessInfoRequest) GetBusinessInfo() *BusinessInfo
func (*UpdateBusinessInfoRequest) GetUpdateMask ¶
func (x *UpdateBusinessInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBusinessInfoRequest) ProtoMessage ¶
func (*UpdateBusinessInfoRequest) ProtoMessage()
func (*UpdateBusinessInfoRequest) ProtoReflect ¶
func (x *UpdateBusinessInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateBusinessInfoRequest) Reset ¶
func (x *UpdateBusinessInfoRequest) Reset()
func (*UpdateBusinessInfoRequest) String ¶
func (x *UpdateBusinessInfoRequest) String() string
type UpdateEmailPreferencesRequest ¶
type UpdateEmailPreferencesRequest struct { // Required. Email Preferences to be updated. EmailPreferences *EmailPreferences `protobuf:"bytes,1,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateEmailPreferences method.
func (*UpdateEmailPreferencesRequest) Descriptor
deprecated
func (*UpdateEmailPreferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEmailPreferencesRequest.ProtoReflect.Descriptor instead.
func (*UpdateEmailPreferencesRequest) GetEmailPreferences ¶
func (x *UpdateEmailPreferencesRequest) GetEmailPreferences() *EmailPreferences
func (*UpdateEmailPreferencesRequest) GetUpdateMask ¶
func (x *UpdateEmailPreferencesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEmailPreferencesRequest) ProtoMessage ¶
func (*UpdateEmailPreferencesRequest) ProtoMessage()
func (*UpdateEmailPreferencesRequest) ProtoReflect ¶
func (x *UpdateEmailPreferencesRequest) ProtoReflect() protoreflect.Message
func (*UpdateEmailPreferencesRequest) Reset ¶
func (x *UpdateEmailPreferencesRequest) Reset()
func (*UpdateEmailPreferencesRequest) String ¶
func (x *UpdateEmailPreferencesRequest) String() string
type UpdateHomepageRequest ¶
type UpdateHomepageRequest struct { // Required. The new version of the homepage. Homepage *Homepage `protobuf:"bytes,1,opt,name=homepage,proto3" json:"homepage,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateHomepage` method.
func (*UpdateHomepageRequest) Descriptor
deprecated
func (*UpdateHomepageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHomepageRequest.ProtoReflect.Descriptor instead.
func (*UpdateHomepageRequest) GetHomepage ¶
func (x *UpdateHomepageRequest) GetHomepage() *Homepage
func (*UpdateHomepageRequest) GetUpdateMask ¶
func (x *UpdateHomepageRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateHomepageRequest) ProtoMessage ¶
func (*UpdateHomepageRequest) ProtoMessage()
func (*UpdateHomepageRequest) ProtoReflect ¶
func (x *UpdateHomepageRequest) ProtoReflect() protoreflect.Message
func (*UpdateHomepageRequest) Reset ¶
func (x *UpdateHomepageRequest) Reset()
func (*UpdateHomepageRequest) String ¶
func (x *UpdateHomepageRequest) String() string
type UpdateRegionRequest ¶
type UpdateRegionRequest struct { // Required. The updated region. Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Optional. The comma-separated field mask indicating the fields to update. // Example: // `"displayName,postalCodeArea.regionCode"`. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateRegion` method.
func (*UpdateRegionRequest) Descriptor
deprecated
func (*UpdateRegionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegionRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegionRequest) GetRegion ¶
func (x *UpdateRegionRequest) GetRegion() *Region
func (*UpdateRegionRequest) GetUpdateMask ¶
func (x *UpdateRegionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRegionRequest) ProtoMessage ¶
func (*UpdateRegionRequest) ProtoMessage()
func (*UpdateRegionRequest) ProtoReflect ¶
func (x *UpdateRegionRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegionRequest) Reset ¶
func (x *UpdateRegionRequest) Reset()
func (*UpdateRegionRequest) String ¶
func (x *UpdateRegionRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { // Required. The new version of the user. // // Use `me` to refer to your own email address, for example // `accounts/{account}/users/me`. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Required. List of fields being updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for the `UpdateUser` method.
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { // Identifier. The resource name of the user. // Format: `accounts/{account}/user/{email}` // // Use `me` to refer to your own email address, for example // `accounts/{account}/users/me`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The state of the user. State User_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1beta.User_State" json:"state,omitempty"` // Optional. The [access // rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) // the user has. AccessRights []AccessRight `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
A [user](https://support.google.com/merchants/answer/12160472).
func (*User) Descriptor
deprecated
func (*User) GetAccessRights ¶
func (x *User) GetAccessRights() []AccessRight
func (*User) GetState ¶
func (x *User) GetState() User_State
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserServiceClient ¶
type UserServiceClient interface { // Retrieves a Merchant Center account user. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) // Creates a Merchant Center account user. Executing this method requires // admin access. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) // Deletes a Merchant Center account user. Executing this method requires // admin access. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates a Merchant Center account user. Executing this method requires // admin access. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error) // Lists all users of a Merchant Center account. ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // Retrieves a Merchant Center account user. GetUser(context.Context, *GetUserRequest) (*User, error) // Creates a Merchant Center account user. Executing this method requires // admin access. CreateUser(context.Context, *CreateUserRequest) (*User, error) // Deletes a Merchant Center account user. Executing this method requires // admin access. DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // Updates a Merchant Center account user. Executing this method requires // admin access. UpdateUser(context.Context, *UpdateUserRequest) (*User, error) // Lists all users of a Merchant Center account. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) }
UserServiceServer is the server API for UserService service.
type User_State ¶
type User_State int32
The possible states of a user.
const ( // Default value. This value is unused. User_STATE_UNSPECIFIED User_State = 0 // The user is pending confirmation. In this state, the user first needs to // accept the invitation before performing other actions. User_PENDING User_State = 1 // The user is verified. User_VERIFIED User_State = 2 )
func (User_State) Descriptor ¶
func (User_State) Descriptor() protoreflect.EnumDescriptor
func (User_State) Enum ¶
func (x User_State) Enum() *User_State
func (User_State) EnumDescriptor
deprecated
func (User_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_State.Descriptor instead.
func (User_State) Number ¶
func (x User_State) Number() protoreflect.EnumNumber
func (User_State) String ¶
func (x User_State) String() string
func (User_State) Type ¶
func (User_State) Type() protoreflect.EnumType
type Value ¶
type Value struct { // If true, then the product can't be shipped. Must be true when set, can only // be set if all other fields are not set. NoShipping *bool `protobuf:"varint,1,opt,name=no_shipping,json=noShipping,proto3,oneof" json:"no_shipping,omitempty"` // A flat rate. Can only be set if all other fields are not set. FlatRate *typepb.Price `protobuf:"bytes,2,opt,name=flat_rate,json=flatRate,proto3,oneof" json:"flat_rate,omitempty"` // A percentage of the price represented as a number in decimal notation // (For example, `"5.4"`). Can only be set if all other fields are not // set. PricePercentage *string `protobuf:"bytes,3,opt,name=price_percentage,json=pricePercentage,proto3,oneof" json:"price_percentage,omitempty"` // The name of a carrier rate referring to a carrier rate defined in the // same rate group. Can only be set if all other fields are not set. CarrierRate *string `protobuf:"bytes,4,opt,name=carrier_rate,json=carrierRate,proto3,oneof" json:"carrier_rate,omitempty"` // The name of a subtable. Can only be set in table cells (For example, not // for single values), and only if all other fields are not set. Subtable *string `protobuf:"bytes,5,opt,name=subtable,proto3,oneof" json:"subtable,omitempty"` // contains filtered or unexported fields }
The single value of a rate group or the value of a rate group table's cell. Exactly one of `no_shipping`, `flat_rate`, `price_percentage`, `carrier_rateName`, `subtable_name` must be set.
func (*Value) Descriptor
deprecated
func (*Value) GetCarrierRate ¶
func (*Value) GetFlatRate ¶
func (*Value) GetNoShipping ¶
func (*Value) GetPricePercentage ¶
func (*Value) GetSubtable ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Warehouse ¶
type Warehouse struct { // Required. The name of the warehouse. Must be unique within account. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // Required. Shipping address of the warehouse. ShippingAddress *Address `protobuf:"bytes,2,opt,name=shipping_address,json=shippingAddress,proto3,oneof" json:"shipping_address,omitempty"` // Required. The latest time of day that an order can be accepted and begin // processing. Later orders will be processed in the next day. The time is // based on the warehouse postal code. CutoffTime *WarehouseCutoffTime `protobuf:"bytes,3,opt,name=cutoff_time,json=cutoffTime,proto3,oneof" json:"cutoff_time,omitempty"` // Required. The number of days it takes for this warehouse to pack up and // ship an item. This is on the warehouse level, but can be overridden on the // offer level based on the attributes of an item. HandlingDays *int64 `protobuf:"varint,4,opt,name=handling_days,json=handlingDays,proto3,oneof" json:"handling_days,omitempty"` // Business days of the warehouse. // If not set, will be Monday to Friday by default. BusinessDayConfig *BusinessDayConfig `protobuf:"bytes,5,opt,name=business_day_config,json=businessDayConfig,proto3,oneof" json:"business_day_config,omitempty"` // contains filtered or unexported fields }
A fulfillment warehouse, which stores and handles inventory. Next tag: 7
func (*Warehouse) Descriptor
deprecated
func (*Warehouse) GetBusinessDayConfig ¶
func (x *Warehouse) GetBusinessDayConfig() *BusinessDayConfig
func (*Warehouse) GetCutoffTime ¶
func (x *Warehouse) GetCutoffTime() *WarehouseCutoffTime
func (*Warehouse) GetHandlingDays ¶
func (*Warehouse) GetShippingAddress ¶
func (*Warehouse) ProtoMessage ¶
func (*Warehouse) ProtoMessage()
func (*Warehouse) ProtoReflect ¶
func (x *Warehouse) ProtoReflect() protoreflect.Message
type WarehouseBasedDeliveryTime ¶
type WarehouseBasedDeliveryTime struct { // Required. Carrier, such as `"UPS"` or `"Fedex"`. Carrier *string `protobuf:"bytes,1,opt,name=carrier,proto3,oneof" json:"carrier,omitempty"` // Required. Carrier service, such as `"ground"` or `"2 days"`. The name of // the service must be in the eddSupportedServices list. CarrierService *string `protobuf:"bytes,2,opt,name=carrier_service,json=carrierService,proto3,oneof" json:"carrier_service,omitempty"` // Required. Warehouse name. This should match // [warehouse][ShippingSetting.warehouses.name] Warehouse *string `protobuf:"bytes,3,opt,name=warehouse,proto3,oneof" json:"warehouse,omitempty"` // contains filtered or unexported fields }
Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in `delivery_time` should be set.
func (*WarehouseBasedDeliveryTime) Descriptor
deprecated
func (*WarehouseBasedDeliveryTime) Descriptor() ([]byte, []int)
Deprecated: Use WarehouseBasedDeliveryTime.ProtoReflect.Descriptor instead.
func (*WarehouseBasedDeliveryTime) GetCarrier ¶
func (x *WarehouseBasedDeliveryTime) GetCarrier() string
func (*WarehouseBasedDeliveryTime) GetCarrierService ¶
func (x *WarehouseBasedDeliveryTime) GetCarrierService() string
func (*WarehouseBasedDeliveryTime) GetWarehouse ¶
func (x *WarehouseBasedDeliveryTime) GetWarehouse() string
func (*WarehouseBasedDeliveryTime) ProtoMessage ¶
func (*WarehouseBasedDeliveryTime) ProtoMessage()
func (*WarehouseBasedDeliveryTime) ProtoReflect ¶
func (x *WarehouseBasedDeliveryTime) ProtoReflect() protoreflect.Message
func (*WarehouseBasedDeliveryTime) Reset ¶
func (x *WarehouseBasedDeliveryTime) Reset()
func (*WarehouseBasedDeliveryTime) String ¶
func (x *WarehouseBasedDeliveryTime) String() string
type WarehouseCutoffTime ¶
type WarehouseCutoffTime struct { // Required. Hour of the cutoff time until which an order has to be placed to // be processed in the same day by the warehouse. Hour is based on the // timezone of warehouse. Hour *int32 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"` // Required. Minute of the cutoff time until which an order has to be placed // to be processed in the same day by the warehouse. Minute is based on the // timezone of warehouse. Minute *int32 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"` // contains filtered or unexported fields }
The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.
func (*WarehouseCutoffTime) Descriptor
deprecated
func (*WarehouseCutoffTime) Descriptor() ([]byte, []int)
Deprecated: Use WarehouseCutoffTime.ProtoReflect.Descriptor instead.
func (*WarehouseCutoffTime) GetHour ¶
func (x *WarehouseCutoffTime) GetHour() int32
func (*WarehouseCutoffTime) GetMinute ¶
func (x *WarehouseCutoffTime) GetMinute() int32
func (*WarehouseCutoffTime) ProtoMessage ¶
func (*WarehouseCutoffTime) ProtoMessage()
func (*WarehouseCutoffTime) ProtoReflect ¶
func (x *WarehouseCutoffTime) ProtoReflect() protoreflect.Message
func (*WarehouseCutoffTime) Reset ¶
func (x *WarehouseCutoffTime) Reset()
func (*WarehouseCutoffTime) String ¶
func (x *WarehouseCutoffTime) String() string
Source Files ¶
- accessright.pb.go
- account_tax.pb.go
- accountissue.pb.go
- accounts.pb.go
- accountservices.pb.go
- autofeedsettings.pb.go
- businessidentity.pb.go
- businessinfo.pb.go
- customerservice.pb.go
- emailpreferences.pb.go
- homepage.pb.go
- online_return_policy.pb.go
- phoneverificationstate.pb.go
- programs.pb.go
- regions.pb.go
- shippingsettings.pb.go
- tax_rule.pb.go
- termsofservice.pb.go
- termsofserviceagreementstate.pb.go
- termsofservicekind.pb.go
- user.pb.go