mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* chore(storage): remove errors.Wrap deprecated * feat: add psu models * feat(storage): add psu migrations and functions * feat(*): add payment service users entity * feat(tests): update sdks and add psu integration tests * feat(validation): add validation on email and phone number
58 lines
1.4 KiB
Go
58 lines
1.4 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
type V3PaymentServiceUsersCursorResponseCursor struct {
|
|
PageSize int64 `json:"pageSize"`
|
|
HasMore bool `json:"hasMore"`
|
|
Previous *string `json:"previous,omitempty"`
|
|
Next *string `json:"next,omitempty"`
|
|
Data []V3PaymentServiceUser `json:"data"`
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponseCursor) GetPageSize() int64 {
|
|
if o == nil {
|
|
return 0
|
|
}
|
|
return o.PageSize
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponseCursor) GetHasMore() bool {
|
|
if o == nil {
|
|
return false
|
|
}
|
|
return o.HasMore
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponseCursor) GetPrevious() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Previous
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponseCursor) GetNext() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Next
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponseCursor) GetData() []V3PaymentServiceUser {
|
|
if o == nil {
|
|
return []V3PaymentServiceUser{}
|
|
}
|
|
return o.Data
|
|
}
|
|
|
|
type V3PaymentServiceUsersCursorResponse struct {
|
|
Cursor V3PaymentServiceUsersCursorResponseCursor `json:"cursor"`
|
|
}
|
|
|
|
func (o *V3PaymentServiceUsersCursorResponse) GetCursor() V3PaymentServiceUsersCursorResponseCursor {
|
|
if o == nil {
|
|
return V3PaymentServiceUsersCursorResponseCursor{}
|
|
}
|
|
return o.Cursor
|
|
}
|