cain

package
v0.0.0-...-00ea27e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquirerAuthorisationInitiation

type AcquirerAuthorisationInitiation struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the authorisation initiation.
	AuthorisationInitiation *iso20022.AcquirerAuthorisationInitiation1 `xml:"AuthstnInitn"`

	// Trailer of the message containing a MAC.
	// It corresponds patially to ISO 8583 field number 53, completed by the field number 64 or 128.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The AcquirerAuthorisationInitiation message is sent by an acquirer or an agent to an issuer or an agent, to request, advice or notify the approval of a card transaction.

func (*AcquirerAuthorisationInitiation) AddAuthorisationInitiation

func (*AcquirerAuthorisationInitiation) AddHeader

func (*AcquirerAuthorisationInitiation) AddSecurityTrailer

type AcquirerAuthorisationResponse

type AcquirerAuthorisationResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the response of an authorisation.
	AuthorisationResponse *iso20022.AcquirerAuthorisationResponse1 `xml:"AuthstnRspn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The AcquirerAuthorisationResponse message is sent by an issuer or an agent to answer to an AcquirerAuthorisationInitiation message.

func (*AcquirerAuthorisationResponse) AddAuthorisationResponse

func (*AcquirerAuthorisationResponse) AddHeader

func (*AcquirerAuthorisationResponse) AddSecurityTrailer

type AcquirerFinancialInitiation

type AcquirerFinancialInitiation struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to financial authorisation.
	FinancialInitiation *iso20022.AcquirerFinancialInitiation1 `xml:"FinInitn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr"`
}

The AcquirerFinancialInitiation message is sent by an acquirer or an agent to an issuer or an agent, to request, advice or notify the approval and the clearing of a card transaction.

func (*AcquirerFinancialInitiation) AddFinancialInitiation

func (*AcquirerFinancialInitiation) AddHeader

func (*AcquirerFinancialInitiation) AddSecurityTrailer

type AcquirerFinancialResponse

type AcquirerFinancialResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the response of a financial authorisation.
	FinancialResponse *iso20022.AcquirerFinancialResponse1 `xml:"FinRspn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The AcquirerFinancialResponse message is sent by an issuer or an agent to answer to an AcquirerFinancialInitiation message.

func (*AcquirerFinancialResponse) AddFinancialResponse

func (*AcquirerFinancialResponse) AddHeader

func (*AcquirerFinancialResponse) AddSecurityTrailer

type AcquirerRejection

type AcquirerRejection struct {

	// Information related to the protocol management.
	Header *iso20022.Header19 `xml:"Hdr"`

	// Information related to the reject.
	Reject *iso20022.AcceptorRejection4 `xml:"Rjct"`
}

The AcquirerRejection message is sent by any party, to reject an Acquirer to Issuer message.

func (*AcquirerRejection) AddHeader

func (a *AcquirerRejection) AddHeader() *iso20022.Header19

func (*AcquirerRejection) AddReject

type AcquirerReversalInitiation

type AcquirerReversalInitiation struct {

	// Information related to the protocol management
	Header *iso20022.Header18 `xml:"Hdr"`

	// Information related to the reversal.
	ReversalInitiation *iso20022.AcquirerReversalInitiation1 `xml:"RvslInitn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The AcquirerReversalInitiation message is sent by an acquirer or an agent to an issuer or an agent, to request, advice or notify the reversal of a card transaction.

func (*AcquirerReversalInitiation) AddHeader

func (*AcquirerReversalInitiation) AddReversalInitiation

func (*AcquirerReversalInitiation) AddSecurityTrailer

type AcquirerReversalResponse

type AcquirerReversalResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header18 `xml:"Hdr"`

	// Information related to the response of a reversal.
	ReversalResponse *iso20022.AcquirerReversalResponse1 `xml:"RvslRspn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The AcquirerReversalResponse message is sent by an issuer or an agent to answer to an AcquirerReversalInitiation message.

func (*AcquirerReversalResponse) AddHeader

func (a *AcquirerReversalResponse) AddHeader() *iso20022.Header18

func (*AcquirerReversalResponse) AddReversalResponse

func (*AcquirerReversalResponse) AddSecurityTrailer

type Document00100101

type Document00100101 struct {
	XMLName xml.Name                         `xml:"urn:iso:std:iso:20022:tech:xsd:cain.001.001.01 Document"`
	Message *AcquirerAuthorisationInitiation `xml:"AcqrrAuthstnInitn"`
}

func (*Document00100101) AddMessage

type Document00200101

type Document00200101 struct {
	XMLName xml.Name                       `xml:"urn:iso:std:iso:20022:tech:xsd:cain.002.001.01 Document"`
	Message *AcquirerAuthorisationResponse `xml:"AcqrrAuthstnRspn"`
}

func (*Document00200101) AddMessage

type Document00300101

type Document00300101 struct {
	XMLName xml.Name                     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.003.001.01 Document"`
	Message *AcquirerFinancialInitiation `xml:"AcqrrFinInitn"`
}

func (*Document00300101) AddMessage

type Document00400101

type Document00400101 struct {
	XMLName xml.Name                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.004.001.01 Document"`
	Message *AcquirerFinancialResponse `xml:"AcqrrFinRspn"`
}

func (*Document00400101) AddMessage

type Document00500101

type Document00500101 struct {
	XMLName xml.Name                    `xml:"urn:iso:std:iso:20022:tech:xsd:cain.005.001.01 Document"`
	Message *AcquirerReversalInitiation `xml:"AcqrrRvslInitn"`
}

func (*Document00500101) AddMessage

type Document00600101

type Document00600101 struct {
	XMLName xml.Name                  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.006.001.01 Document"`
	Message *AcquirerReversalResponse `xml:"AcqrrRvslRspn"`
}

func (*Document00600101) AddMessage

func (d *Document00600101) AddMessage() *AcquirerReversalResponse

type Document00700101

type Document00700101 struct {
	XMLName xml.Name                  `xml:"urn:iso:std:iso:20022:tech:xsd:cain.007.001.01 Document"`
	Message *ReconciliationInitiation `xml:"RcncltnInitn"`
}

func (*Document00700101) AddMessage

func (d *Document00700101) AddMessage() *ReconciliationInitiation

type Document00800101

type Document00800101 struct {
	XMLName xml.Name                `xml:"urn:iso:std:iso:20022:tech:xsd:cain.008.001.01 Document"`
	Message *ReconciliationResponse `xml:"RcncltnRspn"`
}

func (*Document00800101) AddMessage

func (d *Document00800101) AddMessage() *ReconciliationResponse

type Document00900101

type Document00900101 struct {
	XMLName xml.Name                     `xml:"urn:iso:std:iso:20022:tech:xsd:cain.009.001.01 Document"`
	Message *NetworkManagementInitiation `xml:"NtwkMgmtInitn"`
}

func (*Document00900101) AddMessage

type Document01000101

type Document01000101 struct {
	XMLName xml.Name                   `xml:"urn:iso:std:iso:20022:tech:xsd:cain.010.001.01 Document"`
	Message *NetworkManagementResponse `xml:"NtwkMgmtRspn"`
}

func (*Document01000101) AddMessage

type Document01100101

type Document01100101 struct {
	XMLName xml.Name               `xml:"urn:iso:std:iso:20022:tech:xsd:cain.011.001.01 Document"`
	Message *KeyExchangeInitiation `xml:"KeyXchgInitn"`
}

func (*Document01100101) AddMessage

func (d *Document01100101) AddMessage() *KeyExchangeInitiation

type Document01200101

type Document01200101 struct {
	XMLName xml.Name             `xml:"urn:iso:std:iso:20022:tech:xsd:cain.012.001.01 Document"`
	Message *KeyExchangeResponse `xml:"KeyXchgRspn"`
}

func (*Document01200101) AddMessage

func (d *Document01200101) AddMessage() *KeyExchangeResponse

type Document01300101

type Document01300101 struct {
	XMLName xml.Name           `xml:"urn:iso:std:iso:20022:tech:xsd:cain.013.001.01 Document"`
	Message *AcquirerRejection `xml:"AcqrrRjctn"`
}

func (*Document01300101) AddMessage

func (d *Document01300101) AddMessage() *AcquirerRejection

type KeyExchangeInitiation

type KeyExchangeInitiation struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the key exchange.
	KeyExchangeInitiation *iso20022.AcquirerKeyExchangeInitiation1 `xml:"KeyXchgInitn"`

	// Trailer of the message containing a MAC or a digital signature.
	SecurityTrailer *iso20022.ContentInformationType12 `xml:"SctyTrlr"`
}

The KeyExchangeInitiation message is sent by any party to an acquirer, an issuer or an agent, to initiate a cryptographic key exchange.

func (*KeyExchangeInitiation) AddHeader

func (k *KeyExchangeInitiation) AddHeader() *iso20022.Header17

func (*KeyExchangeInitiation) AddKeyExchangeInitiation

func (k *KeyExchangeInitiation) AddKeyExchangeInitiation() *iso20022.AcquirerKeyExchangeInitiation1

func (*KeyExchangeInitiation) AddSecurityTrailer

func (k *KeyExchangeInitiation) AddSecurityTrailer() *iso20022.ContentInformationType12

type KeyExchangeResponse

type KeyExchangeResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the response to a key exchange.
	KeyExchangeResponse *iso20022.AcquirerKeyExchangeResponse1 `xml:"KeyXchgRspn"`

	// Trailer of the message containing a MAC or a digital signature.
	SecurityTrailer *iso20022.ContentInformationType12 `xml:"SctyTrlr"`
}

The KeyExchangeResponse message is sent by an acquirer, an issuer or an agent to answer to a KeyExchangeInitiation message and complete a cryptographic key exchange.

func (*KeyExchangeResponse) AddHeader

func (k *KeyExchangeResponse) AddHeader() *iso20022.Header17

func (*KeyExchangeResponse) AddKeyExchangeResponse

func (k *KeyExchangeResponse) AddKeyExchangeResponse() *iso20022.AcquirerKeyExchangeResponse1

func (*KeyExchangeResponse) AddSecurityTrailer

func (k *KeyExchangeResponse) AddSecurityTrailer() *iso20022.ContentInformationType12

type NetworkManagementInitiation

type NetworkManagementInitiation struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the network management.
	NetworkManagementInitiation *iso20022.AcquirerNetworkManagementInitiation1 `xml:"NtwkMgmtInitn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The NetworkManagementInitiation message covers the range of activities to control the operating condition of the network and may be initiated by any party to an acquirer, an issuer or an agent.

func (*NetworkManagementInitiation) AddHeader

func (*NetworkManagementInitiation) AddNetworkManagementInitiation

func (n *NetworkManagementInitiation) AddNetworkManagementInitiation() *iso20022.AcquirerNetworkManagementInitiation1

func (*NetworkManagementInitiation) AddSecurityTrailer

type NetworkManagementResponse

type NetworkManagementResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the response to the network management.
	NetworkManagementResponse *iso20022.AcquirerNetworkManagementResponse1 `xml:"NtwkMgmtRspn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The NetworkManagementResponse message is sent by an acquirer, an issuer or an agent to answer to an NetworkManagementInitiation message.

func (*NetworkManagementResponse) AddHeader

func (*NetworkManagementResponse) AddNetworkManagementResponse

func (n *NetworkManagementResponse) AddNetworkManagementResponse() *iso20022.AcquirerNetworkManagementResponse1

func (*NetworkManagementResponse) AddSecurityTrailer

type ReconciliationInitiation

type ReconciliationInitiation struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the reconciliation.
	ReconciliationInitiation *iso20022.AcquirerReconciliationInitiation1 `xml:"RcncltnInitn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The ReconciliationInitiation message is sent by an acquirer or an agent to an issuer or an agent, to initiate an exchange of totals to be reconciled for debits, credits, chargebacks and other transactions.

func (*ReconciliationInitiation) AddHeader

func (r *ReconciliationInitiation) AddHeader() *iso20022.Header17

func (*ReconciliationInitiation) AddReconciliationInitiation

func (r *ReconciliationInitiation) AddReconciliationInitiation() *iso20022.AcquirerReconciliationInitiation1

func (*ReconciliationInitiation) AddSecurityTrailer

type ReconciliationResponse

type ReconciliationResponse struct {

	// Information related to the protocol management.
	Header *iso20022.Header17 `xml:"Hdr"`

	// Information related to the response to a reconciliation.
	ReconciliationResponse *iso20022.AcquirerReconciliationResponse1 `xml:"RcncltnRspn"`

	// Trailer of the message containing a MAC.
	SecurityTrailer *iso20022.ContentInformationType15 `xml:"SctyTrlr,omitempty"`
}

The ReconciliationResponse message is sent by an issuer or an agent to return the reconciled totals for debits, credits, chargebacks and other transactions.

func (*ReconciliationResponse) AddHeader

func (r *ReconciliationResponse) AddHeader() *iso20022.Header17

func (*ReconciliationResponse) AddReconciliationResponse

func (r *ReconciliationResponse) AddReconciliationResponse() *iso20022.AcquirerReconciliationResponse1

func (*ReconciliationResponse) AddSecurityTrailer

func (r *ReconciliationResponse) AddSecurityTrailer() *iso20022.ContentInformationType15

Jump to

Keyboard shortcuts

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