sendmodel

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Code

type Code struct {
	Code        int    `json:"code"`
	Description string `json:"description"`
	TxStatus    string `json:"tx_status"`
	Type        int    `json:"type"`
}

type DBData

type DBData struct {
	MessageId      string `json:"message_id"`
	CreateDateTime string `json:"create_date_time"`
	InstrId        string `json:"instr_id" `
	EndToEndId     string `json:"end_to_end_id" `
	TxId           string `json:"tx_id" `

	// Method used to settle the (batch of) payment instructions.
	SettlementMethod string `json:"sttlm_mtd" `

	// A specific purpose account used to post debit and credit entries as a result of the transaction.
	SettlementAccountName string `json:"sttlm_acct" `
	SettlementParticipant string `json:"sttlm_participant" `
	SettlementAmount      string `json:"sttlm_amt" `
	SettlementCurrency    string `json:"sttlm_ccy" `

	AssetIssuer string `json:"issr" `

	InstructedAgentBIC string `json:"instructed_agent_bic"`
	InstructedAgentId  string `json:"instructed_agent_id"`

	InstructingAgentBIC string `json:"instructing_agent_bic"`
	InstructingAgentId  string `json:"instructing_agent_id"`

	SettlementDate string  `json:"settlement_date"`
	ExchangeRate   float64 `json:"exchange_rate"`
	ChargeBear     string  `json:"charge_bear"`
	ChargeAmount   string  `json:"charge_amount"`
	ChargeCurrency string  `json:"charge_currency"`

	ChargeAgentBIC string `json:"charge_agent_bic"`
	ChargeAgentId  string `json:"charge_agent_id"`

	InstructedAmount   string `json:"payout_amount"`
	InstructedCurrency string `json:"payout_currency"`
}

type ErrorModel

type ErrorModel struct {
	MessageID   string `json:"end_to_end_id"`
	MessageType string `json:"message_type"`
	ErrorType   string `json:"error_msg"`
}

type RDOData

type RDOData struct {
	SettlementAccountName string
	SettlementAmount      float64
	FeeAmount             float64
	MessageId             string
	OFIId                 string
	RFIId                 string
	SettlementCcy         string
	IssuerId              string
}

type SendPayload

type SendPayload struct {
	MsgId                 string   `protobuf:"bytes,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`
	MsgType               string   `protobuf:"bytes,2,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"`
	Message               []byte   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	OfiId                 string   `protobuf:"bytes,4,opt,name=ofi_id,json=ofiId,proto3" json:"ofi_id,omitempty"`
	OfiPublicKey          string   `protobuf:"bytes,5,opt,name=ofi_public_key,json=ofiPublicKey,proto3" json:"ofi_public_key,omitempty"`
	RfiId                 string   `protobuf:"bytes,6,opt,name=rfi_id,json=rfiId,proto3" json:"rfi_id,omitempty"`
	InstructionId         string   `protobuf:"bytes,7,opt,name=instruction_id,json=instructionId,proto3" json:"instruction_id,omitempty"`
	OriginalInstructionId string   `` /* 126-byte string literal not displayed */
	OriginalMsgId         string   `protobuf:"bytes,9,opt,name=original_msg_id,json=originalMsgId,proto3" json:"original_msg_id,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*SendPayload) Descriptor

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

func (*SendPayload) GetInstructionId

func (m *SendPayload) GetInstructionId() string

func (*SendPayload) GetMessage

func (m *SendPayload) GetMessage() []byte

func (*SendPayload) GetMsgId

func (m *SendPayload) GetMsgId() string

func (*SendPayload) GetMsgType

func (m *SendPayload) GetMsgType() string

func (*SendPayload) GetOfiId

func (m *SendPayload) GetOfiId() string

func (*SendPayload) GetOfiPublicKey

func (m *SendPayload) GetOfiPublicKey() string

func (*SendPayload) GetOriginalInstructionId

func (m *SendPayload) GetOriginalInstructionId() string

func (*SendPayload) GetOriginalMsgId

func (m *SendPayload) GetOriginalMsgId() string

func (*SendPayload) GetRfiId

func (m *SendPayload) GetRfiId() string

func (*SendPayload) ProtoMessage

func (*SendPayload) ProtoMessage()

func (*SendPayload) Reset

func (m *SendPayload) Reset()

func (*SendPayload) String

func (m *SendPayload) String() string

func (*SendPayload) XXX_DiscardUnknown

func (m *SendPayload) XXX_DiscardUnknown()

func (*SendPayload) XXX_Marshal

func (m *SendPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendPayload) XXX_Merge

func (m *SendPayload) XXX_Merge(src proto.Message)

func (*SendPayload) XXX_Size

func (m *SendPayload) XXX_Size() int

func (*SendPayload) XXX_Unmarshal

func (m *SendPayload) XXX_Unmarshal(b []byte) error

type SendVariables

type SendVariables struct {
	PaymentStatus    []string `json:"payment_status"`
	WWBIC            string   `json:"wwbic"`
	WWCCY            string   `json:"wwccy"`
	XSDType          []string `json:"xsd_type"`
	MSGType          []string `json:"msg_type"`
	XSDPath          []string `json:"xsd_path"`
	Status           []Code   `json:"status"`
	SettlementMethod []string `json:"settlement_method"`
	DatabaseStatus   []string `json:"database_status"`
}

type SignData

type SignData struct {
	OFIId                 string
	SettlementAccountName string
	SettlementAmount      string
	AssetIssuerId         string
	CurrencyCode          string
}

type StatusData

type StatusData struct {
	CityCdtr              string
	CountryCdtr           string
	NameCdtr              string
	IdCdtr                string
	BICCdtr               string
	CityDbtr              string
	CountryDbtr           string
	NameDbtr              string
	IdDbtr                string
	BICDbtr               string
	CurrencyCode          string
	AssetType             string
	FeeCost               float64
	FeeCurrencyCode       string
	FeeAssetType          string
	CreditorStreet        string
	CreditorBuildingNo    string
	CreditorPostalCode    string
	CustomerStreet        string
	CustomerBuildingNo    string
	CustomerCountry       string
	AccountNameSend       string
	EndToEndID            string
	InstructionID         string
	OriginalInstructionID string
	IssuerID              string
	AmountBeneficiary     float64
	AssetCodeBeneficiary  string
	CrtyCcy               string
	AmountSettlement      float64
	ExchangeRate          float64
	SupplementaryData     map[string]string
}

type XMLData

type XMLData struct {
	ProtoBufData             interface{}
	RequestXMLMsg            []byte
	Signature                []byte
	MessageId                string
	OriginalMsgId            string
	OriginalEndtoEndId       string
	OriginalInstructionId    string
	OperationType            string
	OFIId                    string
	RFIId                    string
	RequestMsgType           string
	RFIAccount               string
	OFISettlementAccountName string
	RFISettlementAccountName string
	SettlementAmount         string
	FeeAmount                string
	StatusCode               string
	AssetIssuer              string
	OFIBIC                   string
	ErrorCode                int
	InstructionId            string
	CurrencyCode             string
	OfiCountry               string
	RfiCountry               string
	SupplementaryData        map[string]string
}

Jump to

Keyboard shortcuts

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