Documentation ¶ Index ¶ func Retrieve(paymentId string) (*sgo.Payment, *sgo.Error) type Iter func List(params *sgo.PaymentListParams) (*Iter, *sgo.Error) func (i *Iter) Next() (*sgo.Payment, *sgo.Error) type Payments func New(backend *sgo.Backend) (*Payments, error) func (this *Payments) List(params *sgo.PaymentListParams) (*Iter, *sgo.Error) func (this *Payments) Retrieve(paymentId string) (*sgo.Payment, *sgo.Error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Retrieve ¶ func Retrieve(paymentId string) (*sgo.Payment, *sgo.Error) Square API Retrieve Types ¶ type Iter ¶ type Iter struct { *sgo.Iter } func List ¶ func List(params *sgo.PaymentListParams) (*Iter, *sgo.Error) Square API List func (*Iter) Next ¶ func (i *Iter) Next() (*sgo.Payment, *sgo.Error) takes the next object from sgo.Iter.Next() and convert into *Payment type Payments ¶ type Payments struct { // contains filtered or unexported fields } func New ¶ func New(backend *sgo.Backend) (*Payments, error) func (*Payments) List ¶ func (this *Payments) List(params *sgo.PaymentListParams) (*Iter, *sgo.Error) func (*Payments) Retrieve ¶ func (this *Payments) Retrieve(paymentId string) (*sgo.Payment, *sgo.Error) Source Files ¶ View all Source files iter.gothis.goutils.go Click to show internal directories. Click to hide internal directories.