Documentation ¶
Overview ¶
Package request provides the /forwarding/requests APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.ForwardingRequestParams) (*stripe.ForwardingRequest, error)
Get returns the details of a forwarding request.
func New ¶
func New(params *stripe.ForwardingRequestParams) (*stripe.ForwardingRequest, error)
New creates a new forwarding request.
Types ¶
type Client ¶
Client is used to invoke /forwarding/requests APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.ForwardingRequestParams) (*stripe.ForwardingRequest, error)
Get returns the details of a forwarding request.
func (Client) List ¶
func (c Client) List(listParams *stripe.ForwardingRequestListParams) *Iter
List returns a list of forwarding requests.
func (Client) New ¶
func (c Client) New(params *stripe.ForwardingRequestParams) (*stripe.ForwardingRequest, error)
New creates a new forwarding request.
type Iter ¶
Iter is an iterator for forwarding requests.
func List ¶
func List(params *stripe.ForwardingRequestListParams) *Iter
List returns a list of forwarding requests.
func (*Iter) ForwardingRequest ¶
func (i *Iter) ForwardingRequest() *stripe.ForwardingRequest
ForwardingRequest returns the forwarding request which the iterator is currently pointing to.
func (*Iter) ForwardingRequestList ¶
func (i *Iter) ForwardingRequestList() *stripe.ForwardingRequestList
ForwardingRequestList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.