Documentation ¶
Index ¶
Constants ¶
const ( // HealthStatusUp captures enum value "up" HealthStatusUp string = "up" // HealthStatusDown captures enum value "down" HealthStatusDown string = "down" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct { // error code ErrorCode string `json:"error_code,omitempty"` // error message ErrorMessage string `json:"error_message,omitempty"` }
APIError Api error swagger:model ApiError
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Health ¶
type Health struct { // Status of the service. Can either be `up` or `down`. // Enum: [up down] Status string `json:"status,omitempty"` }
Health health swagger:model Health
func (*Health) MarshalBinary ¶
MarshalBinary interface implementation
func (*Health) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Links ¶
type Links struct { // Link to the first resource in the list First string `json:"first,omitempty"` // Link to the last resource in the list Last string `json:"last,omitempty"` // Link to the next resource in the list Next string `json:"next,omitempty"` // Link to the previous resource in the list Prev string `json:"prev,omitempty"` // Link to this resource type Self string `json:"self,omitempty"` }
Links links swagger:model Links
func (*Links) MarshalBinary ¶
MarshalBinary interface implementation
func (*Links) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Payment ¶
type Payment struct { // attributes // Required: true Attributes *PaymentAttributes `json:"attributes"` // created on CreatedOn *int64 `json:"created_on,omitempty"` // Unique resource ID // Pattern: ^[[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$ ID string `json:"id,omitempty"` // modified on ModifiedOn *int64 `json:"modified_on,omitempty"` // Unique ID of the organisation this resource is created by // Required: true // Pattern: ^[[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$ OrganisationID *string `json:"organisation_id"` // Name of the resource type // Pattern: ^[A-Za-z_]*$ Type string `json:"type,omitempty"` // Version number // Minimum: 0 Version *int64 `json:"version,omitempty"` }
Payment payment swagger:model Payment
func (*Payment) MarshalBinary ¶
MarshalBinary interface implementation
func (*Payment) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PaymentAttributes ¶
type PaymentAttributes struct { // Amount of money moved between the instructing agent and instructed agent // Pattern: ^[0-9.]{0,20}$ Amount string `json:"amount,omitempty"` // beneficiary party BeneficiaryParty *PaymentAttributesBeneficiaryParty `json:"beneficiary_party,omitempty"` // Currency of the transaction amount. Currency code as defined in [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm) Currency string `json:"currency,omitempty"` // debtor party DebtorParty *PaymentAttributesDebtorParty `json:"debtor_party,omitempty"` // Payment reference for beneficiary use Reference string `json:"reference,omitempty"` }
PaymentAttributes payment attributes swagger:model PaymentAttributes
func (*PaymentAttributes) MarshalBinary ¶
func (m *PaymentAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentAttributes) UnmarshalBinary ¶
func (m *PaymentAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentAttributesBeneficiaryParty ¶
type PaymentAttributesBeneficiaryParty struct { // Name of beneficiary as given with account AccountName string `json:"account_name,omitempty"` // Beneficiary account number AccountNumber string `json:"account_number,omitempty"` }
PaymentAttributesBeneficiaryParty payment attributes beneficiary party swagger:model PaymentAttributesBeneficiaryParty
func (*PaymentAttributesBeneficiaryParty) MarshalBinary ¶
func (m *PaymentAttributesBeneficiaryParty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentAttributesBeneficiaryParty) UnmarshalBinary ¶
func (m *PaymentAttributesBeneficiaryParty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentAttributesDebtorParty ¶
type PaymentAttributesDebtorParty struct { // Name of debtor as given with account AccountName string `json:"account_name,omitempty"` // Debtor account number. Allows upper case and numeric characters. AccountNumber string `json:"account_number,omitempty"` }
PaymentAttributesDebtorParty payment attributes debtor party swagger:model PaymentAttributesDebtorParty
func (*PaymentAttributesDebtorParty) MarshalBinary ¶
func (m *PaymentAttributesDebtorParty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentAttributesDebtorParty) UnmarshalBinary ¶
func (m *PaymentAttributesDebtorParty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentCreation ¶
type PaymentCreation struct { // data Data *Payment `json:"data,omitempty"` }
PaymentCreation payment creation swagger:model PaymentCreation
func (*PaymentCreation) MarshalBinary ¶
func (m *PaymentCreation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentCreation) UnmarshalBinary ¶
func (m *PaymentCreation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentCreationResponse ¶
type PaymentCreationResponse struct { // data Data *Payment `json:"data,omitempty"` // links Links *Links `json:"links,omitempty"` }
PaymentCreationResponse payment creation response swagger:model PaymentCreationResponse
func (*PaymentCreationResponse) MarshalBinary ¶
func (m *PaymentCreationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentCreationResponse) UnmarshalBinary ¶
func (m *PaymentCreationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentDetailsListResponse ¶
type PaymentDetailsListResponse struct { // data Data []*Payment `json:"data"` // links Links *Links `json:"links,omitempty"` }
PaymentDetailsListResponse payment details list response swagger:model PaymentDetailsListResponse
func (*PaymentDetailsListResponse) MarshalBinary ¶
func (m *PaymentDetailsListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentDetailsListResponse) UnmarshalBinary ¶
func (m *PaymentDetailsListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentDetailsResponse ¶
type PaymentDetailsResponse struct { // data Data *Payment `json:"data,omitempty"` // links Links *Links `json:"links,omitempty"` }
PaymentDetailsResponse payment details response swagger:model PaymentDetailsResponse
func (*PaymentDetailsResponse) MarshalBinary ¶
func (m *PaymentDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentDetailsResponse) UnmarshalBinary ¶
func (m *PaymentDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentUpdate ¶
type PaymentUpdate struct { // data Data *Payment `json:"data,omitempty"` }
PaymentUpdate payment update swagger:model PaymentUpdate
func (*PaymentUpdate) MarshalBinary ¶
func (m *PaymentUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentUpdate) UnmarshalBinary ¶
func (m *PaymentUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation