Documentation ¶
Overview ¶
Package reader provides the /terminal/readers APIs
Index ¶
- func CancelAction(id string, params *stripe.TerminalReaderCancelActionParams) (*stripe.TerminalReader, error)
- func Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func Get(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func ProcessPaymentIntent(id string, params *stripe.TerminalReaderProcessPaymentIntentParams) (*stripe.TerminalReader, error)
- func ProcessSetupIntent(id string, params *stripe.TerminalReaderProcessSetupIntentParams) (*stripe.TerminalReader, error)
- func RefundPayment(id string, params *stripe.TerminalReaderRefundPaymentParams) (*stripe.TerminalReader, error)
- func SetReaderDisplay(id string, params *stripe.TerminalReaderSetReaderDisplayParams) (*stripe.TerminalReader, error)
- func Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- type Client
- func (c Client) CancelAction(id string, params *stripe.TerminalReaderCancelActionParams) (*stripe.TerminalReader, error)
- func (c Client) Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func (c Client) Get(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func (c Client) List(listParams *stripe.TerminalReaderListParams) *Iter
- func (c Client) New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func (c Client) ProcessPaymentIntent(id string, params *stripe.TerminalReaderProcessPaymentIntentParams) (*stripe.TerminalReader, error)
- func (c Client) ProcessSetupIntent(id string, params *stripe.TerminalReaderProcessSetupIntentParams) (*stripe.TerminalReader, error)
- func (c Client) RefundPayment(id string, params *stripe.TerminalReaderRefundPaymentParams) (*stripe.TerminalReader, error)
- func (c Client) SetReaderDisplay(id string, params *stripe.TerminalReaderSetReaderDisplayParams) (*stripe.TerminalReader, error)
- func (c Client) Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelAction ¶
func CancelAction(id string, params *stripe.TerminalReaderCancelActionParams) (*stripe.TerminalReader, error)
CancelAction is the method for the `POST /v1/terminal/readers/{reader}/cancel_action` API.
func Del ¶
func Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Del removes a terminal reader.
func Get ¶
func Get(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Get returns the details of a terminal reader.
func New ¶
func New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
New creates a new terminal reader.
func ProcessPaymentIntent ¶
func ProcessPaymentIntent(id string, params *stripe.TerminalReaderProcessPaymentIntentParams) (*stripe.TerminalReader, error)
ProcessPaymentIntent is the method for the `POST /v1/terminal/readers/{reader}/process_payment_intent` API.
func ProcessSetupIntent ¶
func ProcessSetupIntent(id string, params *stripe.TerminalReaderProcessSetupIntentParams) (*stripe.TerminalReader, error)
ProcessSetupIntent is the method for the `POST /v1/terminal/readers/{reader}/process_setup_intent` API.
func RefundPayment ¶
func RefundPayment(id string, params *stripe.TerminalReaderRefundPaymentParams) (*stripe.TerminalReader, error)
RefundPayment is the method for the `POST /v1/terminal/readers/{reader}/refund_payment` API.
func SetReaderDisplay ¶
func SetReaderDisplay(id string, params *stripe.TerminalReaderSetReaderDisplayParams) (*stripe.TerminalReader, error)
SetReaderDisplay is the method for the `POST /v1/terminal/readers/{reader}/set_reader_display` API.
func Update ¶
func Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Update updates a terminal reader's properties.
Types ¶
type Client ¶
Client is used to invoke /terminal/readers APIs.
func (Client) CancelAction ¶
func (c Client) CancelAction(id string, params *stripe.TerminalReaderCancelActionParams) (*stripe.TerminalReader, error)
CancelAction is the method for the `POST /v1/terminal/readers/{reader}/cancel_action` API.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Del removes a terminal reader.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Get returns the details of a terminal reader.
func (Client) List ¶
func (c Client) List(listParams *stripe.TerminalReaderListParams) *Iter
List returns a list of terminal readers.
func (Client) New ¶
func (c Client) New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
New creates a new terminal reader.
func (Client) ProcessPaymentIntent ¶
func (c Client) ProcessPaymentIntent(id string, params *stripe.TerminalReaderProcessPaymentIntentParams) (*stripe.TerminalReader, error)
ProcessPaymentIntent is the method for the `POST /v1/terminal/readers/{reader}/process_payment_intent` API.
func (Client) ProcessSetupIntent ¶
func (c Client) ProcessSetupIntent(id string, params *stripe.TerminalReaderProcessSetupIntentParams) (*stripe.TerminalReader, error)
ProcessSetupIntent is the method for the `POST /v1/terminal/readers/{reader}/process_setup_intent` API.
func (Client) RefundPayment ¶
func (c Client) RefundPayment(id string, params *stripe.TerminalReaderRefundPaymentParams) (*stripe.TerminalReader, error)
RefundPayment is the method for the `POST /v1/terminal/readers/{reader}/refund_payment` API.
func (Client) SetReaderDisplay ¶
func (c Client) SetReaderDisplay(id string, params *stripe.TerminalReaderSetReaderDisplayParams) (*stripe.TerminalReader, error)
SetReaderDisplay is the method for the `POST /v1/terminal/readers/{reader}/set_reader_display` API.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Update updates a terminal reader's properties.
type Iter ¶
Iter is an iterator for terminal readers.
func List ¶
func List(params *stripe.TerminalReaderListParams) *Iter
List returns a list of terminal readers.
func (*Iter) TerminalReader ¶
func (i *Iter) TerminalReader() *stripe.TerminalReader
TerminalReader returns the terminal reader which the iterator is currently pointing to.
func (*Iter) TerminalReaderList ¶
func (i *Iter) TerminalReaderList() *stripe.TerminalReaderList
TerminalReaderList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.