Documentation
¶
Index ¶
- Variables
- type ApplePayConfig
- 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) SetCountryCode(v string)
- func (x *ApplePayConfig) SetLineItemLabel(v string)
- func (x *ApplePayConfig) SetMerchantCapabilities(v []string)
- func (x *ApplePayConfig) SetMerchantId(v string)
- func (x *ApplePayConfig) SetOrderAmount(v int32)
- func (x *ApplePayConfig) SetOrderCurrency(v string)
- func (x *ApplePayConfig) SetRequiredBillingContactFields(v []string)
- func (x *ApplePayConfig) SetSupportedNetworks(v []string)
- func (x *ApplePayConfig) String() string
- type ApplePayConfig_builder
- type ApplePayPayment
- type ApplePayPayment_builder
- type CardPaymentConfig
- func (x *CardPaymentConfig) ClearKountConfig()
- func (x *CardPaymentConfig) ClearTokenexConfig()
- func (x *CardPaymentConfig) GetKountConfig() *KountConfig
- func (x *CardPaymentConfig) GetTokenexConfig() *TokenexConfig
- func (x *CardPaymentConfig) HasKountConfig() bool
- func (x *CardPaymentConfig) HasTokenexConfig() bool
- func (*CardPaymentConfig) ProtoMessage()
- func (x *CardPaymentConfig) ProtoReflect() protoreflect.Message
- func (x *CardPaymentConfig) Reset()
- func (x *CardPaymentConfig) SetKountConfig(v *KountConfig)
- func (x *CardPaymentConfig) SetTokenexConfig(v *TokenexConfig)
- func (x *CardPaymentConfig) String() string
- type CardPaymentConfig_builder
- type CardTokenexPayment
- func (x *CardTokenexPayment) ClearKountData()
- 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 (x *CardTokenexPayment) HasKountData() bool
- func (*CardTokenexPayment) ProtoMessage()
- func (x *CardTokenexPayment) ProtoReflect() protoreflect.Message
- func (x *CardTokenexPayment) Reset()
- func (x *CardTokenexPayment) SetCardHolderName(v string)
- func (x *CardTokenexPayment) SetExpMonth(v string)
- func (x *CardTokenexPayment) SetExpYear(v string)
- func (x *CardTokenexPayment) SetKountData(v *KountData)
- func (x *CardTokenexPayment) SetToken(v string)
- func (x *CardTokenexPayment) SetTokenHmac(v string)
- func (x *CardTokenexPayment) String() string
- type CardTokenexPayment_builder
- type KountConfig
- func (x *KountConfig) ClearClientId()
- func (x *KountConfig) GetClientId() string
- func (x *KountConfig) GetIsProd() bool
- func (x *KountConfig) HasClientId() bool
- func (*KountConfig) ProtoMessage()
- func (x *KountConfig) ProtoReflect() protoreflect.Message
- func (x *KountConfig) Reset()
- func (x *KountConfig) SetClientId(v string)
- func (x *KountConfig) SetIsProd(v bool)
- func (x *KountConfig) String() string
- type KountConfig_builder
- type KountData
- func (x *KountData) ClearFirstSix()
- func (x *KountData) ClearLastFour()
- func (x *KountData) ClearUserAgent()
- func (x *KountData) GetFirstSix() string
- func (x *KountData) GetLastFour() string
- func (x *KountData) GetSessionId() string
- func (x *KountData) GetUserAgent() string
- func (x *KountData) HasFirstSix() bool
- func (x *KountData) HasLastFour() bool
- func (x *KountData) HasUserAgent() bool
- func (*KountData) ProtoMessage()
- func (x *KountData) ProtoReflect() protoreflect.Message
- func (x *KountData) Reset()
- func (x *KountData) SetFirstSix(v string)
- func (x *KountData) SetLastFour(v string)
- func (x *KountData) SetSessionId(v string)
- func (x *KountData) SetUserAgent(v string)
- func (x *KountData) String() string
- type KountData_builder
- type OperationLimitRequest
- func (x *OperationLimitRequest) ClearAmount()
- func (x *OperationLimitRequest) GetAmount() uint32
- func (x *OperationLimitRequest) GetOperation() OperationType
- func (x *OperationLimitRequest) HasAmount() bool
- func (*OperationLimitRequest) ProtoMessage()
- func (x *OperationLimitRequest) ProtoReflect() protoreflect.Message
- func (x *OperationLimitRequest) Reset()
- func (x *OperationLimitRequest) SetAmount(v uint32)
- func (x *OperationLimitRequest) SetOperation(v OperationType)
- func (x *OperationLimitRequest) String() string
- type OperationLimitRequest_builder
- type OperationLimitResponse
- 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) SetIsReached(v bool)
- func (x *OperationLimitResponse) SetLimit(v uint32)
- func (x *OperationLimitResponse) SetRemains(v uint32)
- func (x *OperationLimitResponse) String() string
- type OperationLimitResponse_builder
- type OperationType
- type OrderConfigRequest
- type OrderConfigRequest_builder
- type OrderReplenishRequest
- func (x *OrderReplenishRequest) ClearCollect()
- func (x *OrderReplenishRequest) ClearReference()
- func (x *OrderReplenishRequest) GetAmount() uint32
- func (x *OrderReplenishRequest) GetCollect() bool
- func (x *OrderReplenishRequest) GetReference() string
- func (x *OrderReplenishRequest) HasCollect() bool
- func (x *OrderReplenishRequest) HasReference() bool
- func (*OrderReplenishRequest) ProtoMessage()
- func (x *OrderReplenishRequest) ProtoReflect() protoreflect.Message
- func (x *OrderReplenishRequest) Reset()
- func (x *OrderReplenishRequest) SetAmount(v uint32)
- func (x *OrderReplenishRequest) SetCollect(v bool)
- func (x *OrderReplenishRequest) SetReference(v string)
- func (x *OrderReplenishRequest) String() string
- type OrderReplenishRequest_builder
- type OrderResponse
- 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) SetAmount(v uint32)
- func (x *OrderResponse) SetId(v string)
- func (x *OrderResponse) SetReference(v string)
- func (x *OrderResponse) SetStatus(v string)
- func (x *OrderResponse) String() string
- type OrderResponse_builder
- type OrderStatusRequest
- type OrderStatusRequest_builder
- type OrderStatusResponse
- func (x *OrderStatusResponse) ClearCheckout()
- 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 (x *OrderStatusResponse) HasCheckout() bool
- func (*OrderStatusResponse) ProtoMessage()
- func (x *OrderStatusResponse) ProtoReflect() protoreflect.Message
- func (x *OrderStatusResponse) Reset()
- func (x *OrderStatusResponse) SetAmount(v uint32)
- func (x *OrderStatusResponse) SetCheckout(v string)
- func (x *OrderStatusResponse) SetId(v string)
- func (x *OrderStatusResponse) SetReference(v string)
- func (x *OrderStatusResponse) SetStatus(v string)
- func (x *OrderStatusResponse) String() string
- type OrderStatusResponse_builder
- type PaymentProfileRequest
- func (x *PaymentProfileRequest) ClearAppStoreCountry()
- func (x *PaymentProfileRequest) GetAppStoreCountry() string
- func (x *PaymentProfileRequest) HasAppStoreCountry() bool
- func (*PaymentProfileRequest) ProtoMessage()
- func (x *PaymentProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentProfileRequest) Reset()
- func (x *PaymentProfileRequest) SetAppStoreCountry(v string)
- func (x *PaymentProfileRequest) String() string
- type PaymentProfileRequest_builder
- type PaymentProfileResponse
- func (x *PaymentProfileResponse) GetCountry() string
- func (x *PaymentProfileResponse) GetCurrency() string
- func (x *PaymentProfileResponse) GetIdentifier() string
- func (*PaymentProfileResponse) ProtoMessage()
- func (x *PaymentProfileResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentProfileResponse) Reset()
- func (x *PaymentProfileResponse) SetCountry(v string)
- func (x *PaymentProfileResponse) SetCurrency(v string)
- func (x *PaymentProfileResponse) SetIdentifier(v string)
- func (x *PaymentProfileResponse) String() string
- type PaymentProfileResponse_builder
- type PaymentRequest
- func (x *PaymentRequest) ClearAddress()
- func (x *PaymentRequest) ClearApplePayPayment()
- func (x *PaymentRequest) ClearCardTokenexPayment()
- func (x *PaymentRequest) ClearSavedCardPayment()
- func (x *PaymentRequest) GetAddress() *shared.BillingAddress
- func (x *PaymentRequest) GetApplePayPayment() *ApplePayPayment
- func (x *PaymentRequest) GetCardTokenexPayment() *CardTokenexPayment
- func (x *PaymentRequest) GetOrderId() string
- func (x *PaymentRequest) GetSavedCardPayment() *SavedCardPayment
- func (x *PaymentRequest) HasAddress() bool
- func (x *PaymentRequest) HasApplePayPayment() bool
- func (x *PaymentRequest) HasCardTokenexPayment() bool
- func (x *PaymentRequest) HasSavedCardPayment() bool
- func (*PaymentRequest) ProtoMessage()
- func (x *PaymentRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentRequest) Reset()
- func (x *PaymentRequest) SetAddress(v *shared.BillingAddress)
- func (x *PaymentRequest) SetApplePayPayment(v *ApplePayPayment)
- func (x *PaymentRequest) SetCardTokenexPayment(v *CardTokenexPayment)
- func (x *PaymentRequest) SetOrderId(v string)
- func (x *PaymentRequest) SetSavedCardPayment(v *SavedCardPayment)
- func (x *PaymentRequest) String() string
- type PaymentRequest_builder
- type PaymentResponse
- func (x *PaymentResponse) ClearOrder()
- func (x *PaymentResponse) ClearRetryOrderId()
- func (x *PaymentResponse) ClearScript_3Ds()
- func (x *PaymentResponse) GetOrder() *OrderResponse
- func (x *PaymentResponse) GetRetryOrderId() string
- func (x *PaymentResponse) GetScript_3Ds() string
- func (x *PaymentResponse) GetSuccess() bool
- func (x *PaymentResponse) HasOrder() bool
- func (x *PaymentResponse) HasRetryOrderId() bool
- func (x *PaymentResponse) HasScript_3Ds() bool
- func (*PaymentResponse) ProtoMessage()
- func (x *PaymentResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentResponse) Reset()
- func (x *PaymentResponse) SetOrder(v *OrderResponse)
- func (x *PaymentResponse) SetRetryOrderId(v string)
- func (x *PaymentResponse) SetScript_3Ds(v string)
- func (x *PaymentResponse) SetSuccess(v bool)
- func (x *PaymentResponse) String() string
- type PaymentResponse_builder
- type PaymentSource
- func (x *PaymentSource) ClearAddress()
- func (x *PaymentSource) GetAddress() *shared.BillingAddress
- func (x *PaymentSource) GetId() string
- func (x *PaymentSource) GetType() PaymentSourceType
- func (x *PaymentSource) GetValue() string
- func (x *PaymentSource) HasAddress() bool
- func (*PaymentSource) ProtoMessage()
- func (x *PaymentSource) ProtoReflect() protoreflect.Message
- func (x *PaymentSource) Reset()
- func (x *PaymentSource) SetAddress(v *shared.BillingAddress)
- func (x *PaymentSource) SetId(v string)
- func (x *PaymentSource) SetType(v PaymentSourceType)
- func (x *PaymentSource) SetValue(v string)
- func (x *PaymentSource) String() string
- type PaymentSourceType
- type PaymentSource_builder
- type PaymentSourcesResponse
- func (x *PaymentSourcesResponse) GetPaymentSources() []*PaymentSource
- func (*PaymentSourcesResponse) ProtoMessage()
- func (x *PaymentSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentSourcesResponse) Reset()
- func (x *PaymentSourcesResponse) SetPaymentSources(v []*PaymentSource)
- func (x *PaymentSourcesResponse) String() string
- type PaymentSourcesResponse_builder
- type PixOrderRequest
- func (x *PixOrderRequest) ClearOrder()
- func (x *PixOrderRequest) ClearPixParams()
- func (x *PixOrderRequest) GetOrder() *OrderReplenishRequest
- func (x *PixOrderRequest) GetPixParams() *PixRequest
- func (x *PixOrderRequest) HasOrder() bool
- func (x *PixOrderRequest) HasPixParams() bool
- func (*PixOrderRequest) ProtoMessage()
- func (x *PixOrderRequest) ProtoReflect() protoreflect.Message
- func (x *PixOrderRequest) Reset()
- func (x *PixOrderRequest) SetOrder(v *OrderReplenishRequest)
- func (x *PixOrderRequest) SetPixParams(v *PixRequest)
- func (x *PixOrderRequest) String() string
- type PixOrderRequest_builder
- type PixOrderResponse
- func (x *PixOrderResponse) ClearOrder()
- func (x *PixOrderResponse) ClearPixParams()
- func (x *PixOrderResponse) GetOrder() *OrderStatusResponse
- func (x *PixOrderResponse) GetPixParams() *PixResponse
- func (x *PixOrderResponse) HasOrder() bool
- func (x *PixOrderResponse) HasPixParams() bool
- func (*PixOrderResponse) ProtoMessage()
- func (x *PixOrderResponse) ProtoReflect() protoreflect.Message
- func (x *PixOrderResponse) Reset()
- func (x *PixOrderResponse) SetOrder(v *OrderStatusResponse)
- func (x *PixOrderResponse) SetPixParams(v *PixResponse)
- func (x *PixOrderResponse) String() string
- type PixOrderResponse_builder
- type PixPaymentRequest
- func (x *PixPaymentRequest) ClearAddress()
- func (x *PixPaymentRequest) ClearTaxId()
- func (x *PixPaymentRequest) GetAddress() *shared.BillingAddress
- func (x *PixPaymentRequest) GetOrderId() string
- func (x *PixPaymentRequest) GetTaxId() string
- func (x *PixPaymentRequest) HasAddress() bool
- func (x *PixPaymentRequest) HasTaxId() bool
- func (*PixPaymentRequest) ProtoMessage()
- func (x *PixPaymentRequest) ProtoReflect() protoreflect.Message
- func (x *PixPaymentRequest) Reset()
- func (x *PixPaymentRequest) SetAddress(v *shared.BillingAddress)
- func (x *PixPaymentRequest) SetOrderId(v string)
- func (x *PixPaymentRequest) SetTaxId(v string)
- func (x *PixPaymentRequest) String() string
- type PixPaymentRequest_builder
- type PixPaymentResponse
- type PixPaymentResponse_builder
- type PixRequest
- func (x *PixRequest) ClearAddress()
- func (x *PixRequest) ClearTaxId()
- func (x *PixRequest) GetAddress() *shared.BillingAddress
- func (x *PixRequest) GetTaxId() string
- func (x *PixRequest) HasAddress() bool
- func (x *PixRequest) HasTaxId() bool
- func (*PixRequest) ProtoMessage()
- func (x *PixRequest) ProtoReflect() protoreflect.Message
- func (x *PixRequest) Reset()
- func (x *PixRequest) SetAddress(v *shared.BillingAddress)
- func (x *PixRequest) SetTaxId(v string)
- func (x *PixRequest) String() string
- type PixRequest_builder
- type PixResponse
- type PixResponse_builder
- type SavedCardPayment
- func (x *SavedCardPayment) ClearKountData()
- func (x *SavedCardPayment) GetKountData() *KountData
- func (x *SavedCardPayment) GetSavedCardId() string
- func (x *SavedCardPayment) GetTokenHmac() string
- func (x *SavedCardPayment) HasKountData() bool
- func (*SavedCardPayment) ProtoMessage()
- func (x *SavedCardPayment) ProtoReflect() protoreflect.Message
- func (x *SavedCardPayment) Reset()
- func (x *SavedCardPayment) SetKountData(v *KountData)
- func (x *SavedCardPayment) SetSavedCardId(v string)
- func (x *SavedCardPayment) SetTokenHmac(v string)
- func (x *SavedCardPayment) String() string
- type SavedCardPaymentConfig
- func (x *SavedCardPaymentConfig) ClearKountConfig()
- func (x *SavedCardPaymentConfig) ClearTokenexConfig()
- func (x *SavedCardPaymentConfig) GetKountConfig() *KountConfig
- func (x *SavedCardPaymentConfig) GetToken() string
- func (x *SavedCardPaymentConfig) GetTokenexConfig() *TokenexConfig
- func (x *SavedCardPaymentConfig) HasKountConfig() bool
- func (x *SavedCardPaymentConfig) HasTokenexConfig() bool
- func (*SavedCardPaymentConfig) ProtoMessage()
- func (x *SavedCardPaymentConfig) ProtoReflect() protoreflect.Message
- func (x *SavedCardPaymentConfig) Reset()
- func (x *SavedCardPaymentConfig) SetKountConfig(v *KountConfig)
- func (x *SavedCardPaymentConfig) SetToken(v string)
- func (x *SavedCardPaymentConfig) SetTokenexConfig(v *TokenexConfig)
- func (x *SavedCardPaymentConfig) String() string
- type SavedCardPaymentConfigRequest
- func (x *SavedCardPaymentConfigRequest) GetOrderId() string
- func (x *SavedCardPaymentConfigRequest) GetSavedCardId() string
- func (*SavedCardPaymentConfigRequest) ProtoMessage()
- func (x *SavedCardPaymentConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SavedCardPaymentConfigRequest) Reset()
- func (x *SavedCardPaymentConfigRequest) SetOrderId(v string)
- func (x *SavedCardPaymentConfigRequest) SetSavedCardId(v string)
- func (x *SavedCardPaymentConfigRequest) String() string
- type SavedCardPaymentConfigRequest_builder
- type SavedCardPaymentConfig_builder
- type SavedCardPayment_builder
- type TokenexConfig
- 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) SetAuthenticationKey(v string)
- func (x *TokenexConfig) SetTimestamp(v string)
- func (x *TokenexConfig) SetTokenScheme(v string)
- func (x *TokenexConfig) SetTokenexId(v string)
- func (x *TokenexConfig) SetUrl(v string)
- func (x *TokenexConfig) String() string
- type TokenexConfig_builder
- type TransferOrderRequest
- func (x *TransferOrderRequest) ClearIdempotencyKey()
- func (x *TransferOrderRequest) ClearReference()
- 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 (x *TransferOrderRequest) HasIdempotencyKey() bool
- func (x *TransferOrderRequest) HasReference() bool
- func (*TransferOrderRequest) ProtoMessage()
- func (x *TransferOrderRequest) ProtoReflect() protoreflect.Message
- func (x *TransferOrderRequest) Reset()
- func (x *TransferOrderRequest) SetAmount(v uint32)
- func (x *TransferOrderRequest) SetFromAsset(v string)
- func (x *TransferOrderRequest) SetIdempotencyKey(v string)
- func (x *TransferOrderRequest) SetReference(v string)
- func (x *TransferOrderRequest) SetToAsset(v string)
- func (x *TransferOrderRequest) String() string
- type TransferOrderRequest_builder
Constants ¶
This section is empty.
Variables ¶
var ( PaymentSourceType_name = map[int32]string{ 0: "CARD", 1: "BRAZIL_TAX_ID", } PaymentSourceType_value = map[string]int32{ "CARD": 0, "BRAZIL_TAX_ID": 1, } )
Enum value maps for PaymentSourceType.
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) 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) SetCountryCode ¶
func (x *ApplePayConfig) SetCountryCode(v string)
func (*ApplePayConfig) SetLineItemLabel ¶
func (x *ApplePayConfig) SetLineItemLabel(v string)
func (*ApplePayConfig) SetMerchantCapabilities ¶
func (x *ApplePayConfig) SetMerchantCapabilities(v []string)
func (*ApplePayConfig) SetMerchantId ¶
func (x *ApplePayConfig) SetMerchantId(v string)
func (*ApplePayConfig) SetOrderAmount ¶
func (x *ApplePayConfig) SetOrderAmount(v int32)
func (*ApplePayConfig) SetOrderCurrency ¶
func (x *ApplePayConfig) SetOrderCurrency(v string)
func (*ApplePayConfig) SetRequiredBillingContactFields ¶
func (x *ApplePayConfig) SetRequiredBillingContactFields(v []string)
func (*ApplePayConfig) SetSupportedNetworks ¶
func (x *ApplePayConfig) SetSupportedNetworks(v []string)
func (*ApplePayConfig) String ¶
func (x *ApplePayConfig) String() string
type ApplePayConfig_builder ¶
type ApplePayConfig_builder struct {
// Merchant ID
MerchantId string
// Merchant two-letter ISO 3166 country code
CountryCode string
// The payment networks the merchant supports.
SupportedNetworks []string
// The payment capabilities that the merchant supports
MerchantCapabilities []string
// Field names for requesting contact information in a payment request
RequiredBillingContactFields []string
// Description of the line item.
LineItemLabel string
// Amount of the payment
OrderAmount int32
// Code of the currency used in payment transaction
OrderCurrency string
// contains filtered or unexported fields
}
func (ApplePayConfig_builder) Build ¶
func (b0 ApplePayConfig_builder) Build() *ApplePayConfig
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) 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) SetPaymentData ¶
func (x *ApplePayPayment) SetPaymentData(v string)
func (*ApplePayPayment) String ¶
func (x *ApplePayPayment) String() string
type ApplePayPayment_builder ¶
type ApplePayPayment_builder struct {
// JSON payment data from apple pay sdk
PaymentData string
// contains filtered or unexported fields
}
func (ApplePayPayment_builder) Build ¶
func (b0 ApplePayPayment_builder) Build() *ApplePayPayment
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) ClearKountConfig ¶
func (x *CardPaymentConfig) ClearKountConfig()
func (*CardPaymentConfig) ClearTokenexConfig ¶
func (x *CardPaymentConfig) ClearTokenexConfig()
func (*CardPaymentConfig) GetKountConfig ¶
func (x *CardPaymentConfig) GetKountConfig() *KountConfig
func (*CardPaymentConfig) GetTokenexConfig ¶
func (x *CardPaymentConfig) GetTokenexConfig() *TokenexConfig
func (*CardPaymentConfig) HasKountConfig ¶
func (x *CardPaymentConfig) HasKountConfig() bool
func (*CardPaymentConfig) HasTokenexConfig ¶
func (x *CardPaymentConfig) HasTokenexConfig() bool
func (*CardPaymentConfig) ProtoMessage ¶
func (*CardPaymentConfig) ProtoMessage()
func (*CardPaymentConfig) ProtoReflect ¶
func (x *CardPaymentConfig) ProtoReflect() protoreflect.Message
func (*CardPaymentConfig) Reset ¶
func (x *CardPaymentConfig) Reset()
func (*CardPaymentConfig) SetKountConfig ¶
func (x *CardPaymentConfig) SetKountConfig(v *KountConfig)
func (*CardPaymentConfig) SetTokenexConfig ¶
func (x *CardPaymentConfig) SetTokenexConfig(v *TokenexConfig)
func (*CardPaymentConfig) String ¶
func (x *CardPaymentConfig) String() string
type CardPaymentConfig_builder ¶
type CardPaymentConfig_builder struct {
// Tokenex config
TokenexConfig *TokenexConfig
// Kount config
KountConfig *KountConfig
// contains filtered or unexported fields
}
func (CardPaymentConfig_builder) Build ¶
func (b0 CardPaymentConfig_builder) Build() *CardPaymentConfig
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 only 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) ClearKountData ¶
func (x *CardTokenexPayment) ClearKountData()
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) HasKountData ¶
func (x *CardTokenexPayment) HasKountData() bool
func (*CardTokenexPayment) ProtoMessage ¶
func (*CardTokenexPayment) ProtoMessage()
func (*CardTokenexPayment) ProtoReflect ¶
func (x *CardTokenexPayment) ProtoReflect() protoreflect.Message
func (*CardTokenexPayment) Reset ¶
func (x *CardTokenexPayment) Reset()
func (*CardTokenexPayment) SetCardHolderName ¶
func (x *CardTokenexPayment) SetCardHolderName(v string)
func (*CardTokenexPayment) SetExpMonth ¶
func (x *CardTokenexPayment) SetExpMonth(v string)
func (*CardTokenexPayment) SetExpYear ¶
func (x *CardTokenexPayment) SetExpYear(v string)
func (*CardTokenexPayment) SetKountData ¶
func (x *CardTokenexPayment) SetKountData(v *KountData)
func (*CardTokenexPayment) SetToken ¶
func (x *CardTokenexPayment) SetToken(v string)
func (*CardTokenexPayment) SetTokenHmac ¶
func (x *CardTokenexPayment) SetTokenHmac(v string)
func (*CardTokenexPayment) String ¶
func (x *CardTokenexPayment) String() string
type CardTokenexPayment_builder ¶
type CardTokenexPayment_builder struct {
// TokenEx token got from TokenEx tokenization response
Token string
// TokenEx token HMAC from TokenEx tokenization response
TokenHmac string
// 2 or 4-digit card expiration year
ExpYear string
// 2-digit card expiration month
ExpMonth string
// Card Holder name
CardHolderName string
// Kount data from Kount DDC (can be skipped only if Kount disabled)
KountData *KountData
// contains filtered or unexported fields
}
func (CardTokenexPayment_builder) Build ¶
func (b0 CardTokenexPayment_builder) Build() *CardTokenexPayment
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) ClearClientId ¶
func (x *KountConfig) ClearClientId()
func (*KountConfig) GetClientId ¶
func (x *KountConfig) GetClientId() string
func (*KountConfig) GetIsProd ¶
func (x *KountConfig) GetIsProd() bool
func (*KountConfig) HasClientId ¶
func (x *KountConfig) HasClientId() 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) SetClientId ¶
func (x *KountConfig) SetClientId(v string)
func (*KountConfig) SetIsProd ¶
func (x *KountConfig) SetIsProd(v bool)
func (*KountConfig) String ¶
func (x *KountConfig) String() string
type KountConfig_builder ¶
type KountConfig_builder struct {
// Flag indicating is it production environment
IsProd bool
// Client ID for DDC, Kount is disabled if not specified
ClientId *string
// contains filtered or unexported fields
}
func (KountConfig_builder) Build ¶
func (b0 KountConfig_builder) Build() *KountConfig
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,oneof" json:"first_six,omitempty"`
// Last four card number digits
LastFour *string `protobuf:"bytes,3,opt,name=last_four,json=lastFour,proto3,oneof" json:"last_four,omitempty"`
// Device user-agent
UserAgent *string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3,oneof" json:"user_agent,omitempty"`
// contains filtered or unexported fields
}
Data from Kount DDC for card payment
func (*KountData) ProtoReflect ¶
func (x *KountData) ProtoReflect() protoreflect.Message
type KountData_builder ¶
type KountData_builder struct {
// Session ID value got from Kount DDC
SessionId string
// First six card number digits
FirstSix *string
// Last four card number digits
LastFour *string
// Device user-agent
UserAgent *string
// contains filtered or unexported fields
}
func (KountData_builder) Build ¶
func (b0 KountData_builder) Build() *KountData
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) ClearAmount ¶
func (x *OperationLimitRequest) ClearAmount()
func (*OperationLimitRequest) GetAmount ¶
func (x *OperationLimitRequest) GetAmount() uint32
func (*OperationLimitRequest) GetOperation ¶
func (x *OperationLimitRequest) GetOperation() OperationType
func (*OperationLimitRequest) HasAmount ¶
func (x *OperationLimitRequest) HasAmount() bool
func (*OperationLimitRequest) ProtoMessage ¶
func (*OperationLimitRequest) ProtoMessage()
func (*OperationLimitRequest) ProtoReflect ¶
func (x *OperationLimitRequest) ProtoReflect() protoreflect.Message
func (*OperationLimitRequest) Reset ¶
func (x *OperationLimitRequest) Reset()
func (*OperationLimitRequest) SetAmount ¶
func (x *OperationLimitRequest) SetAmount(v uint32)
func (*OperationLimitRequest) SetOperation ¶
func (x *OperationLimitRequest) SetOperation(v OperationType)
func (*OperationLimitRequest) String ¶
func (x *OperationLimitRequest) String() string
type OperationLimitRequest_builder ¶
type OperationLimitRequest_builder struct {
// Type of oepration
Operation OperationType
// How much money the next operation is going to be
Amount *uint32
// contains filtered or unexported fields
}
func (OperationLimitRequest_builder) Build ¶
func (b0 OperationLimitRequest_builder) Build() *OperationLimitRequest
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) 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) SetIsReached ¶
func (x *OperationLimitResponse) SetIsReached(v bool)
func (*OperationLimitResponse) SetLimit ¶
func (x *OperationLimitResponse) SetLimit(v uint32)
func (*OperationLimitResponse) SetRemains ¶
func (x *OperationLimitResponse) SetRemains(v uint32)
func (*OperationLimitResponse) String ¶
func (x *OperationLimitResponse) String() string
type OperationLimitResponse_builder ¶
type OperationLimitResponse_builder struct {
// Is operational limit reached or not
IsReached bool
// How mush remain to spend before limit reached
Remains uint32
// Current limit
Limit uint32
// contains filtered or unexported fields
}
func (OperationLimitResponse_builder) Build ¶
func (b0 OperationLimitResponse_builder) Build() *OperationLimitResponse
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) 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) 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) SetOrderId ¶
func (x *OrderConfigRequest) SetOrderId(v string)
func (*OrderConfigRequest) String ¶
func (x *OrderConfigRequest) String() string
type OrderConfigRequest_builder ¶
type OrderConfigRequest_builder struct {
// Order id
OrderId string
// contains filtered or unexported fields
}
func (OrderConfigRequest_builder) Build ¶
func (b0 OrderConfigRequest_builder) Build() *OrderConfigRequest
type OrderReplenishRequest ¶
type OrderReplenishRequest struct {
// Amount in coins, it means that $5 should be 500
Amount uint32 `protobuf:"varint,1,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,2,opt,name=collect,proto3,oneof" json:"collect,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,3,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
// contains filtered or unexported fields
}
Request description for money replenishment
func (*OrderReplenishRequest) ClearCollect ¶
func (x *OrderReplenishRequest) ClearCollect()
func (*OrderReplenishRequest) ClearReference ¶
func (x *OrderReplenishRequest) ClearReference()
func (*OrderReplenishRequest) GetAmount ¶
func (x *OrderReplenishRequest) GetAmount() uint32
func (*OrderReplenishRequest) GetCollect ¶
func (x *OrderReplenishRequest) GetCollect() bool
func (*OrderReplenishRequest) GetReference ¶
func (x *OrderReplenishRequest) GetReference() string
func (*OrderReplenishRequest) HasCollect ¶
func (x *OrderReplenishRequest) HasCollect() bool
func (*OrderReplenishRequest) HasReference ¶
func (x *OrderReplenishRequest) HasReference() bool
func (*OrderReplenishRequest) ProtoMessage ¶
func (*OrderReplenishRequest) ProtoMessage()
func (*OrderReplenishRequest) ProtoReflect ¶
func (x *OrderReplenishRequest) ProtoReflect() protoreflect.Message
func (*OrderReplenishRequest) Reset ¶
func (x *OrderReplenishRequest) Reset()
func (*OrderReplenishRequest) SetAmount ¶
func (x *OrderReplenishRequest) SetAmount(v uint32)
func (*OrderReplenishRequest) SetCollect ¶
func (x *OrderReplenishRequest) SetCollect(v bool)
func (*OrderReplenishRequest) SetReference ¶
func (x *OrderReplenishRequest) SetReference(v string)
func (*OrderReplenishRequest) String ¶
func (x *OrderReplenishRequest) String() string
type OrderReplenishRequest_builder ¶
type OrderReplenishRequest_builder struct {
// Amount in coins, it means that $5 should be 500
Amount uint32
// Collect user tokenised payment credentials for futher usage
// Interanly used property, no need to setup it.
Collect *bool
// 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
// contains filtered or unexported fields
}
func (OrderReplenishRequest_builder) Build ¶
func (b0 OrderReplenishRequest_builder) Build() *OrderReplenishRequest
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) 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) SetAmount ¶
func (x *OrderResponse) SetAmount(v uint32)
func (*OrderResponse) SetId ¶
func (x *OrderResponse) SetId(v string)
func (*OrderResponse) SetReference ¶
func (x *OrderResponse) SetReference(v string)
func (*OrderResponse) SetStatus ¶
func (x *OrderResponse) SetStatus(v string)
func (*OrderResponse) String ¶
func (x *OrderResponse) String() string
type OrderResponse_builder ¶
type OrderResponse_builder struct {
// Order identifier, uuid string
Id string
// 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
// Amount in the order
Amount uint32
// Reference data that was placed into the order during the creation
Reference string
// contains filtered or unexported fields
}
func (OrderResponse_builder) Build ¶
func (b0 OrderResponse_builder) Build() *OrderResponse
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) 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) SetId ¶
func (x *OrderStatusRequest) SetId(v string)
func (*OrderStatusRequest) String ¶
func (x *OrderStatusRequest) String() string
type OrderStatusRequest_builder ¶
type OrderStatusRequest_builder struct {
// Order identifier after creations, uuid string
Id string
// contains filtered or unexported fields
}
func (OrderStatusRequest_builder) Build ¶
func (b0 OrderStatusRequest_builder) Build() *OrderStatusRequest
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) ClearCheckout ¶
func (x *OrderStatusResponse) ClearCheckout()
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) HasCheckout ¶
func (x *OrderStatusResponse) HasCheckout() bool
func (*OrderStatusResponse) ProtoMessage ¶
func (*OrderStatusResponse) ProtoMessage()
func (*OrderStatusResponse) ProtoReflect ¶
func (x *OrderStatusResponse) ProtoReflect() protoreflect.Message
func (*OrderStatusResponse) Reset ¶
func (x *OrderStatusResponse) Reset()
func (*OrderStatusResponse) SetAmount ¶
func (x *OrderStatusResponse) SetAmount(v uint32)
func (*OrderStatusResponse) SetCheckout ¶
func (x *OrderStatusResponse) SetCheckout(v string)
func (*OrderStatusResponse) SetId ¶
func (x *OrderStatusResponse) SetId(v string)
func (*OrderStatusResponse) SetReference ¶
func (x *OrderStatusResponse) SetReference(v string)
func (*OrderStatusResponse) SetStatus ¶
func (x *OrderStatusResponse) SetStatus(v string)
func (*OrderStatusResponse) String ¶
func (x *OrderStatusResponse) String() string
type OrderStatusResponse_builder ¶
type OrderStatusResponse_builder struct {
// Order identifier, uuid string
Id string
// 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
// Amount in the order
Amount uint32
// Reference data that was placed into the order during the creation
Reference string
// Link for displayning payment form for user
// Applicable only for replenish orders
Checkout *string
// contains filtered or unexported fields
}
func (OrderStatusResponse_builder) Build ¶
func (b0 OrderStatusResponse_builder) Build() *OrderStatusResponse
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) ClearAppStoreCountry ¶
func (x *PaymentProfileRequest) ClearAppStoreCountry()
func (*PaymentProfileRequest) GetAppStoreCountry ¶
func (x *PaymentProfileRequest) GetAppStoreCountry() string
func (*PaymentProfileRequest) HasAppStoreCountry ¶
func (x *PaymentProfileRequest) HasAppStoreCountry() bool
func (*PaymentProfileRequest) ProtoMessage ¶
func (*PaymentProfileRequest) ProtoMessage()
func (*PaymentProfileRequest) ProtoReflect ¶
func (x *PaymentProfileRequest) ProtoReflect() protoreflect.Message
func (*PaymentProfileRequest) Reset ¶
func (x *PaymentProfileRequest) Reset()
func (*PaymentProfileRequest) SetAppStoreCountry ¶
func (x *PaymentProfileRequest) SetAppStoreCountry(v string)
func (*PaymentProfileRequest) String ¶
func (x *PaymentProfileRequest) String() string
type PaymentProfileRequest_builder ¶
type PaymentProfileRequest_builder struct {
// App store country if available
// It is needed for detecting payment profile country
// and providing actual profile currency
AppStoreCountry *string
// contains filtered or unexported fields
}
func (PaymentProfileRequest_builder) Build ¶
func (b0 PaymentProfileRequest_builder) Build() *PaymentProfileRequest
type PaymentProfileResponse ¶
type PaymentProfileResponse struct {
// Payment profile currency, 3-letter code by ISO, like USD, GBP, BRL
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
// Special session identifier for player profile
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
// Payment profile ccountry, 2-letter code by ISO, like US, GB, BR
Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
// contains filtered or unexported fields
}
Payment profile actual details
func (*PaymentProfileResponse) GetCountry ¶
func (x *PaymentProfileResponse) GetCountry() string
func (*PaymentProfileResponse) GetCurrency ¶
func (x *PaymentProfileResponse) GetCurrency() string
func (*PaymentProfileResponse) GetIdentifier ¶
func (x *PaymentProfileResponse) GetIdentifier() 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) SetCountry ¶
func (x *PaymentProfileResponse) SetCountry(v string)
func (*PaymentProfileResponse) SetCurrency ¶
func (x *PaymentProfileResponse) SetCurrency(v string)
func (*PaymentProfileResponse) SetIdentifier ¶
func (x *PaymentProfileResponse) SetIdentifier(v string)
func (*PaymentProfileResponse) String ¶
func (x *PaymentProfileResponse) String() string
type PaymentProfileResponse_builder ¶
type PaymentProfileResponse_builder struct {
// Payment profile currency, 3-letter code by ISO, like USD, GBP, BRL
Currency string
// Special session identifier for player profile
Identifier string
// Payment profile ccountry, 2-letter code by ISO, like US, GB, BR
Country string
// contains filtered or unexported fields
}
func (PaymentProfileResponse_builder) Build ¶
func (b0 PaymentProfileResponse_builder) Build() *PaymentProfileResponse
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,oneof" 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"`
// Saved card payment
SavedCardPayment *SavedCardPayment `protobuf:"bytes,5,opt,name=saved_card_payment,json=savedCardPayment,proto3,oneof" json:"saved_card_payment,omitempty"`
// contains filtered or unexported fields
}
Payment request
func (*PaymentRequest) ClearAddress ¶
func (x *PaymentRequest) ClearAddress()
func (*PaymentRequest) ClearApplePayPayment ¶
func (x *PaymentRequest) ClearApplePayPayment()
func (*PaymentRequest) ClearCardTokenexPayment ¶
func (x *PaymentRequest) ClearCardTokenexPayment()
func (*PaymentRequest) ClearSavedCardPayment ¶
func (x *PaymentRequest) ClearSavedCardPayment()
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) GetSavedCardPayment ¶
func (x *PaymentRequest) GetSavedCardPayment() *SavedCardPayment
func (*PaymentRequest) HasAddress ¶
func (x *PaymentRequest) HasAddress() bool
func (*PaymentRequest) HasApplePayPayment ¶
func (x *PaymentRequest) HasApplePayPayment() bool
func (*PaymentRequest) HasCardTokenexPayment ¶
func (x *PaymentRequest) HasCardTokenexPayment() bool
func (*PaymentRequest) HasSavedCardPayment ¶
func (x *PaymentRequest) HasSavedCardPayment() bool
func (*PaymentRequest) ProtoMessage ¶
func (*PaymentRequest) ProtoMessage()
func (*PaymentRequest) ProtoReflect ¶
func (x *PaymentRequest) ProtoReflect() protoreflect.Message
func (*PaymentRequest) Reset ¶
func (x *PaymentRequest) Reset()
func (*PaymentRequest) SetAddress ¶
func (x *PaymentRequest) SetAddress(v *shared.BillingAddress)
func (*PaymentRequest) SetApplePayPayment ¶
func (x *PaymentRequest) SetApplePayPayment(v *ApplePayPayment)
func (*PaymentRequest) SetCardTokenexPayment ¶
func (x *PaymentRequest) SetCardTokenexPayment(v *CardTokenexPayment)
func (*PaymentRequest) SetOrderId ¶
func (x *PaymentRequest) SetOrderId(v string)
func (*PaymentRequest) SetSavedCardPayment ¶
func (x *PaymentRequest) SetSavedCardPayment(v *SavedCardPayment)
func (*PaymentRequest) String ¶
func (x *PaymentRequest) String() string
type PaymentRequest_builder ¶
type PaymentRequest_builder struct {
// Order id
OrderId string
// Billing address data
Address *shared.BillingAddress
// Apple pay data
ApplePayPayment *ApplePayPayment
// Card TokenEx data
CardTokenexPayment *CardTokenexPayment
// Saved card payment
SavedCardPayment *SavedCardPayment
// contains filtered or unexported fields
}
func (PaymentRequest_builder) Build ¶
func (b0 PaymentRequest_builder) Build() *PaymentRequest
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"`
// Script for 3ds check that should be opened in webview
Script_3Ds *string `protobuf:"bytes,4,opt,name=script_3ds,json=script3ds,proto3,oneof" json:"script_3ds,omitempty"`
// contains filtered or unexported fields
}
Payment response
func (*PaymentResponse) ClearOrder ¶
func (x *PaymentResponse) ClearOrder()
func (*PaymentResponse) ClearRetryOrderId ¶
func (x *PaymentResponse) ClearRetryOrderId()
func (*PaymentResponse) ClearScript_3Ds ¶
func (x *PaymentResponse) ClearScript_3Ds()
func (*PaymentResponse) GetOrder ¶
func (x *PaymentResponse) GetOrder() *OrderResponse
func (*PaymentResponse) GetRetryOrderId ¶
func (x *PaymentResponse) GetRetryOrderId() string
func (*PaymentResponse) GetScript_3Ds ¶
func (x *PaymentResponse) GetScript_3Ds() string
func (*PaymentResponse) GetSuccess ¶
func (x *PaymentResponse) GetSuccess() bool
func (*PaymentResponse) HasOrder ¶
func (x *PaymentResponse) HasOrder() bool
func (*PaymentResponse) HasRetryOrderId ¶
func (x *PaymentResponse) HasRetryOrderId() bool
func (*PaymentResponse) HasScript_3Ds ¶
func (x *PaymentResponse) HasScript_3Ds() 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) SetOrder ¶
func (x *PaymentResponse) SetOrder(v *OrderResponse)
func (*PaymentResponse) SetRetryOrderId ¶
func (x *PaymentResponse) SetRetryOrderId(v string)
func (*PaymentResponse) SetScript_3Ds ¶
func (x *PaymentResponse) SetScript_3Ds(v string)
func (*PaymentResponse) SetSuccess ¶
func (x *PaymentResponse) SetSuccess(v bool)
func (*PaymentResponse) String ¶
func (x *PaymentResponse) String() string
type PaymentResponse_builder ¶
type PaymentResponse_builder struct {
// If payment was successfull
Success bool
// Information about order
Order *OrderResponse
// Order id for recommended retry (for applepay)
RetryOrderId *string
// Script for 3ds check that should be opened in webview
Script_3Ds *string
// contains filtered or unexported fields
}
func (PaymentResponse_builder) Build ¶
func (b0 PaymentResponse_builder) Build() *PaymentResponse
type PaymentSource ¶
type PaymentSource struct {
// Unique id for payment source
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Type of payment source
Type PaymentSourceType `protobuf:"varint,2,opt,name=type,proto3,enum=linq.money.payments.v1.PaymentSourceType" json:"type,omitempty"`
// Value to display on UI
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// Billing address
Address *shared.BillingAddress `protobuf:"bytes,4,opt,name=address,proto3,oneof" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentSource) ClearAddress ¶
func (x *PaymentSource) ClearAddress()
func (*PaymentSource) GetAddress ¶
func (x *PaymentSource) GetAddress() *shared.BillingAddress
func (*PaymentSource) GetId ¶
func (x *PaymentSource) GetId() string
func (*PaymentSource) GetType ¶
func (x *PaymentSource) GetType() PaymentSourceType
func (*PaymentSource) GetValue ¶
func (x *PaymentSource) GetValue() string
func (*PaymentSource) HasAddress ¶
func (x *PaymentSource) HasAddress() bool
func (*PaymentSource) ProtoMessage ¶
func (*PaymentSource) ProtoMessage()
func (*PaymentSource) ProtoReflect ¶
func (x *PaymentSource) ProtoReflect() protoreflect.Message
func (*PaymentSource) Reset ¶
func (x *PaymentSource) Reset()
func (*PaymentSource) SetAddress ¶
func (x *PaymentSource) SetAddress(v *shared.BillingAddress)
func (*PaymentSource) SetId ¶
func (x *PaymentSource) SetId(v string)
func (*PaymentSource) SetType ¶
func (x *PaymentSource) SetType(v PaymentSourceType)
func (*PaymentSource) SetValue ¶
func (x *PaymentSource) SetValue(v string)
func (*PaymentSource) String ¶
func (x *PaymentSource) String() string
type PaymentSourceType ¶
type PaymentSourceType int32
const ( // Credic card PaymentSourceType_CARD PaymentSourceType = 0 // Brazilian tax id (CPF number) PaymentSourceType_BRAZIL_TAX_ID PaymentSourceType = 1 )
func (PaymentSourceType) Descriptor ¶
func (PaymentSourceType) Descriptor() protoreflect.EnumDescriptor
func (PaymentSourceType) Enum ¶
func (x PaymentSourceType) Enum() *PaymentSourceType
func (PaymentSourceType) Number ¶
func (x PaymentSourceType) Number() protoreflect.EnumNumber
func (PaymentSourceType) String ¶
func (x PaymentSourceType) String() string
func (PaymentSourceType) Type ¶
func (PaymentSourceType) Type() protoreflect.EnumType
type PaymentSource_builder ¶
type PaymentSource_builder struct {
// Unique id for payment source
Id string
// Type of payment source
Type PaymentSourceType
// Value to display on UI
Value string
// Billing address
Address *shared.BillingAddress
// contains filtered or unexported fields
}
func (PaymentSource_builder) Build ¶
func (b0 PaymentSource_builder) Build() *PaymentSource
type PaymentSourcesResponse ¶
type PaymentSourcesResponse struct {
PaymentSources []*PaymentSource `protobuf:"bytes,1,rep,name=payment_sources,json=paymentSources,proto3" json:"payment_sources,omitempty"`
// contains filtered or unexported fields
}
Payment sources - cards, tokens
func (*PaymentSourcesResponse) GetPaymentSources ¶
func (x *PaymentSourcesResponse) GetPaymentSources() []*PaymentSource
func (*PaymentSourcesResponse) ProtoMessage ¶
func (*PaymentSourcesResponse) ProtoMessage()
func (*PaymentSourcesResponse) ProtoReflect ¶
func (x *PaymentSourcesResponse) ProtoReflect() protoreflect.Message
func (*PaymentSourcesResponse) Reset ¶
func (x *PaymentSourcesResponse) Reset()
func (*PaymentSourcesResponse) SetPaymentSources ¶
func (x *PaymentSourcesResponse) SetPaymentSources(v []*PaymentSource)
func (*PaymentSourcesResponse) String ¶
func (x *PaymentSourcesResponse) String() string
type PaymentSourcesResponse_builder ¶
type PaymentSourcesResponse_builder struct {
PaymentSources []*PaymentSource
// contains filtered or unexported fields
}
func (PaymentSourcesResponse_builder) Build ¶
func (b0 PaymentSourcesResponse_builder) Build() *PaymentSourcesResponse
type PixOrderRequest ¶
type PixOrderRequest struct {
// Order params
Order *OrderReplenishRequest `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
// Specific pix params
PixParams *PixRequest `protobuf:"bytes,2,opt,name=pix_params,json=pixParams,proto3,oneof" json:"pix_params,omitempty"`
// contains filtered or unexported fields
}
func (*PixOrderRequest) ClearOrder ¶
func (x *PixOrderRequest) ClearOrder()
func (*PixOrderRequest) ClearPixParams ¶
func (x *PixOrderRequest) ClearPixParams()
func (*PixOrderRequest) GetOrder ¶
func (x *PixOrderRequest) GetOrder() *OrderReplenishRequest
func (*PixOrderRequest) GetPixParams ¶
func (x *PixOrderRequest) GetPixParams() *PixRequest
func (*PixOrderRequest) HasOrder ¶
func (x *PixOrderRequest) HasOrder() bool
func (*PixOrderRequest) HasPixParams ¶
func (x *PixOrderRequest) HasPixParams() bool
func (*PixOrderRequest) ProtoMessage ¶
func (*PixOrderRequest) ProtoMessage()
func (*PixOrderRequest) ProtoReflect ¶
func (x *PixOrderRequest) ProtoReflect() protoreflect.Message
func (*PixOrderRequest) Reset ¶
func (x *PixOrderRequest) Reset()
func (*PixOrderRequest) SetOrder ¶
func (x *PixOrderRequest) SetOrder(v *OrderReplenishRequest)
func (*PixOrderRequest) SetPixParams ¶
func (x *PixOrderRequest) SetPixParams(v *PixRequest)
func (*PixOrderRequest) String ¶
func (x *PixOrderRequest) String() string
type PixOrderRequest_builder ¶
type PixOrderRequest_builder struct {
// Order params
Order *OrderReplenishRequest
// Specific pix params
PixParams *PixRequest
// contains filtered or unexported fields
}
func (PixOrderRequest_builder) Build ¶
func (b0 PixOrderRequest_builder) Build() *PixOrderRequest
type PixOrderResponse ¶
type PixOrderResponse struct {
// Common order params
Order *OrderStatusResponse `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
// Specific pix params
PixParams *PixResponse `protobuf:"bytes,2,opt,name=pix_params,json=pixParams,proto3" json:"pix_params,omitempty"`
// contains filtered or unexported fields
}
func (*PixOrderResponse) ClearOrder ¶
func (x *PixOrderResponse) ClearOrder()
func (*PixOrderResponse) ClearPixParams ¶
func (x *PixOrderResponse) ClearPixParams()
func (*PixOrderResponse) GetOrder ¶
func (x *PixOrderResponse) GetOrder() *OrderStatusResponse
func (*PixOrderResponse) GetPixParams ¶
func (x *PixOrderResponse) GetPixParams() *PixResponse
func (*PixOrderResponse) HasOrder ¶
func (x *PixOrderResponse) HasOrder() bool
func (*PixOrderResponse) HasPixParams ¶
func (x *PixOrderResponse) HasPixParams() bool
func (*PixOrderResponse) ProtoMessage ¶
func (*PixOrderResponse) ProtoMessage()
func (*PixOrderResponse) ProtoReflect ¶
func (x *PixOrderResponse) ProtoReflect() protoreflect.Message
func (*PixOrderResponse) Reset ¶
func (x *PixOrderResponse) Reset()
func (*PixOrderResponse) SetOrder ¶
func (x *PixOrderResponse) SetOrder(v *OrderStatusResponse)
func (*PixOrderResponse) SetPixParams ¶
func (x *PixOrderResponse) SetPixParams(v *PixResponse)
func (*PixOrderResponse) String ¶
func (x *PixOrderResponse) String() string
type PixOrderResponse_builder ¶
type PixOrderResponse_builder struct {
// Common order params
Order *OrderStatusResponse
// Specific pix params
PixParams *PixResponse
// contains filtered or unexported fields
}
func (PixOrderResponse_builder) Build ¶
func (b0 PixOrderResponse_builder) Build() *PixOrderResponse
type PixPaymentRequest ¶
type PixPaymentRequest struct {
// Order id
OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
// Pix tax id (CPF)
TaxId *string `protobuf:"bytes,2,opt,name=tax_id,json=taxId,proto3,oneof" json:"tax_id,omitempty"`
// Billing address
Address *shared.BillingAddress `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"`
// contains filtered or unexported fields
}
Pix (brazilian payment system) request
func (*PixPaymentRequest) ClearAddress ¶
func (x *PixPaymentRequest) ClearAddress()
func (*PixPaymentRequest) ClearTaxId ¶
func (x *PixPaymentRequest) ClearTaxId()
func (*PixPaymentRequest) GetAddress ¶
func (x *PixPaymentRequest) GetAddress() *shared.BillingAddress
func (*PixPaymentRequest) GetOrderId ¶
func (x *PixPaymentRequest) GetOrderId() string
func (*PixPaymentRequest) GetTaxId ¶
func (x *PixPaymentRequest) GetTaxId() string
func (*PixPaymentRequest) HasAddress ¶
func (x *PixPaymentRequest) HasAddress() bool
func (*PixPaymentRequest) HasTaxId ¶
func (x *PixPaymentRequest) HasTaxId() bool
func (*PixPaymentRequest) ProtoMessage ¶
func (*PixPaymentRequest) ProtoMessage()
func (*PixPaymentRequest) ProtoReflect ¶
func (x *PixPaymentRequest) ProtoReflect() protoreflect.Message
func (*PixPaymentRequest) Reset ¶
func (x *PixPaymentRequest) Reset()
func (*PixPaymentRequest) SetAddress ¶
func (x *PixPaymentRequest) SetAddress(v *shared.BillingAddress)
func (*PixPaymentRequest) SetOrderId ¶
func (x *PixPaymentRequest) SetOrderId(v string)
func (*PixPaymentRequest) SetTaxId ¶
func (x *PixPaymentRequest) SetTaxId(v string)
func (*PixPaymentRequest) String ¶
func (x *PixPaymentRequest) String() string
type PixPaymentRequest_builder ¶
type PixPaymentRequest_builder struct {
// Order id
OrderId string
// Pix tax id (CPF)
TaxId *string
// Billing address
Address *shared.BillingAddress
// contains filtered or unexported fields
}
func (PixPaymentRequest_builder) Build ¶
func (b0 PixPaymentRequest_builder) Build() *PixPaymentRequest
type PixPaymentResponse ¶
type PixPaymentResponse struct {
// Pix code
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
Pix (brazilian payment system) config
func (*PixPaymentResponse) GetCode ¶
func (x *PixPaymentResponse) GetCode() string
func (*PixPaymentResponse) ProtoMessage ¶
func (*PixPaymentResponse) ProtoMessage()
func (*PixPaymentResponse) ProtoReflect ¶
func (x *PixPaymentResponse) ProtoReflect() protoreflect.Message
func (*PixPaymentResponse) Reset ¶
func (x *PixPaymentResponse) Reset()
func (*PixPaymentResponse) SetCode ¶
func (x *PixPaymentResponse) SetCode(v string)
func (*PixPaymentResponse) String ¶
func (x *PixPaymentResponse) String() string
type PixPaymentResponse_builder ¶
type PixPaymentResponse_builder struct {
// Pix code
Code string
// contains filtered or unexported fields
}
func (PixPaymentResponse_builder) Build ¶
func (b0 PixPaymentResponse_builder) Build() *PixPaymentResponse
type PixRequest ¶
type PixRequest struct {
// Brazil CPF
TaxId *string `protobuf:"bytes,1,opt,name=tax_id,json=taxId,proto3,oneof" json:"tax_id,omitempty"`
// Billing address
Address *shared.BillingAddress `protobuf:"bytes,2,opt,name=address,proto3,oneof" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*PixRequest) ClearAddress ¶
func (x *PixRequest) ClearAddress()
func (*PixRequest) ClearTaxId ¶
func (x *PixRequest) ClearTaxId()
func (*PixRequest) GetAddress ¶
func (x *PixRequest) GetAddress() *shared.BillingAddress
func (*PixRequest) GetTaxId ¶
func (x *PixRequest) GetTaxId() string
func (*PixRequest) HasAddress ¶
func (x *PixRequest) HasAddress() bool
func (*PixRequest) HasTaxId ¶
func (x *PixRequest) HasTaxId() bool
func (*PixRequest) ProtoMessage ¶
func (*PixRequest) ProtoMessage()
func (*PixRequest) ProtoReflect ¶
func (x *PixRequest) ProtoReflect() protoreflect.Message
func (*PixRequest) Reset ¶
func (x *PixRequest) Reset()
func (*PixRequest) SetAddress ¶
func (x *PixRequest) SetAddress(v *shared.BillingAddress)
func (*PixRequest) SetTaxId ¶
func (x *PixRequest) SetTaxId(v string)
func (*PixRequest) String ¶
func (x *PixRequest) String() string
type PixRequest_builder ¶
type PixRequest_builder struct {
// Brazil CPF
TaxId *string
// Billing address
Address *shared.BillingAddress
// contains filtered or unexported fields
}
func (PixRequest_builder) Build ¶
func (b0 PixRequest_builder) Build() *PixRequest
type PixResponse ¶
type PixResponse struct {
// Pix code
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
func (*PixResponse) GetCode ¶
func (x *PixResponse) GetCode() string
func (*PixResponse) ProtoMessage ¶
func (*PixResponse) ProtoMessage()
func (*PixResponse) ProtoReflect ¶
func (x *PixResponse) ProtoReflect() protoreflect.Message
func (*PixResponse) Reset ¶
func (x *PixResponse) Reset()
func (*PixResponse) SetCode ¶
func (x *PixResponse) SetCode(v string)
func (*PixResponse) String ¶
func (x *PixResponse) String() string
type PixResponse_builder ¶
type PixResponse_builder struct {
// Pix code
Code string
// contains filtered or unexported fields
}
func (PixResponse_builder) Build ¶
func (b0 PixResponse_builder) Build() *PixResponse
type SavedCardPayment ¶
type SavedCardPayment struct {
// Saved card identifier
SavedCardId string `protobuf:"bytes,1,opt,name=saved_card_id,json=savedCardId,proto3" json:"saved_card_id,omitempty"`
// TokenEx token HMAC from TokenEx tokenization response
TokenHmac string `protobuf:"bytes,2,opt,name=token_hmac,json=tokenHmac,proto3" json:"token_hmac,omitempty"`
// Kount data from Kount DDC (can be skipped only if Kount disabled)
KountData *KountData `protobuf:"bytes,3,opt,name=kount_data,json=kountData,proto3,oneof" json:"kount_data,omitempty"`
// contains filtered or unexported fields
}
Payment with previously saved card
func (*SavedCardPayment) ClearKountData ¶
func (x *SavedCardPayment) ClearKountData()
func (*SavedCardPayment) GetKountData ¶
func (x *SavedCardPayment) GetKountData() *KountData
func (*SavedCardPayment) GetSavedCardId ¶
func (x *SavedCardPayment) GetSavedCardId() string
func (*SavedCardPayment) GetTokenHmac ¶
func (x *SavedCardPayment) GetTokenHmac() string
func (*SavedCardPayment) HasKountData ¶
func (x *SavedCardPayment) HasKountData() bool
func (*SavedCardPayment) ProtoMessage ¶
func (*SavedCardPayment) ProtoMessage()
func (*SavedCardPayment) ProtoReflect ¶
func (x *SavedCardPayment) ProtoReflect() protoreflect.Message
func (*SavedCardPayment) Reset ¶
func (x *SavedCardPayment) Reset()
func (*SavedCardPayment) SetKountData ¶
func (x *SavedCardPayment) SetKountData(v *KountData)
func (*SavedCardPayment) SetSavedCardId ¶
func (x *SavedCardPayment) SetSavedCardId(v string)
func (*SavedCardPayment) SetTokenHmac ¶
func (x *SavedCardPayment) SetTokenHmac(v string)
func (*SavedCardPayment) String ¶
func (x *SavedCardPayment) String() string
type SavedCardPaymentConfig ¶
type SavedCardPaymentConfig struct {
// Card token used for tokenex request
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// Tokenex config
TokenexConfig *TokenexConfig `protobuf:"bytes,2,opt,name=tokenex_config,json=tokenexConfig,proto3" json:"tokenex_config,omitempty"`
// Kount config
KountConfig *KountConfig `protobuf:"bytes,3,opt,name=kount_config,json=kountConfig,proto3" json:"kount_config,omitempty"`
// contains filtered or unexported fields
}
Data for saved card payment
func (*SavedCardPaymentConfig) ClearKountConfig ¶
func (x *SavedCardPaymentConfig) ClearKountConfig()
func (*SavedCardPaymentConfig) ClearTokenexConfig ¶
func (x *SavedCardPaymentConfig) ClearTokenexConfig()
func (*SavedCardPaymentConfig) GetKountConfig ¶
func (x *SavedCardPaymentConfig) GetKountConfig() *KountConfig
func (*SavedCardPaymentConfig) GetToken ¶
func (x *SavedCardPaymentConfig) GetToken() string
func (*SavedCardPaymentConfig) GetTokenexConfig ¶
func (x *SavedCardPaymentConfig) GetTokenexConfig() *TokenexConfig
func (*SavedCardPaymentConfig) HasKountConfig ¶
func (x *SavedCardPaymentConfig) HasKountConfig() bool
func (*SavedCardPaymentConfig) HasTokenexConfig ¶
func (x *SavedCardPaymentConfig) HasTokenexConfig() bool
func (*SavedCardPaymentConfig) ProtoMessage ¶
func (*SavedCardPaymentConfig) ProtoMessage()
func (*SavedCardPaymentConfig) ProtoReflect ¶
func (x *SavedCardPaymentConfig) ProtoReflect() protoreflect.Message
func (*SavedCardPaymentConfig) Reset ¶
func (x *SavedCardPaymentConfig) Reset()
func (*SavedCardPaymentConfig) SetKountConfig ¶
func (x *SavedCardPaymentConfig) SetKountConfig(v *KountConfig)
func (*SavedCardPaymentConfig) SetToken ¶
func (x *SavedCardPaymentConfig) SetToken(v string)
func (*SavedCardPaymentConfig) SetTokenexConfig ¶
func (x *SavedCardPaymentConfig) SetTokenexConfig(v *TokenexConfig)
func (*SavedCardPaymentConfig) String ¶
func (x *SavedCardPaymentConfig) String() string
type SavedCardPaymentConfigRequest ¶
type SavedCardPaymentConfigRequest struct {
// Order id
OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
// Saved card id
SavedCardId string `protobuf:"bytes,2,opt,name=saved_card_id,json=savedCardId,proto3" json:"saved_card_id,omitempty"`
// contains filtered or unexported fields
}
Saved card config request
func (*SavedCardPaymentConfigRequest) GetOrderId ¶
func (x *SavedCardPaymentConfigRequest) GetOrderId() string
func (*SavedCardPaymentConfigRequest) GetSavedCardId ¶
func (x *SavedCardPaymentConfigRequest) GetSavedCardId() string
func (*SavedCardPaymentConfigRequest) ProtoMessage ¶
func (*SavedCardPaymentConfigRequest) ProtoMessage()
func (*SavedCardPaymentConfigRequest) ProtoReflect ¶
func (x *SavedCardPaymentConfigRequest) ProtoReflect() protoreflect.Message
func (*SavedCardPaymentConfigRequest) Reset ¶
func (x *SavedCardPaymentConfigRequest) Reset()
func (*SavedCardPaymentConfigRequest) SetOrderId ¶
func (x *SavedCardPaymentConfigRequest) SetOrderId(v string)
func (*SavedCardPaymentConfigRequest) SetSavedCardId ¶
func (x *SavedCardPaymentConfigRequest) SetSavedCardId(v string)
func (*SavedCardPaymentConfigRequest) String ¶
func (x *SavedCardPaymentConfigRequest) String() string
type SavedCardPaymentConfigRequest_builder ¶
type SavedCardPaymentConfigRequest_builder struct {
// Order id
OrderId string
// Saved card id
SavedCardId string
// contains filtered or unexported fields
}
func (SavedCardPaymentConfigRequest_builder) Build ¶
func (b0 SavedCardPaymentConfigRequest_builder) Build() *SavedCardPaymentConfigRequest
type SavedCardPaymentConfig_builder ¶
type SavedCardPaymentConfig_builder struct {
// Card token used for tokenex request
Token string
// Tokenex config
TokenexConfig *TokenexConfig
// Kount config
KountConfig *KountConfig
// contains filtered or unexported fields
}
func (SavedCardPaymentConfig_builder) Build ¶
func (b0 SavedCardPaymentConfig_builder) Build() *SavedCardPaymentConfig
type SavedCardPayment_builder ¶
type SavedCardPayment_builder struct {
// Saved card identifier
SavedCardId string
// TokenEx token HMAC from TokenEx tokenization response
TokenHmac string
// Kount data from Kount DDC (can be skipped only if Kount disabled)
KountData *KountData
// contains filtered or unexported fields
}
func (SavedCardPayment_builder) Build ¶
func (b0 SavedCardPayment_builder) Build() *SavedCardPayment
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) 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) SetAuthenticationKey ¶
func (x *TokenexConfig) SetAuthenticationKey(v string)
func (*TokenexConfig) SetTimestamp ¶
func (x *TokenexConfig) SetTimestamp(v string)
func (*TokenexConfig) SetTokenScheme ¶
func (x *TokenexConfig) SetTokenScheme(v string)
func (*TokenexConfig) SetTokenexId ¶
func (x *TokenexConfig) SetTokenexId(v string)
func (*TokenexConfig) SetUrl ¶
func (x *TokenexConfig) SetUrl(v string)
func (*TokenexConfig) String ¶
func (x *TokenexConfig) String() string
type TokenexConfig_builder ¶
type TokenexConfig_builder struct {
// TokenEx url for POST request
Url string
// TokenEx id used for request
TokenexId string
// Timestamp string used for request
Timestamp string
// Auth key used for request
AuthenticationKey string
// Token scheme used for request
TokenScheme string
// contains filtered or unexported fields
}
func (TokenexConfig_builder) Build ¶
func (b0 TokenexConfig_builder) Build() *TokenexConfig
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) ClearIdempotencyKey ¶
func (x *TransferOrderRequest) ClearIdempotencyKey()
func (*TransferOrderRequest) ClearReference ¶
func (x *TransferOrderRequest) ClearReference()
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) HasIdempotencyKey ¶
func (x *TransferOrderRequest) HasIdempotencyKey() bool
func (*TransferOrderRequest) HasReference ¶
func (x *TransferOrderRequest) HasReference() bool
func (*TransferOrderRequest) ProtoMessage ¶
func (*TransferOrderRequest) ProtoMessage()
func (*TransferOrderRequest) ProtoReflect ¶
func (x *TransferOrderRequest) ProtoReflect() protoreflect.Message
func (*TransferOrderRequest) Reset ¶
func (x *TransferOrderRequest) Reset()
func (*TransferOrderRequest) SetAmount ¶
func (x *TransferOrderRequest) SetAmount(v uint32)
func (*TransferOrderRequest) SetFromAsset ¶
func (x *TransferOrderRequest) SetFromAsset(v string)
func (*TransferOrderRequest) SetIdempotencyKey ¶
func (x *TransferOrderRequest) SetIdempotencyKey(v string)
func (*TransferOrderRequest) SetReference ¶
func (x *TransferOrderRequest) SetReference(v string)
func (*TransferOrderRequest) SetToAsset ¶
func (x *TransferOrderRequest) SetToAsset(v string)
func (*TransferOrderRequest) String ¶
func (x *TransferOrderRequest) String() string
type TransferOrderRequest_builder ¶
type TransferOrderRequest_builder struct {
// Amount of transaction, should be in coins
Amount uint32
// Source account token
// Means from which account take money
FromAsset string
// Target account token
// Means to which account put money
ToAsset string
// Unique key for idempotency
IdempotencyKey *string
// 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
// contains filtered or unexported fields
}
func (TransferOrderRequest_builder) Build ¶
func (b0 TransferOrderRequest_builder) Build() *TransferOrderRequest
Source Files
¶
- native.pb.go
- payments.pb.go