operations

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions

This section is empty.

Types

type AcceptHeaderEnum

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumApplicationJson AcceptHeaderEnum = "application/json"
	AcceptHeaderEnumTextCsv         AcceptHeaderEnum = "text/csv"
)

func (AcceptHeaderEnum) ToPointer

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type BenefitGrantsListQueryParamCustomerIDFilter

type BenefitGrantsListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type BenefitGrantsListQueryParamCustomerIDFilterType
}

BenefitGrantsListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateBenefitGrantsListQueryParamCustomerIDFilterArrayOfStr

func CreateBenefitGrantsListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) BenefitGrantsListQueryParamCustomerIDFilter

func CreateBenefitGrantsListQueryParamCustomerIDFilterStr

func CreateBenefitGrantsListQueryParamCustomerIDFilterStr(str string) BenefitGrantsListQueryParamCustomerIDFilter

func (BenefitGrantsListQueryParamCustomerIDFilter) MarshalJSON

func (*BenefitGrantsListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *BenefitGrantsListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type BenefitGrantsListQueryParamCustomerIDFilterType

type BenefitGrantsListQueryParamCustomerIDFilterType string
const (
	BenefitGrantsListQueryParamCustomerIDFilterTypeStr        BenefitGrantsListQueryParamCustomerIDFilterType = "str"
	BenefitGrantsListQueryParamCustomerIDFilterTypeArrayOfStr BenefitGrantsListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type BenefitGrantsListQueryParamOrganizationIDFilter

type BenefitGrantsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type BenefitGrantsListQueryParamOrganizationIDFilterType
}

BenefitGrantsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateBenefitGrantsListQueryParamOrganizationIDFilterArrayOfStr

func CreateBenefitGrantsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) BenefitGrantsListQueryParamOrganizationIDFilter

func CreateBenefitGrantsListQueryParamOrganizationIDFilterStr

func CreateBenefitGrantsListQueryParamOrganizationIDFilterStr(str string) BenefitGrantsListQueryParamOrganizationIDFilter

func (BenefitGrantsListQueryParamOrganizationIDFilter) MarshalJSON

func (*BenefitGrantsListQueryParamOrganizationIDFilter) UnmarshalJSON

type BenefitGrantsListQueryParamOrganizationIDFilterType

type BenefitGrantsListQueryParamOrganizationIDFilterType string
const (
	BenefitGrantsListQueryParamOrganizationIDFilterTypeStr        BenefitGrantsListQueryParamOrganizationIDFilterType = "str"
	BenefitGrantsListQueryParamOrganizationIDFilterTypeArrayOfStr BenefitGrantsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type BenefitGrantsListRequest

type BenefitGrantsListRequest struct {
	// Filter by organization ID.
	OrganizationID *BenefitGrantsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by customer ID.
	CustomerID *BenefitGrantsListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *QueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by granted status. If `true`, only granted benefits will be returned. If `false`, only revoked benefits will be returned.
	IsGranted *bool `queryParam:"style=form,explode=true,name=is_granted"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.BenefitGrantSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*BenefitGrantsListRequest) GetCustomerID

func (*BenefitGrantsListRequest) GetExternalCustomerID

func (*BenefitGrantsListRequest) GetIsGranted

func (b *BenefitGrantsListRequest) GetIsGranted() *bool

func (*BenefitGrantsListRequest) GetLimit

func (b *BenefitGrantsListRequest) GetLimit() *int64

func (*BenefitGrantsListRequest) GetOrganizationID

func (*BenefitGrantsListRequest) GetPage

func (b *BenefitGrantsListRequest) GetPage() *int64

func (*BenefitGrantsListRequest) GetSorting

func (BenefitGrantsListRequest) MarshalJSON

func (b BenefitGrantsListRequest) MarshalJSON() ([]byte, error)

func (*BenefitGrantsListRequest) UnmarshalJSON

func (b *BenefitGrantsListRequest) UnmarshalJSON(data []byte) error

type BenefitGrantsListResponse

type BenefitGrantsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceBenefitGrant *components.ListResourceBenefitGrant

	Next func() (*BenefitGrantsListResponse, error)
}

func (*BenefitGrantsListResponse) GetHTTPMeta

func (*BenefitGrantsListResponse) GetListResourceBenefitGrant

func (b *BenefitGrantsListResponse) GetListResourceBenefitGrant() *components.ListResourceBenefitGrant

type BenefitIDFilter

type BenefitIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type BenefitIDFilterType
}

BenefitIDFilter - Filter products granting specific benefit.

func CreateBenefitIDFilterArrayOfStr

func CreateBenefitIDFilterArrayOfStr(arrayOfStr []string) BenefitIDFilter

func CreateBenefitIDFilterStr

func CreateBenefitIDFilterStr(str string) BenefitIDFilter

func (BenefitIDFilter) MarshalJSON

func (u BenefitIDFilter) MarshalJSON() ([]byte, error)

func (*BenefitIDFilter) UnmarshalJSON

func (u *BenefitIDFilter) UnmarshalJSON(data []byte) error

type BenefitIDFilterType

type BenefitIDFilterType string
const (
	BenefitIDFilterTypeStr        BenefitIDFilterType = "str"
	BenefitIDFilterTypeArrayOfStr BenefitIDFilterType = "arrayOfStr"
)

type BenefitTypeFilter

type BenefitTypeFilter struct {
	BenefitType        *components.BenefitType  `queryParam:"inline" union:"member"`
	ArrayOfBenefitType []components.BenefitType `queryParam:"inline" union:"member"`

	Type BenefitTypeFilterType
}

BenefitTypeFilter - Filter by benefit type.

func CreateBenefitTypeFilterArrayOfBenefitType

func CreateBenefitTypeFilterArrayOfBenefitType(arrayOfBenefitType []components.BenefitType) BenefitTypeFilter

func CreateBenefitTypeFilterBenefitType

func CreateBenefitTypeFilterBenefitType(benefitType components.BenefitType) BenefitTypeFilter

func (BenefitTypeFilter) MarshalJSON

func (u BenefitTypeFilter) MarshalJSON() ([]byte, error)

func (*BenefitTypeFilter) UnmarshalJSON

func (u *BenefitTypeFilter) UnmarshalJSON(data []byte) error

type BenefitTypeFilterType

type BenefitTypeFilterType string
const (
	BenefitTypeFilterTypeBenefitType        BenefitTypeFilterType = "BenefitType"
	BenefitTypeFilterTypeArrayOfBenefitType BenefitTypeFilterType = "arrayOfBenefitType"
)

type BenefitsCreateResponse

type BenefitsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Benefit created.
	Benefit *components.Benefit
}

func (*BenefitsCreateResponse) GetBenefit

func (b *BenefitsCreateResponse) GetBenefit() *components.Benefit

func (*BenefitsCreateResponse) GetBenefitCustom

func (b *BenefitsCreateResponse) GetBenefitCustom() *components.BenefitCustom

func (*BenefitsCreateResponse) GetBenefitDiscord

func (b *BenefitsCreateResponse) GetBenefitDiscord() *components.BenefitDiscord

func (*BenefitsCreateResponse) GetBenefitDownloadables

func (b *BenefitsCreateResponse) GetBenefitDownloadables() *components.BenefitDownloadables

func (*BenefitsCreateResponse) GetBenefitFeatureFlag

func (b *BenefitsCreateResponse) GetBenefitFeatureFlag() *components.BenefitFeatureFlag

func (*BenefitsCreateResponse) GetBenefitGithubRepository

func (b *BenefitsCreateResponse) GetBenefitGithubRepository() *components.BenefitGitHubRepository

func (*BenefitsCreateResponse) GetBenefitLicenseKeys

func (b *BenefitsCreateResponse) GetBenefitLicenseKeys() *components.BenefitLicenseKeys

func (*BenefitsCreateResponse) GetBenefitMeterCredit

func (b *BenefitsCreateResponse) GetBenefitMeterCredit() *components.BenefitMeterCredit

func (*BenefitsCreateResponse) GetHTTPMeta

type BenefitsDeleteRequest

type BenefitsDeleteRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*BenefitsDeleteRequest) GetID

func (b *BenefitsDeleteRequest) GetID() string

type BenefitsDeleteResponse

type BenefitsDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*BenefitsDeleteResponse) GetHTTPMeta

type BenefitsGetRequest

type BenefitsGetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*BenefitsGetRequest) GetID

func (b *BenefitsGetRequest) GetID() string

type BenefitsGetResponse

type BenefitsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Benefit *components.Benefit
}

func (*BenefitsGetResponse) GetBenefit

func (b *BenefitsGetResponse) GetBenefit() *components.Benefit

func (*BenefitsGetResponse) GetBenefitCustom

func (b *BenefitsGetResponse) GetBenefitCustom() *components.BenefitCustom

func (*BenefitsGetResponse) GetBenefitDiscord

func (b *BenefitsGetResponse) GetBenefitDiscord() *components.BenefitDiscord

func (*BenefitsGetResponse) GetBenefitDownloadables

func (b *BenefitsGetResponse) GetBenefitDownloadables() *components.BenefitDownloadables

func (*BenefitsGetResponse) GetBenefitFeatureFlag

func (b *BenefitsGetResponse) GetBenefitFeatureFlag() *components.BenefitFeatureFlag

func (*BenefitsGetResponse) GetBenefitGithubRepository

func (b *BenefitsGetResponse) GetBenefitGithubRepository() *components.BenefitGitHubRepository

func (*BenefitsGetResponse) GetBenefitLicenseKeys

func (b *BenefitsGetResponse) GetBenefitLicenseKeys() *components.BenefitLicenseKeys

func (*BenefitsGetResponse) GetBenefitMeterCredit

func (b *BenefitsGetResponse) GetBenefitMeterCredit() *components.BenefitMeterCredit

func (*BenefitsGetResponse) GetHTTPMeta

func (b *BenefitsGetResponse) GetHTTPMeta() components.HTTPMetadata

type BenefitsGrantsRequest

type BenefitsGrantsRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// Filter by granted status. If `true`, only granted benefits will be returned. If `false`, only revoked benefits will be returned.
	IsGranted *bool `queryParam:"style=form,explode=true,name=is_granted"`
	// Filter by customer.
	CustomerID *QueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by member.
	MemberID *MemberIDFilter `queryParam:"style=form,explode=true,name=member_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*BenefitsGrantsRequest) GetCustomerID

func (*BenefitsGrantsRequest) GetID

func (b *BenefitsGrantsRequest) GetID() string

func (*BenefitsGrantsRequest) GetIsGranted

func (b *BenefitsGrantsRequest) GetIsGranted() *bool

func (*BenefitsGrantsRequest) GetLimit

func (b *BenefitsGrantsRequest) GetLimit() *int64

func (*BenefitsGrantsRequest) GetMemberID

func (b *BenefitsGrantsRequest) GetMemberID() *MemberIDFilter

func (*BenefitsGrantsRequest) GetPage

func (b *BenefitsGrantsRequest) GetPage() *int64

func (BenefitsGrantsRequest) MarshalJSON

func (b BenefitsGrantsRequest) MarshalJSON() ([]byte, error)

func (*BenefitsGrantsRequest) UnmarshalJSON

func (b *BenefitsGrantsRequest) UnmarshalJSON(data []byte) error

type BenefitsGrantsResponse

type BenefitsGrantsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceBenefitGrant *components.ListResourceBenefitGrant

	Next func() (*BenefitsGrantsResponse, error)
}

func (*BenefitsGrantsResponse) GetHTTPMeta

func (*BenefitsGrantsResponse) GetListResourceBenefitGrant

func (b *BenefitsGrantsResponse) GetListResourceBenefitGrant() *components.ListResourceBenefitGrant

type BenefitsListRequest

type BenefitsListRequest struct {
	// Filter by organization ID.
	OrganizationID *QueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by benefit type.
	TypeFilter *BenefitTypeFilter `queryParam:"style=form,explode=true,name=type"`
	// Filter by benefit IDs.
	ID *FilterIDs `queryParam:"style=form,explode=true,name=id"`
	// Exclude benefits with these IDs.
	ExcludeID *ExcludeIDs `queryParam:"style=form,explode=true,name=exclude_id"`
	// Filter by description.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.BenefitSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*BenefitsListRequest) GetExcludeID

func (b *BenefitsListRequest) GetExcludeID() *ExcludeIDs

func (*BenefitsListRequest) GetID

func (b *BenefitsListRequest) GetID() *FilterIDs

func (*BenefitsListRequest) GetLimit

func (b *BenefitsListRequest) GetLimit() *int64

func (*BenefitsListRequest) GetMetadata

func (b *BenefitsListRequest) GetMetadata() map[string]components.MetadataQuery

func (*BenefitsListRequest) GetOrganizationID

func (b *BenefitsListRequest) GetOrganizationID() *QueryParamOrganizationIDFilter

func (*BenefitsListRequest) GetPage

func (b *BenefitsListRequest) GetPage() *int64

func (*BenefitsListRequest) GetQuery

func (b *BenefitsListRequest) GetQuery() *string

func (*BenefitsListRequest) GetSorting

func (*BenefitsListRequest) GetTypeFilter

func (b *BenefitsListRequest) GetTypeFilter() *BenefitTypeFilter

func (BenefitsListRequest) MarshalJSON

func (b BenefitsListRequest) MarshalJSON() ([]byte, error)

func (*BenefitsListRequest) UnmarshalJSON

func (b *BenefitsListRequest) UnmarshalJSON(data []byte) error

type BenefitsListResponse

type BenefitsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceBenefit *components.ListResourceBenefit

	Next func() (*BenefitsListResponse, error)
}

func (*BenefitsListResponse) GetHTTPMeta

func (b *BenefitsListResponse) GetHTTPMeta() components.HTTPMetadata

func (*BenefitsListResponse) GetListResourceBenefit

func (b *BenefitsListResponse) GetListResourceBenefit() *components.ListResourceBenefit

type BenefitsUpdateBenefitUpdate

type BenefitsUpdateBenefitUpdate struct {
	BenefitCustomUpdate           *components.BenefitCustomUpdate           `queryParam:"inline" union:"member"`
	BenefitDiscordUpdate          *components.BenefitDiscordUpdate          `queryParam:"inline" union:"member"`
	BenefitGitHubRepositoryUpdate *components.BenefitGitHubRepositoryUpdate `queryParam:"inline" union:"member"`
	BenefitDownloadablesUpdate    *components.BenefitDownloadablesUpdate    `queryParam:"inline" union:"member"`
	BenefitLicenseKeysUpdate      *components.BenefitLicenseKeysUpdate      `queryParam:"inline" union:"member"`
	BenefitMeterCreditUpdate      *components.BenefitMeterCreditUpdate      `queryParam:"inline" union:"member"`
	BenefitFeatureFlagUpdate      *components.BenefitFeatureFlagUpdate      `queryParam:"inline" union:"member"`

	Type BenefitsUpdateBenefitUpdateType
}

func CreateBenefitsUpdateBenefitUpdateBenefitCustomUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitCustomUpdate(benefitCustomUpdate components.BenefitCustomUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitDiscordUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitDiscordUpdate(benefitDiscordUpdate components.BenefitDiscordUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitDownloadablesUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitDownloadablesUpdate(benefitDownloadablesUpdate components.BenefitDownloadablesUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitFeatureFlagUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitFeatureFlagUpdate(benefitFeatureFlagUpdate components.BenefitFeatureFlagUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitGitHubRepositoryUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitGitHubRepositoryUpdate(benefitGitHubRepositoryUpdate components.BenefitGitHubRepositoryUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitLicenseKeysUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitLicenseKeysUpdate(benefitLicenseKeysUpdate components.BenefitLicenseKeysUpdate) BenefitsUpdateBenefitUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitMeterCreditUpdate

func CreateBenefitsUpdateBenefitUpdateBenefitMeterCreditUpdate(benefitMeterCreditUpdate components.BenefitMeterCreditUpdate) BenefitsUpdateBenefitUpdate

func (BenefitsUpdateBenefitUpdate) MarshalJSON

func (u BenefitsUpdateBenefitUpdate) MarshalJSON() ([]byte, error)

func (*BenefitsUpdateBenefitUpdate) UnmarshalJSON

func (u *BenefitsUpdateBenefitUpdate) UnmarshalJSON(data []byte) error

type BenefitsUpdateBenefitUpdateType

type BenefitsUpdateBenefitUpdateType string
const (
	BenefitsUpdateBenefitUpdateTypeBenefitCustomUpdate           BenefitsUpdateBenefitUpdateType = "BenefitCustomUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitDiscordUpdate          BenefitsUpdateBenefitUpdateType = "BenefitDiscordUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitGitHubRepositoryUpdate BenefitsUpdateBenefitUpdateType = "BenefitGitHubRepositoryUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitDownloadablesUpdate    BenefitsUpdateBenefitUpdateType = "BenefitDownloadablesUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitLicenseKeysUpdate      BenefitsUpdateBenefitUpdateType = "BenefitLicenseKeysUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitMeterCreditUpdate      BenefitsUpdateBenefitUpdateType = "BenefitMeterCreditUpdate"
	BenefitsUpdateBenefitUpdateTypeBenefitFeatureFlagUpdate      BenefitsUpdateBenefitUpdateType = "BenefitFeatureFlagUpdate"
)

type BenefitsUpdateRequest

type BenefitsUpdateRequest struct {
	ID          string                      `pathParam:"style=simple,explode=false,name=id"`
	RequestBody BenefitsUpdateBenefitUpdate `request:"mediaType=application/json"`
}

func (*BenefitsUpdateRequest) GetID

func (b *BenefitsUpdateRequest) GetID() string

func (*BenefitsUpdateRequest) GetRequestBody

type BenefitsUpdateResponse

type BenefitsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Benefit updated.
	Benefit *components.Benefit
}

func (*BenefitsUpdateResponse) GetBenefit

func (b *BenefitsUpdateResponse) GetBenefit() *components.Benefit

func (*BenefitsUpdateResponse) GetBenefitCustom

func (b *BenefitsUpdateResponse) GetBenefitCustom() *components.BenefitCustom

func (*BenefitsUpdateResponse) GetBenefitDiscord

func (b *BenefitsUpdateResponse) GetBenefitDiscord() *components.BenefitDiscord

func (*BenefitsUpdateResponse) GetBenefitDownloadables

func (b *BenefitsUpdateResponse) GetBenefitDownloadables() *components.BenefitDownloadables

func (*BenefitsUpdateResponse) GetBenefitFeatureFlag

func (b *BenefitsUpdateResponse) GetBenefitFeatureFlag() *components.BenefitFeatureFlag

func (*BenefitsUpdateResponse) GetBenefitGithubRepository

func (b *BenefitsUpdateResponse) GetBenefitGithubRepository() *components.BenefitGitHubRepository

func (*BenefitsUpdateResponse) GetBenefitLicenseKeys

func (b *BenefitsUpdateResponse) GetBenefitLicenseKeys() *components.BenefitLicenseKeys

func (*BenefitsUpdateResponse) GetBenefitMeterCredit

func (b *BenefitsUpdateResponse) GetBenefitMeterCredit() *components.BenefitMeterCredit

func (*BenefitsUpdateResponse) GetHTTPMeta

type CheckoutIDFilter

type CheckoutIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutIDFilterType
}

CheckoutIDFilter - Filter by checkout ID.

func CreateCheckoutIDFilterArrayOfStr

func CreateCheckoutIDFilterArrayOfStr(arrayOfStr []string) CheckoutIDFilter

func CreateCheckoutIDFilterStr

func CreateCheckoutIDFilterStr(str string) CheckoutIDFilter

func (CheckoutIDFilter) MarshalJSON

func (u CheckoutIDFilter) MarshalJSON() ([]byte, error)

func (*CheckoutIDFilter) UnmarshalJSON

func (u *CheckoutIDFilter) UnmarshalJSON(data []byte) error

type CheckoutIDFilterType

type CheckoutIDFilterType string
const (
	CheckoutIDFilterTypeStr        CheckoutIDFilterType = "str"
	CheckoutIDFilterTypeArrayOfStr CheckoutIDFilterType = "arrayOfStr"
)

type CheckoutLinksCreateResponse

type CheckoutLinksCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout link created.
	CheckoutLink *components.CheckoutLink
}
func (c *CheckoutLinksCreateResponse) GetCheckoutLink() *components.CheckoutLink

func (*CheckoutLinksCreateResponse) GetHTTPMeta

type CheckoutLinksDeleteRequest

type CheckoutLinksDeleteRequest struct {
	// The checkout link ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CheckoutLinksDeleteRequest) GetID

type CheckoutLinksDeleteResponse

type CheckoutLinksDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CheckoutLinksDeleteResponse) GetHTTPMeta

type CheckoutLinksGetRequest

type CheckoutLinksGetRequest struct {
	// The checkout link ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CheckoutLinksGetRequest) GetID

func (c *CheckoutLinksGetRequest) GetID() string

type CheckoutLinksGetResponse

type CheckoutLinksGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CheckoutLink *components.CheckoutLink
}
func (c *CheckoutLinksGetResponse) GetCheckoutLink() *components.CheckoutLink

func (*CheckoutLinksGetResponse) GetHTTPMeta

type CheckoutLinksListQueryParamOrganizationIDFilter

type CheckoutLinksListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutLinksListQueryParamOrganizationIDFilterType
}

CheckoutLinksListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateCheckoutLinksListQueryParamOrganizationIDFilterArrayOfStr

func CreateCheckoutLinksListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) CheckoutLinksListQueryParamOrganizationIDFilter

func CreateCheckoutLinksListQueryParamOrganizationIDFilterStr

func CreateCheckoutLinksListQueryParamOrganizationIDFilterStr(str string) CheckoutLinksListQueryParamOrganizationIDFilter

func (CheckoutLinksListQueryParamOrganizationIDFilter) MarshalJSON

func (*CheckoutLinksListQueryParamOrganizationIDFilter) UnmarshalJSON

type CheckoutLinksListQueryParamOrganizationIDFilterType

type CheckoutLinksListQueryParamOrganizationIDFilterType string
const (
	CheckoutLinksListQueryParamOrganizationIDFilterTypeStr        CheckoutLinksListQueryParamOrganizationIDFilterType = "str"
	CheckoutLinksListQueryParamOrganizationIDFilterTypeArrayOfStr CheckoutLinksListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type CheckoutLinksListQueryParamProductIDFilter

type CheckoutLinksListQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutLinksListQueryParamProductIDFilterType
}

CheckoutLinksListQueryParamProductIDFilter - Filter by product ID.

func CreateCheckoutLinksListQueryParamProductIDFilterArrayOfStr

func CreateCheckoutLinksListQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) CheckoutLinksListQueryParamProductIDFilter

func CreateCheckoutLinksListQueryParamProductIDFilterStr

func CreateCheckoutLinksListQueryParamProductIDFilterStr(str string) CheckoutLinksListQueryParamProductIDFilter

func (CheckoutLinksListQueryParamProductIDFilter) MarshalJSON

func (*CheckoutLinksListQueryParamProductIDFilter) UnmarshalJSON

func (u *CheckoutLinksListQueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type CheckoutLinksListQueryParamProductIDFilterType

type CheckoutLinksListQueryParamProductIDFilterType string
const (
	CheckoutLinksListQueryParamProductIDFilterTypeStr        CheckoutLinksListQueryParamProductIDFilterType = "str"
	CheckoutLinksListQueryParamProductIDFilterTypeArrayOfStr CheckoutLinksListQueryParamProductIDFilterType = "arrayOfStr"
)

type CheckoutLinksListRequest

type CheckoutLinksListRequest struct {
	// Filter by organization ID.
	OrganizationID *CheckoutLinksListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *CheckoutLinksListQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CheckoutLinkSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CheckoutLinksListRequest) GetLimit

func (c *CheckoutLinksListRequest) GetLimit() *int64

func (*CheckoutLinksListRequest) GetOrganizationID

func (*CheckoutLinksListRequest) GetPage

func (c *CheckoutLinksListRequest) GetPage() *int64

func (*CheckoutLinksListRequest) GetProductID

func (*CheckoutLinksListRequest) GetSorting

func (CheckoutLinksListRequest) MarshalJSON

func (c CheckoutLinksListRequest) MarshalJSON() ([]byte, error)

func (*CheckoutLinksListRequest) UnmarshalJSON

func (c *CheckoutLinksListRequest) UnmarshalJSON(data []byte) error

type CheckoutLinksListResponse

type CheckoutLinksListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCheckoutLink *components.ListResourceCheckoutLink

	Next func() (*CheckoutLinksListResponse, error)
}

func (*CheckoutLinksListResponse) GetHTTPMeta

func (c *CheckoutLinksListResponse) GetListResourceCheckoutLink() *components.ListResourceCheckoutLink

type CheckoutLinksUpdateRequest

type CheckoutLinksUpdateRequest struct {
	// The checkout link ID.
	ID                 string                        `pathParam:"style=simple,explode=false,name=id"`
	CheckoutLinkUpdate components.CheckoutLinkUpdate `request:"mediaType=application/json"`
}

func (*CheckoutLinksUpdateRequest) GetCheckoutLinkUpdate

func (c *CheckoutLinksUpdateRequest) GetCheckoutLinkUpdate() components.CheckoutLinkUpdate

func (*CheckoutLinksUpdateRequest) GetID

type CheckoutLinksUpdateResponse

type CheckoutLinksUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout link updated.
	CheckoutLink *components.CheckoutLink
}
func (c *CheckoutLinksUpdateResponse) GetCheckoutLink() *components.CheckoutLink

func (*CheckoutLinksUpdateResponse) GetHTTPMeta

type CheckoutsClientConfirmRequest

type CheckoutsClientConfirmRequest struct {
	// The checkout session client secret.
	ClientSecret          string                           `pathParam:"style=simple,explode=false,name=client_secret"`
	CheckoutConfirmStripe components.CheckoutConfirmStripe `request:"mediaType=application/json"`
}

func (*CheckoutsClientConfirmRequest) GetCheckoutConfirmStripe

func (c *CheckoutsClientConfirmRequest) GetCheckoutConfirmStripe() components.CheckoutConfirmStripe

func (*CheckoutsClientConfirmRequest) GetClientSecret

func (c *CheckoutsClientConfirmRequest) GetClientSecret() string

type CheckoutsClientConfirmResponse

type CheckoutsClientConfirmResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout session confirmed.
	CheckoutPublicConfirmed *components.CheckoutPublicConfirmed
}

func (*CheckoutsClientConfirmResponse) GetCheckoutPublicConfirmed

func (c *CheckoutsClientConfirmResponse) GetCheckoutPublicConfirmed() *components.CheckoutPublicConfirmed

func (*CheckoutsClientConfirmResponse) GetHTTPMeta

type CheckoutsClientGetRequest

type CheckoutsClientGetRequest struct {
	// The checkout session client secret.
	ClientSecret string `pathParam:"style=simple,explode=false,name=client_secret"`
}

func (*CheckoutsClientGetRequest) GetClientSecret

func (c *CheckoutsClientGetRequest) GetClientSecret() string

type CheckoutsClientGetResponse

type CheckoutsClientGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CheckoutPublic *components.CheckoutPublic
}

func (*CheckoutsClientGetResponse) GetCheckoutPublic

func (c *CheckoutsClientGetResponse) GetCheckoutPublic() *components.CheckoutPublic

func (*CheckoutsClientGetResponse) GetHTTPMeta

type CheckoutsClientUpdateRequest

type CheckoutsClientUpdateRequest struct {
	// The checkout session client secret.
	ClientSecret         string                          `pathParam:"style=simple,explode=false,name=client_secret"`
	CheckoutUpdatePublic components.CheckoutUpdatePublic `request:"mediaType=application/json"`
}

func (*CheckoutsClientUpdateRequest) GetCheckoutUpdatePublic

func (c *CheckoutsClientUpdateRequest) GetCheckoutUpdatePublic() components.CheckoutUpdatePublic

func (*CheckoutsClientUpdateRequest) GetClientSecret

func (c *CheckoutsClientUpdateRequest) GetClientSecret() string

type CheckoutsClientUpdateResponse

type CheckoutsClientUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout session updated.
	CheckoutPublic *components.CheckoutPublic
}

func (*CheckoutsClientUpdateResponse) GetCheckoutPublic

func (*CheckoutsClientUpdateResponse) GetHTTPMeta

type CheckoutsCreateResponse

type CheckoutsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout session created.
	Checkout *components.Checkout
}

func (*CheckoutsCreateResponse) GetCheckout

func (c *CheckoutsCreateResponse) GetCheckout() *components.Checkout

func (*CheckoutsCreateResponse) GetHTTPMeta

type CheckoutsGetRequest

type CheckoutsGetRequest struct {
	// The checkout session ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CheckoutsGetRequest) GetID

func (c *CheckoutsGetRequest) GetID() string

type CheckoutsGetResponse

type CheckoutsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Checkout *components.Checkout
}

func (*CheckoutsGetResponse) GetCheckout

func (c *CheckoutsGetResponse) GetCheckout() *components.Checkout

func (*CheckoutsGetResponse) GetHTTPMeta

func (c *CheckoutsGetResponse) GetHTTPMeta() components.HTTPMetadata

type CheckoutsListQueryParamCustomerIDFilter

type CheckoutsListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutsListQueryParamCustomerIDFilterType
}

CheckoutsListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateCheckoutsListQueryParamCustomerIDFilterArrayOfStr

func CreateCheckoutsListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) CheckoutsListQueryParamCustomerIDFilter

func CreateCheckoutsListQueryParamCustomerIDFilterStr

func CreateCheckoutsListQueryParamCustomerIDFilterStr(str string) CheckoutsListQueryParamCustomerIDFilter

func (CheckoutsListQueryParamCustomerIDFilter) MarshalJSON

func (u CheckoutsListQueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*CheckoutsListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *CheckoutsListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type CheckoutsListQueryParamCustomerIDFilterType

type CheckoutsListQueryParamCustomerIDFilterType string
const (
	CheckoutsListQueryParamCustomerIDFilterTypeStr        CheckoutsListQueryParamCustomerIDFilterType = "str"
	CheckoutsListQueryParamCustomerIDFilterTypeArrayOfStr CheckoutsListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type CheckoutsListQueryParamExternalCustomerIDFilter

type CheckoutsListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutsListQueryParamExternalCustomerIDFilterType
}

CheckoutsListQueryParamExternalCustomerIDFilter - Filter by customer external ID.

func CreateCheckoutsListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateCheckoutsListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) CheckoutsListQueryParamExternalCustomerIDFilter

func CreateCheckoutsListQueryParamExternalCustomerIDFilterStr

func CreateCheckoutsListQueryParamExternalCustomerIDFilterStr(str string) CheckoutsListQueryParamExternalCustomerIDFilter

func (CheckoutsListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*CheckoutsListQueryParamExternalCustomerIDFilter) UnmarshalJSON

type CheckoutsListQueryParamExternalCustomerIDFilterType

type CheckoutsListQueryParamExternalCustomerIDFilterType string
const (
	CheckoutsListQueryParamExternalCustomerIDFilterTypeStr        CheckoutsListQueryParamExternalCustomerIDFilterType = "str"
	CheckoutsListQueryParamExternalCustomerIDFilterTypeArrayOfStr CheckoutsListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type CheckoutsListQueryParamOrganizationIDFilter

type CheckoutsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutsListQueryParamOrganizationIDFilterType
}

CheckoutsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateCheckoutsListQueryParamOrganizationIDFilterArrayOfStr

func CreateCheckoutsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) CheckoutsListQueryParamOrganizationIDFilter

func CreateCheckoutsListQueryParamOrganizationIDFilterStr

func CreateCheckoutsListQueryParamOrganizationIDFilterStr(str string) CheckoutsListQueryParamOrganizationIDFilter

func (CheckoutsListQueryParamOrganizationIDFilter) MarshalJSON

func (*CheckoutsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *CheckoutsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type CheckoutsListQueryParamOrganizationIDFilterType

type CheckoutsListQueryParamOrganizationIDFilterType string
const (
	CheckoutsListQueryParamOrganizationIDFilterTypeStr        CheckoutsListQueryParamOrganizationIDFilterType = "str"
	CheckoutsListQueryParamOrganizationIDFilterTypeArrayOfStr CheckoutsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type CheckoutsListQueryParamProductIDFilter

type CheckoutsListQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CheckoutsListQueryParamProductIDFilterType
}

CheckoutsListQueryParamProductIDFilter - Filter by product ID.

func CreateCheckoutsListQueryParamProductIDFilterArrayOfStr

func CreateCheckoutsListQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) CheckoutsListQueryParamProductIDFilter

func CreateCheckoutsListQueryParamProductIDFilterStr

func CreateCheckoutsListQueryParamProductIDFilterStr(str string) CheckoutsListQueryParamProductIDFilter

func (CheckoutsListQueryParamProductIDFilter) MarshalJSON

func (u CheckoutsListQueryParamProductIDFilter) MarshalJSON() ([]byte, error)

func (*CheckoutsListQueryParamProductIDFilter) UnmarshalJSON

func (u *CheckoutsListQueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type CheckoutsListQueryParamProductIDFilterType

type CheckoutsListQueryParamProductIDFilterType string
const (
	CheckoutsListQueryParamProductIDFilterTypeStr        CheckoutsListQueryParamProductIDFilterType = "str"
	CheckoutsListQueryParamProductIDFilterTypeArrayOfStr CheckoutsListQueryParamProductIDFilterType = "arrayOfStr"
)

type CheckoutsListRequest

type CheckoutsListRequest struct {
	// Filter by organization ID.
	OrganizationID *CheckoutsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *CheckoutsListQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by customer ID.
	CustomerID *CheckoutsListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *CheckoutsListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by checkout session status.
	Status *QueryParamStatusFilter `queryParam:"style=form,explode=true,name=status"`
	// Filter by customer email.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CheckoutSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CheckoutsListRequest) GetCustomerID

func (*CheckoutsListRequest) GetExternalCustomerID

func (*CheckoutsListRequest) GetLimit

func (c *CheckoutsListRequest) GetLimit() *int64

func (*CheckoutsListRequest) GetOrganizationID

func (*CheckoutsListRequest) GetPage

func (c *CheckoutsListRequest) GetPage() *int64

func (*CheckoutsListRequest) GetProductID

func (*CheckoutsListRequest) GetQuery

func (c *CheckoutsListRequest) GetQuery() *string

func (*CheckoutsListRequest) GetSorting

func (*CheckoutsListRequest) GetStatus

func (CheckoutsListRequest) MarshalJSON

func (c CheckoutsListRequest) MarshalJSON() ([]byte, error)

func (*CheckoutsListRequest) UnmarshalJSON

func (c *CheckoutsListRequest) UnmarshalJSON(data []byte) error

type CheckoutsListResponse

type CheckoutsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCheckout *components.ListResourceCheckout

	Next func() (*CheckoutsListResponse, error)
}

func (*CheckoutsListResponse) GetHTTPMeta

func (*CheckoutsListResponse) GetListResourceCheckout

func (c *CheckoutsListResponse) GetListResourceCheckout() *components.ListResourceCheckout

type CheckoutsUpdateRequest

type CheckoutsUpdateRequest struct {
	// The checkout session ID.
	ID             string                    `pathParam:"style=simple,explode=false,name=id"`
	CheckoutUpdate components.CheckoutUpdate `request:"mediaType=application/json"`
}

func (*CheckoutsUpdateRequest) GetCheckoutUpdate

func (c *CheckoutsUpdateRequest) GetCheckoutUpdate() components.CheckoutUpdate

func (*CheckoutsUpdateRequest) GetID

func (c *CheckoutsUpdateRequest) GetID() string

type CheckoutsUpdateResponse

type CheckoutsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Checkout session updated.
	Checkout *components.Checkout
}

func (*CheckoutsUpdateResponse) GetCheckout

func (c *CheckoutsUpdateResponse) GetCheckout() *components.Checkout

func (*CheckoutsUpdateResponse) GetHTTPMeta

type CustomFieldTypeFilter

type CustomFieldTypeFilter struct {
	CustomFieldType        *components.CustomFieldType  `queryParam:"inline" union:"member"`
	ArrayOfCustomFieldType []components.CustomFieldType `queryParam:"inline" union:"member"`

	Type CustomFieldTypeFilterType
}

CustomFieldTypeFilter - Filter by custom field type.

func CreateCustomFieldTypeFilterArrayOfCustomFieldType

func CreateCustomFieldTypeFilterArrayOfCustomFieldType(arrayOfCustomFieldType []components.CustomFieldType) CustomFieldTypeFilter

func CreateCustomFieldTypeFilterCustomFieldType

func CreateCustomFieldTypeFilterCustomFieldType(customFieldType components.CustomFieldType) CustomFieldTypeFilter

func (CustomFieldTypeFilter) MarshalJSON

func (u CustomFieldTypeFilter) MarshalJSON() ([]byte, error)

func (*CustomFieldTypeFilter) UnmarshalJSON

func (u *CustomFieldTypeFilter) UnmarshalJSON(data []byte) error

type CustomFieldTypeFilterType

type CustomFieldTypeFilterType string
const (
	CustomFieldTypeFilterTypeCustomFieldType        CustomFieldTypeFilterType = "CustomFieldType"
	CustomFieldTypeFilterTypeArrayOfCustomFieldType CustomFieldTypeFilterType = "arrayOfCustomFieldType"
)

type CustomFieldsCreateResponse

type CustomFieldsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Custom field created.
	CustomField *components.CustomField
}

func (*CustomFieldsCreateResponse) GetCustomField

func (c *CustomFieldsCreateResponse) GetCustomField() *components.CustomField

func (*CustomFieldsCreateResponse) GetCustomFieldCheckbox

func (c *CustomFieldsCreateResponse) GetCustomFieldCheckbox() *components.CustomFieldCheckbox

func (*CustomFieldsCreateResponse) GetCustomFieldDate

func (c *CustomFieldsCreateResponse) GetCustomFieldDate() *components.CustomFieldDate

func (*CustomFieldsCreateResponse) GetCustomFieldNumber

func (c *CustomFieldsCreateResponse) GetCustomFieldNumber() *components.CustomFieldNumber

func (*CustomFieldsCreateResponse) GetCustomFieldSelect

func (c *CustomFieldsCreateResponse) GetCustomFieldSelect() *components.CustomFieldSelect

func (*CustomFieldsCreateResponse) GetCustomFieldText

func (c *CustomFieldsCreateResponse) GetCustomFieldText() *components.CustomFieldText

func (*CustomFieldsCreateResponse) GetHTTPMeta

type CustomFieldsDeleteRequest

type CustomFieldsDeleteRequest struct {
	// The custom field ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomFieldsDeleteRequest) GetID

func (c *CustomFieldsDeleteRequest) GetID() string

type CustomFieldsDeleteResponse

type CustomFieldsDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomFieldsDeleteResponse) GetHTTPMeta

type CustomFieldsGetRequest

type CustomFieldsGetRequest struct {
	// The custom field ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomFieldsGetRequest) GetID

func (c *CustomFieldsGetRequest) GetID() string

type CustomFieldsGetResponse

type CustomFieldsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomField *components.CustomField
}

func (*CustomFieldsGetResponse) GetCustomField

func (c *CustomFieldsGetResponse) GetCustomField() *components.CustomField

func (*CustomFieldsGetResponse) GetCustomFieldCheckbox

func (c *CustomFieldsGetResponse) GetCustomFieldCheckbox() *components.CustomFieldCheckbox

func (*CustomFieldsGetResponse) GetCustomFieldDate

func (c *CustomFieldsGetResponse) GetCustomFieldDate() *components.CustomFieldDate

func (*CustomFieldsGetResponse) GetCustomFieldNumber

func (c *CustomFieldsGetResponse) GetCustomFieldNumber() *components.CustomFieldNumber

func (*CustomFieldsGetResponse) GetCustomFieldSelect

func (c *CustomFieldsGetResponse) GetCustomFieldSelect() *components.CustomFieldSelect

func (*CustomFieldsGetResponse) GetCustomFieldText

func (c *CustomFieldsGetResponse) GetCustomFieldText() *components.CustomFieldText

func (*CustomFieldsGetResponse) GetHTTPMeta

type CustomFieldsListQueryParamOrganizationIDFilter

type CustomFieldsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomFieldsListQueryParamOrganizationIDFilterType
}

CustomFieldsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateCustomFieldsListQueryParamOrganizationIDFilterArrayOfStr

func CreateCustomFieldsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) CustomFieldsListQueryParamOrganizationIDFilter

func CreateCustomFieldsListQueryParamOrganizationIDFilterStr

func CreateCustomFieldsListQueryParamOrganizationIDFilterStr(str string) CustomFieldsListQueryParamOrganizationIDFilter

func (CustomFieldsListQueryParamOrganizationIDFilter) MarshalJSON

func (*CustomFieldsListQueryParamOrganizationIDFilter) UnmarshalJSON

type CustomFieldsListQueryParamOrganizationIDFilterType

type CustomFieldsListQueryParamOrganizationIDFilterType string
const (
	CustomFieldsListQueryParamOrganizationIDFilterTypeStr        CustomFieldsListQueryParamOrganizationIDFilterType = "str"
	CustomFieldsListQueryParamOrganizationIDFilterTypeArrayOfStr CustomFieldsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type CustomFieldsListRequest

type CustomFieldsListRequest struct {
	// Filter by organization ID.
	OrganizationID *CustomFieldsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by custom field name or slug.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Filter by custom field type.
	TypeFilter *CustomFieldTypeFilter `queryParam:"style=form,explode=true,name=type"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomFieldSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomFieldsListRequest) GetLimit

func (c *CustomFieldsListRequest) GetLimit() *int64

func (*CustomFieldsListRequest) GetOrganizationID

func (*CustomFieldsListRequest) GetPage

func (c *CustomFieldsListRequest) GetPage() *int64

func (*CustomFieldsListRequest) GetQuery

func (c *CustomFieldsListRequest) GetQuery() *string

func (*CustomFieldsListRequest) GetSorting

func (*CustomFieldsListRequest) GetTypeFilter

func (c *CustomFieldsListRequest) GetTypeFilter() *CustomFieldTypeFilter

func (CustomFieldsListRequest) MarshalJSON

func (c CustomFieldsListRequest) MarshalJSON() ([]byte, error)

func (*CustomFieldsListRequest) UnmarshalJSON

func (c *CustomFieldsListRequest) UnmarshalJSON(data []byte) error

type CustomFieldsListResponse

type CustomFieldsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomField *components.ListResourceCustomField

	Next func() (*CustomFieldsListResponse, error)
}

func (*CustomFieldsListResponse) GetHTTPMeta

func (*CustomFieldsListResponse) GetListResourceCustomField

func (c *CustomFieldsListResponse) GetListResourceCustomField() *components.ListResourceCustomField

type CustomFieldsUpdateRequest

type CustomFieldsUpdateRequest struct {
	// The custom field ID.
	ID                string                       `pathParam:"style=simple,explode=false,name=id"`
	CustomFieldUpdate components.CustomFieldUpdate `request:"mediaType=application/json"`
}

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdate

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdate() components.CustomFieldUpdate

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdateCheckbox

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdateCheckbox() *components.CustomFieldUpdateCheckbox

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdateDate

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdateDate() *components.CustomFieldUpdateDate

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdateNumber

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdateNumber() *components.CustomFieldUpdateNumber

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdateSelect

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdateSelect() *components.CustomFieldUpdateSelect

func (*CustomFieldsUpdateRequest) GetCustomFieldUpdateText

func (c *CustomFieldsUpdateRequest) GetCustomFieldUpdateText() *components.CustomFieldUpdateText

func (*CustomFieldsUpdateRequest) GetID

func (c *CustomFieldsUpdateRequest) GetID() string

type CustomFieldsUpdateResponse

type CustomFieldsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Custom field updated.
	CustomField *components.CustomField
}

func (*CustomFieldsUpdateResponse) GetCustomField

func (c *CustomFieldsUpdateResponse) GetCustomField() *components.CustomField

func (*CustomFieldsUpdateResponse) GetCustomFieldCheckbox

func (c *CustomFieldsUpdateResponse) GetCustomFieldCheckbox() *components.CustomFieldCheckbox

func (*CustomFieldsUpdateResponse) GetCustomFieldDate

func (c *CustomFieldsUpdateResponse) GetCustomFieldDate() *components.CustomFieldDate

func (*CustomFieldsUpdateResponse) GetCustomFieldNumber

func (c *CustomFieldsUpdateResponse) GetCustomFieldNumber() *components.CustomFieldNumber

func (*CustomFieldsUpdateResponse) GetCustomFieldSelect

func (c *CustomFieldsUpdateResponse) GetCustomFieldSelect() *components.CustomFieldSelect

func (*CustomFieldsUpdateResponse) GetCustomFieldText

func (c *CustomFieldsUpdateResponse) GetCustomFieldText() *components.CustomFieldText

func (*CustomFieldsUpdateResponse) GetHTTPMeta

type CustomerCancellationReasonFilter

type CustomerCancellationReasonFilter struct {
	CustomerCancellationReason        *components.CustomerCancellationReason  `queryParam:"inline" union:"member"`
	ArrayOfCustomerCancellationReason []components.CustomerCancellationReason `queryParam:"inline" union:"member"`

	Type CustomerCancellationReasonFilterType
}

CustomerCancellationReasonFilter - Filter by customer cancellation reason.

func CreateCustomerCancellationReasonFilterArrayOfCustomerCancellationReason

func CreateCustomerCancellationReasonFilterArrayOfCustomerCancellationReason(arrayOfCustomerCancellationReason []components.CustomerCancellationReason) CustomerCancellationReasonFilter

func CreateCustomerCancellationReasonFilterCustomerCancellationReason

func CreateCustomerCancellationReasonFilterCustomerCancellationReason(customerCancellationReason components.CustomerCancellationReason) CustomerCancellationReasonFilter

func (CustomerCancellationReasonFilter) MarshalJSON

func (u CustomerCancellationReasonFilter) MarshalJSON() ([]byte, error)

func (*CustomerCancellationReasonFilter) UnmarshalJSON

func (u *CustomerCancellationReasonFilter) UnmarshalJSON(data []byte) error

type CustomerCancellationReasonFilterType

type CustomerCancellationReasonFilterType string
const (
	CustomerCancellationReasonFilterTypeCustomerCancellationReason        CustomerCancellationReasonFilterType = "CustomerCancellationReason"
	CustomerCancellationReasonFilterTypeArrayOfCustomerCancellationReason CustomerCancellationReasonFilterType = "arrayOfCustomerCancellationReason"
)

type CustomerEmailFilter

type CustomerEmailFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerEmailFilterType
}

CustomerEmailFilter - Filter by customer email.

func CreateCustomerEmailFilterArrayOfStr

func CreateCustomerEmailFilterArrayOfStr(arrayOfStr []string) CustomerEmailFilter

func CreateCustomerEmailFilterStr

func CreateCustomerEmailFilterStr(str string) CustomerEmailFilter

func (CustomerEmailFilter) MarshalJSON

func (u CustomerEmailFilter) MarshalJSON() ([]byte, error)

func (*CustomerEmailFilter) UnmarshalJSON

func (u *CustomerEmailFilter) UnmarshalJSON(data []byte) error

type CustomerEmailFilterType

type CustomerEmailFilterType string
const (
	CustomerEmailFilterTypeStr        CustomerEmailFilterType = "str"
	CustomerEmailFilterTypeArrayOfStr CustomerEmailFilterType = "arrayOfStr"
)

type CustomerIDFilter

type CustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerIDFilterType
}

CustomerIDFilter - Filter by customer ID.

func CreateCustomerIDFilterArrayOfStr

func CreateCustomerIDFilterArrayOfStr(arrayOfStr []string) CustomerIDFilter

func CreateCustomerIDFilterStr

func CreateCustomerIDFilterStr(str string) CustomerIDFilter

func (CustomerIDFilter) MarshalJSON

func (u CustomerIDFilter) MarshalJSON() ([]byte, error)

func (*CustomerIDFilter) UnmarshalJSON

func (u *CustomerIDFilter) UnmarshalJSON(data []byte) error

type CustomerIDFilterType

type CustomerIDFilterType string
const (
	CustomerIDFilterTypeStr        CustomerIDFilterType = "str"
	CustomerIDFilterTypeArrayOfStr CustomerIDFilterType = "arrayOfStr"
)

type CustomerMetersGetRequest

type CustomerMetersGetRequest struct {
	// The customer meter ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerMetersGetRequest) GetID

func (c *CustomerMetersGetRequest) GetID() string

type CustomerMetersGetResponse

type CustomerMetersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerMeter *components.CustomerMeter
}

func (*CustomerMetersGetResponse) GetCustomerMeter

func (c *CustomerMetersGetResponse) GetCustomerMeter() *components.CustomerMeter

func (*CustomerMetersGetResponse) GetHTTPMeta

type CustomerMetersListQueryParamCustomerIDFilter

type CustomerMetersListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerMetersListQueryParamCustomerIDFilterType
}

CustomerMetersListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateCustomerMetersListQueryParamCustomerIDFilterArrayOfStr

func CreateCustomerMetersListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) CustomerMetersListQueryParamCustomerIDFilter

func CreateCustomerMetersListQueryParamCustomerIDFilterStr

func CreateCustomerMetersListQueryParamCustomerIDFilterStr(str string) CustomerMetersListQueryParamCustomerIDFilter

func (CustomerMetersListQueryParamCustomerIDFilter) MarshalJSON

func (*CustomerMetersListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *CustomerMetersListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type CustomerMetersListQueryParamCustomerIDFilterType

type CustomerMetersListQueryParamCustomerIDFilterType string
const (
	CustomerMetersListQueryParamCustomerIDFilterTypeStr        CustomerMetersListQueryParamCustomerIDFilterType = "str"
	CustomerMetersListQueryParamCustomerIDFilterTypeArrayOfStr CustomerMetersListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type CustomerMetersListQueryParamExternalCustomerIDFilter

type CustomerMetersListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerMetersListQueryParamExternalCustomerIDFilterType
}

CustomerMetersListQueryParamExternalCustomerIDFilter - Filter by external customer ID.

func CreateCustomerMetersListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateCustomerMetersListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) CustomerMetersListQueryParamExternalCustomerIDFilter

func CreateCustomerMetersListQueryParamExternalCustomerIDFilterStr

func CreateCustomerMetersListQueryParamExternalCustomerIDFilterStr(str string) CustomerMetersListQueryParamExternalCustomerIDFilter

func (CustomerMetersListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*CustomerMetersListQueryParamExternalCustomerIDFilter) UnmarshalJSON

type CustomerMetersListQueryParamExternalCustomerIDFilterType

type CustomerMetersListQueryParamExternalCustomerIDFilterType string
const (
	CustomerMetersListQueryParamExternalCustomerIDFilterTypeStr        CustomerMetersListQueryParamExternalCustomerIDFilterType = "str"
	CustomerMetersListQueryParamExternalCustomerIDFilterTypeArrayOfStr CustomerMetersListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type CustomerMetersListQueryParamOrganizationIDFilter

type CustomerMetersListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerMetersListQueryParamOrganizationIDFilterType
}

CustomerMetersListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateCustomerMetersListQueryParamOrganizationIDFilterArrayOfStr

func CreateCustomerMetersListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) CustomerMetersListQueryParamOrganizationIDFilter

func CreateCustomerMetersListQueryParamOrganizationIDFilterStr

func CreateCustomerMetersListQueryParamOrganizationIDFilterStr(str string) CustomerMetersListQueryParamOrganizationIDFilter

func (CustomerMetersListQueryParamOrganizationIDFilter) MarshalJSON

func (*CustomerMetersListQueryParamOrganizationIDFilter) UnmarshalJSON

type CustomerMetersListQueryParamOrganizationIDFilterType

type CustomerMetersListQueryParamOrganizationIDFilterType string
const (
	CustomerMetersListQueryParamOrganizationIDFilterTypeStr        CustomerMetersListQueryParamOrganizationIDFilterType = "str"
	CustomerMetersListQueryParamOrganizationIDFilterTypeArrayOfStr CustomerMetersListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type CustomerMetersListRequest

type CustomerMetersListRequest struct {
	// Filter by organization ID.
	OrganizationID *CustomerMetersListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by customer ID.
	CustomerID *CustomerMetersListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by external customer ID.
	ExternalCustomerID *CustomerMetersListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by meter ID.
	MeterID *QueryParamMeterIDFilter `queryParam:"style=form,explode=true,name=meter_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerMeterSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerMetersListRequest) GetCustomerID

func (*CustomerMetersListRequest) GetExternalCustomerID

func (*CustomerMetersListRequest) GetLimit

func (c *CustomerMetersListRequest) GetLimit() *int64

func (*CustomerMetersListRequest) GetMeterID

func (*CustomerMetersListRequest) GetOrganizationID

func (*CustomerMetersListRequest) GetPage

func (c *CustomerMetersListRequest) GetPage() *int64

func (*CustomerMetersListRequest) GetSorting

func (CustomerMetersListRequest) MarshalJSON

func (c CustomerMetersListRequest) MarshalJSON() ([]byte, error)

func (*CustomerMetersListRequest) UnmarshalJSON

func (c *CustomerMetersListRequest) UnmarshalJSON(data []byte) error

type CustomerMetersListResponse

type CustomerMetersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerMeter *components.ListResourceCustomerMeter

	Next func() (*CustomerMetersListResponse, error)
}

func (*CustomerMetersListResponse) GetHTTPMeta

func (*CustomerMetersListResponse) GetListResourceCustomerMeter

func (c *CustomerMetersListResponse) GetListResourceCustomerMeter() *components.ListResourceCustomerMeter

type CustomerPortalBenefitGrantsGetRequest

type CustomerPortalBenefitGrantsGetRequest struct {
	// The benefit grant ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalBenefitGrantsGetRequest) GetID

type CustomerPortalBenefitGrantsGetResponse

type CustomerPortalBenefitGrantsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerBenefitGrant *components.CustomerBenefitGrant
}

func (*CustomerPortalBenefitGrantsGetResponse) GetCustomerBenefitGrant

func (*CustomerPortalBenefitGrantsGetResponse) GetHTTPMeta

type CustomerPortalBenefitGrantsGetSecurity

type CustomerPortalBenefitGrantsGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalBenefitGrantsGetSecurity) GetCustomerSession

func (c *CustomerPortalBenefitGrantsGetSecurity) GetCustomerSession() *string

func (*CustomerPortalBenefitGrantsGetSecurity) GetMemberSession

func (c *CustomerPortalBenefitGrantsGetSecurity) GetMemberSession() *string

type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter

type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterType
}

CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter - Filter by benefit ID.

func CreateCustomerPortalBenefitGrantsListQueryParamBenefitIDFilterArrayOfStr

func CreateCustomerPortalBenefitGrantsListQueryParamBenefitIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter

func CreateCustomerPortalBenefitGrantsListQueryParamBenefitIDFilterStr

func CreateCustomerPortalBenefitGrantsListQueryParamBenefitIDFilterStr(str string) CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter

func (CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter) MarshalJSON

func (*CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter) UnmarshalJSON

type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterType

type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterType string
const (
	CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterTypeStr        CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterType = "str"
	CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterTypeArrayOfStr CustomerPortalBenefitGrantsListQueryParamBenefitIDFilterType = "arrayOfStr"
)

type CustomerPortalBenefitGrantsListQueryParamOrderIDFilter

type CustomerPortalBenefitGrantsListQueryParamOrderIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalBenefitGrantsListQueryParamOrderIDFilterType
}

CustomerPortalBenefitGrantsListQueryParamOrderIDFilter - Filter by order ID.

func CreateCustomerPortalBenefitGrantsListQueryParamOrderIDFilterArrayOfStr

func CreateCustomerPortalBenefitGrantsListQueryParamOrderIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalBenefitGrantsListQueryParamOrderIDFilter

func CreateCustomerPortalBenefitGrantsListQueryParamOrderIDFilterStr

func CreateCustomerPortalBenefitGrantsListQueryParamOrderIDFilterStr(str string) CustomerPortalBenefitGrantsListQueryParamOrderIDFilter

func (CustomerPortalBenefitGrantsListQueryParamOrderIDFilter) MarshalJSON

func (*CustomerPortalBenefitGrantsListQueryParamOrderIDFilter) UnmarshalJSON

type CustomerPortalBenefitGrantsListQueryParamOrderIDFilterType

type CustomerPortalBenefitGrantsListQueryParamOrderIDFilterType string
const (
	CustomerPortalBenefitGrantsListQueryParamOrderIDFilterTypeStr        CustomerPortalBenefitGrantsListQueryParamOrderIDFilterType = "str"
	CustomerPortalBenefitGrantsListQueryParamOrderIDFilterTypeArrayOfStr CustomerPortalBenefitGrantsListQueryParamOrderIDFilterType = "arrayOfStr"
)

type CustomerPortalBenefitGrantsListRequest

type CustomerPortalBenefitGrantsListRequest struct {
	// Filter by benefit description.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Filter by benefit type.
	TypeFilter *QueryParamBenefitTypeFilter `queryParam:"style=form,explode=true,name=type"`
	// Filter by benefit ID.
	BenefitID *CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter `queryParam:"style=form,explode=true,name=benefit_id"`
	// Filter by checkout ID.
	CheckoutID *QueryParamCheckoutIDFilter `queryParam:"style=form,explode=true,name=checkout_id"`
	// Filter by order ID.
	OrderID *CustomerPortalBenefitGrantsListQueryParamOrderIDFilter `queryParam:"style=form,explode=true,name=order_id"`
	// Filter by subscription ID.
	SubscriptionID *QueryParamSubscriptionIDFilter `queryParam:"style=form,explode=true,name=subscription_id"`
	// Filter by member ID.
	MemberID *QueryParamMemberIDFilter `queryParam:"style=form,explode=true,name=member_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerBenefitGrantSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerPortalBenefitGrantsListRequest) GetBenefitID

func (*CustomerPortalBenefitGrantsListRequest) GetCheckoutID

func (*CustomerPortalBenefitGrantsListRequest) GetLimit

func (*CustomerPortalBenefitGrantsListRequest) GetMemberID

func (*CustomerPortalBenefitGrantsListRequest) GetOrderID

func (*CustomerPortalBenefitGrantsListRequest) GetPage

func (*CustomerPortalBenefitGrantsListRequest) GetQuery

func (*CustomerPortalBenefitGrantsListRequest) GetSorting

func (*CustomerPortalBenefitGrantsListRequest) GetSubscriptionID

func (*CustomerPortalBenefitGrantsListRequest) GetTypeFilter

func (CustomerPortalBenefitGrantsListRequest) MarshalJSON

func (c CustomerPortalBenefitGrantsListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalBenefitGrantsListRequest) UnmarshalJSON

func (c *CustomerPortalBenefitGrantsListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalBenefitGrantsListResponse

type CustomerPortalBenefitGrantsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerBenefitGrant *components.ListResourceCustomerBenefitGrant

	Next func() (*CustomerPortalBenefitGrantsListResponse, error)
}

func (*CustomerPortalBenefitGrantsListResponse) GetHTTPMeta

func (*CustomerPortalBenefitGrantsListResponse) GetListResourceCustomerBenefitGrant

type CustomerPortalBenefitGrantsListSecurity

type CustomerPortalBenefitGrantsListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalBenefitGrantsListSecurity) GetCustomerSession

func (c *CustomerPortalBenefitGrantsListSecurity) GetCustomerSession() *string

func (*CustomerPortalBenefitGrantsListSecurity) GetMemberSession

func (c *CustomerPortalBenefitGrantsListSecurity) GetMemberSession() *string

type CustomerPortalBenefitGrantsUpdateRequest

type CustomerPortalBenefitGrantsUpdateRequest struct {
	// The benefit grant ID.
	ID                         string                                `pathParam:"style=simple,explode=false,name=id"`
	CustomerBenefitGrantUpdate components.CustomerBenefitGrantUpdate `request:"mediaType=application/json"`
}

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateCustom

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateDiscord

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateDownloadables

func (c *CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateDownloadables() *components.CustomerBenefitGrantDownloadablesUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateFeatureFlag

func (c *CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateFeatureFlag() *components.CustomerBenefitGrantFeatureFlagUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateGithubRepository

func (c *CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateGithubRepository() *components.CustomerBenefitGrantGitHubRepositoryUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateLicenseKeys

func (c *CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateLicenseKeys() *components.CustomerBenefitGrantLicenseKeysUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateMeterCredit

func (c *CustomerPortalBenefitGrantsUpdateRequest) GetCustomerBenefitGrantUpdateMeterCredit() *components.CustomerBenefitGrantMeterCreditUpdate

func (*CustomerPortalBenefitGrantsUpdateRequest) GetID

type CustomerPortalBenefitGrantsUpdateResponse

type CustomerPortalBenefitGrantsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Benefit grant updated.
	CustomerBenefitGrant *components.CustomerBenefitGrant
}

func (*CustomerPortalBenefitGrantsUpdateResponse) GetCustomerBenefitGrant

func (*CustomerPortalBenefitGrantsUpdateResponse) GetHTTPMeta

type CustomerPortalBenefitGrantsUpdateSecurity

type CustomerPortalBenefitGrantsUpdateSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalBenefitGrantsUpdateSecurity) GetCustomerSession

func (c *CustomerPortalBenefitGrantsUpdateSecurity) GetCustomerSession() *string

func (*CustomerPortalBenefitGrantsUpdateSecurity) GetMemberSession

func (c *CustomerPortalBenefitGrantsUpdateSecurity) GetMemberSession() *string

type CustomerPortalCustomerMetersGetRequest

type CustomerPortalCustomerMetersGetRequest struct {
	// The customer meter ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalCustomerMetersGetRequest) GetID

type CustomerPortalCustomerMetersGetResponse

type CustomerPortalCustomerMetersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerCustomerMeter *components.CustomerCustomerMeter
}

func (*CustomerPortalCustomerMetersGetResponse) GetCustomerCustomerMeter

func (*CustomerPortalCustomerMetersGetResponse) GetHTTPMeta

type CustomerPortalCustomerMetersGetSecurity

type CustomerPortalCustomerMetersGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomerMetersGetSecurity) GetCustomerSession

func (c *CustomerPortalCustomerMetersGetSecurity) GetCustomerSession() *string

func (*CustomerPortalCustomerMetersGetSecurity) GetMemberSession

func (c *CustomerPortalCustomerMetersGetSecurity) GetMemberSession() *string

type CustomerPortalCustomerMetersListRequest

type CustomerPortalCustomerMetersListRequest struct {
	// Filter by meter ID.
	MeterID *MeterIDFilter `queryParam:"style=form,explode=true,name=meter_id"`
	// Filter by meter name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerCustomerMeterSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerPortalCustomerMetersListRequest) GetLimit

func (*CustomerPortalCustomerMetersListRequest) GetMeterID

func (*CustomerPortalCustomerMetersListRequest) GetPage

func (*CustomerPortalCustomerMetersListRequest) GetQuery

func (*CustomerPortalCustomerMetersListRequest) GetSorting

func (CustomerPortalCustomerMetersListRequest) MarshalJSON

func (c CustomerPortalCustomerMetersListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalCustomerMetersListRequest) UnmarshalJSON

func (c *CustomerPortalCustomerMetersListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalCustomerMetersListResponse

type CustomerPortalCustomerMetersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerCustomerMeter *components.ListResourceCustomerCustomerMeter

	Next func() (*CustomerPortalCustomerMetersListResponse, error)
}

func (*CustomerPortalCustomerMetersListResponse) GetHTTPMeta

func (*CustomerPortalCustomerMetersListResponse) GetListResourceCustomerCustomerMeter

type CustomerPortalCustomerMetersListSecurity

type CustomerPortalCustomerMetersListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomerMetersListSecurity) GetCustomerSession

func (c *CustomerPortalCustomerMetersListSecurity) GetCustomerSession() *string

func (*CustomerPortalCustomerMetersListSecurity) GetMemberSession

func (c *CustomerPortalCustomerMetersListSecurity) GetMemberSession() *string

type CustomerPortalCustomerSessionGetAuthenticatedUserResponse

type CustomerPortalCustomerSessionGetAuthenticatedUserResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	PortalAuthenticatedUser *components.PortalAuthenticatedUser
}

func (*CustomerPortalCustomerSessionGetAuthenticatedUserResponse) GetHTTPMeta

func (*CustomerPortalCustomerSessionGetAuthenticatedUserResponse) GetPortalAuthenticatedUser

type CustomerPortalCustomerSessionGetAuthenticatedUserSecurity

type CustomerPortalCustomerSessionGetAuthenticatedUserSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomerSessionGetAuthenticatedUserSecurity) GetCustomerSession

func (*CustomerPortalCustomerSessionGetAuthenticatedUserSecurity) GetMemberSession

type CustomerPortalCustomerSessionIntrospectResponse

type CustomerPortalCustomerSessionIntrospectResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerCustomerSession *components.CustomerCustomerSession
}

func (*CustomerPortalCustomerSessionIntrospectResponse) GetCustomerCustomerSession

func (*CustomerPortalCustomerSessionIntrospectResponse) GetHTTPMeta

type CustomerPortalCustomerSessionIntrospectSecurity

type CustomerPortalCustomerSessionIntrospectSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomerSessionIntrospectSecurity) GetCustomerSession

func (*CustomerPortalCustomerSessionIntrospectSecurity) GetMemberSession

type CustomerPortalCustomersAddPaymentMethodResponse

type CustomerPortalCustomersAddPaymentMethodResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Payment method created or setup initiated.
	CustomerPaymentMethodCreateResponse *components.CustomerPaymentMethodCreateResponse
}

func (*CustomerPortalCustomersAddPaymentMethodResponse) GetCustomerPaymentMethodCreateResponse

func (*CustomerPortalCustomersAddPaymentMethodResponse) GetCustomerPaymentMethodCreateResponseRequiresAction

func (*CustomerPortalCustomersAddPaymentMethodResponse) GetCustomerPaymentMethodCreateResponseSucceeded

func (*CustomerPortalCustomersAddPaymentMethodResponse) GetHTTPMeta

type CustomerPortalCustomersAddPaymentMethodSecurity

type CustomerPortalCustomersAddPaymentMethodSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersAddPaymentMethodSecurity) GetCustomerSession

func (*CustomerPortalCustomersAddPaymentMethodSecurity) GetMemberSession

type CustomerPortalCustomersConfirmPaymentMethodResponse

type CustomerPortalCustomersConfirmPaymentMethodResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Payment method created or setup initiated.
	CustomerPaymentMethodCreateResponse *components.CustomerPaymentMethodCreateResponse
}

func (*CustomerPortalCustomersConfirmPaymentMethodResponse) GetCustomerPaymentMethodCreateResponse

func (*CustomerPortalCustomersConfirmPaymentMethodResponse) GetCustomerPaymentMethodCreateResponseRequiresAction

func (*CustomerPortalCustomersConfirmPaymentMethodResponse) GetCustomerPaymentMethodCreateResponseSucceeded

func (*CustomerPortalCustomersConfirmPaymentMethodResponse) GetHTTPMeta

type CustomerPortalCustomersConfirmPaymentMethodSecurity

type CustomerPortalCustomersConfirmPaymentMethodSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersConfirmPaymentMethodSecurity) GetCustomerSession

func (*CustomerPortalCustomersConfirmPaymentMethodSecurity) GetMemberSession

type CustomerPortalCustomersDeletePaymentMethodRequest

type CustomerPortalCustomersDeletePaymentMethodRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalCustomersDeletePaymentMethodRequest) GetID

type CustomerPortalCustomersDeletePaymentMethodResponse

type CustomerPortalCustomersDeletePaymentMethodResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomerPortalCustomersDeletePaymentMethodResponse) GetHTTPMeta

type CustomerPortalCustomersDeletePaymentMethodSecurity

type CustomerPortalCustomersDeletePaymentMethodSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersDeletePaymentMethodSecurity) GetCustomerSession

func (*CustomerPortalCustomersDeletePaymentMethodSecurity) GetMemberSession

type CustomerPortalCustomersGetResponse

type CustomerPortalCustomersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerPortalCustomer *components.CustomerPortalCustomer
}

func (*CustomerPortalCustomersGetResponse) GetCustomerPortalCustomer

func (*CustomerPortalCustomersGetResponse) GetHTTPMeta

type CustomerPortalCustomersGetSecurity

type CustomerPortalCustomersGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersGetSecurity) GetCustomerSession

func (c *CustomerPortalCustomersGetSecurity) GetCustomerSession() *string

func (*CustomerPortalCustomersGetSecurity) GetMemberSession

func (c *CustomerPortalCustomersGetSecurity) GetMemberSession() *string

type CustomerPortalCustomersListPaymentMethodsRequest

type CustomerPortalCustomersListPaymentMethodsRequest struct {
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*CustomerPortalCustomersListPaymentMethodsRequest) GetLimit

func (*CustomerPortalCustomersListPaymentMethodsRequest) GetPage

func (CustomerPortalCustomersListPaymentMethodsRequest) MarshalJSON

func (*CustomerPortalCustomersListPaymentMethodsRequest) UnmarshalJSON

type CustomerPortalCustomersListPaymentMethodsResponse

type CustomerPortalCustomersListPaymentMethodsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerPaymentMethod *components.ListResourceCustomerPaymentMethod

	Next func() (*CustomerPortalCustomersListPaymentMethodsResponse, error)
}

func (*CustomerPortalCustomersListPaymentMethodsResponse) GetHTTPMeta

func (*CustomerPortalCustomersListPaymentMethodsResponse) GetListResourceCustomerPaymentMethod

type CustomerPortalCustomersListPaymentMethodsSecurity

type CustomerPortalCustomersListPaymentMethodsSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersListPaymentMethodsSecurity) GetCustomerSession

func (*CustomerPortalCustomersListPaymentMethodsSecurity) GetMemberSession

type CustomerPortalCustomersUpdateResponse

type CustomerPortalCustomersUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer updated.
	CustomerPortalCustomer *components.CustomerPortalCustomer
}

func (*CustomerPortalCustomersUpdateResponse) GetCustomerPortalCustomer

func (*CustomerPortalCustomersUpdateResponse) GetHTTPMeta

type CustomerPortalCustomersUpdateSecurity

type CustomerPortalCustomersUpdateSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalCustomersUpdateSecurity) GetCustomerSession

func (c *CustomerPortalCustomersUpdateSecurity) GetCustomerSession() *string

func (*CustomerPortalCustomersUpdateSecurity) GetMemberSession

func (c *CustomerPortalCustomersUpdateSecurity) GetMemberSession() *string

type CustomerPortalDownloadablesListQueryParamBenefitIDFilter

type CustomerPortalDownloadablesListQueryParamBenefitIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalDownloadablesListQueryParamBenefitIDFilterType
}

CustomerPortalDownloadablesListQueryParamBenefitIDFilter - Filter by benefit ID.

func CreateCustomerPortalDownloadablesListQueryParamBenefitIDFilterArrayOfStr

func CreateCustomerPortalDownloadablesListQueryParamBenefitIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalDownloadablesListQueryParamBenefitIDFilter

func CreateCustomerPortalDownloadablesListQueryParamBenefitIDFilterStr

func CreateCustomerPortalDownloadablesListQueryParamBenefitIDFilterStr(str string) CustomerPortalDownloadablesListQueryParamBenefitIDFilter

func (CustomerPortalDownloadablesListQueryParamBenefitIDFilter) MarshalJSON

func (*CustomerPortalDownloadablesListQueryParamBenefitIDFilter) UnmarshalJSON

type CustomerPortalDownloadablesListQueryParamBenefitIDFilterType

type CustomerPortalDownloadablesListQueryParamBenefitIDFilterType string
const (
	CustomerPortalDownloadablesListQueryParamBenefitIDFilterTypeStr        CustomerPortalDownloadablesListQueryParamBenefitIDFilterType = "str"
	CustomerPortalDownloadablesListQueryParamBenefitIDFilterTypeArrayOfStr CustomerPortalDownloadablesListQueryParamBenefitIDFilterType = "arrayOfStr"
)

type CustomerPortalDownloadablesListRequest

type CustomerPortalDownloadablesListRequest struct {
	// Filter by benefit ID.
	BenefitID *CustomerPortalDownloadablesListQueryParamBenefitIDFilter `queryParam:"style=form,explode=true,name=benefit_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*CustomerPortalDownloadablesListRequest) GetBenefitID

func (*CustomerPortalDownloadablesListRequest) GetLimit

func (*CustomerPortalDownloadablesListRequest) GetPage

func (CustomerPortalDownloadablesListRequest) MarshalJSON

func (c CustomerPortalDownloadablesListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalDownloadablesListRequest) UnmarshalJSON

func (c *CustomerPortalDownloadablesListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalDownloadablesListResponse

type CustomerPortalDownloadablesListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceDownloadableRead *components.ListResourceDownloadableRead

	Next func() (*CustomerPortalDownloadablesListResponse, error)
}

func (*CustomerPortalDownloadablesListResponse) GetHTTPMeta

func (*CustomerPortalDownloadablesListResponse) GetListResourceDownloadableRead

type CustomerPortalDownloadablesListSecurity

type CustomerPortalDownloadablesListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalDownloadablesListSecurity) GetCustomerSession

func (c *CustomerPortalDownloadablesListSecurity) GetCustomerSession() *string

func (*CustomerPortalDownloadablesListSecurity) GetMemberSession

func (c *CustomerPortalDownloadablesListSecurity) GetMemberSession() *string

type CustomerPortalLicenseKeysActivateResponse

type CustomerPortalLicenseKeysActivateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyActivationRead *components.LicenseKeyActivationRead
}

func (*CustomerPortalLicenseKeysActivateResponse) GetHTTPMeta

func (*CustomerPortalLicenseKeysActivateResponse) GetLicenseKeyActivationRead

type CustomerPortalLicenseKeysDeactivateResponse

type CustomerPortalLicenseKeysDeactivateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomerPortalLicenseKeysDeactivateResponse) GetHTTPMeta

type CustomerPortalLicenseKeysGetRequest

type CustomerPortalLicenseKeysGetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalLicenseKeysGetRequest) GetID

type CustomerPortalLicenseKeysGetResponse

type CustomerPortalLicenseKeysGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyWithActivations *components.LicenseKeyWithActivations
}

func (*CustomerPortalLicenseKeysGetResponse) GetHTTPMeta

func (*CustomerPortalLicenseKeysGetResponse) GetLicenseKeyWithActivations

type CustomerPortalLicenseKeysGetSecurity

type CustomerPortalLicenseKeysGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalLicenseKeysGetSecurity) GetCustomerSession

func (c *CustomerPortalLicenseKeysGetSecurity) GetCustomerSession() *string

func (*CustomerPortalLicenseKeysGetSecurity) GetMemberSession

func (c *CustomerPortalLicenseKeysGetSecurity) GetMemberSession() *string

type CustomerPortalLicenseKeysListRequest

type CustomerPortalLicenseKeysListRequest struct {
	// Filter by a specific benefit
	BenefitID *string `queryParam:"style=form,explode=true,name=benefit_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*CustomerPortalLicenseKeysListRequest) GetBenefitID

func (c *CustomerPortalLicenseKeysListRequest) GetBenefitID() *string

func (*CustomerPortalLicenseKeysListRequest) GetLimit

func (*CustomerPortalLicenseKeysListRequest) GetPage

func (CustomerPortalLicenseKeysListRequest) MarshalJSON

func (c CustomerPortalLicenseKeysListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalLicenseKeysListRequest) UnmarshalJSON

func (c *CustomerPortalLicenseKeysListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalLicenseKeysListResponse

type CustomerPortalLicenseKeysListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceLicenseKeyRead *components.ListResourceLicenseKeyRead

	Next func() (*CustomerPortalLicenseKeysListResponse, error)
}

func (*CustomerPortalLicenseKeysListResponse) GetHTTPMeta

func (*CustomerPortalLicenseKeysListResponse) GetListResourceLicenseKeyRead

type CustomerPortalLicenseKeysListSecurity

type CustomerPortalLicenseKeysListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalLicenseKeysListSecurity) GetCustomerSession

func (c *CustomerPortalLicenseKeysListSecurity) GetCustomerSession() *string

func (*CustomerPortalLicenseKeysListSecurity) GetMemberSession

func (c *CustomerPortalLicenseKeysListSecurity) GetMemberSession() *string

type CustomerPortalLicenseKeysValidateResponse

type CustomerPortalLicenseKeysValidateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ValidatedLicenseKey *components.ValidatedLicenseKey
}

func (*CustomerPortalLicenseKeysValidateResponse) GetHTTPMeta

func (*CustomerPortalLicenseKeysValidateResponse) GetValidatedLicenseKey

type CustomerPortalMembersAddMemberResponse

type CustomerPortalMembersAddMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Member added.
	CustomerPortalMember *components.CustomerPortalMember
}

func (*CustomerPortalMembersAddMemberResponse) GetCustomerPortalMember

func (*CustomerPortalMembersAddMemberResponse) GetHTTPMeta

type CustomerPortalMembersListMembersRequest

type CustomerPortalMembersListMembersRequest struct {
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*CustomerPortalMembersListMembersRequest) GetLimit

func (*CustomerPortalMembersListMembersRequest) GetPage

func (CustomerPortalMembersListMembersRequest) MarshalJSON

func (c CustomerPortalMembersListMembersRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalMembersListMembersRequest) UnmarshalJSON

func (c *CustomerPortalMembersListMembersRequest) UnmarshalJSON(data []byte) error

type CustomerPortalMembersListMembersResponse

type CustomerPortalMembersListMembersResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerPortalMember *components.ListResourceCustomerPortalMember

	Next func() (*CustomerPortalMembersListMembersResponse, error)
}

func (*CustomerPortalMembersListMembersResponse) GetHTTPMeta

func (*CustomerPortalMembersListMembersResponse) GetListResourceCustomerPortalMember

type CustomerPortalMembersRemoveMemberRequest

type CustomerPortalMembersRemoveMemberRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalMembersRemoveMemberRequest) GetID

type CustomerPortalMembersRemoveMemberResponse

type CustomerPortalMembersRemoveMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomerPortalMembersRemoveMemberResponse) GetHTTPMeta

type CustomerPortalMembersUpdateMemberRequest

type CustomerPortalMembersUpdateMemberRequest struct {
	ID                         string                                `pathParam:"style=simple,explode=false,name=id"`
	CustomerPortalMemberUpdate components.CustomerPortalMemberUpdate `request:"mediaType=application/json"`
}

func (*CustomerPortalMembersUpdateMemberRequest) GetCustomerPortalMemberUpdate

func (*CustomerPortalMembersUpdateMemberRequest) GetID

type CustomerPortalMembersUpdateMemberResponse

type CustomerPortalMembersUpdateMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Member updated.
	CustomerPortalMember *components.CustomerPortalMember
}

func (*CustomerPortalMembersUpdateMemberResponse) GetCustomerPortalMember

func (*CustomerPortalMembersUpdateMemberResponse) GetHTTPMeta

type CustomerPortalOrdersConfirmRetryPaymentRequest

type CustomerPortalOrdersConfirmRetryPaymentRequest struct {
	// The order ID.
	ID                          string                                 `pathParam:"style=simple,explode=false,name=id"`
	CustomerOrderConfirmPayment components.CustomerOrderConfirmPayment `request:"mediaType=application/json"`
}

func (*CustomerPortalOrdersConfirmRetryPaymentRequest) GetCustomerOrderConfirmPayment

func (*CustomerPortalOrdersConfirmRetryPaymentRequest) GetID

type CustomerPortalOrdersConfirmRetryPaymentResponse

type CustomerPortalOrdersConfirmRetryPaymentResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrderPaymentConfirmation *components.CustomerOrderPaymentConfirmation
}

func (*CustomerPortalOrdersConfirmRetryPaymentResponse) GetCustomerOrderPaymentConfirmation

func (*CustomerPortalOrdersConfirmRetryPaymentResponse) GetHTTPMeta

type CustomerPortalOrdersConfirmRetryPaymentSecurity

type CustomerPortalOrdersConfirmRetryPaymentSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersConfirmRetryPaymentSecurity) GetCustomerSession

func (*CustomerPortalOrdersConfirmRetryPaymentSecurity) GetMemberSession

type CustomerPortalOrdersGenerateInvoiceRequest

type CustomerPortalOrdersGenerateInvoiceRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalOrdersGenerateInvoiceRequest) GetID

type CustomerPortalOrdersGenerateInvoiceResponse

type CustomerPortalOrdersGenerateInvoiceResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*CustomerPortalOrdersGenerateInvoiceResponse) GetAny

func (*CustomerPortalOrdersGenerateInvoiceResponse) GetHTTPMeta

type CustomerPortalOrdersGenerateInvoiceSecurity

type CustomerPortalOrdersGenerateInvoiceSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersGenerateInvoiceSecurity) GetCustomerSession

func (c *CustomerPortalOrdersGenerateInvoiceSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersGenerateInvoiceSecurity) GetMemberSession

func (c *CustomerPortalOrdersGenerateInvoiceSecurity) GetMemberSession() *string

type CustomerPortalOrdersGetPaymentStatusRequest

type CustomerPortalOrdersGetPaymentStatusRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalOrdersGetPaymentStatusRequest) GetID

type CustomerPortalOrdersGetPaymentStatusResponse

type CustomerPortalOrdersGetPaymentStatusResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrderPaymentStatus *components.CustomerOrderPaymentStatus
}

func (*CustomerPortalOrdersGetPaymentStatusResponse) GetCustomerOrderPaymentStatus

func (*CustomerPortalOrdersGetPaymentStatusResponse) GetHTTPMeta

type CustomerPortalOrdersGetPaymentStatusSecurity

type CustomerPortalOrdersGetPaymentStatusSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersGetPaymentStatusSecurity) GetCustomerSession

func (c *CustomerPortalOrdersGetPaymentStatusSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersGetPaymentStatusSecurity) GetMemberSession

type CustomerPortalOrdersGetRequest

type CustomerPortalOrdersGetRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalOrdersGetRequest) GetID

type CustomerPortalOrdersGetResponse

type CustomerPortalOrdersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrder *components.CustomerOrder
}

func (*CustomerPortalOrdersGetResponse) GetCustomerOrder

func (*CustomerPortalOrdersGetResponse) GetHTTPMeta

type CustomerPortalOrdersGetSecurity

type CustomerPortalOrdersGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersGetSecurity) GetCustomerSession

func (c *CustomerPortalOrdersGetSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersGetSecurity) GetMemberSession

func (c *CustomerPortalOrdersGetSecurity) GetMemberSession() *string

type CustomerPortalOrdersInvoiceRequest

type CustomerPortalOrdersInvoiceRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalOrdersInvoiceRequest) GetID

type CustomerPortalOrdersInvoiceResponse

type CustomerPortalOrdersInvoiceResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrderInvoice *components.CustomerOrderInvoice
}

func (*CustomerPortalOrdersInvoiceResponse) GetCustomerOrderInvoice

func (*CustomerPortalOrdersInvoiceResponse) GetHTTPMeta

type CustomerPortalOrdersInvoiceSecurity

type CustomerPortalOrdersInvoiceSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersInvoiceSecurity) GetCustomerSession

func (c *CustomerPortalOrdersInvoiceSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersInvoiceSecurity) GetMemberSession

func (c *CustomerPortalOrdersInvoiceSecurity) GetMemberSession() *string

type CustomerPortalOrdersListQueryParamProductBillingTypeFilter

type CustomerPortalOrdersListQueryParamProductBillingTypeFilter struct {
	ProductBillingType        *components.ProductBillingType  `queryParam:"inline" union:"member"`
	ArrayOfProductBillingType []components.ProductBillingType `queryParam:"inline" union:"member"`

	Type CustomerPortalOrdersListQueryParamProductBillingTypeFilterType
}

CustomerPortalOrdersListQueryParamProductBillingTypeFilter - Filter by product billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.

func CreateCustomerPortalOrdersListQueryParamProductBillingTypeFilterArrayOfProductBillingType

func CreateCustomerPortalOrdersListQueryParamProductBillingTypeFilterArrayOfProductBillingType(arrayOfProductBillingType []components.ProductBillingType) CustomerPortalOrdersListQueryParamProductBillingTypeFilter

func CreateCustomerPortalOrdersListQueryParamProductBillingTypeFilterProductBillingType

func CreateCustomerPortalOrdersListQueryParamProductBillingTypeFilterProductBillingType(productBillingType components.ProductBillingType) CustomerPortalOrdersListQueryParamProductBillingTypeFilter

func (CustomerPortalOrdersListQueryParamProductBillingTypeFilter) MarshalJSON

func (*CustomerPortalOrdersListQueryParamProductBillingTypeFilter) UnmarshalJSON

type CustomerPortalOrdersListQueryParamProductBillingTypeFilterType

type CustomerPortalOrdersListQueryParamProductBillingTypeFilterType string
const (
	CustomerPortalOrdersListQueryParamProductBillingTypeFilterTypeProductBillingType        CustomerPortalOrdersListQueryParamProductBillingTypeFilterType = "ProductBillingType"
	CustomerPortalOrdersListQueryParamProductBillingTypeFilterTypeArrayOfProductBillingType CustomerPortalOrdersListQueryParamProductBillingTypeFilterType = "arrayOfProductBillingType"
)

type CustomerPortalOrdersListQueryParamProductIDFilter

type CustomerPortalOrdersListQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalOrdersListQueryParamProductIDFilterType
}

CustomerPortalOrdersListQueryParamProductIDFilter - Filter by product ID.

func CreateCustomerPortalOrdersListQueryParamProductIDFilterArrayOfStr

func CreateCustomerPortalOrdersListQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalOrdersListQueryParamProductIDFilter

func CreateCustomerPortalOrdersListQueryParamProductIDFilterStr

func CreateCustomerPortalOrdersListQueryParamProductIDFilterStr(str string) CustomerPortalOrdersListQueryParamProductIDFilter

func (CustomerPortalOrdersListQueryParamProductIDFilter) MarshalJSON

func (*CustomerPortalOrdersListQueryParamProductIDFilter) UnmarshalJSON

type CustomerPortalOrdersListQueryParamProductIDFilterType

type CustomerPortalOrdersListQueryParamProductIDFilterType string
const (
	CustomerPortalOrdersListQueryParamProductIDFilterTypeStr        CustomerPortalOrdersListQueryParamProductIDFilterType = "str"
	CustomerPortalOrdersListQueryParamProductIDFilterTypeArrayOfStr CustomerPortalOrdersListQueryParamProductIDFilterType = "arrayOfStr"
)

type CustomerPortalOrdersListQueryParamSubscriptionIDFilter

type CustomerPortalOrdersListQueryParamSubscriptionIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalOrdersListQueryParamSubscriptionIDFilterType
}

CustomerPortalOrdersListQueryParamSubscriptionIDFilter - Filter by subscription ID.

func CreateCustomerPortalOrdersListQueryParamSubscriptionIDFilterArrayOfStr

func CreateCustomerPortalOrdersListQueryParamSubscriptionIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalOrdersListQueryParamSubscriptionIDFilter

func CreateCustomerPortalOrdersListQueryParamSubscriptionIDFilterStr

func CreateCustomerPortalOrdersListQueryParamSubscriptionIDFilterStr(str string) CustomerPortalOrdersListQueryParamSubscriptionIDFilter

func (CustomerPortalOrdersListQueryParamSubscriptionIDFilter) MarshalJSON

func (*CustomerPortalOrdersListQueryParamSubscriptionIDFilter) UnmarshalJSON

type CustomerPortalOrdersListQueryParamSubscriptionIDFilterType

type CustomerPortalOrdersListQueryParamSubscriptionIDFilterType string
const (
	CustomerPortalOrdersListQueryParamSubscriptionIDFilterTypeStr        CustomerPortalOrdersListQueryParamSubscriptionIDFilterType = "str"
	CustomerPortalOrdersListQueryParamSubscriptionIDFilterTypeArrayOfStr CustomerPortalOrdersListQueryParamSubscriptionIDFilterType = "arrayOfStr"
)

type CustomerPortalOrdersListRequest

type CustomerPortalOrdersListRequest struct {
	// Filter by product ID.
	ProductID *CustomerPortalOrdersListQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by product billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
	ProductBillingType *CustomerPortalOrdersListQueryParamProductBillingTypeFilter `queryParam:"style=form,explode=true,name=product_billing_type"`
	// Filter by subscription ID.
	SubscriptionID *CustomerPortalOrdersListQueryParamSubscriptionIDFilter `queryParam:"style=form,explode=true,name=subscription_id"`
	// Search by product or organization name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerOrderSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerPortalOrdersListRequest) GetLimit

func (c *CustomerPortalOrdersListRequest) GetLimit() *int64

func (*CustomerPortalOrdersListRequest) GetPage

func (c *CustomerPortalOrdersListRequest) GetPage() *int64

func (*CustomerPortalOrdersListRequest) GetProductBillingType

func (*CustomerPortalOrdersListRequest) GetProductID

func (*CustomerPortalOrdersListRequest) GetQuery

func (c *CustomerPortalOrdersListRequest) GetQuery() *string

func (*CustomerPortalOrdersListRequest) GetSorting

func (*CustomerPortalOrdersListRequest) GetSubscriptionID

func (CustomerPortalOrdersListRequest) MarshalJSON

func (c CustomerPortalOrdersListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalOrdersListRequest) UnmarshalJSON

func (c *CustomerPortalOrdersListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalOrdersListResponse

type CustomerPortalOrdersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerOrder *components.ListResourceCustomerOrder

	Next func() (*CustomerPortalOrdersListResponse, error)
}

func (*CustomerPortalOrdersListResponse) GetHTTPMeta

func (*CustomerPortalOrdersListResponse) GetListResourceCustomerOrder

func (c *CustomerPortalOrdersListResponse) GetListResourceCustomerOrder() *components.ListResourceCustomerOrder

type CustomerPortalOrdersListSecurity

type CustomerPortalOrdersListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersListSecurity) GetCustomerSession

func (c *CustomerPortalOrdersListSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersListSecurity) GetMemberSession

func (c *CustomerPortalOrdersListSecurity) GetMemberSession() *string

type CustomerPortalOrdersUpdateRequest

type CustomerPortalOrdersUpdateRequest struct {
	// The order ID.
	ID                  string                         `pathParam:"style=simple,explode=false,name=id"`
	CustomerOrderUpdate components.CustomerOrderUpdate `request:"mediaType=application/json"`
}

func (*CustomerPortalOrdersUpdateRequest) GetCustomerOrderUpdate

func (*CustomerPortalOrdersUpdateRequest) GetID

type CustomerPortalOrdersUpdateResponse

type CustomerPortalOrdersUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrder *components.CustomerOrder
}

func (*CustomerPortalOrdersUpdateResponse) GetCustomerOrder

func (*CustomerPortalOrdersUpdateResponse) GetHTTPMeta

type CustomerPortalOrdersUpdateSecurity

type CustomerPortalOrdersUpdateSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalOrdersUpdateSecurity) GetCustomerSession

func (c *CustomerPortalOrdersUpdateSecurity) GetCustomerSession() *string

func (*CustomerPortalOrdersUpdateSecurity) GetMemberSession

func (c *CustomerPortalOrdersUpdateSecurity) GetMemberSession() *string

type CustomerPortalOrganizationsGetRequest

type CustomerPortalOrganizationsGetRequest struct {
	// The organization slug.
	Slug string `pathParam:"style=simple,explode=false,name=slug"`
}

func (*CustomerPortalOrganizationsGetRequest) GetSlug

type CustomerPortalOrganizationsGetResponse

type CustomerPortalOrganizationsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerOrganizationData *components.CustomerOrganizationData
}

func (*CustomerPortalOrganizationsGetResponse) GetCustomerOrganizationData

func (*CustomerPortalOrganizationsGetResponse) GetHTTPMeta

type CustomerPortalSeatsAssignSeatResponse

type CustomerPortalSeatsAssignSeatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerPortalSeatsAssignSeatResponse) GetCustomerSeat

func (*CustomerPortalSeatsAssignSeatResponse) GetHTTPMeta

type CustomerPortalSeatsAssignSeatSecurity

type CustomerPortalSeatsAssignSeatSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSeatsAssignSeatSecurity) GetCustomerSession

func (c *CustomerPortalSeatsAssignSeatSecurity) GetCustomerSession() *string

func (*CustomerPortalSeatsAssignSeatSecurity) GetMemberSession

func (c *CustomerPortalSeatsAssignSeatSecurity) GetMemberSession() *string

type CustomerPortalSeatsListClaimedSubscriptionsRequest

type CustomerPortalSeatsListClaimedSubscriptionsRequest struct {
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*CustomerPortalSeatsListClaimedSubscriptionsRequest) GetLimit

func (*CustomerPortalSeatsListClaimedSubscriptionsRequest) GetPage

func (CustomerPortalSeatsListClaimedSubscriptionsRequest) MarshalJSON

func (*CustomerPortalSeatsListClaimedSubscriptionsRequest) UnmarshalJSON

type CustomerPortalSeatsListClaimedSubscriptionsResponse

type CustomerPortalSeatsListClaimedSubscriptionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerSubscription *components.ListResourceCustomerSubscription

	Next func() (*CustomerPortalSeatsListClaimedSubscriptionsResponse, error)
}

func (*CustomerPortalSeatsListClaimedSubscriptionsResponse) GetHTTPMeta

func (*CustomerPortalSeatsListClaimedSubscriptionsResponse) GetListResourceCustomerSubscription

type CustomerPortalSeatsListClaimedSubscriptionsSecurity

type CustomerPortalSeatsListClaimedSubscriptionsSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSeatsListClaimedSubscriptionsSecurity) GetCustomerSession

func (*CustomerPortalSeatsListClaimedSubscriptionsSecurity) GetMemberSession

type CustomerPortalSeatsListSeatsRequest

type CustomerPortalSeatsListSeatsRequest struct {
	// Subscription ID
	SubscriptionID *string `queryParam:"style=form,explode=true,name=subscription_id"`
	// Order ID
	OrderID *string `queryParam:"style=form,explode=true,name=order_id"`
}

func (*CustomerPortalSeatsListSeatsRequest) GetOrderID

func (*CustomerPortalSeatsListSeatsRequest) GetSubscriptionID

func (c *CustomerPortalSeatsListSeatsRequest) GetSubscriptionID() *string

type CustomerPortalSeatsListSeatsResponse

type CustomerPortalSeatsListSeatsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	SeatsList *components.SeatsList
}

func (*CustomerPortalSeatsListSeatsResponse) GetHTTPMeta

func (*CustomerPortalSeatsListSeatsResponse) GetSeatsList

type CustomerPortalSeatsListSeatsSecurity

type CustomerPortalSeatsListSeatsSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSeatsListSeatsSecurity) GetCustomerSession

func (c *CustomerPortalSeatsListSeatsSecurity) GetCustomerSession() *string

func (*CustomerPortalSeatsListSeatsSecurity) GetMemberSession

func (c *CustomerPortalSeatsListSeatsSecurity) GetMemberSession() *string

type CustomerPortalSeatsResendInvitationRequest

type CustomerPortalSeatsResendInvitationRequest struct {
	SeatID string `pathParam:"style=simple,explode=false,name=seat_id"`
}

func (*CustomerPortalSeatsResendInvitationRequest) GetSeatID

type CustomerPortalSeatsResendInvitationResponse

type CustomerPortalSeatsResendInvitationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerPortalSeatsResendInvitationResponse) GetCustomerSeat

func (*CustomerPortalSeatsResendInvitationResponse) GetHTTPMeta

type CustomerPortalSeatsResendInvitationSecurity

type CustomerPortalSeatsResendInvitationSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSeatsResendInvitationSecurity) GetCustomerSession

func (c *CustomerPortalSeatsResendInvitationSecurity) GetCustomerSession() *string

func (*CustomerPortalSeatsResendInvitationSecurity) GetMemberSession

func (c *CustomerPortalSeatsResendInvitationSecurity) GetMemberSession() *string

type CustomerPortalSeatsRevokeSeatRequest

type CustomerPortalSeatsRevokeSeatRequest struct {
	SeatID string `pathParam:"style=simple,explode=false,name=seat_id"`
}

func (*CustomerPortalSeatsRevokeSeatRequest) GetSeatID

type CustomerPortalSeatsRevokeSeatResponse

type CustomerPortalSeatsRevokeSeatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerPortalSeatsRevokeSeatResponse) GetCustomerSeat

func (*CustomerPortalSeatsRevokeSeatResponse) GetHTTPMeta

type CustomerPortalSeatsRevokeSeatSecurity

type CustomerPortalSeatsRevokeSeatSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSeatsRevokeSeatSecurity) GetCustomerSession

func (c *CustomerPortalSeatsRevokeSeatSecurity) GetCustomerSession() *string

func (*CustomerPortalSeatsRevokeSeatSecurity) GetMemberSession

func (c *CustomerPortalSeatsRevokeSeatSecurity) GetMemberSession() *string

type CustomerPortalSubscriptionsCancelRequest

type CustomerPortalSubscriptionsCancelRequest struct {
	// The subscription ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalSubscriptionsCancelRequest) GetID

type CustomerPortalSubscriptionsCancelResponse

type CustomerPortalSubscriptionsCancelResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer subscription is canceled.
	CustomerSubscription *components.CustomerSubscription
}

func (*CustomerPortalSubscriptionsCancelResponse) GetCustomerSubscription

func (*CustomerPortalSubscriptionsCancelResponse) GetHTTPMeta

type CustomerPortalSubscriptionsCancelSecurity

type CustomerPortalSubscriptionsCancelSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSubscriptionsCancelSecurity) GetCustomerSession

func (c *CustomerPortalSubscriptionsCancelSecurity) GetCustomerSession() *string

func (*CustomerPortalSubscriptionsCancelSecurity) GetMemberSession

func (c *CustomerPortalSubscriptionsCancelSecurity) GetMemberSession() *string

type CustomerPortalSubscriptionsGetRequest

type CustomerPortalSubscriptionsGetRequest struct {
	// The subscription ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalSubscriptionsGetRequest) GetID

type CustomerPortalSubscriptionsGetResponse

type CustomerPortalSubscriptionsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSubscription *components.CustomerSubscription
}

func (*CustomerPortalSubscriptionsGetResponse) GetCustomerSubscription

func (*CustomerPortalSubscriptionsGetResponse) GetHTTPMeta

type CustomerPortalSubscriptionsGetSecurity

type CustomerPortalSubscriptionsGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSubscriptionsGetSecurity) GetCustomerSession

func (c *CustomerPortalSubscriptionsGetSecurity) GetCustomerSession() *string

func (*CustomerPortalSubscriptionsGetSecurity) GetMemberSession

func (c *CustomerPortalSubscriptionsGetSecurity) GetMemberSession() *string

type CustomerPortalSubscriptionsListQueryParamProductIDFilter

type CustomerPortalSubscriptionsListQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomerPortalSubscriptionsListQueryParamProductIDFilterType
}

CustomerPortalSubscriptionsListQueryParamProductIDFilter - Filter by product ID.

func CreateCustomerPortalSubscriptionsListQueryParamProductIDFilterArrayOfStr

func CreateCustomerPortalSubscriptionsListQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) CustomerPortalSubscriptionsListQueryParamProductIDFilter

func CreateCustomerPortalSubscriptionsListQueryParamProductIDFilterStr

func CreateCustomerPortalSubscriptionsListQueryParamProductIDFilterStr(str string) CustomerPortalSubscriptionsListQueryParamProductIDFilter

func (CustomerPortalSubscriptionsListQueryParamProductIDFilter) MarshalJSON

func (*CustomerPortalSubscriptionsListQueryParamProductIDFilter) UnmarshalJSON

type CustomerPortalSubscriptionsListQueryParamProductIDFilterType

type CustomerPortalSubscriptionsListQueryParamProductIDFilterType string
const (
	CustomerPortalSubscriptionsListQueryParamProductIDFilterTypeStr        CustomerPortalSubscriptionsListQueryParamProductIDFilterType = "str"
	CustomerPortalSubscriptionsListQueryParamProductIDFilterTypeArrayOfStr CustomerPortalSubscriptionsListQueryParamProductIDFilterType = "arrayOfStr"
)

type CustomerPortalSubscriptionsListRequest

type CustomerPortalSubscriptionsListRequest struct {
	// Filter by product ID.
	ProductID *CustomerPortalSubscriptionsListQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by active or cancelled subscription.
	Active *bool `queryParam:"style=form,explode=true,name=active"`
	// Search by product or organization name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerSubscriptionSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerPortalSubscriptionsListRequest) GetActive

func (*CustomerPortalSubscriptionsListRequest) GetLimit

func (*CustomerPortalSubscriptionsListRequest) GetPage

func (*CustomerPortalSubscriptionsListRequest) GetProductID

func (*CustomerPortalSubscriptionsListRequest) GetQuery

func (*CustomerPortalSubscriptionsListRequest) GetSorting

func (CustomerPortalSubscriptionsListRequest) MarshalJSON

func (c CustomerPortalSubscriptionsListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalSubscriptionsListRequest) UnmarshalJSON

func (c *CustomerPortalSubscriptionsListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalSubscriptionsListResponse

type CustomerPortalSubscriptionsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerSubscription *components.ListResourceCustomerSubscription

	Next func() (*CustomerPortalSubscriptionsListResponse, error)
}

func (*CustomerPortalSubscriptionsListResponse) GetHTTPMeta

func (*CustomerPortalSubscriptionsListResponse) GetListResourceCustomerSubscription

type CustomerPortalSubscriptionsListSecurity

type CustomerPortalSubscriptionsListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSubscriptionsListSecurity) GetCustomerSession

func (c *CustomerPortalSubscriptionsListSecurity) GetCustomerSession() *string

func (*CustomerPortalSubscriptionsListSecurity) GetMemberSession

func (c *CustomerPortalSubscriptionsListSecurity) GetMemberSession() *string

type CustomerPortalSubscriptionsUpdateRequest

type CustomerPortalSubscriptionsUpdateRequest struct {
	// The subscription ID.
	ID                         string                                `pathParam:"style=simple,explode=false,name=id"`
	CustomerSubscriptionUpdate components.CustomerSubscriptionUpdate `request:"mediaType=application/json"`
}

func (*CustomerPortalSubscriptionsUpdateRequest) GetCustomerSubscriptionUpdate

func (*CustomerPortalSubscriptionsUpdateRequest) GetID

type CustomerPortalSubscriptionsUpdateResponse

type CustomerPortalSubscriptionsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer subscription updated.
	CustomerSubscription *components.CustomerSubscription
}

func (*CustomerPortalSubscriptionsUpdateResponse) GetCustomerSubscription

func (*CustomerPortalSubscriptionsUpdateResponse) GetHTTPMeta

type CustomerPortalSubscriptionsUpdateSecurity

type CustomerPortalSubscriptionsUpdateSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalSubscriptionsUpdateSecurity) GetCustomerSession

func (c *CustomerPortalSubscriptionsUpdateSecurity) GetCustomerSession() *string

func (*CustomerPortalSubscriptionsUpdateSecurity) GetMemberSession

func (c *CustomerPortalSubscriptionsUpdateSecurity) GetMemberSession() *string

type CustomerPortalWalletsGetRequest

type CustomerPortalWalletsGetRequest struct {
	// The wallet ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomerPortalWalletsGetRequest) GetID

type CustomerPortalWalletsGetResponse

type CustomerPortalWalletsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerWallet *components.CustomerWallet
}

func (*CustomerPortalWalletsGetResponse) GetCustomerWallet

func (*CustomerPortalWalletsGetResponse) GetHTTPMeta

type CustomerPortalWalletsGetSecurity

type CustomerPortalWalletsGetSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalWalletsGetSecurity) GetCustomerSession

func (c *CustomerPortalWalletsGetSecurity) GetCustomerSession() *string

func (*CustomerPortalWalletsGetSecurity) GetMemberSession

func (c *CustomerPortalWalletsGetSecurity) GetMemberSession() *string

type CustomerPortalWalletsListRequest

type CustomerPortalWalletsListRequest struct {
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerWalletSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*CustomerPortalWalletsListRequest) GetLimit

func (c *CustomerPortalWalletsListRequest) GetLimit() *int64

func (*CustomerPortalWalletsListRequest) GetPage

func (*CustomerPortalWalletsListRequest) GetSorting

func (CustomerPortalWalletsListRequest) MarshalJSON

func (c CustomerPortalWalletsListRequest) MarshalJSON() ([]byte, error)

func (*CustomerPortalWalletsListRequest) UnmarshalJSON

func (c *CustomerPortalWalletsListRequest) UnmarshalJSON(data []byte) error

type CustomerPortalWalletsListResponse

type CustomerPortalWalletsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomerWallet *components.ListResourceCustomerWallet

	Next func() (*CustomerPortalWalletsListResponse, error)
}

func (*CustomerPortalWalletsListResponse) GetHTTPMeta

func (*CustomerPortalWalletsListResponse) GetListResourceCustomerWallet

func (c *CustomerPortalWalletsListResponse) GetListResourceCustomerWallet() *components.ListResourceCustomerWallet

type CustomerPortalWalletsListSecurity

type CustomerPortalWalletsListSecurity struct {
	CustomerSession *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_customer_session"`
	MemberSession   *string `security:"scheme,type=http,subtype=bearer,name=Authorization,env=ruba_member_session"`
}

func (*CustomerPortalWalletsListSecurity) GetCustomerSession

func (c *CustomerPortalWalletsListSecurity) GetCustomerSession() *string

func (*CustomerPortalWalletsListSecurity) GetMemberSession

func (c *CustomerPortalWalletsListSecurity) GetMemberSession() *string

type CustomerSeatsAssignSeatResponse

type CustomerSeatsAssignSeatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerSeatsAssignSeatResponse) GetCustomerSeat

func (*CustomerSeatsAssignSeatResponse) GetHTTPMeta

type CustomerSeatsClaimSeatResponse

type CustomerSeatsClaimSeatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeatClaimResponse *components.CustomerSeatClaimResponse
}

func (*CustomerSeatsClaimSeatResponse) GetCustomerSeatClaimResponse

func (c *CustomerSeatsClaimSeatResponse) GetCustomerSeatClaimResponse() *components.CustomerSeatClaimResponse

func (*CustomerSeatsClaimSeatResponse) GetHTTPMeta

type CustomerSeatsGetClaimInfoRequest

type CustomerSeatsGetClaimInfoRequest struct {
	InvitationToken string `pathParam:"style=simple,explode=false,name=invitation_token"`
}

func (*CustomerSeatsGetClaimInfoRequest) GetInvitationToken

func (c *CustomerSeatsGetClaimInfoRequest) GetInvitationToken() string

type CustomerSeatsGetClaimInfoResponse

type CustomerSeatsGetClaimInfoResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	SeatClaimInfo *components.SeatClaimInfo
}

func (*CustomerSeatsGetClaimInfoResponse) GetHTTPMeta

func (*CustomerSeatsGetClaimInfoResponse) GetSeatClaimInfo

type CustomerSeatsListSeatsRequest

type CustomerSeatsListSeatsRequest struct {
	SubscriptionID *string `queryParam:"style=form,explode=true,name=subscription_id"`
	OrderID        *string `queryParam:"style=form,explode=true,name=order_id"`
}

func (*CustomerSeatsListSeatsRequest) GetOrderID

func (c *CustomerSeatsListSeatsRequest) GetOrderID() *string

func (*CustomerSeatsListSeatsRequest) GetSubscriptionID

func (c *CustomerSeatsListSeatsRequest) GetSubscriptionID() *string

type CustomerSeatsListSeatsResponse

type CustomerSeatsListSeatsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	SeatsList *components.SeatsList
}

func (*CustomerSeatsListSeatsResponse) GetHTTPMeta

func (*CustomerSeatsListSeatsResponse) GetSeatsList

type CustomerSeatsResendInvitationRequest

type CustomerSeatsResendInvitationRequest struct {
	SeatID string `pathParam:"style=simple,explode=false,name=seat_id"`
}

func (*CustomerSeatsResendInvitationRequest) GetSeatID

type CustomerSeatsResendInvitationResponse

type CustomerSeatsResendInvitationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerSeatsResendInvitationResponse) GetCustomerSeat

func (*CustomerSeatsResendInvitationResponse) GetHTTPMeta

type CustomerSeatsRevokeSeatRequest

type CustomerSeatsRevokeSeatRequest struct {
	SeatID string `pathParam:"style=simple,explode=false,name=seat_id"`
}

func (*CustomerSeatsRevokeSeatRequest) GetSeatID

func (c *CustomerSeatsRevokeSeatRequest) GetSeatID() string

type CustomerSeatsRevokeSeatResponse

type CustomerSeatsRevokeSeatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerSeat *components.CustomerSeat
}

func (*CustomerSeatsRevokeSeatResponse) GetCustomerSeat

func (*CustomerSeatsRevokeSeatResponse) GetHTTPMeta

type CustomerSessionsCreateCustomerSessionCreate

type CustomerSessionsCreateCustomerSessionCreate struct {
	CustomerSessionCustomerIDCreate         *components.CustomerSessionCustomerIDCreate         `queryParam:"inline" union:"member"`
	CustomerSessionCustomerExternalIDCreate *components.CustomerSessionCustomerExternalIDCreate `queryParam:"inline" union:"member"`

	Type CustomerSessionsCreateCustomerSessionCreateType
}

func CreateCustomerSessionsCreateCustomerSessionCreateCustomerSessionCustomerExternalIDCreate

func CreateCustomerSessionsCreateCustomerSessionCreateCustomerSessionCustomerExternalIDCreate(customerSessionCustomerExternalIDCreate components.CustomerSessionCustomerExternalIDCreate) CustomerSessionsCreateCustomerSessionCreate

func CreateCustomerSessionsCreateCustomerSessionCreateCustomerSessionCustomerIDCreate

func CreateCustomerSessionsCreateCustomerSessionCreateCustomerSessionCustomerIDCreate(customerSessionCustomerIDCreate components.CustomerSessionCustomerIDCreate) CustomerSessionsCreateCustomerSessionCreate

func (CustomerSessionsCreateCustomerSessionCreate) MarshalJSON

func (*CustomerSessionsCreateCustomerSessionCreate) UnmarshalJSON

func (u *CustomerSessionsCreateCustomerSessionCreate) UnmarshalJSON(data []byte) error

type CustomerSessionsCreateCustomerSessionCreateType

type CustomerSessionsCreateCustomerSessionCreateType string
const (
	CustomerSessionsCreateCustomerSessionCreateTypeCustomerSessionCustomerIDCreate         CustomerSessionsCreateCustomerSessionCreateType = "CustomerSessionCustomerIDCreate"
	CustomerSessionsCreateCustomerSessionCreateTypeCustomerSessionCustomerExternalIDCreate CustomerSessionsCreateCustomerSessionCreateType = "CustomerSessionCustomerExternalIDCreate"
)

type CustomerSessionsCreateResponse

type CustomerSessionsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer session created.
	CustomerSession *components.CustomerSession
}

func (*CustomerSessionsCreateResponse) GetCustomerSession

func (*CustomerSessionsCreateResponse) GetHTTPMeta

type CustomersCreateResponse

type CustomersCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer created.
	Customer *components.Customer
}

func (*CustomersCreateResponse) GetCustomer

func (c *CustomersCreateResponse) GetCustomer() *components.Customer

func (*CustomersCreateResponse) GetCustomerIndividual

func (c *CustomersCreateResponse) GetCustomerIndividual() *components.CustomerIndividual

func (*CustomersCreateResponse) GetCustomerTeam

func (c *CustomersCreateResponse) GetCustomerTeam() *components.CustomerTeam

func (*CustomersCreateResponse) GetHTTPMeta

type CustomersDeleteExternalRequest

type CustomersDeleteExternalRequest struct {
	// The customer external ID.
	ExternalID string `pathParam:"style=simple,explode=false,name=external_id"`
	// If true, also anonymize the customer's personal data for GDPR compliance.
	Anonymize *bool `default:"false" queryParam:"style=form,explode=true,name=anonymize"`
}

func (*CustomersDeleteExternalRequest) GetAnonymize

func (c *CustomersDeleteExternalRequest) GetAnonymize() *bool

func (*CustomersDeleteExternalRequest) GetExternalID

func (c *CustomersDeleteExternalRequest) GetExternalID() string

func (CustomersDeleteExternalRequest) MarshalJSON

func (c CustomersDeleteExternalRequest) MarshalJSON() ([]byte, error)

func (*CustomersDeleteExternalRequest) UnmarshalJSON

func (c *CustomersDeleteExternalRequest) UnmarshalJSON(data []byte) error

type CustomersDeleteExternalResponse

type CustomersDeleteExternalResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomersDeleteExternalResponse) GetHTTPMeta

type CustomersDeleteRequest

type CustomersDeleteRequest struct {
	// The customer ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// If true, also anonymize the customer's personal data for GDPR compliance. This replaces email with a hashed version, hashes name and billing name (name preserved for businesses with tax_id), clears billing address, and removes OAuth account data.
	Anonymize *bool `default:"false" queryParam:"style=form,explode=true,name=anonymize"`
}

func (*CustomersDeleteRequest) GetAnonymize

func (c *CustomersDeleteRequest) GetAnonymize() *bool

func (*CustomersDeleteRequest) GetID

func (c *CustomersDeleteRequest) GetID() string

func (CustomersDeleteRequest) MarshalJSON

func (c CustomersDeleteRequest) MarshalJSON() ([]byte, error)

func (*CustomersDeleteRequest) UnmarshalJSON

func (c *CustomersDeleteRequest) UnmarshalJSON(data []byte) error

type CustomersDeleteResponse

type CustomersDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*CustomersDeleteResponse) GetHTTPMeta

type CustomersExportQueryParamOrganizationID

type CustomersExportQueryParamOrganizationID struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomersExportQueryParamOrganizationIDType
}

CustomersExportQueryParamOrganizationID - Filter by organization ID.

func CreateCustomersExportQueryParamOrganizationIDArrayOfStr

func CreateCustomersExportQueryParamOrganizationIDArrayOfStr(arrayOfStr []string) CustomersExportQueryParamOrganizationID

func CreateCustomersExportQueryParamOrganizationIDStr

func CreateCustomersExportQueryParamOrganizationIDStr(str string) CustomersExportQueryParamOrganizationID

func (CustomersExportQueryParamOrganizationID) MarshalJSON

func (u CustomersExportQueryParamOrganizationID) MarshalJSON() ([]byte, error)

func (*CustomersExportQueryParamOrganizationID) UnmarshalJSON

func (u *CustomersExportQueryParamOrganizationID) UnmarshalJSON(data []byte) error

type CustomersExportQueryParamOrganizationIDType

type CustomersExportQueryParamOrganizationIDType string
const (
	CustomersExportQueryParamOrganizationIDTypeStr        CustomersExportQueryParamOrganizationIDType = "str"
	CustomersExportQueryParamOrganizationIDTypeArrayOfStr CustomersExportQueryParamOrganizationIDType = "arrayOfStr"
)

type CustomersExportRequest

type CustomersExportRequest struct {
	// Filter by organization ID.
	OrganizationID *CustomersExportQueryParamOrganizationID `queryParam:"style=form,explode=true,name=organization_id"`
}

func (*CustomersExportRequest) GetOrganizationID

type CustomersExportResponse

type CustomersExportResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
	// Successful Response
	Res *string
}

func (*CustomersExportResponse) GetAny

func (c *CustomersExportResponse) GetAny() any

func (*CustomersExportResponse) GetHTTPMeta

func (*CustomersExportResponse) GetRes

func (c *CustomersExportResponse) GetRes() *string

type CustomersGetExternalRequest

type CustomersGetExternalRequest struct {
	// The customer external ID.
	ExternalID string `pathParam:"style=simple,explode=false,name=external_id"`
}

func (*CustomersGetExternalRequest) GetExternalID

func (c *CustomersGetExternalRequest) GetExternalID() string

type CustomersGetExternalResponse

type CustomersGetExternalResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Customer *components.Customer
}

func (*CustomersGetExternalResponse) GetCustomer

func (*CustomersGetExternalResponse) GetCustomerIndividual

func (c *CustomersGetExternalResponse) GetCustomerIndividual() *components.CustomerIndividual

func (*CustomersGetExternalResponse) GetCustomerTeam

func (*CustomersGetExternalResponse) GetHTTPMeta

type CustomersGetRequest

type CustomersGetRequest struct {
	// The customer ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomersGetRequest) GetID

func (c *CustomersGetRequest) GetID() string

type CustomersGetResponse

type CustomersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Customer *components.Customer
}

func (*CustomersGetResponse) GetCustomer

func (c *CustomersGetResponse) GetCustomer() *components.Customer

func (*CustomersGetResponse) GetCustomerIndividual

func (c *CustomersGetResponse) GetCustomerIndividual() *components.CustomerIndividual

func (*CustomersGetResponse) GetCustomerTeam

func (c *CustomersGetResponse) GetCustomerTeam() *components.CustomerTeam

func (*CustomersGetResponse) GetHTTPMeta

func (c *CustomersGetResponse) GetHTTPMeta() components.HTTPMetadata

type CustomersGetStateExternalRequest

type CustomersGetStateExternalRequest struct {
	// The customer external ID.
	ExternalID string `pathParam:"style=simple,explode=false,name=external_id"`
}

func (*CustomersGetStateExternalRequest) GetExternalID

func (c *CustomersGetStateExternalRequest) GetExternalID() string

type CustomersGetStateExternalResponse

type CustomersGetStateExternalResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerState *components.CustomerState
}

func (*CustomersGetStateExternalResponse) GetCustomerState

func (*CustomersGetStateExternalResponse) GetCustomerStateIndividual

func (c *CustomersGetStateExternalResponse) GetCustomerStateIndividual() *components.CustomerStateIndividual

func (*CustomersGetStateExternalResponse) GetCustomerStateTeam

func (*CustomersGetStateExternalResponse) GetHTTPMeta

type CustomersGetStateRequest

type CustomersGetStateRequest struct {
	// The customer ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*CustomersGetStateRequest) GetID

func (c *CustomersGetStateRequest) GetID() string

type CustomersGetStateResponse

type CustomersGetStateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CustomerState *components.CustomerState
}

func (*CustomersGetStateResponse) GetCustomerState

func (c *CustomersGetStateResponse) GetCustomerState() *components.CustomerState

func (*CustomersGetStateResponse) GetCustomerStateIndividual

func (c *CustomersGetStateResponse) GetCustomerStateIndividual() *components.CustomerStateIndividual

func (*CustomersGetStateResponse) GetCustomerStateTeam

func (c *CustomersGetStateResponse) GetCustomerStateTeam() *components.CustomerStateTeam

func (*CustomersGetStateResponse) GetHTTPMeta

type CustomersListQueryParamOrganizationIDFilter

type CustomersListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type CustomersListQueryParamOrganizationIDFilterType
}

CustomersListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateCustomersListQueryParamOrganizationIDFilterArrayOfStr

func CreateCustomersListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) CustomersListQueryParamOrganizationIDFilter

func CreateCustomersListQueryParamOrganizationIDFilterStr

func CreateCustomersListQueryParamOrganizationIDFilterStr(str string) CustomersListQueryParamOrganizationIDFilter

func (CustomersListQueryParamOrganizationIDFilter) MarshalJSON

func (*CustomersListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *CustomersListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type CustomersListQueryParamOrganizationIDFilterType

type CustomersListQueryParamOrganizationIDFilterType string
const (
	CustomersListQueryParamOrganizationIDFilterTypeStr        CustomersListQueryParamOrganizationIDFilterType = "str"
	CustomersListQueryParamOrganizationIDFilterTypeArrayOfStr CustomersListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type CustomersListRequest

type CustomersListRequest struct {
	// Filter by organization ID.
	OrganizationID *CustomersListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by exact email.
	Email *string `queryParam:"style=form,explode=true,name=email"`
	// Filter by name, email, or external ID.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.CustomerSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*CustomersListRequest) GetEmail

func (c *CustomersListRequest) GetEmail() *string

func (*CustomersListRequest) GetLimit

func (c *CustomersListRequest) GetLimit() *int64

func (*CustomersListRequest) GetMetadata

func (c *CustomersListRequest) GetMetadata() map[string]components.MetadataQuery

func (*CustomersListRequest) GetOrganizationID

func (*CustomersListRequest) GetPage

func (c *CustomersListRequest) GetPage() *int64

func (*CustomersListRequest) GetQuery

func (c *CustomersListRequest) GetQuery() *string

func (*CustomersListRequest) GetSorting

func (CustomersListRequest) MarshalJSON

func (c CustomersListRequest) MarshalJSON() ([]byte, error)

func (*CustomersListRequest) UnmarshalJSON

func (c *CustomersListRequest) UnmarshalJSON(data []byte) error

type CustomersListResponse

type CustomersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceCustomer *components.ListResourceCustomer

	Next func() (*CustomersListResponse, error)
}

func (*CustomersListResponse) GetHTTPMeta

func (*CustomersListResponse) GetListResourceCustomer

func (c *CustomersListResponse) GetListResourceCustomer() *components.ListResourceCustomer

type CustomersUpdateExternalRequest

type CustomersUpdateExternalRequest struct {
	// The customer external ID.
	ExternalID               string                              `pathParam:"style=simple,explode=false,name=external_id"`
	CustomerUpdateExternalID components.CustomerUpdateExternalID `request:"mediaType=application/json"`
}

func (*CustomersUpdateExternalRequest) GetCustomerUpdateExternalID

func (c *CustomersUpdateExternalRequest) GetCustomerUpdateExternalID() components.CustomerUpdateExternalID

func (*CustomersUpdateExternalRequest) GetExternalID

func (c *CustomersUpdateExternalRequest) GetExternalID() string

type CustomersUpdateExternalResponse

type CustomersUpdateExternalResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer updated.
	Customer *components.Customer
}

func (*CustomersUpdateExternalResponse) GetCustomer

func (*CustomersUpdateExternalResponse) GetCustomerIndividual

func (*CustomersUpdateExternalResponse) GetCustomerTeam

func (*CustomersUpdateExternalResponse) GetHTTPMeta

type CustomersUpdateRequest

type CustomersUpdateRequest struct {
	// The customer ID.
	ID             string                    `pathParam:"style=simple,explode=false,name=id"`
	CustomerUpdate components.CustomerUpdate `request:"mediaType=application/json"`
}

func (*CustomersUpdateRequest) GetCustomerUpdate

func (c *CustomersUpdateRequest) GetCustomerUpdate() components.CustomerUpdate

func (*CustomersUpdateRequest) GetID

func (c *CustomersUpdateRequest) GetID() string

type CustomersUpdateResponse

type CustomersUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Customer updated.
	Customer *components.Customer
}

func (*CustomersUpdateResponse) GetCustomer

func (c *CustomersUpdateResponse) GetCustomer() *components.Customer

func (*CustomersUpdateResponse) GetCustomerIndividual

func (c *CustomersUpdateResponse) GetCustomerIndividual() *components.CustomerIndividual

func (*CustomersUpdateResponse) GetCustomerTeam

func (c *CustomersUpdateResponse) GetCustomerTeam() *components.CustomerTeam

func (*CustomersUpdateResponse) GetHTTPMeta

type DiscountIDFilter

type DiscountIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type DiscountIDFilterType
}

DiscountIDFilter - Filter by discount ID.

func CreateDiscountIDFilterArrayOfStr

func CreateDiscountIDFilterArrayOfStr(arrayOfStr []string) DiscountIDFilter

func CreateDiscountIDFilterStr

func CreateDiscountIDFilterStr(str string) DiscountIDFilter

func (DiscountIDFilter) MarshalJSON

func (u DiscountIDFilter) MarshalJSON() ([]byte, error)

func (*DiscountIDFilter) UnmarshalJSON

func (u *DiscountIDFilter) UnmarshalJSON(data []byte) error

type DiscountIDFilterType

type DiscountIDFilterType string
const (
	DiscountIDFilterTypeStr        DiscountIDFilterType = "str"
	DiscountIDFilterTypeArrayOfStr DiscountIDFilterType = "arrayOfStr"
)

type DiscountsCreateResponse

type DiscountsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Discount created.
	Discount *components.Discount
}

func (*DiscountsCreateResponse) GetDiscount

func (d *DiscountsCreateResponse) GetDiscount() *components.Discount

func (*DiscountsCreateResponse) GetHTTPMeta

type DiscountsDeleteRequest

type DiscountsDeleteRequest struct {
	// The discount ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DiscountsDeleteRequest) GetID

func (d *DiscountsDeleteRequest) GetID() string

type DiscountsDeleteResponse

type DiscountsDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DiscountsDeleteResponse) GetHTTPMeta

type DiscountsGetRequest

type DiscountsGetRequest struct {
	// The discount ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DiscountsGetRequest) GetID

func (d *DiscountsGetRequest) GetID() string

type DiscountsGetResponse

type DiscountsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Discount *components.Discount
}

func (*DiscountsGetResponse) GetDiscount

func (d *DiscountsGetResponse) GetDiscount() *components.Discount

func (*DiscountsGetResponse) GetHTTPMeta

func (d *DiscountsGetResponse) GetHTTPMeta() components.HTTPMetadata

type DiscountsListQueryParamOrganizationIDFilter

type DiscountsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type DiscountsListQueryParamOrganizationIDFilterType
}

DiscountsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateDiscountsListQueryParamOrganizationIDFilterArrayOfStr

func CreateDiscountsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) DiscountsListQueryParamOrganizationIDFilter

func CreateDiscountsListQueryParamOrganizationIDFilterStr

func CreateDiscountsListQueryParamOrganizationIDFilterStr(str string) DiscountsListQueryParamOrganizationIDFilter

func (DiscountsListQueryParamOrganizationIDFilter) MarshalJSON

func (*DiscountsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *DiscountsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type DiscountsListQueryParamOrganizationIDFilterType

type DiscountsListQueryParamOrganizationIDFilterType string
const (
	DiscountsListQueryParamOrganizationIDFilterTypeStr        DiscountsListQueryParamOrganizationIDFilterType = "str"
	DiscountsListQueryParamOrganizationIDFilterTypeArrayOfStr DiscountsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type DiscountsListRequest

type DiscountsListRequest struct {
	// Filter by organization ID.
	OrganizationID *DiscountsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.DiscountSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*DiscountsListRequest) GetLimit

func (d *DiscountsListRequest) GetLimit() *int64

func (*DiscountsListRequest) GetOrganizationID

func (*DiscountsListRequest) GetPage

func (d *DiscountsListRequest) GetPage() *int64

func (*DiscountsListRequest) GetQuery

func (d *DiscountsListRequest) GetQuery() *string

func (*DiscountsListRequest) GetSorting

func (DiscountsListRequest) MarshalJSON

func (d DiscountsListRequest) MarshalJSON() ([]byte, error)

func (*DiscountsListRequest) UnmarshalJSON

func (d *DiscountsListRequest) UnmarshalJSON(data []byte) error

type DiscountsListResponse

type DiscountsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceDiscount *components.ListResourceDiscount

	Next func() (*DiscountsListResponse, error)
}

func (*DiscountsListResponse) GetHTTPMeta

func (*DiscountsListResponse) GetListResourceDiscount

func (d *DiscountsListResponse) GetListResourceDiscount() *components.ListResourceDiscount

type DiscountsUpdateRequest

type DiscountsUpdateRequest struct {
	// The discount ID.
	ID             string                    `pathParam:"style=simple,explode=false,name=id"`
	DiscountUpdate components.DiscountUpdate `request:"mediaType=application/json"`
}

func (*DiscountsUpdateRequest) GetDiscountUpdate

func (d *DiscountsUpdateRequest) GetDiscountUpdate() components.DiscountUpdate

func (*DiscountsUpdateRequest) GetID

func (d *DiscountsUpdateRequest) GetID() string

type DiscountsUpdateResponse

type DiscountsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Discount updated.
	Discount *components.Discount
}

func (*DiscountsUpdateResponse) GetDiscount

func (d *DiscountsUpdateResponse) GetDiscount() *components.Discount

func (*DiscountsUpdateResponse) GetHTTPMeta

type DisputesGetRequest

type DisputesGetRequest struct {
	// The dispute ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DisputesGetRequest) GetID

func (d *DisputesGetRequest) GetID() string

type DisputesGetResponse

type DisputesGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Dispute *components.Dispute
}

func (*DisputesGetResponse) GetDispute

func (d *DisputesGetResponse) GetDispute() *components.Dispute

func (*DisputesGetResponse) GetHTTPMeta

func (d *DisputesGetResponse) GetHTTPMeta() components.HTTPMetadata

type DisputesListQueryParamOrganizationIDFilter

type DisputesListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type DisputesListQueryParamOrganizationIDFilterType
}

DisputesListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateDisputesListQueryParamOrganizationIDFilterArrayOfStr

func CreateDisputesListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) DisputesListQueryParamOrganizationIDFilter

func CreateDisputesListQueryParamOrganizationIDFilterStr

func CreateDisputesListQueryParamOrganizationIDFilterStr(str string) DisputesListQueryParamOrganizationIDFilter

func (DisputesListQueryParamOrganizationIDFilter) MarshalJSON

func (*DisputesListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *DisputesListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type DisputesListQueryParamOrganizationIDFilterType

type DisputesListQueryParamOrganizationIDFilterType string
const (
	DisputesListQueryParamOrganizationIDFilterTypeStr        DisputesListQueryParamOrganizationIDFilterType = "str"
	DisputesListQueryParamOrganizationIDFilterTypeArrayOfStr DisputesListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type DisputesListRequest

type DisputesListRequest struct {
	// Filter by organization ID.
	OrganizationID *DisputesListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by order ID.
	OrderID *QueryParamOrderIDFilter `queryParam:"style=form,explode=true,name=order_id"`
	// Filter by dispute status.
	Status *StatusFilter `queryParam:"style=form,explode=true,name=status"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.DisputeSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*DisputesListRequest) GetLimit

func (d *DisputesListRequest) GetLimit() *int64

func (*DisputesListRequest) GetOrderID

func (*DisputesListRequest) GetOrganizationID

func (*DisputesListRequest) GetPage

func (d *DisputesListRequest) GetPage() *int64

func (*DisputesListRequest) GetSorting

func (*DisputesListRequest) GetStatus

func (d *DisputesListRequest) GetStatus() *StatusFilter

func (DisputesListRequest) MarshalJSON

func (d DisputesListRequest) MarshalJSON() ([]byte, error)

func (*DisputesListRequest) UnmarshalJSON

func (d *DisputesListRequest) UnmarshalJSON(data []byte) error

type DisputesListResponse

type DisputesListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceDispute *components.ListResourceDispute

	Next func() (*DisputesListResponse, error)
}

func (*DisputesListResponse) GetHTTPMeta

func (d *DisputesListResponse) GetHTTPMeta() components.HTTPMetadata

func (*DisputesListResponse) GetListResourceDispute

func (d *DisputesListResponse) GetListResourceDispute() *components.ListResourceDispute

type EndpointID

type EndpointID struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EndpointIDType
}

EndpointID - Filter by webhook endpoint ID.

func CreateEndpointIDArrayOfStr

func CreateEndpointIDArrayOfStr(arrayOfStr []string) EndpointID

func CreateEndpointIDStr

func CreateEndpointIDStr(str string) EndpointID

func (EndpointID) MarshalJSON

func (u EndpointID) MarshalJSON() ([]byte, error)

func (*EndpointID) UnmarshalJSON

func (u *EndpointID) UnmarshalJSON(data []byte) error

type EndpointIDType

type EndpointIDType string
const (
	EndpointIDTypeStr        EndpointIDType = "str"
	EndpointIDTypeArrayOfStr EndpointIDType = "arrayOfStr"
)

type EventType

type EventType struct {
	WebhookEventType        *components.WebhookEventType  `queryParam:"inline" union:"member"`
	ArrayOfWebhookEventType []components.WebhookEventType `queryParam:"inline" union:"member"`

	Type EventTypeType
}

EventType - Filter by webhook event type.

func CreateEventTypeArrayOfWebhookEventType

func CreateEventTypeArrayOfWebhookEventType(arrayOfWebhookEventType []components.WebhookEventType) EventType

func CreateEventTypeWebhookEventType

func CreateEventTypeWebhookEventType(webhookEventType components.WebhookEventType) EventType

func (EventType) MarshalJSON

func (u EventType) MarshalJSON() ([]byte, error)

func (*EventType) UnmarshalJSON

func (u *EventType) UnmarshalJSON(data []byte) error

type EventTypeType

type EventTypeType string
const (
	EventTypeTypeWebhookEventType        EventTypeType = "WebhookEventType"
	EventTypeTypeArrayOfWebhookEventType EventTypeType = "arrayOfWebhookEventType"
)

type EventTypesListQueryParamCustomerIDFilter

type EventTypesListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventTypesListQueryParamCustomerIDFilterType
}

EventTypesListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateEventTypesListQueryParamCustomerIDFilterArrayOfStr

func CreateEventTypesListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) EventTypesListQueryParamCustomerIDFilter

func CreateEventTypesListQueryParamCustomerIDFilterStr

func CreateEventTypesListQueryParamCustomerIDFilterStr(str string) EventTypesListQueryParamCustomerIDFilter

func (EventTypesListQueryParamCustomerIDFilter) MarshalJSON

func (*EventTypesListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *EventTypesListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type EventTypesListQueryParamCustomerIDFilterType

type EventTypesListQueryParamCustomerIDFilterType string
const (
	EventTypesListQueryParamCustomerIDFilterTypeStr        EventTypesListQueryParamCustomerIDFilterType = "str"
	EventTypesListQueryParamCustomerIDFilterTypeArrayOfStr EventTypesListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type EventTypesListQueryParamExternalCustomerIDFilter

type EventTypesListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventTypesListQueryParamExternalCustomerIDFilterType
}

EventTypesListQueryParamExternalCustomerIDFilter - Filter by external customer ID.

func CreateEventTypesListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateEventTypesListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) EventTypesListQueryParamExternalCustomerIDFilter

func CreateEventTypesListQueryParamExternalCustomerIDFilterStr

func CreateEventTypesListQueryParamExternalCustomerIDFilterStr(str string) EventTypesListQueryParamExternalCustomerIDFilter

func (EventTypesListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*EventTypesListQueryParamExternalCustomerIDFilter) UnmarshalJSON

type EventTypesListQueryParamExternalCustomerIDFilterType

type EventTypesListQueryParamExternalCustomerIDFilterType string
const (
	EventTypesListQueryParamExternalCustomerIDFilterTypeStr        EventTypesListQueryParamExternalCustomerIDFilterType = "str"
	EventTypesListQueryParamExternalCustomerIDFilterTypeArrayOfStr EventTypesListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type EventTypesListQueryParamOrganizationIDFilter

type EventTypesListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventTypesListQueryParamOrganizationIDFilterType
}

EventTypesListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateEventTypesListQueryParamOrganizationIDFilterArrayOfStr

func CreateEventTypesListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) EventTypesListQueryParamOrganizationIDFilter

func CreateEventTypesListQueryParamOrganizationIDFilterStr

func CreateEventTypesListQueryParamOrganizationIDFilterStr(str string) EventTypesListQueryParamOrganizationIDFilter

func (EventTypesListQueryParamOrganizationIDFilter) MarshalJSON

func (*EventTypesListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *EventTypesListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type EventTypesListQueryParamOrganizationIDFilterType

type EventTypesListQueryParamOrganizationIDFilterType string
const (
	EventTypesListQueryParamOrganizationIDFilterTypeStr        EventTypesListQueryParamOrganizationIDFilterType = "str"
	EventTypesListQueryParamOrganizationIDFilterTypeArrayOfStr EventTypesListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type EventTypesListRequest

type EventTypesListRequest struct {
	// Filter by organization ID.
	OrganizationID *EventTypesListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by customer ID.
	CustomerID *EventTypesListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by external customer ID.
	ExternalCustomerID *EventTypesListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Query to filter event types by name or label.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// When true, only return event types with root events (parent_id IS NULL).
	RootEvents *bool `default:"false" queryParam:"style=form,explode=true,name=root_events"`
	// Filter by specific parent event ID.
	ParentID *string `queryParam:"style=form,explode=true,name=parent_id"`
	// Filter by event source (system or user).
	Source *components.EventSource `queryParam:"style=form,explode=true,name=source"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.EventTypesSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*EventTypesListRequest) GetCustomerID

func (*EventTypesListRequest) GetExternalCustomerID

func (*EventTypesListRequest) GetLimit

func (e *EventTypesListRequest) GetLimit() *int64

func (*EventTypesListRequest) GetOrganizationID

func (*EventTypesListRequest) GetPage

func (e *EventTypesListRequest) GetPage() *int64

func (*EventTypesListRequest) GetParentID

func (e *EventTypesListRequest) GetParentID() *string

func (*EventTypesListRequest) GetQuery

func (e *EventTypesListRequest) GetQuery() *string

func (*EventTypesListRequest) GetRootEvents

func (e *EventTypesListRequest) GetRootEvents() *bool

func (*EventTypesListRequest) GetSorting

func (*EventTypesListRequest) GetSource

func (EventTypesListRequest) MarshalJSON

func (e EventTypesListRequest) MarshalJSON() ([]byte, error)

func (*EventTypesListRequest) UnmarshalJSON

func (e *EventTypesListRequest) UnmarshalJSON(data []byte) error

type EventTypesListResponse

type EventTypesListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceEventTypeWithStats *components.ListResourceEventTypeWithStats

	Next func() (*EventTypesListResponse, error)
}

func (*EventTypesListResponse) GetHTTPMeta

func (*EventTypesListResponse) GetListResourceEventTypeWithStats

func (e *EventTypesListResponse) GetListResourceEventTypeWithStats() *components.ListResourceEventTypeWithStats

type EventTypesUpdateRequest

type EventTypesUpdateRequest struct {
	// The event type ID.
	ID              string                     `pathParam:"style=simple,explode=false,name=id"`
	EventTypeUpdate components.EventTypeUpdate `request:"mediaType=application/json"`
}

func (*EventTypesUpdateRequest) GetEventTypeUpdate

func (e *EventTypesUpdateRequest) GetEventTypeUpdate() components.EventTypeUpdate

func (*EventTypesUpdateRequest) GetID

func (e *EventTypesUpdateRequest) GetID() string

type EventTypesUpdateResponse

type EventTypesUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EventType *components.EventType
}

func (*EventTypesUpdateResponse) GetEventType

func (e *EventTypesUpdateResponse) GetEventType() *components.EventType

func (*EventTypesUpdateResponse) GetHTTPMeta

type EventsGetRequest

type EventsGetRequest struct {
	// The event ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*EventsGetRequest) GetID

func (e *EventsGetRequest) GetID() string

type EventsGetResponse

type EventsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Event *components.Event
}

func (*EventsGetResponse) GetEvent

func (e *EventsGetResponse) GetEvent() *components.Event

func (*EventsGetResponse) GetHTTPMeta

func (e *EventsGetResponse) GetHTTPMeta() components.HTTPMetadata

type EventsIngestResponse

type EventsIngestResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EventsIngestResponse *components.EventsIngestResponse
}

func (*EventsIngestResponse) GetEventsIngestResponse

func (e *EventsIngestResponse) GetEventsIngestResponse() *components.EventsIngestResponse

func (*EventsIngestResponse) GetHTTPMeta

func (e *EventsIngestResponse) GetHTTPMeta() components.HTTPMetadata

type EventsListNamesQueryParamCustomerIDFilter

type EventsListNamesQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListNamesQueryParamCustomerIDFilterType
}

EventsListNamesQueryParamCustomerIDFilter - Filter by customer ID.

func CreateEventsListNamesQueryParamCustomerIDFilterArrayOfStr

func CreateEventsListNamesQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) EventsListNamesQueryParamCustomerIDFilter

func CreateEventsListNamesQueryParamCustomerIDFilterStr

func CreateEventsListNamesQueryParamCustomerIDFilterStr(str string) EventsListNamesQueryParamCustomerIDFilter

func (EventsListNamesQueryParamCustomerIDFilter) MarshalJSON

func (*EventsListNamesQueryParamCustomerIDFilter) UnmarshalJSON

func (u *EventsListNamesQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type EventsListNamesQueryParamCustomerIDFilterType

type EventsListNamesQueryParamCustomerIDFilterType string
const (
	EventsListNamesQueryParamCustomerIDFilterTypeStr        EventsListNamesQueryParamCustomerIDFilterType = "str"
	EventsListNamesQueryParamCustomerIDFilterTypeArrayOfStr EventsListNamesQueryParamCustomerIDFilterType = "arrayOfStr"
)

type EventsListNamesQueryParamExternalCustomerIDFilter

type EventsListNamesQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListNamesQueryParamExternalCustomerIDFilterType
}

EventsListNamesQueryParamExternalCustomerIDFilter - Filter by external customer ID.

func CreateEventsListNamesQueryParamExternalCustomerIDFilterArrayOfStr

func CreateEventsListNamesQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) EventsListNamesQueryParamExternalCustomerIDFilter

func CreateEventsListNamesQueryParamExternalCustomerIDFilterStr

func CreateEventsListNamesQueryParamExternalCustomerIDFilterStr(str string) EventsListNamesQueryParamExternalCustomerIDFilter

func (EventsListNamesQueryParamExternalCustomerIDFilter) MarshalJSON

func (*EventsListNamesQueryParamExternalCustomerIDFilter) UnmarshalJSON

type EventsListNamesQueryParamExternalCustomerIDFilterType

type EventsListNamesQueryParamExternalCustomerIDFilterType string
const (
	EventsListNamesQueryParamExternalCustomerIDFilterTypeStr        EventsListNamesQueryParamExternalCustomerIDFilterType = "str"
	EventsListNamesQueryParamExternalCustomerIDFilterTypeArrayOfStr EventsListNamesQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type EventsListNamesQueryParamOrganizationIDFilter

type EventsListNamesQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListNamesQueryParamOrganizationIDFilterType
}

EventsListNamesQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateEventsListNamesQueryParamOrganizationIDFilterArrayOfStr

func CreateEventsListNamesQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) EventsListNamesQueryParamOrganizationIDFilter

func CreateEventsListNamesQueryParamOrganizationIDFilterStr

func CreateEventsListNamesQueryParamOrganizationIDFilterStr(str string) EventsListNamesQueryParamOrganizationIDFilter

func (EventsListNamesQueryParamOrganizationIDFilter) MarshalJSON

func (*EventsListNamesQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *EventsListNamesQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type EventsListNamesQueryParamOrganizationIDFilterType

type EventsListNamesQueryParamOrganizationIDFilterType string
const (
	EventsListNamesQueryParamOrganizationIDFilterTypeStr        EventsListNamesQueryParamOrganizationIDFilterType = "str"
	EventsListNamesQueryParamOrganizationIDFilterTypeArrayOfStr EventsListNamesQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type EventsListNamesRequest

type EventsListNamesRequest struct {
	// Filter by organization ID.
	OrganizationID *EventsListNamesQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by customer ID.
	CustomerID *EventsListNamesQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by external customer ID.
	ExternalCustomerID *EventsListNamesQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by event source.
	Source *QueryParamSourceFilter `queryParam:"style=form,explode=true,name=source"`
	// Query to filter event names.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.EventNamesSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*EventsListNamesRequest) GetCustomerID

func (*EventsListNamesRequest) GetExternalCustomerID

func (*EventsListNamesRequest) GetLimit

func (e *EventsListNamesRequest) GetLimit() *int64

func (*EventsListNamesRequest) GetOrganizationID

func (*EventsListNamesRequest) GetPage

func (e *EventsListNamesRequest) GetPage() *int64

func (*EventsListNamesRequest) GetQuery

func (e *EventsListNamesRequest) GetQuery() *string

func (*EventsListNamesRequest) GetSorting

func (*EventsListNamesRequest) GetSource

func (EventsListNamesRequest) MarshalJSON

func (e EventsListNamesRequest) MarshalJSON() ([]byte, error)

func (*EventsListNamesRequest) UnmarshalJSON

func (e *EventsListNamesRequest) UnmarshalJSON(data []byte) error

type EventsListNamesResponse

type EventsListNamesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceEventName *components.ListResourceEventName

	Next func() (*EventsListNamesResponse, error)
}

func (*EventsListNamesResponse) GetHTTPMeta

func (*EventsListNamesResponse) GetListResourceEventName

func (e *EventsListNamesResponse) GetListResourceEventName() *components.ListResourceEventName

type EventsListQueryParamCustomerIDFilter

type EventsListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListQueryParamCustomerIDFilterType
}

EventsListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateEventsListQueryParamCustomerIDFilterArrayOfStr

func CreateEventsListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) EventsListQueryParamCustomerIDFilter

func CreateEventsListQueryParamCustomerIDFilterStr

func CreateEventsListQueryParamCustomerIDFilterStr(str string) EventsListQueryParamCustomerIDFilter

func (EventsListQueryParamCustomerIDFilter) MarshalJSON

func (u EventsListQueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*EventsListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *EventsListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type EventsListQueryParamCustomerIDFilterType

type EventsListQueryParamCustomerIDFilterType string
const (
	EventsListQueryParamCustomerIDFilterTypeStr        EventsListQueryParamCustomerIDFilterType = "str"
	EventsListQueryParamCustomerIDFilterTypeArrayOfStr EventsListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type EventsListQueryParamExternalCustomerIDFilter

type EventsListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListQueryParamExternalCustomerIDFilterType
}

EventsListQueryParamExternalCustomerIDFilter - Filter by external customer ID.

func CreateEventsListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateEventsListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) EventsListQueryParamExternalCustomerIDFilter

func CreateEventsListQueryParamExternalCustomerIDFilterStr

func CreateEventsListQueryParamExternalCustomerIDFilterStr(str string) EventsListQueryParamExternalCustomerIDFilter

func (EventsListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*EventsListQueryParamExternalCustomerIDFilter) UnmarshalJSON

func (u *EventsListQueryParamExternalCustomerIDFilter) UnmarshalJSON(data []byte) error

type EventsListQueryParamExternalCustomerIDFilterType

type EventsListQueryParamExternalCustomerIDFilterType string
const (
	EventsListQueryParamExternalCustomerIDFilterTypeStr        EventsListQueryParamExternalCustomerIDFilterType = "str"
	EventsListQueryParamExternalCustomerIDFilterTypeArrayOfStr EventsListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type EventsListQueryParamOrganizationIDFilter

type EventsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type EventsListQueryParamOrganizationIDFilterType
}

EventsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateEventsListQueryParamOrganizationIDFilterArrayOfStr

func CreateEventsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) EventsListQueryParamOrganizationIDFilter

func CreateEventsListQueryParamOrganizationIDFilterStr

func CreateEventsListQueryParamOrganizationIDFilterStr(str string) EventsListQueryParamOrganizationIDFilter

func (EventsListQueryParamOrganizationIDFilter) MarshalJSON

func (*EventsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *EventsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type EventsListQueryParamOrganizationIDFilterType

type EventsListQueryParamOrganizationIDFilterType string
const (
	EventsListQueryParamOrganizationIDFilterTypeStr        EventsListQueryParamOrganizationIDFilterType = "str"
	EventsListQueryParamOrganizationIDFilterTypeArrayOfStr EventsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type EventsListRequest

type EventsListRequest struct {
	// Filter events following filter clauses. JSON string following the same schema a meter filter clause.
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
	// Filter events after this timestamp.
	StartTimestamp *time.Time `queryParam:"style=form,explode=true,name=start_timestamp"`
	// Filter events before this timestamp.
	EndTimestamp *time.Time `queryParam:"style=form,explode=true,name=end_timestamp"`
	// Filter by organization ID.
	OrganizationID *EventsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by customer ID.
	CustomerID *EventsListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by external customer ID.
	ExternalCustomerID *EventsListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by a meter filter clause.
	MeterID *string `queryParam:"style=form,explode=true,name=meter_id"`
	// Filter by event name.
	Name *NameFilter `queryParam:"style=form,explode=true,name=name"`
	// Filter by event source.
	Source *SourceFilter `queryParam:"style=form,explode=true,name=source"`
	// Query to filter events.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// When combined with depth, use this event as the anchor instead of root events.
	ParentID *string `queryParam:"style=form,explode=true,name=parent_id"`
	// Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events.
	Depth *int64 `queryParam:"style=form,explode=true,name=depth"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.EventSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*EventsListRequest) GetCustomerID

func (*EventsListRequest) GetDepth

func (e *EventsListRequest) GetDepth() *int64

func (*EventsListRequest) GetEndTimestamp

func (e *EventsListRequest) GetEndTimestamp() *time.Time

func (*EventsListRequest) GetExternalCustomerID

func (*EventsListRequest) GetFilter

func (e *EventsListRequest) GetFilter() *string

func (*EventsListRequest) GetLimit

func (e *EventsListRequest) GetLimit() *int64

func (*EventsListRequest) GetMetadata

func (e *EventsListRequest) GetMetadata() map[string]components.MetadataQuery

func (*EventsListRequest) GetMeterID

func (e *EventsListRequest) GetMeterID() *string

func (*EventsListRequest) GetName

func (e *EventsListRequest) GetName() *NameFilter

func (*EventsListRequest) GetOrganizationID

func (*EventsListRequest) GetPage

func (e *EventsListRequest) GetPage() *int64

func (*EventsListRequest) GetParentID

func (e *EventsListRequest) GetParentID() *string

func (*EventsListRequest) GetQuery

func (e *EventsListRequest) GetQuery() *string

func (*EventsListRequest) GetSorting

func (*EventsListRequest) GetSource

func (e *EventsListRequest) GetSource() *SourceFilter

func (*EventsListRequest) GetStartTimestamp

func (e *EventsListRequest) GetStartTimestamp() *time.Time

func (EventsListRequest) MarshalJSON

func (e EventsListRequest) MarshalJSON() ([]byte, error)

func (*EventsListRequest) UnmarshalJSON

func (e *EventsListRequest) UnmarshalJSON(data []byte) error

type EventsListResponse

type EventsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ResponseEventsList *EventsListResponseEventsList
}

func (*EventsListResponse) GetHTTPMeta

func (e *EventsListResponse) GetHTTPMeta() components.HTTPMetadata

func (*EventsListResponse) GetResponseEventsList

func (e *EventsListResponse) GetResponseEventsList() *EventsListResponseEventsList

type EventsListResponseEventsList

type EventsListResponseEventsList struct {
	ListResourceEvent                     *components.ListResourceEvent                     `queryParam:"inline" union:"member"`
	ListResourceWithCursorPaginationEvent *components.ListResourceWithCursorPaginationEvent `queryParam:"inline" union:"member"`

	Type EventsListResponseEventsListType
}

EventsListResponseEventsList - Successful Response

func CreateEventsListResponseEventsListListResourceEvent

func CreateEventsListResponseEventsListListResourceEvent(listResourceEvent components.ListResourceEvent) EventsListResponseEventsList

func CreateEventsListResponseEventsListListResourceWithCursorPaginationEvent

func CreateEventsListResponseEventsListListResourceWithCursorPaginationEvent(listResourceWithCursorPaginationEvent components.ListResourceWithCursorPaginationEvent) EventsListResponseEventsList

func (EventsListResponseEventsList) MarshalJSON

func (u EventsListResponseEventsList) MarshalJSON() ([]byte, error)

func (*EventsListResponseEventsList) UnmarshalJSON

func (u *EventsListResponseEventsList) UnmarshalJSON(data []byte) error

type EventsListResponseEventsListType

type EventsListResponseEventsListType string
const (
	EventsListResponseEventsListTypeListResourceEvent                     EventsListResponseEventsListType = "ListResource_Event_"
	EventsListResponseEventsListTypeListResourceWithCursorPaginationEvent EventsListResponseEventsListType = "ListResourceWithCursorPagination_Event_"
)

type ExcludeIDs

type ExcludeIDs struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type ExcludeIDsType
}

ExcludeIDs - Exclude benefits with these IDs.

func CreateExcludeIDsArrayOfStr

func CreateExcludeIDsArrayOfStr(arrayOfStr []string) ExcludeIDs

func CreateExcludeIDsStr

func CreateExcludeIDsStr(str string) ExcludeIDs

func (ExcludeIDs) MarshalJSON

func (u ExcludeIDs) MarshalJSON() ([]byte, error)

func (*ExcludeIDs) UnmarshalJSON

func (u *ExcludeIDs) UnmarshalJSON(data []byte) error

type ExcludeIDsType

type ExcludeIDsType string
const (
	ExcludeIDsTypeStr        ExcludeIDsType = "str"
	ExcludeIDsTypeArrayOfStr ExcludeIDsType = "arrayOfStr"
)

type ExternalCustomerIDFilter

type ExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type ExternalCustomerIDFilterType
}

ExternalCustomerIDFilter - Filter by customer external ID.

func CreateExternalCustomerIDFilterArrayOfStr

func CreateExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) ExternalCustomerIDFilter

func CreateExternalCustomerIDFilterStr

func CreateExternalCustomerIDFilterStr(str string) ExternalCustomerIDFilter

func (ExternalCustomerIDFilter) MarshalJSON

func (u ExternalCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*ExternalCustomerIDFilter) UnmarshalJSON

func (u *ExternalCustomerIDFilter) UnmarshalJSON(data []byte) error

type ExternalCustomerIDFilterType

type ExternalCustomerIDFilterType string
const (
	ExternalCustomerIDFilterTypeStr        ExternalCustomerIDFilterType = "str"
	ExternalCustomerIDFilterTypeArrayOfStr ExternalCustomerIDFilterType = "arrayOfStr"
)

type FileIDFilter

type FileIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type FileIDFilterType
}

FileIDFilter - Filter by file ID.

func CreateFileIDFilterArrayOfStr

func CreateFileIDFilterArrayOfStr(arrayOfStr []string) FileIDFilter

func CreateFileIDFilterStr

func CreateFileIDFilterStr(str string) FileIDFilter

func (FileIDFilter) MarshalJSON

func (u FileIDFilter) MarshalJSON() ([]byte, error)

func (*FileIDFilter) UnmarshalJSON

func (u *FileIDFilter) UnmarshalJSON(data []byte) error

type FileIDFilterType

type FileIDFilterType string
const (
	FileIDFilterTypeStr        FileIDFilterType = "str"
	FileIDFilterTypeArrayOfStr FileIDFilterType = "arrayOfStr"
)

type FilesCreateResponse

type FilesCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// File created.
	FileUpload *components.FileUpload
}

func (*FilesCreateResponse) GetFileUpload

func (f *FilesCreateResponse) GetFileUpload() *components.FileUpload

func (*FilesCreateResponse) GetHTTPMeta

func (f *FilesCreateResponse) GetHTTPMeta() components.HTTPMetadata

type FilesDeleteRequest

type FilesDeleteRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*FilesDeleteRequest) GetID

func (f *FilesDeleteRequest) GetID() string

type FilesDeleteResponse

type FilesDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*FilesDeleteResponse) GetHTTPMeta

func (f *FilesDeleteResponse) GetHTTPMeta() components.HTTPMetadata

type FilesListQueryParamOrganizationIDFilter

type FilesListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type FilesListQueryParamOrganizationIDFilterType
}

FilesListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateFilesListQueryParamOrganizationIDFilterArrayOfStr

func CreateFilesListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) FilesListQueryParamOrganizationIDFilter

func CreateFilesListQueryParamOrganizationIDFilterStr

func CreateFilesListQueryParamOrganizationIDFilterStr(str string) FilesListQueryParamOrganizationIDFilter

func (FilesListQueryParamOrganizationIDFilter) MarshalJSON

func (u FilesListQueryParamOrganizationIDFilter) MarshalJSON() ([]byte, error)

func (*FilesListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *FilesListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type FilesListQueryParamOrganizationIDFilterType

type FilesListQueryParamOrganizationIDFilterType string
const (
	FilesListQueryParamOrganizationIDFilterTypeStr        FilesListQueryParamOrganizationIDFilterType = "str"
	FilesListQueryParamOrganizationIDFilterTypeArrayOfStr FilesListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type FilesListRequest

type FilesListRequest struct {
	// Filter by organization ID.
	OrganizationID *FilesListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by file ID.
	Ids *FileIDFilter `queryParam:"style=form,explode=true,name=ids"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*FilesListRequest) GetIds

func (f *FilesListRequest) GetIds() *FileIDFilter

func (*FilesListRequest) GetLimit

func (f *FilesListRequest) GetLimit() *int64

func (*FilesListRequest) GetOrganizationID

func (*FilesListRequest) GetPage

func (f *FilesListRequest) GetPage() *int64

func (FilesListRequest) MarshalJSON

func (f FilesListRequest) MarshalJSON() ([]byte, error)

func (*FilesListRequest) UnmarshalJSON

func (f *FilesListRequest) UnmarshalJSON(data []byte) error

type FilesListResponse

type FilesListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceFileRead *components.ListResourceFileRead

	Next func() (*FilesListResponse, error)
}

func (*FilesListResponse) GetHTTPMeta

func (f *FilesListResponse) GetHTTPMeta() components.HTTPMetadata

func (*FilesListResponse) GetListResourceFileRead

func (f *FilesListResponse) GetListResourceFileRead() *components.ListResourceFileRead

type FilesUpdateRequest

type FilesUpdateRequest struct {
	// The file ID.
	ID        string               `pathParam:"style=simple,explode=false,name=id"`
	FilePatch components.FilePatch `request:"mediaType=application/json"`
}

func (*FilesUpdateRequest) GetFilePatch

func (f *FilesUpdateRequest) GetFilePatch() components.FilePatch

func (*FilesUpdateRequest) GetID

func (f *FilesUpdateRequest) GetID() string

type FilesUpdateResponse

type FilesUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// File updated.
	ResponseFilesUpdate *FilesUpdateResponseFilesUpdate
}

func (*FilesUpdateResponse) GetHTTPMeta

func (f *FilesUpdateResponse) GetHTTPMeta() components.HTTPMetadata

func (*FilesUpdateResponse) GetResponseFilesUpdate

func (f *FilesUpdateResponse) GetResponseFilesUpdate() *FilesUpdateResponseFilesUpdate

func (*FilesUpdateResponse) GetResponseFilesUpdateDownloadable

func (f *FilesUpdateResponse) GetResponseFilesUpdateDownloadable() *components.DownloadableFileRead

func (*FilesUpdateResponse) GetResponseFilesUpdateOrganizationAvatar

func (f *FilesUpdateResponse) GetResponseFilesUpdateOrganizationAvatar() *components.OrganizationAvatarFileRead

func (*FilesUpdateResponse) GetResponseFilesUpdateProductMedia

func (f *FilesUpdateResponse) GetResponseFilesUpdateProductMedia() *components.ProductMediaFileRead

type FilesUpdateResponseFilesUpdate

type FilesUpdateResponseFilesUpdate struct {
	DownloadableFileRead       *components.DownloadableFileRead       `queryParam:"inline" union:"member"`
	ProductMediaFileRead       *components.ProductMediaFileRead       `queryParam:"inline" union:"member"`
	OrganizationAvatarFileRead *components.OrganizationAvatarFileRead `queryParam:"inline" union:"member"`

	Type FilesUpdateResponseFilesUpdateType
}

FilesUpdateResponseFilesUpdate - File updated.

func CreateFilesUpdateResponseFilesUpdateDownloadable

func CreateFilesUpdateResponseFilesUpdateDownloadable(downloadable components.DownloadableFileRead) FilesUpdateResponseFilesUpdate

func CreateFilesUpdateResponseFilesUpdateOrganizationAvatar

func CreateFilesUpdateResponseFilesUpdateOrganizationAvatar(organizationAvatar components.OrganizationAvatarFileRead) FilesUpdateResponseFilesUpdate

func CreateFilesUpdateResponseFilesUpdateProductMedia

func CreateFilesUpdateResponseFilesUpdateProductMedia(productMedia components.ProductMediaFileRead) FilesUpdateResponseFilesUpdate

func (FilesUpdateResponseFilesUpdate) MarshalJSON

func (u FilesUpdateResponseFilesUpdate) MarshalJSON() ([]byte, error)

func (*FilesUpdateResponseFilesUpdate) UnmarshalJSON

func (u *FilesUpdateResponseFilesUpdate) UnmarshalJSON(data []byte) error

type FilesUpdateResponseFilesUpdateType

type FilesUpdateResponseFilesUpdateType string
const (
	FilesUpdateResponseFilesUpdateTypeDownloadable       FilesUpdateResponseFilesUpdateType = "downloadable"
	FilesUpdateResponseFilesUpdateTypeProductMedia       FilesUpdateResponseFilesUpdateType = "product_media"
	FilesUpdateResponseFilesUpdateTypeOrganizationAvatar FilesUpdateResponseFilesUpdateType = "organization_avatar"
)

type FilesUploadedRequest

type FilesUploadedRequest struct {
	// The file ID.
	ID                  string                         `pathParam:"style=simple,explode=false,name=id"`
	FileUploadCompleted components.FileUploadCompleted `request:"mediaType=application/json"`
}

func (*FilesUploadedRequest) GetFileUploadCompleted

func (f *FilesUploadedRequest) GetFileUploadCompleted() components.FileUploadCompleted

func (*FilesUploadedRequest) GetID

func (f *FilesUploadedRequest) GetID() string

type FilesUploadedResponse

type FilesUploadedResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// File upload completed.
	ResponseFilesUploaded *FilesUploadedResponseFilesUploaded
}

func (*FilesUploadedResponse) GetHTTPMeta

func (*FilesUploadedResponse) GetResponseFilesUploaded

func (f *FilesUploadedResponse) GetResponseFilesUploaded() *FilesUploadedResponseFilesUploaded

func (*FilesUploadedResponse) GetResponseFilesUploadedDownloadable

func (f *FilesUploadedResponse) GetResponseFilesUploadedDownloadable() *components.DownloadableFileRead

func (*FilesUploadedResponse) GetResponseFilesUploadedOrganizationAvatar

func (f *FilesUploadedResponse) GetResponseFilesUploadedOrganizationAvatar() *components.OrganizationAvatarFileRead

func (*FilesUploadedResponse) GetResponseFilesUploadedProductMedia

func (f *FilesUploadedResponse) GetResponseFilesUploadedProductMedia() *components.ProductMediaFileRead

type FilesUploadedResponseFilesUploaded

type FilesUploadedResponseFilesUploaded struct {
	DownloadableFileRead       *components.DownloadableFileRead       `queryParam:"inline" union:"member"`
	ProductMediaFileRead       *components.ProductMediaFileRead       `queryParam:"inline" union:"member"`
	OrganizationAvatarFileRead *components.OrganizationAvatarFileRead `queryParam:"inline" union:"member"`

	Type FilesUploadedResponseFilesUploadedType
}

FilesUploadedResponseFilesUploaded - File upload completed.

func CreateFilesUploadedResponseFilesUploadedDownloadable

func CreateFilesUploadedResponseFilesUploadedDownloadable(downloadable components.DownloadableFileRead) FilesUploadedResponseFilesUploaded

func CreateFilesUploadedResponseFilesUploadedOrganizationAvatar

func CreateFilesUploadedResponseFilesUploadedOrganizationAvatar(organizationAvatar components.OrganizationAvatarFileRead) FilesUploadedResponseFilesUploaded

func CreateFilesUploadedResponseFilesUploadedProductMedia

func CreateFilesUploadedResponseFilesUploadedProductMedia(productMedia components.ProductMediaFileRead) FilesUploadedResponseFilesUploaded

func (FilesUploadedResponseFilesUploaded) MarshalJSON

func (u FilesUploadedResponseFilesUploaded) MarshalJSON() ([]byte, error)

func (*FilesUploadedResponseFilesUploaded) UnmarshalJSON

func (u *FilesUploadedResponseFilesUploaded) UnmarshalJSON(data []byte) error

type FilesUploadedResponseFilesUploadedType

type FilesUploadedResponseFilesUploadedType string
const (
	FilesUploadedResponseFilesUploadedTypeDownloadable       FilesUploadedResponseFilesUploadedType = "downloadable"
	FilesUploadedResponseFilesUploadedTypeProductMedia       FilesUploadedResponseFilesUploadedType = "product_media"
	FilesUploadedResponseFilesUploadedTypeOrganizationAvatar FilesUploadedResponseFilesUploadedType = "organization_avatar"
)

type FilterIDs

type FilterIDs struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type FilterIDsType
}

FilterIDs - Filter by benefit IDs.

func CreateFilterIDsArrayOfStr

func CreateFilterIDsArrayOfStr(arrayOfStr []string) FilterIDs

func CreateFilterIDsStr

func CreateFilterIDsStr(str string) FilterIDs

func (FilterIDs) MarshalJSON

func (u FilterIDs) MarshalJSON() ([]byte, error)

func (*FilterIDs) UnmarshalJSON

func (u *FilterIDs) UnmarshalJSON(data []byte) error

type FilterIDsType

type FilterIDsType string
const (
	FilterIDsTypeStr        FilterIDsType = "str"
	FilterIDsTypeArrayOfStr FilterIDsType = "arrayOfStr"
)

type HTTPCodeClass

type HTTPCodeClass string

HTTPCodeClass - Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).

const (
	HTTPCodeClassTwoxx   HTTPCodeClass = "2xx"
	HTTPCodeClassThreexx HTTPCodeClass = "3xx"
	HTTPCodeClassFourxx  HTTPCodeClass = "4xx"
	HTTPCodeClassFivexx  HTTPCodeClass = "5xx"
)

func (HTTPCodeClass) ToPointer

func (e HTTPCodeClass) ToPointer() *HTTPCodeClass

func (*HTTPCodeClass) UnmarshalJSON

func (e *HTTPCodeClass) UnmarshalJSON(data []byte) error

type LicenseKeysActivateResponse

type LicenseKeysActivateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyActivationRead *components.LicenseKeyActivationRead
}

func (*LicenseKeysActivateResponse) GetHTTPMeta

func (*LicenseKeysActivateResponse) GetLicenseKeyActivationRead

func (l *LicenseKeysActivateResponse) GetLicenseKeyActivationRead() *components.LicenseKeyActivationRead

type LicenseKeysDeactivateResponse

type LicenseKeysDeactivateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*LicenseKeysDeactivateResponse) GetHTTPMeta

type LicenseKeysGetActivationRequest

type LicenseKeysGetActivationRequest struct {
	ID           string `pathParam:"style=simple,explode=false,name=id"`
	ActivationID string `pathParam:"style=simple,explode=false,name=activation_id"`
}

func (*LicenseKeysGetActivationRequest) GetActivationID

func (l *LicenseKeysGetActivationRequest) GetActivationID() string

func (*LicenseKeysGetActivationRequest) GetID

type LicenseKeysGetActivationResponse

type LicenseKeysGetActivationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyActivationRead *components.LicenseKeyActivationRead
}

func (*LicenseKeysGetActivationResponse) GetHTTPMeta

func (*LicenseKeysGetActivationResponse) GetLicenseKeyActivationRead

func (l *LicenseKeysGetActivationResponse) GetLicenseKeyActivationRead() *components.LicenseKeyActivationRead

type LicenseKeysGetRequest

type LicenseKeysGetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*LicenseKeysGetRequest) GetID

func (l *LicenseKeysGetRequest) GetID() string

type LicenseKeysGetResponse

type LicenseKeysGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyWithActivations *components.LicenseKeyWithActivations
}

func (*LicenseKeysGetResponse) GetHTTPMeta

func (*LicenseKeysGetResponse) GetLicenseKeyWithActivations

func (l *LicenseKeysGetResponse) GetLicenseKeyWithActivations() *components.LicenseKeyWithActivations

type LicenseKeysListQueryParamOrganizationIDFilter

type LicenseKeysListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type LicenseKeysListQueryParamOrganizationIDFilterType
}

LicenseKeysListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateLicenseKeysListQueryParamOrganizationIDFilterArrayOfStr

func CreateLicenseKeysListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) LicenseKeysListQueryParamOrganizationIDFilter

func CreateLicenseKeysListQueryParamOrganizationIDFilterStr

func CreateLicenseKeysListQueryParamOrganizationIDFilterStr(str string) LicenseKeysListQueryParamOrganizationIDFilter

func (LicenseKeysListQueryParamOrganizationIDFilter) MarshalJSON

func (*LicenseKeysListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *LicenseKeysListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type LicenseKeysListQueryParamOrganizationIDFilterType

type LicenseKeysListQueryParamOrganizationIDFilterType string
const (
	LicenseKeysListQueryParamOrganizationIDFilterTypeStr        LicenseKeysListQueryParamOrganizationIDFilterType = "str"
	LicenseKeysListQueryParamOrganizationIDFilterTypeArrayOfStr LicenseKeysListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type LicenseKeysListRequest

type LicenseKeysListRequest struct {
	// Filter by organization ID.
	OrganizationID *LicenseKeysListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by benefit ID.
	BenefitID *QueryParamBenefitIDFilter `queryParam:"style=form,explode=true,name=benefit_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*LicenseKeysListRequest) GetBenefitID

func (*LicenseKeysListRequest) GetLimit

func (l *LicenseKeysListRequest) GetLimit() *int64

func (*LicenseKeysListRequest) GetOrganizationID

func (*LicenseKeysListRequest) GetPage

func (l *LicenseKeysListRequest) GetPage() *int64

func (LicenseKeysListRequest) MarshalJSON

func (l LicenseKeysListRequest) MarshalJSON() ([]byte, error)

func (*LicenseKeysListRequest) UnmarshalJSON

func (l *LicenseKeysListRequest) UnmarshalJSON(data []byte) error

type LicenseKeysListResponse

type LicenseKeysListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceLicenseKeyRead *components.ListResourceLicenseKeyRead

	Next func() (*LicenseKeysListResponse, error)
}

func (*LicenseKeysListResponse) GetHTTPMeta

func (*LicenseKeysListResponse) GetListResourceLicenseKeyRead

func (l *LicenseKeysListResponse) GetListResourceLicenseKeyRead() *components.ListResourceLicenseKeyRead

type LicenseKeysUpdateRequest

type LicenseKeysUpdateRequest struct {
	ID               string                      `pathParam:"style=simple,explode=false,name=id"`
	LicenseKeyUpdate components.LicenseKeyUpdate `request:"mediaType=application/json"`
}

func (*LicenseKeysUpdateRequest) GetID

func (l *LicenseKeysUpdateRequest) GetID() string

func (*LicenseKeysUpdateRequest) GetLicenseKeyUpdate

func (l *LicenseKeysUpdateRequest) GetLicenseKeyUpdate() components.LicenseKeyUpdate

type LicenseKeysUpdateResponse

type LicenseKeysUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	LicenseKeyRead *components.LicenseKeyRead
}

func (*LicenseKeysUpdateResponse) GetHTTPMeta

func (*LicenseKeysUpdateResponse) GetLicenseKeyRead

func (l *LicenseKeysUpdateResponse) GetLicenseKeyRead() *components.LicenseKeyRead

type LicenseKeysValidateResponse

type LicenseKeysValidateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ValidatedLicenseKey *components.ValidatedLicenseKey
}

func (*LicenseKeysValidateResponse) GetHTTPMeta

func (*LicenseKeysValidateResponse) GetValidatedLicenseKey

func (l *LicenseKeysValidateResponse) GetValidatedLicenseKey() *components.ValidatedLicenseKey

type MemberIDFilter

type MemberIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MemberIDFilterType
}

MemberIDFilter - Filter by member.

func CreateMemberIDFilterArrayOfStr

func CreateMemberIDFilterArrayOfStr(arrayOfStr []string) MemberIDFilter

func CreateMemberIDFilterStr

func CreateMemberIDFilterStr(str string) MemberIDFilter

func (MemberIDFilter) MarshalJSON

func (u MemberIDFilter) MarshalJSON() ([]byte, error)

func (*MemberIDFilter) UnmarshalJSON

func (u *MemberIDFilter) UnmarshalJSON(data []byte) error

type MemberIDFilterType

type MemberIDFilterType string
const (
	MemberIDFilterTypeStr        MemberIDFilterType = "str"
	MemberIDFilterTypeArrayOfStr MemberIDFilterType = "arrayOfStr"
)

type MembersCreateMemberResponse

type MembersCreateMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Member created.
	Member *components.Member
}

func (*MembersCreateMemberResponse) GetHTTPMeta

func (*MembersCreateMemberResponse) GetMember

type MembersDeleteMemberRequest

type MembersDeleteMemberRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*MembersDeleteMemberRequest) GetID

type MembersDeleteMemberResponse

type MembersDeleteMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*MembersDeleteMemberResponse) GetHTTPMeta

type MembersGetMemberRequest

type MembersGetMemberRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*MembersGetMemberRequest) GetID

func (m *MembersGetMemberRequest) GetID() string

type MembersGetMemberResponse

type MembersGetMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Member retrieved.
	Member *components.Member
}

func (*MembersGetMemberResponse) GetHTTPMeta

func (*MembersGetMemberResponse) GetMember

func (m *MembersGetMemberResponse) GetMember() *components.Member

type MembersListMembersRequest

type MembersListMembersRequest struct {
	// Filter by customer ID.
	CustomerID *string `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *string `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by member role.
	Role *components.MemberRole `queryParam:"style=form,explode=true,name=role"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.MemberSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*MembersListMembersRequest) GetCustomerID

func (m *MembersListMembersRequest) GetCustomerID() *string

func (*MembersListMembersRequest) GetExternalCustomerID

func (m *MembersListMembersRequest) GetExternalCustomerID() *string

func (*MembersListMembersRequest) GetLimit

func (m *MembersListMembersRequest) GetLimit() *int64

func (*MembersListMembersRequest) GetPage

func (m *MembersListMembersRequest) GetPage() *int64

func (*MembersListMembersRequest) GetRole

func (*MembersListMembersRequest) GetSorting

func (MembersListMembersRequest) MarshalJSON

func (m MembersListMembersRequest) MarshalJSON() ([]byte, error)

func (*MembersListMembersRequest) UnmarshalJSON

func (m *MembersListMembersRequest) UnmarshalJSON(data []byte) error

type MembersListMembersResponse

type MembersListMembersResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceMember *components.ListResourceMember

	Next func() (*MembersListMembersResponse, error)
}

func (*MembersListMembersResponse) GetHTTPMeta

func (*MembersListMembersResponse) GetListResourceMember

func (m *MembersListMembersResponse) GetListResourceMember() *components.ListResourceMember

type MembersUpdateMemberRequest

type MembersUpdateMemberRequest struct {
	ID           string                  `pathParam:"style=simple,explode=false,name=id"`
	MemberUpdate components.MemberUpdate `request:"mediaType=application/json"`
}

func (*MembersUpdateMemberRequest) GetID

func (*MembersUpdateMemberRequest) GetMemberUpdate

func (m *MembersUpdateMemberRequest) GetMemberUpdate() components.MemberUpdate

type MembersUpdateMemberResponse

type MembersUpdateMemberResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Member updated.
	Member *components.Member
}

func (*MembersUpdateMemberResponse) GetHTTPMeta

func (*MembersUpdateMemberResponse) GetMember

type MeterIDFilter

type MeterIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MeterIDFilterType
}

MeterIDFilter - Filter by meter ID.

func CreateMeterIDFilterArrayOfStr

func CreateMeterIDFilterArrayOfStr(arrayOfStr []string) MeterIDFilter

func CreateMeterIDFilterStr

func CreateMeterIDFilterStr(str string) MeterIDFilter

func (MeterIDFilter) MarshalJSON

func (u MeterIDFilter) MarshalJSON() ([]byte, error)

func (*MeterIDFilter) UnmarshalJSON

func (u *MeterIDFilter) UnmarshalJSON(data []byte) error

type MeterIDFilterType

type MeterIDFilterType string
const (
	MeterIDFilterTypeStr        MeterIDFilterType = "str"
	MeterIDFilterTypeArrayOfStr MeterIDFilterType = "arrayOfStr"
)

type MetersCreateResponse

type MetersCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Meter created.
	Meter *components.Meter
}

func (*MetersCreateResponse) GetHTTPMeta

func (m *MetersCreateResponse) GetHTTPMeta() components.HTTPMetadata

func (*MetersCreateResponse) GetMeter

func (m *MetersCreateResponse) GetMeter() *components.Meter

type MetersGetRequest

type MetersGetRequest struct {
	// The meter ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*MetersGetRequest) GetID

func (m *MetersGetRequest) GetID() string

type MetersGetResponse

type MetersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Meter *components.Meter
}

func (*MetersGetResponse) GetHTTPMeta

func (m *MetersGetResponse) GetHTTPMeta() components.HTTPMetadata

func (*MetersGetResponse) GetMeter

func (m *MetersGetResponse) GetMeter() *components.Meter

type MetersListQueryParamOrganizationIDFilter

type MetersListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetersListQueryParamOrganizationIDFilterType
}

MetersListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateMetersListQueryParamOrganizationIDFilterArrayOfStr

func CreateMetersListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) MetersListQueryParamOrganizationIDFilter

func CreateMetersListQueryParamOrganizationIDFilterStr

func CreateMetersListQueryParamOrganizationIDFilterStr(str string) MetersListQueryParamOrganizationIDFilter

func (MetersListQueryParamOrganizationIDFilter) MarshalJSON

func (*MetersListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *MetersListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type MetersListQueryParamOrganizationIDFilterType

type MetersListQueryParamOrganizationIDFilterType string
const (
	MetersListQueryParamOrganizationIDFilterTypeStr        MetersListQueryParamOrganizationIDFilterType = "str"
	MetersListQueryParamOrganizationIDFilterTypeArrayOfStr MetersListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type MetersListRequest

type MetersListRequest struct {
	// Filter by organization ID.
	OrganizationID *MetersListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Filter on archived meters.
	IsArchived *bool `queryParam:"style=form,explode=true,name=is_archived"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.MeterSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*MetersListRequest) GetIsArchived

func (m *MetersListRequest) GetIsArchived() *bool

func (*MetersListRequest) GetLimit

func (m *MetersListRequest) GetLimit() *int64

func (*MetersListRequest) GetMetadata

func (m *MetersListRequest) GetMetadata() map[string]components.MetadataQuery

func (*MetersListRequest) GetOrganizationID

func (*MetersListRequest) GetPage

func (m *MetersListRequest) GetPage() *int64

func (*MetersListRequest) GetQuery

func (m *MetersListRequest) GetQuery() *string

func (*MetersListRequest) GetSorting

func (MetersListRequest) MarshalJSON

func (m MetersListRequest) MarshalJSON() ([]byte, error)

func (*MetersListRequest) UnmarshalJSON

func (m *MetersListRequest) UnmarshalJSON(data []byte) error

type MetersListResponse

type MetersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceMeter *components.ListResourceMeter

	Next func() (*MetersListResponse, error)
}

func (*MetersListResponse) GetHTTPMeta

func (m *MetersListResponse) GetHTTPMeta() components.HTTPMetadata

func (*MetersListResponse) GetListResourceMeter

func (m *MetersListResponse) GetListResourceMeter() *components.ListResourceMeter

type MetersQuantitiesQueryParamCustomerIDFilter

type MetersQuantitiesQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetersQuantitiesQueryParamCustomerIDFilterType
}

MetersQuantitiesQueryParamCustomerIDFilter - Filter by customer ID.

func CreateMetersQuantitiesQueryParamCustomerIDFilterArrayOfStr

func CreateMetersQuantitiesQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) MetersQuantitiesQueryParamCustomerIDFilter

func CreateMetersQuantitiesQueryParamCustomerIDFilterStr

func CreateMetersQuantitiesQueryParamCustomerIDFilterStr(str string) MetersQuantitiesQueryParamCustomerIDFilter

func (MetersQuantitiesQueryParamCustomerIDFilter) MarshalJSON

func (*MetersQuantitiesQueryParamCustomerIDFilter) UnmarshalJSON

func (u *MetersQuantitiesQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type MetersQuantitiesQueryParamCustomerIDFilterType

type MetersQuantitiesQueryParamCustomerIDFilterType string
const (
	MetersQuantitiesQueryParamCustomerIDFilterTypeStr        MetersQuantitiesQueryParamCustomerIDFilterType = "str"
	MetersQuantitiesQueryParamCustomerIDFilterTypeArrayOfStr MetersQuantitiesQueryParamCustomerIDFilterType = "arrayOfStr"
)

type MetersQuantitiesQueryParamExternalCustomerIDFilter

type MetersQuantitiesQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetersQuantitiesQueryParamExternalCustomerIDFilterType
}

MetersQuantitiesQueryParamExternalCustomerIDFilter - Filter by external customer ID.

func CreateMetersQuantitiesQueryParamExternalCustomerIDFilterArrayOfStr

func CreateMetersQuantitiesQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) MetersQuantitiesQueryParamExternalCustomerIDFilter

func CreateMetersQuantitiesQueryParamExternalCustomerIDFilterStr

func CreateMetersQuantitiesQueryParamExternalCustomerIDFilterStr(str string) MetersQuantitiesQueryParamExternalCustomerIDFilter

func (MetersQuantitiesQueryParamExternalCustomerIDFilter) MarshalJSON

func (*MetersQuantitiesQueryParamExternalCustomerIDFilter) UnmarshalJSON

type MetersQuantitiesQueryParamExternalCustomerIDFilterType

type MetersQuantitiesQueryParamExternalCustomerIDFilterType string
const (
	MetersQuantitiesQueryParamExternalCustomerIDFilterTypeStr        MetersQuantitiesQueryParamExternalCustomerIDFilterType = "str"
	MetersQuantitiesQueryParamExternalCustomerIDFilterTypeArrayOfStr MetersQuantitiesQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type MetersQuantitiesRequest

type MetersQuantitiesRequest struct {
	// The meter ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// Start timestamp.
	StartTimestamp time.Time `queryParam:"style=form,explode=true,name=start_timestamp"`
	// End timestamp.
	EndTimestamp time.Time `queryParam:"style=form,explode=true,name=end_timestamp"`
	// Interval between two timestamps.
	Interval components.TimeInterval `queryParam:"style=form,explode=true,name=interval"`
	// Timezone to use for the timestamps. Default is UTC.
	Timezone *string `default:"UTC" queryParam:"style=form,explode=true,name=timezone"`
	// Filter by customer ID.
	CustomerID *MetersQuantitiesQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by external customer ID.
	ExternalCustomerID *MetersQuantitiesQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// If set, will first compute the quantities per customer before aggregating them using the given function. If not set, the quantities will be aggregated across all events.
	CustomerAggregationFunction *components.AggregationFunction `queryParam:"style=form,explode=true,name=customer_aggregation_function"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*MetersQuantitiesRequest) GetCustomerAggregationFunction

func (m *MetersQuantitiesRequest) GetCustomerAggregationFunction() *components.AggregationFunction

func (*MetersQuantitiesRequest) GetCustomerID

func (*MetersQuantitiesRequest) GetEndTimestamp

func (m *MetersQuantitiesRequest) GetEndTimestamp() time.Time

func (*MetersQuantitiesRequest) GetExternalCustomerID

func (*MetersQuantitiesRequest) GetID

func (m *MetersQuantitiesRequest) GetID() string

func (*MetersQuantitiesRequest) GetInterval

func (*MetersQuantitiesRequest) GetMetadata

func (*MetersQuantitiesRequest) GetStartTimestamp

func (m *MetersQuantitiesRequest) GetStartTimestamp() time.Time

func (*MetersQuantitiesRequest) GetTimezone

func (m *MetersQuantitiesRequest) GetTimezone() *string

func (MetersQuantitiesRequest) MarshalJSON

func (m MetersQuantitiesRequest) MarshalJSON() ([]byte, error)

func (*MetersQuantitiesRequest) UnmarshalJSON

func (m *MetersQuantitiesRequest) UnmarshalJSON(data []byte) error

type MetersQuantitiesResponse

type MetersQuantitiesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MeterQuantities *components.MeterQuantities
}

func (*MetersQuantitiesResponse) GetHTTPMeta

func (*MetersQuantitiesResponse) GetMeterQuantities

func (m *MetersQuantitiesResponse) GetMeterQuantities() *components.MeterQuantities

type MetersUpdateRequest

type MetersUpdateRequest struct {
	// The meter ID.
	ID          string                 `pathParam:"style=simple,explode=false,name=id"`
	MeterUpdate components.MeterUpdate `request:"mediaType=application/json"`
}

func (*MetersUpdateRequest) GetID

func (m *MetersUpdateRequest) GetID() string

func (*MetersUpdateRequest) GetMeterUpdate

func (m *MetersUpdateRequest) GetMeterUpdate() components.MeterUpdate

type MetersUpdateResponse

type MetersUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Meter updated.
	Meter *components.Meter
}

func (*MetersUpdateResponse) GetHTTPMeta

func (m *MetersUpdateResponse) GetHTTPMeta() components.HTTPMetadata

func (*MetersUpdateResponse) GetMeter

func (m *MetersUpdateResponse) GetMeter() *components.Meter

type MethodFilter

type MethodFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MethodFilterType
}

MethodFilter - Filter by payment method.

func CreateMethodFilterArrayOfStr

func CreateMethodFilterArrayOfStr(arrayOfStr []string) MethodFilter

func CreateMethodFilterStr

func CreateMethodFilterStr(str string) MethodFilter

func (MethodFilter) MarshalJSON

func (u MethodFilter) MarshalJSON() ([]byte, error)

func (*MethodFilter) UnmarshalJSON

func (u *MethodFilter) UnmarshalJSON(data []byte) error

type MethodFilterType

type MethodFilterType string
const (
	MethodFilterTypeStr        MethodFilterType = "str"
	MethodFilterTypeArrayOfStr MethodFilterType = "arrayOfStr"
)

type MetricsCreateDashboardResponse

type MetricsCreateDashboardResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MetricDashboardSchema *components.MetricDashboardSchema
}

func (*MetricsCreateDashboardResponse) GetHTTPMeta

func (*MetricsCreateDashboardResponse) GetMetricDashboardSchema

func (m *MetricsCreateDashboardResponse) GetMetricDashboardSchema() *components.MetricDashboardSchema

type MetricsDeleteDashboardRequest

type MetricsDeleteDashboardRequest struct {
	// The metric dashboard ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*MetricsDeleteDashboardRequest) GetID

type MetricsDeleteDashboardResponse

type MetricsDeleteDashboardResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*MetricsDeleteDashboardResponse) GetHTTPMeta

type MetricsGetDashboardRequest

type MetricsGetDashboardRequest struct {
	// The metric dashboard ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*MetricsGetDashboardRequest) GetID

type MetricsGetDashboardResponse

type MetricsGetDashboardResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MetricDashboardSchema *components.MetricDashboardSchema
}

func (*MetricsGetDashboardResponse) GetHTTPMeta

func (*MetricsGetDashboardResponse) GetMetricDashboardSchema

func (m *MetricsGetDashboardResponse) GetMetricDashboardSchema() *components.MetricDashboardSchema

type MetricsGetQueryParamCustomerIDFilter

type MetricsGetQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetricsGetQueryParamCustomerIDFilterType
}

MetricsGetQueryParamCustomerIDFilter - Filter by customer ID.

func CreateMetricsGetQueryParamCustomerIDFilterArrayOfStr

func CreateMetricsGetQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) MetricsGetQueryParamCustomerIDFilter

func CreateMetricsGetQueryParamCustomerIDFilterStr

func CreateMetricsGetQueryParamCustomerIDFilterStr(str string) MetricsGetQueryParamCustomerIDFilter

func (MetricsGetQueryParamCustomerIDFilter) MarshalJSON

func (u MetricsGetQueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*MetricsGetQueryParamCustomerIDFilter) UnmarshalJSON

func (u *MetricsGetQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type MetricsGetQueryParamCustomerIDFilterType

type MetricsGetQueryParamCustomerIDFilterType string
const (
	MetricsGetQueryParamCustomerIDFilterTypeStr        MetricsGetQueryParamCustomerIDFilterType = "str"
	MetricsGetQueryParamCustomerIDFilterTypeArrayOfStr MetricsGetQueryParamCustomerIDFilterType = "arrayOfStr"
)

type MetricsGetQueryParamOrganizationIDFilter

type MetricsGetQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetricsGetQueryParamOrganizationIDFilterType
}

MetricsGetQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateMetricsGetQueryParamOrganizationIDFilterArrayOfStr

func CreateMetricsGetQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) MetricsGetQueryParamOrganizationIDFilter

func CreateMetricsGetQueryParamOrganizationIDFilterStr

func CreateMetricsGetQueryParamOrganizationIDFilterStr(str string) MetricsGetQueryParamOrganizationIDFilter

func (MetricsGetQueryParamOrganizationIDFilter) MarshalJSON

func (*MetricsGetQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *MetricsGetQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type MetricsGetQueryParamOrganizationIDFilterType

type MetricsGetQueryParamOrganizationIDFilterType string
const (
	MetricsGetQueryParamOrganizationIDFilterTypeStr        MetricsGetQueryParamOrganizationIDFilterType = "str"
	MetricsGetQueryParamOrganizationIDFilterTypeArrayOfStr MetricsGetQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type MetricsGetQueryParamProductIDFilter

type MetricsGetQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetricsGetQueryParamProductIDFilterType
}

MetricsGetQueryParamProductIDFilter - Filter by product ID.

func CreateMetricsGetQueryParamProductIDFilterArrayOfStr

func CreateMetricsGetQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) MetricsGetQueryParamProductIDFilter

func CreateMetricsGetQueryParamProductIDFilterStr

func CreateMetricsGetQueryParamProductIDFilterStr(str string) MetricsGetQueryParamProductIDFilter

func (MetricsGetQueryParamProductIDFilter) MarshalJSON

func (u MetricsGetQueryParamProductIDFilter) MarshalJSON() ([]byte, error)

func (*MetricsGetQueryParamProductIDFilter) UnmarshalJSON

func (u *MetricsGetQueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type MetricsGetQueryParamProductIDFilterType

type MetricsGetQueryParamProductIDFilterType string
const (
	MetricsGetQueryParamProductIDFilterTypeStr        MetricsGetQueryParamProductIDFilterType = "str"
	MetricsGetQueryParamProductIDFilterTypeArrayOfStr MetricsGetQueryParamProductIDFilterType = "arrayOfStr"
)

type MetricsGetRequest

type MetricsGetRequest struct {
	// Start date.
	StartDate types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// End date.
	EndDate types.Date `queryParam:"style=form,explode=true,name=end_date"`
	// Timezone to use for the timestamps. Default is UTC.
	Timezone *string `default:"UTC" queryParam:"style=form,explode=true,name=timezone"`
	// Interval between two timestamps.
	Interval components.TimeInterval `queryParam:"style=form,explode=true,name=interval"`
	// Filter by organization ID.
	OrganizationID *MetricsGetQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *MetricsGetQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
	BillingType *QueryParamProductBillingTypeFilter `queryParam:"style=form,explode=true,name=billing_type"`
	// Filter by customer ID.
	CustomerID *MetricsGetQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned.
	Metrics []string `queryParam:"style=form,explode=true,name=metrics"`
}

func (*MetricsGetRequest) GetBillingType

func (*MetricsGetRequest) GetCustomerID

func (*MetricsGetRequest) GetEndDate

func (m *MetricsGetRequest) GetEndDate() types.Date

func (*MetricsGetRequest) GetInterval

func (m *MetricsGetRequest) GetInterval() components.TimeInterval

func (*MetricsGetRequest) GetMetrics

func (m *MetricsGetRequest) GetMetrics() []string

func (*MetricsGetRequest) GetOrganizationID

func (*MetricsGetRequest) GetProductID

func (*MetricsGetRequest) GetStartDate

func (m *MetricsGetRequest) GetStartDate() types.Date

func (*MetricsGetRequest) GetTimezone

func (m *MetricsGetRequest) GetTimezone() *string

func (MetricsGetRequest) MarshalJSON

func (m MetricsGetRequest) MarshalJSON() ([]byte, error)

func (*MetricsGetRequest) UnmarshalJSON

func (m *MetricsGetRequest) UnmarshalJSON(data []byte) error

type MetricsGetResponse

type MetricsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MetricsResponse *components.MetricsResponse
}

func (*MetricsGetResponse) GetHTTPMeta

func (m *MetricsGetResponse) GetHTTPMeta() components.HTTPMetadata

func (*MetricsGetResponse) GetMetricsResponse

func (m *MetricsGetResponse) GetMetricsResponse() *components.MetricsResponse

type MetricsLimitsResponse

type MetricsLimitsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MetricsLimits *components.MetricsLimits
}

func (*MetricsLimitsResponse) GetHTTPMeta

func (*MetricsLimitsResponse) GetMetricsLimits

func (m *MetricsLimitsResponse) GetMetricsLimits() *components.MetricsLimits

type MetricsListDashboardsQueryParamOrganizationIDFilter

type MetricsListDashboardsQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type MetricsListDashboardsQueryParamOrganizationIDFilterType
}

MetricsListDashboardsQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateMetricsListDashboardsQueryParamOrganizationIDFilterArrayOfStr

func CreateMetricsListDashboardsQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) MetricsListDashboardsQueryParamOrganizationIDFilter

func CreateMetricsListDashboardsQueryParamOrganizationIDFilterStr

func CreateMetricsListDashboardsQueryParamOrganizationIDFilterStr(str string) MetricsListDashboardsQueryParamOrganizationIDFilter

func (MetricsListDashboardsQueryParamOrganizationIDFilter) MarshalJSON

func (*MetricsListDashboardsQueryParamOrganizationIDFilter) UnmarshalJSON

type MetricsListDashboardsQueryParamOrganizationIDFilterType

type MetricsListDashboardsQueryParamOrganizationIDFilterType string
const (
	MetricsListDashboardsQueryParamOrganizationIDFilterTypeStr        MetricsListDashboardsQueryParamOrganizationIDFilterType = "str"
	MetricsListDashboardsQueryParamOrganizationIDFilterTypeArrayOfStr MetricsListDashboardsQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type MetricsListDashboardsRequest

type MetricsListDashboardsRequest struct {
	// Filter by organization ID.
	OrganizationID *MetricsListDashboardsQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
}

func (*MetricsListDashboardsRequest) GetOrganizationID

type MetricsListDashboardsResponse

type MetricsListDashboardsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ResponseMetricsListDashboards []components.MetricDashboardSchema
}

func (*MetricsListDashboardsResponse) GetHTTPMeta

func (*MetricsListDashboardsResponse) GetResponseMetricsListDashboards

func (m *MetricsListDashboardsResponse) GetResponseMetricsListDashboards() []components.MetricDashboardSchema

type MetricsUpdateDashboardRequest

type MetricsUpdateDashboardRequest struct {
	// The metric dashboard ID.
	ID                    string                           `pathParam:"style=simple,explode=false,name=id"`
	MetricDashboardUpdate components.MetricDashboardUpdate `request:"mediaType=application/json"`
}

func (*MetricsUpdateDashboardRequest) GetID

func (*MetricsUpdateDashboardRequest) GetMetricDashboardUpdate

func (m *MetricsUpdateDashboardRequest) GetMetricDashboardUpdate() components.MetricDashboardUpdate

type MetricsUpdateDashboardResponse

type MetricsUpdateDashboardResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MetricDashboardSchema *components.MetricDashboardSchema
}

func (*MetricsUpdateDashboardResponse) GetHTTPMeta

func (*MetricsUpdateDashboardResponse) GetMetricDashboardSchema

func (m *MetricsUpdateDashboardResponse) GetMetricDashboardSchema() *components.MetricDashboardSchema

type NameFilter

type NameFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type NameFilterType
}

NameFilter - Filter by event name.

func CreateNameFilterArrayOfStr

func CreateNameFilterArrayOfStr(arrayOfStr []string) NameFilter

func CreateNameFilterStr

func CreateNameFilterStr(str string) NameFilter

func (NameFilter) MarshalJSON

func (u NameFilter) MarshalJSON() ([]byte, error)

func (*NameFilter) UnmarshalJSON

func (u *NameFilter) UnmarshalJSON(data []byte) error

type NameFilterType

type NameFilterType string
const (
	NameFilterTypeStr        NameFilterType = "str"
	NameFilterTypeArrayOfStr NameFilterType = "arrayOfStr"
)

type Oauth2AuthorizeResponse

type Oauth2AuthorizeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ResponseOauth2Authorize *Oauth2AuthorizeResponseOauth2Authorize
}

func (*Oauth2AuthorizeResponse) GetHTTPMeta

func (*Oauth2AuthorizeResponse) GetResponseOauth2Authorize

func (o *Oauth2AuthorizeResponse) GetResponseOauth2Authorize() *Oauth2AuthorizeResponseOauth2Authorize

func (*Oauth2AuthorizeResponse) GetResponseOauth2AuthorizeOrganization

func (o *Oauth2AuthorizeResponse) GetResponseOauth2AuthorizeOrganization() *components.AuthorizeResponseOrganization

func (*Oauth2AuthorizeResponse) GetResponseOauth2AuthorizeUser

func (o *Oauth2AuthorizeResponse) GetResponseOauth2AuthorizeUser() *components.AuthorizeResponseUser

type Oauth2AuthorizeResponseOauth2Authorize

type Oauth2AuthorizeResponseOauth2Authorize struct {
	AuthorizeResponseUser         *components.AuthorizeResponseUser         `queryParam:"inline" union:"member"`
	AuthorizeResponseOrganization *components.AuthorizeResponseOrganization `queryParam:"inline" union:"member"`

	Type Oauth2AuthorizeResponseOauth2AuthorizeType
}

Oauth2AuthorizeResponseOauth2Authorize - Successful Response

func (Oauth2AuthorizeResponseOauth2Authorize) MarshalJSON

func (u Oauth2AuthorizeResponseOauth2Authorize) MarshalJSON() ([]byte, error)

func (*Oauth2AuthorizeResponseOauth2Authorize) UnmarshalJSON

func (u *Oauth2AuthorizeResponseOauth2Authorize) UnmarshalJSON(data []byte) error

type Oauth2AuthorizeResponseOauth2AuthorizeType

type Oauth2AuthorizeResponseOauth2AuthorizeType string
const (
	Oauth2AuthorizeResponseOauth2AuthorizeTypeUser         Oauth2AuthorizeResponseOauth2AuthorizeType = "user"
	Oauth2AuthorizeResponseOauth2AuthorizeTypeOrganization Oauth2AuthorizeResponseOauth2AuthorizeType = "organization"
)

type Oauth2ClientsOauth2CreateClientResponse

type Oauth2ClientsOauth2CreateClientResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*Oauth2ClientsOauth2CreateClientResponse) GetAny

func (*Oauth2ClientsOauth2CreateClientResponse) GetHTTPMeta

type Oauth2ClientsOauth2DeleteClientRequest

type Oauth2ClientsOauth2DeleteClientRequest struct {
	ClientID string `pathParam:"style=simple,explode=false,name=client_id"`
}

func (*Oauth2ClientsOauth2DeleteClientRequest) GetClientID

type Oauth2ClientsOauth2DeleteClientResponse

type Oauth2ClientsOauth2DeleteClientResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*Oauth2ClientsOauth2DeleteClientResponse) GetAny

func (*Oauth2ClientsOauth2DeleteClientResponse) GetHTTPMeta

type Oauth2ClientsOauth2GetClientRequest

type Oauth2ClientsOauth2GetClientRequest struct {
	ClientID string `pathParam:"style=simple,explode=false,name=client_id"`
}

func (*Oauth2ClientsOauth2GetClientRequest) GetClientID

type Oauth2ClientsOauth2GetClientResponse

type Oauth2ClientsOauth2GetClientResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*Oauth2ClientsOauth2GetClientResponse) GetAny

func (*Oauth2ClientsOauth2GetClientResponse) GetHTTPMeta

type Oauth2ClientsOauth2UpdateClientRequest

type Oauth2ClientsOauth2UpdateClientRequest struct {
	ClientID                        string                                     `pathParam:"style=simple,explode=false,name=client_id"`
	OAuth2ClientConfigurationUpdate components.OAuth2ClientConfigurationUpdate `request:"mediaType=application/json"`
}

func (*Oauth2ClientsOauth2UpdateClientRequest) GetClientID

func (*Oauth2ClientsOauth2UpdateClientRequest) GetOAuth2ClientConfigurationUpdate

type Oauth2ClientsOauth2UpdateClientResponse

type Oauth2ClientsOauth2UpdateClientResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*Oauth2ClientsOauth2UpdateClientResponse) GetAny

func (*Oauth2ClientsOauth2UpdateClientResponse) GetHTTPMeta

type Oauth2IntrospectTokenResponse

type Oauth2IntrospectTokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	IntrospectTokenResponse *components.IntrospectTokenResponse
}

func (*Oauth2IntrospectTokenResponse) GetHTTPMeta

func (*Oauth2IntrospectTokenResponse) GetIntrospectTokenResponse

func (o *Oauth2IntrospectTokenResponse) GetIntrospectTokenResponse() *components.IntrospectTokenResponse

type Oauth2RequestTokenRequestBody

type Oauth2RequestTokenRequestBody struct {
	AuthorizationCodeTokenRequest *components.AuthorizationCodeTokenRequest `queryParam:"inline" union:"member"`
	RefreshTokenRequest           *components.RefreshTokenRequest           `queryParam:"inline" union:"member"`
	WebTokenRequest               *components.WebTokenRequest               `queryParam:"inline" union:"member"`

	Type Oauth2RequestTokenRequestBodyType
}

func CreateOauth2RequestTokenRequestBodyAuthorizationCodeTokenRequest

func CreateOauth2RequestTokenRequestBodyAuthorizationCodeTokenRequest(authorizationCodeTokenRequest components.AuthorizationCodeTokenRequest) Oauth2RequestTokenRequestBody

func CreateOauth2RequestTokenRequestBodyRefreshTokenRequest

func CreateOauth2RequestTokenRequestBodyRefreshTokenRequest(refreshTokenRequest components.RefreshTokenRequest) Oauth2RequestTokenRequestBody

func CreateOauth2RequestTokenRequestBodyWebTokenRequest

func CreateOauth2RequestTokenRequestBodyWebTokenRequest(webTokenRequest components.WebTokenRequest) Oauth2RequestTokenRequestBody

func (Oauth2RequestTokenRequestBody) MarshalJSON

func (u Oauth2RequestTokenRequestBody) MarshalJSON() ([]byte, error)

func (*Oauth2RequestTokenRequestBody) UnmarshalJSON

func (u *Oauth2RequestTokenRequestBody) UnmarshalJSON(data []byte) error

type Oauth2RequestTokenRequestBodyType

type Oauth2RequestTokenRequestBodyType string
const (
	Oauth2RequestTokenRequestBodyTypeAuthorizationCodeTokenRequest Oauth2RequestTokenRequestBodyType = "AuthorizationCodeTokenRequest"
	Oauth2RequestTokenRequestBodyTypeRefreshTokenRequest           Oauth2RequestTokenRequestBodyType = "RefreshTokenRequest"
	Oauth2RequestTokenRequestBodyTypeWebTokenRequest               Oauth2RequestTokenRequestBodyType = "WebTokenRequest"
)

type Oauth2RequestTokenResponse

type Oauth2RequestTokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenResponse *components.TokenResponse
}

func (*Oauth2RequestTokenResponse) GetHTTPMeta

func (*Oauth2RequestTokenResponse) GetTokenResponse

func (o *Oauth2RequestTokenResponse) GetTokenResponse() *components.TokenResponse

type Oauth2RevokeTokenResponse

type Oauth2RevokeTokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	RevokeTokenResponse *components.RevokeTokenResponse
}

func (*Oauth2RevokeTokenResponse) GetHTTPMeta

func (*Oauth2RevokeTokenResponse) GetRevokeTokenResponse

func (o *Oauth2RevokeTokenResponse) GetRevokeTokenResponse() *components.RevokeTokenResponse

type Oauth2UserinfoResponse

type Oauth2UserinfoResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ResponseOauth2Userinfo *Oauth2UserinfoResponseOauth2Userinfo
}

func (*Oauth2UserinfoResponse) GetHTTPMeta

func (*Oauth2UserinfoResponse) GetResponseOauth2Userinfo

func (o *Oauth2UserinfoResponse) GetResponseOauth2Userinfo() *Oauth2UserinfoResponseOauth2Userinfo

type Oauth2UserinfoResponseOauth2Userinfo

type Oauth2UserinfoResponseOauth2Userinfo struct {
	UserInfoUser         *components.UserInfoUser         `queryParam:"inline" union:"member"`
	UserInfoOrganization *components.UserInfoOrganization `queryParam:"inline" union:"member"`

	Type Oauth2UserinfoResponseOauth2UserinfoType
}

Oauth2UserinfoResponseOauth2Userinfo - Successful Response

func CreateOauth2UserinfoResponseOauth2UserinfoUserInfoOrganization

func CreateOauth2UserinfoResponseOauth2UserinfoUserInfoOrganization(userInfoOrganization components.UserInfoOrganization) Oauth2UserinfoResponseOauth2Userinfo

func CreateOauth2UserinfoResponseOauth2UserinfoUserInfoUser

func CreateOauth2UserinfoResponseOauth2UserinfoUserInfoUser(userInfoUser components.UserInfoUser) Oauth2UserinfoResponseOauth2Userinfo

func (Oauth2UserinfoResponseOauth2Userinfo) MarshalJSON

func (u Oauth2UserinfoResponseOauth2Userinfo) MarshalJSON() ([]byte, error)

func (*Oauth2UserinfoResponseOauth2Userinfo) UnmarshalJSON

func (u *Oauth2UserinfoResponseOauth2Userinfo) UnmarshalJSON(data []byte) error

type Oauth2UserinfoResponseOauth2UserinfoType

type Oauth2UserinfoResponseOauth2UserinfoType string
const (
	Oauth2UserinfoResponseOauth2UserinfoTypeUserInfoUser         Oauth2UserinfoResponseOauth2UserinfoType = "UserInfoUser"
	Oauth2UserinfoResponseOauth2UserinfoTypeUserInfoOrganization Oauth2UserinfoResponseOauth2UserinfoType = "UserInfoOrganization"
)

type Option

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithOperationTimeout

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithTemplatedServerURL

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options

type Options struct {
	ServerURL            *string
	Retries              *retry.Config
	Timeout              *time.Duration
	AcceptHeaderOverride *AcceptHeaderEnum
	URLOverride          *string
	SetHeaders           map[string]string
}

type OrderIDFilter

type OrderIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrderIDFilterType
}

OrderIDFilter - Filter by order ID.

func CreateOrderIDFilterArrayOfStr

func CreateOrderIDFilterArrayOfStr(arrayOfStr []string) OrderIDFilter

func CreateOrderIDFilterStr

func CreateOrderIDFilterStr(str string) OrderIDFilter

func (OrderIDFilter) MarshalJSON

func (u OrderIDFilter) MarshalJSON() ([]byte, error)

func (*OrderIDFilter) UnmarshalJSON

func (u *OrderIDFilter) UnmarshalJSON(data []byte) error

type OrderIDFilterType

type OrderIDFilterType string
const (
	OrderIDFilterTypeStr        OrderIDFilterType = "str"
	OrderIDFilterTypeArrayOfStr OrderIDFilterType = "arrayOfStr"
)

type OrdersExportQueryParamOrganizationIDFilter

type OrdersExportQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersExportQueryParamOrganizationIDFilterType
}

OrdersExportQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateOrdersExportQueryParamOrganizationIDFilterArrayOfStr

func CreateOrdersExportQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) OrdersExportQueryParamOrganizationIDFilter

func CreateOrdersExportQueryParamOrganizationIDFilterStr

func CreateOrdersExportQueryParamOrganizationIDFilterStr(str string) OrdersExportQueryParamOrganizationIDFilter

func (OrdersExportQueryParamOrganizationIDFilter) MarshalJSON

func (*OrdersExportQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *OrdersExportQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type OrdersExportQueryParamOrganizationIDFilterType

type OrdersExportQueryParamOrganizationIDFilterType string
const (
	OrdersExportQueryParamOrganizationIDFilterTypeStr        OrdersExportQueryParamOrganizationIDFilterType = "str"
	OrdersExportQueryParamOrganizationIDFilterTypeArrayOfStr OrdersExportQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type OrdersExportQueryParamProductIDFilter

type OrdersExportQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersExportQueryParamProductIDFilterType
}

OrdersExportQueryParamProductIDFilter - Filter by product ID.

func CreateOrdersExportQueryParamProductIDFilterArrayOfStr

func CreateOrdersExportQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) OrdersExportQueryParamProductIDFilter

func CreateOrdersExportQueryParamProductIDFilterStr

func CreateOrdersExportQueryParamProductIDFilterStr(str string) OrdersExportQueryParamProductIDFilter

func (OrdersExportQueryParamProductIDFilter) MarshalJSON

func (u OrdersExportQueryParamProductIDFilter) MarshalJSON() ([]byte, error)

func (*OrdersExportQueryParamProductIDFilter) UnmarshalJSON

func (u *OrdersExportQueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type OrdersExportQueryParamProductIDFilterType

type OrdersExportQueryParamProductIDFilterType string
const (
	OrdersExportQueryParamProductIDFilterTypeStr        OrdersExportQueryParamProductIDFilterType = "str"
	OrdersExportQueryParamProductIDFilterTypeArrayOfStr OrdersExportQueryParamProductIDFilterType = "arrayOfStr"
)

type OrdersExportRequest

type OrdersExportRequest struct {
	// Filter by organization ID.
	OrganizationID *OrdersExportQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *OrdersExportQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
}

func (*OrdersExportRequest) GetOrganizationID

func (*OrdersExportRequest) GetProductID

type OrdersExportResponse

type OrdersExportResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
	// Successful Response
	Res *string
}

func (*OrdersExportResponse) GetAny

func (o *OrdersExportResponse) GetAny() any

func (*OrdersExportResponse) GetHTTPMeta

func (o *OrdersExportResponse) GetHTTPMeta() components.HTTPMetadata

func (*OrdersExportResponse) GetRes

func (o *OrdersExportResponse) GetRes() *string

type OrdersGenerateInvoiceRequest

type OrdersGenerateInvoiceRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*OrdersGenerateInvoiceRequest) GetID

type OrdersGenerateInvoiceResponse

type OrdersGenerateInvoiceResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
}

func (*OrdersGenerateInvoiceResponse) GetAny

func (o *OrdersGenerateInvoiceResponse) GetAny() any

func (*OrdersGenerateInvoiceResponse) GetHTTPMeta

type OrdersGetRequest

type OrdersGetRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*OrdersGetRequest) GetID

func (o *OrdersGetRequest) GetID() string

type OrdersGetResponse

type OrdersGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Order *components.Order
}

func (*OrdersGetResponse) GetHTTPMeta

func (o *OrdersGetResponse) GetHTTPMeta() components.HTTPMetadata

func (*OrdersGetResponse) GetOrder

func (o *OrdersGetResponse) GetOrder() *components.Order

type OrdersInvoiceRequest

type OrdersInvoiceRequest struct {
	// The order ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*OrdersInvoiceRequest) GetID

func (o *OrdersInvoiceRequest) GetID() string

type OrdersInvoiceResponse

type OrdersInvoiceResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	OrderInvoice *components.OrderInvoice
}

func (*OrdersInvoiceResponse) GetHTTPMeta

func (*OrdersInvoiceResponse) GetOrderInvoice

func (o *OrdersInvoiceResponse) GetOrderInvoice() *components.OrderInvoice

type OrdersListQueryParamCustomerIDFilter

type OrdersListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersListQueryParamCustomerIDFilterType
}

OrdersListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateOrdersListQueryParamCustomerIDFilterArrayOfStr

func CreateOrdersListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) OrdersListQueryParamCustomerIDFilter

func CreateOrdersListQueryParamCustomerIDFilterStr

func CreateOrdersListQueryParamCustomerIDFilterStr(str string) OrdersListQueryParamCustomerIDFilter

func (OrdersListQueryParamCustomerIDFilter) MarshalJSON

func (u OrdersListQueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*OrdersListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *OrdersListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type OrdersListQueryParamCustomerIDFilterType

type OrdersListQueryParamCustomerIDFilterType string
const (
	OrdersListQueryParamCustomerIDFilterTypeStr        OrdersListQueryParamCustomerIDFilterType = "str"
	OrdersListQueryParamCustomerIDFilterTypeArrayOfStr OrdersListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type OrdersListQueryParamExternalCustomerIDFilter

type OrdersListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersListQueryParamExternalCustomerIDFilterType
}

OrdersListQueryParamExternalCustomerIDFilter - Filter by customer external ID.

func CreateOrdersListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateOrdersListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) OrdersListQueryParamExternalCustomerIDFilter

func CreateOrdersListQueryParamExternalCustomerIDFilterStr

func CreateOrdersListQueryParamExternalCustomerIDFilterStr(str string) OrdersListQueryParamExternalCustomerIDFilter

func (OrdersListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*OrdersListQueryParamExternalCustomerIDFilter) UnmarshalJSON

func (u *OrdersListQueryParamExternalCustomerIDFilter) UnmarshalJSON(data []byte) error

type OrdersListQueryParamExternalCustomerIDFilterType

type OrdersListQueryParamExternalCustomerIDFilterType string
const (
	OrdersListQueryParamExternalCustomerIDFilterTypeStr        OrdersListQueryParamExternalCustomerIDFilterType = "str"
	OrdersListQueryParamExternalCustomerIDFilterTypeArrayOfStr OrdersListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type OrdersListQueryParamOrganizationIDFilter

type OrdersListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersListQueryParamOrganizationIDFilterType
}

OrdersListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateOrdersListQueryParamOrganizationIDFilterArrayOfStr

func CreateOrdersListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) OrdersListQueryParamOrganizationIDFilter

func CreateOrdersListQueryParamOrganizationIDFilterStr

func CreateOrdersListQueryParamOrganizationIDFilterStr(str string) OrdersListQueryParamOrganizationIDFilter

func (OrdersListQueryParamOrganizationIDFilter) MarshalJSON

func (*OrdersListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *OrdersListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type OrdersListQueryParamOrganizationIDFilterType

type OrdersListQueryParamOrganizationIDFilterType string
const (
	OrdersListQueryParamOrganizationIDFilterTypeStr        OrdersListQueryParamOrganizationIDFilterType = "str"
	OrdersListQueryParamOrganizationIDFilterTypeArrayOfStr OrdersListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type OrdersListQueryParamProductIDFilter

type OrdersListQueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrdersListQueryParamProductIDFilterType
}

OrdersListQueryParamProductIDFilter - Filter by product ID.

func CreateOrdersListQueryParamProductIDFilterArrayOfStr

func CreateOrdersListQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) OrdersListQueryParamProductIDFilter

func CreateOrdersListQueryParamProductIDFilterStr

func CreateOrdersListQueryParamProductIDFilterStr(str string) OrdersListQueryParamProductIDFilter

func (OrdersListQueryParamProductIDFilter) MarshalJSON

func (u OrdersListQueryParamProductIDFilter) MarshalJSON() ([]byte, error)

func (*OrdersListQueryParamProductIDFilter) UnmarshalJSON

func (u *OrdersListQueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type OrdersListQueryParamProductIDFilterType

type OrdersListQueryParamProductIDFilterType string
const (
	OrdersListQueryParamProductIDFilterTypeStr        OrdersListQueryParamProductIDFilterType = "str"
	OrdersListQueryParamProductIDFilterTypeArrayOfStr OrdersListQueryParamProductIDFilterType = "arrayOfStr"
)

type OrdersListRequest

type OrdersListRequest struct {
	// Filter by organization ID.
	OrganizationID *OrdersListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *OrdersListQueryParamProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by product billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
	ProductBillingType *ProductBillingTypeFilter `queryParam:"style=form,explode=true,name=product_billing_type"`
	// Filter by discount ID.
	DiscountID *QueryParamDiscountIDFilter `queryParam:"style=form,explode=true,name=discount_id"`
	// Filter by customer ID.
	CustomerID *OrdersListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *OrdersListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by checkout ID.
	CheckoutID *CheckoutIDFilter `queryParam:"style=form,explode=true,name=checkout_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.OrderSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*OrdersListRequest) GetCheckoutID

func (o *OrdersListRequest) GetCheckoutID() *CheckoutIDFilter

func (*OrdersListRequest) GetCustomerID

func (*OrdersListRequest) GetDiscountID

func (o *OrdersListRequest) GetDiscountID() *QueryParamDiscountIDFilter

func (*OrdersListRequest) GetExternalCustomerID

func (*OrdersListRequest) GetLimit

func (o *OrdersListRequest) GetLimit() *int64

func (*OrdersListRequest) GetMetadata

func (o *OrdersListRequest) GetMetadata() map[string]components.MetadataQuery

func (*OrdersListRequest) GetOrganizationID

func (*OrdersListRequest) GetPage

func (o *OrdersListRequest) GetPage() *int64

func (*OrdersListRequest) GetProductBillingType

func (o *OrdersListRequest) GetProductBillingType() *ProductBillingTypeFilter

func (*OrdersListRequest) GetProductID

func (*OrdersListRequest) GetSorting

func (OrdersListRequest) MarshalJSON

func (o OrdersListRequest) MarshalJSON() ([]byte, error)

func (*OrdersListRequest) UnmarshalJSON

func (o *OrdersListRequest) UnmarshalJSON(data []byte) error

type OrdersListResponse

type OrdersListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceOrder *components.ListResourceOrder

	Next func() (*OrdersListResponse, error)
}

func (*OrdersListResponse) GetHTTPMeta

func (o *OrdersListResponse) GetHTTPMeta() components.HTTPMetadata

func (*OrdersListResponse) GetListResourceOrder

func (o *OrdersListResponse) GetListResourceOrder() *components.ListResourceOrder

type OrdersUpdateRequest

type OrdersUpdateRequest struct {
	// The order ID.
	ID          string                 `pathParam:"style=simple,explode=false,name=id"`
	OrderUpdate components.OrderUpdate `request:"mediaType=application/json"`
}

func (*OrdersUpdateRequest) GetID

func (o *OrdersUpdateRequest) GetID() string

func (*OrdersUpdateRequest) GetOrderUpdate

func (o *OrdersUpdateRequest) GetOrderUpdate() components.OrderUpdate

type OrdersUpdateResponse

type OrdersUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Order *components.Order
}

func (*OrdersUpdateResponse) GetHTTPMeta

func (o *OrdersUpdateResponse) GetHTTPMeta() components.HTTPMetadata

func (*OrdersUpdateResponse) GetOrder

func (o *OrdersUpdateResponse) GetOrder() *components.Order

type OrganizationAccessTokensCreateResponse

type OrganizationAccessTokensCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	OrganizationAccessTokenCreateResponse *components.OrganizationAccessTokenCreateResponse
}

func (*OrganizationAccessTokensCreateResponse) GetHTTPMeta

func (*OrganizationAccessTokensCreateResponse) GetOrganizationAccessTokenCreateResponse

func (o *OrganizationAccessTokensCreateResponse) GetOrganizationAccessTokenCreateResponse() *components.OrganizationAccessTokenCreateResponse

type OrganizationAccessTokensDeleteRequest

type OrganizationAccessTokensDeleteRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*OrganizationAccessTokensDeleteRequest) GetID

type OrganizationAccessTokensDeleteResponse

type OrganizationAccessTokensDeleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*OrganizationAccessTokensDeleteResponse) GetHTTPMeta

type OrganizationAccessTokensListQueryParamOrganizationIDFilter

type OrganizationAccessTokensListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrganizationAccessTokensListQueryParamOrganizationIDFilterType
}

OrganizationAccessTokensListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateOrganizationAccessTokensListQueryParamOrganizationIDFilterArrayOfStr

func CreateOrganizationAccessTokensListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) OrganizationAccessTokensListQueryParamOrganizationIDFilter

func (OrganizationAccessTokensListQueryParamOrganizationIDFilter) MarshalJSON

func (*OrganizationAccessTokensListQueryParamOrganizationIDFilter) UnmarshalJSON

type OrganizationAccessTokensListQueryParamOrganizationIDFilterType

type OrganizationAccessTokensListQueryParamOrganizationIDFilterType string
const (
	OrganizationAccessTokensListQueryParamOrganizationIDFilterTypeStr        OrganizationAccessTokensListQueryParamOrganizationIDFilterType = "str"
	OrganizationAccessTokensListQueryParamOrganizationIDFilterTypeArrayOfStr OrganizationAccessTokensListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type OrganizationAccessTokensListRequest

type OrganizationAccessTokensListRequest struct {
	// Filter by organization ID.
	OrganizationID *OrganizationAccessTokensListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.OrganizationAccessTokenSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*OrganizationAccessTokensListRequest) GetLimit

func (*OrganizationAccessTokensListRequest) GetOrganizationID

func (*OrganizationAccessTokensListRequest) GetPage

func (*OrganizationAccessTokensListRequest) GetSorting

func (OrganizationAccessTokensListRequest) MarshalJSON

func (o OrganizationAccessTokensListRequest) MarshalJSON() ([]byte, error)

func (*OrganizationAccessTokensListRequest) UnmarshalJSON

func (o *OrganizationAccessTokensListRequest) UnmarshalJSON(data []byte) error

type OrganizationAccessTokensListResponse

type OrganizationAccessTokensListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceOrganizationAccessToken *components.ListResourceOrganizationAccessToken

	Next func() (*OrganizationAccessTokensListResponse, error)
}

func (*OrganizationAccessTokensListResponse) GetHTTPMeta

func (*OrganizationAccessTokensListResponse) GetListResourceOrganizationAccessToken

func (o *OrganizationAccessTokensListResponse) GetListResourceOrganizationAccessToken() *components.ListResourceOrganizationAccessToken

type OrganizationAccessTokensUpdateRequest

type OrganizationAccessTokensUpdateRequest struct {
	ID                            string                                   `pathParam:"style=simple,explode=false,name=id"`
	OrganizationAccessTokenUpdate components.OrganizationAccessTokenUpdate `request:"mediaType=application/json"`
}

func (*OrganizationAccessTokensUpdateRequest) GetID

func (*OrganizationAccessTokensUpdateRequest) GetOrganizationAccessTokenUpdate

type OrganizationAccessTokensUpdateResponse

type OrganizationAccessTokensUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	OrganizationAccessToken *components.OrganizationAccessToken
}

func (*OrganizationAccessTokensUpdateResponse) GetHTTPMeta

func (*OrganizationAccessTokensUpdateResponse) GetOrganizationAccessToken

type OrganizationID

type OrganizationID struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrganizationIDType
}

OrganizationID - Filter by organization ID.

func CreateOrganizationIDArrayOfStr

func CreateOrganizationIDArrayOfStr(arrayOfStr []string) OrganizationID

func CreateOrganizationIDStr

func CreateOrganizationIDStr(str string) OrganizationID

func (OrganizationID) MarshalJSON

func (u OrganizationID) MarshalJSON() ([]byte, error)

func (*OrganizationID) UnmarshalJSON

func (u *OrganizationID) UnmarshalJSON(data []byte) error

type OrganizationIDFilter

type OrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type OrganizationIDFilterType
}

OrganizationIDFilter - Filter by organization ID.

func CreateOrganizationIDFilterArrayOfStr

func CreateOrganizationIDFilterArrayOfStr(arrayOfStr []string) OrganizationIDFilter

func CreateOrganizationIDFilterStr

func CreateOrganizationIDFilterStr(str string) OrganizationIDFilter

func (OrganizationIDFilter) MarshalJSON

func (u OrganizationIDFilter) MarshalJSON() ([]byte, error)

func (*OrganizationIDFilter) UnmarshalJSON

func (u *OrganizationIDFilter) UnmarshalJSON(data []byte) error

type OrganizationIDFilterType

type OrganizationIDFilterType string
const (
	OrganizationIDFilterTypeStr        OrganizationIDFilterType = "str"
	OrganizationIDFilterTypeArrayOfStr OrganizationIDFilterType = "arrayOfStr"
)

type OrganizationIDType

type OrganizationIDType string
const (
	OrganizationIDTypeStr        OrganizationIDType = "str"
	OrganizationIDTypeArrayOfStr OrganizationIDType = "arrayOfStr"
)

type OrganizationsCreateResponse

type OrganizationsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Organization created.
	Organization *components.Organization
}

func (*OrganizationsCreateResponse) GetHTTPMeta

func (*OrganizationsCreateResponse) GetOrganization

func (o *OrganizationsCreateResponse) GetOrganization() *components.Organization

type OrganizationsGetRequest

type OrganizationsGetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*OrganizationsGetRequest) GetID

func (o *OrganizationsGetRequest) GetID() string

type OrganizationsGetResponse

type OrganizationsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Organization *components.Organization
}

func (*OrganizationsGetResponse) GetHTTPMeta

func (*OrganizationsGetResponse) GetOrganization

func (o *OrganizationsGetResponse) GetOrganization() *components.Organization

type OrganizationsListRequest

type OrganizationsListRequest struct {
	// Filter by slug.
	Slug *string `queryParam:"style=form,explode=true,name=slug"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.OrganizationSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*OrganizationsListRequest) GetLimit

func (o *OrganizationsListRequest) GetLimit() *int64

func (*OrganizationsListRequest) GetPage

func (o *OrganizationsListRequest) GetPage() *int64

func (*OrganizationsListRequest) GetSlug

func (o *OrganizationsListRequest) GetSlug() *string

func (*OrganizationsListRequest) GetSorting

func (OrganizationsListRequest) MarshalJSON

func (o OrganizationsListRequest) MarshalJSON() ([]byte, error)

func (*OrganizationsListRequest) UnmarshalJSON

func (o *OrganizationsListRequest) UnmarshalJSON(data []byte) error

type OrganizationsListResponse

type OrganizationsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceOrganization *components.ListResourceOrganization

	Next func() (*OrganizationsListResponse, error)
}

func (*OrganizationsListResponse) GetHTTPMeta

func (*OrganizationsListResponse) GetListResourceOrganization

func (o *OrganizationsListResponse) GetListResourceOrganization() *components.ListResourceOrganization

type OrganizationsUpdateRequest

type OrganizationsUpdateRequest struct {
	ID                 string                        `pathParam:"style=simple,explode=false,name=id"`
	OrganizationUpdate components.OrganizationUpdate `request:"mediaType=application/json"`
}

func (*OrganizationsUpdateRequest) GetID

func (*OrganizationsUpdateRequest) GetOrganizationUpdate

func (o *OrganizationsUpdateRequest) GetOrganizationUpdate() components.OrganizationUpdate

type OrganizationsUpdateResponse

type OrganizationsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Organization updated.
	Organization *components.Organization
}

func (*OrganizationsUpdateResponse) GetHTTPMeta

func (*OrganizationsUpdateResponse) GetOrganization

func (o *OrganizationsUpdateResponse) GetOrganization() *components.Organization

type PaymentsGetRequest

type PaymentsGetRequest struct {
	// The payment ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*PaymentsGetRequest) GetID

func (p *PaymentsGetRequest) GetID() string

type PaymentsGetResponse

type PaymentsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Payment *components.Payment
}

func (*PaymentsGetResponse) GetHTTPMeta

func (p *PaymentsGetResponse) GetHTTPMeta() components.HTTPMetadata

func (*PaymentsGetResponse) GetPayment

func (p *PaymentsGetResponse) GetPayment() *components.Payment

type PaymentsListQueryParamCheckoutIDFilter

type PaymentsListQueryParamCheckoutIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type PaymentsListQueryParamCheckoutIDFilterType
}

PaymentsListQueryParamCheckoutIDFilter - Filter by checkout ID.

func CreatePaymentsListQueryParamCheckoutIDFilterArrayOfStr

func CreatePaymentsListQueryParamCheckoutIDFilterArrayOfStr(arrayOfStr []string) PaymentsListQueryParamCheckoutIDFilter

func CreatePaymentsListQueryParamCheckoutIDFilterStr

func CreatePaymentsListQueryParamCheckoutIDFilterStr(str string) PaymentsListQueryParamCheckoutIDFilter

func (PaymentsListQueryParamCheckoutIDFilter) MarshalJSON

func (u PaymentsListQueryParamCheckoutIDFilter) MarshalJSON() ([]byte, error)

func (*PaymentsListQueryParamCheckoutIDFilter) UnmarshalJSON

func (u *PaymentsListQueryParamCheckoutIDFilter) UnmarshalJSON(data []byte) error

type PaymentsListQueryParamCheckoutIDFilterType

type PaymentsListQueryParamCheckoutIDFilterType string
const (
	PaymentsListQueryParamCheckoutIDFilterTypeStr        PaymentsListQueryParamCheckoutIDFilterType = "str"
	PaymentsListQueryParamCheckoutIDFilterTypeArrayOfStr PaymentsListQueryParamCheckoutIDFilterType = "arrayOfStr"
)

type PaymentsListQueryParamOrderIDFilter

type PaymentsListQueryParamOrderIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type PaymentsListQueryParamOrderIDFilterType
}

PaymentsListQueryParamOrderIDFilter - Filter by order ID.

func CreatePaymentsListQueryParamOrderIDFilterArrayOfStr

func CreatePaymentsListQueryParamOrderIDFilterArrayOfStr(arrayOfStr []string) PaymentsListQueryParamOrderIDFilter

func CreatePaymentsListQueryParamOrderIDFilterStr

func CreatePaymentsListQueryParamOrderIDFilterStr(str string) PaymentsListQueryParamOrderIDFilter

func (PaymentsListQueryParamOrderIDFilter) MarshalJSON

func (u PaymentsListQueryParamOrderIDFilter) MarshalJSON() ([]byte, error)

func (*PaymentsListQueryParamOrderIDFilter) UnmarshalJSON

func (u *PaymentsListQueryParamOrderIDFilter) UnmarshalJSON(data []byte) error

type PaymentsListQueryParamOrderIDFilterType

type PaymentsListQueryParamOrderIDFilterType string
const (
	PaymentsListQueryParamOrderIDFilterTypeStr        PaymentsListQueryParamOrderIDFilterType = "str"
	PaymentsListQueryParamOrderIDFilterTypeArrayOfStr PaymentsListQueryParamOrderIDFilterType = "arrayOfStr"
)

type PaymentsListQueryParamOrganizationIDFilter

type PaymentsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type PaymentsListQueryParamOrganizationIDFilterType
}

PaymentsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreatePaymentsListQueryParamOrganizationIDFilterArrayOfStr

func CreatePaymentsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) PaymentsListQueryParamOrganizationIDFilter

func CreatePaymentsListQueryParamOrganizationIDFilterStr

func CreatePaymentsListQueryParamOrganizationIDFilterStr(str string) PaymentsListQueryParamOrganizationIDFilter

func (PaymentsListQueryParamOrganizationIDFilter) MarshalJSON

func (*PaymentsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *PaymentsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type PaymentsListQueryParamOrganizationIDFilterType

type PaymentsListQueryParamOrganizationIDFilterType string
const (
	PaymentsListQueryParamOrganizationIDFilterTypeStr        PaymentsListQueryParamOrganizationIDFilterType = "str"
	PaymentsListQueryParamOrganizationIDFilterTypeArrayOfStr PaymentsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type PaymentsListQueryParamStatusFilter

type PaymentsListQueryParamStatusFilter struct {
	PaymentStatus        *components.PaymentStatus  `queryParam:"inline" union:"member"`
	ArrayOfPaymentStatus []components.PaymentStatus `queryParam:"inline" union:"member"`

	Type PaymentsListQueryParamStatusFilterType
}

PaymentsListQueryParamStatusFilter - Filter by payment status.

func CreatePaymentsListQueryParamStatusFilterArrayOfPaymentStatus

func CreatePaymentsListQueryParamStatusFilterArrayOfPaymentStatus(arrayOfPaymentStatus []components.PaymentStatus) PaymentsListQueryParamStatusFilter

func CreatePaymentsListQueryParamStatusFilterPaymentStatus

func CreatePaymentsListQueryParamStatusFilterPaymentStatus(paymentStatus components.PaymentStatus) PaymentsListQueryParamStatusFilter

func (PaymentsListQueryParamStatusFilter) MarshalJSON

func (u PaymentsListQueryParamStatusFilter) MarshalJSON() ([]byte, error)

func (*PaymentsListQueryParamStatusFilter) UnmarshalJSON

func (u *PaymentsListQueryParamStatusFilter) UnmarshalJSON(data []byte) error

type PaymentsListQueryParamStatusFilterType

type PaymentsListQueryParamStatusFilterType string
const (
	PaymentsListQueryParamStatusFilterTypePaymentStatus        PaymentsListQueryParamStatusFilterType = "PaymentStatus"
	PaymentsListQueryParamStatusFilterTypeArrayOfPaymentStatus PaymentsListQueryParamStatusFilterType = "arrayOfPaymentStatus"
)

type PaymentsListRequest

type PaymentsListRequest struct {
	// Filter by organization ID.
	OrganizationID *PaymentsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by checkout ID.
	CheckoutID *PaymentsListQueryParamCheckoutIDFilter `queryParam:"style=form,explode=true,name=checkout_id"`
	// Filter by order ID.
	OrderID *PaymentsListQueryParamOrderIDFilter `queryParam:"style=form,explode=true,name=order_id"`
	// Filter by payment status.
	Status *PaymentsListQueryParamStatusFilter `queryParam:"style=form,explode=true,name=status"`
	// Filter by payment method.
	Method *MethodFilter `queryParam:"style=form,explode=true,name=method"`
	// Filter by customer email.
	CustomerEmail *CustomerEmailFilter `queryParam:"style=form,explode=true,name=customer_email"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.PaymentSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*PaymentsListRequest) GetCheckoutID

func (*PaymentsListRequest) GetCustomerEmail

func (p *PaymentsListRequest) GetCustomerEmail() *CustomerEmailFilter

func (*PaymentsListRequest) GetLimit

func (p *PaymentsListRequest) GetLimit() *int64

func (*PaymentsListRequest) GetMethod

func (p *PaymentsListRequest) GetMethod() *MethodFilter

func (*PaymentsListRequest) GetOrderID

func (*PaymentsListRequest) GetOrganizationID

func (*PaymentsListRequest) GetPage

func (p *PaymentsListRequest) GetPage() *int64

func (*PaymentsListRequest) GetSorting

func (*PaymentsListRequest) GetStatus

func (PaymentsListRequest) MarshalJSON

func (p PaymentsListRequest) MarshalJSON() ([]byte, error)

func (*PaymentsListRequest) UnmarshalJSON

func (p *PaymentsListRequest) UnmarshalJSON(data []byte) error

type PaymentsListResponse

type PaymentsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourcePayment *components.ListResourcePayment

	Next func() (*PaymentsListResponse, error)
}

func (*PaymentsListResponse) GetHTTPMeta

func (p *PaymentsListResponse) GetHTTPMeta() components.HTTPMetadata

func (*PaymentsListResponse) GetListResourcePayment

func (p *PaymentsListResponse) GetListResourcePayment() *components.ListResourcePayment

type ProductBillingTypeFilter

type ProductBillingTypeFilter struct {
	ProductBillingType        *components.ProductBillingType  `queryParam:"inline" union:"member"`
	ArrayOfProductBillingType []components.ProductBillingType `queryParam:"inline" union:"member"`

	Type ProductBillingTypeFilterType
}

ProductBillingTypeFilter - Filter by product billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.

func CreateProductBillingTypeFilterArrayOfProductBillingType

func CreateProductBillingTypeFilterArrayOfProductBillingType(arrayOfProductBillingType []components.ProductBillingType) ProductBillingTypeFilter

func CreateProductBillingTypeFilterProductBillingType

func CreateProductBillingTypeFilterProductBillingType(productBillingType components.ProductBillingType) ProductBillingTypeFilter

func (ProductBillingTypeFilter) MarshalJSON

func (u ProductBillingTypeFilter) MarshalJSON() ([]byte, error)

func (*ProductBillingTypeFilter) UnmarshalJSON

func (u *ProductBillingTypeFilter) UnmarshalJSON(data []byte) error

type ProductBillingTypeFilterType

type ProductBillingTypeFilterType string
const (
	ProductBillingTypeFilterTypeProductBillingType        ProductBillingTypeFilterType = "ProductBillingType"
	ProductBillingTypeFilterTypeArrayOfProductBillingType ProductBillingTypeFilterType = "arrayOfProductBillingType"
)

type ProductIDFilter

type ProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type ProductIDFilterType
}

ProductIDFilter - Filter by product ID.

func CreateProductIDFilterArrayOfStr

func CreateProductIDFilterArrayOfStr(arrayOfStr []string) ProductIDFilter

func CreateProductIDFilterStr

func CreateProductIDFilterStr(str string) ProductIDFilter

func (ProductIDFilter) MarshalJSON

func (u ProductIDFilter) MarshalJSON() ([]byte, error)

func (*ProductIDFilter) UnmarshalJSON

func (u *ProductIDFilter) UnmarshalJSON(data []byte) error

type ProductIDFilterType

type ProductIDFilterType string
const (
	ProductIDFilterTypeStr        ProductIDFilterType = "str"
	ProductIDFilterTypeArrayOfStr ProductIDFilterType = "arrayOfStr"
)

type ProductsCreateResponse

type ProductsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Product created.
	Product *components.Product
}

func (*ProductsCreateResponse) GetHTTPMeta

func (*ProductsCreateResponse) GetProduct

func (p *ProductsCreateResponse) GetProduct() *components.Product

type ProductsGetRequest

type ProductsGetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*ProductsGetRequest) GetID

func (p *ProductsGetRequest) GetID() string

type ProductsGetResponse

type ProductsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Product *components.Product
}

func (*ProductsGetResponse) GetHTTPMeta

func (p *ProductsGetResponse) GetHTTPMeta() components.HTTPMetadata

func (*ProductsGetResponse) GetProduct

func (p *ProductsGetResponse) GetProduct() *components.Product

type ProductsListQueryParamOrganizationIDFilter

type ProductsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type ProductsListQueryParamOrganizationIDFilterType
}

ProductsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateProductsListQueryParamOrganizationIDFilterArrayOfStr

func CreateProductsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) ProductsListQueryParamOrganizationIDFilter

func CreateProductsListQueryParamOrganizationIDFilterStr

func CreateProductsListQueryParamOrganizationIDFilterStr(str string) ProductsListQueryParamOrganizationIDFilter

func (ProductsListQueryParamOrganizationIDFilter) MarshalJSON

func (*ProductsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *ProductsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type ProductsListQueryParamOrganizationIDFilterType

type ProductsListQueryParamOrganizationIDFilterType string
const (
	ProductsListQueryParamOrganizationIDFilterTypeStr        ProductsListQueryParamOrganizationIDFilterType = "str"
	ProductsListQueryParamOrganizationIDFilterTypeArrayOfStr ProductsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type ProductsListRequest

type ProductsListRequest struct {
	// Filter by product ID.
	ID *QueryParamProductIDFilter `queryParam:"style=form,explode=true,name=id"`
	// Filter by organization ID.
	OrganizationID *ProductsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product name.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Filter on archived products.
	IsArchived *bool `queryParam:"style=form,explode=true,name=is_archived"`
	// Filter on recurring products. If `true`, only subscriptions tiers are returned. If `false`, only one-time purchase products are returned.
	IsRecurring *bool `queryParam:"style=form,explode=true,name=is_recurring"`
	// Filter products granting specific benefit.
	BenefitID *BenefitIDFilter `queryParam:"style=form,explode=true,name=benefit_id"`
	// Filter by visibility.
	Visibility []components.ProductVisibility `queryParam:"style=form,explode=true,name=visibility"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.ProductSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*ProductsListRequest) GetBenefitID

func (p *ProductsListRequest) GetBenefitID() *BenefitIDFilter

func (*ProductsListRequest) GetID

func (*ProductsListRequest) GetIsArchived

func (p *ProductsListRequest) GetIsArchived() *bool

func (*ProductsListRequest) GetIsRecurring

func (p *ProductsListRequest) GetIsRecurring() *bool

func (*ProductsListRequest) GetLimit

func (p *ProductsListRequest) GetLimit() *int64

func (*ProductsListRequest) GetMetadata

func (p *ProductsListRequest) GetMetadata() map[string]components.MetadataQuery

func (*ProductsListRequest) GetOrganizationID

func (*ProductsListRequest) GetPage

func (p *ProductsListRequest) GetPage() *int64

func (*ProductsListRequest) GetQuery

func (p *ProductsListRequest) GetQuery() *string

func (*ProductsListRequest) GetSorting

func (*ProductsListRequest) GetVisibility

func (p *ProductsListRequest) GetVisibility() []components.ProductVisibility

func (ProductsListRequest) MarshalJSON

func (p ProductsListRequest) MarshalJSON() ([]byte, error)

func (*ProductsListRequest) UnmarshalJSON

func (p *ProductsListRequest) UnmarshalJSON(data []byte) error

type ProductsListResponse

type ProductsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceProduct *components.ListResourceProduct

	Next func() (*ProductsListResponse, error)
}

func (*ProductsListResponse) GetHTTPMeta

func (p *ProductsListResponse) GetHTTPMeta() components.HTTPMetadata

func (*ProductsListResponse) GetListResourceProduct

func (p *ProductsListResponse) GetListResourceProduct() *components.ListResourceProduct

type ProductsUpdateBenefitsRequest

type ProductsUpdateBenefitsRequest struct {
	ID                    string                           `pathParam:"style=simple,explode=false,name=id"`
	ProductBenefitsUpdate components.ProductBenefitsUpdate `request:"mediaType=application/json"`
}

func (*ProductsUpdateBenefitsRequest) GetID

func (*ProductsUpdateBenefitsRequest) GetProductBenefitsUpdate

func (p *ProductsUpdateBenefitsRequest) GetProductBenefitsUpdate() components.ProductBenefitsUpdate

type ProductsUpdateBenefitsResponse

type ProductsUpdateBenefitsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Product benefits updated.
	Product *components.Product
}

func (*ProductsUpdateBenefitsResponse) GetHTTPMeta

func (*ProductsUpdateBenefitsResponse) GetProduct

type ProductsUpdateRequest

type ProductsUpdateRequest struct {
	ID            string                   `pathParam:"style=simple,explode=false,name=id"`
	ProductUpdate components.ProductUpdate `request:"mediaType=application/json"`
}

func (*ProductsUpdateRequest) GetID

func (p *ProductsUpdateRequest) GetID() string

func (*ProductsUpdateRequest) GetProductUpdate

func (p *ProductsUpdateRequest) GetProductUpdate() components.ProductUpdate

type ProductsUpdateResponse

type ProductsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Product updated.
	Product *components.Product
}

func (*ProductsUpdateResponse) GetHTTPMeta

func (*ProductsUpdateResponse) GetProduct

func (p *ProductsUpdateResponse) GetProduct() *components.Product

type QueryParamBenefitIDFilter

type QueryParamBenefitIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamBenefitIDFilterType
}

QueryParamBenefitIDFilter - Filter by benefit ID.

func CreateQueryParamBenefitIDFilterArrayOfStr

func CreateQueryParamBenefitIDFilterArrayOfStr(arrayOfStr []string) QueryParamBenefitIDFilter

func CreateQueryParamBenefitIDFilterStr

func CreateQueryParamBenefitIDFilterStr(str string) QueryParamBenefitIDFilter

func (QueryParamBenefitIDFilter) MarshalJSON

func (u QueryParamBenefitIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamBenefitIDFilter) UnmarshalJSON

func (u *QueryParamBenefitIDFilter) UnmarshalJSON(data []byte) error

type QueryParamBenefitIDFilterType

type QueryParamBenefitIDFilterType string
const (
	QueryParamBenefitIDFilterTypeStr        QueryParamBenefitIDFilterType = "str"
	QueryParamBenefitIDFilterTypeArrayOfStr QueryParamBenefitIDFilterType = "arrayOfStr"
)

type QueryParamBenefitTypeFilter

type QueryParamBenefitTypeFilter struct {
	BenefitType        *components.BenefitType  `queryParam:"inline" union:"member"`
	ArrayOfBenefitType []components.BenefitType `queryParam:"inline" union:"member"`

	Type QueryParamBenefitTypeFilterType
}

QueryParamBenefitTypeFilter - Filter by benefit type.

func CreateQueryParamBenefitTypeFilterArrayOfBenefitType

func CreateQueryParamBenefitTypeFilterArrayOfBenefitType(arrayOfBenefitType []components.BenefitType) QueryParamBenefitTypeFilter

func CreateQueryParamBenefitTypeFilterBenefitType

func CreateQueryParamBenefitTypeFilterBenefitType(benefitType components.BenefitType) QueryParamBenefitTypeFilter

func (QueryParamBenefitTypeFilter) MarshalJSON

func (u QueryParamBenefitTypeFilter) MarshalJSON() ([]byte, error)

func (*QueryParamBenefitTypeFilter) UnmarshalJSON

func (u *QueryParamBenefitTypeFilter) UnmarshalJSON(data []byte) error

type QueryParamBenefitTypeFilterType

type QueryParamBenefitTypeFilterType string
const (
	QueryParamBenefitTypeFilterTypeBenefitType        QueryParamBenefitTypeFilterType = "BenefitType"
	QueryParamBenefitTypeFilterTypeArrayOfBenefitType QueryParamBenefitTypeFilterType = "arrayOfBenefitType"
)

type QueryParamCheckoutIDFilter

type QueryParamCheckoutIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamCheckoutIDFilterType
}

QueryParamCheckoutIDFilter - Filter by checkout ID.

func CreateQueryParamCheckoutIDFilterArrayOfStr

func CreateQueryParamCheckoutIDFilterArrayOfStr(arrayOfStr []string) QueryParamCheckoutIDFilter

func CreateQueryParamCheckoutIDFilterStr

func CreateQueryParamCheckoutIDFilterStr(str string) QueryParamCheckoutIDFilter

func (QueryParamCheckoutIDFilter) MarshalJSON

func (u QueryParamCheckoutIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamCheckoutIDFilter) UnmarshalJSON

func (u *QueryParamCheckoutIDFilter) UnmarshalJSON(data []byte) error

type QueryParamCheckoutIDFilterType

type QueryParamCheckoutIDFilterType string
const (
	QueryParamCheckoutIDFilterTypeStr        QueryParamCheckoutIDFilterType = "str"
	QueryParamCheckoutIDFilterTypeArrayOfStr QueryParamCheckoutIDFilterType = "arrayOfStr"
)

type QueryParamCustomerIDFilter

type QueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamCustomerIDFilterType
}

QueryParamCustomerIDFilter - Filter by customer.

func CreateQueryParamCustomerIDFilterArrayOfStr

func CreateQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) QueryParamCustomerIDFilter

func CreateQueryParamCustomerIDFilterStr

func CreateQueryParamCustomerIDFilterStr(str string) QueryParamCustomerIDFilter

func (QueryParamCustomerIDFilter) MarshalJSON

func (u QueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamCustomerIDFilter) UnmarshalJSON

func (u *QueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type QueryParamCustomerIDFilterType

type QueryParamCustomerIDFilterType string
const (
	QueryParamCustomerIDFilterTypeStr        QueryParamCustomerIDFilterType = "str"
	QueryParamCustomerIDFilterTypeArrayOfStr QueryParamCustomerIDFilterType = "arrayOfStr"
)

type QueryParamDiscountIDFilter

type QueryParamDiscountIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamDiscountIDFilterType
}

QueryParamDiscountIDFilter - Filter by discount ID.

func CreateQueryParamDiscountIDFilterArrayOfStr

func CreateQueryParamDiscountIDFilterArrayOfStr(arrayOfStr []string) QueryParamDiscountIDFilter

func CreateQueryParamDiscountIDFilterStr

func CreateQueryParamDiscountIDFilterStr(str string) QueryParamDiscountIDFilter

func (QueryParamDiscountIDFilter) MarshalJSON

func (u QueryParamDiscountIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamDiscountIDFilter) UnmarshalJSON

func (u *QueryParamDiscountIDFilter) UnmarshalJSON(data []byte) error

type QueryParamDiscountIDFilterType

type QueryParamDiscountIDFilterType string
const (
	QueryParamDiscountIDFilterTypeStr        QueryParamDiscountIDFilterType = "str"
	QueryParamDiscountIDFilterTypeArrayOfStr QueryParamDiscountIDFilterType = "arrayOfStr"
)

type QueryParamExternalCustomerIDFilter

type QueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamExternalCustomerIDFilterType
}

QueryParamExternalCustomerIDFilter - Filter by customer external ID.

func CreateQueryParamExternalCustomerIDFilterArrayOfStr

func CreateQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) QueryParamExternalCustomerIDFilter

func CreateQueryParamExternalCustomerIDFilterStr

func CreateQueryParamExternalCustomerIDFilterStr(str string) QueryParamExternalCustomerIDFilter

func (QueryParamExternalCustomerIDFilter) MarshalJSON

func (u QueryParamExternalCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamExternalCustomerIDFilter) UnmarshalJSON

func (u *QueryParamExternalCustomerIDFilter) UnmarshalJSON(data []byte) error

type QueryParamExternalCustomerIDFilterType

type QueryParamExternalCustomerIDFilterType string
const (
	QueryParamExternalCustomerIDFilterTypeStr        QueryParamExternalCustomerIDFilterType = "str"
	QueryParamExternalCustomerIDFilterTypeArrayOfStr QueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type QueryParamMemberIDFilter

type QueryParamMemberIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamMemberIDFilterType
}

QueryParamMemberIDFilter - Filter by member ID.

func CreateQueryParamMemberIDFilterArrayOfStr

func CreateQueryParamMemberIDFilterArrayOfStr(arrayOfStr []string) QueryParamMemberIDFilter

func CreateQueryParamMemberIDFilterStr

func CreateQueryParamMemberIDFilterStr(str string) QueryParamMemberIDFilter

func (QueryParamMemberIDFilter) MarshalJSON

func (u QueryParamMemberIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamMemberIDFilter) UnmarshalJSON

func (u *QueryParamMemberIDFilter) UnmarshalJSON(data []byte) error

type QueryParamMemberIDFilterType

type QueryParamMemberIDFilterType string
const (
	QueryParamMemberIDFilterTypeStr        QueryParamMemberIDFilterType = "str"
	QueryParamMemberIDFilterTypeArrayOfStr QueryParamMemberIDFilterType = "arrayOfStr"
)

type QueryParamMeterIDFilter

type QueryParamMeterIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamMeterIDFilterType
}

QueryParamMeterIDFilter - Filter by meter ID.

func CreateQueryParamMeterIDFilterArrayOfStr

func CreateQueryParamMeterIDFilterArrayOfStr(arrayOfStr []string) QueryParamMeterIDFilter

func CreateQueryParamMeterIDFilterStr

func CreateQueryParamMeterIDFilterStr(str string) QueryParamMeterIDFilter

func (QueryParamMeterIDFilter) MarshalJSON

func (u QueryParamMeterIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamMeterIDFilter) UnmarshalJSON

func (u *QueryParamMeterIDFilter) UnmarshalJSON(data []byte) error

type QueryParamMeterIDFilterType

type QueryParamMeterIDFilterType string
const (
	QueryParamMeterIDFilterTypeStr        QueryParamMeterIDFilterType = "str"
	QueryParamMeterIDFilterTypeArrayOfStr QueryParamMeterIDFilterType = "arrayOfStr"
)

type QueryParamOrderIDFilter

type QueryParamOrderIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamOrderIDFilterType
}

QueryParamOrderIDFilter - Filter by order ID.

func CreateQueryParamOrderIDFilterArrayOfStr

func CreateQueryParamOrderIDFilterArrayOfStr(arrayOfStr []string) QueryParamOrderIDFilter

func CreateQueryParamOrderIDFilterStr

func CreateQueryParamOrderIDFilterStr(str string) QueryParamOrderIDFilter

func (QueryParamOrderIDFilter) MarshalJSON

func (u QueryParamOrderIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamOrderIDFilter) UnmarshalJSON

func (u *QueryParamOrderIDFilter) UnmarshalJSON(data []byte) error

type QueryParamOrderIDFilterType

type QueryParamOrderIDFilterType string
const (
	QueryParamOrderIDFilterTypeStr        QueryParamOrderIDFilterType = "str"
	QueryParamOrderIDFilterTypeArrayOfStr QueryParamOrderIDFilterType = "arrayOfStr"
)

type QueryParamOrganizationID

type QueryParamOrganizationID struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamOrganizationIDType
}

QueryParamOrganizationID - Filter by organization ID.

func CreateQueryParamOrganizationIDArrayOfStr

func CreateQueryParamOrganizationIDArrayOfStr(arrayOfStr []string) QueryParamOrganizationID

func CreateQueryParamOrganizationIDStr

func CreateQueryParamOrganizationIDStr(str string) QueryParamOrganizationID

func (QueryParamOrganizationID) MarshalJSON

func (u QueryParamOrganizationID) MarshalJSON() ([]byte, error)

func (*QueryParamOrganizationID) UnmarshalJSON

func (u *QueryParamOrganizationID) UnmarshalJSON(data []byte) error

type QueryParamOrganizationIDFilter

type QueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamOrganizationIDFilterType
}

QueryParamOrganizationIDFilter - Filter by organization ID.

func CreateQueryParamOrganizationIDFilterArrayOfStr

func CreateQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) QueryParamOrganizationIDFilter

func CreateQueryParamOrganizationIDFilterStr

func CreateQueryParamOrganizationIDFilterStr(str string) QueryParamOrganizationIDFilter

func (QueryParamOrganizationIDFilter) MarshalJSON

func (u QueryParamOrganizationIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamOrganizationIDFilter) UnmarshalJSON

func (u *QueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type QueryParamOrganizationIDFilterType

type QueryParamOrganizationIDFilterType string
const (
	QueryParamOrganizationIDFilterTypeStr        QueryParamOrganizationIDFilterType = "str"
	QueryParamOrganizationIDFilterTypeArrayOfStr QueryParamOrganizationIDFilterType = "arrayOfStr"
)

type QueryParamOrganizationIDType

type QueryParamOrganizationIDType string
const (
	QueryParamOrganizationIDTypeStr        QueryParamOrganizationIDType = "str"
	QueryParamOrganizationIDTypeArrayOfStr QueryParamOrganizationIDType = "arrayOfStr"
)

type QueryParamProductBillingTypeFilter

type QueryParamProductBillingTypeFilter struct {
	ProductBillingType        *components.ProductBillingType  `queryParam:"inline" union:"member"`
	ArrayOfProductBillingType []components.ProductBillingType `queryParam:"inline" union:"member"`

	Type QueryParamProductBillingTypeFilterType
}

QueryParamProductBillingTypeFilter - Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.

func CreateQueryParamProductBillingTypeFilterArrayOfProductBillingType

func CreateQueryParamProductBillingTypeFilterArrayOfProductBillingType(arrayOfProductBillingType []components.ProductBillingType) QueryParamProductBillingTypeFilter

func CreateQueryParamProductBillingTypeFilterProductBillingType

func CreateQueryParamProductBillingTypeFilterProductBillingType(productBillingType components.ProductBillingType) QueryParamProductBillingTypeFilter

func (QueryParamProductBillingTypeFilter) MarshalJSON

func (u QueryParamProductBillingTypeFilter) MarshalJSON() ([]byte, error)

func (*QueryParamProductBillingTypeFilter) UnmarshalJSON

func (u *QueryParamProductBillingTypeFilter) UnmarshalJSON(data []byte) error

type QueryParamProductBillingTypeFilterType

type QueryParamProductBillingTypeFilterType string
const (
	QueryParamProductBillingTypeFilterTypeProductBillingType        QueryParamProductBillingTypeFilterType = "ProductBillingType"
	QueryParamProductBillingTypeFilterTypeArrayOfProductBillingType QueryParamProductBillingTypeFilterType = "arrayOfProductBillingType"
)

type QueryParamProductIDFilter

type QueryParamProductIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamProductIDFilterType
}

QueryParamProductIDFilter - Filter by product ID.

func CreateQueryParamProductIDFilterArrayOfStr

func CreateQueryParamProductIDFilterArrayOfStr(arrayOfStr []string) QueryParamProductIDFilter

func CreateQueryParamProductIDFilterStr

func CreateQueryParamProductIDFilterStr(str string) QueryParamProductIDFilter

func (QueryParamProductIDFilter) MarshalJSON

func (u QueryParamProductIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamProductIDFilter) UnmarshalJSON

func (u *QueryParamProductIDFilter) UnmarshalJSON(data []byte) error

type QueryParamProductIDFilterType

type QueryParamProductIDFilterType string
const (
	QueryParamProductIDFilterTypeStr        QueryParamProductIDFilterType = "str"
	QueryParamProductIDFilterTypeArrayOfStr QueryParamProductIDFilterType = "arrayOfStr"
)

type QueryParamSourceFilter

type QueryParamSourceFilter struct {
	EventSource        *components.EventSource  `queryParam:"inline" union:"member"`
	ArrayOfEventSource []components.EventSource `queryParam:"inline" union:"member"`

	Type QueryParamSourceFilterType
}

QueryParamSourceFilter - Filter by event source.

func CreateQueryParamSourceFilterArrayOfEventSource

func CreateQueryParamSourceFilterArrayOfEventSource(arrayOfEventSource []components.EventSource) QueryParamSourceFilter

func CreateQueryParamSourceFilterEventSource

func CreateQueryParamSourceFilterEventSource(eventSource components.EventSource) QueryParamSourceFilter

func (QueryParamSourceFilter) MarshalJSON

func (u QueryParamSourceFilter) MarshalJSON() ([]byte, error)

func (*QueryParamSourceFilter) UnmarshalJSON

func (u *QueryParamSourceFilter) UnmarshalJSON(data []byte) error

type QueryParamSourceFilterType

type QueryParamSourceFilterType string
const (
	QueryParamSourceFilterTypeEventSource        QueryParamSourceFilterType = "EventSource"
	QueryParamSourceFilterTypeArrayOfEventSource QueryParamSourceFilterType = "arrayOfEventSource"
)

type QueryParamStatusFilter

type QueryParamStatusFilter struct {
	CheckoutStatus        *components.CheckoutStatus  `queryParam:"inline" union:"member"`
	ArrayOfCheckoutStatus []components.CheckoutStatus `queryParam:"inline" union:"member"`

	Type QueryParamStatusFilterType
}

QueryParamStatusFilter - Filter by checkout session status.

func CreateQueryParamStatusFilterArrayOfCheckoutStatus

func CreateQueryParamStatusFilterArrayOfCheckoutStatus(arrayOfCheckoutStatus []components.CheckoutStatus) QueryParamStatusFilter

func CreateQueryParamStatusFilterCheckoutStatus

func CreateQueryParamStatusFilterCheckoutStatus(checkoutStatus components.CheckoutStatus) QueryParamStatusFilter

func (QueryParamStatusFilter) MarshalJSON

func (u QueryParamStatusFilter) MarshalJSON() ([]byte, error)

func (*QueryParamStatusFilter) UnmarshalJSON

func (u *QueryParamStatusFilter) UnmarshalJSON(data []byte) error

type QueryParamStatusFilterType

type QueryParamStatusFilterType string
const (
	QueryParamStatusFilterTypeCheckoutStatus        QueryParamStatusFilterType = "CheckoutStatus"
	QueryParamStatusFilterTypeArrayOfCheckoutStatus QueryParamStatusFilterType = "arrayOfCheckoutStatus"
)

type QueryParamSubscriptionIDFilter

type QueryParamSubscriptionIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type QueryParamSubscriptionIDFilterType
}

QueryParamSubscriptionIDFilter - Filter by subscription ID.

func CreateQueryParamSubscriptionIDFilterArrayOfStr

func CreateQueryParamSubscriptionIDFilterArrayOfStr(arrayOfStr []string) QueryParamSubscriptionIDFilter

func CreateQueryParamSubscriptionIDFilterStr

func CreateQueryParamSubscriptionIDFilterStr(str string) QueryParamSubscriptionIDFilter

func (QueryParamSubscriptionIDFilter) MarshalJSON

func (u QueryParamSubscriptionIDFilter) MarshalJSON() ([]byte, error)

func (*QueryParamSubscriptionIDFilter) UnmarshalJSON

func (u *QueryParamSubscriptionIDFilter) UnmarshalJSON(data []byte) error

type QueryParamSubscriptionIDFilterType

type QueryParamSubscriptionIDFilterType string
const (
	QueryParamSubscriptionIDFilterTypeStr        QueryParamSubscriptionIDFilterType = "str"
	QueryParamSubscriptionIDFilterTypeArrayOfStr QueryParamSubscriptionIDFilterType = "arrayOfStr"
)

type RefundIDFilter

type RefundIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type RefundIDFilterType
}

RefundIDFilter - Filter by refund ID.

func CreateRefundIDFilterArrayOfStr

func CreateRefundIDFilterArrayOfStr(arrayOfStr []string) RefundIDFilter

func CreateRefundIDFilterStr

func CreateRefundIDFilterStr(str string) RefundIDFilter

func (RefundIDFilter) MarshalJSON

func (u RefundIDFilter) MarshalJSON() ([]byte, error)

func (*RefundIDFilter) UnmarshalJSON

func (u *RefundIDFilter) UnmarshalJSON(data []byte) error

type RefundIDFilterType

type RefundIDFilterType string
const (
	RefundIDFilterTypeStr        RefundIDFilterType = "str"
	RefundIDFilterTypeArrayOfStr RefundIDFilterType = "arrayOfStr"
)

type RefundsCreateResponse

type RefundsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Refund created.
	Refund *components.Refund
}

func (*RefundsCreateResponse) GetHTTPMeta

func (*RefundsCreateResponse) GetRefund

func (r *RefundsCreateResponse) GetRefund() *components.Refund

type RefundsListQueryParamCustomerIDFilter

type RefundsListQueryParamCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type RefundsListQueryParamCustomerIDFilterType
}

RefundsListQueryParamCustomerIDFilter - Filter by customer ID.

func CreateRefundsListQueryParamCustomerIDFilterArrayOfStr

func CreateRefundsListQueryParamCustomerIDFilterArrayOfStr(arrayOfStr []string) RefundsListQueryParamCustomerIDFilter

func CreateRefundsListQueryParamCustomerIDFilterStr

func CreateRefundsListQueryParamCustomerIDFilterStr(str string) RefundsListQueryParamCustomerIDFilter

func (RefundsListQueryParamCustomerIDFilter) MarshalJSON

func (u RefundsListQueryParamCustomerIDFilter) MarshalJSON() ([]byte, error)

func (*RefundsListQueryParamCustomerIDFilter) UnmarshalJSON

func (u *RefundsListQueryParamCustomerIDFilter) UnmarshalJSON(data []byte) error

type RefundsListQueryParamCustomerIDFilterType

type RefundsListQueryParamCustomerIDFilterType string
const (
	RefundsListQueryParamCustomerIDFilterTypeStr        RefundsListQueryParamCustomerIDFilterType = "str"
	RefundsListQueryParamCustomerIDFilterTypeArrayOfStr RefundsListQueryParamCustomerIDFilterType = "arrayOfStr"
)

type RefundsListQueryParamExternalCustomerIDFilter

type RefundsListQueryParamExternalCustomerIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type RefundsListQueryParamExternalCustomerIDFilterType
}

RefundsListQueryParamExternalCustomerIDFilter - Filter by customer external ID.

func CreateRefundsListQueryParamExternalCustomerIDFilterArrayOfStr

func CreateRefundsListQueryParamExternalCustomerIDFilterArrayOfStr(arrayOfStr []string) RefundsListQueryParamExternalCustomerIDFilter

func CreateRefundsListQueryParamExternalCustomerIDFilterStr

func CreateRefundsListQueryParamExternalCustomerIDFilterStr(str string) RefundsListQueryParamExternalCustomerIDFilter

func (RefundsListQueryParamExternalCustomerIDFilter) MarshalJSON

func (*RefundsListQueryParamExternalCustomerIDFilter) UnmarshalJSON

func (u *RefundsListQueryParamExternalCustomerIDFilter) UnmarshalJSON(data []byte) error

type RefundsListQueryParamExternalCustomerIDFilterType

type RefundsListQueryParamExternalCustomerIDFilterType string
const (
	RefundsListQueryParamExternalCustomerIDFilterTypeStr        RefundsListQueryParamExternalCustomerIDFilterType = "str"
	RefundsListQueryParamExternalCustomerIDFilterTypeArrayOfStr RefundsListQueryParamExternalCustomerIDFilterType = "arrayOfStr"
)

type RefundsListQueryParamOrganizationIDFilter

type RefundsListQueryParamOrganizationIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type RefundsListQueryParamOrganizationIDFilterType
}

RefundsListQueryParamOrganizationIDFilter - Filter by organization ID.

func CreateRefundsListQueryParamOrganizationIDFilterArrayOfStr

func CreateRefundsListQueryParamOrganizationIDFilterArrayOfStr(arrayOfStr []string) RefundsListQueryParamOrganizationIDFilter

func CreateRefundsListQueryParamOrganizationIDFilterStr

func CreateRefundsListQueryParamOrganizationIDFilterStr(str string) RefundsListQueryParamOrganizationIDFilter

func (RefundsListQueryParamOrganizationIDFilter) MarshalJSON

func (*RefundsListQueryParamOrganizationIDFilter) UnmarshalJSON

func (u *RefundsListQueryParamOrganizationIDFilter) UnmarshalJSON(data []byte) error

type RefundsListQueryParamOrganizationIDFilterType

type RefundsListQueryParamOrganizationIDFilterType string
const (
	RefundsListQueryParamOrganizationIDFilterTypeStr        RefundsListQueryParamOrganizationIDFilterType = "str"
	RefundsListQueryParamOrganizationIDFilterTypeArrayOfStr RefundsListQueryParamOrganizationIDFilterType = "arrayOfStr"
)

type RefundsListRequest

type RefundsListRequest struct {
	// Filter by refund ID.
	ID *RefundIDFilter `queryParam:"style=form,explode=true,name=id"`
	// Filter by organization ID.
	OrganizationID *RefundsListQueryParamOrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by order ID.
	OrderID *OrderIDFilter `queryParam:"style=form,explode=true,name=order_id"`
	// Filter by subscription ID.
	SubscriptionID *SubscriptionIDFilter `queryParam:"style=form,explode=true,name=subscription_id"`
	// Filter by customer ID.
	CustomerID *RefundsListQueryParamCustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *RefundsListQueryParamExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by `succeeded`.
	Succeeded *bool `queryParam:"style=form,explode=true,name=succeeded"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.RefundSortProperty `queryParam:"style=form,explode=true,name=sorting"`
}

func (*RefundsListRequest) GetCustomerID

func (*RefundsListRequest) GetExternalCustomerID

func (*RefundsListRequest) GetID

func (r *RefundsListRequest) GetID() *RefundIDFilter

func (*RefundsListRequest) GetLimit

func (r *RefundsListRequest) GetLimit() *int64

func (*RefundsListRequest) GetOrderID

func (r *RefundsListRequest) GetOrderID() *OrderIDFilter

func (*RefundsListRequest) GetOrganizationID

func (*RefundsListRequest) GetPage

func (r *RefundsListRequest) GetPage() *int64

func (*RefundsListRequest) GetSorting

func (*RefundsListRequest) GetSubscriptionID

func (r *RefundsListRequest) GetSubscriptionID() *SubscriptionIDFilter

func (*RefundsListRequest) GetSucceeded

func (r *RefundsListRequest) GetSucceeded() *bool

func (RefundsListRequest) MarshalJSON

func (r RefundsListRequest) MarshalJSON() ([]byte, error)

func (*RefundsListRequest) UnmarshalJSON

func (r *RefundsListRequest) UnmarshalJSON(data []byte) error

type RefundsListResponse

type RefundsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceRefund *components.ListResourceRefund

	Next func() (*RefundsListResponse, error)
}

func (*RefundsListResponse) GetHTTPMeta

func (r *RefundsListResponse) GetHTTPMeta() components.HTTPMetadata

func (*RefundsListResponse) GetListResourceRefund

func (r *RefundsListResponse) GetListResourceRefund() *components.ListResourceRefund

type SourceFilter

type SourceFilter struct {
	EventSource        *components.EventSource  `queryParam:"inline" union:"member"`
	ArrayOfEventSource []components.EventSource `queryParam:"inline" union:"member"`

	Type SourceFilterType
}

SourceFilter - Filter by event source.

func CreateSourceFilterArrayOfEventSource

func CreateSourceFilterArrayOfEventSource(arrayOfEventSource []components.EventSource) SourceFilter

func CreateSourceFilterEventSource

func CreateSourceFilterEventSource(eventSource components.EventSource) SourceFilter

func (SourceFilter) MarshalJSON

func (u SourceFilter) MarshalJSON() ([]byte, error)

func (*SourceFilter) UnmarshalJSON

func (u *SourceFilter) UnmarshalJSON(data []byte) error

type SourceFilterType

type SourceFilterType string
const (
	SourceFilterTypeEventSource        SourceFilterType = "EventSource"
	SourceFilterTypeArrayOfEventSource SourceFilterType = "arrayOfEventSource"
)

type StatusFilter

type StatusFilter struct {
	DisputeStatus        *components.DisputeStatus  `queryParam:"inline" union:"member"`
	ArrayOfDisputeStatus []components.DisputeStatus `queryParam:"inline" union:"member"`

	Type StatusFilterType
}

StatusFilter - Filter by dispute status.

func CreateStatusFilterArrayOfDisputeStatus

func CreateStatusFilterArrayOfDisputeStatus(arrayOfDisputeStatus []components.DisputeStatus) StatusFilter

func CreateStatusFilterDisputeStatus

func CreateStatusFilterDisputeStatus(disputeStatus components.DisputeStatus) StatusFilter

func (StatusFilter) MarshalJSON

func (u StatusFilter) MarshalJSON() ([]byte, error)

func (*StatusFilter) UnmarshalJSON

func (u *StatusFilter) UnmarshalJSON(data []byte) error

type StatusFilterType

type StatusFilterType string
const (
	StatusFilterTypeDisputeStatus        StatusFilterType = "DisputeStatus"
	StatusFilterTypeArrayOfDisputeStatus StatusFilterType = "arrayOfDisputeStatus"
)

type SubscriptionIDFilter

type SubscriptionIDFilter struct {
	Str        *string  `queryParam:"inline" union:"member"`
	ArrayOfStr []string `queryParam:"inline" union:"member"`

	Type SubscriptionIDFilterType
}

SubscriptionIDFilter - Filter by subscription ID.

func CreateSubscriptionIDFilterArrayOfStr

func CreateSubscriptionIDFilterArrayOfStr(arrayOfStr []string) SubscriptionIDFilter

func CreateSubscriptionIDFilterStr

func CreateSubscriptionIDFilterStr(str string) SubscriptionIDFilter

func (SubscriptionIDFilter) MarshalJSON

func (u SubscriptionIDFilter) MarshalJSON() ([]byte, error)

func (*SubscriptionIDFilter) UnmarshalJSON

func (u *SubscriptionIDFilter) UnmarshalJSON(data []byte) error

type SubscriptionIDFilterType

type SubscriptionIDFilterType string
const (
	SubscriptionIDFilterTypeStr        SubscriptionIDFilterType = "str"
	SubscriptionIDFilterTypeArrayOfStr SubscriptionIDFilterType = "arrayOfStr"
)

type SubscriptionsCreateResponse

type SubscriptionsCreateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Subscription created.
	Subscription *components.Subscription
}

func (*SubscriptionsCreateResponse) GetHTTPMeta

func (*SubscriptionsCreateResponse) GetSubscription

func (s *SubscriptionsCreateResponse) GetSubscription() *components.Subscription

type SubscriptionsCreateSubscriptionCreate

type SubscriptionsCreateSubscriptionCreate struct {
	SubscriptionCreateCustomer         *components.SubscriptionCreateCustomer         `queryParam:"inline" union:"member"`
	SubscriptionCreateExternalCustomer *components.SubscriptionCreateExternalCustomer `queryParam:"inline" union:"member"`

	Type SubscriptionsCreateSubscriptionCreateType
}

func CreateSubscriptionsCreateSubscriptionCreateSubscriptionCreateCustomer

func CreateSubscriptionsCreateSubscriptionCreateSubscriptionCreateCustomer(subscriptionCreateCustomer components.SubscriptionCreateCustomer) SubscriptionsCreateSubscriptionCreate

func CreateSubscriptionsCreateSubscriptionCreateSubscriptionCreateExternalCustomer

func CreateSubscriptionsCreateSubscriptionCreateSubscriptionCreateExternalCustomer(subscriptionCreateExternalCustomer components.SubscriptionCreateExternalCustomer) SubscriptionsCreateSubscriptionCreate

func (SubscriptionsCreateSubscriptionCreate) MarshalJSON

func (u SubscriptionsCreateSubscriptionCreate) MarshalJSON() ([]byte, error)

func (*SubscriptionsCreateSubscriptionCreate) UnmarshalJSON

func (u *SubscriptionsCreateSubscriptionCreate) UnmarshalJSON(data []byte) error

type SubscriptionsCreateSubscriptionCreateType

type SubscriptionsCreateSubscriptionCreateType string
const (
	SubscriptionsCreateSubscriptionCreateTypeSubscriptionCreateCustomer         SubscriptionsCreateSubscriptionCreateType = "SubscriptionCreateCustomer"
	SubscriptionsCreateSubscriptionCreateTypeSubscriptionCreateExternalCustomer SubscriptionsCreateSubscriptionCreateType = "SubscriptionCreateExternalCustomer"
)

type SubscriptionsExportRequest

type SubscriptionsExportRequest struct {
	// Filter by organization ID.
	OrganizationID *OrganizationID `queryParam:"style=form,explode=true,name=organization_id"`
}

func (*SubscriptionsExportRequest) GetOrganizationID

func (s *SubscriptionsExportRequest) GetOrganizationID() *OrganizationID

type SubscriptionsExportResponse

type SubscriptionsExportResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Any any
	// Successful Response
	Res *string
}

func (*SubscriptionsExportResponse) GetAny

func (s *SubscriptionsExportResponse) GetAny() any

func (*SubscriptionsExportResponse) GetHTTPMeta

func (*SubscriptionsExportResponse) GetRes

func (s *SubscriptionsExportResponse) GetRes() *string

type SubscriptionsGetRequest

type SubscriptionsGetRequest struct {
	// The subscription ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*SubscriptionsGetRequest) GetID

func (s *SubscriptionsGetRequest) GetID() string

type SubscriptionsGetResponse

type SubscriptionsGetResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	Subscription *components.Subscription
}

func (*SubscriptionsGetResponse) GetHTTPMeta

func (*SubscriptionsGetResponse) GetSubscription

func (s *SubscriptionsGetResponse) GetSubscription() *components.Subscription

type SubscriptionsListRequest

type SubscriptionsListRequest struct {
	// Filter by organization ID.
	OrganizationID *OrganizationIDFilter `queryParam:"style=form,explode=true,name=organization_id"`
	// Filter by product ID.
	ProductID *ProductIDFilter `queryParam:"style=form,explode=true,name=product_id"`
	// Filter by customer ID.
	CustomerID *CustomerIDFilter `queryParam:"style=form,explode=true,name=customer_id"`
	// Filter by customer external ID.
	ExternalCustomerID *ExternalCustomerIDFilter `queryParam:"style=form,explode=true,name=external_customer_id"`
	// Filter by discount ID.
	DiscountID *DiscountIDFilter `queryParam:"style=form,explode=true,name=discount_id"`
	// Filter by active or inactive subscription.
	Active *bool `queryParam:"style=form,explode=true,name=active"`
	// Filter by subscriptions that are set to cancel at period end.
	CancelAtPeriodEnd *bool `queryParam:"style=form,explode=true,name=cancel_at_period_end"`
	// Filter by customer cancellation reason.
	CustomerCancellationReason *CustomerCancellationReasonFilter `queryParam:"style=form,explode=true,name=customer_cancellation_reason"`
	// Filter by cancellation date (after or equal to).
	CanceledAtAfter *time.Time `queryParam:"style=form,explode=true,name=canceled_at_after"`
	// Filter by cancellation date (before or equal to).
	CanceledAtBefore *time.Time `queryParam:"style=form,explode=true,name=canceled_at_before"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
	// Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.
	Sorting []components.SubscriptionSortProperty `queryParam:"style=form,explode=true,name=sorting"`
	// Filter by metadata key-value pairs. It uses the `deepObject` style, e.g. `?metadata[key]=value`.
	Metadata map[string]components.MetadataQuery `queryParam:"style=deepObject,explode=true,name=metadata"`
}

func (*SubscriptionsListRequest) GetActive

func (s *SubscriptionsListRequest) GetActive() *bool

func (*SubscriptionsListRequest) GetCancelAtPeriodEnd

func (s *SubscriptionsListRequest) GetCancelAtPeriodEnd() *bool

func (*SubscriptionsListRequest) GetCanceledAtAfter

func (s *SubscriptionsListRequest) GetCanceledAtAfter() *time.Time

func (*SubscriptionsListRequest) GetCanceledAtBefore

func (s *SubscriptionsListRequest) GetCanceledAtBefore() *time.Time

func (*SubscriptionsListRequest) GetCustomerCancellationReason

func (s *SubscriptionsListRequest) GetCustomerCancellationReason() *CustomerCancellationReasonFilter

func (*SubscriptionsListRequest) GetCustomerID

func (s *SubscriptionsListRequest) GetCustomerID() *CustomerIDFilter

func (*SubscriptionsListRequest) GetDiscountID

func (s *SubscriptionsListRequest) GetDiscountID() *DiscountIDFilter

func (*SubscriptionsListRequest) GetExternalCustomerID

func (s *SubscriptionsListRequest) GetExternalCustomerID() *ExternalCustomerIDFilter

func (*SubscriptionsListRequest) GetLimit

func (s *SubscriptionsListRequest) GetLimit() *int64

func (*SubscriptionsListRequest) GetMetadata

func (*SubscriptionsListRequest) GetOrganizationID

func (s *SubscriptionsListRequest) GetOrganizationID() *OrganizationIDFilter

func (*SubscriptionsListRequest) GetPage

func (s *SubscriptionsListRequest) GetPage() *int64

func (*SubscriptionsListRequest) GetProductID

func (s *SubscriptionsListRequest) GetProductID() *ProductIDFilter

func (*SubscriptionsListRequest) GetSorting

func (SubscriptionsListRequest) MarshalJSON

func (s SubscriptionsListRequest) MarshalJSON() ([]byte, error)

func (*SubscriptionsListRequest) UnmarshalJSON

func (s *SubscriptionsListRequest) UnmarshalJSON(data []byte) error

type SubscriptionsListResponse

type SubscriptionsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceSubscription *components.ListResourceSubscription

	Next func() (*SubscriptionsListResponse, error)
}

func (*SubscriptionsListResponse) GetHTTPMeta

func (*SubscriptionsListResponse) GetListResourceSubscription

func (s *SubscriptionsListResponse) GetListResourceSubscription() *components.ListResourceSubscription

type SubscriptionsRevokeRequest

type SubscriptionsRevokeRequest struct {
	// The subscription ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*SubscriptionsRevokeRequest) GetID

type SubscriptionsRevokeResponse

type SubscriptionsRevokeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Subscription revoked.
	Subscription *components.Subscription
}

func (*SubscriptionsRevokeResponse) GetHTTPMeta

func (*SubscriptionsRevokeResponse) GetSubscription

func (s *SubscriptionsRevokeResponse) GetSubscription() *components.Subscription

type SubscriptionsUpdateRequest

type SubscriptionsUpdateRequest struct {
	// The subscription ID.
	ID                 string                        `pathParam:"style=simple,explode=false,name=id"`
	SubscriptionUpdate components.SubscriptionUpdate `request:"mediaType=application/json"`
}

func (*SubscriptionsUpdateRequest) GetID

func (*SubscriptionsUpdateRequest) GetSubscriptionUpdate

func (s *SubscriptionsUpdateRequest) GetSubscriptionUpdate() components.SubscriptionUpdate

type SubscriptionsUpdateResponse

type SubscriptionsUpdateResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Subscription updated.
	Subscription *components.Subscription
}

func (*SubscriptionsUpdateResponse) GetHTTPMeta

func (*SubscriptionsUpdateResponse) GetSubscription

func (s *SubscriptionsUpdateResponse) GetSubscription() *components.Subscription

type WebhooksCreateWebhookEndpointResponse

type WebhooksCreateWebhookEndpointResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Webhook endpoint created.
	WebhookEndpoint *components.WebhookEndpoint
}

func (*WebhooksCreateWebhookEndpointResponse) GetHTTPMeta

func (*WebhooksCreateWebhookEndpointResponse) GetWebhookEndpoint

type WebhooksDeleteWebhookEndpointRequest

type WebhooksDeleteWebhookEndpointRequest struct {
	// The webhook endpoint ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*WebhooksDeleteWebhookEndpointRequest) GetID

type WebhooksDeleteWebhookEndpointResponse

type WebhooksDeleteWebhookEndpointResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*WebhooksDeleteWebhookEndpointResponse) GetHTTPMeta

type WebhooksGetWebhookEndpointRequest

type WebhooksGetWebhookEndpointRequest struct {
	// The webhook endpoint ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*WebhooksGetWebhookEndpointRequest) GetID

type WebhooksGetWebhookEndpointResponse

type WebhooksGetWebhookEndpointResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	WebhookEndpoint *components.WebhookEndpoint
}

func (*WebhooksGetWebhookEndpointResponse) GetHTTPMeta

func (*WebhooksGetWebhookEndpointResponse) GetWebhookEndpoint

type WebhooksListWebhookDeliveriesRequest

type WebhooksListWebhookDeliveriesRequest struct {
	// Filter by webhook endpoint ID.
	EndpointID *EndpointID `queryParam:"style=form,explode=true,name=endpoint_id"`
	// Filter deliveries after this timestamp.
	StartTimestamp *time.Time `queryParam:"style=form,explode=true,name=start_timestamp"`
	// Filter deliveries before this timestamp.
	EndTimestamp *time.Time `queryParam:"style=form,explode=true,name=end_timestamp"`
	// Filter by delivery success status.
	Succeeded *bool `queryParam:"style=form,explode=true,name=succeeded"`
	// Query to filter webhook deliveries.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).
	HTTPCodeClass *HTTPCodeClass `queryParam:"style=form,explode=true,name=http_code_class"`
	// Filter by webhook event type.
	EventType *EventType `queryParam:"style=form,explode=true,name=event_type"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*WebhooksListWebhookDeliveriesRequest) GetEndTimestamp

func (w *WebhooksListWebhookDeliveriesRequest) GetEndTimestamp() *time.Time

func (*WebhooksListWebhookDeliveriesRequest) GetEndpointID

func (*WebhooksListWebhookDeliveriesRequest) GetEventType

func (*WebhooksListWebhookDeliveriesRequest) GetHTTPCodeClass

func (w *WebhooksListWebhookDeliveriesRequest) GetHTTPCodeClass() *HTTPCodeClass

func (*WebhooksListWebhookDeliveriesRequest) GetLimit

func (*WebhooksListWebhookDeliveriesRequest) GetPage

func (*WebhooksListWebhookDeliveriesRequest) GetQuery

func (*WebhooksListWebhookDeliveriesRequest) GetStartTimestamp

func (w *WebhooksListWebhookDeliveriesRequest) GetStartTimestamp() *time.Time

func (*WebhooksListWebhookDeliveriesRequest) GetSucceeded

func (w *WebhooksListWebhookDeliveriesRequest) GetSucceeded() *bool

func (WebhooksListWebhookDeliveriesRequest) MarshalJSON

func (w WebhooksListWebhookDeliveriesRequest) MarshalJSON() ([]byte, error)

func (*WebhooksListWebhookDeliveriesRequest) UnmarshalJSON

func (w *WebhooksListWebhookDeliveriesRequest) UnmarshalJSON(data []byte) error

type WebhooksListWebhookDeliveriesResponse

type WebhooksListWebhookDeliveriesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceWebhookDelivery *components.ListResourceWebhookDelivery

	Next func() (*WebhooksListWebhookDeliveriesResponse, error)
}

func (*WebhooksListWebhookDeliveriesResponse) GetHTTPMeta

func (*WebhooksListWebhookDeliveriesResponse) GetListResourceWebhookDelivery

type WebhooksListWebhookEndpointsRequest

type WebhooksListWebhookEndpointsRequest struct {
	// Filter by organization ID.
	OrganizationID *QueryParamOrganizationID `queryParam:"style=form,explode=true,name=organization_id"`
	// Page number, defaults to 1.
	Page *int64 `default:"1" queryParam:"style=form,explode=true,name=page"`
	// Size of a page, defaults to 10. Maximum is 100.
	Limit *int64 `default:"10" queryParam:"style=form,explode=true,name=limit"`
}

func (*WebhooksListWebhookEndpointsRequest) GetLimit

func (*WebhooksListWebhookEndpointsRequest) GetOrganizationID

func (*WebhooksListWebhookEndpointsRequest) GetPage

func (WebhooksListWebhookEndpointsRequest) MarshalJSON

func (w WebhooksListWebhookEndpointsRequest) MarshalJSON() ([]byte, error)

func (*WebhooksListWebhookEndpointsRequest) UnmarshalJSON

func (w *WebhooksListWebhookEndpointsRequest) UnmarshalJSON(data []byte) error

type WebhooksListWebhookEndpointsResponse

type WebhooksListWebhookEndpointsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListResourceWebhookEndpoint *components.ListResourceWebhookEndpoint

	Next func() (*WebhooksListWebhookEndpointsResponse, error)
}

func (*WebhooksListWebhookEndpointsResponse) GetHTTPMeta

func (*WebhooksListWebhookEndpointsResponse) GetListResourceWebhookEndpoint

type WebhooksRedeliverWebhookEventRequest

type WebhooksRedeliverWebhookEventRequest struct {
	// The webhook event ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*WebhooksRedeliverWebhookEventRequest) GetID

type WebhooksRedeliverWebhookEventResponse

type WebhooksRedeliverWebhookEventResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Webhook event re-delivery scheduled.
	Any any
}

func (*WebhooksRedeliverWebhookEventResponse) GetAny

func (*WebhooksRedeliverWebhookEventResponse) GetHTTPMeta

type WebhooksResetWebhookEndpointSecretRequest

type WebhooksResetWebhookEndpointSecretRequest struct {
	// The webhook endpoint ID.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*WebhooksResetWebhookEndpointSecretRequest) GetID

type WebhooksResetWebhookEndpointSecretResponse

type WebhooksResetWebhookEndpointSecretResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Webhook endpoint secret reset.
	WebhookEndpoint *components.WebhookEndpoint
}

func (*WebhooksResetWebhookEndpointSecretResponse) GetHTTPMeta

func (*WebhooksResetWebhookEndpointSecretResponse) GetWebhookEndpoint

type WebhooksUpdateWebhookEndpointRequest

type WebhooksUpdateWebhookEndpointRequest struct {
	// The webhook endpoint ID.
	ID                    string                           `pathParam:"style=simple,explode=false,name=id"`
	WebhookEndpointUpdate components.WebhookEndpointUpdate `request:"mediaType=application/json"`
}

func (*WebhooksUpdateWebhookEndpointRequest) GetID

func (*WebhooksUpdateWebhookEndpointRequest) GetWebhookEndpointUpdate

type WebhooksUpdateWebhookEndpointResponse

type WebhooksUpdateWebhookEndpointResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Webhook endpoint updated.
	WebhookEndpoint *components.WebhookEndpoint
}

func (*WebhooksUpdateWebhookEndpointResponse) GetHTTPMeta

func (*WebhooksUpdateWebhookEndpointResponse) GetWebhookEndpoint

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL