Documentation
¶
Index ¶
- type ProtobufAddress
- type ProtobufEmpty
- type ProtobufMoney
- type V1AddAssetRequest
- type V1AddAssetResponse
- type V1AddLiabilityRequest
- type V1AddLiabilityResponse
- type V1Asset
- type V1AssetType
- type V1CreateStatementRequest
- type V1CreateStatementResponse
- type V1FinaliseStatementResponse
- type V1FindStatementResponse
- type V1Liability
- type V1LiabilityType
- type V1NewAsset
- type V1NewLiability
- type V1QueryStatementsResponse
- type V1RegularPayments
- type V1Statement
- type V1UpdateRegularPaymentsRequest
- type V1UpdateRegularPaymentsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufAddress ¶
type ProtobufAddress struct {
// building
Building string `json:"building,omitempty"`
// city
City string `json:"city,omitempty"`
// county
County string `json:"county,omitempty"`
// postal code
PostalCode string `json:"postal_code,omitempty"`
// street name
StreetName string `json:"street_name,omitempty"`
// town
Town string `json:"town,omitempty"`
}
ProtobufAddress protobuf address swagger:model protobufAddress
func (*ProtobufAddress) MarshalBinary ¶
func (m *ProtobufAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAddress) UnmarshalBinary ¶
func (m *ProtobufAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufEmpty ¶
type ProtobufEmpty interface{}
ProtobufEmpty A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}
The JSON representation for `Empty` is empty JSON object `{}`. swagger:model protobufEmpty
type ProtobufMoney ¶
type ProtobufMoney struct {
// The 3-letter currency code defined in ISO 4217.
CurrencyCode string `json:"currency_code,omitempty"`
// In GBP £1 would be 100 units.
Units int64 `json:"units,omitempty"`
}
ProtobufMoney protobuf money swagger:model protobufMoney
func (*ProtobufMoney) MarshalBinary ¶
func (m *ProtobufMoney) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufMoney) UnmarshalBinary ¶
func (m *ProtobufMoney) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AddAssetRequest ¶
type V1AddAssetRequest struct {
// assets
Assets *V1NewAsset `json:"assets,omitempty"`
// statement id
StatementID string `json:"statement_id,omitempty"`
}
V1AddAssetRequest v1 add asset request swagger:model v1AddAssetRequest
func (*V1AddAssetRequest) MarshalBinary ¶
func (m *V1AddAssetRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1AddAssetRequest) UnmarshalBinary ¶
func (m *V1AddAssetRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AddAssetResponse ¶
type V1AddAssetResponse interface{}
V1AddAssetResponse v1 add asset response swagger:model v1AddAssetResponse
type V1AddLiabilityRequest ¶
type V1AddLiabilityRequest struct {
// liabilities
Liabilities *V1NewLiability `json:"liabilities,omitempty"`
// statement id
StatementID string `json:"statement_id,omitempty"`
}
V1AddLiabilityRequest v1 add liability request swagger:model v1AddLiabilityRequest
func (*V1AddLiabilityRequest) MarshalBinary ¶
func (m *V1AddLiabilityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1AddLiabilityRequest) UnmarshalBinary ¶
func (m *V1AddLiabilityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AddLiabilityResponse ¶
type V1AddLiabilityResponse interface{}
V1AddLiabilityResponse v1 add liability response swagger:model v1AddLiabilityResponse
type V1Asset ¶
type V1Asset struct {
// amount outstanding
AmountOutstanding *ProtobufMoney `json:"amount_outstanding,omitempty"`
// comments
Comments string `json:"comments,omitempty"`
// display name
DisplayName string `json:"display_name,omitempty"`
// identifier
Identifier string `json:"identifier,omitempty"`
// lender name
LenderName string `json:"lender_name,omitempty"`
// monthly income
MonthlyIncome *ProtobufMoney `json:"monthly_income,omitempty"`
// monthly outgoing
MonthlyOutgoing *ProtobufMoney `json:"monthly_outgoing,omitempty"`
// resides at
ResidesAt *ProtobufAddress `json:"resides_at,omitempty"`
// type
Type V1AssetType `json:"type,omitempty"`
}
V1Asset v1 asset swagger:model v1Asset
func (*V1Asset) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Asset) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1AssetType ¶
type V1AssetType string
V1AssetType v1 asset type swagger:model v1AssetType
const ( // V1AssetTypeOTHER captures enum value "OTHER" V1AssetTypeOTHER V1AssetType = "OTHER" // V1AssetTypeHOMEPROPERTY captures enum value "HOME_PROPERTY" V1AssetTypeHOMEPROPERTY V1AssetType = "HOME_PROPERTY" // V1AssetTypeRENTALPROPERTY captures enum value "RENTAL_PROPERTY" V1AssetTypeRENTALPROPERTY V1AssetType = "RENTAL_PROPERTY" // V1AssetTypePERSONALEFFECT captures enum value "PERSONAL_EFFECT" V1AssetTypePERSONALEFFECT V1AssetType = "PERSONAL_EFFECT" // V1AssetTypeBANKDEPOSIT captures enum value "BANK_DEPOSIT" V1AssetTypeBANKDEPOSIT V1AssetType = "BANK_DEPOSIT" // V1AssetTypeCOMPANYSHARE captures enum value "COMPANY_SHARE" V1AssetTypeCOMPANYSHARE V1AssetType = "COMPANY_SHARE" // V1AssetTypeINSURANCESURRENDERVALUE captures enum value "INSURANCE_SURRENDER_VALUE" V1AssetTypeINSURANCESURRENDERVALUE V1AssetType = "INSURANCE_SURRENDER_VALUE" )
type V1CreateStatementRequest ¶
type V1CreateStatementRequest struct {
// assets
Assets []*V1NewAsset `json:"assets"`
// client id
ClientID string `json:"client_id,omitempty"`
// liabilities
Liabilities []*V1NewLiability `json:"liabilities"`
// regular payments
RegularPayments *V1RegularPayments `json:"regular_payments,omitempty"`
// statement id
StatementID string `json:"statement_id,omitempty"`
}
V1CreateStatementRequest v1 create statement request swagger:model v1CreateStatementRequest
func (*V1CreateStatementRequest) MarshalBinary ¶
func (m *V1CreateStatementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateStatementRequest) UnmarshalBinary ¶
func (m *V1CreateStatementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateStatementResponse ¶
type V1CreateStatementResponse interface{}
V1CreateStatementResponse v1 create statement response swagger:model v1CreateStatementResponse
type V1FinaliseStatementResponse ¶
type V1FinaliseStatementResponse interface{}
V1FinaliseStatementResponse v1 finalise statement response swagger:model v1FinaliseStatementResponse
type V1FindStatementResponse ¶
type V1FindStatementResponse struct {
// result
Result *V1Statement `json:"result,omitempty"`
}
V1FindStatementResponse v1 find statement response swagger:model v1FindStatementResponse
func (*V1FindStatementResponse) MarshalBinary ¶
func (m *V1FindStatementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FindStatementResponse) UnmarshalBinary ¶
func (m *V1FindStatementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Liability ¶
type V1Liability struct {
// amount outstanding
AmountOutstanding *ProtobufMoney `json:"amount_outstanding,omitempty"`
// comments
Comments string `json:"comments,omitempty"`
// identifier
Identifier string `json:"identifier,omitempty"`
// lender name
LenderName string `json:"lender_name,omitempty"`
// monthly outgoing
MonthlyOutgoing *ProtobufMoney `json:"monthly_outgoing,omitempty"`
// type
Type V1LiabilityType `json:"type,omitempty"`
}
V1Liability v1 liability swagger:model v1Liability
func (*V1Liability) MarshalBinary ¶
func (m *V1Liability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Liability) UnmarshalBinary ¶
func (m *V1Liability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1LiabilityType ¶
type V1LiabilityType string
V1LiabilityType v1 liability type swagger:model v1LiabilityType
const ( // V1LiabilityTypeCREDIT captures enum value "CREDIT" V1LiabilityTypeCREDIT V1LiabilityType = "CREDIT" // V1LiabilityTypeOVERDRAFT captures enum value "OVERDRAFT" V1LiabilityTypeOVERDRAFT V1LiabilityType = "OVERDRAFT" // V1LiabilityTypeLOAN captures enum value "LOAN" V1LiabilityTypeLOAN V1LiabilityType = "LOAN" // V1LiabilityTypeGUARANTEEGIVEN captures enum value "GUARANTEE_GIVEN" V1LiabilityTypeGUARANTEEGIVEN V1LiabilityType = "GUARANTEE_GIVEN" )
type V1NewAsset ¶
type V1NewAsset struct {
// amount outstanding
AmountOutstanding *ProtobufMoney `json:"amount_outstanding,omitempty"`
// comments
Comments string `json:"comments,omitempty"`
// display name
DisplayName string `json:"display_name,omitempty"`
// lender name
LenderName string `json:"lender_name,omitempty"`
// monthly income
MonthlyIncome *ProtobufMoney `json:"monthly_income,omitempty"`
// monthly outgoing
MonthlyOutgoing *ProtobufMoney `json:"monthly_outgoing,omitempty"`
// resides at
ResidesAt *ProtobufAddress `json:"resides_at,omitempty"`
// type
Type V1AssetType `json:"type,omitempty"`
}
V1NewAsset v1 new asset swagger:model v1NewAsset
func (*V1NewAsset) MarshalBinary ¶
func (m *V1NewAsset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NewAsset) UnmarshalBinary ¶
func (m *V1NewAsset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NewLiability ¶
type V1NewLiability struct {
// amount outstanding
AmountOutstanding *ProtobufMoney `json:"amount_outstanding,omitempty"`
// comments
Comments string `json:"comments,omitempty"`
// lender name
LenderName string `json:"lender_name,omitempty"`
// monthly outgoing
MonthlyOutgoing *ProtobufMoney `json:"monthly_outgoing,omitempty"`
// type
Type V1LiabilityType `json:"type,omitempty"`
}
V1NewLiability v1 new liability swagger:model v1NewLiability
func (*V1NewLiability) MarshalBinary ¶
func (m *V1NewLiability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NewLiability) UnmarshalBinary ¶
func (m *V1NewLiability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1QueryStatementsResponse ¶
type V1QueryStatementsResponse struct {
// results
Results []*V1Statement `json:"results"`
}
V1QueryStatementsResponse v1 query statements response swagger:model v1QueryStatementsResponse
func (*V1QueryStatementsResponse) MarshalBinary ¶
func (m *V1QueryStatementsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1QueryStatementsResponse) UnmarshalBinary ¶
func (m *V1QueryStatementsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegularPayments ¶
type V1RegularPayments struct {
// car insurance
CarInsurance *ProtobufMoney `json:"car_insurance,omitempty"`
// car tax
CarTax *ProtobufMoney `json:"car_tax,omitempty"`
// council tax
CouncilTax *ProtobufMoney `json:"council_tax,omitempty"`
// endowment pension
EndowmentPension *ProtobufMoney `json:"endowment_pension,omitempty"`
// energy bill
EnergyBill *ProtobufMoney `json:"energy_bill,omitempty"`
// food
Food *ProtobufMoney `json:"food,omitempty"`
// life insurance
LifeInsurance *ProtobufMoney `json:"life_insurance,omitempty"`
// other
Other *ProtobufMoney `json:"other,omitempty"`
// personal
Personal *ProtobufMoney `json:"personal,omitempty"`
// phone bill
PhoneBill *ProtobufMoney `json:"phone_bill,omitempty"`
// travel
Travel *ProtobufMoney `json:"travel,omitempty"`
// water bill
WaterBill *ProtobufMoney `json:"water_bill,omitempty"`
}
V1RegularPayments v1 regular payments swagger:model v1RegularPayments
func (*V1RegularPayments) MarshalBinary ¶
func (m *V1RegularPayments) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegularPayments) UnmarshalBinary ¶
func (m *V1RegularPayments) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Statement ¶
type V1Statement struct {
// assets
Assets []*V1Asset `json:"assets"`
// client id
ClientID string `json:"client_id,omitempty"`
// created
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty"`
// liabilities
Liabilities []*V1Liability `json:"liabilities"`
// regular payments
RegularPayments *V1RegularPayments `json:"regular_payments,omitempty"`
// statement id
StatementID string `json:"statement_id,omitempty"`
}
V1Statement v1 statement swagger:model v1Statement
func (*V1Statement) MarshalBinary ¶
func (m *V1Statement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Statement) UnmarshalBinary ¶
func (m *V1Statement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateRegularPaymentsRequest ¶
type V1UpdateRegularPaymentsRequest struct {
// identifier
Identifier string `json:"identifier,omitempty"`
// statement id
StatementID string `json:"statement_id,omitempty"`
}
V1UpdateRegularPaymentsRequest v1 update regular payments request swagger:model v1UpdateRegularPaymentsRequest
func (*V1UpdateRegularPaymentsRequest) MarshalBinary ¶
func (m *V1UpdateRegularPaymentsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateRegularPaymentsRequest) UnmarshalBinary ¶
func (m *V1UpdateRegularPaymentsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateRegularPaymentsResponse ¶
type V1UpdateRegularPaymentsResponse interface{}
V1UpdateRegularPaymentsResponse v1 update regular payments response swagger:model v1UpdateRegularPaymentsResponse
Source Files
¶
- protobuf_address.go
- protobuf_empty.go
- protobuf_money.go
- v1_add_asset_request.go
- v1_add_asset_response.go
- v1_add_liability_request.go
- v1_add_liability_response.go
- v1_asset.go
- v1_asset_type.go
- v1_create_statement_request.go
- v1_create_statement_response.go
- v1_finalise_statement_response.go
- v1_find_statement_response.go
- v1_liability.go
- v1_liability_type.go
- v1_new_asset.go
- v1_new_liability.go
- v1_query_statements_response.go
- v1_regular_payments.go
- v1_statement.go
- v1_update_regular_payments_request.go
- v1_update_regular_payments_response.go