Documentation ¶
Overview ¶
Package financialaccount provides the /treasury/financial_accounts APIs
Index ¶
- func Get(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func New(params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func RetrieveFeatures(id string, params *stripe.TreasuryFinancialAccountRetrieveFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
- func Update(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func UpdateFeatures(id string, params *stripe.TreasuryFinancialAccountUpdateFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
- type Client
- func (c Client) Get(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func (c Client) List(listParams *stripe.TreasuryFinancialAccountListParams) *Iter
- func (c Client) New(params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func (c Client) RetrieveFeatures(id string, params *stripe.TreasuryFinancialAccountRetrieveFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
- func (c Client) Update(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
- func (c Client) UpdateFeatures(id string, params *stripe.TreasuryFinancialAccountUpdateFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Retrieves the details of a FinancialAccount.
func New ¶
func New(params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.
func RetrieveFeatures ¶
func RetrieveFeatures(id string, params *stripe.TreasuryFinancialAccountRetrieveFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
Retrieves Features information associated with the FinancialAccount.
func Update ¶
func Update(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Updates the details of a FinancialAccount.
func UpdateFeatures ¶
func UpdateFeatures(id string, params *stripe.TreasuryFinancialAccountUpdateFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
Updates the Features associated with a FinancialAccount.
Types ¶
type Client ¶
Client is used to invoke /treasury/financial_accounts APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Retrieves the details of a FinancialAccount.
func (Client) List ¶
func (c Client) List(listParams *stripe.TreasuryFinancialAccountListParams) *Iter
Returns a list of FinancialAccounts.
func (Client) New ¶
func (c Client) New(params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.
func (Client) RetrieveFeatures ¶
func (c Client) RetrieveFeatures(id string, params *stripe.TreasuryFinancialAccountRetrieveFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
Retrieves Features information associated with the FinancialAccount.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TreasuryFinancialAccountParams) (*stripe.TreasuryFinancialAccount, error)
Updates the details of a FinancialAccount.
func (Client) UpdateFeatures ¶
func (c Client) UpdateFeatures(id string, params *stripe.TreasuryFinancialAccountUpdateFeaturesParams) (*stripe.TreasuryFinancialAccountFeatures, error)
Updates the Features associated with a FinancialAccount.
type Iter ¶
Iter is an iterator for treasury financial accounts.
func List ¶
func List(params *stripe.TreasuryFinancialAccountListParams) *Iter
Returns a list of FinancialAccounts.
func (*Iter) TreasuryFinancialAccount ¶
func (i *Iter) TreasuryFinancialAccount() *stripe.TreasuryFinancialAccount
TreasuryFinancialAccount returns the treasury financial account which the iterator is currently pointing to.
func (*Iter) TreasuryFinancialAccountList ¶
func (i *Iter) TreasuryFinancialAccountList() *stripe.TreasuryFinancialAccountList
TreasuryFinancialAccountList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.