Versions in this module Expand all Collapse all v0 v0.16.2 Jul 22, 2026 v0.16.1 Jul 11, 2026 Changes in this version + const ServerProduction + const ServerSandbox + var ServerList = map[string]string + func Bool(b bool) *bool + func Float32(f float32) *float32 + func Float64(f float64) *float64 + func Int(i int) *int + func Int64(i int64) *int64 + func Pointer[T any](v T) *T + func String(s string) *string + type BenefitGrants struct + func (s *BenefitGrants) List(ctx context.Context, request operations.BenefitGrantsListRequest, ...) (*operations.BenefitGrantsListResponse, error) + type Benefits struct + func (s *Benefits) Create(ctx context.Context, request components.BenefitCreate, ...) (*operations.BenefitsCreateResponse, error) + func (s *Benefits) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.BenefitsDeleteResponse, error) + func (s *Benefits) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.BenefitsGetResponse, error) + func (s *Benefits) Grants(ctx context.Context, request operations.BenefitsGrantsRequest, ...) (*operations.BenefitsGrantsResponse, error) + func (s *Benefits) List(ctx context.Context, request operations.BenefitsListRequest, ...) (*operations.BenefitsListResponse, error) + func (s *Benefits) Update(ctx context.Context, id string, ...) (*operations.BenefitsUpdateResponse, error) + type CheckoutLinks struct + func (s *CheckoutLinks) Create(ctx context.Context, request components.CheckoutLinkCreate, ...) (*operations.CheckoutLinksCreateResponse, error) + func (s *CheckoutLinks) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.CheckoutLinksDeleteResponse, error) + func (s *CheckoutLinks) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.CheckoutLinksGetResponse, error) + func (s *CheckoutLinks) List(ctx context.Context, request operations.CheckoutLinksListRequest, ...) (*operations.CheckoutLinksListResponse, error) + func (s *CheckoutLinks) Update(ctx context.Context, id string, ...) (*operations.CheckoutLinksUpdateResponse, error) + type Checkouts struct + func (s *Checkouts) ClientConfirm(ctx context.Context, clientSecret string, ...) (*operations.CheckoutsClientConfirmResponse, error) + func (s *Checkouts) ClientGet(ctx context.Context, clientSecret string, opts ...operations.Option) (*operations.CheckoutsClientGetResponse, error) + func (s *Checkouts) ClientUpdate(ctx context.Context, clientSecret string, ...) (*operations.CheckoutsClientUpdateResponse, error) + func (s *Checkouts) Create(ctx context.Context, request components.CheckoutCreate, ...) (*operations.CheckoutsCreateResponse, error) + func (s *Checkouts) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.CheckoutsGetResponse, error) + func (s *Checkouts) List(ctx context.Context, request operations.CheckoutsListRequest, ...) (*operations.CheckoutsListResponse, error) + func (s *Checkouts) Update(ctx context.Context, id string, checkoutUpdate components.CheckoutUpdate, ...) (*operations.CheckoutsUpdateResponse, error) + type Clients struct + func (s *Clients) Create(ctx context.Context, request components.OAuth2ClientConfiguration, ...) (*operations.Oauth2ClientsOauth2CreateClientResponse, error) + func (s *Clients) Delete(ctx context.Context, clientID string, opts ...operations.Option) (*operations.Oauth2ClientsOauth2DeleteClientResponse, error) + func (s *Clients) Get(ctx context.Context, clientID string, opts ...operations.Option) (*operations.Oauth2ClientsOauth2GetClientResponse, error) + func (s *Clients) Update(ctx context.Context, clientID string, ...) (*operations.Oauth2ClientsOauth2UpdateClientResponse, error) + type CustomFields struct + func (s *CustomFields) Create(ctx context.Context, request components.CustomFieldCreate, ...) (*operations.CustomFieldsCreateResponse, error) + func (s *CustomFields) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomFieldsDeleteResponse, error) + func (s *CustomFields) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomFieldsGetResponse, error) + func (s *CustomFields) List(ctx context.Context, request operations.CustomFieldsListRequest, ...) (*operations.CustomFieldsListResponse, error) + func (s *CustomFields) Update(ctx context.Context, id string, customFieldUpdate components.CustomFieldUpdate, ...) (*operations.CustomFieldsUpdateResponse, error) + type CustomerMeters struct + func (s *CustomerMeters) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomerMetersGetResponse, error) + func (s *CustomerMeters) List(ctx context.Context, request operations.CustomerMetersListRequest, ...) (*operations.CustomerMetersListResponse, error) + type CustomerPortal struct + BenefitGrants *RubaBenefitGrants + CustomerMeters *RubaCustomerMeters + CustomerSession *CustomerSession + Customers *RubaCustomers + Downloadables *Downloadables + LicenseKeys *RubaLicenseKeys + Members *RubaMembers + Orders *RubaOrders + Organizations *RubaOrganizations + Seats *Seats + Subscriptions *RubaSubscriptions + Wallets *Wallets + type CustomerSeats struct + func (s *CustomerSeats) AssignSeat(ctx context.Context, request components.SeatAssign, opts ...operations.Option) (*operations.CustomerSeatsAssignSeatResponse, error) + func (s *CustomerSeats) ClaimSeat(ctx context.Context, request components.SeatClaim, opts ...operations.Option) (*operations.CustomerSeatsClaimSeatResponse, error) + func (s *CustomerSeats) GetClaimInfo(ctx context.Context, invitationToken string, opts ...operations.Option) (*operations.CustomerSeatsGetClaimInfoResponse, error) + func (s *CustomerSeats) ListSeats(ctx context.Context, subscriptionID *string, orderID *string, ...) (*operations.CustomerSeatsListSeatsResponse, error) + func (s *CustomerSeats) ResendInvitation(ctx context.Context, seatID string, opts ...operations.Option) (*operations.CustomerSeatsResendInvitationResponse, error) + func (s *CustomerSeats) RevokeSeat(ctx context.Context, seatID string, opts ...operations.Option) (*operations.CustomerSeatsRevokeSeatResponse, error) + type CustomerSession struct + func (s *CustomerSession) GetAuthenticatedUser(ctx context.Context, ...) (*operations.CustomerPortalCustomerSessionGetAuthenticatedUserResponse, error) + func (s *CustomerSession) Introspect(ctx context.Context, ...) (*operations.CustomerPortalCustomerSessionIntrospectResponse, error) + type CustomerSessions struct + func (s *CustomerSessions) Create(ctx context.Context, ...) (*operations.CustomerSessionsCreateResponse, error) + type Customers struct + func (s *Customers) Create(ctx context.Context, request components.CustomerCreate, ...) (*operations.CustomersCreateResponse, error) + func (s *Customers) Delete(ctx context.Context, id string, anonymize *bool, opts ...operations.Option) (*operations.CustomersDeleteResponse, error) + func (s *Customers) DeleteExternal(ctx context.Context, externalID string, anonymize *bool, ...) (*operations.CustomersDeleteExternalResponse, error) + func (s *Customers) Export(ctx context.Context, ...) (*operations.CustomersExportResponse, error) + func (s *Customers) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomersGetResponse, error) + func (s *Customers) GetExternal(ctx context.Context, externalID string, opts ...operations.Option) (*operations.CustomersGetExternalResponse, error) + func (s *Customers) GetState(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomersGetStateResponse, error) + func (s *Customers) GetStateExternal(ctx context.Context, externalID string, opts ...operations.Option) (*operations.CustomersGetStateExternalResponse, error) + func (s *Customers) List(ctx context.Context, request operations.CustomersListRequest, ...) (*operations.CustomersListResponse, error) + func (s *Customers) Update(ctx context.Context, id string, customerUpdate components.CustomerUpdate, ...) (*operations.CustomersUpdateResponse, error) + func (s *Customers) UpdateExternal(ctx context.Context, externalID string, ...) (*operations.CustomersUpdateExternalResponse, error) + type Discounts struct + func (s *Discounts) Create(ctx context.Context, request components.DiscountCreate, ...) (*operations.DiscountsCreateResponse, error) + func (s *Discounts) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.DiscountsDeleteResponse, error) + func (s *Discounts) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.DiscountsGetResponse, error) + func (s *Discounts) List(ctx context.Context, request operations.DiscountsListRequest, ...) (*operations.DiscountsListResponse, error) + func (s *Discounts) Update(ctx context.Context, id string, discountUpdate components.DiscountUpdate, ...) (*operations.DiscountsUpdateResponse, error) + type Disputes struct + func (s *Disputes) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.DisputesGetResponse, error) + func (s *Disputes) List(ctx context.Context, request operations.DisputesListRequest, ...) (*operations.DisputesListResponse, error) + type Downloadables struct + func (s *Downloadables) List(ctx context.Context, ...) (*operations.CustomerPortalDownloadablesListResponse, error) + type EventTypes struct + func (s *EventTypes) List(ctx context.Context, request operations.EventTypesListRequest, ...) (*operations.EventTypesListResponse, error) + func (s *EventTypes) Update(ctx context.Context, id string, eventTypeUpdate components.EventTypeUpdate, ...) (*operations.EventTypesUpdateResponse, error) + type Events struct + func (s *Events) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.EventsGetResponse, error) + func (s *Events) Ingest(ctx context.Context, request components.EventsIngest, ...) (*operations.EventsIngestResponse, error) + func (s *Events) List(ctx context.Context, request operations.EventsListRequest, ...) (*operations.EventsListResponse, error) + func (s *Events) ListNames(ctx context.Context, request operations.EventsListNamesRequest, ...) (*operations.EventsListNamesResponse, error) + type Files struct + func (s *Files) Create(ctx context.Context, request components.FileCreate, opts ...operations.Option) (*operations.FilesCreateResponse, error) + func (s *Files) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.FilesDeleteResponse, error) + func (s *Files) List(ctx context.Context, ...) (*operations.FilesListResponse, error) + func (s *Files) Update(ctx context.Context, id string, filePatch components.FilePatch, ...) (*operations.FilesUpdateResponse, error) + func (s *Files) Uploaded(ctx context.Context, id string, ...) (*operations.FilesUploadedResponse, error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type LicenseKeys struct + func (s *LicenseKeys) Activate(ctx context.Context, request components.LicenseKeyActivate, ...) (*operations.LicenseKeysActivateResponse, error) + func (s *LicenseKeys) Deactivate(ctx context.Context, request components.LicenseKeyDeactivate, ...) (*operations.LicenseKeysDeactivateResponse, error) + func (s *LicenseKeys) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.LicenseKeysGetResponse, error) + func (s *LicenseKeys) GetActivation(ctx context.Context, id string, activationID string, opts ...operations.Option) (*operations.LicenseKeysGetActivationResponse, error) + func (s *LicenseKeys) List(ctx context.Context, ...) (*operations.LicenseKeysListResponse, error) + func (s *LicenseKeys) Update(ctx context.Context, id string, licenseKeyUpdate components.LicenseKeyUpdate, ...) (*operations.LicenseKeysUpdateResponse, error) + func (s *LicenseKeys) Validate(ctx context.Context, request components.LicenseKeyValidate, ...) (*operations.LicenseKeysValidateResponse, error) + type Members struct + func (s *Members) CreateMember(ctx context.Context, request components.MemberCreate, ...) (*operations.MembersCreateMemberResponse, error) + func (s *Members) DeleteMember(ctx context.Context, id string, opts ...operations.Option) (*operations.MembersDeleteMemberResponse, error) + func (s *Members) GetMember(ctx context.Context, id string, opts ...operations.Option) (*operations.MembersGetMemberResponse, error) + func (s *Members) ListMembers(ctx context.Context, request operations.MembersListMembersRequest, ...) (*operations.MembersListMembersResponse, error) + func (s *Members) UpdateMember(ctx context.Context, id string, memberUpdate components.MemberUpdate, ...) (*operations.MembersUpdateMemberResponse, error) + type Meters struct + func (s *Meters) Create(ctx context.Context, request components.MeterCreate, opts ...operations.Option) (*operations.MetersCreateResponse, error) + func (s *Meters) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.MetersGetResponse, error) + func (s *Meters) List(ctx context.Context, request operations.MetersListRequest, ...) (*operations.MetersListResponse, error) + func (s *Meters) Quantities(ctx context.Context, request operations.MetersQuantitiesRequest, ...) (*operations.MetersQuantitiesResponse, error) + func (s *Meters) Update(ctx context.Context, id string, meterUpdate components.MeterUpdate, ...) (*operations.MetersUpdateResponse, error) + type Metrics struct + func (s *Metrics) CreateDashboard(ctx context.Context, request components.MetricDashboardCreate, ...) (*operations.MetricsCreateDashboardResponse, error) + func (s *Metrics) DeleteDashboard(ctx context.Context, id string, opts ...operations.Option) (*operations.MetricsDeleteDashboardResponse, error) + func (s *Metrics) Get(ctx context.Context, request operations.MetricsGetRequest, ...) (*operations.MetricsGetResponse, error) + func (s *Metrics) GetDashboard(ctx context.Context, id string, opts ...operations.Option) (*operations.MetricsGetDashboardResponse, error) + func (s *Metrics) Limits(ctx context.Context, opts ...operations.Option) (*operations.MetricsLimitsResponse, error) + func (s *Metrics) ListDashboards(ctx context.Context, ...) (*operations.MetricsListDashboardsResponse, error) + func (s *Metrics) UpdateDashboard(ctx context.Context, id string, ...) (*operations.MetricsUpdateDashboardResponse, error) + type Oauth2 struct + Clients *Clients + func (s *Oauth2) Authorize(ctx context.Context, opts ...operations.Option) (*operations.Oauth2AuthorizeResponse, error) + func (s *Oauth2) Introspect(ctx context.Context, request components.IntrospectTokenRequest, ...) (*operations.Oauth2IntrospectTokenResponse, error) + func (s *Oauth2) Revoke(ctx context.Context, request components.RevokeTokenRequest, ...) (*operations.Oauth2RevokeTokenResponse, error) + func (s *Oauth2) Token(ctx context.Context, request operations.Oauth2RequestTokenRequestBody, ...) (*operations.Oauth2RequestTokenResponse, error) + func (s *Oauth2) Userinfo(ctx context.Context, opts ...operations.Option) (*operations.Oauth2UserinfoResponse, error) + type Orders struct + func (s *Orders) Export(ctx context.Context, ...) (*operations.OrdersExportResponse, error) + func (s *Orders) GenerateInvoice(ctx context.Context, id string, opts ...operations.Option) (*operations.OrdersGenerateInvoiceResponse, error) + func (s *Orders) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.OrdersGetResponse, error) + func (s *Orders) Invoice(ctx context.Context, id string, opts ...operations.Option) (*operations.OrdersInvoiceResponse, error) + func (s *Orders) List(ctx context.Context, request operations.OrdersListRequest, ...) (*operations.OrdersListResponse, error) + func (s *Orders) Update(ctx context.Context, id string, orderUpdate components.OrderUpdate, ...) (*operations.OrdersUpdateResponse, error) + type OrganizationAccessTokens struct + func (s *OrganizationAccessTokens) Create(ctx context.Context, request components.OrganizationAccessTokenCreate, ...) (*operations.OrganizationAccessTokensCreateResponse, error) + func (s *OrganizationAccessTokens) Delete(ctx context.Context, id string, opts ...operations.Option) (*operations.OrganizationAccessTokensDeleteResponse, error) + func (s *OrganizationAccessTokens) List(ctx context.Context, ...) (*operations.OrganizationAccessTokensListResponse, error) + func (s *OrganizationAccessTokens) Update(ctx context.Context, id string, ...) (*operations.OrganizationAccessTokensUpdateResponse, error) + type Organizations struct + func (s *Organizations) Create(ctx context.Context, request components.OrganizationCreate, ...) (*operations.OrganizationsCreateResponse, error) + func (s *Organizations) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.OrganizationsGetResponse, error) + func (s *Organizations) List(ctx context.Context, slug *string, page *int64, limit *int64, ...) (*operations.OrganizationsListResponse, error) + func (s *Organizations) Update(ctx context.Context, id string, ...) (*operations.OrganizationsUpdateResponse, error) + type Payments struct + func (s *Payments) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.PaymentsGetResponse, error) + func (s *Payments) List(ctx context.Context, request operations.PaymentsListRequest, ...) (*operations.PaymentsListResponse, error) + type Products struct + func (s *Products) Create(ctx context.Context, request components.ProductCreate, ...) (*operations.ProductsCreateResponse, error) + func (s *Products) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.ProductsGetResponse, error) + func (s *Products) List(ctx context.Context, request operations.ProductsListRequest, ...) (*operations.ProductsListResponse, error) + func (s *Products) Update(ctx context.Context, id string, productUpdate components.ProductUpdate, ...) (*operations.ProductsUpdateResponse, error) + func (s *Products) UpdateBenefits(ctx context.Context, id string, ...) (*operations.ProductsUpdateBenefitsResponse, error) + type Refunds struct + func (s *Refunds) Create(ctx context.Context, request components.RefundCreate, ...) (*operations.RefundsCreateResponse, error) + func (s *Refunds) List(ctx context.Context, request operations.RefundsListRequest, ...) (*operations.RefundsListResponse, error) + type Ruba struct + BenefitGrants *BenefitGrants + Benefits *Benefits + CheckoutLinks *CheckoutLinks + Checkouts *Checkouts + CustomFields *CustomFields + CustomerMeters *CustomerMeters + CustomerPortal *CustomerPortal + CustomerSeats *CustomerSeats + CustomerSessions *CustomerSessions + Customers *Customers + Discounts *Discounts + Disputes *Disputes + EventTypes *EventTypes + Events *Events + Files *Files + LicenseKeys *LicenseKeys + Members *Members + Meters *Meters + Metrics *Metrics + Oauth2 *Oauth2 + Orders *Orders + OrganizationAccessTokens *OrganizationAccessTokens + Organizations *Organizations + Payments *Payments + Products *Products + Refunds *Refunds + SDKVersion string + Subscriptions *Subscriptions + Webhooks *Webhooks + func New(opts ...SDKOption) *Ruba + type RubaBenefitGrants struct + func (s *RubaBenefitGrants) Get(ctx context.Context, ...) (*operations.CustomerPortalBenefitGrantsGetResponse, error) + func (s *RubaBenefitGrants) List(ctx context.Context, request operations.CustomerPortalBenefitGrantsListRequest, ...) (*operations.CustomerPortalBenefitGrantsListResponse, error) + func (s *RubaBenefitGrants) Update(ctx context.Context, ...) (*operations.CustomerPortalBenefitGrantsUpdateResponse, error) + type RubaCustomerMeters struct + func (s *RubaCustomerMeters) Get(ctx context.Context, ...) (*operations.CustomerPortalCustomerMetersGetResponse, error) + func (s *RubaCustomerMeters) List(ctx context.Context, ...) (*operations.CustomerPortalCustomerMetersListResponse, error) + type RubaCustomers struct + func (s *RubaCustomers) AddPaymentMethod(ctx context.Context, request components.CustomerPaymentMethodCreate, ...) (*operations.CustomerPortalCustomersAddPaymentMethodResponse, error) + func (s *RubaCustomers) ConfirmPaymentMethod(ctx context.Context, request components.CustomerPaymentMethodConfirm, ...) (*operations.CustomerPortalCustomersConfirmPaymentMethodResponse, error) + func (s *RubaCustomers) DeletePaymentMethod(ctx context.Context, ...) (*operations.CustomerPortalCustomersDeletePaymentMethodResponse, error) + func (s *RubaCustomers) Get(ctx context.Context, security operations.CustomerPortalCustomersGetSecurity, ...) (*operations.CustomerPortalCustomersGetResponse, error) + func (s *RubaCustomers) ListPaymentMethods(ctx context.Context, ...) (*operations.CustomerPortalCustomersListPaymentMethodsResponse, error) + func (s *RubaCustomers) Update(ctx context.Context, request components.CustomerPortalCustomerUpdate, ...) (*operations.CustomerPortalCustomersUpdateResponse, error) + type RubaLicenseKeys struct + func (s *RubaLicenseKeys) Activate(ctx context.Context, request components.LicenseKeyActivate, ...) (*operations.CustomerPortalLicenseKeysActivateResponse, error) + func (s *RubaLicenseKeys) Deactivate(ctx context.Context, request components.LicenseKeyDeactivate, ...) (*operations.CustomerPortalLicenseKeysDeactivateResponse, error) + func (s *RubaLicenseKeys) Get(ctx context.Context, security operations.CustomerPortalLicenseKeysGetSecurity, ...) (*operations.CustomerPortalLicenseKeysGetResponse, error) + func (s *RubaLicenseKeys) List(ctx context.Context, security operations.CustomerPortalLicenseKeysListSecurity, ...) (*operations.CustomerPortalLicenseKeysListResponse, error) + func (s *RubaLicenseKeys) Validate(ctx context.Context, request components.LicenseKeyValidate, ...) (*operations.CustomerPortalLicenseKeysValidateResponse, error) + type RubaMembers struct + func (s *RubaMembers) AddMember(ctx context.Context, request components.CustomerPortalMemberCreate, ...) (*operations.CustomerPortalMembersAddMemberResponse, error) + func (s *RubaMembers) ListMembers(ctx context.Context, page *int64, limit *int64, opts ...operations.Option) (*operations.CustomerPortalMembersListMembersResponse, error) + func (s *RubaMembers) RemoveMember(ctx context.Context, id string, opts ...operations.Option) (*operations.CustomerPortalMembersRemoveMemberResponse, error) + func (s *RubaMembers) UpdateMember(ctx context.Context, id string, ...) (*operations.CustomerPortalMembersUpdateMemberResponse, error) + type RubaOrders struct + func (s *RubaOrders) ConfirmRetryPayment(ctx context.Context, ...) (*operations.CustomerPortalOrdersConfirmRetryPaymentResponse, error) + func (s *RubaOrders) GenerateInvoice(ctx context.Context, ...) (*operations.CustomerPortalOrdersGenerateInvoiceResponse, error) + func (s *RubaOrders) Get(ctx context.Context, security operations.CustomerPortalOrdersGetSecurity, ...) (*operations.CustomerPortalOrdersGetResponse, error) + func (s *RubaOrders) GetPaymentStatus(ctx context.Context, ...) (*operations.CustomerPortalOrdersGetPaymentStatusResponse, error) + func (s *RubaOrders) Invoice(ctx context.Context, security operations.CustomerPortalOrdersInvoiceSecurity, ...) (*operations.CustomerPortalOrdersInvoiceResponse, error) + func (s *RubaOrders) List(ctx context.Context, request operations.CustomerPortalOrdersListRequest, ...) (*operations.CustomerPortalOrdersListResponse, error) + func (s *RubaOrders) Update(ctx context.Context, security operations.CustomerPortalOrdersUpdateSecurity, ...) (*operations.CustomerPortalOrdersUpdateResponse, error) + type RubaOrganizations struct + func (s *RubaOrganizations) Get(ctx context.Context, slug string, opts ...operations.Option) (*operations.CustomerPortalOrganizationsGetResponse, error) + type RubaSubscriptions struct + func (s *RubaSubscriptions) Cancel(ctx context.Context, ...) (*operations.CustomerPortalSubscriptionsCancelResponse, error) + func (s *RubaSubscriptions) Get(ctx context.Context, ...) (*operations.CustomerPortalSubscriptionsGetResponse, error) + func (s *RubaSubscriptions) List(ctx context.Context, request operations.CustomerPortalSubscriptionsListRequest, ...) (*operations.CustomerPortalSubscriptionsListResponse, error) + func (s *RubaSubscriptions) Update(ctx context.Context, ...) (*operations.CustomerPortalSubscriptionsUpdateResponse, error) + type SDKOption func(*Ruba) + func WithClient(client HTTPClient) SDKOption + func WithRetryConfig(retryConfig retry.Config) SDKOption + func WithSecurity(accessToken string) SDKOption + func WithSecuritySource(security func(context.Context) (components.Security, error)) SDKOption + func WithServer(server string) SDKOption + func WithServerURL(serverURL string) SDKOption + func WithTemplatedServerURL(serverURL string, params map[string]string) SDKOption + func WithTimeout(timeout time.Duration) SDKOption + type Seats struct + func (s *Seats) AssignSeat(ctx context.Context, request components.SeatAssign, ...) (*operations.CustomerPortalSeatsAssignSeatResponse, error) + func (s *Seats) ListClaimedSubscriptions(ctx context.Context, ...) (*operations.CustomerPortalSeatsListClaimedSubscriptionsResponse, error) + func (s *Seats) ListSeats(ctx context.Context, security operations.CustomerPortalSeatsListSeatsSecurity, ...) (*operations.CustomerPortalSeatsListSeatsResponse, error) + func (s *Seats) ResendInvitation(ctx context.Context, ...) (*operations.CustomerPortalSeatsResendInvitationResponse, error) + func (s *Seats) RevokeSeat(ctx context.Context, security operations.CustomerPortalSeatsRevokeSeatSecurity, ...) (*operations.CustomerPortalSeatsRevokeSeatResponse, error) + type Subscriptions struct + func (s *Subscriptions) Create(ctx context.Context, request operations.SubscriptionsCreateSubscriptionCreate, ...) (*operations.SubscriptionsCreateResponse, error) + func (s *Subscriptions) Export(ctx context.Context, organizationID *operations.OrganizationID, ...) (*operations.SubscriptionsExportResponse, error) + func (s *Subscriptions) Get(ctx context.Context, id string, opts ...operations.Option) (*operations.SubscriptionsGetResponse, error) + func (s *Subscriptions) List(ctx context.Context, request operations.SubscriptionsListRequest, ...) (*operations.SubscriptionsListResponse, error) + func (s *Subscriptions) Revoke(ctx context.Context, id string, opts ...operations.Option) (*operations.SubscriptionsRevokeResponse, error) + func (s *Subscriptions) Update(ctx context.Context, id string, ...) (*operations.SubscriptionsUpdateResponse, error) + type Wallets struct + func (s *Wallets) Get(ctx context.Context, security operations.CustomerPortalWalletsGetSecurity, ...) (*operations.CustomerPortalWalletsGetResponse, error) + func (s *Wallets) List(ctx context.Context, security operations.CustomerPortalWalletsListSecurity, ...) (*operations.CustomerPortalWalletsListResponse, error) + type Webhooks struct + func (s *Webhooks) CreateWebhookEndpoint(ctx context.Context, request components.WebhookEndpointCreate, ...) (*operations.WebhooksCreateWebhookEndpointResponse, error) + func (s *Webhooks) DeleteWebhookEndpoint(ctx context.Context, id string, opts ...operations.Option) (*operations.WebhooksDeleteWebhookEndpointResponse, error) + func (s *Webhooks) GetWebhookEndpoint(ctx context.Context, id string, opts ...operations.Option) (*operations.WebhooksGetWebhookEndpointResponse, error) + func (s *Webhooks) ListWebhookDeliveries(ctx context.Context, request operations.WebhooksListWebhookDeliveriesRequest, ...) (*operations.WebhooksListWebhookDeliveriesResponse, error) + func (s *Webhooks) ListWebhookEndpoints(ctx context.Context, organizationID *operations.QueryParamOrganizationID, ...) (*operations.WebhooksListWebhookEndpointsResponse, error) + func (s *Webhooks) RedeliverWebhookEvent(ctx context.Context, id string, opts ...operations.Option) (*operations.WebhooksRedeliverWebhookEventResponse, error) + func (s *Webhooks) ResetWebhookEndpointSecret(ctx context.Context, id string, opts ...operations.Option) (*operations.WebhooksResetWebhookEndpointSecretResponse, error) + func (s *Webhooks) UpdateWebhookEndpoint(ctx context.Context, id string, ...) (*operations.WebhooksUpdateWebhookEndpointResponse, error)