Documentation ¶
Overview ¶
Package configuration provides API functions related to billing portal configurations.
Index ¶
- func Get(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- func New(params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- func Update(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- type Client
- func (c Client) Get(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- func (c Client) List(listParams *stripe.BillingPortalConfigurationListParams) *Iter
- func (c Client) New(params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- func (c Client) Update(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
Get returns the details of a billing portal configuration.
func New ¶
func New(params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
New creates a new billing portal configuration.
func Update ¶
func Update(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
Update updates a billing portal configuration's properties.
Types ¶
type Client ¶
Client is used to invoke /billing_portal/configurations APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
Get returns the details of a billing portal configuration.
func (Client) List ¶
func (c Client) List(listParams *stripe.BillingPortalConfigurationListParams) *Iter
List returns a list of billing portal configurations.
func (Client) New ¶
func (c Client) New(params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
New creates a new billing portal configuration.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.BillingPortalConfigurationParams) (*stripe.BillingPortalConfiguration, error)
Update updates a billing portal configuration's properties.
type Iter ¶
Iter is an iterator for billing portal configurations.
func List ¶
func List(params *stripe.BillingPortalConfigurationListParams) *Iter
List returns a list of billing portal configurations.
func (*Iter) BillingPortalConfiguration ¶
func (i *Iter) BillingPortalConfiguration() *stripe.BillingPortalConfiguration
BillingPortalConfiguration returns the billing portal configuration which the iterator is currently pointing to.
func (*Iter) BillingPortalConfigurationList ¶
func (i *Iter) BillingPortalConfigurationList() *stripe.BillingPortalConfigurationList
BillingPortalConfigurationList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.