Documentation
¶
Index ¶
- func NewHasuraGraphQLClient(AdminSecret string, Endpoint string) graphql.Client
- type Account_type_enum
- type Interface_type_enum
- type PrepareMessagePayloadReceiverAccounts
- type PrepareMessagePayloadReceiverAccountsUserUsers
- func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_identifier() string
- func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_type() Interface_type_enum
- func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetPersonal_information() PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information
- type PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information
- func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetFamily_name() string
- func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetGiven_names() string
- func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetLanguage_code() string
- type PrepareMessagePayloadResponse
- type PrepareMessagePayloadSenderAccounts
- type PrepareMessagePayloadSenderAccountsUserUsers
- func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_identifier() string
- func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_type() Interface_type_enum
- func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetPersonal_information() PrepareMessagePayloadSenderAccountsUserUsersPersonal_information
- type PrepareMessagePayloadSenderAccountsUserUsersPersonal_information
- type PrepareMessagePayloadVouchers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account_type_enum ¶
type Account_type_enum string
const ( Account_type_enumCustodialBusiness Account_type_enum = "CUSTODIAL_BUSINESS" Account_type_enumCustodialCommunity Account_type_enum = "CUSTODIAL_COMMUNITY" Account_type_enumCustodialPersonal Account_type_enum = "CUSTODIAL_PERSONAL" Account_type_enumCustodialSystem Account_type_enum = "CUSTODIAL_SYSTEM" Account_type_enumNonCustodialBusiness Account_type_enum = "NON_CUSTODIAL_BUSINESS" Account_type_enumNonCustodialCommunity Account_type_enum = "NON_CUSTODIAL_COMMUNITY" Account_type_enumNonCustodialPersonal Account_type_enum = "NON_CUSTODIAL_PERSONAL" Account_type_enumNonCustodialSystem Account_type_enum = "NON_CUSTODIAL_SYSTEM" )
type Interface_type_enum ¶
type Interface_type_enum string
const ( Interface_type_enumApp Interface_type_enum = "APP" Interface_type_enumTelegram Interface_type_enum = "TELEGRAM" Interface_type_enumUssd Interface_type_enum = "USSD" )
type PrepareMessagePayloadReceiverAccounts ¶
type PrepareMessagePayloadReceiverAccounts struct {
Blockchain_address string `json:"blockchain_address"`
Account_type Account_type_enum `json:"account_type"`
// An object relationship
User PrepareMessagePayloadReceiverAccountsUserUsers `json:"user"`
}
PrepareMessagePayloadReceiverAccounts includes the requested fields of the GraphQL type accounts. The GraphQL type's documentation follows.
columns and relationships of "accounts"
func (*PrepareMessagePayloadReceiverAccounts) GetAccount_type ¶
func (v *PrepareMessagePayloadReceiverAccounts) GetAccount_type() Account_type_enum
GetAccount_type returns PrepareMessagePayloadReceiverAccounts.Account_type, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccounts) GetBlockchain_address ¶
func (v *PrepareMessagePayloadReceiverAccounts) GetBlockchain_address() string
GetBlockchain_address returns PrepareMessagePayloadReceiverAccounts.Blockchain_address, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccounts) GetUser ¶
func (v *PrepareMessagePayloadReceiverAccounts) GetUser() PrepareMessagePayloadReceiverAccountsUserUsers
GetUser returns PrepareMessagePayloadReceiverAccounts.User, and is useful for accessing the field via an interface.
type PrepareMessagePayloadReceiverAccountsUserUsers ¶
type PrepareMessagePayloadReceiverAccountsUserUsers struct {
Interface_type Interface_type_enum `json:"interface_type"`
Interface_identifier string `json:"interface_identifier"`
// An object relationship
Personal_information PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information `json:"personal_information"`
}
PrepareMessagePayloadReceiverAccountsUserUsers includes the requested fields of the GraphQL type users. The GraphQL type's documentation follows.
columns and relationships of "users"
func (*PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_identifier ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_identifier() string
GetInterface_identifier returns PrepareMessagePayloadReceiverAccountsUserUsers.Interface_identifier, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_type ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetInterface_type() Interface_type_enum
GetInterface_type returns PrepareMessagePayloadReceiverAccountsUserUsers.Interface_type, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccountsUserUsers) GetPersonal_information ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsers) GetPersonal_information() PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information
GetPersonal_information returns PrepareMessagePayloadReceiverAccountsUserUsers.Personal_information, and is useful for accessing the field via an interface.
type PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information ¶
type PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information struct {
Family_name string `json:"family_name"`
Given_names string `json:"given_names"`
Language_code string `json:"language_code"`
}
PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information includes the requested fields of the GraphQL type personal_information. The GraphQL type's documentation follows.
columns and relationships of "personal_information"
func (*PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetFamily_name ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetFamily_name() string
GetFamily_name returns PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information.Family_name, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetGiven_names ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetGiven_names() string
GetGiven_names returns PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information.Given_names, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetLanguage_code ¶
func (v *PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information) GetLanguage_code() string
GetLanguage_code returns PrepareMessagePayloadReceiverAccountsUserUsersPersonal_information.Language_code, and is useful for accessing the field via an interface.
type PrepareMessagePayloadResponse ¶
type PrepareMessagePayloadResponse struct {
// An array relationship
Sender []PrepareMessagePayloadSenderAccounts `json:"sender"`
// An array relationship
Receiver []PrepareMessagePayloadReceiverAccounts `json:"receiver"`
// fetch data from the table: "vouchers"
Vouchers []PrepareMessagePayloadVouchers `json:"vouchers"`
}
PrepareMessagePayloadResponse is returned by PrepareMessagePayload on success.
func PrepareMessagePayload ¶
func (*PrepareMessagePayloadResponse) GetReceiver ¶
func (v *PrepareMessagePayloadResponse) GetReceiver() []PrepareMessagePayloadReceiverAccounts
GetReceiver returns PrepareMessagePayloadResponse.Receiver, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadResponse) GetSender ¶
func (v *PrepareMessagePayloadResponse) GetSender() []PrepareMessagePayloadSenderAccounts
GetSender returns PrepareMessagePayloadResponse.Sender, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadResponse) GetVouchers ¶
func (v *PrepareMessagePayloadResponse) GetVouchers() []PrepareMessagePayloadVouchers
GetVouchers returns PrepareMessagePayloadResponse.Vouchers, and is useful for accessing the field via an interface.
type PrepareMessagePayloadSenderAccounts ¶
type PrepareMessagePayloadSenderAccounts struct {
Blockchain_address string `json:"blockchain_address"`
Account_type Account_type_enum `json:"account_type"`
// An object relationship
User PrepareMessagePayloadSenderAccountsUserUsers `json:"user"`
}
PrepareMessagePayloadSenderAccounts includes the requested fields of the GraphQL type accounts. The GraphQL type's documentation follows.
columns and relationships of "accounts"
func (*PrepareMessagePayloadSenderAccounts) GetAccount_type ¶
func (v *PrepareMessagePayloadSenderAccounts) GetAccount_type() Account_type_enum
GetAccount_type returns PrepareMessagePayloadSenderAccounts.Account_type, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccounts) GetBlockchain_address ¶
func (v *PrepareMessagePayloadSenderAccounts) GetBlockchain_address() string
GetBlockchain_address returns PrepareMessagePayloadSenderAccounts.Blockchain_address, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccounts) GetUser ¶
func (v *PrepareMessagePayloadSenderAccounts) GetUser() PrepareMessagePayloadSenderAccountsUserUsers
GetUser returns PrepareMessagePayloadSenderAccounts.User, and is useful for accessing the field via an interface.
type PrepareMessagePayloadSenderAccountsUserUsers ¶
type PrepareMessagePayloadSenderAccountsUserUsers struct {
Interface_type Interface_type_enum `json:"interface_type"`
Interface_identifier string `json:"interface_identifier"`
// An object relationship
Personal_information PrepareMessagePayloadSenderAccountsUserUsersPersonal_information `json:"personal_information"`
}
PrepareMessagePayloadSenderAccountsUserUsers includes the requested fields of the GraphQL type users. The GraphQL type's documentation follows.
columns and relationships of "users"
func (*PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_identifier ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_identifier() string
GetInterface_identifier returns PrepareMessagePayloadSenderAccountsUserUsers.Interface_identifier, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_type ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetInterface_type() Interface_type_enum
GetInterface_type returns PrepareMessagePayloadSenderAccountsUserUsers.Interface_type, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccountsUserUsers) GetPersonal_information ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsers) GetPersonal_information() PrepareMessagePayloadSenderAccountsUserUsersPersonal_information
GetPersonal_information returns PrepareMessagePayloadSenderAccountsUserUsers.Personal_information, and is useful for accessing the field via an interface.
type PrepareMessagePayloadSenderAccountsUserUsersPersonal_information ¶
type PrepareMessagePayloadSenderAccountsUserUsersPersonal_information struct {
Family_name string `json:"family_name"`
Given_names string `json:"given_names"`
Language_code string `json:"language_code"`
}
PrepareMessagePayloadSenderAccountsUserUsersPersonal_information includes the requested fields of the GraphQL type personal_information. The GraphQL type's documentation follows.
columns and relationships of "personal_information"
func (*PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetFamily_name ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetFamily_name() string
GetFamily_name returns PrepareMessagePayloadSenderAccountsUserUsersPersonal_information.Family_name, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetGiven_names ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetGiven_names() string
GetGiven_names returns PrepareMessagePayloadSenderAccountsUserUsersPersonal_information.Given_names, and is useful for accessing the field via an interface.
func (*PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetLanguage_code ¶
func (v *PrepareMessagePayloadSenderAccountsUserUsersPersonal_information) GetLanguage_code() string
GetLanguage_code returns PrepareMessagePayloadSenderAccountsUserUsersPersonal_information.Language_code, and is useful for accessing the field via an interface.
type PrepareMessagePayloadVouchers ¶
type PrepareMessagePayloadVouchers struct {
Symbol string `json:"symbol"`
}
PrepareMessagePayloadVouchers includes the requested fields of the GraphQL type vouchers. The GraphQL type's documentation follows.
columns and relationships of "vouchers"
func (*PrepareMessagePayloadVouchers) GetSymbol ¶
func (v *PrepareMessagePayloadVouchers) GetSymbol() string
GetSymbol returns PrepareMessagePayloadVouchers.Symbol, and is useful for accessing the field via an interface.