Documentation ¶
Index ¶
- Variables
- type AccountFeedResponse
- type Category
- type Charges
- type Client
- type Code
- type Data
- type Details
- type EventElement
- type EventLinks
- type EventResponse
- type EventResponseLinks
- type Feed
- type Fx
- type NAccount
- type Option
- type SavingsAccount
- type Source
- type Subcategory
- type Updates
- type Viewer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AccountFeedResponse ¶ added in v0.1.1
type AccountFeedResponse struct {
Data Data `json:"data"`
}
type Category ¶
type Category string
const ( AccountLimitSet Category = "account_limit_set" AnticipateEvent Category = "anticipate_event" BillFlowClosed Category = "bill_flow_closed" BillFlowOnOneDayToDueDate Category = "bill_flow_on_one_day_to_due_date" BillFlowPaid Category = "bill_flow_paid" CardActivated Category = "card_activated" CustomerDeviceAuthorized Category = "customer_device_authorized" CustomerInvitationsChanged Category = "customer_invitations_changed" CustomerPasswordChanged Category = "customer_password_changed" InitialAccountLimit Category = "initial_account_limit" Payment Category = "payment" RewardsFee Category = "rewards_fee" RewardsRedemption Category = "rewards_redemption" RewardsSignup Category = "rewards_signup" Transaction Category = "transaction" TransactionReversed Category = "transaction_reversed" Tutorial Category = "tutorial" Welcome Category = "welcome" )
type Client ¶
type Details ¶
type Details struct { Subcategory Subcategory `json:"subcategory"` Lat *float64 `json:"lat,omitempty"` Lon *float64 `json:"lon,omitempty"` Fx *Fx `json:"fx,omitempty"` Charges *Charges `json:"charges,omitempty"` ChargebackRequested *bool `json:"chargeback_requested,omitempty"` Tags []string `json:"tags"` }
type EventElement ¶
type EventElement struct { Description *string `json:"description,omitempty"` Category Category `json:"category"` Amount *int64 `json:"amount,omitempty"` Time time.Time `json:"time"` Source *Source `json:"source,omitempty"` Title string `json:"title"` AmountWithoutIof *int64 `json:"amount_without_iof,omitempty"` Account *string `json:"account,omitempty"` Details *Details `json:"details,omitempty"` ID string `json:"id"` Links *EventLinks `json:"_links,omitempty"` Tokenized *bool `json:"tokenized,omitempty"` Href *string `json:"href,omitempty"` }
type EventLinks ¶
type EventLinks struct {
Self Updates `json:"self"`
}
type EventResponse ¶
type EventResponse struct { Events []EventElement `json:"events"` CustomerID string `json:"customer_id"` AsOf time.Time `json:"as_of"` Links EventResponseLinks `json:"_links"` }
type EventResponseLinks ¶
type EventResponseLinks struct {
Updates Updates `json:"updates"`
}
type Feed ¶ added in v0.1.1
type Feed struct { ID string `json:"id"` Typename string `json:"__typename"` Title string `json:"title"` Detail string `json:"detail"` PostDate string `json:"postDate"` Amount *float64 `json:"amount"` DestinationAccount *NAccount `json:"destinationAccount,omitempty"` OriginAccount *NAccount `json:"originAccount"` }
type SavingsAccount ¶ added in v0.1.1
type Subcategory ¶
type Subcategory string
const ( CardNotPresent Subcategory = "card_not_present" CardPresent Subcategory = "card_present" Unknown Subcategory = "unknown" )
type Viewer ¶ added in v0.1.1
type Viewer struct {
SavingsAccount SavingsAccount `json:"savingsAccount"`
}
Click to show internal directories.
Click to hide internal directories.