recurringpb

package module
v0.0.0-...-838a961 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: GPL-3.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PayOneRepositoryServiceName = "p1payrepository"
	PayOneMicroserviceVersion   = "latest"

	PayOneTopicNotifyPaymentName  = "notify-payment"
	PayOneTopicNotifyMerchantName = "notify-merchant"

	RecurringSubscriptionExchangeName = "recurring-subscription"
	RecurringSubscriptionDeleteTopic  = "recurring-delete-subscription"

	OrderPublicStatusCreated     = "created"
	OrderPublicStatusProcessed   = "processed"
	OrderPublicStatusCanceled    = "canceled"
	OrderPublicStatusRejected    = "rejected"
	OrderPublicStatusRefund      = "refund"
	OrderPublicStatusRefunded    = "refunded"
	OrderPublicStatusPending     = "pending"
	OrderPublicStatusChargeback  = "chargeback"
	OrderPublicStatusChargedBack = "charged_back"
	OrderPublicStatusResolve     = "resolve"
	OrderPublicStatusResolved    = "resolved"
	OrderPublicStatusAuthorized  = "authorized"

	OrderStatusNew                         = 0
	OrderStatusPaymentSystemCreate         = 1
	OrderStatusPaymentSystemRejectOnCreate = 2
	OrderStatusPaymentSystemReject         = 3
	OrderStatusPaymentSystemComplete       = 4
	OrderStatusProjectInProgress           = 5
	OrderStatusProjectComplete             = 6
	OrderStatusProjectPending              = 7
	OrderStatusProjectReject               = 8
	OrderStatusRefund                      = 9
	OrderStatusChargeback                  = 10
	OrderStatusPaymentSystemDeclined       = 11
	OrderStatusPaymentSystemCanceled       = 12
	OrderStatusItemReplaced                = 13
	OrderStatusChargebackResolve           = 14
	OrderStatusRefunded                    = 15
	OrderStatusChargedBack                 = 16
	OrderStatusChargebackResolved          = 17
	OrderStatusAuthorized                  = 18

	PaymentSystemCardPayDateFormat  = "2006-01-02T15:04:05Z"
	PaymentSystemGroupAliasBankCard = "BANKCARD"
	PaymentSystemGroupAliasWebMoney = "WEBMONEY"
	PaymentSystemGroupAliasQiwi     = "QIWI"
	PaymentSystemGroupAliasNeteller = "NETELLER"
	PaymentSystemGroupAliasAlipay   = "ALIPAY"
	PaymentSystemGroupAliasBitcoin  = "BITCOIN"

	TaxjarTransactionsTopicName      = "taxjar-sync-transactions"
	TaxjarTransactionsRetryTopicName = "taxjar-sync-transactions-retry"
	TaxjarRefundsTopicName           = "taxjar-sync-refunds"
	TaxjarRefundsRetryTopicName      = "taxjar-sync-refunds-retry"
	TaxjarNotificationStatusPayment  = "taxjar-payment"
	TaxjarNotificationStatusRefund   = "taxjar-refund"
)

Variables

View Source
var File_entity_proto protoreflect.FileDescriptor
View Source
var File_repository_proto protoreflect.FileDescriptor
View Source
var File_xsolla_proto protoreflect.FileDescriptor

Functions

func RegisterRepositoryHandler

func RegisterRepositoryHandler(s server.Server, hdlr RepositoryHandler, opts ...server.HandlerOption) error

Types

type CardExpire

type CardExpire struct {

	// @inject_tag: json:"month"
	Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month"`
	// @inject_tag: json:"year"
	Year string `protobuf:"bytes,2,opt,name=year,proto3" json:"year"`
	// contains filtered or unexported fields
}

func (*CardExpire) Descriptor deprecated

func (*CardExpire) Descriptor() ([]byte, []int)

Deprecated: Use CardExpire.ProtoReflect.Descriptor instead.

func (*CardExpire) GetMonth

func (x *CardExpire) GetMonth() string

func (*CardExpire) GetYear

func (x *CardExpire) GetYear() string

func (*CardExpire) ProtoMessage

func (*CardExpire) ProtoMessage()

func (*CardExpire) ProtoReflect

func (x *CardExpire) ProtoReflect() protoreflect.Message

func (*CardExpire) Reset

func (x *CardExpire) Reset()

func (*CardExpire) String

func (x *CardExpire) String() string

type DeleteSavedCardRequest

type DeleteSavedCardRequest struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSavedCardRequest) Descriptor deprecated

func (*DeleteSavedCardRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSavedCardRequest.ProtoReflect.Descriptor instead.

func (*DeleteSavedCardRequest) GetId

func (x *DeleteSavedCardRequest) GetId() string

func (*DeleteSavedCardRequest) GetToken

func (x *DeleteSavedCardRequest) GetToken() string

func (*DeleteSavedCardRequest) ProtoMessage

func (*DeleteSavedCardRequest) ProtoMessage()

func (*DeleteSavedCardRequest) ProtoReflect

func (x *DeleteSavedCardRequest) ProtoReflect() protoreflect.Message

func (*DeleteSavedCardRequest) Reset

func (x *DeleteSavedCardRequest) Reset()

func (*DeleteSavedCardRequest) String

func (x *DeleteSavedCardRequest) String() string

type DeleteSavedCardResponse

type DeleteSavedCardResponse struct {
	Status  int32  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSavedCardResponse) Descriptor deprecated

func (*DeleteSavedCardResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSavedCardResponse.ProtoReflect.Descriptor instead.

func (*DeleteSavedCardResponse) GetMessage

func (x *DeleteSavedCardResponse) GetMessage() string

func (*DeleteSavedCardResponse) GetStatus

func (x *DeleteSavedCardResponse) GetStatus() int32

func (*DeleteSavedCardResponse) ProtoMessage

func (*DeleteSavedCardResponse) ProtoMessage()

func (*DeleteSavedCardResponse) ProtoReflect

func (x *DeleteSavedCardResponse) ProtoReflect() protoreflect.Message

func (*DeleteSavedCardResponse) Reset

func (x *DeleteSavedCardResponse) Reset()

func (*DeleteSavedCardResponse) String

func (x *DeleteSavedCardResponse) String() string

type FindByStringValue

type FindByStringValue struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*FindByStringValue) Descriptor deprecated

func (*FindByStringValue) Descriptor() ([]byte, []int)

Deprecated: Use FindByStringValue.ProtoReflect.Descriptor instead.

func (*FindByStringValue) GetValue

func (x *FindByStringValue) GetValue() string

func (*FindByStringValue) ProtoMessage

func (*FindByStringValue) ProtoMessage()

func (*FindByStringValue) ProtoReflect

func (x *FindByStringValue) ProtoReflect() protoreflect.Message

func (*FindByStringValue) Reset

func (x *FindByStringValue) Reset()

func (*FindByStringValue) String

func (x *FindByStringValue) String() string

type MgoExpire

type MgoExpire struct {
	Month string `bson:"month" json:"month"`
	Year  string `bson:"year" json:"year"`
}

type MgoMultiLang

type MgoMultiLang struct {
	Lang  string `bson:"lang"`
	Value string `bson:"value"`
}

type MgoSavedCard

type MgoSavedCard struct {
	Id          primitive.ObjectID `bson:"_id"`
	Token       string             `bson:"token"`
	ProjectId   primitive.ObjectID `bson:"project_id"`
	MerchantId  primitive.ObjectID `bson:"merchant_id"`
	MaskedPan   string             `bson:"masked_pan"`
	CardHolder  string             `bson:"card_holder"`
	Expire      *MgoExpire         `bson:"expire"`
	RecurringId string             `bson:"recurring_id"`
	IsActive    bool               `bson:"is_active"`
	CreatedAt   time.Time          `bson:"created_at"`
	UpdatedAt   time.Time          `bson:"updated_at"`
}

type RepositoryHandler

type RepositoryHandler interface {
	InsertSavedCard(context.Context, *SavedCardRequest, *Result) error
	DeleteSavedCard(context.Context, *DeleteSavedCardRequest, *DeleteSavedCardResponse) error
	FindSavedCards(context.Context, *SavedCardRequest, *SavedCardList) error
	FindSavedCardById(context.Context, *FindByStringValue, *SavedCard) error
}

type RepositoryService

type RepositoryService interface {
	InsertSavedCard(ctx context.Context, in *SavedCardRequest, opts ...client.CallOption) (*Result, error)
	DeleteSavedCard(ctx context.Context, in *DeleteSavedCardRequest, opts ...client.CallOption) (*DeleteSavedCardResponse, error)
	FindSavedCards(ctx context.Context, in *SavedCardRequest, opts ...client.CallOption) (*SavedCardList, error)
	FindSavedCardById(ctx context.Context, in *FindByStringValue, opts ...client.CallOption) (*SavedCard, error)
}

func NewRepositoryService

func NewRepositoryService(name string, c client.Client) RepositoryService

type Result

type Result struct {
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

func (*Result) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type SavedCard

type SavedCard struct {

	// @inject_tag: json:"id"
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Token      string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	ProjectId  string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	MerchantId string `protobuf:"bytes,4,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	// @inject_tag: json:"pan"
	MaskedPan  string `protobuf:"bytes,5,opt,name=masked_pan,json=maskedPan,proto3" json:"pan"`
	CardHolder string `protobuf:"bytes,6,opt,name=card_holder,json=cardHolder,proto3" json:"card_holder,omitempty"`
	// @inject_tag: json:"expire"
	Expire      *CardExpire          `protobuf:"bytes,7,opt,name=expire,proto3" json:"expire"`
	RecurringId string               `protobuf:"bytes,8,opt,name=recurring_id,json=recurringId,proto3" json:"recurring_id,omitempty"`
	IsActive    bool                 `protobuf:"varint,9,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	CreatedAt   *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamp.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SavedCard) Descriptor deprecated

func (*SavedCard) Descriptor() ([]byte, []int)

Deprecated: Use SavedCard.ProtoReflect.Descriptor instead.

func (*SavedCard) GetCardHolder

func (x *SavedCard) GetCardHolder() string

func (*SavedCard) GetCreatedAt

func (x *SavedCard) GetCreatedAt() *timestamp.Timestamp

func (*SavedCard) GetExpire

func (x *SavedCard) GetExpire() *CardExpire

func (*SavedCard) GetId

func (x *SavedCard) GetId() string

func (*SavedCard) GetIsActive

func (x *SavedCard) GetIsActive() bool

func (*SavedCard) GetMaskedPan

func (x *SavedCard) GetMaskedPan() string

func (*SavedCard) GetMerchantId

func (x *SavedCard) GetMerchantId() string

func (*SavedCard) GetProjectId

func (x *SavedCard) GetProjectId() string

func (*SavedCard) GetRecurringId

func (x *SavedCard) GetRecurringId() string

func (*SavedCard) GetToken

func (x *SavedCard) GetToken() string

func (*SavedCard) GetUpdatedAt

func (x *SavedCard) GetUpdatedAt() *timestamp.Timestamp

func (*SavedCard) MarshalBSON

func (s *SavedCard) MarshalBSON() ([]byte, error)

func (*SavedCard) ProtoMessage

func (*SavedCard) ProtoMessage()

func (*SavedCard) ProtoReflect

func (x *SavedCard) ProtoReflect() protoreflect.Message

func (*SavedCard) Reset

func (x *SavedCard) Reset()

func (*SavedCard) String

func (x *SavedCard) String() string

func (*SavedCard) UnmarshalBSON

func (s *SavedCard) UnmarshalBSON(raw []byte) error

type SavedCardList

type SavedCardList struct {
	SavedCards []*SavedCard `protobuf:"bytes,1,rep,name=saved_cards,json=savedCards,proto3" json:"saved_cards,omitempty"`
	// contains filtered or unexported fields
}

func (*SavedCardList) Descriptor deprecated

func (*SavedCardList) Descriptor() ([]byte, []int)

Deprecated: Use SavedCardList.ProtoReflect.Descriptor instead.

func (*SavedCardList) GetSavedCards

func (x *SavedCardList) GetSavedCards() []*SavedCard

func (*SavedCardList) ProtoMessage

func (*SavedCardList) ProtoMessage()

func (*SavedCardList) ProtoReflect

func (x *SavedCardList) ProtoReflect() protoreflect.Message

func (*SavedCardList) Reset

func (x *SavedCardList) Reset()

func (*SavedCardList) String

func (x *SavedCardList) String() string

type SavedCardRequest

type SavedCardRequest struct {
	Token       string      `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ProjectId   string      `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	MerchantId  string      `protobuf:"bytes,3,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"`
	MaskedPan   string      `protobuf:"bytes,4,opt,name=masked_pan,json=maskedPan,proto3" json:"masked_pan,omitempty"`
	CardHolder  string      `protobuf:"bytes,5,opt,name=card_holder,json=cardHolder,proto3" json:"card_holder,omitempty"`
	RecurringId string      `protobuf:"bytes,6,opt,name=recurring_id,json=recurringId,proto3" json:"recurring_id,omitempty"`
	Expire      *CardExpire `protobuf:"bytes,7,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*SavedCardRequest) Descriptor deprecated

func (*SavedCardRequest) Descriptor() ([]byte, []int)

Deprecated: Use SavedCardRequest.ProtoReflect.Descriptor instead.

func (*SavedCardRequest) GetCardHolder

func (x *SavedCardRequest) GetCardHolder() string

func (*SavedCardRequest) GetExpire

func (x *SavedCardRequest) GetExpire() *CardExpire

func (*SavedCardRequest) GetMaskedPan

func (x *SavedCardRequest) GetMaskedPan() string

func (*SavedCardRequest) GetMerchantId

func (x *SavedCardRequest) GetMerchantId() string

func (*SavedCardRequest) GetProjectId

func (x *SavedCardRequest) GetProjectId() string

func (*SavedCardRequest) GetRecurringId

func (x *SavedCardRequest) GetRecurringId() string

func (*SavedCardRequest) GetToken

func (x *SavedCardRequest) GetToken() string

func (*SavedCardRequest) ProtoMessage

func (*SavedCardRequest) ProtoMessage()

func (*SavedCardRequest) ProtoReflect

func (x *SavedCardRequest) ProtoReflect() protoreflect.Message

func (*SavedCardRequest) Reset

func (x *SavedCardRequest) Reset()

func (*SavedCardRequest) String

func (x *SavedCardRequest) String() string

type XSollaCheckNotification

type XSollaCheckNotification struct {
	NotificationType string      `protobuf:"bytes,1,opt,name=notification_type,json=notificationType,proto3" json:"notification_type,omitempty"`
	User             *XSollaUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaCheckNotification) Descriptor deprecated

func (*XSollaCheckNotification) Descriptor() ([]byte, []int)

Deprecated: Use XSollaCheckNotification.ProtoReflect.Descriptor instead.

func (*XSollaCheckNotification) GetNotificationType

func (x *XSollaCheckNotification) GetNotificationType() string

func (*XSollaCheckNotification) GetUser

func (x *XSollaCheckNotification) GetUser() *XSollaUser

func (*XSollaCheckNotification) ProtoMessage

func (*XSollaCheckNotification) ProtoMessage()

func (*XSollaCheckNotification) ProtoReflect

func (x *XSollaCheckNotification) ProtoReflect() protoreflect.Message

func (*XSollaCheckNotification) Reset

func (x *XSollaCheckNotification) Reset()

func (*XSollaCheckNotification) String

func (x *XSollaCheckNotification) String() string

type XSollaCheckout

type XSollaCheckout struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaCheckout) Descriptor deprecated

func (*XSollaCheckout) Descriptor() ([]byte, []int)

Deprecated: Use XSollaCheckout.ProtoReflect.Descriptor instead.

func (*XSollaCheckout) GetAmount

func (x *XSollaCheckout) GetAmount() float64

func (*XSollaCheckout) GetCurrency

func (x *XSollaCheckout) GetCurrency() string

func (*XSollaCheckout) ProtoMessage

func (*XSollaCheckout) ProtoMessage()

func (*XSollaCheckout) ProtoReflect

func (x *XSollaCheckout) ProtoReflect() protoreflect.Message

func (*XSollaCheckout) Reset

func (x *XSollaCheckout) Reset()

func (*XSollaCheckout) String

func (x *XSollaCheckout) String() string

type XSollaItem

type XSollaItem struct {
	Sku    string  `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaItem) Descriptor deprecated

func (*XSollaItem) Descriptor() ([]byte, []int)

Deprecated: Use XSollaItem.ProtoReflect.Descriptor instead.

func (*XSollaItem) GetAmount

func (x *XSollaItem) GetAmount() float64

func (*XSollaItem) GetSku

func (x *XSollaItem) GetSku() string

func (*XSollaItem) ProtoMessage

func (*XSollaItem) ProtoMessage()

func (*XSollaItem) ProtoReflect

func (x *XSollaItem) ProtoReflect() protoreflect.Message

func (*XSollaItem) Reset

func (x *XSollaItem) Reset()

func (*XSollaItem) String

func (x *XSollaItem) String() string

type XSollaPayment

type XSollaPayment struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaPayment) Descriptor deprecated

func (*XSollaPayment) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPayment.ProtoReflect.Descriptor instead.

func (*XSollaPayment) GetAmount

func (x *XSollaPayment) GetAmount() float64

func (*XSollaPayment) GetCurrency

func (x *XSollaPayment) GetCurrency() string

func (*XSollaPayment) ProtoMessage

func (*XSollaPayment) ProtoMessage()

func (*XSollaPayment) ProtoReflect

func (x *XSollaPayment) ProtoReflect() protoreflect.Message

func (*XSollaPayment) Reset

func (x *XSollaPayment) Reset()

func (*XSollaPayment) String

func (x *XSollaPayment) String() string

type XSollaPaymentDetails

type XSollaPaymentDetails struct {
	Payment                *XSollaPayment                `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
	Vat                    *XSollaVat                    `protobuf:"bytes,2,opt,name=vat,proto3" json:"vat,omitempty"`
	PayoutCurrencyRate     float64                       `protobuf:"fixed64,3,opt,name=payout_currency_rate,json=payoutCurrencyRate,proto3" json:"payout_currency_rate,omitempty"`
	Payout                 *XSollaPayout                 `protobuf:"bytes,4,opt,name=payout,proto3" json:"payout,omitempty"`
	XsollaFee              *XSollaXsollaFee              `protobuf:"bytes,5,opt,name=xsolla_fee,json=xsollaFee,proto3" json:"xsolla_fee,omitempty"`
	PaymentMethodFee       *XSollaPaymentMethodFee       `protobuf:"bytes,6,opt,name=payment_method_fee,json=paymentMethodFee,proto3" json:"payment_method_fee,omitempty"`
	RepatriationCommission *XSollaRepatriationCommission `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*XSollaPaymentDetails) Descriptor deprecated

func (*XSollaPaymentDetails) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPaymentDetails.ProtoReflect.Descriptor instead.

func (*XSollaPaymentDetails) GetPayment

func (x *XSollaPaymentDetails) GetPayment() *XSollaPayment

func (*XSollaPaymentDetails) GetPaymentMethodFee

func (x *XSollaPaymentDetails) GetPaymentMethodFee() *XSollaPaymentMethodFee

func (*XSollaPaymentDetails) GetPayout

func (x *XSollaPaymentDetails) GetPayout() *XSollaPayout

func (*XSollaPaymentDetails) GetPayoutCurrencyRate

func (x *XSollaPaymentDetails) GetPayoutCurrencyRate() float64

func (*XSollaPaymentDetails) GetRepatriationCommission

func (x *XSollaPaymentDetails) GetRepatriationCommission() *XSollaRepatriationCommission

func (*XSollaPaymentDetails) GetVat

func (x *XSollaPaymentDetails) GetVat() *XSollaVat

func (*XSollaPaymentDetails) GetXsollaFee

func (x *XSollaPaymentDetails) GetXsollaFee() *XSollaXsollaFee

func (*XSollaPaymentDetails) ProtoMessage

func (*XSollaPaymentDetails) ProtoMessage()

func (*XSollaPaymentDetails) ProtoReflect

func (x *XSollaPaymentDetails) ProtoReflect() protoreflect.Message

func (*XSollaPaymentDetails) Reset

func (x *XSollaPaymentDetails) Reset()

func (*XSollaPaymentDetails) String

func (x *XSollaPaymentDetails) String() string

type XSollaPaymentMethodFee

type XSollaPaymentMethodFee struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaPaymentMethodFee) Descriptor deprecated

func (*XSollaPaymentMethodFee) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPaymentMethodFee.ProtoReflect.Descriptor instead.

func (*XSollaPaymentMethodFee) GetAmount

func (x *XSollaPaymentMethodFee) GetAmount() float64

func (*XSollaPaymentMethodFee) GetCurrency

func (x *XSollaPaymentMethodFee) GetCurrency() string

func (*XSollaPaymentMethodFee) ProtoMessage

func (*XSollaPaymentMethodFee) ProtoMessage()

func (*XSollaPaymentMethodFee) ProtoReflect

func (x *XSollaPaymentMethodFee) ProtoReflect() protoreflect.Message

func (*XSollaPaymentMethodFee) Reset

func (x *XSollaPaymentMethodFee) Reset()

func (*XSollaPaymentMethodFee) String

func (x *XSollaPaymentMethodFee) String() string

type XSollaPaymentNotification

type XSollaPaymentNotification struct {
	NotificationType string                `protobuf:"bytes,1,opt,name=notification_type,json=notificationType,proto3" json:"notification_type,omitempty"`
	Purchase         *XSollaPurchase       `protobuf:"bytes,2,opt,name=purchase,proto3" json:"purchase,omitempty"`
	User             *XSollaUser           `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	Transaction      *XSollaTransaction    `protobuf:"bytes,4,opt,name=transaction,proto3" json:"transaction,omitempty"`
	PaymentDetails   *XSollaPaymentDetails `protobuf:"bytes,5,opt,name=payment_details,json=paymentDetails,proto3" json:"payment_details,omitempty"`
	CustomParameters map[string]string     `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*XSollaPaymentNotification) Descriptor deprecated

func (*XSollaPaymentNotification) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPaymentNotification.ProtoReflect.Descriptor instead.

func (*XSollaPaymentNotification) GetCustomParameters

func (x *XSollaPaymentNotification) GetCustomParameters() map[string]string

func (*XSollaPaymentNotification) GetNotificationType

func (x *XSollaPaymentNotification) GetNotificationType() string

func (*XSollaPaymentNotification) GetPaymentDetails

func (x *XSollaPaymentNotification) GetPaymentDetails() *XSollaPaymentDetails

func (*XSollaPaymentNotification) GetPurchase

func (x *XSollaPaymentNotification) GetPurchase() *XSollaPurchase

func (*XSollaPaymentNotification) GetTransaction

func (x *XSollaPaymentNotification) GetTransaction() *XSollaTransaction

func (*XSollaPaymentNotification) GetUser

func (x *XSollaPaymentNotification) GetUser() *XSollaUser

func (*XSollaPaymentNotification) ProtoMessage

func (*XSollaPaymentNotification) ProtoMessage()

func (*XSollaPaymentNotification) ProtoReflect

func (*XSollaPaymentNotification) Reset

func (x *XSollaPaymentNotification) Reset()

func (*XSollaPaymentNotification) String

func (x *XSollaPaymentNotification) String() string

type XSollaPayout

type XSollaPayout struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaPayout) Descriptor deprecated

func (*XSollaPayout) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPayout.ProtoReflect.Descriptor instead.

func (*XSollaPayout) GetAmount

func (x *XSollaPayout) GetAmount() float64

func (*XSollaPayout) GetCurrency

func (x *XSollaPayout) GetCurrency() string

func (*XSollaPayout) ProtoMessage

func (*XSollaPayout) ProtoMessage()

func (*XSollaPayout) ProtoReflect

func (x *XSollaPayout) ProtoReflect() protoreflect.Message

func (*XSollaPayout) Reset

func (x *XSollaPayout) Reset()

func (*XSollaPayout) String

func (x *XSollaPayout) String() string

type XSollaPurchase

type XSollaPurchase struct {
	VirtualCurrency *XSollaVirtualCurrency `protobuf:"bytes,1,opt,name=virtual_currency,json=virtualCurrency,proto3" json:"virtual_currency,omitempty"`
	Checkout        *XSollaCheckout        `protobuf:"bytes,2,opt,name=checkout,proto3" json:"checkout,omitempty"`
	VirtualItems    *XSollaVirtualItems    `protobuf:"bytes,3,opt,name=virtual_items,json=virtualItems,proto3" json:"virtual_items,omitempty"`
	Total           *XSollaTotal           `protobuf:"bytes,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaPurchase) Descriptor deprecated

func (*XSollaPurchase) Descriptor() ([]byte, []int)

Deprecated: Use XSollaPurchase.ProtoReflect.Descriptor instead.

func (*XSollaPurchase) GetCheckout

func (x *XSollaPurchase) GetCheckout() *XSollaCheckout

func (*XSollaPurchase) GetTotal

func (x *XSollaPurchase) GetTotal() *XSollaTotal

func (*XSollaPurchase) GetVirtualCurrency

func (x *XSollaPurchase) GetVirtualCurrency() *XSollaVirtualCurrency

func (*XSollaPurchase) GetVirtualItems

func (x *XSollaPurchase) GetVirtualItems() *XSollaVirtualItems

func (*XSollaPurchase) ProtoMessage

func (*XSollaPurchase) ProtoMessage()

func (*XSollaPurchase) ProtoReflect

func (x *XSollaPurchase) ProtoReflect() protoreflect.Message

func (*XSollaPurchase) Reset

func (x *XSollaPurchase) Reset()

func (*XSollaPurchase) String

func (x *XSollaPurchase) String() string

type XSollaRepatriationCommission

type XSollaRepatriationCommission struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaRepatriationCommission) Descriptor deprecated

func (*XSollaRepatriationCommission) Descriptor() ([]byte, []int)

Deprecated: Use XSollaRepatriationCommission.ProtoReflect.Descriptor instead.

func (*XSollaRepatriationCommission) GetAmount

func (x *XSollaRepatriationCommission) GetAmount() float64

func (*XSollaRepatriationCommission) GetCurrency

func (x *XSollaRepatriationCommission) GetCurrency() string

func (*XSollaRepatriationCommission) ProtoMessage

func (*XSollaRepatriationCommission) ProtoMessage()

func (*XSollaRepatriationCommission) ProtoReflect

func (*XSollaRepatriationCommission) Reset

func (x *XSollaRepatriationCommission) Reset()

func (*XSollaRepatriationCommission) String

type XSollaTotal

type XSollaTotal struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaTotal) Descriptor deprecated

func (*XSollaTotal) Descriptor() ([]byte, []int)

Deprecated: Use XSollaTotal.ProtoReflect.Descriptor instead.

func (*XSollaTotal) GetAmount

func (x *XSollaTotal) GetAmount() float64

func (*XSollaTotal) GetCurrency

func (x *XSollaTotal) GetCurrency() string

func (*XSollaTotal) ProtoMessage

func (*XSollaTotal) ProtoMessage()

func (*XSollaTotal) ProtoReflect

func (x *XSollaTotal) ProtoReflect() protoreflect.Message

func (*XSollaTotal) Reset

func (x *XSollaTotal) Reset()

func (*XSollaTotal) String

func (x *XSollaTotal) String() string

type XSollaTransaction

type XSollaTransaction struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ExternalId    string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	PaymentDate   string `protobuf:"bytes,3,opt,name=payment_date,json=paymentDate,proto3" json:"payment_date,omitempty"`
	PaymentMethod string `protobuf:"bytes,4,opt,name=payment_method,json=paymentMethod,proto3" json:"payment_method,omitempty"`
	DryRun        int32  `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaTransaction) Descriptor deprecated

func (*XSollaTransaction) Descriptor() ([]byte, []int)

Deprecated: Use XSollaTransaction.ProtoReflect.Descriptor instead.

func (*XSollaTransaction) GetDryRun

func (x *XSollaTransaction) GetDryRun() int32

func (*XSollaTransaction) GetExternalId

func (x *XSollaTransaction) GetExternalId() string

func (*XSollaTransaction) GetId

func (x *XSollaTransaction) GetId() string

func (*XSollaTransaction) GetPaymentDate

func (x *XSollaTransaction) GetPaymentDate() string

func (*XSollaTransaction) GetPaymentMethod

func (x *XSollaTransaction) GetPaymentMethod() string

func (*XSollaTransaction) ProtoMessage

func (*XSollaTransaction) ProtoMessage()

func (*XSollaTransaction) ProtoReflect

func (x *XSollaTransaction) ProtoReflect() protoreflect.Message

func (*XSollaTransaction) Reset

func (x *XSollaTransaction) Reset()

func (*XSollaTransaction) String

func (x *XSollaTransaction) String() string

type XSollaUser

type XSollaUser struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip      string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Phone   string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Email   string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Name    string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaUser) Descriptor deprecated

func (*XSollaUser) Descriptor() ([]byte, []int)

Deprecated: Use XSollaUser.ProtoReflect.Descriptor instead.

func (*XSollaUser) GetCountry

func (x *XSollaUser) GetCountry() string

func (*XSollaUser) GetEmail

func (x *XSollaUser) GetEmail() string

func (*XSollaUser) GetId

func (x *XSollaUser) GetId() string

func (*XSollaUser) GetIp

func (x *XSollaUser) GetIp() string

func (*XSollaUser) GetName

func (x *XSollaUser) GetName() string

func (*XSollaUser) GetPhone

func (x *XSollaUser) GetPhone() string

func (*XSollaUser) ProtoMessage

func (*XSollaUser) ProtoMessage()

func (*XSollaUser) ProtoReflect

func (x *XSollaUser) ProtoReflect() protoreflect.Message

func (*XSollaUser) Reset

func (x *XSollaUser) Reset()

func (*XSollaUser) String

func (x *XSollaUser) String() string

type XSollaVat

type XSollaVat struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaVat) Descriptor deprecated

func (*XSollaVat) Descriptor() ([]byte, []int)

Deprecated: Use XSollaVat.ProtoReflect.Descriptor instead.

func (*XSollaVat) GetAmount

func (x *XSollaVat) GetAmount() float64

func (*XSollaVat) GetCurrency

func (x *XSollaVat) GetCurrency() string

func (*XSollaVat) ProtoMessage

func (*XSollaVat) ProtoMessage()

func (*XSollaVat) ProtoReflect

func (x *XSollaVat) ProtoReflect() protoreflect.Message

func (*XSollaVat) Reset

func (x *XSollaVat) Reset()

func (*XSollaVat) String

func (x *XSollaVat) String() string

type XSollaVirtualCurrency

type XSollaVirtualCurrency struct {
	Name     string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Sku      string  `protobuf:"bytes,2,opt,name=sku,proto3" json:"sku,omitempty"`
	Quantity int32   `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Currency string  `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaVirtualCurrency) Descriptor deprecated

func (*XSollaVirtualCurrency) Descriptor() ([]byte, []int)

Deprecated: Use XSollaVirtualCurrency.ProtoReflect.Descriptor instead.

func (*XSollaVirtualCurrency) GetAmount

func (x *XSollaVirtualCurrency) GetAmount() float64

func (*XSollaVirtualCurrency) GetCurrency

func (x *XSollaVirtualCurrency) GetCurrency() string

func (*XSollaVirtualCurrency) GetName

func (x *XSollaVirtualCurrency) GetName() string

func (*XSollaVirtualCurrency) GetQuantity

func (x *XSollaVirtualCurrency) GetQuantity() int32

func (*XSollaVirtualCurrency) GetSku

func (x *XSollaVirtualCurrency) GetSku() string

func (*XSollaVirtualCurrency) ProtoMessage

func (*XSollaVirtualCurrency) ProtoMessage()

func (*XSollaVirtualCurrency) ProtoReflect

func (x *XSollaVirtualCurrency) ProtoReflect() protoreflect.Message

func (*XSollaVirtualCurrency) Reset

func (x *XSollaVirtualCurrency) Reset()

func (*XSollaVirtualCurrency) String

func (x *XSollaVirtualCurrency) String() string

type XSollaVirtualItems

type XSollaVirtualItems struct {
	Items    []*XSollaItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Currency string        `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64       `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaVirtualItems) Descriptor deprecated

func (*XSollaVirtualItems) Descriptor() ([]byte, []int)

Deprecated: Use XSollaVirtualItems.ProtoReflect.Descriptor instead.

func (*XSollaVirtualItems) GetAmount

func (x *XSollaVirtualItems) GetAmount() float64

func (*XSollaVirtualItems) GetCurrency

func (x *XSollaVirtualItems) GetCurrency() string

func (*XSollaVirtualItems) GetItems

func (x *XSollaVirtualItems) GetItems() []*XSollaItem

func (*XSollaVirtualItems) ProtoMessage

func (*XSollaVirtualItems) ProtoMessage()

func (*XSollaVirtualItems) ProtoReflect

func (x *XSollaVirtualItems) ProtoReflect() protoreflect.Message

func (*XSollaVirtualItems) Reset

func (x *XSollaVirtualItems) Reset()

func (*XSollaVirtualItems) String

func (x *XSollaVirtualItems) String() string

type XSollaXsollaFee

type XSollaXsollaFee struct {
	Currency string  `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Amount   float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*XSollaXsollaFee) Descriptor deprecated

func (*XSollaXsollaFee) Descriptor() ([]byte, []int)

Deprecated: Use XSollaXsollaFee.ProtoReflect.Descriptor instead.

func (*XSollaXsollaFee) GetAmount

func (x *XSollaXsollaFee) GetAmount() float64

func (*XSollaXsollaFee) GetCurrency

func (x *XSollaXsollaFee) GetCurrency() string

func (*XSollaXsollaFee) ProtoMessage

func (*XSollaXsollaFee) ProtoMessage()

func (*XSollaXsollaFee) ProtoReflect

func (x *XSollaXsollaFee) ProtoReflect() protoreflect.Message

func (*XSollaXsollaFee) Reset

func (x *XSollaXsollaFee) Reset()

func (*XSollaXsollaFee) String

func (x *XSollaXsollaFee) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL