entity

package
v0.0.0-...-6a8cb58 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: 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 Account

type Account struct {
	Command       string        `xml:"command" faker:"-" json:"command"`
	AccountNumber string        `xml:"account_number" faker:"-" json:"account_number"`
	Currency      string        `xml:"currency" faker:"-" json:"currency"`
	AccountType   string        `xml:"account_type" faker:"oneof: 130, 110" json:"account_type"`
	AccountStatus string        `xml:"account_status" faker:"-" json:"account_status"`
	AccountCount  string        `xml:"account_count" faker:"-" json:"account_count"`
	PaymentOrder  PaymentOrder  `xml:"payment_order" faker:"-" json:"payment_order"`
	CstAccAgentID string        `xml:"cst_acc_agent_id" faker:"-" json:"cst_acc_agent_id"`
	AccountObject AccountObject `xml:"account_object" faker:"-" json:"account_object"`
	Error         Error         `xml:"error" faker:"-" json:"error"`
	FlexibleField FlexibleField `xml:"flexible_field" faker:"-" json:"flexible_field"`
	Facilitator   Facilitator   `xml:"facilitator" faker:"-" json:"facilitator"`
}

type AccountObject

type AccountObject struct {
	RefID                 string                `xml:"ref_id,attr" faker:"-" json:"ref_id"`
	AccountLinkFlag       string                `xml:"account_link_flag" faker:"-" json:"account_link_flag"`
	IsPosDefault          string                `xml:"is_pos_default" faker:"-" json:"is_pos_default"`
	IsAtmDefault          string                `xml:"is_atm_default" faker:"-" json:"is_atm_default"`
	AccountSeqNumber      string                `xml:"account_seq_number" faker:"-" json:"account_seq_number"`
	AccountObjectProperty AccountObjectProperty `xml:"account_object_property" faker:"-" json:"account_object_property"`
	Error                 Error                 `xml:"error" faker:"-" json:"error"`
}

AccountObject type

type AccountObjectProperty

type AccountObjectProperty struct {
	LinkPropertyType string `xml:"link_property_type" json:"link_property_type"`
	LinkProperty     string `xml:"link_property" json:"link_property"`
	LinkPropertyFlag string `xml:"link_property_flag" json:"link_property_flag"`
}

type Acquirer

type Acquirer struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type AdditionalAmount

type AdditionalAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
	AmountType  string `xml:"iss:amount_type,omitempty" json:"amount_type"`
}

type Address

type Address struct {
	Command     string      `xml:"command" faker:"-" json:"command"`
	AddressType string      `xml:"address_type" faker:"-" json:"address_type"`
	Country     string      `xml:"country" faker:"-" json:"country"`
	AddressName AddressName `xml:"address_name" faker:"-" json:"address_name"`
	House       string      `xml:"house" faker:"boundary_start=11, boundary_end=99" json:"house"`
	Apartment   string      `xml:"apartment" faker:"boundary_start=11, boundary_end=99" json:"apartment"`
	PostalCode  string      `xml:"postal_code" faker:"-" json:"postal_code"`
	PlaceCode   string      `xml:"place_code" faker:"-" json:"place_code"`
	RegionCode  string      `xml:"region_code" faker:"-" json:"region_code"`
	Latitude    string      `xml:"latitude" faker:"-" json:"latitude"`
	Longitude   string      `xml:"longitude" faker:"-" json:"longitude"`
	Error       Error       `xml:"error" faker:"-" json:"error"`
}

Address type

type AddressName

type AddressName struct {
	Language string `xml:"language,attr" faker:"-" json:"language"`
	Region   string `xml:"region" faker:"word" json:"region"`
	City     string `xml:"city" faker:"name" json:"city"`
	Street   string `xml:"street" faker:"name" json:"street"`
}

AddressName type

type Agent

type Agent struct {
	InstID      int     `json:"inst_id"`
	AgentID     int     `json:"agent_id"`
	ParentID    int     `json:"parent_id"`
	AgentNumber string  `json:"agent_number"`
	AgentName   string  `json:"agent_name"`
	AgentLevel  int     `json:"agent_level"`
	Children    []Agent `json:"children"`
}

type Aggregator

type Aggregator struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type Application

type Application struct {
	XMLName           xml.Name `xml:"application" faker:"-" json:"xml_name"`
	Xmlns             string   `xml:"xmlns,attr" faker:"-" json:"xmlns"`
	ApplicationID     string   `xml:"application_id" faker:"-" json:"application_id"`
	ApplicationType   string   `xml:"application_type" faker:"-" json:"application_type"`
	ApplicationFlowID string   `xml:"application_flow_id" faker:"-" json:"application_flow_id"`
	ApplicationStatus string   `xml:"application_status" faker:"-" json:"application_status"`
	OperatorID        string   `xml:"operator_id" faker:"-" json:"operator_id"`
	InstitutionID     string   `xml:"institution_id" faker:"-" json:"institution_id"`
	AgentID           string   `xml:"agent_id" faker:"-" json:"agent_id"`
	AgentNumber       string   `xml:"agent_number" faker:"-" json:"agent_number"`
	CustomerType      string   `xml:"customer_type" faker:"-" json:"customer_type"`
	Customer          Customer `xml:"customer" faker:"-" json:"customer"`
	Error             Error    `xml:"error" faker:"-" json:"error"`
}

type ApplicationObject

type ApplicationObject struct {
	EntityType   string `xml:"entity_type"`
	ObjectID     string `xml:"object_id"`
	ObjectNumber string `xml:"object_number"`
}

type AttributeChar

type AttributeChar struct {
	Text               string `xml:",chardata" json:"text"`
	Value              string `xml:"value,attr" json:"value"`
	ID                 string `xml:"id,attr" json:"id"`
	AttributeValueChar string `xml:"attribute_value_char" json:"attribute_value_char"`
	StartDate          string `xml:"start_date" json:"start_date"`
	EndDate            string `xml:"end_date" json:"end_date"`
	ModCondition       string `xml:"mod_condition" json:"mod_condition"`
	ModName            string `xml:"mod_name" json:"mod_name"`
	ModID              string `xml:"mod_id" json:"mod_id"`
	Error              Error  `xml:"error" json:"error"`
}

type AttributeCycle

type AttributeCycle struct {
	Value           string `xml:"value,attr" json:"value"`
	ID              string `xml:"id,attr" json:"id"`
	CycleStartDate  string `xml:"cycle_start_date" json:"cycle_start_date"`
	CycleLengthType string `xml:"cycle_length_type" json:"cycle_length_type"`
	CycleLength     string `xml:"cycle_length" json:"cycle_length"`
	CycleExclType   string `xml:"cycle_excl_type" json:"cycle_excl_type"`
	Shift           Shift  `xml:"shift" json:"shift"`
	StartDate       string `xml:"start_date" json:"start_date"`
	EndDate         string `xml:"end_date" json:"end_date"`
	ModCondition    string `xml:"mod_condition" json:"mod_condition"`
	ModName         string `xml:"mod_name" json:"mod_name"`
	ModID           string `xml:"mod_id" json:"mod_id"`
	Error           Error  `xml:"error" json:"error"`
}

type AttributeDate

type AttributeDate struct {
	Value              string `xml:"value,attr" json:"value"`
	ID                 string `xml:"id,attr" json:"id"`
	AttributeValueDate string `xml:"attribute_value_date" json:"attribute_value_date"`
	StartDate          string `xml:"start_date" json:"start_date"`
	EndDate            string `xml:"end_date" json:"end_date"`
	ModCondition       string `xml:"mod_condition" json:"mod_condition"`
	ModName            string `xml:"mod_name" json:"mod_name"`
	ModID              string `xml:"mod_id" json:"mod_id"`
	Error              Error  `xml:"error" json:"error"`
}

type AttributeFee

type AttributeFee struct {
	Value               string         `xml:"value,attr" json:"value"`
	ID                  string         `xml:"id,attr" json:"id"`
	FeeRateCalc         string         `xml:"fee_rate_calc" json:"fee_rate_calc"`
	FeeBaseCalc         string         `xml:"fee_base_calc" json:"fee_base_calc"`
	FeeFixedValue       string         `xml:"fee_fixed_value" json:"fee_fixed_value"`
	FeePercentValue     string         `xml:"fee_percent_value" json:"fee_percent_value"`
	FeeMinValue         string         `xml:"fee_min_value" json:"fee_min_value"`
	FeeMaxValue         string         `xml:"fee_max_value" json:"fee_max_value"`
	Currency            string         `xml:"currency" json:"currency"`
	StartDate           string         `xml:"start_date" json:"start_date"`
	EndDate             string         `xml:"end_date" json:"end_date"`
	CycleLengthType     string         `xml:"cycle_length_type" json:"cycle_length_type"`
	ModCondition        string         `xml:"mod_condition" json:"mod_condition"`
	ModName             string         `xml:"mod_name" json:"mod_name"`
	ModID               string         `xml:"mod_id" json:"mod_id"`
	LengthTypeAlgorithm string         `xml:"length_type_algorithm" json:"length_type_algorithm"`
	FeeTier             FeeTier        `xml:"fee_tier" json:"fee_tier"`
	Cycle               AttributeCycle `xml:"cycle" json:"cycle"`
	Error               Error          `xml:"error" json:"error"`
}

type AttributeLimit

type AttributeLimit struct {
	Value            string `xml:"value,attr" json:"value"`
	ID               string `xml:"id,attr" json:"id"`
	LimitCountValue  string `xml:"limit_count_value" json:"limit_count_value"`
	LimitSumValue    string `xml:"limit_sum_value" json:"limit_sum_value"`
	LimitCheckType   string `xml:"limit_check_type" json:"limit_check_type"`
	Currency         string `xml:"currency" json:"currency"`
	CounterAlgorithm string `xml:"counter_algorithm" json:"counter_algorithm"`
	StartDate        string `xml:"start_date" json:"start_date"`
	EndDate          string `xml:"end_date" json:"end_date"`
	ModCondition     string `xml:"mod_condition" json:"mod_condition"`
	ModName          string `xml:"mod_name" json:"mod_name"`
	ModID            string `xml:"mod_id" json:"mod_id"`
	Error            Error  `xml:"error" json:"error"`
}

type AttributeNum

type AttributeNum struct {
	Value             string `xml:"value,attr" json:"value"`
	ID                string `xml:"id,attr" json:"id"`
	AttributeValueNum string `xml:"attribute_value_num" json:"attribute_value_num"`
	StartDate         string `xml:"start_date" json:"start_date"`
	EndDate           string `xml:"end_date" json:"end_date"`
	ModCondition      string `xml:"mod_condition" json:"mod_condition"`
	ModName           string `xml:"mod_name" json:"mod_name"`
	ModID             string `xml:"mod_id" json:"mod_id"`
	Error             Error  `xml:"error" json:"error"`
}

type AuthData

type AuthData struct {
	RespCode               string  `xml:"iss:resp_code,omitempty" json:"resp_code"`
	ProcType               string  `xml:"iss:proc_type,omitempty" json:"proc_type"`
	ProcMode               string  `xml:"iss:proc_mode,omitempty" json:"proc_mode"`
	IsAdvice               string  `xml:"iss:is_advice,omitempty" json:"is_advice"`
	IsRepeat               string  `xml:"iss:is_repeat,omitempty" json:"is_repeat"`
	BinAmount              string  `xml:"iss:bin_amount,omitempty" json:"bin_amount"`
	BinCurrency            string  `xml:"iss:bin_currency,omitempty" json:"bin_currency"`
	BinCnvtRate            string  `xml:"iss:bin_cnvt_rate,omitempty" json:"bin_cnvt_rate"`
	NetworkAmount          string  `xml:"iss:network_amount,omitempty" json:"network_amount"`
	NetworkCurrency        string  `xml:"iss:network_currency,omitempty" json:"network_currency"`
	NetworkCnvtDate        string  `xml:"iss:network_cnvt_date,omitempty" json:"network_cnvt_date"`
	NetworkCnvtRate        string  `xml:"iss:network_cnvt_rate,omitempty" json:"network_cnvt_rate"`
	AccountCnvtRate        string  `xml:"iss:account_cnvt_rate,omitempty" json:"account_cnvt_rate"`
	AddrVerifResult        string  `xml:"iss:addr_verif_result,omitempty" json:"addr_verif_result"`
	AcqRespCode            string  `xml:"iss:acq_resp_code,omitempty" json:"acq_resp_code"`
	AcqDeviceProcResult    string  `xml:"iss:acq_device_proc_result,omitempty" json:"acq_device_proc_result"`
	CardDataInputCap       string  `xml:"iss:card_data_input_cap,omitempty" json:"card_data_input_cap"`
	CrdhAuthCap            string  `xml:"iss:crdh_auth_cap,omitempty" json:"crdh_auth_cap"`
	CardCaptureCap         string  `xml:"iss:card_capture_cap,omitempty" json:"card_capture_cap"`
	TerminalOperatingEnv   string  `xml:"iss:terminal_operating_env,omitempty" json:"terminal_operating_env"`
	CrdhPresence           string  `xml:"iss:crdh_presence,omitempty" json:"crdh_presence"`
	CardPresence           string  `xml:"iss:card_presence,omitempty" json:"card_presence"`
	CardDataInputMode      string  `xml:"iss:card_data_input_mode,omitempty" json:"card_data_input_mode"`
	CrdhAuthMethod         string  `xml:"iss:crdh_auth_method,omitempty" json:"crdh_auth_method"`
	CrdhAuthEntity         string  `xml:"iss:crdh_auth_entity,omitempty" json:"crdh_auth_entity"`
	CardDataOutputCap      string  `xml:"iss:card_data_output_cap,omitempty" json:"card_data_output_cap"`
	TerminalOutputCap      string  `xml:"iss:terminal_output_cap,omitempty" json:"terminal_output_cap"`
	PinCaptureCap          string  `xml:"iss:pin_capture_cap,omitempty" json:"pin_capture_cap"`
	PinPresence            string  `xml:"iss:pin_presence,omitempty" json:"pin_presence"`
	Cvv2Presence           string  `xml:"iss:cvv2_presence,omitempty" json:"cvv_2_presence"`
	CvcIndicator           string  `xml:"iss:cvc_indicator,omitempty" json:"cvc_indicator"`
	PosEntryMode           string  `xml:"iss:pos_entry_mode,omitempty" json:"pos_entry_mode"`
	PosCondCode            string  `xml:"iss:pos_cond_code,omitempty" json:"pos_cond_code"`
	EmvData                string  `xml:"iss:emv_data,omitempty" json:"emv_data"`
	AddlData               string  `xml:"iss:addl_data,omitempty" json:"addl_data"`
	ServiceCode            string  `xml:"iss:service_code,omitempty" json:"service_code"`
	DeviceDate             string  `xml:"iss:device_date,omitempty" json:"device_date"`
	Cvv2Result             string  `xml:"iss:cvv2_result,omitempty" json:"cvv_2_result"`
	IsCompleted            string  `xml:"iss:is_completed,omitempty" json:"is_completed"`
	Amounts                string  `xml:"iss:amounts,omitempty" json:"amounts"`
	SystemTraceAuditNumber string  `xml:"iss:system_trace_audit_number,omitempty" json:"system_trace_audit_number"`
	AuthTransactionID      string  `xml:"iss:auth_transaction_id,omitempty" json:"auth_transaction_id"`
	ExternalAuthID         string  `xml:"iss:external_auth_id,omitempty" json:"external_auth_id"`
	ExternalOrigID         string  `xml:"iss:external_orig_id,omitempty" json:"external_orig_id"`
	AgentUniqueID          string  `xml:"iss:agent_unique_id,omitempty" json:"agent_unique_id"`
	NativeRespCode         string  `xml:"iss:native_resp_code,omitempty" json:"native_resp_code"`
	AuthPurposeID          string  `xml:"iss:auth_purpose_id,omitempty" json:"auth_purpose_id"`
	AuthTag                AuthTag `xml:"iss:auth_tag,omitempty" json:"auth_tag"`
}

type AuthTag

type AuthTag struct {
	TagID     string `xml:"iss:tag_id,omitempty" json:"tag_id"`
	TagName   string `xml:"iss:tag_name,omitempty" json:"tag_name"`
	TagValue  string `xml:"iss:tag_value,omitempty" json:"tag_value"`
	SeqNumber string `xml:"iss:seq_number,omitempty" json:"seq_number"`
}

type CachedCard

type CachedCard struct {
	CardID        int64  `json:"card_id"`
	CardNumber    string `json:"card_number"`
	ApplicationId string `json:"application_id"`
	CardState     string `json:"card_state"`
	CardStatus    string `json:"card_status"`
}

type Card

type Card struct {
	Command                string        `xml:"command" faker:"-" json:"command"`
	DeliveryAgentNumber    string        `xml:"delivery_agent_number" json:"delivery_agent_number"`
	CardID                 string        `xml:"card_id" json:"card_id"`
	CardNumber             string        `xml:"card_number" json:"card_number"`
	CardType               string        `xml:"card_type" json:"card_type"`
	CardCount              string        `xml:"card_count" json:"card_count"`
	Category               string        `xml:"category" json:"category"`
	CardBlankType          string        `xml:"card_blank_type" json:"card_blank_type"`
	CardDeliveryChannel    string        `xml:"card_delivery_channel" json:"card_delivery_channel"`
	CardDeliveryStatus     string        `xml:"card_delivery_status" json:"card_delivery_status"`
	StartDate              string        `xml:"start_date" json:"start_date"`
	ExpirationDate         string        `xml:"expiration_date" json:"expiration_date"`
	CardIssDate            string        `xml:"card_iss_date" json:"card_iss_date"`
	Pvv                    string        `xml:"pvv" json:"pvv"`
	PvkIndex               string        `xml:"pvk_index" json:"pvk_index"`
	PinBlockFormat         string        `xml:"pin_block_format" json:"pin_block_format"`
	StartDateRule          string        `xml:"start_date_rule" json:"start_date_rule"`
	ExpirationDateRule     string        `xml:"expiration_date_rule" json:"expiration_date_rule"`
	PinRequest             string        `xml:"pin_request" json:"pin_request"`
	PersoPriority          string        `xml:"perso_priority" json:"perso_priority"`
	EmbossingRequest       string        `xml:"embossing_request" json:"embossing_request"`
	PinMailerRequest       string        `xml:"pin_mailer_request" json:"pin_mailer_request"`
	ReissueCardID          string        `xml:"reissue_card_id" json:"reissue_card_id"`
	ReissueCardNumber      string        `xml:"reissue_card_number" json:"reissue_card_number"`
	ReissueExpirationDate  string        `xml:"reissue_expiration_date" json:"reissue_expiration_date"`
	ReissueReason          string        `xml:"reissue_reason" json:"reissue_reason"`
	ReissueCommand         string        `xml:"reissue_command" json:"reissue_command"`
	CloneOptionalServices  string        `xml:"clone_optional_services" json:"clone_optional_services"`
	SequentialNumber       string        `xml:"sequential_number" json:"sequential_number"`
	CardState              string        `xml:"card_state" json:"card_state"`
	CardStatus             string        `xml:"card_status" json:"card_status"`
	FlexibleField          FlexibleField `xml:"flexible_field" json:"flexible_field"`
	Cardholder             Cardholder    `xml:"cardholder" json:"cardholder"`
	CardInstance           CardInstance  `xml:"card_instance" json:"card_instance"`
	PrecedingCard          PrecedingCard `xml:"preceding_card" json:"preceding_card"`
	EmbossedLineAdditional string        `xml:"embossed_line_additional" json:"embossed_line_additional"`
	SupplementaryInfo1     string        `xml:"supplementary_info_1" json:"supplementary_info_1"`
	Error                  Error         `xml:"error" json:"error"`
	Customer               *Customer     `xml:"customer" json:"customer"`
}

Card type

type CardInfo

type CardInfo struct {
	CardNumber          string     `xml:"card_number" json:"card_number"`
	CardMask            string     `xml:"card_mask" json:"card_mask"`
	CardID              string     `xml:"card_id" json:"card_id"`
	CardIssDate         string     `xml:"card_iss_date" json:"card_iss_date"`
	CardStartDate       string     `xml:"card_start_date" json:"card_start_date"`
	ExpirationDate      string     `xml:"expiration_date" json:"expiration_date"`
	SequentialNumber    string     `xml:"sequential_number" json:"sequential_number"`
	CardStatus          string     `xml:"card_status" json:"card_status"`
	CardState           string     `xml:"card_state" json:"card_state"`
	PINUpdateFlag       string     `xml:"pin_update_flag" json:"pin_update_flag"`
	CardTypeId          string     `xml:"card_type_id" json:"card_type_id"`
	AgentNumber         string     `xml:"agent_number" json:"agent_number"`
	AgentName           string     `xml:"agent_name" json:"agent_name"`
	DeliveryAgentNumber string     `xml:"delivery_agent_number" json:"delivery_agent_number"`
	DeliveryAgentName   string     `xml:"delivery_agent_name" json:"delivery_agent_name"`
	ProductNumber       string     `xml:"product_number" json:"product_number"`
	ProductName         string     `xml:"product_name" json:"product_name"`
	AccountInfo         Account    `xml:"account" json:"account"`
	CardholderInfo      Cardholder `xml:"cardholder" json:"cardholder"`
	CustomerInfo        Customer   `xml:"customer" json:"customer"`
}

type CardInstance

type CardInstance struct {
	SequentialNumber    string `xml:"sequential_number" json:"sequential_number"`
	CardState           string `xml:"card_state" json:"card_state"`
	CardStatus          string `xml:"card_status" json:"card_status"`
	CardIssDate         string `xml:"card_iss_date" json:"card_iss_date"`
	CardStartDate       string `xml:"card_start_date" json:"card_start_date"`
	ExpirationDate      string `xml:"expiration_date" json:"expiration_date"`
	CardholderName      string `xml:"cardholder_name" json:"cardholder_name"`
	CompanyEmbossedName string `xml:"company_embossed_name" json:"company_embossed_name"`
}

type CardRequest

type CardRequest struct {
	Product  Product `json:"product"`
	AgentId  int     `json:"agent_id"`
	Category string  `json:"category"`
	Action   string  `json:"action"`
}

type CardSecurity

type CardSecurity struct {
	PVV            string `xml:"iss:PVV,omitempty" json:"pvv,omitempty"`
	PINOffset      string `xml:"iss:PIN_offset,omitempty" json:"pin_offset,omitempty"`
	PINBlock       string `xml:"iss:PIN_block,omitempty" json:"pin_block,omitempty"`
	KeyIndex       string `xml:"iss:key_index,omitempty" json:"key_index,omitempty"`
	PINBlockFormat string `xml:"iss:PIN_block_format,omitempty" json:"pin_block_format,omitempty"`
}

type Cardholder

type Cardholder struct {
	Command                 string             `xml:"command" faker:"-" json:"command"`
	CardholderNumber        string             `xml:"cardholder_number" faker:"-" json:"cardholder_number"`
	CardholderName          string             `xml:"cardholder_name" faker:"-" json:"cardholder_name"`
	CardholderPhotoFileName string             `xml:"cardholder_photo_file_name" faker:"-" json:"cardholder_photo_file_name"`
	CardholderSignFileName  string             `xml:"cardholder_sign_file_name" faker:"-" json:"cardholder_sign_file_name"`
	Person                  Person             `xml:"person" faker:"-" json:"person"`
	Contact                 Contact            `xml:"contact" faker:"-" json:"contact"`
	Address                 Address            `xml:"address" faker:"-" json:"address"`
	SecWord                 SecWord            `xml:"sec_word" faker:"-" json:"sec_word"`
	Notification            Notification       `xml:"notification" faker:"-" json:"notification"`
	EmbossedSurname         string             `xml:"embossed_surname" faker:"-" json:"embossed_surname"`
	EmbossedFirstName       string             `xml:"embossed_first_name" faker:"-" json:"embossed_first_name"`
	EmbossedSecondName      string             `xml:"embossed_second_name" faker:"-" json:"embossed_second_name"`
	EmbossedTitle           string             `xml:"embossed_title" faker:"-" json:"embossed_title"`
	CustomerRelation        string             `xml:"customer_relation" faker:"-" json:"customer_relation"`
	Resident                string             `xml:"resident" faker:"-" json:"resident"`
	Nationality             string             `xml:"nationality" faker:"-" json:"nationality"`
	MaritalStatus           string             `xml:"marital_status" faker:"-" json:"marital_status"`
	FlexibleField           FlexibleField      `xml:"flexible_field" faker:"-" json:"flexible_field"`
	LanguagePreference      LanguagePreference `xml:"language_preference" faker:"-" json:"language_preference"`
}

type CaseProcess

type CaseProcess struct {
	Id      int64                  `json:"id"`
	Name    string                 `json:"name"`
	Order   int                    `json:"status"`
	Param   map[string]interface{} `json:"param"`
	EffDate time.Time              `json:"eff_date"`
}

type CaseResult

type CaseResult struct {
	ResultType string `json:"result_type"`
	Expected   string `json:"expected"`
	Result     string `json:"result"`
}

type Company

type Company struct {
	ID                        string       `xml:"id,attr" json:"id"`
	Command                   string       `xml:"command" json:"command"`
	EmbossedName              string       `xml:"embossed_name" json:"embossed_name"`
	IncorpForm                string       `xml:"incorp_form" json:"incorp_form"`
	PresenceOnLocation        string       `xml:"presence_on_location" json:"presence_on_location"`
	AuthorizedCapital         string       `xml:"authorized_capital" json:"authorized_capital"`
	AuthorizedCapitalCurrency string       `xml:"authorized_capital_currency" json:"authorized_capital_currency"`
	CompanyName               CompanyName  `xml:"company_name" json:"company_name"`
	IdentityCard              IdentityCard `xml:"identity_card" json:"identity_card"`
	Error                     Error        `xml:"error" json:"error"`
}

type CompanyName

type CompanyName struct {
	Language         string `xml:"language,attr" json:"language"`
	ID               string `xml:"id,attr" json:"id"`
	CompanyShortName string `xml:"company_short_name" json:"company_short_name"`
	CompanyFullName  string `xml:"company_full_name" json:"company_full_name"`
}

type Config

type Config struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type ConfigList

type ConfigList struct {
	Count   int               `json:"count"`
	Configs map[string]string `json:"configs"`
}

type Contact

type Contact struct {
	Command       string      `xml:"command" faker:"-" json:"command"`
	ContactType   string      `xml:"contact_type" faker:"-" json:"contact_type"`
	PreferredLang string      `xml:"preferred_lang" faker:"-" json:"preferred_lang"`
	JobTitle      string      `xml:"job_title" faker:"-" json:"job_title"`
	Person        Person      `xml:"person" faker:"-" json:"person"`
	ContactData   ContactData `xml:"contact_data" faker:"-" json:"contact_data"`
	Error         Error       `xml:"error" faker:"-" json:"error"`
}

Contact type

type ContactData

type ContactData struct {
	CommunMethod  string `xml:"commun_method" faker:"-" json:"commun_method"`
	CommunAddress string `xml:"commun_address" faker:"email" json:"commun_address"`
	StartDate     string `xml:"start_date" faker:"-" json:"start_date"`
	EndDate       string `xml:"end_date" faker:"-" json:"end_date"`
}

ContactData type

type Contract

type Contract struct {
	Command        string    `xml:"command" faker:"-" json:"command"`
	ContractType   string    `xml:"contract_type" faker:"-" json:"contract_type"`
	ProductID      string    `xml:"product_id" faker:"-" json:"product_id"`
	ProductNumber  string    `xml:"product_number" faker:"-" json:"product_number"`
	ContractNumber string    `xml:"contract_number" faker:"-" json:"contract_number"`
	StartDate      string    `xml:"start_date" faker:"-" json:"start_date"`
	EndDate        string    `xml:"end_date" faker:"-" json:"end_date"`
	Card           Card      `xml:"card" faker:"-" json:"card"`
	Services       []Service `xml:"service" faker:"-" json:"services"`
	Account        Account   `xml:"account" faker:"-" json:"account"`
	Document       Document  `xml:"document" faker:"-" json:"document"`
	Error          Error     `xml:"error" faker:"-" json:"error"`
}

Contract type

type Customer

type Customer struct {
	Command            string        `xml:"command" faker:"-" json:"command"`
	CustomerNumber     string        `xml:"customer_number" faker:"cc_number" json:"customer_number"`
	CustomerCategory   string        `xml:"customer_category" faker:"-" json:"customer_category"`
	CustomerExtType    string        `xml:"customer_ext_type" faker:"-" json:"customer_ext_type"`
	CustomerExtID      string        `xml:"customer_ext_id" faker:"-" json:"customer_ext_id"`
	CustomerRelation   string        `xml:"customer_relation" faker:"-" json:"customer_relation"`
	Resident           string        `xml:"resident" faker:"-" json:"resident"`
	Nationality        string        `xml:"nationality" faker:"-" json:"nationality"`
	CreditRating       string        `xml:"credit_rating" faker:"-" json:"credit_rating"`
	MoneyLaundryRisk   string        `xml:"money_laundry_risk" faker:"-" json:"money_laundry_risk"`
	MoneyLaundryReason string        `xml:"money_laundry_reason" faker:"-" json:"money_laundry_reason"`
	CustomerCount      string        `xml:"customer_count" faker:"-" json:"customer_count"`
	CustomerStatus     string        `xml:"customer_status" faker:"-" json:"customer_status"`
	EmploymentStatus   string        `xml:"employment_status" faker:"-" json:"employment_status"`
	EmploymentPeriod   string        `xml:"employment_period" faker:"-" json:"employment_period"`
	ResidenceType      string        `xml:"residence_type" faker:"-" json:"residence_type"`
	MaritalStatus      string        `xml:"marital_status" faker:"-" json:"marital_status"`
	MaritalStatusDate  string        `xml:"marital_status_date" faker:"-" json:"marital_status_date"`
	IncomeRange        string        `xml:"income_range" faker:"-" json:"income_range"`
	NumberOfChildren   string        `xml:"number_of_children" faker:"-" json:"number_of_children"`
	FlexibleField      FlexibleField `xml:"flexible_field" faker:"-" json:"flexible_field"`
	Note               Note          `xml:"note" faker:"-" json:"note"`
	Contract           Contract      `xml:"contract" faker:"-" json:"contract"`
	Person             Person        `xml:"person" faker:"-" json:"person"`
	Company            Company       `xml:"company" faker:"-" json:"company"`
	Contact            Contact       `xml:"contact" faker:"-" json:"contact"`
	Address            Address       `xml:"address" faker:"-" json:"address"`
	Notification       Notification  `xml:"notification" faker:"-" json:"notification"`
	Error              Error         `xml:"error" faker:"-" json:"error"`
}

type Destination

type Destination struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type Document

type Document struct {
	DocumentType     string `xml:"document_type" json:"document_type"`
	DocumentObject   string `xml:"document_object" json:"document_object"`
	DocumentNumber   string `xml:"document_number" json:"document_number"`
	DocumentDate     string `xml:"document_date" json:"document_date"`
	DocumentName     string `xml:"document_name" json:"document_name"`
	CustomerEds      string `xml:"customer_eds" json:"customer_eds"`
	UserEds          string `xml:"user_eds" json:"user_eds"`
	UserName         string `xml:"user_name" json:"user_name"`
	DocumentContents string `xml:"document_contents" json:"document_contents"`
	Error            Error  `xml:"error" json:"error"`
}

type Error

type Error struct {
	ID           string `xml:"id,attr,omitempty" json:"id,omitempty"`
	ErrorCode    string `xml:"error_code,omitempty" json:"error_code,omitempty"`
	ErrorDesc    string `xml:"error_desc,omitempty" json:"error_desc,omitempty"`
	ErrorElement string `xml:"error_element,omitempty" json:"error_element,omitempty"`
	ErrorDetails string `xml:"error_details,omitempty" json:"error_details,omitempty"`
}

type Facilitator

type Facilitator struct {
	AccountNumber string `xml:"account_number" json:"account_number"`
	Description   string `xml:"description" json:"description"`
}

type Fault

type Fault struct {
	Faultcode   string       `xml:"faultcode" json:"faultcode"`
	Faultstring string       `xml:"faultstring" json:"faultstring"`
	Detail      *FaultDetail `xml:"detail" json:"detail"`
	Code        *FaultCode   `xml:"Code"`
	Reason      *FaultReason `xml:"Reason"`
}

Fault type

type FaultCode

type FaultCode struct {
	Value   string       `xml:"Value"`
	Subcode FaultSubcode `xml:"Subcode"`
}

type FaultDetail

type FaultDetail struct {
	Details string `xml:"details" json:"details"`
}

FaultDetail type

type FaultReason

type FaultReason struct {
	Chardata string `xml:",chardata"`
	Text     struct {
		Text string `xml:",chardata"`
		Lang string `xml:"lang,attr"`
	} `xml:"Text"`
}

type FaultSubcode

type FaultSubcode struct {
	Text  string `xml:",chardata"`
	Value struct {
		Text string `xml:",chardata"`
		Ns1  string `xml:"ns1,attr"`
	} `xml:"Value"`
}

type FeeTier

type FeeTier struct {
	SumThreshold    string `xml:"sum_threshold" json:"sum_threshold"`
	CountThreshold  string `xml:"count_threshold" json:"count_threshold"`
	FeeFixedValue   string `xml:"fee_fixed_value" json:"fee_fixed_value"`
	FeePercentValue string `xml:"fee_percent_value" json:"fee_percent_value"`
	FeeMinValue     string `xml:"fee_min_value" json:"fee_min_value"`
	FeeMaxValue     string `xml:"fee_max_value" json:"fee_max_value"`
}

type FlexibleData

type FlexibleData struct {
	FieldName  string `xml:"iss:field_name,omitempty" json:"field_name"`
	FieldValue string `xml:"iss:field_value,omitempty" json:"field_value"`
}

type FlexibleField

type FlexibleField struct {
	FlexibleFieldName  string `xml:"flexible_field_name" json:"flexible_field_name"`
	FlexibleFieldValue string `xml:"flexible_field_value" json:"flexible_field_value"`
	Error              Error  `xml:"error" json:"error"`
}

type GetApplicationDetailsRequest

type GetApplicationDetailsRequest struct {
	ApplicationID     string `xml:"application_id,omitempty" json:"customer_type"`
	ApplicationNumber string `xml:"application_number,omitempty" json:"application_number"`
	Lang              string `xml:"lang,omitempty" json:"lang"`
	GetData           string `xml:"get_data,omitempty" json:"get_data"`
	GetNotes          string `xml:"get_notes,omitempty" json:"get_notes"`
	GetObjects        string `xml:"get_objects,omitempty" json:"get_objects"`
}

type GetApplicationDetailsResponse

type GetApplicationDetailsResponse struct {
	ApplicationID           string              `xml:"application_id"`
	ApplicationCreationDate string              `xml:"application_creation_date"`
	ApplicationLastUpdate   string              `xml:"application_last_update"`
	ApplicationType         string              `xml:"application_type"`
	ApplicationFlowID       string              `xml:"application_flow_id"`
	ApplicationStatus       string              `xml:"application_status"`
	InstID                  string              `xml:"inst_id"`
	AgentID                 string              `xml:"agent_id"`
	OperatorID              string              `xml:"operator_id"`
	OperatorName            string              `xml:"operator_name"`
	Objects                 []ApplicationObject `xml:"objects"`
}

type GetCardInfoRequest

type GetCardInfoRequest struct {
	XMLName       xml.Name `xml:"ins:getCardInfoRequest"`
	ApplId        string   `xml:"ins:applId" json:"applId"`
	IncludeLimits string   `xml:"ins:includeLimits" json:"includeLimits"`
	Lang          string   `xml:"ins:lang" json:"lang"`
}

type GetCardInfoResponse

type GetCardInfoResponse struct {
	XMLName  xml.Name `xml:"getCardInfoResponse"`
	BatchId  string   `xml:"batchId" json:"batchId"`
	CardInfo CardInfo `xml:"cardInfo" json:"cardInfo"`
}

type IdentityCard

type IdentityCard struct {
	Command       string        `xml:"command" faker:"-" json:"command"`
	IDType        string        `xml:"id_type" faker:"-" json:"id_type"`
	IDSeries      string        `xml:"id_series" faker:"cc_number" json:"id_series"`
	IDNumber      string        `xml:"id_number" faker:"cc_number" json:"id_number"`
	IDIssuer      string        `xml:"id_issuer" faker:"-" json:"id_issuer"`
	IDIssueDate   string        `xml:"id_issue_date" faker:"-" json:"id_issue_date"`
	IDExpireDate  string        `xml:"id_expire_date" faker:"-" json:"id_expire_date"`
	IDDesc        string        `xml:"id_desc" faker:"-" json:"id_desc"`
	FlexibleField FlexibleField `xml:"flexible_field" faker:"-" json:"flexible_field"`
	Error         Error         `xml:"error" faker:"-" json:"error"`
}

IdentityCard identify data

type InterchangeFee

type InterchangeFee struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type Issuer

type Issuer struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type LanguagePreference

type LanguagePreference struct {
	Command       string `xml:"command" faker:"-" json:"command"`
	PreferredLang string `xml:"preferred_lang" faker:"-" json:"preferred_lang"`
}

LanguagePreference type

type MakeOperationRequest

type MakeOperationRequest struct {
	OperationType string      `json:"operation_type"`
	Card          *CachedCard `json:"card"`
	Amount        string      `json:"amount"`
}

type Note

type Note struct {
	NoteType    string      `xml:"note_type" json:"note_type"`
	NoteContent NoteContent `xml:"note_content" json:"note_content"`
	Error       Error       `xml:"error" json:"error"`
}

type NoteContent

type NoteContent struct {
	Language   string `xml:"language,attr" json:"language"`
	NoteHeader string `xml:"note_header" json:"note_header"`
	NoteText   string `xml:"note_text" json:"note_text"`
	StartDate  string `xml:"start_date" json:"start_date"`
	EndDate    string `xml:"end_date" json:"end_date"`
	Error      Error  `xml:"error" json:"error"`
}

type Notification

type Notification struct {
	Command         string `xml:"command" faker:"-" json:"command"`
	EventType       string `xml:"event_type" faker:"-" json:"event_type"`
	DeliveryChannel string `xml:"delivery_channel" faker:"-" json:"delivery_channel"`
	DeliveryAddress string `xml:"delivery_address" faker:"e_164_phone_number" json:"delivery_address"`
	IsActive        string `xml:"is_active" faker:"-" json:"is_active"`
	Error           Error  `xml:"error" faker:"-" json:"error"`
}

Notification type

type OperAmount

type OperAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type OperCashbackAmount

type OperCashbackAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type OperRequestAmount

type OperRequestAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type OperSurchargeAmount

type OperSurchargeAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type Operation

type Operation struct {
	OperID                string               `xml:"iss:oper_id,omitempty" json:"oper_id"`
	OperType              string               `xml:"iss:oper_type,omitempty" json:"oper_type"`
	MsgType               string               `xml:"iss:msg_type,omitempty" json:"msg_type"`
	SttlType              string               `xml:"iss:sttl_type,omitempty" json:"sttl_type"`
	OriginalID            string               `xml:"iss:original_id,omitempty" json:"original_id"`
	DisputeID             string               `xml:"iss:dispute_id,omitempty" json:"dispute_id"`
	ReconciliationType    string               `xml:"iss:reconciliation_type,omitempty" json:"reconciliation_type"`
	OperDate              string               `xml:"iss:oper_date,omitempty" json:"oper_date"`
	HostDate              string               `xml:"iss:host_date,omitempty" json:"host_date"`
	OperCount             string               `xml:"iss:oper_count,omitempty" json:"oper_count"`
	OperAmount            *OperAmount          `xml:"iss:oper_amount,omitempty" json:"oper_amount"`
	OperRequestAmount     *OperRequestAmount   `xml:"iss:oper_request_amount,omitempty" json:"oper_request_amount"`
	OperSurchargeAmount   *OperSurchargeAmount `xml:"iss:oper_surcharge_amount,omitempty" json:"oper_surcharge_amount"`
	OperCashbackAmount    *OperCashbackAmount  `xml:"iss:oper_cashback_amount,omitempty" json:"oper_cashback_amount"`
	SttlAmount            *SttlAmount          `xml:"iss:sttl_amount,omitempty" json:"sttl_amount"`
	InterchangeFee        *InterchangeFee      `xml:"iss:interchange_fee,omitempty" json:"interchange_fee"`
	OriginatorRefnum      string               `xml:"iss:originator_refnum,omitempty" json:"originator_refnum"`
	NetworkRefnum         string               `xml:"iss:network_refnum,omitempty" json:"network_refnum"`
	AcqInstBin            string               `xml:"iss:acq_inst_bin,omitempty" json:"acq_inst_bin"`
	ForwardingInstBin     string               `xml:"iss:forwarding_inst_bin,omitempty" json:"forwarding_inst_bin"`
	OperReason            string               `xml:"iss:oper_reason,omitempty" json:"oper_reason"`
	Status                string               `xml:"iss:status,omitempty" json:"status"`
	StatusReason          string               `xml:"iss:status_reason,omitempty" json:"status_reason"`
	IsReversal            string               `xml:"iss:is_reversal,omitempty" json:"is_reversal"`
	MerchantNumber        string               `xml:"iss:merchant_number,omitempty" json:"merchant_number"`
	Mcc                   string               `xml:"iss:mcc,omitempty" json:"mcc"`
	MerchantName          string               `xml:"iss:merchant_name,omitempty" json:"merchant_name"`
	MerchantStreet        string               `xml:"iss:merchant_street,omitempty" json:"merchant_street"`
	MerchantCity          string               `xml:"iss:merchant_city,omitempty" json:"merchant_city"`
	MerchantRegion        string               `xml:"iss:merchant_region,omitempty" json:"merchant_region"`
	MerchantCountry       string               `xml:"iss:merchant_country,omitempty" json:"merchant_country"`
	MerchantPostcode      string               `xml:"iss:merchant_postcode,omitempty" json:"merchant_postcode"`
	TerminalType          string               `xml:"iss:terminal_type,omitempty" json:"terminal_type"`
	TerminalNumber        string               `xml:"iss:terminal_number,omitempty" json:"terminal_number"`
	SttlDate              string               `xml:"iss:sttl_date,omitempty" json:"sttl_date"`
	AcqSttlDate           string               `xml:"iss:acq_sttl_date,omitempty" json:"acq_sttl_date"`
	MatchStatus           string               `xml:"iss:match_status,omitempty" json:"match_status"`
	PaymentOrder          *PaymentOrder        `xml:"iss:payment_order,omitempty" json:"payment_order"`
	Issuer                *Issuer              `xml:"iss:issuer,omitempty" json:"issuer"`
	Acquirer              *Acquirer            `xml:"iss:acquirer,omitempty" json:"acquirer"`
	Destination           *Destination         `xml:"iss:destination,omitempty" json:"destination"`
	Aggregator            *Aggregator          `xml:"iss:aggregator,omitempty" json:"aggregator"`
	ServiceProvider       *ServiceProvider     `xml:"iss:service_provider,omitempty" json:"service_provider"`
	Participant           *Participant         `xml:"iss:participant,omitempty" json:"participant"`
	AuthData              *AuthData            `xml:"iss:auth_data,omitempty" json:"auth_data"`
	AdditionalAmount      *AdditionalAmount    `xml:"iss:additional_amount,omitempty" json:"additional_amount"`
	ProcessingStage       *ProcessingStage     `xml:"iss:processing_stage,omitempty" json:"processing_stage"`
	FlexibleData          []FlexibleData       `xml:"iss:flexible_data,omitempty" json:"flexible_data"`
	ClearingSequenceNum   string               `xml:"iss:clearing_sequence_num,omitempty" json:"clearing_sequence_num"`
	ClearingSequenceCount string               `xml:"iss:clearing_sequence_count,omitempty" json:"clearing_sequence_count"`
}

type OperationRequest

type OperationRequest struct {
	XMLName   xml.Name  `xml:"ins:operationRequest"`
	Operation Operation `xml:"operation" json:"operation"`
}

type OperationResponse

type OperationResponse struct {
	Operation struct {
		OperID string `xml:"oper_id"`
		Status string `xml:"status"`
	} `xml:"operation"`
}

type Participant

type Participant struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type PaymentOrder

type PaymentOrder struct {
	Command                string           `xml:"command,omitempty" json:"command"`
	PaymentOrderNumber     string           `xml:"payment_order_number,omitempty" json:"payment_order_number"`
	PaymentPurposeID       string           `xml:"payment_purpose_id,omitempty" json:"payment_purpose_id"`
	Label                  string           `xml:"label,omitempty" json:"label"`
	Description            string           `xml:"description,omitempty" json:"description"`
	PaymentAmount          string           `xml:"payment_amount,omitempty" json:"payment_amount"`
	Currency               string           `xml:"currency,omitempty" json:"currency"`
	PaymentAmountAlgo      string           `xml:"payment_amount_algo,omitempty" json:"payment_amount_algo"`
	PaymentDate            string           `xml:"payment_date,omitempty" json:"payment_date"`
	PostingDate            string           `xml:"posting_date,omitempty" json:"posting_date"`
	IsPaymentOrderTemplate string           `xml:"is_payment_order_template,omitempty" json:"is_payment_order_template"`
	EventType              string           `xml:"event_type,omitempty" json:"event_type"`
	TemplateStatus         string           `xml:"template_status,omitempty" json:"template_status"`
	AttemptCount           string           `xml:"attempt_count,omitempty" json:"attempt_count"`
	PaymentParameter       PaymentParameter `xml:"payment_parameter,omitempty" json:"payment_parameter"`
	Error                  Error            `xml:"error,omitempty" json:"error"`
}

type PaymentParameter

type PaymentParameter struct {
	PaymentParameterName  string `xml:"payment_parameter_name,omitempty" json:"payment_parameter_name"`
	PaymentParameterValue string `xml:"payment_parameter_value,omitempty" json:"payment_parameter_value"`
}

type Person

type Person struct {
	Command       string        `xml:"command" faker:"-" json:"command"`
	PersonTitle   string        `xml:"person_title" faker:"-" json:"person_title"`
	PersonName    PersonName    `xml:"person_name" faker:"-" json:"person_name"`
	Suffix        string        `xml:"suffix" faker:"-" json:"suffix"`
	Birthday      string        `xml:"birthday" faker:"-" json:"birthday"`
	PlaceOfBirth  string        `xml:"place_of_birth" faker:"-" json:"place_of_birth"`
	Gender        string        `xml:"gender" faker:"-" json:"gender"`
	IdentityCard  IdentityCard  `xml:"identity_card" faker:"-" json:"identity_card"`
	FlexibleField FlexibleField `xml:"flexible_field" faker:"-" json:"flexible_field"`
	Error         Error         `xml:"error" faker:"-" json:"error"`
}

Person type

type PersonName

type PersonName struct {
	Language   string `xml:"language,attr" faker:"-" json:"language"`
	Surname    string `xml:"surname" faker:"last_name" json:"surname"`
	FirstName  string `xml:"first_name" faker:"first_name" json:"first_name"`
	SecondName string `xml:"second_name" faker:"-" json:"second_name"`
}

PersonName type

type PrecedingCard

type PrecedingCard struct {
	SequentialNumber string `xml:"sequential_number" json:"sequential_number"`
	CardID           string `xml:"card_id" json:"card_id"`
	CardNumber       string `xml:"card_number" json:"card_number"`
	ExpirationDate   string `xml:"expiration_date" json:"expiration_date"`
	Error            Error  `xml:"error" json:"error"`
}

type ProcessIBGDataRequest

type ProcessIBGDataRequest struct {
	XMLName             xml.Name     `xml:"ins:processIBGDataRequest"`
	CardID              string       `xml:"iss:card_id,omitempty" json:"card_id"`
	CardUid             string       `xml:"iss:card_uid,omitempty" json:"card_uid"`
	CardNumber          string       `xml:"iss:card_number,omitempty" json:"card_number"`
	ExpirationDate      string       `xml:"iss:expiration_date,omitempty" json:"expiration_date"`
	CardSequentalNumber string       `xml:"iss:card_sequental_number,omitempty" json:"card_sequental_number"`
	CardInstanceID      string       `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	State               string       `xml:"iss:state,omitempty" json:"state"`
	CardSecurity        CardSecurity `xml:"iss:card_security,omitempty" json:"card_security"`
	IssueDate           string       `xml:"iss:issue_date,omitempty" json:"issue_date"`
}

type ProcessIBGDataResponse

type ProcessIBGDataResponse struct {
	Text string `xml:",chardata"`
}

type ProcessingStage

type ProcessingStage struct {
	ProcStage string `xml:"iss:proc_stage,omitempty" json:"proc_stage"`
	Status    string `xml:"iss:status,omitempty" json:"status"`
}

type Product

type Product struct {
	ID            int                  `json:"product_id"`
	ProductType   string               `json:"product_type"`
	ContractType  string               `json:"contract_type"`
	ParentID      int                  `json:"parent_id"`
	InstID        int                  `json:"inst_id"`
	Status        string               `json:"status"`
	ProductNumber string               `json:"product_number"`
	SplitHash     int                  `json:"split_hash"`
	ProductName   string               `json:"product_name"`
	Services      []ProductService     `json:"product_services,omitempty"`
	AccountTypes  []ProductAccountType `json:"product_account_types,omitempty"`
	CardsTypes    []ProductCardType    `json:"card_types,omitempty"`
	Children      []Product            `json:"children,omitempty"`
}

type ProductAccountType

type ProductAccountType struct {
	AccountType string `json:"account_type"`
	Currency    string `json:"currency"`
}

type ProductCardType

type ProductCardType struct {
	CardTypeID int    `json:"card_type_id"`
	CardType   string `json:"card_type"`
}

type ProductList

type ProductList struct {
	Count    int       `json:"count"`
	Products []Product `json:"products"`
}

type ProductService

type ProductService struct {
	ServiceID   int    `json:"service_id"`
	ServiceName string `json:"service_name"`
	EntityType  string `json:"entity_type"`
}

type SecWord

type SecWord struct {
	SecretQuestion string `xml:"secret_question" faker:"sentence" json:"secret_question"`
	SecretAnswer   string `xml:"secret_answer" faker:"word" json:"secret_answer"`
}

SecWord type

type Service

type Service struct {
	ID            string        `xml:"id,attr" faker:"-" json:"id"`
	ServiceNumber string        `xml:"service_number" faker:"-" json:"service_number"`
	Value         string        `xml:"value,attr" faker:"-" json:"value"`
	ServiceObject ServiceObject `xml:"service_object" faker:"-" json:"service_object"`
	Error         Error         `xml:"error" faker:"-" json:"error"`
}

Service type

type ServiceObject

type ServiceObject struct {
	RefID          string         `xml:"ref_id,attr" faker:"-" json:"ref_id"`
	StartDate      string         `xml:"start_date" faker:"-" json:"start_date"`
	EndDate        string         `xml:"end_date" faker:"-" json:"end_date"`
	AttributeNum   AttributeNum   `xml:"attribute_num" faker:"-" json:"attribute_num"`
	AttributeChar  AttributeChar  `xml:"attribute_char" faker:"-" json:"attribute_char"`
	AttributeDate  AttributeDate  `xml:"attribute_date" faker:"-" json:"attribute_date"`
	AttributeFee   AttributeFee   `xml:"attribute_fee" faker:"-" json:"attribute_fee"`
	AttributeCycle AttributeCycle `xml:"attribute_cycle" faker:"-" json:"attribute_cycle"`
	AttributeLimit AttributeLimit `xml:"attribute_limit" faker:"-" json:"attribute_limit"`
	Error          Error          `xml:"error" faker:"-" json:"error"`
}

type ServiceProvider

type ServiceProvider struct {
	ParticipantType string `xml:"iss:participant_type,omitempty" json:"participant_type"`
	ClientIDType    string `xml:"iss:client_id_type,omitempty" json:"client_id_type"`
	ClientIDValue   string `xml:"iss:client_id_value,omitempty" json:"client_id_value"`
	CardNumber      string `xml:"iss:card_number,omitempty" json:"card_number"`
	CardID          string `xml:"iss:card_id,omitempty" json:"card_id"`
	CardInstanceID  string `xml:"iss:card_instance_id,omitempty" json:"card_instance_id"`
	CardSeqNumber   string `xml:"iss:card_seq_number,omitempty" json:"card_seq_number"`
	CardExpirDate   string `xml:"iss:card_expir_date,omitempty" json:"card_expir_date"`
	CardCountry     string `xml:"iss:card_country,omitempty" json:"card_country"`
	InstID          string `xml:"iss:inst_id,omitempty" json:"inst_id"`
	NetworkID       string `xml:"iss:network_id,omitempty" json:"network_id"`
	AuthCode        string `xml:"iss:auth_code,omitempty" json:"auth_code"`
	AccountNumber   string `xml:"iss:account_number,omitempty" json:"account_number"`
	AccountAmount   string `xml:"iss:account_amount,omitempty" json:"account_amount"`
	AccountCurrency string `xml:"iss:account_currency,omitempty" json:"account_currency"`
}

type Shift

type Shift struct {
	ShiftType       string `xml:"shift_type" json:"shift_type"`
	ShiftPriority   string `xml:"shift_priority" json:"shift_priority"`
	ShiftSign       string `xml:"shift_sign" json:"shift_sign"`
	ShiftLengthType string `xml:"shift_length_type" json:"shift_length_type"`
	ShiftLength     string `xml:"shift_length" json:"shift_length"`
}

type SoapBody

type SoapBody struct {
	XMLName xml.Name `xml:"soap:Body"`
	Request interface{}
}

type SoapEnvelope

type SoapEnvelope struct {
	XMLName xml.Name `xml:"soap:Envelope"`
	Soap    string   `xml:"xmlns:soap,attr,omitempty"`
	Ins     string   `xml:"xmlns:ins,attr,omitempty"`
	Iss     string   `xml:"xmlns:iss,attr,omitempty"`
	Header  SoapHeader
	Body    SoapBody
}

type SoapHeader

type SoapHeader struct {
	XMLName xml.Name `xml:"soap:Header"`
}

type SoapReponse

type SoapReponse struct {
	XMLName xml.Name         `xml:"Envelope"`
	Soap    string           `xml:"soap,attr"`
	Body    *SoapReponseBody `xml:"Body"`
}

type SoapReponseBody

type SoapReponseBody struct {
	Application                   *Application                   `xml:"application"`
	GetCardInfoResponse           *GetCardInfoResponse           `xml:"getCardInfoResponse"`
	ProcessIBGDataResponse        *ProcessIBGDataResponse        `xml:"processIBGDataResponse"`
	GetApplicationDetailsResponse *GetApplicationDetailsResponse `xml:"getApplicationDetailsResponse"`
	OperationResponse             *OperationResponse             `xml:"operationResponse"`
	Fault                         *Fault                         `xml:"Fault,omitempty"`
}

type SttlAmount

type SttlAmount struct {
	AmountValue string `xml:"iss:amount_value,omitempty" json:"amount_value"`
	Currency    string `xml:"iss:currency,omitempty" json:"currency"`
}

type TestCase

type TestCase struct {
	Id        int64         `json:"id"`
	Name      string        `json:"name"`
	Status    string        `json:"status"`
	Processes []CaseProcess `json:"processes"`
	Result    []CaseResult  `json:"result"`
}

Jump to

Keyboard shortcuts

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