Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPortalHTTPServer(s *http.Server, srv PortalHTTPServer)
- func RegisterPortalServer(s grpc.ServiceRegistrar, srv PortalServer)
- type GetAvailablePaymentMethodsReply
- func (*GetAvailablePaymentMethodsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailablePaymentMethodsReply) GetMethods() []*PaymentMethod
- func (*GetAvailablePaymentMethodsReply) ProtoMessage()
- func (x *GetAvailablePaymentMethodsReply) ProtoReflect() protoreflect.Message
- func (x *GetAvailablePaymentMethodsReply) Reset()
- func (x *GetAvailablePaymentMethodsReply) String() string
- func (m *GetAvailablePaymentMethodsReply) Validate() error
- func (m *GetAvailablePaymentMethodsReply) ValidateAll() error
- type GetAvailablePaymentMethodsReplyMultiError
- type GetAvailablePaymentMethodsReplyValidationError
- func (e GetAvailablePaymentMethodsReplyValidationError) Cause() error
- func (e GetAvailablePaymentMethodsReplyValidationError) Error() string
- func (e GetAvailablePaymentMethodsReplyValidationError) ErrorName() string
- func (e GetAvailablePaymentMethodsReplyValidationError) Field() string
- func (e GetAvailablePaymentMethodsReplyValidationError) Key() bool
- func (e GetAvailablePaymentMethodsReplyValidationError) Reason() string
- type GetSubscriptionCatalogReply
- func (*GetSubscriptionCatalogReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionCatalogReply) GetCategories() []*SubscribeCategory
- func (x *GetSubscriptionCatalogReply) GetTotal() int32
- func (x *GetSubscriptionCatalogReply) GetUncategorized() []*SubscribeInfo
- func (*GetSubscriptionCatalogReply) ProtoMessage()
- func (x *GetSubscriptionCatalogReply) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionCatalogReply) Reset()
- func (x *GetSubscriptionCatalogReply) String() string
- func (m *GetSubscriptionCatalogReply) Validate() error
- func (m *GetSubscriptionCatalogReply) ValidateAll() error
- type GetSubscriptionCatalogReplyMultiError
- type GetSubscriptionCatalogReplyValidationError
- func (e GetSubscriptionCatalogReplyValidationError) Cause() error
- func (e GetSubscriptionCatalogReplyValidationError) Error() string
- func (e GetSubscriptionCatalogReplyValidationError) ErrorName() string
- func (e GetSubscriptionCatalogReplyValidationError) Field() string
- func (e GetSubscriptionCatalogReplyValidationError) Key() bool
- func (e GetSubscriptionCatalogReplyValidationError) Reason() string
- type GetSubscriptionCatalogRequest
- func (*GetSubscriptionCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionCatalogRequest) GetLanguage() string
- func (*GetSubscriptionCatalogRequest) ProtoMessage()
- func (x *GetSubscriptionCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionCatalogRequest) Reset()
- func (x *GetSubscriptionCatalogRequest) String() string
- func (m *GetSubscriptionCatalogRequest) Validate() error
- func (m *GetSubscriptionCatalogRequest) ValidateAll() error
- type GetSubscriptionCatalogRequestMultiError
- type GetSubscriptionCatalogRequestValidationError
- func (e GetSubscriptionCatalogRequestValidationError) Cause() error
- func (e GetSubscriptionCatalogRequestValidationError) Error() string
- func (e GetSubscriptionCatalogRequestValidationError) ErrorName() string
- func (e GetSubscriptionCatalogRequestValidationError) Field() string
- func (e GetSubscriptionCatalogRequestValidationError) Key() bool
- func (e GetSubscriptionCatalogRequestValidationError) Reason() string
- type GetSubscriptionReply
- func (*GetSubscriptionReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionReply) GetList() []*SubscribeInfo
- func (*GetSubscriptionReply) ProtoMessage()
- func (x *GetSubscriptionReply) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionReply) Reset()
- func (x *GetSubscriptionReply) String() string
- func (m *GetSubscriptionReply) Validate() error
- func (m *GetSubscriptionReply) ValidateAll() error
- type GetSubscriptionReplyMultiError
- type GetSubscriptionReplyValidationError
- func (e GetSubscriptionReplyValidationError) Cause() error
- func (e GetSubscriptionReplyValidationError) Error() string
- func (e GetSubscriptionReplyValidationError) ErrorName() string
- func (e GetSubscriptionReplyValidationError) Field() string
- func (e GetSubscriptionReplyValidationError) Key() bool
- func (e GetSubscriptionReplyValidationError) Reason() string
- type GetSubscriptionRequest
- func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionRequest) GetCategoryId() int64
- func (x *GetSubscriptionRequest) GetLanguage() string
- func (*GetSubscriptionRequest) ProtoMessage()
- func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionRequest) Reset()
- func (x *GetSubscriptionRequest) String() string
- func (m *GetSubscriptionRequest) Validate() error
- func (m *GetSubscriptionRequest) ValidateAll() error
- type GetSubscriptionRequestMultiError
- type GetSubscriptionRequestValidationError
- func (e GetSubscriptionRequestValidationError) Cause() error
- func (e GetSubscriptionRequestValidationError) Error() string
- func (e GetSubscriptionRequestValidationError) ErrorName() string
- func (e GetSubscriptionRequestValidationError) Field() string
- func (e GetSubscriptionRequestValidationError) Key() bool
- func (e GetSubscriptionRequestValidationError) Reason() string
- type PaymentMethod
- func (*PaymentMethod) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentMethod) GetDescription() string
- func (x *PaymentMethod) GetFeeAmount() int64
- func (x *PaymentMethod) GetFeeMode() uint32
- func (x *PaymentMethod) GetFeePercent() int64
- func (x *PaymentMethod) GetIcon() string
- func (x *PaymentMethod) GetId() int64
- func (x *PaymentMethod) GetName() string
- func (x *PaymentMethod) GetPlatform() string
- func (*PaymentMethod) ProtoMessage()
- func (x *PaymentMethod) ProtoReflect() protoreflect.Message
- func (x *PaymentMethod) Reset()
- func (x *PaymentMethod) String() string
- func (m *PaymentMethod) Validate() error
- func (m *PaymentMethod) ValidateAll() error
- type PaymentMethodMultiError
- type PaymentMethodValidationError
- func (e PaymentMethodValidationError) Cause() error
- func (e PaymentMethodValidationError) Error() string
- func (e PaymentMethodValidationError) ErrorName() string
- func (e PaymentMethodValidationError) Field() string
- func (e PaymentMethodValidationError) Key() bool
- func (e PaymentMethodValidationError) Reason() string
- type PortalClient
- type PortalHTTPClient
- type PortalHTTPClientImpl
- func (c *PortalHTTPClientImpl) GetAvailablePaymentMethods(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetAvailablePaymentMethodsReply, error)
- func (c *PortalHTTPClientImpl) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...http.CallOption) (*GetSubscriptionReply, error)
- func (c *PortalHTTPClientImpl) GetSubscriptionCatalog(ctx context.Context, in *GetSubscriptionCatalogRequest, ...) (*GetSubscriptionCatalogReply, error)
- func (c *PortalHTTPClientImpl) PrePurchaseOrder(ctx context.Context, in *PrePurchaseOrderRequest, opts ...http.CallOption) (*PrePurchaseOrderReply, error)
- func (c *PortalHTTPClientImpl) Purchase(ctx context.Context, in *PurchaseRequest, opts ...http.CallOption) (*PurchaseReply, error)
- func (c *PortalHTTPClientImpl) PurchaseCheckout(ctx context.Context, in *PurchaseCheckoutRequest, opts ...http.CallOption) (*PurchaseCheckoutReply, error)
- func (c *PortalHTTPClientImpl) QueryPurchaseOrder(ctx context.Context, in *QueryPurchaseOrderRequest, opts ...http.CallOption) (*QueryPurchaseOrderReply, error)
- type PortalHTTPServer
- type PortalServer
- type PrePurchaseOrderReply
- func (*PrePurchaseOrderReply) Descriptor() ([]byte, []int)deprecated
- func (x *PrePurchaseOrderReply) GetAmount() int64
- func (x *PrePurchaseOrderReply) GetCoupon() string
- func (x *PrePurchaseOrderReply) GetCouponDiscount() int64
- func (x *PrePurchaseOrderReply) GetDiscount() int64
- func (x *PrePurchaseOrderReply) GetFeeAmount() int64
- func (x *PrePurchaseOrderReply) GetPrice() int64
- func (*PrePurchaseOrderReply) ProtoMessage()
- func (x *PrePurchaseOrderReply) ProtoReflect() protoreflect.Message
- func (x *PrePurchaseOrderReply) Reset()
- func (x *PrePurchaseOrderReply) String() string
- func (m *PrePurchaseOrderReply) Validate() error
- func (m *PrePurchaseOrderReply) ValidateAll() error
- type PrePurchaseOrderReplyMultiError
- type PrePurchaseOrderReplyValidationError
- func (e PrePurchaseOrderReplyValidationError) Cause() error
- func (e PrePurchaseOrderReplyValidationError) Error() string
- func (e PrePurchaseOrderReplyValidationError) ErrorName() string
- func (e PrePurchaseOrderReplyValidationError) Field() string
- func (e PrePurchaseOrderReplyValidationError) Key() bool
- func (e PrePurchaseOrderReplyValidationError) Reason() string
- type PrePurchaseOrderRequest
- func (*PrePurchaseOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrePurchaseOrderRequest) GetCoupon() string
- func (x *PrePurchaseOrderRequest) GetPayment() int64
- func (x *PrePurchaseOrderRequest) GetQuantity() int64
- func (x *PrePurchaseOrderRequest) GetSubscribeId() int64
- func (*PrePurchaseOrderRequest) ProtoMessage()
- func (x *PrePurchaseOrderRequest) ProtoReflect() protoreflect.Message
- func (x *PrePurchaseOrderRequest) Reset()
- func (x *PrePurchaseOrderRequest) String() string
- func (m *PrePurchaseOrderRequest) Validate() error
- func (m *PrePurchaseOrderRequest) ValidateAll() error
- type PrePurchaseOrderRequestMultiError
- type PrePurchaseOrderRequestValidationError
- func (e PrePurchaseOrderRequestValidationError) Cause() error
- func (e PrePurchaseOrderRequestValidationError) Error() string
- func (e PrePurchaseOrderRequestValidationError) ErrorName() string
- func (e PrePurchaseOrderRequestValidationError) Field() string
- func (e PrePurchaseOrderRequestValidationError) Key() bool
- func (e PrePurchaseOrderRequestValidationError) Reason() string
- type PurchaseCheckoutReply
- func (*PurchaseCheckoutReply) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseCheckoutReply) GetCheckoutUrl() string
- func (x *PurchaseCheckoutReply) GetStripe() *StripePayment
- func (x *PurchaseCheckoutReply) GetType() string
- func (*PurchaseCheckoutReply) ProtoMessage()
- func (x *PurchaseCheckoutReply) ProtoReflect() protoreflect.Message
- func (x *PurchaseCheckoutReply) Reset()
- func (x *PurchaseCheckoutReply) String() string
- func (m *PurchaseCheckoutReply) Validate() error
- func (m *PurchaseCheckoutReply) ValidateAll() error
- type PurchaseCheckoutReplyMultiError
- type PurchaseCheckoutReplyValidationError
- func (e PurchaseCheckoutReplyValidationError) Cause() error
- func (e PurchaseCheckoutReplyValidationError) Error() string
- func (e PurchaseCheckoutReplyValidationError) ErrorName() string
- func (e PurchaseCheckoutReplyValidationError) Field() string
- func (e PurchaseCheckoutReplyValidationError) Key() bool
- func (e PurchaseCheckoutReplyValidationError) Reason() string
- type PurchaseCheckoutRequest
- func (*PurchaseCheckoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseCheckoutRequest) GetOrderNo() string
- func (x *PurchaseCheckoutRequest) GetReturnUrl() string
- func (*PurchaseCheckoutRequest) ProtoMessage()
- func (x *PurchaseCheckoutRequest) ProtoReflect() protoreflect.Message
- func (x *PurchaseCheckoutRequest) Reset()
- func (x *PurchaseCheckoutRequest) String() string
- func (m *PurchaseCheckoutRequest) Validate() error
- func (m *PurchaseCheckoutRequest) ValidateAll() error
- type PurchaseCheckoutRequestMultiError
- type PurchaseCheckoutRequestValidationError
- func (e PurchaseCheckoutRequestValidationError) Cause() error
- func (e PurchaseCheckoutRequestValidationError) Error() string
- func (e PurchaseCheckoutRequestValidationError) ErrorName() string
- func (e PurchaseCheckoutRequestValidationError) Field() string
- func (e PurchaseCheckoutRequestValidationError) Key() bool
- func (e PurchaseCheckoutRequestValidationError) Reason() string
- type PurchaseReply
- func (*PurchaseReply) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseReply) GetOrderNo() string
- func (*PurchaseReply) ProtoMessage()
- func (x *PurchaseReply) ProtoReflect() protoreflect.Message
- func (x *PurchaseReply) Reset()
- func (x *PurchaseReply) String() string
- func (m *PurchaseReply) Validate() error
- func (m *PurchaseReply) ValidateAll() error
- type PurchaseReplyMultiError
- type PurchaseReplyValidationError
- func (e PurchaseReplyValidationError) Cause() error
- func (e PurchaseReplyValidationError) Error() string
- func (e PurchaseReplyValidationError) ErrorName() string
- func (e PurchaseReplyValidationError) Field() string
- func (e PurchaseReplyValidationError) Key() bool
- func (e PurchaseReplyValidationError) Reason() string
- type PurchaseRequest
- func (*PurchaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseRequest) GetAuthType() string
- func (x *PurchaseRequest) GetCoupon() string
- func (x *PurchaseRequest) GetIdentifier() string
- func (x *PurchaseRequest) GetInviteCode() string
- func (x *PurchaseRequest) GetPassword() string
- func (x *PurchaseRequest) GetPayment() int64
- func (x *PurchaseRequest) GetQuantity() int64
- func (x *PurchaseRequest) GetSubscribeId() int64
- func (x *PurchaseRequest) GetTurnstileToken() string
- func (*PurchaseRequest) ProtoMessage()
- func (x *PurchaseRequest) ProtoReflect() protoreflect.Message
- func (x *PurchaseRequest) Reset()
- func (x *PurchaseRequest) String() string
- func (m *PurchaseRequest) Validate() error
- func (m *PurchaseRequest) ValidateAll() error
- type PurchaseRequestMultiError
- type PurchaseRequestValidationError
- func (e PurchaseRequestValidationError) Cause() error
- func (e PurchaseRequestValidationError) Error() string
- func (e PurchaseRequestValidationError) ErrorName() string
- func (e PurchaseRequestValidationError) Field() string
- func (e PurchaseRequestValidationError) Key() bool
- func (e PurchaseRequestValidationError) Reason() string
- type QueryPurchaseOrderReply
- func (*QueryPurchaseOrderReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPurchaseOrderReply) GetAmount() int64
- func (x *QueryPurchaseOrderReply) GetCoupon() string
- func (x *QueryPurchaseOrderReply) GetCouponDiscount() int64
- func (x *QueryPurchaseOrderReply) GetCreatedAt() int64
- func (x *QueryPurchaseOrderReply) GetDiscount() int64
- func (x *QueryPurchaseOrderReply) GetFeeAmount() int64
- func (x *QueryPurchaseOrderReply) GetOrderNo() string
- func (x *QueryPurchaseOrderReply) GetPayment() *PaymentMethod
- func (x *QueryPurchaseOrderReply) GetPrice() int64
- func (x *QueryPurchaseOrderReply) GetQuantity() int64
- func (x *QueryPurchaseOrderReply) GetStatus() int32
- func (x *QueryPurchaseOrderReply) GetSubscribe() *SubscribeInfo
- func (x *QueryPurchaseOrderReply) GetToken() string
- func (*QueryPurchaseOrderReply) ProtoMessage()
- func (x *QueryPurchaseOrderReply) ProtoReflect() protoreflect.Message
- func (x *QueryPurchaseOrderReply) Reset()
- func (x *QueryPurchaseOrderReply) String() string
- func (m *QueryPurchaseOrderReply) Validate() error
- func (m *QueryPurchaseOrderReply) ValidateAll() error
- type QueryPurchaseOrderReplyMultiError
- type QueryPurchaseOrderReplyValidationError
- func (e QueryPurchaseOrderReplyValidationError) Cause() error
- func (e QueryPurchaseOrderReplyValidationError) Error() string
- func (e QueryPurchaseOrderReplyValidationError) ErrorName() string
- func (e QueryPurchaseOrderReplyValidationError) Field() string
- func (e QueryPurchaseOrderReplyValidationError) Key() bool
- func (e QueryPurchaseOrderReplyValidationError) Reason() string
- type QueryPurchaseOrderRequest
- func (*QueryPurchaseOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPurchaseOrderRequest) GetAuthType() string
- func (x *QueryPurchaseOrderRequest) GetIdentifier() string
- func (x *QueryPurchaseOrderRequest) GetOrderNo() string
- func (*QueryPurchaseOrderRequest) ProtoMessage()
- func (x *QueryPurchaseOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPurchaseOrderRequest) Reset()
- func (x *QueryPurchaseOrderRequest) String() string
- func (m *QueryPurchaseOrderRequest) Validate() error
- func (m *QueryPurchaseOrderRequest) ValidateAll() error
- type QueryPurchaseOrderRequestMultiError
- type QueryPurchaseOrderRequestValidationError
- func (e QueryPurchaseOrderRequestValidationError) Cause() error
- func (e QueryPurchaseOrderRequestValidationError) Error() string
- func (e QueryPurchaseOrderRequestValidationError) ErrorName() string
- func (e QueryPurchaseOrderRequestValidationError) Field() string
- func (e QueryPurchaseOrderRequestValidationError) Key() bool
- func (e QueryPurchaseOrderRequestValidationError) Reason() string
- type StripePayment
- func (*StripePayment) Descriptor() ([]byte, []int)deprecated
- func (x *StripePayment) GetClientSecret() string
- func (x *StripePayment) GetMethod() string
- func (x *StripePayment) GetPublishableKey() string
- func (*StripePayment) ProtoMessage()
- func (x *StripePayment) ProtoReflect() protoreflect.Message
- func (x *StripePayment) Reset()
- func (x *StripePayment) String() string
- func (m *StripePayment) Validate() error
- func (m *StripePayment) ValidateAll() error
- type StripePaymentMultiError
- type StripePaymentValidationError
- func (e StripePaymentValidationError) Cause() error
- func (e StripePaymentValidationError) Error() string
- func (e StripePaymentValidationError) ErrorName() string
- func (e StripePaymentValidationError) Field() string
- func (e StripePaymentValidationError) Key() bool
- func (e StripePaymentValidationError) Reason() string
- type SubscribeCategory
- func (*SubscribeCategory) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeCategory) GetChildren() []*SubscribeCategory
- func (x *SubscribeCategory) GetDescription() string
- func (x *SubscribeCategory) GetId() int64
- func (x *SubscribeCategory) GetLanguage() string
- func (x *SubscribeCategory) GetList() []*SubscribeInfo
- func (x *SubscribeCategory) GetName() string
- func (x *SubscribeCategory) GetParentId() int64
- func (x *SubscribeCategory) GetShow() bool
- func (x *SubscribeCategory) GetSort() int32
- func (*SubscribeCategory) ProtoMessage()
- func (x *SubscribeCategory) ProtoReflect() protoreflect.Message
- func (x *SubscribeCategory) Reset()
- func (x *SubscribeCategory) String() string
- func (m *SubscribeCategory) Validate() error
- func (m *SubscribeCategory) ValidateAll() error
- type SubscribeCategoryMultiError
- type SubscribeCategoryValidationError
- func (e SubscribeCategoryValidationError) Cause() error
- func (e SubscribeCategoryValidationError) Error() string
- func (e SubscribeCategoryValidationError) ErrorName() string
- func (e SubscribeCategoryValidationError) Field() string
- func (e SubscribeCategoryValidationError) Key() bool
- func (e SubscribeCategoryValidationError) Reason() string
- type SubscribeDiscount
- func (*SubscribeDiscount) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeDiscount) GetDiscount() int64
- func (x *SubscribeDiscount) GetQuantity() int64
- func (*SubscribeDiscount) ProtoMessage()
- func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
- func (x *SubscribeDiscount) Reset()
- func (x *SubscribeDiscount) String() string
- func (m *SubscribeDiscount) Validate() error
- func (m *SubscribeDiscount) ValidateAll() error
- type SubscribeDiscountMultiError
- type SubscribeDiscountValidationError
- func (e SubscribeDiscountValidationError) Cause() error
- func (e SubscribeDiscountValidationError) Error() string
- func (e SubscribeDiscountValidationError) ErrorName() string
- func (e SubscribeDiscountValidationError) Field() string
- func (e SubscribeDiscountValidationError) Key() bool
- func (e SubscribeDiscountValidationError) Reason() string
- type SubscribeInfo
- func (*SubscribeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeInfo) GetAllowDeduction() bool
- func (x *SubscribeInfo) GetCategoryId() int64
- func (x *SubscribeInfo) GetCategoryName() string
- func (x *SubscribeInfo) GetCreatedAt() int64
- func (x *SubscribeInfo) GetDeductionRatio() int32
- func (x *SubscribeInfo) GetDescription() string
- func (x *SubscribeInfo) GetDeviceLimit() int32
- func (x *SubscribeInfo) GetDiscount() []*SubscribeDiscount
- func (x *SubscribeInfo) GetId() int64
- func (x *SubscribeInfo) GetInventory() int32
- func (x *SubscribeInfo) GetLanguage() string
- func (x *SubscribeInfo) GetName() string
- func (x *SubscribeInfo) GetNodeGroupId() int64
- func (x *SubscribeInfo) GetNodeGroupIds() []int64
- func (x *SubscribeInfo) GetNodeTags() []string
- func (x *SubscribeInfo) GetNodes() []int64
- func (x *SubscribeInfo) GetQuota() int32
- func (x *SubscribeInfo) GetRenewalReset() bool
- func (x *SubscribeInfo) GetReplacement() int64
- func (x *SubscribeInfo) GetResetCycle() int32
- func (x *SubscribeInfo) GetSell() bool
- func (x *SubscribeInfo) GetShow() bool
- func (x *SubscribeInfo) GetShowOriginalPrice() bool
- func (x *SubscribeInfo) GetSort() int32
- func (x *SubscribeInfo) GetSpeedLimit() int32
- func (x *SubscribeInfo) GetTraffic() int64
- func (x *SubscribeInfo) GetTrafficLimit() []*TrafficLimit
- func (x *SubscribeInfo) GetUnitPrice() int64
- func (x *SubscribeInfo) GetUnitTime() string
- func (x *SubscribeInfo) GetUpdatedAt() int64
- func (*SubscribeInfo) ProtoMessage()
- func (x *SubscribeInfo) ProtoReflect() protoreflect.Message
- func (x *SubscribeInfo) Reset()
- func (x *SubscribeInfo) String() string
- func (m *SubscribeInfo) Validate() error
- func (m *SubscribeInfo) ValidateAll() error
- type SubscribeInfoMultiError
- type SubscribeInfoValidationError
- func (e SubscribeInfoValidationError) Cause() error
- func (e SubscribeInfoValidationError) Error() string
- func (e SubscribeInfoValidationError) ErrorName() string
- func (e SubscribeInfoValidationError) Field() string
- func (e SubscribeInfoValidationError) Key() bool
- func (e SubscribeInfoValidationError) Reason() string
- type TrafficLimit
- func (*TrafficLimit) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficLimit) GetSpeedLimit() int32
- func (x *TrafficLimit) GetStatType() string
- func (x *TrafficLimit) GetStatValue() int64
- func (x *TrafficLimit) GetTrafficUsage() int64
- func (*TrafficLimit) ProtoMessage()
- func (x *TrafficLimit) ProtoReflect() protoreflect.Message
- func (x *TrafficLimit) Reset()
- func (x *TrafficLimit) String() string
- func (m *TrafficLimit) Validate() error
- func (m *TrafficLimit) ValidateAll() error
- type TrafficLimitMultiError
- type TrafficLimitValidationError
- func (e TrafficLimitValidationError) Cause() error
- func (e TrafficLimitValidationError) Error() string
- func (e TrafficLimitValidationError) ErrorName() string
- func (e TrafficLimitValidationError) Field() string
- func (e TrafficLimitValidationError) Key() bool
- func (e TrafficLimitValidationError) Reason() string
- type UnimplementedPortalServer
- func (UnimplementedPortalServer) GetAvailablePaymentMethods(context.Context, *emptypb.Empty) (*GetAvailablePaymentMethodsReply, error)
- func (UnimplementedPortalServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionReply, error)
- func (UnimplementedPortalServer) GetSubscriptionCatalog(context.Context, *GetSubscriptionCatalogRequest) (*GetSubscriptionCatalogReply, error)
- func (UnimplementedPortalServer) PrePurchaseOrder(context.Context, *PrePurchaseOrderRequest) (*PrePurchaseOrderReply, error)
- func (UnimplementedPortalServer) Purchase(context.Context, *PurchaseRequest) (*PurchaseReply, error)
- func (UnimplementedPortalServer) PurchaseCheckout(context.Context, *PurchaseCheckoutRequest) (*PurchaseCheckoutReply, error)
- func (UnimplementedPortalServer) QueryPurchaseOrder(context.Context, *QueryPurchaseOrderRequest) (*QueryPurchaseOrderReply, error)
- type UnsafePortalServer
Constants ¶
const ( Portal_GetSubscription_FullMethodName = "/api.public.portal.v1.Portal/GetSubscription" Portal_GetSubscriptionCatalog_FullMethodName = "/api.public.portal.v1.Portal/GetSubscriptionCatalog" Portal_PrePurchaseOrder_FullMethodName = "/api.public.portal.v1.Portal/PrePurchaseOrder" Portal_Purchase_FullMethodName = "/api.public.portal.v1.Portal/Purchase" Portal_GetAvailablePaymentMethods_FullMethodName = "/api.public.portal.v1.Portal/GetAvailablePaymentMethods" Portal_PurchaseCheckout_FullMethodName = "/api.public.portal.v1.Portal/PurchaseCheckout" Portal_QueryPurchaseOrder_FullMethodName = "/api.public.portal.v1.Portal/QueryPurchaseOrder" )
const OperationPortalGetAvailablePaymentMethods = "/api.public.portal.v1.Portal/GetAvailablePaymentMethods"
const OperationPortalGetSubscription = "/api.public.portal.v1.Portal/GetSubscription"
const OperationPortalGetSubscriptionCatalog = "/api.public.portal.v1.Portal/GetSubscriptionCatalog"
const OperationPortalPrePurchaseOrder = "/api.public.portal.v1.Portal/PrePurchaseOrder"
const OperationPortalPurchase = "/api.public.portal.v1.Portal/Purchase"
const OperationPortalPurchaseCheckout = "/api.public.portal.v1.Portal/PurchaseCheckout"
const OperationPortalQueryPurchaseOrder = "/api.public.portal.v1.Portal/QueryPurchaseOrder"
Variables ¶
var File_public_portal_v1_portal_proto protoreflect.FileDescriptor
var Portal_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.public.portal.v1.Portal", HandlerType: (*PortalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSubscription", Handler: _Portal_GetSubscription_Handler, }, { MethodName: "GetSubscriptionCatalog", Handler: _Portal_GetSubscriptionCatalog_Handler, }, { MethodName: "PrePurchaseOrder", Handler: _Portal_PrePurchaseOrder_Handler, }, { MethodName: "Purchase", Handler: _Portal_Purchase_Handler, }, { MethodName: "GetAvailablePaymentMethods", Handler: _Portal_GetAvailablePaymentMethods_Handler, }, { MethodName: "PurchaseCheckout", Handler: _Portal_PurchaseCheckout_Handler, }, { MethodName: "QueryPurchaseOrder", Handler: _Portal_QueryPurchaseOrder_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "public/portal/v1/portal.proto", }
Portal_ServiceDesc is the grpc.ServiceDesc for Portal service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPortalHTTPServer ¶
func RegisterPortalHTTPServer(s *http.Server, srv PortalHTTPServer)
func RegisterPortalServer ¶
func RegisterPortalServer(s grpc.ServiceRegistrar, srv PortalServer)
Types ¶
type GetAvailablePaymentMethodsReply ¶
type GetAvailablePaymentMethodsReply struct {
Methods []*PaymentMethod `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
func (*GetAvailablePaymentMethodsReply) Descriptor
deprecated
func (*GetAvailablePaymentMethodsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailablePaymentMethodsReply.ProtoReflect.Descriptor instead.
func (*GetAvailablePaymentMethodsReply) GetMethods ¶
func (x *GetAvailablePaymentMethodsReply) GetMethods() []*PaymentMethod
func (*GetAvailablePaymentMethodsReply) ProtoMessage ¶
func (*GetAvailablePaymentMethodsReply) ProtoMessage()
func (*GetAvailablePaymentMethodsReply) ProtoReflect ¶
func (x *GetAvailablePaymentMethodsReply) ProtoReflect() protoreflect.Message
func (*GetAvailablePaymentMethodsReply) Reset ¶
func (x *GetAvailablePaymentMethodsReply) Reset()
func (*GetAvailablePaymentMethodsReply) String ¶
func (x *GetAvailablePaymentMethodsReply) String() string
func (*GetAvailablePaymentMethodsReply) Validate ¶
func (m *GetAvailablePaymentMethodsReply) Validate() error
Validate checks the field values on GetAvailablePaymentMethodsReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAvailablePaymentMethodsReply) ValidateAll ¶
func (m *GetAvailablePaymentMethodsReply) ValidateAll() error
ValidateAll checks the field values on GetAvailablePaymentMethodsReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAvailablePaymentMethodsReplyMultiError, or nil if none found.
type GetAvailablePaymentMethodsReplyMultiError ¶
type GetAvailablePaymentMethodsReplyMultiError []error
GetAvailablePaymentMethodsReplyMultiError is an error wrapping multiple validation errors returned by GetAvailablePaymentMethodsReply.ValidateAll() if the designated constraints aren't met.
func (GetAvailablePaymentMethodsReplyMultiError) AllErrors ¶
func (m GetAvailablePaymentMethodsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAvailablePaymentMethodsReplyMultiError) Error ¶
func (m GetAvailablePaymentMethodsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAvailablePaymentMethodsReplyValidationError ¶
type GetAvailablePaymentMethodsReplyValidationError struct {
// contains filtered or unexported fields
}
GetAvailablePaymentMethodsReplyValidationError is the validation error returned by GetAvailablePaymentMethodsReply.Validate if the designated constraints aren't met.
func (GetAvailablePaymentMethodsReplyValidationError) Cause ¶
func (e GetAvailablePaymentMethodsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAvailablePaymentMethodsReplyValidationError) Error ¶
func (e GetAvailablePaymentMethodsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAvailablePaymentMethodsReplyValidationError) ErrorName ¶
func (e GetAvailablePaymentMethodsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAvailablePaymentMethodsReplyValidationError) Field ¶
func (e GetAvailablePaymentMethodsReplyValidationError) Field() string
Field function returns field value.
func (GetAvailablePaymentMethodsReplyValidationError) Key ¶
func (e GetAvailablePaymentMethodsReplyValidationError) Key() bool
Key function returns key value.
func (GetAvailablePaymentMethodsReplyValidationError) Reason ¶
func (e GetAvailablePaymentMethodsReplyValidationError) Reason() string
Reason function returns reason value.
type GetSubscriptionCatalogReply ¶ added in v1.0.9
type GetSubscriptionCatalogReply struct {
Categories []*SubscribeCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
Uncategorized []*SubscribeInfo `protobuf:"bytes,2,rep,name=uncategorized,proto3" json:"uncategorized,omitempty"`
Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*GetSubscriptionCatalogReply) Descriptor
deprecated
added in
v1.0.9
func (*GetSubscriptionCatalogReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionCatalogReply.ProtoReflect.Descriptor instead.
func (*GetSubscriptionCatalogReply) GetCategories ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) GetCategories() []*SubscribeCategory
func (*GetSubscriptionCatalogReply) GetTotal ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) GetTotal() int32
func (*GetSubscriptionCatalogReply) GetUncategorized ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) GetUncategorized() []*SubscribeInfo
func (*GetSubscriptionCatalogReply) ProtoMessage ¶ added in v1.0.9
func (*GetSubscriptionCatalogReply) ProtoMessage()
func (*GetSubscriptionCatalogReply) ProtoReflect ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) ProtoReflect() protoreflect.Message
func (*GetSubscriptionCatalogReply) Reset ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) Reset()
func (*GetSubscriptionCatalogReply) String ¶ added in v1.0.9
func (x *GetSubscriptionCatalogReply) String() string
func (*GetSubscriptionCatalogReply) Validate ¶ added in v1.0.9
func (m *GetSubscriptionCatalogReply) Validate() error
Validate checks the field values on GetSubscriptionCatalogReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSubscriptionCatalogReply) ValidateAll ¶ added in v1.0.9
func (m *GetSubscriptionCatalogReply) ValidateAll() error
ValidateAll checks the field values on GetSubscriptionCatalogReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscriptionCatalogReplyMultiError, or nil if none found.
type GetSubscriptionCatalogReplyMultiError ¶ added in v1.0.9
type GetSubscriptionCatalogReplyMultiError []error
GetSubscriptionCatalogReplyMultiError is an error wrapping multiple validation errors returned by GetSubscriptionCatalogReply.ValidateAll() if the designated constraints aren't met.
func (GetSubscriptionCatalogReplyMultiError) AllErrors ¶ added in v1.0.9
func (m GetSubscriptionCatalogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscriptionCatalogReplyMultiError) Error ¶ added in v1.0.9
func (m GetSubscriptionCatalogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscriptionCatalogReplyValidationError ¶ added in v1.0.9
type GetSubscriptionCatalogReplyValidationError struct {
// contains filtered or unexported fields
}
GetSubscriptionCatalogReplyValidationError is the validation error returned by GetSubscriptionCatalogReply.Validate if the designated constraints aren't met.
func (GetSubscriptionCatalogReplyValidationError) Cause ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSubscriptionCatalogReplyValidationError) Error ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscriptionCatalogReplyValidationError) ErrorName ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscriptionCatalogReplyValidationError) Field ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) Field() string
Field function returns field value.
func (GetSubscriptionCatalogReplyValidationError) Key ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) Key() bool
Key function returns key value.
func (GetSubscriptionCatalogReplyValidationError) Reason ¶ added in v1.0.9
func (e GetSubscriptionCatalogReplyValidationError) Reason() string
Reason function returns reason value.
type GetSubscriptionCatalogRequest ¶ added in v1.0.9
type GetSubscriptionCatalogRequest struct {
Language *string `protobuf:"bytes,1,opt,name=language,proto3,oneof" json:"language,omitempty"`
// contains filtered or unexported fields
}
func (*GetSubscriptionCatalogRequest) Descriptor
deprecated
added in
v1.0.9
func (*GetSubscriptionCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionCatalogRequest.ProtoReflect.Descriptor instead.
func (*GetSubscriptionCatalogRequest) GetLanguage ¶ added in v1.0.9
func (x *GetSubscriptionCatalogRequest) GetLanguage() string
func (*GetSubscriptionCatalogRequest) ProtoMessage ¶ added in v1.0.9
func (*GetSubscriptionCatalogRequest) ProtoMessage()
func (*GetSubscriptionCatalogRequest) ProtoReflect ¶ added in v1.0.9
func (x *GetSubscriptionCatalogRequest) ProtoReflect() protoreflect.Message
func (*GetSubscriptionCatalogRequest) Reset ¶ added in v1.0.9
func (x *GetSubscriptionCatalogRequest) Reset()
func (*GetSubscriptionCatalogRequest) String ¶ added in v1.0.9
func (x *GetSubscriptionCatalogRequest) String() string
func (*GetSubscriptionCatalogRequest) Validate ¶ added in v1.0.9
func (m *GetSubscriptionCatalogRequest) Validate() error
Validate checks the field values on GetSubscriptionCatalogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSubscriptionCatalogRequest) ValidateAll ¶ added in v1.0.9
func (m *GetSubscriptionCatalogRequest) ValidateAll() error
ValidateAll checks the field values on GetSubscriptionCatalogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscriptionCatalogRequestMultiError, or nil if none found.
type GetSubscriptionCatalogRequestMultiError ¶ added in v1.0.9
type GetSubscriptionCatalogRequestMultiError []error
GetSubscriptionCatalogRequestMultiError is an error wrapping multiple validation errors returned by GetSubscriptionCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubscriptionCatalogRequestMultiError) AllErrors ¶ added in v1.0.9
func (m GetSubscriptionCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscriptionCatalogRequestMultiError) Error ¶ added in v1.0.9
func (m GetSubscriptionCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscriptionCatalogRequestValidationError ¶ added in v1.0.9
type GetSubscriptionCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubscriptionCatalogRequestValidationError is the validation error returned by GetSubscriptionCatalogRequest.Validate if the designated constraints aren't met.
func (GetSubscriptionCatalogRequestValidationError) Cause ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubscriptionCatalogRequestValidationError) Error ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscriptionCatalogRequestValidationError) ErrorName ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscriptionCatalogRequestValidationError) Field ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) Field() string
Field function returns field value.
func (GetSubscriptionCatalogRequestValidationError) Key ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) Key() bool
Key function returns key value.
func (GetSubscriptionCatalogRequestValidationError) Reason ¶ added in v1.0.9
func (e GetSubscriptionCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type GetSubscriptionReply ¶
type GetSubscriptionReply struct {
List []*SubscribeInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetSubscriptionReply) Descriptor
deprecated
func (*GetSubscriptionReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionReply.ProtoReflect.Descriptor instead.
func (*GetSubscriptionReply) GetList ¶
func (x *GetSubscriptionReply) GetList() []*SubscribeInfo
func (*GetSubscriptionReply) ProtoMessage ¶
func (*GetSubscriptionReply) ProtoMessage()
func (*GetSubscriptionReply) ProtoReflect ¶
func (x *GetSubscriptionReply) ProtoReflect() protoreflect.Message
func (*GetSubscriptionReply) Reset ¶
func (x *GetSubscriptionReply) Reset()
func (*GetSubscriptionReply) String ¶
func (x *GetSubscriptionReply) String() string
func (*GetSubscriptionReply) Validate ¶
func (m *GetSubscriptionReply) Validate() error
Validate checks the field values on GetSubscriptionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSubscriptionReply) ValidateAll ¶
func (m *GetSubscriptionReply) ValidateAll() error
ValidateAll checks the field values on GetSubscriptionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscriptionReplyMultiError, or nil if none found.
type GetSubscriptionReplyMultiError ¶
type GetSubscriptionReplyMultiError []error
GetSubscriptionReplyMultiError is an error wrapping multiple validation errors returned by GetSubscriptionReply.ValidateAll() if the designated constraints aren't met.
func (GetSubscriptionReplyMultiError) AllErrors ¶
func (m GetSubscriptionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscriptionReplyMultiError) Error ¶
func (m GetSubscriptionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscriptionReplyValidationError ¶
type GetSubscriptionReplyValidationError struct {
// contains filtered or unexported fields
}
GetSubscriptionReplyValidationError is the validation error returned by GetSubscriptionReply.Validate if the designated constraints aren't met.
func (GetSubscriptionReplyValidationError) Cause ¶
func (e GetSubscriptionReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSubscriptionReplyValidationError) Error ¶
func (e GetSubscriptionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscriptionReplyValidationError) ErrorName ¶
func (e GetSubscriptionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscriptionReplyValidationError) Field ¶
func (e GetSubscriptionReplyValidationError) Field() string
Field function returns field value.
func (GetSubscriptionReplyValidationError) Key ¶
func (e GetSubscriptionReplyValidationError) Key() bool
Key function returns key value.
func (GetSubscriptionReplyValidationError) Reason ¶
func (e GetSubscriptionReplyValidationError) Reason() string
Reason function returns reason value.
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct {
Language *string `protobuf:"bytes,1,opt,name=language,proto3,oneof" json:"language,omitempty"`
CategoryId int64 `protobuf:"varint,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSubscriptionRequest) Descriptor
deprecated
func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*GetSubscriptionRequest) GetCategoryId ¶ added in v1.0.9
func (x *GetSubscriptionRequest) GetCategoryId() int64
func (*GetSubscriptionRequest) GetLanguage ¶
func (x *GetSubscriptionRequest) GetLanguage() string
func (*GetSubscriptionRequest) ProtoMessage ¶
func (*GetSubscriptionRequest) ProtoMessage()
func (*GetSubscriptionRequest) ProtoReflect ¶
func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*GetSubscriptionRequest) Reset ¶
func (x *GetSubscriptionRequest) Reset()
func (*GetSubscriptionRequest) String ¶
func (x *GetSubscriptionRequest) String() string
func (*GetSubscriptionRequest) Validate ¶
func (m *GetSubscriptionRequest) Validate() error
Validate checks the field values on GetSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSubscriptionRequest) ValidateAll ¶
func (m *GetSubscriptionRequest) ValidateAll() error
ValidateAll checks the field values on GetSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscriptionRequestMultiError, or nil if none found.
type GetSubscriptionRequestMultiError ¶
type GetSubscriptionRequestMultiError []error
GetSubscriptionRequestMultiError is an error wrapping multiple validation errors returned by GetSubscriptionRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubscriptionRequestMultiError) AllErrors ¶
func (m GetSubscriptionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscriptionRequestMultiError) Error ¶
func (m GetSubscriptionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscriptionRequestValidationError ¶
type GetSubscriptionRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubscriptionRequestValidationError is the validation error returned by GetSubscriptionRequest.Validate if the designated constraints aren't met.
func (GetSubscriptionRequestValidationError) Cause ¶
func (e GetSubscriptionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubscriptionRequestValidationError) Error ¶
func (e GetSubscriptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscriptionRequestValidationError) ErrorName ¶
func (e GetSubscriptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscriptionRequestValidationError) Field ¶
func (e GetSubscriptionRequestValidationError) Field() string
Field function returns field value.
func (GetSubscriptionRequestValidationError) Key ¶
func (e GetSubscriptionRequestValidationError) Key() bool
Key function returns key value.
func (GetSubscriptionRequestValidationError) Reason ¶
func (e GetSubscriptionRequestValidationError) Reason() string
Reason function returns reason value.
type PaymentMethod ¶
type PaymentMethod struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
FeeMode uint32 `protobuf:"varint,6,opt,name=fee_mode,json=feeMode,proto3" json:"fee_mode,omitempty"`
FeePercent int64 `protobuf:"varint,7,opt,name=fee_percent,json=feePercent,proto3" json:"fee_percent,omitempty"`
FeeAmount int64 `protobuf:"varint,8,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentMethod) Descriptor
deprecated
func (*PaymentMethod) Descriptor() ([]byte, []int)
Deprecated: Use PaymentMethod.ProtoReflect.Descriptor instead.
func (*PaymentMethod) GetDescription ¶
func (x *PaymentMethod) GetDescription() string
func (*PaymentMethod) GetFeeAmount ¶
func (x *PaymentMethod) GetFeeAmount() int64
func (*PaymentMethod) GetFeeMode ¶
func (x *PaymentMethod) GetFeeMode() uint32
func (*PaymentMethod) GetFeePercent ¶
func (x *PaymentMethod) GetFeePercent() int64
func (*PaymentMethod) GetIcon ¶
func (x *PaymentMethod) GetIcon() string
func (*PaymentMethod) GetId ¶
func (x *PaymentMethod) GetId() int64
func (*PaymentMethod) GetName ¶
func (x *PaymentMethod) GetName() string
func (*PaymentMethod) GetPlatform ¶
func (x *PaymentMethod) GetPlatform() string
func (*PaymentMethod) ProtoMessage ¶
func (*PaymentMethod) ProtoMessage()
func (*PaymentMethod) ProtoReflect ¶
func (x *PaymentMethod) ProtoReflect() protoreflect.Message
func (*PaymentMethod) Reset ¶
func (x *PaymentMethod) Reset()
func (*PaymentMethod) String ¶
func (x *PaymentMethod) String() string
func (*PaymentMethod) Validate ¶
func (m *PaymentMethod) Validate() error
Validate checks the field values on PaymentMethod with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PaymentMethod) ValidateAll ¶
func (m *PaymentMethod) ValidateAll() error
ValidateAll checks the field values on PaymentMethod with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaymentMethodMultiError, or nil if none found.
type PaymentMethodMultiError ¶
type PaymentMethodMultiError []error
PaymentMethodMultiError is an error wrapping multiple validation errors returned by PaymentMethod.ValidateAll() if the designated constraints aren't met.
func (PaymentMethodMultiError) AllErrors ¶
func (m PaymentMethodMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PaymentMethodMultiError) Error ¶
func (m PaymentMethodMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PaymentMethodValidationError ¶
type PaymentMethodValidationError struct {
// contains filtered or unexported fields
}
PaymentMethodValidationError is the validation error returned by PaymentMethod.Validate if the designated constraints aren't met.
func (PaymentMethodValidationError) Cause ¶
func (e PaymentMethodValidationError) Cause() error
Cause function returns cause value.
func (PaymentMethodValidationError) Error ¶
func (e PaymentMethodValidationError) Error() string
Error satisfies the builtin error interface
func (PaymentMethodValidationError) ErrorName ¶
func (e PaymentMethodValidationError) ErrorName() string
ErrorName returns error name.
func (PaymentMethodValidationError) Field ¶
func (e PaymentMethodValidationError) Field() string
Field function returns field value.
func (PaymentMethodValidationError) Key ¶
func (e PaymentMethodValidationError) Key() bool
Key function returns key value.
func (PaymentMethodValidationError) Reason ¶
func (e PaymentMethodValidationError) Reason() string
Reason function returns reason value.
type PortalClient ¶
type PortalClient interface {
GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*GetSubscriptionReply, error)
GetSubscriptionCatalog(ctx context.Context, in *GetSubscriptionCatalogRequest, opts ...grpc.CallOption) (*GetSubscriptionCatalogReply, error)
PrePurchaseOrder(ctx context.Context, in *PrePurchaseOrderRequest, opts ...grpc.CallOption) (*PrePurchaseOrderReply, error)
Purchase(ctx context.Context, in *PurchaseRequest, opts ...grpc.CallOption) (*PurchaseReply, error)
GetAvailablePaymentMethods(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAvailablePaymentMethodsReply, error)
PurchaseCheckout(ctx context.Context, in *PurchaseCheckoutRequest, opts ...grpc.CallOption) (*PurchaseCheckoutReply, error)
QueryPurchaseOrder(ctx context.Context, in *QueryPurchaseOrderRequest, opts ...grpc.CallOption) (*QueryPurchaseOrderReply, error)
}
PortalClient is the client API for Portal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPortalClient ¶
func NewPortalClient(cc grpc.ClientConnInterface) PortalClient
type PortalHTTPClient ¶
type PortalHTTPClient interface {
GetAvailablePaymentMethods(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetAvailablePaymentMethodsReply, err error)
GetSubscription(ctx context.Context, req *GetSubscriptionRequest, opts ...http.CallOption) (rsp *GetSubscriptionReply, err error)
GetSubscriptionCatalog(ctx context.Context, req *GetSubscriptionCatalogRequest, opts ...http.CallOption) (rsp *GetSubscriptionCatalogReply, err error)
PrePurchaseOrder(ctx context.Context, req *PrePurchaseOrderRequest, opts ...http.CallOption) (rsp *PrePurchaseOrderReply, err error)
Purchase(ctx context.Context, req *PurchaseRequest, opts ...http.CallOption) (rsp *PurchaseReply, err error)
PurchaseCheckout(ctx context.Context, req *PurchaseCheckoutRequest, opts ...http.CallOption) (rsp *PurchaseCheckoutReply, err error)
QueryPurchaseOrder(ctx context.Context, req *QueryPurchaseOrderRequest, opts ...http.CallOption) (rsp *QueryPurchaseOrderReply, err error)
}
func NewPortalHTTPClient ¶
func NewPortalHTTPClient(client *http.Client) PortalHTTPClient
type PortalHTTPClientImpl ¶
type PortalHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*PortalHTTPClientImpl) GetAvailablePaymentMethods ¶
func (c *PortalHTTPClientImpl) GetAvailablePaymentMethods(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetAvailablePaymentMethodsReply, error)
func (*PortalHTTPClientImpl) GetSubscription ¶
func (c *PortalHTTPClientImpl) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...http.CallOption) (*GetSubscriptionReply, error)
func (*PortalHTTPClientImpl) GetSubscriptionCatalog ¶ added in v1.0.9
func (c *PortalHTTPClientImpl) GetSubscriptionCatalog(ctx context.Context, in *GetSubscriptionCatalogRequest, opts ...http.CallOption) (*GetSubscriptionCatalogReply, error)
func (*PortalHTTPClientImpl) PrePurchaseOrder ¶
func (c *PortalHTTPClientImpl) PrePurchaseOrder(ctx context.Context, in *PrePurchaseOrderRequest, opts ...http.CallOption) (*PrePurchaseOrderReply, error)
func (*PortalHTTPClientImpl) Purchase ¶
func (c *PortalHTTPClientImpl) Purchase(ctx context.Context, in *PurchaseRequest, opts ...http.CallOption) (*PurchaseReply, error)
func (*PortalHTTPClientImpl) PurchaseCheckout ¶
func (c *PortalHTTPClientImpl) PurchaseCheckout(ctx context.Context, in *PurchaseCheckoutRequest, opts ...http.CallOption) (*PurchaseCheckoutReply, error)
func (*PortalHTTPClientImpl) QueryPurchaseOrder ¶
func (c *PortalHTTPClientImpl) QueryPurchaseOrder(ctx context.Context, in *QueryPurchaseOrderRequest, opts ...http.CallOption) (*QueryPurchaseOrderReply, error)
type PortalHTTPServer ¶
type PortalHTTPServer interface {
GetAvailablePaymentMethods(context.Context, *emptypb.Empty) (*GetAvailablePaymentMethodsReply, error)
GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionReply, error)
GetSubscriptionCatalog(context.Context, *GetSubscriptionCatalogRequest) (*GetSubscriptionCatalogReply, error)
PrePurchaseOrder(context.Context, *PrePurchaseOrderRequest) (*PrePurchaseOrderReply, error)
Purchase(context.Context, *PurchaseRequest) (*PurchaseReply, error)
PurchaseCheckout(context.Context, *PurchaseCheckoutRequest) (*PurchaseCheckoutReply, error)
QueryPurchaseOrder(context.Context, *QueryPurchaseOrderRequest) (*QueryPurchaseOrderReply, error)
}
type PortalServer ¶
type PortalServer interface {
GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionReply, error)
GetSubscriptionCatalog(context.Context, *GetSubscriptionCatalogRequest) (*GetSubscriptionCatalogReply, error)
PrePurchaseOrder(context.Context, *PrePurchaseOrderRequest) (*PrePurchaseOrderReply, error)
Purchase(context.Context, *PurchaseRequest) (*PurchaseReply, error)
GetAvailablePaymentMethods(context.Context, *emptypb.Empty) (*GetAvailablePaymentMethodsReply, error)
PurchaseCheckout(context.Context, *PurchaseCheckoutRequest) (*PurchaseCheckoutReply, error)
QueryPurchaseOrder(context.Context, *QueryPurchaseOrderRequest) (*QueryPurchaseOrderReply, error)
// contains filtered or unexported methods
}
PortalServer is the server API for Portal service. All implementations must embed UnimplementedPortalServer for forward compatibility.
type PrePurchaseOrderReply ¶
type PrePurchaseOrderReply struct {
Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"`
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
Discount int64 `protobuf:"varint,3,opt,name=discount,proto3" json:"discount,omitempty"`
Coupon string `protobuf:"bytes,4,opt,name=coupon,proto3" json:"coupon,omitempty"`
CouponDiscount int64 `protobuf:"varint,5,opt,name=coupon_discount,json=couponDiscount,proto3" json:"coupon_discount,omitempty"`
FeeAmount int64 `protobuf:"varint,6,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
// contains filtered or unexported fields
}
func (*PrePurchaseOrderReply) Descriptor
deprecated
func (*PrePurchaseOrderReply) Descriptor() ([]byte, []int)
Deprecated: Use PrePurchaseOrderReply.ProtoReflect.Descriptor instead.
func (*PrePurchaseOrderReply) GetAmount ¶
func (x *PrePurchaseOrderReply) GetAmount() int64
func (*PrePurchaseOrderReply) GetCoupon ¶
func (x *PrePurchaseOrderReply) GetCoupon() string
func (*PrePurchaseOrderReply) GetCouponDiscount ¶
func (x *PrePurchaseOrderReply) GetCouponDiscount() int64
func (*PrePurchaseOrderReply) GetDiscount ¶
func (x *PrePurchaseOrderReply) GetDiscount() int64
func (*PrePurchaseOrderReply) GetFeeAmount ¶
func (x *PrePurchaseOrderReply) GetFeeAmount() int64
func (*PrePurchaseOrderReply) GetPrice ¶
func (x *PrePurchaseOrderReply) GetPrice() int64
func (*PrePurchaseOrderReply) ProtoMessage ¶
func (*PrePurchaseOrderReply) ProtoMessage()
func (*PrePurchaseOrderReply) ProtoReflect ¶
func (x *PrePurchaseOrderReply) ProtoReflect() protoreflect.Message
func (*PrePurchaseOrderReply) Reset ¶
func (x *PrePurchaseOrderReply) Reset()
func (*PrePurchaseOrderReply) String ¶
func (x *PrePurchaseOrderReply) String() string
func (*PrePurchaseOrderReply) Validate ¶
func (m *PrePurchaseOrderReply) Validate() error
Validate checks the field values on PrePurchaseOrderReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrePurchaseOrderReply) ValidateAll ¶
func (m *PrePurchaseOrderReply) ValidateAll() error
ValidateAll checks the field values on PrePurchaseOrderReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrePurchaseOrderReplyMultiError, or nil if none found.
type PrePurchaseOrderReplyMultiError ¶
type PrePurchaseOrderReplyMultiError []error
PrePurchaseOrderReplyMultiError is an error wrapping multiple validation errors returned by PrePurchaseOrderReply.ValidateAll() if the designated constraints aren't met.
func (PrePurchaseOrderReplyMultiError) AllErrors ¶
func (m PrePurchaseOrderReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrePurchaseOrderReplyMultiError) Error ¶
func (m PrePurchaseOrderReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrePurchaseOrderReplyValidationError ¶
type PrePurchaseOrderReplyValidationError struct {
// contains filtered or unexported fields
}
PrePurchaseOrderReplyValidationError is the validation error returned by PrePurchaseOrderReply.Validate if the designated constraints aren't met.
func (PrePurchaseOrderReplyValidationError) Cause ¶
func (e PrePurchaseOrderReplyValidationError) Cause() error
Cause function returns cause value.
func (PrePurchaseOrderReplyValidationError) Error ¶
func (e PrePurchaseOrderReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PrePurchaseOrderReplyValidationError) ErrorName ¶
func (e PrePurchaseOrderReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PrePurchaseOrderReplyValidationError) Field ¶
func (e PrePurchaseOrderReplyValidationError) Field() string
Field function returns field value.
func (PrePurchaseOrderReplyValidationError) Key ¶
func (e PrePurchaseOrderReplyValidationError) Key() bool
Key function returns key value.
func (PrePurchaseOrderReplyValidationError) Reason ¶
func (e PrePurchaseOrderReplyValidationError) Reason() string
Reason function returns reason value.
type PrePurchaseOrderRequest ¶
type PrePurchaseOrderRequest struct {
Payment int64 `protobuf:"varint,1,opt,name=payment,proto3" json:"payment,omitempty"`
SubscribeId int64 `protobuf:"varint,2,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
Quantity int64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
Coupon *string `protobuf:"bytes,4,opt,name=coupon,proto3,oneof" json:"coupon,omitempty"`
// contains filtered or unexported fields
}
func (*PrePurchaseOrderRequest) Descriptor
deprecated
func (*PrePurchaseOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrePurchaseOrderRequest.ProtoReflect.Descriptor instead.
func (*PrePurchaseOrderRequest) GetCoupon ¶
func (x *PrePurchaseOrderRequest) GetCoupon() string
func (*PrePurchaseOrderRequest) GetPayment ¶
func (x *PrePurchaseOrderRequest) GetPayment() int64
func (*PrePurchaseOrderRequest) GetQuantity ¶
func (x *PrePurchaseOrderRequest) GetQuantity() int64
func (*PrePurchaseOrderRequest) GetSubscribeId ¶
func (x *PrePurchaseOrderRequest) GetSubscribeId() int64
func (*PrePurchaseOrderRequest) ProtoMessage ¶
func (*PrePurchaseOrderRequest) ProtoMessage()
func (*PrePurchaseOrderRequest) ProtoReflect ¶
func (x *PrePurchaseOrderRequest) ProtoReflect() protoreflect.Message
func (*PrePurchaseOrderRequest) Reset ¶
func (x *PrePurchaseOrderRequest) Reset()
func (*PrePurchaseOrderRequest) String ¶
func (x *PrePurchaseOrderRequest) String() string
func (*PrePurchaseOrderRequest) Validate ¶
func (m *PrePurchaseOrderRequest) Validate() error
Validate checks the field values on PrePurchaseOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrePurchaseOrderRequest) ValidateAll ¶
func (m *PrePurchaseOrderRequest) ValidateAll() error
ValidateAll checks the field values on PrePurchaseOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrePurchaseOrderRequestMultiError, or nil if none found.
type PrePurchaseOrderRequestMultiError ¶
type PrePurchaseOrderRequestMultiError []error
PrePurchaseOrderRequestMultiError is an error wrapping multiple validation errors returned by PrePurchaseOrderRequest.ValidateAll() if the designated constraints aren't met.
func (PrePurchaseOrderRequestMultiError) AllErrors ¶
func (m PrePurchaseOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrePurchaseOrderRequestMultiError) Error ¶
func (m PrePurchaseOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrePurchaseOrderRequestValidationError ¶
type PrePurchaseOrderRequestValidationError struct {
// contains filtered or unexported fields
}
PrePurchaseOrderRequestValidationError is the validation error returned by PrePurchaseOrderRequest.Validate if the designated constraints aren't met.
func (PrePurchaseOrderRequestValidationError) Cause ¶
func (e PrePurchaseOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (PrePurchaseOrderRequestValidationError) Error ¶
func (e PrePurchaseOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrePurchaseOrderRequestValidationError) ErrorName ¶
func (e PrePurchaseOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrePurchaseOrderRequestValidationError) Field ¶
func (e PrePurchaseOrderRequestValidationError) Field() string
Field function returns field value.
func (PrePurchaseOrderRequestValidationError) Key ¶
func (e PrePurchaseOrderRequestValidationError) Key() bool
Key function returns key value.
func (PrePurchaseOrderRequestValidationError) Reason ¶
func (e PrePurchaseOrderRequestValidationError) Reason() string
Reason function returns reason value.
type PurchaseCheckoutReply ¶
type PurchaseCheckoutReply struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
CheckoutUrl *string `protobuf:"bytes,2,opt,name=checkout_url,json=checkoutUrl,proto3,oneof" json:"checkout_url,omitempty"`
Stripe *StripePayment `protobuf:"bytes,3,opt,name=stripe,proto3,oneof" json:"stripe,omitempty"`
// contains filtered or unexported fields
}
func (*PurchaseCheckoutReply) Descriptor
deprecated
func (*PurchaseCheckoutReply) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseCheckoutReply.ProtoReflect.Descriptor instead.
func (*PurchaseCheckoutReply) GetCheckoutUrl ¶
func (x *PurchaseCheckoutReply) GetCheckoutUrl() string
func (*PurchaseCheckoutReply) GetStripe ¶
func (x *PurchaseCheckoutReply) GetStripe() *StripePayment
func (*PurchaseCheckoutReply) GetType ¶
func (x *PurchaseCheckoutReply) GetType() string
func (*PurchaseCheckoutReply) ProtoMessage ¶
func (*PurchaseCheckoutReply) ProtoMessage()
func (*PurchaseCheckoutReply) ProtoReflect ¶
func (x *PurchaseCheckoutReply) ProtoReflect() protoreflect.Message
func (*PurchaseCheckoutReply) Reset ¶
func (x *PurchaseCheckoutReply) Reset()
func (*PurchaseCheckoutReply) String ¶
func (x *PurchaseCheckoutReply) String() string
func (*PurchaseCheckoutReply) Validate ¶
func (m *PurchaseCheckoutReply) Validate() error
Validate checks the field values on PurchaseCheckoutReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PurchaseCheckoutReply) ValidateAll ¶
func (m *PurchaseCheckoutReply) ValidateAll() error
ValidateAll checks the field values on PurchaseCheckoutReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PurchaseCheckoutReplyMultiError, or nil if none found.
type PurchaseCheckoutReplyMultiError ¶
type PurchaseCheckoutReplyMultiError []error
PurchaseCheckoutReplyMultiError is an error wrapping multiple validation errors returned by PurchaseCheckoutReply.ValidateAll() if the designated constraints aren't met.
func (PurchaseCheckoutReplyMultiError) AllErrors ¶
func (m PurchaseCheckoutReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurchaseCheckoutReplyMultiError) Error ¶
func (m PurchaseCheckoutReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurchaseCheckoutReplyValidationError ¶
type PurchaseCheckoutReplyValidationError struct {
// contains filtered or unexported fields
}
PurchaseCheckoutReplyValidationError is the validation error returned by PurchaseCheckoutReply.Validate if the designated constraints aren't met.
func (PurchaseCheckoutReplyValidationError) Cause ¶
func (e PurchaseCheckoutReplyValidationError) Cause() error
Cause function returns cause value.
func (PurchaseCheckoutReplyValidationError) Error ¶
func (e PurchaseCheckoutReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PurchaseCheckoutReplyValidationError) ErrorName ¶
func (e PurchaseCheckoutReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PurchaseCheckoutReplyValidationError) Field ¶
func (e PurchaseCheckoutReplyValidationError) Field() string
Field function returns field value.
func (PurchaseCheckoutReplyValidationError) Key ¶
func (e PurchaseCheckoutReplyValidationError) Key() bool
Key function returns key value.
func (PurchaseCheckoutReplyValidationError) Reason ¶
func (e PurchaseCheckoutReplyValidationError) Reason() string
Reason function returns reason value.
type PurchaseCheckoutRequest ¶
type PurchaseCheckoutRequest struct {
OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
ReturnUrl *string `protobuf:"bytes,2,opt,name=return_url,json=returnUrl,proto3,oneof" json:"return_url,omitempty"`
// contains filtered or unexported fields
}
func (*PurchaseCheckoutRequest) Descriptor
deprecated
func (*PurchaseCheckoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseCheckoutRequest.ProtoReflect.Descriptor instead.
func (*PurchaseCheckoutRequest) GetOrderNo ¶
func (x *PurchaseCheckoutRequest) GetOrderNo() string
func (*PurchaseCheckoutRequest) GetReturnUrl ¶
func (x *PurchaseCheckoutRequest) GetReturnUrl() string
func (*PurchaseCheckoutRequest) ProtoMessage ¶
func (*PurchaseCheckoutRequest) ProtoMessage()
func (*PurchaseCheckoutRequest) ProtoReflect ¶
func (x *PurchaseCheckoutRequest) ProtoReflect() protoreflect.Message
func (*PurchaseCheckoutRequest) Reset ¶
func (x *PurchaseCheckoutRequest) Reset()
func (*PurchaseCheckoutRequest) String ¶
func (x *PurchaseCheckoutRequest) String() string
func (*PurchaseCheckoutRequest) Validate ¶
func (m *PurchaseCheckoutRequest) Validate() error
Validate checks the field values on PurchaseCheckoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PurchaseCheckoutRequest) ValidateAll ¶
func (m *PurchaseCheckoutRequest) ValidateAll() error
ValidateAll checks the field values on PurchaseCheckoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PurchaseCheckoutRequestMultiError, or nil if none found.
type PurchaseCheckoutRequestMultiError ¶
type PurchaseCheckoutRequestMultiError []error
PurchaseCheckoutRequestMultiError is an error wrapping multiple validation errors returned by PurchaseCheckoutRequest.ValidateAll() if the designated constraints aren't met.
func (PurchaseCheckoutRequestMultiError) AllErrors ¶
func (m PurchaseCheckoutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurchaseCheckoutRequestMultiError) Error ¶
func (m PurchaseCheckoutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurchaseCheckoutRequestValidationError ¶
type PurchaseCheckoutRequestValidationError struct {
// contains filtered or unexported fields
}
PurchaseCheckoutRequestValidationError is the validation error returned by PurchaseCheckoutRequest.Validate if the designated constraints aren't met.
func (PurchaseCheckoutRequestValidationError) Cause ¶
func (e PurchaseCheckoutRequestValidationError) Cause() error
Cause function returns cause value.
func (PurchaseCheckoutRequestValidationError) Error ¶
func (e PurchaseCheckoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PurchaseCheckoutRequestValidationError) ErrorName ¶
func (e PurchaseCheckoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PurchaseCheckoutRequestValidationError) Field ¶
func (e PurchaseCheckoutRequestValidationError) Field() string
Field function returns field value.
func (PurchaseCheckoutRequestValidationError) Key ¶
func (e PurchaseCheckoutRequestValidationError) Key() bool
Key function returns key value.
func (PurchaseCheckoutRequestValidationError) Reason ¶
func (e PurchaseCheckoutRequestValidationError) Reason() string
Reason function returns reason value.
type PurchaseReply ¶
type PurchaseReply struct {
OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
// contains filtered or unexported fields
}
func (*PurchaseReply) Descriptor
deprecated
func (*PurchaseReply) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseReply.ProtoReflect.Descriptor instead.
func (*PurchaseReply) GetOrderNo ¶
func (x *PurchaseReply) GetOrderNo() string
func (*PurchaseReply) ProtoMessage ¶
func (*PurchaseReply) ProtoMessage()
func (*PurchaseReply) ProtoReflect ¶
func (x *PurchaseReply) ProtoReflect() protoreflect.Message
func (*PurchaseReply) Reset ¶
func (x *PurchaseReply) Reset()
func (*PurchaseReply) String ¶
func (x *PurchaseReply) String() string
func (*PurchaseReply) Validate ¶
func (m *PurchaseReply) Validate() error
Validate checks the field values on PurchaseReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PurchaseReply) ValidateAll ¶
func (m *PurchaseReply) ValidateAll() error
ValidateAll checks the field values on PurchaseReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PurchaseReplyMultiError, or nil if none found.
type PurchaseReplyMultiError ¶
type PurchaseReplyMultiError []error
PurchaseReplyMultiError is an error wrapping multiple validation errors returned by PurchaseReply.ValidateAll() if the designated constraints aren't met.
func (PurchaseReplyMultiError) AllErrors ¶
func (m PurchaseReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurchaseReplyMultiError) Error ¶
func (m PurchaseReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurchaseReplyValidationError ¶
type PurchaseReplyValidationError struct {
// contains filtered or unexported fields
}
PurchaseReplyValidationError is the validation error returned by PurchaseReply.Validate if the designated constraints aren't met.
func (PurchaseReplyValidationError) Cause ¶
func (e PurchaseReplyValidationError) Cause() error
Cause function returns cause value.
func (PurchaseReplyValidationError) Error ¶
func (e PurchaseReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PurchaseReplyValidationError) ErrorName ¶
func (e PurchaseReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PurchaseReplyValidationError) Field ¶
func (e PurchaseReplyValidationError) Field() string
Field function returns field value.
func (PurchaseReplyValidationError) Key ¶
func (e PurchaseReplyValidationError) Key() bool
Key function returns key value.
func (PurchaseReplyValidationError) Reason ¶
func (e PurchaseReplyValidationError) Reason() string
Reason function returns reason value.
type PurchaseRequest ¶
type PurchaseRequest struct {
AuthType string `protobuf:"bytes,1,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Payment int64 `protobuf:"varint,4,opt,name=payment,proto3" json:"payment,omitempty"`
SubscribeId int64 `protobuf:"varint,5,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
Quantity int64 `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
Coupon *string `protobuf:"bytes,7,opt,name=coupon,proto3,oneof" json:"coupon,omitempty"`
InviteCode *string `protobuf:"bytes,8,opt,name=invite_code,json=inviteCode,proto3,oneof" json:"invite_code,omitempty"`
TurnstileToken *string `protobuf:"bytes,9,opt,name=turnstile_token,json=turnstileToken,proto3,oneof" json:"turnstile_token,omitempty"`
// contains filtered or unexported fields
}
func (*PurchaseRequest) Descriptor
deprecated
func (*PurchaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseRequest.ProtoReflect.Descriptor instead.
func (*PurchaseRequest) GetAuthType ¶
func (x *PurchaseRequest) GetAuthType() string
func (*PurchaseRequest) GetCoupon ¶
func (x *PurchaseRequest) GetCoupon() string
func (*PurchaseRequest) GetIdentifier ¶
func (x *PurchaseRequest) GetIdentifier() string
func (*PurchaseRequest) GetInviteCode ¶
func (x *PurchaseRequest) GetInviteCode() string
func (*PurchaseRequest) GetPassword ¶
func (x *PurchaseRequest) GetPassword() string
func (*PurchaseRequest) GetPayment ¶
func (x *PurchaseRequest) GetPayment() int64
func (*PurchaseRequest) GetQuantity ¶
func (x *PurchaseRequest) GetQuantity() int64
func (*PurchaseRequest) GetSubscribeId ¶
func (x *PurchaseRequest) GetSubscribeId() int64
func (*PurchaseRequest) GetTurnstileToken ¶
func (x *PurchaseRequest) GetTurnstileToken() string
func (*PurchaseRequest) ProtoMessage ¶
func (*PurchaseRequest) ProtoMessage()
func (*PurchaseRequest) ProtoReflect ¶
func (x *PurchaseRequest) ProtoReflect() protoreflect.Message
func (*PurchaseRequest) Reset ¶
func (x *PurchaseRequest) Reset()
func (*PurchaseRequest) String ¶
func (x *PurchaseRequest) String() string
func (*PurchaseRequest) Validate ¶
func (m *PurchaseRequest) Validate() error
Validate checks the field values on PurchaseRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PurchaseRequest) ValidateAll ¶
func (m *PurchaseRequest) ValidateAll() error
ValidateAll checks the field values on PurchaseRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PurchaseRequestMultiError, or nil if none found.
type PurchaseRequestMultiError ¶
type PurchaseRequestMultiError []error
PurchaseRequestMultiError is an error wrapping multiple validation errors returned by PurchaseRequest.ValidateAll() if the designated constraints aren't met.
func (PurchaseRequestMultiError) AllErrors ¶
func (m PurchaseRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurchaseRequestMultiError) Error ¶
func (m PurchaseRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurchaseRequestValidationError ¶
type PurchaseRequestValidationError struct {
// contains filtered or unexported fields
}
PurchaseRequestValidationError is the validation error returned by PurchaseRequest.Validate if the designated constraints aren't met.
func (PurchaseRequestValidationError) Cause ¶
func (e PurchaseRequestValidationError) Cause() error
Cause function returns cause value.
func (PurchaseRequestValidationError) Error ¶
func (e PurchaseRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PurchaseRequestValidationError) ErrorName ¶
func (e PurchaseRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PurchaseRequestValidationError) Field ¶
func (e PurchaseRequestValidationError) Field() string
Field function returns field value.
func (PurchaseRequestValidationError) Key ¶
func (e PurchaseRequestValidationError) Key() bool
Key function returns key value.
func (PurchaseRequestValidationError) Reason ¶
func (e PurchaseRequestValidationError) Reason() string
Reason function returns reason value.
type QueryPurchaseOrderReply ¶
type QueryPurchaseOrderReply struct {
OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
Subscribe *SubscribeInfo `protobuf:"bytes,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
Quantity int64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
Price int64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"`
Discount int64 `protobuf:"varint,6,opt,name=discount,proto3" json:"discount,omitempty"`
Coupon string `protobuf:"bytes,7,opt,name=coupon,proto3" json:"coupon,omitempty"`
CouponDiscount int64 `protobuf:"varint,8,opt,name=coupon_discount,json=couponDiscount,proto3" json:"coupon_discount,omitempty"`
FeeAmount int64 `protobuf:"varint,9,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
Payment *PaymentMethod `protobuf:"bytes,10,opt,name=payment,proto3" json:"payment,omitempty"`
Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Token string `protobuf:"bytes,13,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*QueryPurchaseOrderReply) Descriptor
deprecated
func (*QueryPurchaseOrderReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryPurchaseOrderReply.ProtoReflect.Descriptor instead.
func (*QueryPurchaseOrderReply) GetAmount ¶
func (x *QueryPurchaseOrderReply) GetAmount() int64
func (*QueryPurchaseOrderReply) GetCoupon ¶
func (x *QueryPurchaseOrderReply) GetCoupon() string
func (*QueryPurchaseOrderReply) GetCouponDiscount ¶
func (x *QueryPurchaseOrderReply) GetCouponDiscount() int64
func (*QueryPurchaseOrderReply) GetCreatedAt ¶
func (x *QueryPurchaseOrderReply) GetCreatedAt() int64
func (*QueryPurchaseOrderReply) GetDiscount ¶
func (x *QueryPurchaseOrderReply) GetDiscount() int64
func (*QueryPurchaseOrderReply) GetFeeAmount ¶
func (x *QueryPurchaseOrderReply) GetFeeAmount() int64
func (*QueryPurchaseOrderReply) GetOrderNo ¶
func (x *QueryPurchaseOrderReply) GetOrderNo() string
func (*QueryPurchaseOrderReply) GetPayment ¶
func (x *QueryPurchaseOrderReply) GetPayment() *PaymentMethod
func (*QueryPurchaseOrderReply) GetPrice ¶
func (x *QueryPurchaseOrderReply) GetPrice() int64
func (*QueryPurchaseOrderReply) GetQuantity ¶
func (x *QueryPurchaseOrderReply) GetQuantity() int64
func (*QueryPurchaseOrderReply) GetStatus ¶
func (x *QueryPurchaseOrderReply) GetStatus() int32
func (*QueryPurchaseOrderReply) GetSubscribe ¶
func (x *QueryPurchaseOrderReply) GetSubscribe() *SubscribeInfo
func (*QueryPurchaseOrderReply) GetToken ¶
func (x *QueryPurchaseOrderReply) GetToken() string
func (*QueryPurchaseOrderReply) ProtoMessage ¶
func (*QueryPurchaseOrderReply) ProtoMessage()
func (*QueryPurchaseOrderReply) ProtoReflect ¶
func (x *QueryPurchaseOrderReply) ProtoReflect() protoreflect.Message
func (*QueryPurchaseOrderReply) Reset ¶
func (x *QueryPurchaseOrderReply) Reset()
func (*QueryPurchaseOrderReply) String ¶
func (x *QueryPurchaseOrderReply) String() string
func (*QueryPurchaseOrderReply) Validate ¶
func (m *QueryPurchaseOrderReply) Validate() error
Validate checks the field values on QueryPurchaseOrderReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*QueryPurchaseOrderReply) ValidateAll ¶
func (m *QueryPurchaseOrderReply) ValidateAll() error
ValidateAll checks the field values on QueryPurchaseOrderReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryPurchaseOrderReplyMultiError, or nil if none found.
type QueryPurchaseOrderReplyMultiError ¶
type QueryPurchaseOrderReplyMultiError []error
QueryPurchaseOrderReplyMultiError is an error wrapping multiple validation errors returned by QueryPurchaseOrderReply.ValidateAll() if the designated constraints aren't met.
func (QueryPurchaseOrderReplyMultiError) AllErrors ¶
func (m QueryPurchaseOrderReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryPurchaseOrderReplyMultiError) Error ¶
func (m QueryPurchaseOrderReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryPurchaseOrderReplyValidationError ¶
type QueryPurchaseOrderReplyValidationError struct {
// contains filtered or unexported fields
}
QueryPurchaseOrderReplyValidationError is the validation error returned by QueryPurchaseOrderReply.Validate if the designated constraints aren't met.
func (QueryPurchaseOrderReplyValidationError) Cause ¶
func (e QueryPurchaseOrderReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryPurchaseOrderReplyValidationError) Error ¶
func (e QueryPurchaseOrderReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryPurchaseOrderReplyValidationError) ErrorName ¶
func (e QueryPurchaseOrderReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryPurchaseOrderReplyValidationError) Field ¶
func (e QueryPurchaseOrderReplyValidationError) Field() string
Field function returns field value.
func (QueryPurchaseOrderReplyValidationError) Key ¶
func (e QueryPurchaseOrderReplyValidationError) Key() bool
Key function returns key value.
func (QueryPurchaseOrderReplyValidationError) Reason ¶
func (e QueryPurchaseOrderReplyValidationError) Reason() string
Reason function returns reason value.
type QueryPurchaseOrderRequest ¶
type QueryPurchaseOrderRequest struct {
AuthType string `protobuf:"bytes,1,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
OrderNo string `protobuf:"bytes,3,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
// contains filtered or unexported fields
}
func (*QueryPurchaseOrderRequest) Descriptor
deprecated
func (*QueryPurchaseOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPurchaseOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryPurchaseOrderRequest) GetAuthType ¶
func (x *QueryPurchaseOrderRequest) GetAuthType() string
func (*QueryPurchaseOrderRequest) GetIdentifier ¶
func (x *QueryPurchaseOrderRequest) GetIdentifier() string
func (*QueryPurchaseOrderRequest) GetOrderNo ¶
func (x *QueryPurchaseOrderRequest) GetOrderNo() string
func (*QueryPurchaseOrderRequest) ProtoMessage ¶
func (*QueryPurchaseOrderRequest) ProtoMessage()
func (*QueryPurchaseOrderRequest) ProtoReflect ¶
func (x *QueryPurchaseOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryPurchaseOrderRequest) Reset ¶
func (x *QueryPurchaseOrderRequest) Reset()
func (*QueryPurchaseOrderRequest) String ¶
func (x *QueryPurchaseOrderRequest) String() string
func (*QueryPurchaseOrderRequest) Validate ¶
func (m *QueryPurchaseOrderRequest) Validate() error
Validate checks the field values on QueryPurchaseOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*QueryPurchaseOrderRequest) ValidateAll ¶
func (m *QueryPurchaseOrderRequest) ValidateAll() error
ValidateAll checks the field values on QueryPurchaseOrderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryPurchaseOrderRequestMultiError, or nil if none found.
type QueryPurchaseOrderRequestMultiError ¶
type QueryPurchaseOrderRequestMultiError []error
QueryPurchaseOrderRequestMultiError is an error wrapping multiple validation errors returned by QueryPurchaseOrderRequest.ValidateAll() if the designated constraints aren't met.
func (QueryPurchaseOrderRequestMultiError) AllErrors ¶
func (m QueryPurchaseOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryPurchaseOrderRequestMultiError) Error ¶
func (m QueryPurchaseOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryPurchaseOrderRequestValidationError ¶
type QueryPurchaseOrderRequestValidationError struct {
// contains filtered or unexported fields
}
QueryPurchaseOrderRequestValidationError is the validation error returned by QueryPurchaseOrderRequest.Validate if the designated constraints aren't met.
func (QueryPurchaseOrderRequestValidationError) Cause ¶
func (e QueryPurchaseOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryPurchaseOrderRequestValidationError) Error ¶
func (e QueryPurchaseOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryPurchaseOrderRequestValidationError) ErrorName ¶
func (e QueryPurchaseOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryPurchaseOrderRequestValidationError) Field ¶
func (e QueryPurchaseOrderRequestValidationError) Field() string
Field function returns field value.
func (QueryPurchaseOrderRequestValidationError) Key ¶
func (e QueryPurchaseOrderRequestValidationError) Key() bool
Key function returns key value.
func (QueryPurchaseOrderRequestValidationError) Reason ¶
func (e QueryPurchaseOrderRequestValidationError) Reason() string
Reason function returns reason value.
type StripePayment ¶
type StripePayment struct {
PublishableKey string `protobuf:"bytes,1,opt,name=publishable_key,json=publishableKey,proto3" json:"publishable_key,omitempty"`
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*StripePayment) Descriptor
deprecated
func (*StripePayment) Descriptor() ([]byte, []int)
Deprecated: Use StripePayment.ProtoReflect.Descriptor instead.
func (*StripePayment) GetClientSecret ¶
func (x *StripePayment) GetClientSecret() string
func (*StripePayment) GetMethod ¶
func (x *StripePayment) GetMethod() string
func (*StripePayment) GetPublishableKey ¶
func (x *StripePayment) GetPublishableKey() string
func (*StripePayment) ProtoMessage ¶
func (*StripePayment) ProtoMessage()
func (*StripePayment) ProtoReflect ¶
func (x *StripePayment) ProtoReflect() protoreflect.Message
func (*StripePayment) Reset ¶
func (x *StripePayment) Reset()
func (*StripePayment) String ¶
func (x *StripePayment) String() string
func (*StripePayment) Validate ¶
func (m *StripePayment) Validate() error
Validate checks the field values on StripePayment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StripePayment) ValidateAll ¶
func (m *StripePayment) ValidateAll() error
ValidateAll checks the field values on StripePayment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StripePaymentMultiError, or nil if none found.
type StripePaymentMultiError ¶
type StripePaymentMultiError []error
StripePaymentMultiError is an error wrapping multiple validation errors returned by StripePayment.ValidateAll() if the designated constraints aren't met.
func (StripePaymentMultiError) AllErrors ¶
func (m StripePaymentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StripePaymentMultiError) Error ¶
func (m StripePaymentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StripePaymentValidationError ¶
type StripePaymentValidationError struct {
// contains filtered or unexported fields
}
StripePaymentValidationError is the validation error returned by StripePayment.Validate if the designated constraints aren't met.
func (StripePaymentValidationError) Cause ¶
func (e StripePaymentValidationError) Cause() error
Cause function returns cause value.
func (StripePaymentValidationError) Error ¶
func (e StripePaymentValidationError) Error() string
Error satisfies the builtin error interface
func (StripePaymentValidationError) ErrorName ¶
func (e StripePaymentValidationError) ErrorName() string
ErrorName returns error name.
func (StripePaymentValidationError) Field ¶
func (e StripePaymentValidationError) Field() string
Field function returns field value.
func (StripePaymentValidationError) Key ¶
func (e StripePaymentValidationError) Key() bool
Key function returns key value.
func (StripePaymentValidationError) Reason ¶
func (e StripePaymentValidationError) Reason() string
Reason function returns reason value.
type SubscribeCategory ¶ added in v1.0.9
type SubscribeCategory struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`
Show bool `protobuf:"varint,6,opt,name=show,proto3" json:"show,omitempty"`
Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
List []*SubscribeInfo `protobuf:"bytes,8,rep,name=list,proto3" json:"list,omitempty"`
Children []*SubscribeCategory `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeCategory) Descriptor
deprecated
added in
v1.0.9
func (*SubscribeCategory) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCategory.ProtoReflect.Descriptor instead.
func (*SubscribeCategory) GetChildren ¶ added in v1.0.9
func (x *SubscribeCategory) GetChildren() []*SubscribeCategory
func (*SubscribeCategory) GetDescription ¶ added in v1.0.9
func (x *SubscribeCategory) GetDescription() string
func (*SubscribeCategory) GetId ¶ added in v1.0.9
func (x *SubscribeCategory) GetId() int64
func (*SubscribeCategory) GetLanguage ¶ added in v1.0.9
func (x *SubscribeCategory) GetLanguage() string
func (*SubscribeCategory) GetList ¶ added in v1.0.9
func (x *SubscribeCategory) GetList() []*SubscribeInfo
func (*SubscribeCategory) GetName ¶ added in v1.0.9
func (x *SubscribeCategory) GetName() string
func (*SubscribeCategory) GetParentId ¶ added in v1.0.9
func (x *SubscribeCategory) GetParentId() int64
func (*SubscribeCategory) GetShow ¶ added in v1.0.9
func (x *SubscribeCategory) GetShow() bool
func (*SubscribeCategory) GetSort ¶ added in v1.0.9
func (x *SubscribeCategory) GetSort() int32
func (*SubscribeCategory) ProtoMessage ¶ added in v1.0.9
func (*SubscribeCategory) ProtoMessage()
func (*SubscribeCategory) ProtoReflect ¶ added in v1.0.9
func (x *SubscribeCategory) ProtoReflect() protoreflect.Message
func (*SubscribeCategory) Reset ¶ added in v1.0.9
func (x *SubscribeCategory) Reset()
func (*SubscribeCategory) String ¶ added in v1.0.9
func (x *SubscribeCategory) String() string
func (*SubscribeCategory) Validate ¶ added in v1.0.9
func (m *SubscribeCategory) Validate() error
Validate checks the field values on SubscribeCategory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeCategory) ValidateAll ¶ added in v1.0.9
func (m *SubscribeCategory) ValidateAll() error
ValidateAll checks the field values on SubscribeCategory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeCategoryMultiError, or nil if none found.
type SubscribeCategoryMultiError ¶ added in v1.0.9
type SubscribeCategoryMultiError []error
SubscribeCategoryMultiError is an error wrapping multiple validation errors returned by SubscribeCategory.ValidateAll() if the designated constraints aren't met.
func (SubscribeCategoryMultiError) AllErrors ¶ added in v1.0.9
func (m SubscribeCategoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeCategoryMultiError) Error ¶ added in v1.0.9
func (m SubscribeCategoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeCategoryValidationError ¶ added in v1.0.9
type SubscribeCategoryValidationError struct {
// contains filtered or unexported fields
}
SubscribeCategoryValidationError is the validation error returned by SubscribeCategory.Validate if the designated constraints aren't met.
func (SubscribeCategoryValidationError) Cause ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Cause() error
Cause function returns cause value.
func (SubscribeCategoryValidationError) Error ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeCategoryValidationError) ErrorName ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeCategoryValidationError) Field ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Field() string
Field function returns field value.
func (SubscribeCategoryValidationError) Key ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Key() bool
Key function returns key value.
func (SubscribeCategoryValidationError) Reason ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Reason() string
Reason function returns reason value.
type SubscribeDiscount ¶
type SubscribeDiscount struct {
Quantity int64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
Discount int64 `protobuf:"varint,2,opt,name=discount,proto3" json:"discount,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeDiscount) Descriptor
deprecated
func (*SubscribeDiscount) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeDiscount.ProtoReflect.Descriptor instead.
func (*SubscribeDiscount) GetDiscount ¶
func (x *SubscribeDiscount) GetDiscount() int64
func (*SubscribeDiscount) GetQuantity ¶
func (x *SubscribeDiscount) GetQuantity() int64
func (*SubscribeDiscount) ProtoMessage ¶
func (*SubscribeDiscount) ProtoMessage()
func (*SubscribeDiscount) ProtoReflect ¶
func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
func (*SubscribeDiscount) Reset ¶
func (x *SubscribeDiscount) Reset()
func (*SubscribeDiscount) String ¶
func (x *SubscribeDiscount) String() string
func (*SubscribeDiscount) Validate ¶
func (m *SubscribeDiscount) Validate() error
Validate checks the field values on SubscribeDiscount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeDiscount) ValidateAll ¶
func (m *SubscribeDiscount) ValidateAll() error
ValidateAll checks the field values on SubscribeDiscount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeDiscountMultiError, or nil if none found.
type SubscribeDiscountMultiError ¶
type SubscribeDiscountMultiError []error
SubscribeDiscountMultiError is an error wrapping multiple validation errors returned by SubscribeDiscount.ValidateAll() if the designated constraints aren't met.
func (SubscribeDiscountMultiError) AllErrors ¶
func (m SubscribeDiscountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeDiscountMultiError) Error ¶
func (m SubscribeDiscountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeDiscountValidationError ¶
type SubscribeDiscountValidationError struct {
// contains filtered or unexported fields
}
SubscribeDiscountValidationError is the validation error returned by SubscribeDiscount.Validate if the designated constraints aren't met.
func (SubscribeDiscountValidationError) Cause ¶
func (e SubscribeDiscountValidationError) Cause() error
Cause function returns cause value.
func (SubscribeDiscountValidationError) Error ¶
func (e SubscribeDiscountValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeDiscountValidationError) ErrorName ¶
func (e SubscribeDiscountValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeDiscountValidationError) Field ¶
func (e SubscribeDiscountValidationError) Field() string
Field function returns field value.
func (SubscribeDiscountValidationError) Key ¶
func (e SubscribeDiscountValidationError) Key() bool
Key function returns key value.
func (SubscribeDiscountValidationError) Reason ¶
func (e SubscribeDiscountValidationError) Reason() string
Reason function returns reason value.
type SubscribeInfo ¶
type SubscribeInfo struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
UnitPrice int64 `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
UnitTime string `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`
Discount []*SubscribeDiscount `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`
Replacement int64 `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`
Inventory int32 `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`
Traffic int64 `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`
SpeedLimit int32 `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
DeviceLimit int32 `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
Quota int32 `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`
CategoryId int64 `protobuf:"varint,29,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
CategoryName string `protobuf:"bytes,30,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
Nodes []int64 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
NodeTags []string `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
NodeGroupId int64 `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
TrafficLimit []*TrafficLimit `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`
Show bool `protobuf:"varint,19,opt,name=show,proto3" json:"show,omitempty"`
Sell bool `protobuf:"varint,20,opt,name=sell,proto3" json:"sell,omitempty"`
Sort int32 `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`
DeductionRatio int32 `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`
AllowDeduction bool `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3" json:"allow_deduction,omitempty"`
ResetCycle int32 `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`
RenewalReset bool `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3" json:"renewal_reset,omitempty"`
ShowOriginalPrice bool `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"`
CreatedAt int64 `protobuf:"varint,27,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,28,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeInfo) Descriptor
deprecated
func (*SubscribeInfo) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeInfo.ProtoReflect.Descriptor instead.
func (*SubscribeInfo) GetAllowDeduction ¶
func (x *SubscribeInfo) GetAllowDeduction() bool
func (*SubscribeInfo) GetCategoryId ¶ added in v1.0.9
func (x *SubscribeInfo) GetCategoryId() int64
func (*SubscribeInfo) GetCategoryName ¶ added in v1.0.9
func (x *SubscribeInfo) GetCategoryName() string
func (*SubscribeInfo) GetCreatedAt ¶
func (x *SubscribeInfo) GetCreatedAt() int64
func (*SubscribeInfo) GetDeductionRatio ¶
func (x *SubscribeInfo) GetDeductionRatio() int32
func (*SubscribeInfo) GetDescription ¶
func (x *SubscribeInfo) GetDescription() string
func (*SubscribeInfo) GetDeviceLimit ¶
func (x *SubscribeInfo) GetDeviceLimit() int32
func (*SubscribeInfo) GetDiscount ¶
func (x *SubscribeInfo) GetDiscount() []*SubscribeDiscount
func (*SubscribeInfo) GetId ¶
func (x *SubscribeInfo) GetId() int64
func (*SubscribeInfo) GetInventory ¶
func (x *SubscribeInfo) GetInventory() int32
func (*SubscribeInfo) GetLanguage ¶
func (x *SubscribeInfo) GetLanguage() string
func (*SubscribeInfo) GetName ¶
func (x *SubscribeInfo) GetName() string
func (*SubscribeInfo) GetNodeGroupId ¶
func (x *SubscribeInfo) GetNodeGroupId() int64
func (*SubscribeInfo) GetNodeGroupIds ¶
func (x *SubscribeInfo) GetNodeGroupIds() []int64
func (*SubscribeInfo) GetNodeTags ¶
func (x *SubscribeInfo) GetNodeTags() []string
func (*SubscribeInfo) GetNodes ¶
func (x *SubscribeInfo) GetNodes() []int64
func (*SubscribeInfo) GetQuota ¶
func (x *SubscribeInfo) GetQuota() int32
func (*SubscribeInfo) GetRenewalReset ¶
func (x *SubscribeInfo) GetRenewalReset() bool
func (*SubscribeInfo) GetReplacement ¶
func (x *SubscribeInfo) GetReplacement() int64
func (*SubscribeInfo) GetResetCycle ¶
func (x *SubscribeInfo) GetResetCycle() int32
func (*SubscribeInfo) GetSell ¶
func (x *SubscribeInfo) GetSell() bool
func (*SubscribeInfo) GetShow ¶
func (x *SubscribeInfo) GetShow() bool
func (*SubscribeInfo) GetShowOriginalPrice ¶
func (x *SubscribeInfo) GetShowOriginalPrice() bool
func (*SubscribeInfo) GetSort ¶
func (x *SubscribeInfo) GetSort() int32
func (*SubscribeInfo) GetSpeedLimit ¶
func (x *SubscribeInfo) GetSpeedLimit() int32
func (*SubscribeInfo) GetTraffic ¶
func (x *SubscribeInfo) GetTraffic() int64
func (*SubscribeInfo) GetTrafficLimit ¶
func (x *SubscribeInfo) GetTrafficLimit() []*TrafficLimit
func (*SubscribeInfo) GetUnitPrice ¶
func (x *SubscribeInfo) GetUnitPrice() int64
func (*SubscribeInfo) GetUnitTime ¶
func (x *SubscribeInfo) GetUnitTime() string
func (*SubscribeInfo) GetUpdatedAt ¶
func (x *SubscribeInfo) GetUpdatedAt() int64
func (*SubscribeInfo) ProtoMessage ¶
func (*SubscribeInfo) ProtoMessage()
func (*SubscribeInfo) ProtoReflect ¶
func (x *SubscribeInfo) ProtoReflect() protoreflect.Message
func (*SubscribeInfo) Reset ¶
func (x *SubscribeInfo) Reset()
func (*SubscribeInfo) String ¶
func (x *SubscribeInfo) String() string
func (*SubscribeInfo) Validate ¶
func (m *SubscribeInfo) Validate() error
Validate checks the field values on SubscribeInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeInfo) ValidateAll ¶
func (m *SubscribeInfo) ValidateAll() error
ValidateAll checks the field values on SubscribeInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeInfoMultiError, or nil if none found.
type SubscribeInfoMultiError ¶
type SubscribeInfoMultiError []error
SubscribeInfoMultiError is an error wrapping multiple validation errors returned by SubscribeInfo.ValidateAll() if the designated constraints aren't met.
func (SubscribeInfoMultiError) AllErrors ¶
func (m SubscribeInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeInfoMultiError) Error ¶
func (m SubscribeInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeInfoValidationError ¶
type SubscribeInfoValidationError struct {
// contains filtered or unexported fields
}
SubscribeInfoValidationError is the validation error returned by SubscribeInfo.Validate if the designated constraints aren't met.
func (SubscribeInfoValidationError) Cause ¶
func (e SubscribeInfoValidationError) Cause() error
Cause function returns cause value.
func (SubscribeInfoValidationError) Error ¶
func (e SubscribeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeInfoValidationError) ErrorName ¶
func (e SubscribeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeInfoValidationError) Field ¶
func (e SubscribeInfoValidationError) Field() string
Field function returns field value.
func (SubscribeInfoValidationError) Key ¶
func (e SubscribeInfoValidationError) Key() bool
Key function returns key value.
func (SubscribeInfoValidationError) Reason ¶
func (e SubscribeInfoValidationError) Reason() string
Reason function returns reason value.
type TrafficLimit ¶
type TrafficLimit struct {
StatType string `protobuf:"bytes,1,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`
StatValue int64 `protobuf:"varint,2,opt,name=stat_value,json=statValue,proto3" json:"stat_value,omitempty"`
TrafficUsage int64 `protobuf:"varint,3,opt,name=traffic_usage,json=trafficUsage,proto3" json:"traffic_usage,omitempty"`
SpeedLimit int32 `protobuf:"varint,4,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
// contains filtered or unexported fields
}
func (*TrafficLimit) Descriptor
deprecated
func (*TrafficLimit) Descriptor() ([]byte, []int)
Deprecated: Use TrafficLimit.ProtoReflect.Descriptor instead.
func (*TrafficLimit) GetSpeedLimit ¶
func (x *TrafficLimit) GetSpeedLimit() int32
func (*TrafficLimit) GetStatType ¶
func (x *TrafficLimit) GetStatType() string
func (*TrafficLimit) GetStatValue ¶
func (x *TrafficLimit) GetStatValue() int64
func (*TrafficLimit) GetTrafficUsage ¶
func (x *TrafficLimit) GetTrafficUsage() int64
func (*TrafficLimit) ProtoMessage ¶
func (*TrafficLimit) ProtoMessage()
func (*TrafficLimit) ProtoReflect ¶
func (x *TrafficLimit) ProtoReflect() protoreflect.Message
func (*TrafficLimit) Reset ¶
func (x *TrafficLimit) Reset()
func (*TrafficLimit) String ¶
func (x *TrafficLimit) String() string
func (*TrafficLimit) Validate ¶
func (m *TrafficLimit) Validate() error
Validate checks the field values on TrafficLimit with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TrafficLimit) ValidateAll ¶
func (m *TrafficLimit) ValidateAll() error
ValidateAll checks the field values on TrafficLimit with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TrafficLimitMultiError, or nil if none found.
type TrafficLimitMultiError ¶
type TrafficLimitMultiError []error
TrafficLimitMultiError is an error wrapping multiple validation errors returned by TrafficLimit.ValidateAll() if the designated constraints aren't met.
func (TrafficLimitMultiError) AllErrors ¶
func (m TrafficLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TrafficLimitMultiError) Error ¶
func (m TrafficLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TrafficLimitValidationError ¶
type TrafficLimitValidationError struct {
// contains filtered or unexported fields
}
TrafficLimitValidationError is the validation error returned by TrafficLimit.Validate if the designated constraints aren't met.
func (TrafficLimitValidationError) Cause ¶
func (e TrafficLimitValidationError) Cause() error
Cause function returns cause value.
func (TrafficLimitValidationError) Error ¶
func (e TrafficLimitValidationError) Error() string
Error satisfies the builtin error interface
func (TrafficLimitValidationError) ErrorName ¶
func (e TrafficLimitValidationError) ErrorName() string
ErrorName returns error name.
func (TrafficLimitValidationError) Field ¶
func (e TrafficLimitValidationError) Field() string
Field function returns field value.
func (TrafficLimitValidationError) Key ¶
func (e TrafficLimitValidationError) Key() bool
Key function returns key value.
func (TrafficLimitValidationError) Reason ¶
func (e TrafficLimitValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPortalServer ¶
type UnimplementedPortalServer struct{}
UnimplementedPortalServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPortalServer) GetAvailablePaymentMethods ¶
func (UnimplementedPortalServer) GetAvailablePaymentMethods(context.Context, *emptypb.Empty) (*GetAvailablePaymentMethodsReply, error)
func (UnimplementedPortalServer) GetSubscription ¶
func (UnimplementedPortalServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionReply, error)
func (UnimplementedPortalServer) GetSubscriptionCatalog ¶ added in v1.0.9
func (UnimplementedPortalServer) GetSubscriptionCatalog(context.Context, *GetSubscriptionCatalogRequest) (*GetSubscriptionCatalogReply, error)
func (UnimplementedPortalServer) PrePurchaseOrder ¶
func (UnimplementedPortalServer) PrePurchaseOrder(context.Context, *PrePurchaseOrderRequest) (*PrePurchaseOrderReply, error)
func (UnimplementedPortalServer) Purchase ¶
func (UnimplementedPortalServer) Purchase(context.Context, *PurchaseRequest) (*PurchaseReply, error)
func (UnimplementedPortalServer) PurchaseCheckout ¶
func (UnimplementedPortalServer) PurchaseCheckout(context.Context, *PurchaseCheckoutRequest) (*PurchaseCheckoutReply, error)
func (UnimplementedPortalServer) QueryPurchaseOrder ¶
func (UnimplementedPortalServer) QueryPurchaseOrder(context.Context, *QueryPurchaseOrderRequest) (*QueryPurchaseOrderReply, error)
type UnsafePortalServer ¶
type UnsafePortalServer interface {
// contains filtered or unexported methods
}
UnsafePortalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PortalServer will result in compilation errors.