Documentation ¶
Index ¶
- Variables
- type ApplePayConfig
- func (*ApplePayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ApplePayConfig) GetCountryCode() string
- func (x *ApplePayConfig) GetLineItemLabel() string
- func (x *ApplePayConfig) GetMerchantCapabilities() []string
- func (x *ApplePayConfig) GetMerchantId() string
- func (x *ApplePayConfig) GetOrderAmount() int32
- func (x *ApplePayConfig) GetOrderCurrency() string
- func (x *ApplePayConfig) GetRequiredBillingContactFields() []string
- func (x *ApplePayConfig) GetSupportedNetworks() []string
- func (*ApplePayConfig) ProtoMessage()
- func (x *ApplePayConfig) ProtoReflect() protoreflect.Message
- func (x *ApplePayConfig) Reset()
- func (x *ApplePayConfig) String() string
- type ApplePayPayment
- type CardPaymentConfig
- func (*CardPaymentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CardPaymentConfig) GetKountConfig() *KountConfig
- func (x *CardPaymentConfig) GetTokenexConfig() *TokenexConfig
- func (*CardPaymentConfig) ProtoMessage()
- func (x *CardPaymentConfig) ProtoReflect() protoreflect.Message
- func (x *CardPaymentConfig) Reset()
- func (x *CardPaymentConfig) String() string
- type CardTokenexPayment
- func (*CardTokenexPayment) Descriptor() ([]byte, []int)deprecated
- func (x *CardTokenexPayment) GetCardHolderName() string
- func (x *CardTokenexPayment) GetExpMonth() string
- func (x *CardTokenexPayment) GetExpYear() string
- func (x *CardTokenexPayment) GetKountData() *KountData
- func (x *CardTokenexPayment) GetToken() string
- func (x *CardTokenexPayment) GetTokenHmac() string
- func (*CardTokenexPayment) ProtoMessage()
- func (x *CardTokenexPayment) ProtoReflect() protoreflect.Message
- func (x *CardTokenexPayment) Reset()
- func (x *CardTokenexPayment) String() string
- type KountConfig
- func (*KountConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KountConfig) GetClientId() string
- func (x *KountConfig) GetIsProd() bool
- func (*KountConfig) ProtoMessage()
- func (x *KountConfig) ProtoReflect() protoreflect.Message
- func (x *KountConfig) Reset()
- func (x *KountConfig) String() string
- type KountData
- func (*KountData) Descriptor() ([]byte, []int)deprecated
- func (x *KountData) GetFirstSix() string
- func (x *KountData) GetLastFour() string
- func (x *KountData) GetSessionId() string
- func (*KountData) ProtoMessage()
- func (x *KountData) ProtoReflect() protoreflect.Message
- func (x *KountData) Reset()
- func (x *KountData) String() string
- type OperationLimitRequest
- func (*OperationLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OperationLimitRequest) GetAmount() uint32
- func (x *OperationLimitRequest) GetOperation() OperationType
- func (*OperationLimitRequest) ProtoMessage()
- func (x *OperationLimitRequest) ProtoReflect() protoreflect.Message
- func (x *OperationLimitRequest) Reset()
- func (x *OperationLimitRequest) String() string
- type OperationLimitResponse
- func (*OperationLimitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OperationLimitResponse) GetIsReached() bool
- func (x *OperationLimitResponse) GetLimit() uint32
- func (x *OperationLimitResponse) GetRemains() uint32
- func (*OperationLimitResponse) ProtoMessage()
- func (x *OperationLimitResponse) ProtoReflect() protoreflect.Message
- func (x *OperationLimitResponse) Reset()
- func (x *OperationLimitResponse) String() string
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type OrderConfigRequest
- func (*OrderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrderConfigRequest) GetOrderId() string
- func (*OrderConfigRequest) ProtoMessage()
- func (x *OrderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *OrderConfigRequest) Reset()
- func (x *OrderConfigRequest) String() string
- type OrderReplenishRequest
- func (*OrderReplenishRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrderReplenishRequest) GetAmount() uint32
- func (x *OrderReplenishRequest) GetAsset() string
- func (x *OrderReplenishRequest) GetCollect() bool
- func (x *OrderReplenishRequest) GetReference() string
- func (x *OrderReplenishRequest) GetToken() string
- func (*OrderReplenishRequest) ProtoMessage()
- func (x *OrderReplenishRequest) ProtoReflect() protoreflect.Message
- func (x *OrderReplenishRequest) Reset()
- func (x *OrderReplenishRequest) String() string
- type OrderResponse
- func (*OrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrderResponse) GetAmount() uint32
- func (x *OrderResponse) GetId() string
- func (x *OrderResponse) GetReference() string
- func (x *OrderResponse) GetStatus() string
- func (*OrderResponse) ProtoMessage()
- func (x *OrderResponse) ProtoReflect() protoreflect.Message
- func (x *OrderResponse) Reset()
- func (x *OrderResponse) String() string
- type OrderStatusRequest
- type OrderStatusResponse
- func (*OrderStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrderStatusResponse) GetAmount() uint32
- func (x *OrderStatusResponse) GetCheckout() string
- func (x *OrderStatusResponse) GetId() string
- func (x *OrderStatusResponse) GetReference() string
- func (x *OrderStatusResponse) GetStatus() string
- func (*OrderStatusResponse) ProtoMessage()
- func (x *OrderStatusResponse) ProtoReflect() protoreflect.Message
- func (x *OrderStatusResponse) Reset()
- func (x *OrderStatusResponse) String() string
- type PaymentProfileRequest
- func (*PaymentProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentProfileRequest) GetAppStoreCountry() string
- func (*PaymentProfileRequest) ProtoMessage()
- func (x *PaymentProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentProfileRequest) Reset()
- func (x *PaymentProfileRequest) String() string
- type PaymentProfileResponse
- func (*PaymentProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentProfileResponse) GetCurrency() string
- func (*PaymentProfileResponse) ProtoMessage()
- func (x *PaymentProfileResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentProfileResponse) Reset()
- func (x *PaymentProfileResponse) String() string
- type PaymentRequest
- func (*PaymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentRequest) GetAddress() *shared.BillingAddress
- func (x *PaymentRequest) GetApplePayPayment() *ApplePayPayment
- func (x *PaymentRequest) GetCardTokenexPayment() *CardTokenexPayment
- func (x *PaymentRequest) GetOrderId() string
- func (*PaymentRequest) ProtoMessage()
- func (x *PaymentRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentRequest) Reset()
- func (x *PaymentRequest) String() string
- type PaymentResponse
- func (*PaymentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentResponse) GetOrder() *OrderResponse
- func (x *PaymentResponse) GetRetryOrderId() string
- func (x *PaymentResponse) GetSuccess() bool
- func (*PaymentResponse) ProtoMessage()
- func (x *PaymentResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentResponse) Reset()
- func (x *PaymentResponse) String() string
- type TokenexConfig
- func (*TokenexConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TokenexConfig) GetAuthenticationKey() string
- func (x *TokenexConfig) GetTimestamp() string
- func (x *TokenexConfig) GetTokenScheme() string
- func (x *TokenexConfig) GetTokenexId() string
- func (x *TokenexConfig) GetUrl() string
- func (*TokenexConfig) ProtoMessage()
- func (x *TokenexConfig) ProtoReflect() protoreflect.Message
- func (x *TokenexConfig) Reset()
- func (x *TokenexConfig) String() string
- type TransferOrderRequest
- func (*TransferOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferOrderRequest) GetAmount() uint32
- func (x *TransferOrderRequest) GetFromAsset() string
- func (x *TransferOrderRequest) GetIdempotencyKey() string
- func (x *TransferOrderRequest) GetReference() string
- func (x *TransferOrderRequest) GetToAsset() string
- func (*TransferOrderRequest) ProtoMessage()
- func (x *TransferOrderRequest) ProtoReflect() protoreflect.Message
- func (x *TransferOrderRequest) Reset()
- func (x *TransferOrderRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( OperationType_name = map[int32]string{ 0: "depositing", 1: "withdrawal", } OperationType_value = map[string]int32{ "depositing": 0, "withdrawal": 1, } )
Enum value maps for OperationType.
var File_linq_money_payments_v1_native_proto protoreflect.FileDescriptor
var File_linq_money_payments_v1_payments_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplePayConfig ¶
type ApplePayConfig struct { // Merchant ID MerchantId string `protobuf:"bytes,1,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"` // Merchant two-letter ISO 3166 country code CountryCode string `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // The payment networks the merchant supports. SupportedNetworks []string `protobuf:"bytes,3,rep,name=supported_networks,json=supportedNetworks,proto3" json:"supported_networks,omitempty"` // The payment capabilities that the merchant supports MerchantCapabilities []string `protobuf:"bytes,4,rep,name=merchant_capabilities,json=merchantCapabilities,proto3" json:"merchant_capabilities,omitempty"` // Field names for requesting contact information in a payment request RequiredBillingContactFields []string `` /* 149-byte string literal not displayed */ // Description of the line item. LineItemLabel string `protobuf:"bytes,6,opt,name=line_item_label,json=lineItemLabel,proto3" json:"line_item_label,omitempty"` // Amount of the payment OrderAmount int32 `protobuf:"varint,7,opt,name=order_amount,json=orderAmount,proto3" json:"order_amount,omitempty"` // Code of the currency used in payment transaction OrderCurrency string `protobuf:"bytes,8,opt,name=order_currency,json=orderCurrency,proto3" json:"order_currency,omitempty"` // contains filtered or unexported fields }
Fields for apple pay payment request
func (*ApplePayConfig) Descriptor
deprecated
func (*ApplePayConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplePayConfig.ProtoReflect.Descriptor instead.
func (*ApplePayConfig) GetCountryCode ¶
func (x *ApplePayConfig) GetCountryCode() string
func (*ApplePayConfig) GetLineItemLabel ¶
func (x *ApplePayConfig) GetLineItemLabel() string
func (*ApplePayConfig) GetMerchantCapabilities ¶
func (x *ApplePayConfig) GetMerchantCapabilities() []string
func (*ApplePayConfig) GetMerchantId ¶
func (x *ApplePayConfig) GetMerchantId() string
func (*ApplePayConfig) GetOrderAmount ¶
func (x *ApplePayConfig) GetOrderAmount() int32
func (*ApplePayConfig) GetOrderCurrency ¶
func (x *ApplePayConfig) GetOrderCurrency() string
func (*ApplePayConfig) GetRequiredBillingContactFields ¶
func (x *ApplePayConfig) GetRequiredBillingContactFields() []string
func (*ApplePayConfig) GetSupportedNetworks ¶
func (x *ApplePayConfig) GetSupportedNetworks() []string
func (*ApplePayConfig) ProtoMessage ¶
func (*ApplePayConfig) ProtoMessage()
func (*ApplePayConfig) ProtoReflect ¶
func (x *ApplePayConfig) ProtoReflect() protoreflect.Message
func (*ApplePayConfig) Reset ¶
func (x *ApplePayConfig) Reset()
func (*ApplePayConfig) String ¶
func (x *ApplePayConfig) String() string
type ApplePayPayment ¶
type ApplePayPayment struct { // JSON payment data from apple pay sdk PaymentData string `protobuf:"bytes,1,opt,name=payment_data,json=paymentData,proto3" json:"payment_data,omitempty"` // contains filtered or unexported fields }
Apple pay payment request description
func (*ApplePayPayment) Descriptor
deprecated
func (*ApplePayPayment) Descriptor() ([]byte, []int)
Deprecated: Use ApplePayPayment.ProtoReflect.Descriptor instead.
func (*ApplePayPayment) GetPaymentData ¶
func (x *ApplePayPayment) GetPaymentData() string
func (*ApplePayPayment) ProtoMessage ¶
func (*ApplePayPayment) ProtoMessage()
func (*ApplePayPayment) ProtoReflect ¶
func (x *ApplePayPayment) ProtoReflect() protoreflect.Message
func (*ApplePayPayment) Reset ¶
func (x *ApplePayPayment) Reset()
func (*ApplePayPayment) String ¶
func (x *ApplePayPayment) String() string
type CardPaymentConfig ¶
type CardPaymentConfig struct { // Tokenex config TokenexConfig *TokenexConfig `protobuf:"bytes,1,opt,name=tokenex_config,json=tokenexConfig,proto3" json:"tokenex_config,omitempty"` // Kount config KountConfig *KountConfig `protobuf:"bytes,2,opt,name=kount_config,json=kountConfig,proto3" json:"kount_config,omitempty"` // contains filtered or unexported fields }
Data for native card payment
func (*CardPaymentConfig) Descriptor
deprecated
func (*CardPaymentConfig) Descriptor() ([]byte, []int)
Deprecated: Use CardPaymentConfig.ProtoReflect.Descriptor instead.
func (*CardPaymentConfig) GetKountConfig ¶
func (x *CardPaymentConfig) GetKountConfig() *KountConfig
func (*CardPaymentConfig) GetTokenexConfig ¶
func (x *CardPaymentConfig) GetTokenexConfig() *TokenexConfig
func (*CardPaymentConfig) ProtoMessage ¶
func (*CardPaymentConfig) ProtoMessage()
func (*CardPaymentConfig) ProtoReflect ¶
func (x *CardPaymentConfig) ProtoReflect() protoreflect.Message
func (*CardPaymentConfig) Reset ¶
func (x *CardPaymentConfig) Reset()
func (*CardPaymentConfig) String ¶
func (x *CardPaymentConfig) String() string
type CardTokenexPayment ¶
type CardTokenexPayment struct { // TokenEx token got from TokenEx tokenization response Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // TokenEx token HMAC from TokenEx tokenization response TokenHmac string `protobuf:"bytes,2,opt,name=token_hmac,json=tokenHmac,proto3" json:"token_hmac,omitempty"` // 2 or 4-digit card expiration year ExpYear string `protobuf:"bytes,3,opt,name=exp_year,json=expYear,proto3" json:"exp_year,omitempty"` // 2-digit card expiration month ExpMonth string `protobuf:"bytes,4,opt,name=exp_month,json=expMonth,proto3" json:"exp_month,omitempty"` // Card Holder name CardHolderName string `protobuf:"bytes,5,opt,name=card_holder_name,json=cardHolderName,proto3" json:"card_holder_name,omitempty"` // Kount data from Kount DDC (can be skipped if Kount disabled) KountData *KountData `protobuf:"bytes,6,opt,name=kount_data,json=kountData,proto3,oneof" json:"kount_data,omitempty"` // contains filtered or unexported fields }
Card tokenex payment request description
func (*CardTokenexPayment) Descriptor
deprecated
func (*CardTokenexPayment) Descriptor() ([]byte, []int)
Deprecated: Use CardTokenexPayment.ProtoReflect.Descriptor instead.
func (*CardTokenexPayment) GetCardHolderName ¶
func (x *CardTokenexPayment) GetCardHolderName() string
func (*CardTokenexPayment) GetExpMonth ¶
func (x *CardTokenexPayment) GetExpMonth() string
func (*CardTokenexPayment) GetExpYear ¶
func (x *CardTokenexPayment) GetExpYear() string
func (*CardTokenexPayment) GetKountData ¶
func (x *CardTokenexPayment) GetKountData() *KountData
func (*CardTokenexPayment) GetToken ¶
func (x *CardTokenexPayment) GetToken() string
func (*CardTokenexPayment) GetTokenHmac ¶
func (x *CardTokenexPayment) GetTokenHmac() string
func (*CardTokenexPayment) ProtoMessage ¶
func (*CardTokenexPayment) ProtoMessage()
func (*CardTokenexPayment) ProtoReflect ¶
func (x *CardTokenexPayment) ProtoReflect() protoreflect.Message
func (*CardTokenexPayment) Reset ¶
func (x *CardTokenexPayment) Reset()
func (*CardTokenexPayment) String ¶
func (x *CardTokenexPayment) String() string
type KountConfig ¶
type KountConfig struct { // Flag indicating is it production environment IsProd bool `protobuf:"varint,1,opt,name=is_prod,json=isProd,proto3" json:"is_prod,omitempty"` // Client ID for DDC, Kount is disabled if not specified ClientId *string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"` // contains filtered or unexported fields }
Fields for Kount DDC
func (*KountConfig) Descriptor
deprecated
func (*KountConfig) Descriptor() ([]byte, []int)
Deprecated: Use KountConfig.ProtoReflect.Descriptor instead.
func (*KountConfig) GetClientId ¶
func (x *KountConfig) GetClientId() string
func (*KountConfig) GetIsProd ¶
func (x *KountConfig) GetIsProd() bool
func (*KountConfig) ProtoMessage ¶
func (*KountConfig) ProtoMessage()
func (*KountConfig) ProtoReflect ¶
func (x *KountConfig) ProtoReflect() protoreflect.Message
func (*KountConfig) Reset ¶
func (x *KountConfig) Reset()
func (*KountConfig) String ¶
func (x *KountConfig) String() string
type KountData ¶
type KountData struct { // Session ID value got from Kount DDC SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // First six card number digits FirstSix string `protobuf:"bytes,2,opt,name=first_six,json=firstSix,proto3" json:"first_six,omitempty"` // Last four card number digits LastFour string `protobuf:"bytes,3,opt,name=last_four,json=lastFour,proto3" json:"last_four,omitempty"` // contains filtered or unexported fields }
Data from Kount DDC for card payment
func (*KountData) ProtoReflect ¶
func (x *KountData) ProtoReflect() protoreflect.Message
type OperationLimitRequest ¶
type OperationLimitRequest struct { // Type of oepration Operation OperationType `protobuf:"varint,1,opt,name=operation,proto3,enum=linq.money.payments.v1.OperationType" json:"operation,omitempty"` // How much money the next operation is going to be Amount *uint32 `protobuf:"varint,2,opt,name=amount,proto3,oneof" json:"amount,omitempty"` // contains filtered or unexported fields }
Request description for asking is operation has limitations
func (*OperationLimitRequest) Descriptor
deprecated
func (*OperationLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use OperationLimitRequest.ProtoReflect.Descriptor instead.
func (*OperationLimitRequest) GetAmount ¶
func (x *OperationLimitRequest) GetAmount() uint32
func (*OperationLimitRequest) GetOperation ¶
func (x *OperationLimitRequest) GetOperation() OperationType
func (*OperationLimitRequest) ProtoMessage ¶
func (*OperationLimitRequest) ProtoMessage()
func (*OperationLimitRequest) ProtoReflect ¶
func (x *OperationLimitRequest) ProtoReflect() protoreflect.Message
func (*OperationLimitRequest) Reset ¶
func (x *OperationLimitRequest) Reset()
func (*OperationLimitRequest) String ¶
func (x *OperationLimitRequest) String() string
type OperationLimitResponse ¶
type OperationLimitResponse struct { // Is operational limit reached or not IsReached bool `protobuf:"varint,1,opt,name=is_reached,json=isReached,proto3" json:"is_reached,omitempty"` // How mush remain to spend before limit reached Remains uint32 `protobuf:"varint,2,opt,name=remains,proto3" json:"remains,omitempty"` // Current limit Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
Returns status of the current limitations
func (*OperationLimitResponse) Descriptor
deprecated
func (*OperationLimitResponse) Descriptor() ([]byte, []int)
Deprecated: Use OperationLimitResponse.ProtoReflect.Descriptor instead.
func (*OperationLimitResponse) GetIsReached ¶
func (x *OperationLimitResponse) GetIsReached() bool
func (*OperationLimitResponse) GetLimit ¶
func (x *OperationLimitResponse) GetLimit() uint32
func (*OperationLimitResponse) GetRemains ¶
func (x *OperationLimitResponse) GetRemains() uint32
func (*OperationLimitResponse) ProtoMessage ¶
func (*OperationLimitResponse) ProtoMessage()
func (*OperationLimitResponse) ProtoReflect ¶
func (x *OperationLimitResponse) ProtoReflect() protoreflect.Message
func (*OperationLimitResponse) Reset ¶
func (x *OperationLimitResponse) Reset()
func (*OperationLimitResponse) String ¶
func (x *OperationLimitResponse) String() string
type OperationType ¶
type OperationType int32
Operation types for requesting status of limitations
const ( // Depositing operation, like adding money to the account OperationType_depositing OperationType = 0 // Taking money back from an account OperationType_withdrawal OperationType = 1 )
func (OperationType) Descriptor ¶
func (OperationType) Descriptor() protoreflect.EnumDescriptor
func (OperationType) Enum ¶
func (x OperationType) Enum() *OperationType
func (OperationType) EnumDescriptor
deprecated
func (OperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationType.Descriptor instead.
func (OperationType) Number ¶
func (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
type OrderConfigRequest ¶
type OrderConfigRequest struct { // Order id OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
Order config request
func (*OrderConfigRequest) Descriptor
deprecated
func (*OrderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderConfigRequest.ProtoReflect.Descriptor instead.
func (*OrderConfigRequest) GetOrderId ¶
func (x *OrderConfigRequest) GetOrderId() string
func (*OrderConfigRequest) ProtoMessage ¶
func (*OrderConfigRequest) ProtoMessage()
func (*OrderConfigRequest) ProtoReflect ¶
func (x *OrderConfigRequest) ProtoReflect() protoreflect.Message
func (*OrderConfigRequest) Reset ¶
func (x *OrderConfigRequest) Reset()
func (*OrderConfigRequest) String ¶
func (x *OrderConfigRequest) String() string
type OrderReplenishRequest ¶
type OrderReplenishRequest struct { // Asset label / token (aka internal currency) Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // Amount in coins, it means that $5 should be 500 Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // Collect user tokenised payment credentials for futher usage // Interanly used property, no need to setup it. Collect *bool `protobuf:"varint,3,opt,name=collect,proto3,oneof" json:"collect,omitempty"` // Special profile id for quick payment without providing card details // Interanly used property, no need to setup it. Token *string `protobuf:"bytes,4,opt,name=token,proto3,oneof" json:"token,omitempty"` // Custom reference identifier for external systems and services // It may be used for storing any external reference ID // for quick search and linking in any reports Reference *string `protobuf:"bytes,5,opt,name=reference,proto3,oneof" json:"reference,omitempty"` // contains filtered or unexported fields }
Request description for money replenishment
func (*OrderReplenishRequest) Descriptor
deprecated
func (*OrderReplenishRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderReplenishRequest.ProtoReflect.Descriptor instead.
func (*OrderReplenishRequest) GetAmount ¶
func (x *OrderReplenishRequest) GetAmount() uint32
func (*OrderReplenishRequest) GetAsset ¶
func (x *OrderReplenishRequest) GetAsset() string
func (*OrderReplenishRequest) GetCollect ¶
func (x *OrderReplenishRequest) GetCollect() bool
func (*OrderReplenishRequest) GetReference ¶
func (x *OrderReplenishRequest) GetReference() string
func (*OrderReplenishRequest) GetToken ¶
func (x *OrderReplenishRequest) GetToken() string
func (*OrderReplenishRequest) ProtoMessage ¶
func (*OrderReplenishRequest) ProtoMessage()
func (*OrderReplenishRequest) ProtoReflect ¶
func (x *OrderReplenishRequest) ProtoReflect() protoreflect.Message
func (*OrderReplenishRequest) Reset ¶
func (x *OrderReplenishRequest) Reset()
func (*OrderReplenishRequest) String ¶
func (x *OrderReplenishRequest) String() string
type OrderResponse ¶
type OrderResponse struct { // Order identifier, uuid string Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Order status // Possible values: // - pending: just created order // - awaiting: checkout linq created, it is awaiting payment from user // - processing: order handling by services to validate payment internally // - accepted: order was paid and it transaction was applied // - declined: order was declined by payment provides due any kind of error // - completed: order completed and its status may be used as final // - cancelled: order was canceled by user // - terminated: order was canceled by system Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Amount in the order Amount uint32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Reference data that was placed into the order during the creation Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
Information about order
func (*OrderResponse) Descriptor
deprecated
func (*OrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrderResponse.ProtoReflect.Descriptor instead.
func (*OrderResponse) GetAmount ¶
func (x *OrderResponse) GetAmount() uint32
func (*OrderResponse) GetId ¶
func (x *OrderResponse) GetId() string
func (*OrderResponse) GetReference ¶
func (x *OrderResponse) GetReference() string
func (*OrderResponse) GetStatus ¶
func (x *OrderResponse) GetStatus() string
func (*OrderResponse) ProtoMessage ¶
func (*OrderResponse) ProtoMessage()
func (*OrderResponse) ProtoReflect ¶
func (x *OrderResponse) ProtoReflect() protoreflect.Message
func (*OrderResponse) Reset ¶
func (x *OrderResponse) Reset()
func (*OrderResponse) String ¶
func (x *OrderResponse) String() string
type OrderStatusRequest ¶
type OrderStatusRequest struct { // Order identifier after creations, uuid string Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request for checking status of the payment order
func (*OrderStatusRequest) Descriptor
deprecated
func (*OrderStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderStatusRequest.ProtoReflect.Descriptor instead.
func (*OrderStatusRequest) GetId ¶
func (x *OrderStatusRequest) GetId() string
func (*OrderStatusRequest) ProtoMessage ¶
func (*OrderStatusRequest) ProtoMessage()
func (*OrderStatusRequest) ProtoReflect ¶
func (x *OrderStatusRequest) ProtoReflect() protoreflect.Message
func (*OrderStatusRequest) Reset ¶
func (x *OrderStatusRequest) Reset()
func (*OrderStatusRequest) String ¶
func (x *OrderStatusRequest) String() string
type OrderStatusResponse ¶
type OrderStatusResponse struct { // Order identifier, uuid string Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Order status // Possible values: // - pending: just created order // - awaiting: checkout linq created, it is awaiting payment from user // - processing: order handling by services to validate payment internally // - accepted: order was paid and it transaction was applied // - declined: order was declined by payment provides due any kind of error // - completed: order completed and its status may be used as final // - cancelled: order was canceled by user // - terminated: order was canceled by system Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Amount in the order Amount uint32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Reference data that was placed into the order during the creation Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // Link for displayning payment form for user // Applicable only for replenish orders Checkout *string `protobuf:"bytes,5,opt,name=checkout,proto3,oneof" json:"checkout,omitempty"` // contains filtered or unexported fields }
Information about requested order
func (*OrderStatusResponse) Descriptor
deprecated
func (*OrderStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrderStatusResponse.ProtoReflect.Descriptor instead.
func (*OrderStatusResponse) GetAmount ¶
func (x *OrderStatusResponse) GetAmount() uint32
func (*OrderStatusResponse) GetCheckout ¶
func (x *OrderStatusResponse) GetCheckout() string
func (*OrderStatusResponse) GetId ¶
func (x *OrderStatusResponse) GetId() string
func (*OrderStatusResponse) GetReference ¶
func (x *OrderStatusResponse) GetReference() string
func (*OrderStatusResponse) GetStatus ¶
func (x *OrderStatusResponse) GetStatus() string
func (*OrderStatusResponse) ProtoMessage ¶
func (*OrderStatusResponse) ProtoMessage()
func (*OrderStatusResponse) ProtoReflect ¶
func (x *OrderStatusResponse) ProtoReflect() protoreflect.Message
func (*OrderStatusResponse) Reset ¶
func (x *OrderStatusResponse) Reset()
func (*OrderStatusResponse) String ¶
func (x *OrderStatusResponse) String() string
type PaymentProfileRequest ¶
type PaymentProfileRequest struct { // App store country if available // It is needed for detecting payment profile country // and providing actual profile currency AppStoreCountry *string `protobuf:"bytes,1,opt,name=app_store_country,json=appStoreCountry,proto3,oneof" json:"app_store_country,omitempty"` // contains filtered or unexported fields }
Request for getting actual profile information With currency and balances
func (*PaymentProfileRequest) Descriptor
deprecated
func (*PaymentProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaymentProfileRequest.ProtoReflect.Descriptor instead.
func (*PaymentProfileRequest) GetAppStoreCountry ¶
func (x *PaymentProfileRequest) GetAppStoreCountry() string
func (*PaymentProfileRequest) ProtoMessage ¶
func (*PaymentProfileRequest) ProtoMessage()
func (*PaymentProfileRequest) ProtoReflect ¶
func (x *PaymentProfileRequest) ProtoReflect() protoreflect.Message
func (*PaymentProfileRequest) Reset ¶
func (x *PaymentProfileRequest) Reset()
func (*PaymentProfileRequest) String ¶
func (x *PaymentProfileRequest) String() string
type PaymentProfileResponse ¶
type PaymentProfileResponse struct { // Payment profile currency, 3-letter code by ISO, like USD, GBP Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // contains filtered or unexported fields }
Payment profile actual details
func (*PaymentProfileResponse) Descriptor
deprecated
func (*PaymentProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaymentProfileResponse.ProtoReflect.Descriptor instead.
func (*PaymentProfileResponse) GetCurrency ¶
func (x *PaymentProfileResponse) GetCurrency() string
func (*PaymentProfileResponse) ProtoMessage ¶
func (*PaymentProfileResponse) ProtoMessage()
func (*PaymentProfileResponse) ProtoReflect ¶
func (x *PaymentProfileResponse) ProtoReflect() protoreflect.Message
func (*PaymentProfileResponse) Reset ¶
func (x *PaymentProfileResponse) Reset()
func (*PaymentProfileResponse) String ¶
func (x *PaymentProfileResponse) String() string
type PaymentRequest ¶
type PaymentRequest struct { // Order id OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // Billing address data Address *shared.BillingAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Apple pay data ApplePayPayment *ApplePayPayment `protobuf:"bytes,3,opt,name=apple_pay_payment,json=applePayPayment,proto3,oneof" json:"apple_pay_payment,omitempty"` // Card TokenEx data CardTokenexPayment *CardTokenexPayment `protobuf:"bytes,4,opt,name=card_tokenex_payment,json=cardTokenexPayment,proto3,oneof" json:"card_tokenex_payment,omitempty"` // contains filtered or unexported fields }
Payment request
func (*PaymentRequest) Descriptor
deprecated
func (*PaymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaymentRequest.ProtoReflect.Descriptor instead.
func (*PaymentRequest) GetAddress ¶
func (x *PaymentRequest) GetAddress() *shared.BillingAddress
func (*PaymentRequest) GetApplePayPayment ¶
func (x *PaymentRequest) GetApplePayPayment() *ApplePayPayment
func (*PaymentRequest) GetCardTokenexPayment ¶
func (x *PaymentRequest) GetCardTokenexPayment() *CardTokenexPayment
func (*PaymentRequest) GetOrderId ¶
func (x *PaymentRequest) GetOrderId() string
func (*PaymentRequest) ProtoMessage ¶
func (*PaymentRequest) ProtoMessage()
func (*PaymentRequest) ProtoReflect ¶
func (x *PaymentRequest) ProtoReflect() protoreflect.Message
func (*PaymentRequest) Reset ¶
func (x *PaymentRequest) Reset()
func (*PaymentRequest) String ¶
func (x *PaymentRequest) String() string
type PaymentResponse ¶
type PaymentResponse struct { // If payment was successfull Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Information about order Order *OrderResponse `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // Order id for recommended retry (for applepay) RetryOrderId *string `protobuf:"bytes,3,opt,name=retry_order_id,json=retryOrderId,proto3,oneof" json:"retry_order_id,omitempty"` // contains filtered or unexported fields }
Payment response
func (*PaymentResponse) Descriptor
deprecated
func (*PaymentResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaymentResponse.ProtoReflect.Descriptor instead.
func (*PaymentResponse) GetOrder ¶
func (x *PaymentResponse) GetOrder() *OrderResponse
func (*PaymentResponse) GetRetryOrderId ¶
func (x *PaymentResponse) GetRetryOrderId() string
func (*PaymentResponse) GetSuccess ¶
func (x *PaymentResponse) GetSuccess() bool
func (*PaymentResponse) ProtoMessage ¶
func (*PaymentResponse) ProtoMessage()
func (*PaymentResponse) ProtoReflect ¶
func (x *PaymentResponse) ProtoReflect() protoreflect.Message
func (*PaymentResponse) Reset ¶
func (x *PaymentResponse) Reset()
func (*PaymentResponse) String ¶
func (x *PaymentResponse) String() string
type TokenexConfig ¶
type TokenexConfig struct { // TokenEx url for POST request Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // TokenEx id used for request TokenexId string `protobuf:"bytes,2,opt,name=tokenex_id,json=tokenexId,proto3" json:"tokenex_id,omitempty"` // Timestamp string used for request Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Auth key used for request AuthenticationKey string `protobuf:"bytes,4,opt,name=authentication_key,json=authenticationKey,proto3" json:"authentication_key,omitempty"` // Token scheme used for request TokenScheme string `protobuf:"bytes,5,opt,name=token_scheme,json=tokenScheme,proto3" json:"token_scheme,omitempty"` // contains filtered or unexported fields }
Fields for TokenEx request
func (*TokenexConfig) Descriptor
deprecated
func (*TokenexConfig) Descriptor() ([]byte, []int)
Deprecated: Use TokenexConfig.ProtoReflect.Descriptor instead.
func (*TokenexConfig) GetAuthenticationKey ¶
func (x *TokenexConfig) GetAuthenticationKey() string
func (*TokenexConfig) GetTimestamp ¶
func (x *TokenexConfig) GetTimestamp() string
func (*TokenexConfig) GetTokenScheme ¶
func (x *TokenexConfig) GetTokenScheme() string
func (*TokenexConfig) GetTokenexId ¶
func (x *TokenexConfig) GetTokenexId() string
func (*TokenexConfig) GetUrl ¶
func (x *TokenexConfig) GetUrl() string
func (*TokenexConfig) ProtoMessage ¶
func (*TokenexConfig) ProtoMessage()
func (*TokenexConfig) ProtoReflect ¶
func (x *TokenexConfig) ProtoReflect() protoreflect.Message
func (*TokenexConfig) Reset ¶
func (x *TokenexConfig) Reset()
func (*TokenexConfig) String ¶
func (x *TokenexConfig) String() string
type TransferOrderRequest ¶
type TransferOrderRequest struct { // Amount of transaction, should be in coins Amount uint32 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // Source account token // Means from which account take money FromAsset string `protobuf:"bytes,2,opt,name=from_asset,json=fromAsset,proto3" json:"from_asset,omitempty"` // Target account token // Means to which account put money ToAsset string `protobuf:"bytes,3,opt,name=to_asset,json=toAsset,proto3" json:"to_asset,omitempty"` // Unique key for idempotency IdempotencyKey *string `protobuf:"bytes,4,opt,name=idempotency_key,json=idempotencyKey,proto3,oneof" json:"idempotency_key,omitempty"` // Custom reference identifier for external systems and services // It may be used for storing any external reference ID // for quick search and linking in any reports Reference *string `protobuf:"bytes,5,opt,name=reference,proto3,oneof" json:"reference,omitempty"` // contains filtered or unexported fields }
Describes order about transfering money from one account to another for a current user
func (*TransferOrderRequest) Descriptor
deprecated
func (*TransferOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferOrderRequest.ProtoReflect.Descriptor instead.
func (*TransferOrderRequest) GetAmount ¶
func (x *TransferOrderRequest) GetAmount() uint32
func (*TransferOrderRequest) GetFromAsset ¶
func (x *TransferOrderRequest) GetFromAsset() string
func (*TransferOrderRequest) GetIdempotencyKey ¶
func (x *TransferOrderRequest) GetIdempotencyKey() string
func (*TransferOrderRequest) GetReference ¶
func (x *TransferOrderRequest) GetReference() string
func (*TransferOrderRequest) GetToAsset ¶
func (x *TransferOrderRequest) GetToAsset() string
func (*TransferOrderRequest) ProtoMessage ¶
func (*TransferOrderRequest) ProtoMessage()
func (*TransferOrderRequest) ProtoReflect ¶
func (x *TransferOrderRequest) ProtoReflect() protoreflect.Message
func (*TransferOrderRequest) Reset ¶
func (x *TransferOrderRequest) Reset()
func (*TransferOrderRequest) String ¶
func (x *TransferOrderRequest) String() string