Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page[T any] struct { Data []T `json:"data,required"` // A pointer to a place in the list. NextCursor string `json:"next_cursor,required,nullable"` JSON pageJSON // contains filtered or unexported fields }
A list of Account objects
func (*Page[T]) GetNextPage ¶
NextPage returns the next page as defined by this pagination style. When there is no next page, this function will return a 'nil' for the page value, but will not return an error
func (*Page[T]) SetPageConfig ¶
func (r *Page[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*Page[T]) UnmarshalJSON ¶
type PageAutoPager ¶
type PageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewPageAutoPager ¶
func NewPageAutoPager[T any](page *Page[T], err error) *PageAutoPager[T]
func (*PageAutoPager[T]) Current ¶
func (r *PageAutoPager[T]) Current() T
func (*PageAutoPager[T]) Err ¶
func (r *PageAutoPager[T]) Err() error
func (*PageAutoPager[T]) Index ¶
func (r *PageAutoPager[T]) Index() int
func (*PageAutoPager[T]) Next ¶
func (r *PageAutoPager[T]) Next() bool
type PointOfServiceEntryMode ¶
type PointOfServiceEntryMode string
The method used to enter the cardholder's primary account number and card expiration date
const ( // Unknown PointOfServiceEntryModeUnknown PointOfServiceEntryMode = "unknown" // Manual key entry PointOfServiceEntryModeManual PointOfServiceEntryMode = "manual" // Magnetic stripe read, without card verification value PointOfServiceEntryModeMagneticStripeNoCvv PointOfServiceEntryMode = "magnetic_stripe_no_cvv" // Optical code PointOfServiceEntryModeOpticalCode PointOfServiceEntryMode = "optical_code" // Contact chip card PointOfServiceEntryModeIntegratedCircuitCard PointOfServiceEntryMode = "integrated_circuit_card" // Contactless read of chip card PointOfServiceEntryModeContactless PointOfServiceEntryMode = "contactless" // Transaction iniated using a credential that has previously been stored on file PointOfServiceEntryModeCredentialOnFile PointOfServiceEntryMode = "credential_on_file" // Magnetic stripe read PointOfServiceEntryModeMagneticStripe PointOfServiceEntryMode = "magnetic_stripe" // Contactless read of magnetic stripe data PointOfServiceEntryModeContactlessMagneticStripe PointOfServiceEntryMode = "contactless_magnetic_stripe" // Contact chip card, without card verification value PointOfServiceEntryModeIntegratedCircuitCardNoCvv PointOfServiceEntryMode = "integrated_circuit_card_no_cvv" )
Click to show internal directories.
Click to hide internal directories.