sequence

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package sequence provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Examples

Constants

View Source
const (
	// ProductionEuropeAPIURL is the URL of the Sequence API in production
	ProductionEuropeAPIURL = APIURL("https://eu.sequencehq.com/api")
	// SandboxAPIURL is the URL of the Sequence API in sandbox
	SandboxAPIURL = APIURL("https://sandbox.sequencehq.com/api")
)

Variables

This section is empty.

Functions

func NewDeleteCreditNotesByCreditnoteLineItemGroupsByIdRequest

func NewDeleteCreditNotesByCreditnoteLineItemGroupsByIdRequest(server string, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams) (*http.Request, error)

NewDeleteCreditNotesByCreditnoteLineItemGroupsByIdRequest generates requests for DeleteCreditNotesByCreditnoteLineItemGroupsById

func NewDeleteCreditNotesByCreditnoteLineItemsByIdRequest

func NewDeleteCreditNotesByCreditnoteLineItemsByIdRequest(server string, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemsByIdParams) (*http.Request, error)

NewDeleteCreditNotesByCreditnoteLineItemsByIdRequest generates requests for DeleteCreditNotesByCreditnoteLineItemsById

func NewDeleteCreditNotesByIdRequest

func NewDeleteCreditNotesByIdRequest(server string, id string, params *DeleteCreditNotesByIdParams) (*http.Request, error)

NewDeleteCreditNotesByIdRequest generates requests for DeleteCreditNotesById

func NewDeleteCustomerAliasesByIdRequest

func NewDeleteCustomerAliasesByIdRequest(server string, id string, params *DeleteCustomerAliasesByIdParams) (*http.Request, error)

NewDeleteCustomerAliasesByIdRequest generates requests for DeleteCustomerAliasesById

func NewDeleteDiscountsByIdRequest

func NewDeleteDiscountsByIdRequest(server string, id string, params *DeleteDiscountsByIdParams) (*http.Request, error)

NewDeleteDiscountsByIdRequest generates requests for DeleteDiscountsById

func NewDeleteInvoicesByIdRequest

func NewDeleteInvoicesByIdRequest(server string, id string, params *DeleteInvoicesByIdParams) (*http.Request, error)

NewDeleteInvoicesByIdRequest generates requests for DeleteInvoicesById

func NewDeleteInvoicesByInvoiceLineItemGroupsByIdRequest

func NewDeleteInvoicesByInvoiceLineItemGroupsByIdRequest(server string, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemGroupsByIdParams) (*http.Request, error)

NewDeleteInvoicesByInvoiceLineItemGroupsByIdRequest generates requests for DeleteInvoicesByInvoiceLineItemGroupsById

func NewDeleteInvoicesByInvoiceLineItemsByIdRequest

func NewDeleteInvoicesByInvoiceLineItemsByIdRequest(server string, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemsByIdParams) (*http.Request, error)

NewDeleteInvoicesByInvoiceLineItemsByIdRequest generates requests for DeleteInvoicesByInvoiceLineItemsById

func NewDeleteNotificationsPoliciesByIdNotificationTypesByTypeRequest

func NewDeleteNotificationsPoliciesByIdNotificationTypesByTypeRequest(server string, id string, pType DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType, params *DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams) (*http.Request, error)

NewDeleteNotificationsPoliciesByIdNotificationTypesByTypeRequest generates requests for DeleteNotificationsPoliciesByIdNotificationTypesByType

func NewDeleteNotificationsPoliciesByIdRecipientsByRecipientRequest

func NewDeleteNotificationsPoliciesByIdRecipientsByRecipientRequest(server string, id string, recipient string, params *DeleteNotificationsPoliciesByIdRecipientsByRecipientParams) (*http.Request, error)

NewDeleteNotificationsPoliciesByIdRecipientsByRecipientRequest generates requests for DeleteNotificationsPoliciesByIdRecipientsByRecipient

func NewDeleteNotificationsPoliciesByIdRequest

func NewDeleteNotificationsPoliciesByIdRequest(server string, id string, params *DeleteNotificationsPoliciesByIdParams) (*http.Request, error)

NewDeleteNotificationsPoliciesByIdRequest generates requests for DeleteNotificationsPoliciesById

func NewDeletePaymentsSettingsBillingSchedulesByIdRequest

func NewDeletePaymentsSettingsBillingSchedulesByIdRequest(server string, id string, params *DeletePaymentsSettingsBillingSchedulesByIdParams) (*http.Request, error)

NewDeletePaymentsSettingsBillingSchedulesByIdRequest generates requests for DeletePaymentsSettingsBillingSchedulesById

func NewDeletePaymentsSettingsCustomersByIdRequest

func NewDeletePaymentsSettingsCustomersByIdRequest(server string, id string, params *DeletePaymentsSettingsCustomersByIdParams) (*http.Request, error)

NewDeletePaymentsSettingsCustomersByIdRequest generates requests for DeletePaymentsSettingsCustomersById

func NewDeletePaymentsSettingsInvoicesByIdRequest

func NewDeletePaymentsSettingsInvoicesByIdRequest(server string, id string, params *DeletePaymentsSettingsInvoicesByIdParams) (*http.Request, error)

NewDeletePaymentsSettingsInvoicesByIdRequest generates requests for DeletePaymentsSettingsInvoicesById

func NewDeletePricesByIdRequest

func NewDeletePricesByIdRequest(server string, id string, params *DeletePricesByIdParams) (*http.Request, error)

NewDeletePricesByIdRequest generates requests for DeletePricesById

func NewDeleteSeatMetricsByIdRequest

func NewDeleteSeatMetricsByIdRequest(server string, id string, params *DeleteSeatMetricsByIdParams) (*http.Request, error)

NewDeleteSeatMetricsByIdRequest generates requests for DeleteSeatMetricsById

func NewDeleteTaxRatesByIdRequest

func NewDeleteTaxRatesByIdRequest(server string, id string, params *DeleteTaxRatesByIdParams) (*http.Request, error)

NewDeleteTaxRatesByIdRequest generates requests for DeleteTaxRatesById

func NewDeleteTaxRegistrationsByIdRequest

func NewDeleteTaxRegistrationsByIdRequest(server string, id string, params *DeleteTaxRegistrationsByIdParams) (*http.Request, error)

NewDeleteTaxRegistrationsByIdRequest generates requests for DeleteTaxRegistrationsById

func NewDeleteUsageMetricsByIdRequest

func NewDeleteUsageMetricsByIdRequest(server string, id string, params *DeleteUsageMetricsByIdParams) (*http.Request, error)

NewDeleteUsageMetricsByIdRequest generates requests for DeleteUsageMetricsById

func NewDeleteUsersByIdRequest

func NewDeleteUsersByIdRequest(server string, id string, params *DeleteUsersByIdParams) (*http.Request, error)

NewDeleteUsersByIdRequest generates requests for DeleteUsersById

func NewGetBillingProductsRequest

func NewGetBillingProductsRequest(server string, params *GetBillingProductsParams) (*http.Request, error)

NewGetBillingProductsRequest generates requests for GetBillingProducts

func NewGetBillingSchedulesByBillingScheduleIdRequest

func NewGetBillingSchedulesByBillingScheduleIdRequest(server string, billingScheduleId string, params *GetBillingSchedulesByBillingScheduleIdParams) (*http.Request, error)

NewGetBillingSchedulesByBillingScheduleIdRequest generates requests for GetBillingSchedulesByBillingScheduleId

func NewGetBillingSchedulesRequest

func NewGetBillingSchedulesRequest(server string, params *GetBillingSchedulesParams) (*http.Request, error)

NewGetBillingSchedulesRequest generates requests for GetBillingSchedules

func NewGetCreditNotesByCreditnoteLineItemGroupsRequest

func NewGetCreditNotesByCreditnoteLineItemGroupsRequest(server string, creditnote string, params *GetCreditNotesByCreditnoteLineItemGroupsParams) (*http.Request, error)

NewGetCreditNotesByCreditnoteLineItemGroupsRequest generates requests for GetCreditNotesByCreditnoteLineItemGroups

func NewGetCreditNotesByCreditnoteLineItemsRequest

func NewGetCreditNotesByCreditnoteLineItemsRequest(server string, creditnote string, params *GetCreditNotesByCreditnoteLineItemsParams) (*http.Request, error)

NewGetCreditNotesByCreditnoteLineItemsRequest generates requests for GetCreditNotesByCreditnoteLineItems

func NewGetCreditNotesByIdDownloadRequest

func NewGetCreditNotesByIdDownloadRequest(server string, id string, params *GetCreditNotesByIdDownloadParams) (*http.Request, error)

NewGetCreditNotesByIdDownloadRequest generates requests for GetCreditNotesByIdDownload

func NewGetCreditNotesByIdRequest

func NewGetCreditNotesByIdRequest(server string, id string, params *GetCreditNotesByIdParams) (*http.Request, error)

NewGetCreditNotesByIdRequest generates requests for GetCreditNotesById

func NewGetCreditNotesRequest

func NewGetCreditNotesRequest(server string, params *GetCreditNotesParams) (*http.Request, error)

NewGetCreditNotesRequest generates requests for GetCreditNotes

func NewGetCreditsByCustomerIdBalancesRequest

func NewGetCreditsByCustomerIdBalancesRequest(server string, customerId string, params *GetCreditsByCustomerIdBalancesParams) (*http.Request, error)

NewGetCreditsByCustomerIdBalancesRequest generates requests for GetCreditsByCustomerIdBalances

func NewGetCreditsByCustomerIdGrantsRequest

func NewGetCreditsByCustomerIdGrantsRequest(server string, customerId string, params *GetCreditsByCustomerIdGrantsParams) (*http.Request, error)

NewGetCreditsByCustomerIdGrantsRequest generates requests for GetCreditsByCustomerIdGrants

func NewGetCreditsByIdRequest

func NewGetCreditsByIdRequest(server string, id string, params *GetCreditsByIdParams) (*http.Request, error)

NewGetCreditsByIdRequest generates requests for GetCreditsById

func NewGetCreditsRequest

func NewGetCreditsRequest(server string, params *GetCreditsParams) (*http.Request, error)

NewGetCreditsRequest generates requests for GetCredits

func NewGetCustomerAliasesRequest

func NewGetCustomerAliasesRequest(server string, params *GetCustomerAliasesParams) (*http.Request, error)

NewGetCustomerAliasesRequest generates requests for GetCustomerAliases

func NewGetCustomersByAliasByAliasRequest

func NewGetCustomersByAliasByAliasRequest(server string, alias string, params *GetCustomersByAliasByAliasParams) (*http.Request, error)

NewGetCustomersByAliasByAliasRequest generates requests for GetCustomersByAliasByAlias

func NewGetCustomersByCustomerContactsRequest

func NewGetCustomersByCustomerContactsRequest(server string, customer string, params *GetCustomersByCustomerContactsParams) (*http.Request, error)

NewGetCustomersByCustomerContactsRequest generates requests for GetCustomersByCustomerContacts

func NewGetCustomersByIdAliasesRequest

func NewGetCustomersByIdAliasesRequest(server string, id string, params *GetCustomersByIdAliasesParams) (*http.Request, error)

NewGetCustomersByIdAliasesRequest generates requests for GetCustomersByIdAliases

func NewGetCustomersByIdRequest

func NewGetCustomersByIdRequest(server string, id string, params *GetCustomersByIdParams) (*http.Request, error)

NewGetCustomersByIdRequest generates requests for GetCustomersById

func NewGetCustomersRequest

func NewGetCustomersRequest(server string, params *GetCustomersParams) (*http.Request, error)

NewGetCustomersRequest generates requests for GetCustomers

func NewGetDiscountsByIdRequest

func NewGetDiscountsByIdRequest(server string, id string, params *GetDiscountsByIdParams) (*http.Request, error)

NewGetDiscountsByIdRequest generates requests for GetDiscountsById

func NewGetDiscountsRequest

func NewGetDiscountsRequest(server string, params *GetDiscountsParams) (*http.Request, error)

NewGetDiscountsRequest generates requests for GetDiscounts

func NewGetInvoicesByIdDownloadRequest

func NewGetInvoicesByIdDownloadRequest(server string, id string, params *GetInvoicesByIdDownloadParams) (*http.Request, error)

NewGetInvoicesByIdDownloadRequest generates requests for GetInvoicesByIdDownload

func NewGetInvoicesByIdRequest

func NewGetInvoicesByIdRequest(server string, id string, params *GetInvoicesByIdParams) (*http.Request, error)

NewGetInvoicesByIdRequest generates requests for GetInvoicesById

func NewGetInvoicesByInvoiceLineItemGroupsRequest

func NewGetInvoicesByInvoiceLineItemGroupsRequest(server string, invoice string, params *GetInvoicesByInvoiceLineItemGroupsParams) (*http.Request, error)

NewGetInvoicesByInvoiceLineItemGroupsRequest generates requests for GetInvoicesByInvoiceLineItemGroups

func NewGetInvoicesByInvoiceLineItemsRequest

func NewGetInvoicesByInvoiceLineItemsRequest(server string, invoice string, params *GetInvoicesByInvoiceLineItemsParams) (*http.Request, error)

NewGetInvoicesByInvoiceLineItemsRequest generates requests for GetInvoicesByInvoiceLineItems

func NewGetInvoicesRenderSettingsRequest

func NewGetInvoicesRenderSettingsRequest(server string, params *GetInvoicesRenderSettingsParams) (*http.Request, error)

NewGetInvoicesRenderSettingsRequest generates requests for GetInvoicesRenderSettings

func NewGetInvoicesRequest

func NewGetInvoicesRequest(server string, params *GetInvoicesParams) (*http.Request, error)

NewGetInvoicesRequest generates requests for GetInvoices

func NewGetListPricesByIdRequest

func NewGetListPricesByIdRequest(server string, id string, params *GetListPricesByIdParams) (*http.Request, error)

NewGetListPricesByIdRequest generates requests for GetListPricesById

func NewGetListPricesRequest

func NewGetListPricesRequest(server string, params *GetListPricesParams) (*http.Request, error)

NewGetListPricesRequest generates requests for GetListPrices

func NewGetNotificationsPoliciesByIdRequest

func NewGetNotificationsPoliciesByIdRequest(server string, id string, params *GetNotificationsPoliciesByIdParams) (*http.Request, error)

NewGetNotificationsPoliciesByIdRequest generates requests for GetNotificationsPoliciesById

func NewGetNotificationsPoliciesRequest

func NewGetNotificationsPoliciesRequest(server string, params *GetNotificationsPoliciesParams) (*http.Request, error)

NewGetNotificationsPoliciesRequest generates requests for GetNotificationsPolicies

func NewGetPaymentsSettingsBillingSchedulesByIdRequest

func NewGetPaymentsSettingsBillingSchedulesByIdRequest(server string, id string, params *GetPaymentsSettingsBillingSchedulesByIdParams) (*http.Request, error)

NewGetPaymentsSettingsBillingSchedulesByIdRequest generates requests for GetPaymentsSettingsBillingSchedulesById

func NewGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdRequest

func NewGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdRequest(server string, id string, params *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams) (*http.Request, error)

NewGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdRequest generates requests for GetPaymentsSettingsBillingSchedulesForBillingScheduleById

func NewGetPaymentsSettingsCustomersByIdRequest

func NewGetPaymentsSettingsCustomersByIdRequest(server string, id string, params *GetPaymentsSettingsCustomersByIdParams) (*http.Request, error)

NewGetPaymentsSettingsCustomersByIdRequest generates requests for GetPaymentsSettingsCustomersById

func NewGetPaymentsSettingsInvoicesByIdRequest

func NewGetPaymentsSettingsInvoicesByIdRequest(server string, id string, params *GetPaymentsSettingsInvoicesByIdParams) (*http.Request, error)

NewGetPaymentsSettingsInvoicesByIdRequest generates requests for GetPaymentsSettingsInvoicesById

func NewGetPaymentsSettingsInvoicesForInvoiceByIdRequest

func NewGetPaymentsSettingsInvoicesForInvoiceByIdRequest(server string, id string, params *GetPaymentsSettingsInvoicesForInvoiceByIdParams) (*http.Request, error)

NewGetPaymentsSettingsInvoicesForInvoiceByIdRequest generates requests for GetPaymentsSettingsInvoicesForInvoiceById

func NewGetPaymentsSettingsRequest

func NewGetPaymentsSettingsRequest(server string, params *GetPaymentsSettingsParams) (*http.Request, error)

NewGetPaymentsSettingsRequest generates requests for GetPaymentsSettings

func NewGetPricesByIdRequest

func NewGetPricesByIdRequest(server string, id string, params *GetPricesByIdParams) (*http.Request, error)

NewGetPricesByIdRequest generates requests for GetPricesById

func NewGetPricesRequest

func NewGetPricesRequest(server string, params *GetPricesParams) (*http.Request, error)

NewGetPricesRequest generates requests for GetPrices

func NewGetProductsByIdRequest

func NewGetProductsByIdRequest(server string, id string, params *GetProductsByIdParams) (*http.Request, error)

NewGetProductsByIdRequest generates requests for GetProductsById

func NewGetProductsRequest

func NewGetProductsRequest(server string, params *GetProductsParams) (*http.Request, error)

NewGetProductsRequest generates requests for GetProducts

func NewGetSeatBalancesRequest

func NewGetSeatBalancesRequest(server string, params *GetSeatBalancesParams) (*http.Request, error)

NewGetSeatBalancesRequest generates requests for GetSeatBalances

func NewGetSeatEventsByIdRequest

func NewGetSeatEventsByIdRequest(server string, id string, params *GetSeatEventsByIdParams) (*http.Request, error)

NewGetSeatEventsByIdRequest generates requests for GetSeatEventsById

func NewGetSeatEventsRequest

func NewGetSeatEventsRequest(server string, params *GetSeatEventsParams) (*http.Request, error)

NewGetSeatEventsRequest generates requests for GetSeatEvents

func NewGetSeatMetricsByIdRequest

func NewGetSeatMetricsByIdRequest(server string, id string, params *GetSeatMetricsByIdParams) (*http.Request, error)

NewGetSeatMetricsByIdRequest generates requests for GetSeatMetricsById

func NewGetSeatMetricsRequest

func NewGetSeatMetricsRequest(server string, params *GetSeatMetricsParams) (*http.Request, error)

NewGetSeatMetricsRequest generates requests for GetSeatMetrics

func NewGetSequenceAccountsByIdRequest

func NewGetSequenceAccountsByIdRequest(server string, id string, params *GetSequenceAccountsByIdParams) (*http.Request, error)

NewGetSequenceAccountsByIdRequest generates requests for GetSequenceAccountsById

func NewGetSequenceAccountsRequest

func NewGetSequenceAccountsRequest(server string, params *GetSequenceAccountsParams) (*http.Request, error)

NewGetSequenceAccountsRequest generates requests for GetSequenceAccounts

func NewGetTaxRatesByIdRequest

func NewGetTaxRatesByIdRequest(server string, id string, params *GetTaxRatesByIdParams) (*http.Request, error)

NewGetTaxRatesByIdRequest generates requests for GetTaxRatesById

func NewGetTaxRatesRequest

func NewGetTaxRatesRequest(server string, params *GetTaxRatesParams) (*http.Request, error)

NewGetTaxRatesRequest generates requests for GetTaxRates

func NewGetTaxRegistrationsByIdRequest

func NewGetTaxRegistrationsByIdRequest(server string, id string, params *GetTaxRegistrationsByIdParams) (*http.Request, error)

NewGetTaxRegistrationsByIdRequest generates requests for GetTaxRegistrationsById

func NewGetTaxRegistrationsForCustomerByIdRequest

func NewGetTaxRegistrationsForCustomerByIdRequest(server string, id string, params *GetTaxRegistrationsForCustomerByIdParams) (*http.Request, error)

NewGetTaxRegistrationsForCustomerByIdRequest generates requests for GetTaxRegistrationsForCustomerById

func NewGetTaxRegistrationsForMerchantByIdRequest

func NewGetTaxRegistrationsForMerchantByIdRequest(server string, id string, params *GetTaxRegistrationsForMerchantByIdParams) (*http.Request, error)

NewGetTaxRegistrationsForMerchantByIdRequest generates requests for GetTaxRegistrationsForMerchantById

func NewGetTaxRegistrationsRequest

func NewGetTaxRegistrationsRequest(server string, params *GetTaxRegistrationsParams) (*http.Request, error)

NewGetTaxRegistrationsRequest generates requests for GetTaxRegistrations

func NewGetUsageEventsRequest

func NewGetUsageEventsRequest(server string, params *GetUsageEventsParams) (*http.Request, error)

NewGetUsageEventsRequest generates requests for GetUsageEvents

func NewGetUsageMetricsByIdRequest

func NewGetUsageMetricsByIdRequest(server string, id string, params *GetUsageMetricsByIdParams) (*http.Request, error)

NewGetUsageMetricsByIdRequest generates requests for GetUsageMetricsById

func NewGetUsageMetricsByUsageMetricIdCalculateRequest

func NewGetUsageMetricsByUsageMetricIdCalculateRequest(server string, usageMetricId string, params *GetUsageMetricsByUsageMetricIdCalculateParams) (*http.Request, error)

NewGetUsageMetricsByUsageMetricIdCalculateRequest generates requests for GetUsageMetricsByUsageMetricIdCalculate

func NewGetUsageMetricsRequest

func NewGetUsageMetricsRequest(server string, params *GetUsageMetricsParams) (*http.Request, error)

NewGetUsageMetricsRequest generates requests for GetUsageMetrics

func NewGetUsersByIdRequest

func NewGetUsersByIdRequest(server string, id string, params *GetUsersByIdParams) (*http.Request, error)

NewGetUsersByIdRequest generates requests for GetUsersById

func NewGetUsersRequest

func NewGetUsersRequest(server string, params *GetUsersParams) (*http.Request, error)

NewGetUsersRequest generates requests for GetUsers

func NewPatchInvoicesByIdRequest

func NewPatchInvoicesByIdRequest(server string, id string, params *PatchInvoicesByIdParams, body PatchInvoicesByIdJSONRequestBody) (*http.Request, error)

NewPatchInvoicesByIdRequest calls the generic PatchInvoicesById builder with application/json body

func NewPatchInvoicesByIdRequestWithBody

func NewPatchInvoicesByIdRequestWithBody(server string, id string, params *PatchInvoicesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchInvoicesByIdRequestWithBody generates requests for PatchInvoicesById with any type of body

func NewPostBillingSchedulesByBillingScheduleIdArchiveRequest

func NewPostBillingSchedulesByBillingScheduleIdArchiveRequest(server string, billingScheduleId string, params *PostBillingSchedulesByBillingScheduleIdArchiveParams) (*http.Request, error)

NewPostBillingSchedulesByBillingScheduleIdArchiveRequest generates requests for PostBillingSchedulesByBillingScheduleIdArchive

func NewPostBillingSchedulesRequest

func NewPostBillingSchedulesRequest(server string, params *PostBillingSchedulesParams, body PostBillingSchedulesJSONRequestBody) (*http.Request, error)

NewPostBillingSchedulesRequest calls the generic PostBillingSchedules builder with application/json body

func NewPostBillingSchedulesRequestWithBody

func NewPostBillingSchedulesRequestWithBody(server string, params *PostBillingSchedulesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostBillingSchedulesRequestWithBody generates requests for PostBillingSchedules with any type of body

func NewPostBillingSchedulesValidateTaxesRequest

func NewPostBillingSchedulesValidateTaxesRequest(server string, params *PostBillingSchedulesValidateTaxesParams, body PostBillingSchedulesValidateTaxesJSONRequestBody) (*http.Request, error)

NewPostBillingSchedulesValidateTaxesRequest calls the generic PostBillingSchedulesValidateTaxes builder with application/json body

func NewPostBillingSchedulesValidateTaxesRequestWithBody

func NewPostBillingSchedulesValidateTaxesRequestWithBody(server string, params *PostBillingSchedulesValidateTaxesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostBillingSchedulesValidateTaxesRequestWithBody generates requests for PostBillingSchedulesValidateTaxes with any type of body

func NewPostCreditNotesByCreditnoteLineItemGroupsRequest

func NewPostCreditNotesByCreditnoteLineItemGroupsRequest(server string, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, body PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody) (*http.Request, error)

NewPostCreditNotesByCreditnoteLineItemGroupsRequest calls the generic PostCreditNotesByCreditnoteLineItemGroups builder with application/json body

func NewPostCreditNotesByCreditnoteLineItemGroupsRequestWithBody

func NewPostCreditNotesByCreditnoteLineItemGroupsRequestWithBody(server string, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCreditNotesByCreditnoteLineItemGroupsRequestWithBody generates requests for PostCreditNotesByCreditnoteLineItemGroups with any type of body

func NewPostCreditNotesByCreditnoteLineItemsRequest

func NewPostCreditNotesByCreditnoteLineItemsRequest(server string, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, body PostCreditNotesByCreditnoteLineItemsJSONRequestBody) (*http.Request, error)

NewPostCreditNotesByCreditnoteLineItemsRequest calls the generic PostCreditNotesByCreditnoteLineItems builder with application/json body

func NewPostCreditNotesByCreditnoteLineItemsRequestWithBody

func NewPostCreditNotesByCreditnoteLineItemsRequestWithBody(server string, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCreditNotesByCreditnoteLineItemsRequestWithBody generates requests for PostCreditNotesByCreditnoteLineItems with any type of body

func NewPostCreditNotesByIdFinalizeAndSendRequest

func NewPostCreditNotesByIdFinalizeAndSendRequest(server string, id string, params *PostCreditNotesByIdFinalizeAndSendParams) (*http.Request, error)

NewPostCreditNotesByIdFinalizeAndSendRequest generates requests for PostCreditNotesByIdFinalizeAndSend

func NewPostCreditNotesByIdFinalizeRequest

func NewPostCreditNotesByIdFinalizeRequest(server string, id string, params *PostCreditNotesByIdFinalizeParams) (*http.Request, error)

NewPostCreditNotesByIdFinalizeRequest generates requests for PostCreditNotesByIdFinalize

func NewPostCreditNotesByIdSendRequest

func NewPostCreditNotesByIdSendRequest(server string, id string, params *PostCreditNotesByIdSendParams) (*http.Request, error)

NewPostCreditNotesByIdSendRequest generates requests for PostCreditNotesByIdSend

func NewPostCreditNotesByIdVoidRequest

func NewPostCreditNotesByIdVoidRequest(server string, id string, params *PostCreditNotesByIdVoidParams) (*http.Request, error)

NewPostCreditNotesByIdVoidRequest generates requests for PostCreditNotesByIdVoid

func NewPostCreditNotesRequest

func NewPostCreditNotesRequest(server string, params *PostCreditNotesParams, body PostCreditNotesJSONRequestBody) (*http.Request, error)

NewPostCreditNotesRequest calls the generic PostCreditNotes builder with application/json body

func NewPostCreditNotesRequestWithBody

func NewPostCreditNotesRequestWithBody(server string, params *PostCreditNotesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCreditNotesRequestWithBody generates requests for PostCreditNotes with any type of body

func NewPostCreditsRequest

func NewPostCreditsRequest(server string, params *PostCreditsParams, body PostCreditsJSONRequestBody) (*http.Request, error)

NewPostCreditsRequest calls the generic PostCredits builder with application/json body

func NewPostCreditsRequestWithBody

func NewPostCreditsRequestWithBody(server string, params *PostCreditsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCreditsRequestWithBody generates requests for PostCredits with any type of body

func NewPostCustomerAliasesRequest

func NewPostCustomerAliasesRequest(server string, params *PostCustomerAliasesParams, body PostCustomerAliasesJSONRequestBody) (*http.Request, error)

NewPostCustomerAliasesRequest calls the generic PostCustomerAliases builder with application/json body

func NewPostCustomerAliasesRequestWithBody

func NewPostCustomerAliasesRequestWithBody(server string, params *PostCustomerAliasesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCustomerAliasesRequestWithBody generates requests for PostCustomerAliases with any type of body

func NewPostCustomerOrganizationsByIdMembersRequest

func NewPostCustomerOrganizationsByIdMembersRequest(server string, id string, params *PostCustomerOrganizationsByIdMembersParams, body PostCustomerOrganizationsByIdMembersJSONRequestBody) (*http.Request, error)

NewPostCustomerOrganizationsByIdMembersRequest calls the generic PostCustomerOrganizationsByIdMembers builder with application/json body

func NewPostCustomerOrganizationsByIdMembersRequestWithBody

func NewPostCustomerOrganizationsByIdMembersRequestWithBody(server string, id string, params *PostCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCustomerOrganizationsByIdMembersRequestWithBody generates requests for PostCustomerOrganizationsByIdMembers with any type of body

func NewPostCustomerOrganizationsRequest

func NewPostCustomerOrganizationsRequest(server string, params *PostCustomerOrganizationsParams, body PostCustomerOrganizationsJSONRequestBody) (*http.Request, error)

NewPostCustomerOrganizationsRequest calls the generic PostCustomerOrganizations builder with application/json body

func NewPostCustomerOrganizationsRequestWithBody

func NewPostCustomerOrganizationsRequestWithBody(server string, params *PostCustomerOrganizationsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCustomerOrganizationsRequestWithBody generates requests for PostCustomerOrganizations with any type of body

func NewPostCustomersByCustomerContactsByIdArchiveRequest

func NewPostCustomersByCustomerContactsByIdArchiveRequest(server string, customer string, id string, params *PostCustomersByCustomerContactsByIdArchiveParams) (*http.Request, error)

NewPostCustomersByCustomerContactsByIdArchiveRequest generates requests for PostCustomersByCustomerContactsByIdArchive

func NewPostCustomersByCustomerContactsRequest

func NewPostCustomersByCustomerContactsRequest(server string, customer string, params *PostCustomersByCustomerContactsParams, body PostCustomersByCustomerContactsJSONRequestBody) (*http.Request, error)

NewPostCustomersByCustomerContactsRequest calls the generic PostCustomersByCustomerContacts builder with application/json body

func NewPostCustomersByCustomerContactsRequestWithBody

func NewPostCustomersByCustomerContactsRequestWithBody(server string, customer string, params *PostCustomersByCustomerContactsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCustomersByCustomerContactsRequestWithBody generates requests for PostCustomersByCustomerContacts with any type of body

func NewPostCustomersByIdArchiveRequest

func NewPostCustomersByIdArchiveRequest(server string, id string, params *PostCustomersByIdArchiveParams) (*http.Request, error)

NewPostCustomersByIdArchiveRequest generates requests for PostCustomersByIdArchive

func NewPostCustomersRequest

func NewPostCustomersRequest(server string, params *PostCustomersParams, body PostCustomersJSONRequestBody) (*http.Request, error)

NewPostCustomersRequest calls the generic PostCustomers builder with application/json body

func NewPostCustomersRequestWithBody

func NewPostCustomersRequestWithBody(server string, params *PostCustomersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCustomersRequestWithBody generates requests for PostCustomers with any type of body

func NewPostInvoicesByIdDraftRequest

func NewPostInvoicesByIdDraftRequest(server string, id string, params *PostInvoicesByIdDraftParams) (*http.Request, error)

NewPostInvoicesByIdDraftRequest generates requests for PostInvoicesByIdDraft

func NewPostInvoicesByIdFinalizeAndSendRequest

func NewPostInvoicesByIdFinalizeAndSendRequest(server string, id string, params *PostInvoicesByIdFinalizeAndSendParams) (*http.Request, error)

NewPostInvoicesByIdFinalizeAndSendRequest generates requests for PostInvoicesByIdFinalizeAndSend

func NewPostInvoicesByIdFinalizeRequest

func NewPostInvoicesByIdFinalizeRequest(server string, id string, params *PostInvoicesByIdFinalizeParams) (*http.Request, error)

NewPostInvoicesByIdFinalizeRequest generates requests for PostInvoicesByIdFinalize

func NewPostInvoicesByIdSendPaymentReminderRequest

func NewPostInvoicesByIdSendPaymentReminderRequest(server string, id string, params *PostInvoicesByIdSendPaymentReminderParams) (*http.Request, error)

NewPostInvoicesByIdSendPaymentReminderRequest generates requests for PostInvoicesByIdSendPaymentReminder

func NewPostInvoicesByIdSendRequest

func NewPostInvoicesByIdSendRequest(server string, id string, params *PostInvoicesByIdSendParams) (*http.Request, error)

NewPostInvoicesByIdSendRequest generates requests for PostInvoicesByIdSend

func NewPostInvoicesByIdVoidRequest

func NewPostInvoicesByIdVoidRequest(server string, id string, params *PostInvoicesByIdVoidParams) (*http.Request, error)

NewPostInvoicesByIdVoidRequest generates requests for PostInvoicesByIdVoid

func NewPostInvoicesByInvoiceLineItemGroupsRequest

func NewPostInvoicesByInvoiceLineItemGroupsRequest(server string, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, body PostInvoicesByInvoiceLineItemGroupsJSONRequestBody) (*http.Request, error)

NewPostInvoicesByInvoiceLineItemGroupsRequest calls the generic PostInvoicesByInvoiceLineItemGroups builder with application/json body

func NewPostInvoicesByInvoiceLineItemGroupsRequestWithBody

func NewPostInvoicesByInvoiceLineItemGroupsRequestWithBody(server string, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostInvoicesByInvoiceLineItemGroupsRequestWithBody generates requests for PostInvoicesByInvoiceLineItemGroups with any type of body

func NewPostInvoicesByInvoiceLineItemsRequest

func NewPostInvoicesByInvoiceLineItemsRequest(server string, invoice string, params *PostInvoicesByInvoiceLineItemsParams, body PostInvoicesByInvoiceLineItemsJSONRequestBody) (*http.Request, error)

NewPostInvoicesByInvoiceLineItemsRequest calls the generic PostInvoicesByInvoiceLineItems builder with application/json body

func NewPostInvoicesByInvoiceLineItemsRequestWithBody

func NewPostInvoicesByInvoiceLineItemsRequestWithBody(server string, invoice string, params *PostInvoicesByInvoiceLineItemsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostInvoicesByInvoiceLineItemsRequestWithBody generates requests for PostInvoicesByInvoiceLineItems with any type of body

func NewPostInvoicesRequest

func NewPostInvoicesRequest(server string, params *PostInvoicesParams, body PostInvoicesJSONRequestBody) (*http.Request, error)

NewPostInvoicesRequest calls the generic PostInvoices builder with application/json body

func NewPostInvoicesRequestWithBody

func NewPostInvoicesRequestWithBody(server string, params *PostInvoicesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostInvoicesRequestWithBody generates requests for PostInvoices with any type of body

func NewPostListPricesByIdArchiveRequest

func NewPostListPricesByIdArchiveRequest(server string, id string, params *PostListPricesByIdArchiveParams) (*http.Request, error)

NewPostListPricesByIdArchiveRequest generates requests for PostListPricesByIdArchive

func NewPostListPricesRequest

func NewPostListPricesRequest(server string, params *PostListPricesParams, body PostListPricesJSONRequestBody) (*http.Request, error)

NewPostListPricesRequest calls the generic PostListPrices builder with application/json body

func NewPostListPricesRequestWithBody

func NewPostListPricesRequestWithBody(server string, params *PostListPricesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostListPricesRequestWithBody generates requests for PostListPrices with any type of body

func NewPostNotificationsPoliciesByIdNotificationTypesRequest

func NewPostNotificationsPoliciesByIdNotificationTypesRequest(server string, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, body PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody) (*http.Request, error)

NewPostNotificationsPoliciesByIdNotificationTypesRequest calls the generic PostNotificationsPoliciesByIdNotificationTypes builder with application/json body

func NewPostNotificationsPoliciesByIdNotificationTypesRequestWithBody

func NewPostNotificationsPoliciesByIdNotificationTypesRequestWithBody(server string, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostNotificationsPoliciesByIdNotificationTypesRequestWithBody generates requests for PostNotificationsPoliciesByIdNotificationTypes with any type of body

func NewPostNotificationsPoliciesByIdRecipientsRequest

func NewPostNotificationsPoliciesByIdRecipientsRequest(server string, id string, params *PostNotificationsPoliciesByIdRecipientsParams, body PostNotificationsPoliciesByIdRecipientsJSONRequestBody) (*http.Request, error)

NewPostNotificationsPoliciesByIdRecipientsRequest calls the generic PostNotificationsPoliciesByIdRecipients builder with application/json body

func NewPostNotificationsPoliciesByIdRecipientsRequestWithBody

func NewPostNotificationsPoliciesByIdRecipientsRequestWithBody(server string, id string, params *PostNotificationsPoliciesByIdRecipientsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostNotificationsPoliciesByIdRecipientsRequestWithBody generates requests for PostNotificationsPoliciesByIdRecipients with any type of body

func NewPostNotificationsPoliciesRequest

func NewPostNotificationsPoliciesRequest(server string, params *PostNotificationsPoliciesParams, body PostNotificationsPoliciesJSONRequestBody) (*http.Request, error)

NewPostNotificationsPoliciesRequest calls the generic PostNotificationsPolicies builder with application/json body

func NewPostNotificationsPoliciesRequestWithBody

func NewPostNotificationsPoliciesRequestWithBody(server string, params *PostNotificationsPoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostNotificationsPoliciesRequestWithBody generates requests for PostNotificationsPolicies with any type of body

func NewPostPaymentsSettingsBillingSchedulesRequest

func NewPostPaymentsSettingsBillingSchedulesRequest(server string, params *PostPaymentsSettingsBillingSchedulesParams, body PostPaymentsSettingsBillingSchedulesJSONRequestBody) (*http.Request, error)

NewPostPaymentsSettingsBillingSchedulesRequest calls the generic PostPaymentsSettingsBillingSchedules builder with application/json body

func NewPostPaymentsSettingsBillingSchedulesRequestWithBody

func NewPostPaymentsSettingsBillingSchedulesRequestWithBody(server string, params *PostPaymentsSettingsBillingSchedulesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostPaymentsSettingsBillingSchedulesRequestWithBody generates requests for PostPaymentsSettingsBillingSchedules with any type of body

func NewPostPaymentsSettingsCustomersRequest

func NewPostPaymentsSettingsCustomersRequest(server string, params *PostPaymentsSettingsCustomersParams, body PostPaymentsSettingsCustomersJSONRequestBody) (*http.Request, error)

NewPostPaymentsSettingsCustomersRequest calls the generic PostPaymentsSettingsCustomers builder with application/json body

func NewPostPaymentsSettingsCustomersRequestWithBody

func NewPostPaymentsSettingsCustomersRequestWithBody(server string, params *PostPaymentsSettingsCustomersParams, contentType string, body io.Reader) (*http.Request, error)

NewPostPaymentsSettingsCustomersRequestWithBody generates requests for PostPaymentsSettingsCustomers with any type of body

func NewPostPaymentsSettingsInvoicesRequest

func NewPostPaymentsSettingsInvoicesRequest(server string, params *PostPaymentsSettingsInvoicesParams, body PostPaymentsSettingsInvoicesJSONRequestBody) (*http.Request, error)

NewPostPaymentsSettingsInvoicesRequest calls the generic PostPaymentsSettingsInvoices builder with application/json body

func NewPostPaymentsSettingsInvoicesRequestWithBody

func NewPostPaymentsSettingsInvoicesRequestWithBody(server string, params *PostPaymentsSettingsInvoicesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostPaymentsSettingsInvoicesRequestWithBody generates requests for PostPaymentsSettingsInvoices with any type of body

func NewPostPricesRequest

func NewPostPricesRequest(server string, params *PostPricesParams, body PostPricesJSONRequestBody) (*http.Request, error)

NewPostPricesRequest calls the generic PostPrices builder with application/json body

func NewPostPricesRequestWithBody

func NewPostPricesRequestWithBody(server string, params *PostPricesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostPricesRequestWithBody generates requests for PostPrices with any type of body

func NewPostProductsByIdArchiveRequest

func NewPostProductsByIdArchiveRequest(server string, id string, params *PostProductsByIdArchiveParams) (*http.Request, error)

NewPostProductsByIdArchiveRequest generates requests for PostProductsByIdArchive

func NewPostProductsRequest

func NewPostProductsRequest(server string, params *PostProductsParams, body PostProductsJSONRequestBody) (*http.Request, error)

NewPostProductsRequest calls the generic PostProducts builder with application/json body

func NewPostProductsRequestWithBody

func NewPostProductsRequestWithBody(server string, params *PostProductsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostProductsRequestWithBody generates requests for PostProducts with any type of body

func NewPostSeatEventsRequest

func NewPostSeatEventsRequest(server string, params *PostSeatEventsParams, body PostSeatEventsJSONRequestBody) (*http.Request, error)

NewPostSeatEventsRequest calls the generic PostSeatEvents builder with application/json body

func NewPostSeatEventsRequestWithBody

func NewPostSeatEventsRequestWithBody(server string, params *PostSeatEventsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSeatEventsRequestWithBody generates requests for PostSeatEvents with any type of body

func NewPostSeatMetricsRequest

func NewPostSeatMetricsRequest(server string, params *PostSeatMetricsParams, body PostSeatMetricsJSONRequestBody) (*http.Request, error)

NewPostSeatMetricsRequest calls the generic PostSeatMetrics builder with application/json body

func NewPostSeatMetricsRequestWithBody

func NewPostSeatMetricsRequestWithBody(server string, params *PostSeatMetricsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSeatMetricsRequestWithBody generates requests for PostSeatMetrics with any type of body

func NewPostTaxRatesByIdArchiveRequest

func NewPostTaxRatesByIdArchiveRequest(server string, id string, params *PostTaxRatesByIdArchiveParams) (*http.Request, error)

NewPostTaxRatesByIdArchiveRequest generates requests for PostTaxRatesByIdArchive

func NewPostTaxRatesRequest

func NewPostTaxRatesRequest(server string, params *PostTaxRatesParams, body PostTaxRatesJSONRequestBody) (*http.Request, error)

NewPostTaxRatesRequest calls the generic PostTaxRates builder with application/json body

func NewPostTaxRatesRequestWithBody

func NewPostTaxRatesRequestWithBody(server string, params *PostTaxRatesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostTaxRatesRequestWithBody generates requests for PostTaxRates with any type of body

func NewPostTaxRegistrationsRequest

func NewPostTaxRegistrationsRequest(server string, params *PostTaxRegistrationsParams, body PostTaxRegistrationsJSONRequestBody) (*http.Request, error)

NewPostTaxRegistrationsRequest calls the generic PostTaxRegistrations builder with application/json body

func NewPostTaxRegistrationsRequestWithBody

func NewPostTaxRegistrationsRequestWithBody(server string, params *PostTaxRegistrationsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostTaxRegistrationsRequestWithBody generates requests for PostTaxRegistrations with any type of body

func NewPostUsageEventsRequest

func NewPostUsageEventsRequest(server string, params *PostUsageEventsParams, body PostUsageEventsJSONRequestBody) (*http.Request, error)

NewPostUsageEventsRequest calls the generic PostUsageEvents builder with application/json body

func NewPostUsageEventsRequestWithBody

func NewPostUsageEventsRequestWithBody(server string, params *PostUsageEventsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostUsageEventsRequestWithBody generates requests for PostUsageEvents with any type of body

func NewPostUsageMetricsRequest

func NewPostUsageMetricsRequest(server string, params *PostUsageMetricsParams, body PostUsageMetricsJSONRequestBody) (*http.Request, error)

NewPostUsageMetricsRequest calls the generic PostUsageMetrics builder with application/json body

func NewPostUsageMetricsRequestWithBody

func NewPostUsageMetricsRequestWithBody(server string, params *PostUsageMetricsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostUsageMetricsRequestWithBody generates requests for PostUsageMetrics with any type of body

func NewPutBillingSchedulesByBillingScheduleIdActivateRequest

func NewPutBillingSchedulesByBillingScheduleIdActivateRequest(server string, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdActivateParams) (*http.Request, error)

NewPutBillingSchedulesByBillingScheduleIdActivateRequest generates requests for PutBillingSchedulesByBillingScheduleIdActivate

func NewPutBillingSchedulesByBillingScheduleIdRequest

func NewPutBillingSchedulesByBillingScheduleIdRequest(server string, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, body PutBillingSchedulesByBillingScheduleIdJSONRequestBody) (*http.Request, error)

NewPutBillingSchedulesByBillingScheduleIdRequest calls the generic PutBillingSchedulesByBillingScheduleId builder with application/json body

func NewPutBillingSchedulesByBillingScheduleIdRequestWithBody

func NewPutBillingSchedulesByBillingScheduleIdRequestWithBody(server string, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutBillingSchedulesByBillingScheduleIdRequestWithBody generates requests for PutBillingSchedulesByBillingScheduleId with any type of body

func NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequest

func NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequest(server string, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, body PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody) (*http.Request, error)

NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequest calls the generic PutCreditNotesByCreditnoteLineItemGroupsById builder with application/json body

func NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequestWithBody

func NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequestWithBody(server string, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCreditNotesByCreditnoteLineItemGroupsByIdRequestWithBody generates requests for PutCreditNotesByCreditnoteLineItemGroupsById with any type of body

func NewPutCreditNotesByCreditnoteLineItemsByIdRequest

func NewPutCreditNotesByCreditnoteLineItemsByIdRequest(server string, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, body PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody) (*http.Request, error)

NewPutCreditNotesByCreditnoteLineItemsByIdRequest calls the generic PutCreditNotesByCreditnoteLineItemsById builder with application/json body

func NewPutCreditNotesByCreditnoteLineItemsByIdRequestWithBody

func NewPutCreditNotesByCreditnoteLineItemsByIdRequestWithBody(server string, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCreditNotesByCreditnoteLineItemsByIdRequestWithBody generates requests for PutCreditNotesByCreditnoteLineItemsById with any type of body

func NewPutCreditNotesByIdRequest

func NewPutCreditNotesByIdRequest(server string, id string, params *PutCreditNotesByIdParams, body PutCreditNotesByIdJSONRequestBody) (*http.Request, error)

NewPutCreditNotesByIdRequest calls the generic PutCreditNotesById builder with application/json body

func NewPutCreditNotesByIdRequestWithBody

func NewPutCreditNotesByIdRequestWithBody(server string, id string, params *PutCreditNotesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCreditNotesByIdRequestWithBody generates requests for PutCreditNotesById with any type of body

func NewPutCustomerAliasesByIdRequest

func NewPutCustomerAliasesByIdRequest(server string, id string, params *PutCustomerAliasesByIdParams, body PutCustomerAliasesByIdJSONRequestBody) (*http.Request, error)

NewPutCustomerAliasesByIdRequest calls the generic PutCustomerAliasesById builder with application/json body

func NewPutCustomerAliasesByIdRequestWithBody

func NewPutCustomerAliasesByIdRequestWithBody(server string, id string, params *PutCustomerAliasesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCustomerAliasesByIdRequestWithBody generates requests for PutCustomerAliasesById with any type of body

func NewPutCustomerOrganizationsByIdMembersRequest

func NewPutCustomerOrganizationsByIdMembersRequest(server string, id string, params *PutCustomerOrganizationsByIdMembersParams, body PutCustomerOrganizationsByIdMembersJSONRequestBody) (*http.Request, error)

NewPutCustomerOrganizationsByIdMembersRequest calls the generic PutCustomerOrganizationsByIdMembers builder with application/json body

func NewPutCustomerOrganizationsByIdMembersRequestWithBody

func NewPutCustomerOrganizationsByIdMembersRequestWithBody(server string, id string, params *PutCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCustomerOrganizationsByIdMembersRequestWithBody generates requests for PutCustomerOrganizationsByIdMembers with any type of body

func NewPutCustomersByCustomerContactsByIdRequest

func NewPutCustomersByCustomerContactsByIdRequest(server string, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, body PutCustomersByCustomerContactsByIdJSONRequestBody) (*http.Request, error)

NewPutCustomersByCustomerContactsByIdRequest calls the generic PutCustomersByCustomerContactsById builder with application/json body

func NewPutCustomersByCustomerContactsByIdRequestWithBody

func NewPutCustomersByCustomerContactsByIdRequestWithBody(server string, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCustomersByCustomerContactsByIdRequestWithBody generates requests for PutCustomersByCustomerContactsById with any type of body

func NewPutCustomersByIdRequest

func NewPutCustomersByIdRequest(server string, id string, params *PutCustomersByIdParams, body PutCustomersByIdJSONRequestBody) (*http.Request, error)

NewPutCustomersByIdRequest calls the generic PutCustomersById builder with application/json body

func NewPutCustomersByIdRequestWithBody

func NewPutCustomersByIdRequestWithBody(server string, id string, params *PutCustomersByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutCustomersByIdRequestWithBody generates requests for PutCustomersById with any type of body

func NewPutDiscountsByIdRequest

func NewPutDiscountsByIdRequest(server string, id string, params *PutDiscountsByIdParams, body PutDiscountsByIdJSONRequestBody) (*http.Request, error)

NewPutDiscountsByIdRequest calls the generic PutDiscountsById builder with application/json body

func NewPutDiscountsByIdRequestWithBody

func NewPutDiscountsByIdRequestWithBody(server string, id string, params *PutDiscountsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutDiscountsByIdRequestWithBody generates requests for PutDiscountsById with any type of body

func NewPutInvoicesByIdPaymentStatusRequest

func NewPutInvoicesByIdPaymentStatusRequest(server string, id string, params *PutInvoicesByIdPaymentStatusParams, body PutInvoicesByIdPaymentStatusJSONRequestBody) (*http.Request, error)

NewPutInvoicesByIdPaymentStatusRequest calls the generic PutInvoicesByIdPaymentStatus builder with application/json body

func NewPutInvoicesByIdPaymentStatusRequestWithBody

func NewPutInvoicesByIdPaymentStatusRequestWithBody(server string, id string, params *PutInvoicesByIdPaymentStatusParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInvoicesByIdPaymentStatusRequestWithBody generates requests for PutInvoicesByIdPaymentStatus with any type of body

func NewPutInvoicesByIdRequest

func NewPutInvoicesByIdRequest(server string, id string, params *PutInvoicesByIdParams, body PutInvoicesByIdJSONRequestBody) (*http.Request, error)

NewPutInvoicesByIdRequest calls the generic PutInvoicesById builder with application/json body

func NewPutInvoicesByIdRequestWithBody

func NewPutInvoicesByIdRequestWithBody(server string, id string, params *PutInvoicesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInvoicesByIdRequestWithBody generates requests for PutInvoicesById with any type of body

func NewPutInvoicesByInvoiceLineItemGroupsByIdRequest

func NewPutInvoicesByInvoiceLineItemGroupsByIdRequest(server string, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, body PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody) (*http.Request, error)

NewPutInvoicesByInvoiceLineItemGroupsByIdRequest calls the generic PutInvoicesByInvoiceLineItemGroupsById builder with application/json body

func NewPutInvoicesByInvoiceLineItemGroupsByIdRequestWithBody

func NewPutInvoicesByInvoiceLineItemGroupsByIdRequestWithBody(server string, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInvoicesByInvoiceLineItemGroupsByIdRequestWithBody generates requests for PutInvoicesByInvoiceLineItemGroupsById with any type of body

func NewPutInvoicesByInvoiceLineItemsByIdRequest

func NewPutInvoicesByInvoiceLineItemsByIdRequest(server string, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, body PutInvoicesByInvoiceLineItemsByIdJSONRequestBody) (*http.Request, error)

NewPutInvoicesByInvoiceLineItemsByIdRequest calls the generic PutInvoicesByInvoiceLineItemsById builder with application/json body

func NewPutInvoicesByInvoiceLineItemsByIdRequestWithBody

func NewPutInvoicesByInvoiceLineItemsByIdRequestWithBody(server string, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInvoicesByInvoiceLineItemsByIdRequestWithBody generates requests for PutInvoicesByInvoiceLineItemsById with any type of body

func NewPutInvoicesRenderSettingsByIdRequest

func NewPutInvoicesRenderSettingsByIdRequest(server string, id string, params *PutInvoicesRenderSettingsByIdParams, body PutInvoicesRenderSettingsByIdJSONRequestBody) (*http.Request, error)

NewPutInvoicesRenderSettingsByIdRequest calls the generic PutInvoicesRenderSettingsById builder with application/json body

func NewPutInvoicesRenderSettingsByIdRequestWithBody

func NewPutInvoicesRenderSettingsByIdRequestWithBody(server string, id string, params *PutInvoicesRenderSettingsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutInvoicesRenderSettingsByIdRequestWithBody generates requests for PutInvoicesRenderSettingsById with any type of body

func NewPutListPricesByIdRequest

func NewPutListPricesByIdRequest(server string, id string, params *PutListPricesByIdParams, body PutListPricesByIdJSONRequestBody) (*http.Request, error)

NewPutListPricesByIdRequest calls the generic PutListPricesById builder with application/json body

func NewPutListPricesByIdRequestWithBody

func NewPutListPricesByIdRequestWithBody(server string, id string, params *PutListPricesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutListPricesByIdRequestWithBody generates requests for PutListPricesById with any type of body

func NewPutPaymentsSettingsBillingSchedulesByIdRequest

func NewPutPaymentsSettingsBillingSchedulesByIdRequest(server string, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, body PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody) (*http.Request, error)

NewPutPaymentsSettingsBillingSchedulesByIdRequest calls the generic PutPaymentsSettingsBillingSchedulesById builder with application/json body

func NewPutPaymentsSettingsBillingSchedulesByIdRequestWithBody

func NewPutPaymentsSettingsBillingSchedulesByIdRequestWithBody(server string, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutPaymentsSettingsBillingSchedulesByIdRequestWithBody generates requests for PutPaymentsSettingsBillingSchedulesById with any type of body

func NewPutPaymentsSettingsByIdRequest

func NewPutPaymentsSettingsByIdRequest(server string, id string, params *PutPaymentsSettingsByIdParams, body PutPaymentsSettingsByIdJSONRequestBody) (*http.Request, error)

NewPutPaymentsSettingsByIdRequest calls the generic PutPaymentsSettingsById builder with application/json body

func NewPutPaymentsSettingsByIdRequestWithBody

func NewPutPaymentsSettingsByIdRequestWithBody(server string, id string, params *PutPaymentsSettingsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutPaymentsSettingsByIdRequestWithBody generates requests for PutPaymentsSettingsById with any type of body

func NewPutPaymentsSettingsCustomersByIdRequest

func NewPutPaymentsSettingsCustomersByIdRequest(server string, id string, params *PutPaymentsSettingsCustomersByIdParams, body PutPaymentsSettingsCustomersByIdJSONRequestBody) (*http.Request, error)

NewPutPaymentsSettingsCustomersByIdRequest calls the generic PutPaymentsSettingsCustomersById builder with application/json body

func NewPutPaymentsSettingsCustomersByIdRequestWithBody

func NewPutPaymentsSettingsCustomersByIdRequestWithBody(server string, id string, params *PutPaymentsSettingsCustomersByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutPaymentsSettingsCustomersByIdRequestWithBody generates requests for PutPaymentsSettingsCustomersById with any type of body

func NewPutPaymentsSettingsInvoicesByIdRequest

func NewPutPaymentsSettingsInvoicesByIdRequest(server string, id string, params *PutPaymentsSettingsInvoicesByIdParams, body PutPaymentsSettingsInvoicesByIdJSONRequestBody) (*http.Request, error)

NewPutPaymentsSettingsInvoicesByIdRequest calls the generic PutPaymentsSettingsInvoicesById builder with application/json body

func NewPutPaymentsSettingsInvoicesByIdRequestWithBody

func NewPutPaymentsSettingsInvoicesByIdRequestWithBody(server string, id string, params *PutPaymentsSettingsInvoicesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutPaymentsSettingsInvoicesByIdRequestWithBody generates requests for PutPaymentsSettingsInvoicesById with any type of body

func NewPutPricesByIdRequest

func NewPutPricesByIdRequest(server string, id string, params *PutPricesByIdParams, body PutPricesByIdJSONRequestBody) (*http.Request, error)

NewPutPricesByIdRequest calls the generic PutPricesById builder with application/json body

func NewPutPricesByIdRequestWithBody

func NewPutPricesByIdRequestWithBody(server string, id string, params *PutPricesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutPricesByIdRequestWithBody generates requests for PutPricesById with any type of body

func NewPutProductsByIdRequest

func NewPutProductsByIdRequest(server string, id string, params *PutProductsByIdParams, body PutProductsByIdJSONRequestBody) (*http.Request, error)

NewPutProductsByIdRequest calls the generic PutProductsById builder with application/json body

func NewPutProductsByIdRequestWithBody

func NewPutProductsByIdRequestWithBody(server string, id string, params *PutProductsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutProductsByIdRequestWithBody generates requests for PutProductsById with any type of body

func NewPutSeatMetricsByIdRequest

func NewPutSeatMetricsByIdRequest(server string, id string, params *PutSeatMetricsByIdParams, body PutSeatMetricsByIdJSONRequestBody) (*http.Request, error)

NewPutSeatMetricsByIdRequest calls the generic PutSeatMetricsById builder with application/json body

func NewPutSeatMetricsByIdRequestWithBody

func NewPutSeatMetricsByIdRequestWithBody(server string, id string, params *PutSeatMetricsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutSeatMetricsByIdRequestWithBody generates requests for PutSeatMetricsById with any type of body

func NewPutSequenceAccountsByIdRequest

func NewPutSequenceAccountsByIdRequest(server string, id string, params *PutSequenceAccountsByIdParams, body PutSequenceAccountsByIdJSONRequestBody) (*http.Request, error)

NewPutSequenceAccountsByIdRequest calls the generic PutSequenceAccountsById builder with application/json body

func NewPutSequenceAccountsByIdRequestWithBody

func NewPutSequenceAccountsByIdRequestWithBody(server string, id string, params *PutSequenceAccountsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutSequenceAccountsByIdRequestWithBody generates requests for PutSequenceAccountsById with any type of body

func NewPutTaxRatesByIdRequest

func NewPutTaxRatesByIdRequest(server string, id string, params *PutTaxRatesByIdParams, body PutTaxRatesByIdJSONRequestBody) (*http.Request, error)

NewPutTaxRatesByIdRequest calls the generic PutTaxRatesById builder with application/json body

func NewPutTaxRatesByIdRequestWithBody

func NewPutTaxRatesByIdRequestWithBody(server string, id string, params *PutTaxRatesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutTaxRatesByIdRequestWithBody generates requests for PutTaxRatesById with any type of body

func NewPutTaxRegistrationsByIdRequest

func NewPutTaxRegistrationsByIdRequest(server string, id string, params *PutTaxRegistrationsByIdParams, body PutTaxRegistrationsByIdJSONRequestBody) (*http.Request, error)

NewPutTaxRegistrationsByIdRequest calls the generic PutTaxRegistrationsById builder with application/json body

func NewPutTaxRegistrationsByIdRequestWithBody

func NewPutTaxRegistrationsByIdRequestWithBody(server string, id string, params *PutTaxRegistrationsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutTaxRegistrationsByIdRequestWithBody generates requests for PutTaxRegistrationsById with any type of body

func NewPutUsageMetricsByIdRequest

func NewPutUsageMetricsByIdRequest(server string, id string, params *PutUsageMetricsByIdParams, body PutUsageMetricsByIdJSONRequestBody) (*http.Request, error)

NewPutUsageMetricsByIdRequest calls the generic PutUsageMetricsById builder with application/json body

func NewPutUsageMetricsByIdRequestWithBody

func NewPutUsageMetricsByIdRequestWithBody(server string, id string, params *PutUsageMetricsByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutUsageMetricsByIdRequestWithBody generates requests for PutUsageMetricsById with any type of body

func NewPutUsersByIdRequest

func NewPutUsersByIdRequest(server string, id string, params *PutUsersByIdParams, body PutUsersByIdJSONRequestBody) (*http.Request, error)

NewPutUsersByIdRequest calls the generic PutUsersById builder with application/json body

func NewPutUsersByIdRequestWithBody

func NewPutUsersByIdRequestWithBody(server string, id string, params *PutUsersByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutUsersByIdRequestWithBody generates requests for PutUsersById with any type of body

Types

type APIKey

type APIKey struct {
	ClientID     string `json:"client_id" yaml:"client_id"`
	ClientSecret string `json:"client_secret" yaml:"client_secret"`
}

APIKey is a struct that holds the client_id and client_secret for Sequence API

func (APIKey) AuthorizationHeaderValue

func (apiKey APIKey) AuthorizationHeaderValue() string

AuthorizationHeaderValue returns the string used as value in the Authorization header, already encoded for Basic authentication

func (APIKey) Base64

func (apiKey APIKey) Base64() string

Base64 returns the base64 encoded string of the APIKey

type APIURL

type APIURL string

APIURL is the URL of the Sequence API

type AccountPaymentSettings

type AccountPaymentSettings struct {
	// FailureNotifications The failure notification settings for the account
	FailureNotifications PaymentFailureNotifications `json:"failureNotifications"`

	// Id The ID of the account's payment settings
	Id string `json:"id"`
}

AccountPaymentSettings defines model for AccountPaymentSettings.

type AddNotificationTypesToPolicyRequest

type AddNotificationTypesToPolicyRequest struct {
	// NotificationTypes The notification types to add to this policy
	NotificationTypes []NotificationType `json:"notificationTypes"`
}

AddNotificationTypesToPolicyRequest defines model for AddNotificationTypesToPolicyRequest.

type AddRecipientsToPolicyRequest

type AddRecipientsToPolicyRequest struct {
	// Recipients The webhook URLs or email addresses to add to the policy, depending on its channel
	Recipients []string `json:"recipients"`
}

AddRecipientsToPolicyRequest defines model for AddRecipientsToPolicyRequest.

type Address

type Address struct {
	Country CountryCode1 `json:"country"`

	// Line1 Address line 1
	Line1 string `json:"line1"`

	// Postcode Postal code
	Postcode string `json:"postcode"`
	State    *State `json:"state,omitempty"`

	// Town Town or city
	Town string `json:"town"`
}

Address Address

type Address1

type Address1 struct {
	Country CountryCode2 `json:"country"`

	// Line1 Address line 1
	Line1 string `json:"line1"`

	// Line2 Address line 2
	Line2 *string `json:"line2,omitempty"`

	// Postcode Postal code
	Postcode string  `json:"postcode"`
	State    *State2 `json:"state,omitempty"`

	// Town Town or city
	Town string `json:"town"`
}

Address1 Customer's billing address

type AggregationType

type AggregationType string

AggregationType defines model for AggregationType.

const (
	COUNT  AggregationType = "COUNT"
	CUSTOM AggregationType = "CUSTOM"
	SUM    AggregationType = "SUM"
	UNIQUE AggregationType = "UNIQUE"
)

Defines values for AggregationType.

type ArchiveTaxRateEndpointProductArchiveTaxRateResponseModel

type ArchiveTaxRateEndpointProductArchiveTaxRateResponseModel struct {
	// Amount The tax rate. Must be between 0 and 100. If this tax rate has any sub-rates, then all sub-rates must add up to this amount.
	Amount  string      `json:"amount"`
	Country CountryCode `json:"country"`

	// Description The description of the tax rate
	Description *string `json:"description,omitempty"`

	// Id Tax Rate ID
	Id string `json:"id"`

	// InvoiceName The long name used on the invoice, e.g. "Value Added Tax"
	InvoiceName string `json:"invoiceName"`

	// InvoiceShortName The short name used on the invoice, e.g. "VAT"
	InvoiceShortName string `json:"invoiceShortName"`

	// IsArchived Archived
	IsArchived bool `json:"isArchived"`

	// IsPublished Tax Rate status
	IsPublished bool `json:"isPublished"`

	// Name The full name of the tax rate, e.g. "Sales tax"
	Name string `json:"name"`

	// Region The region that this tax rate applies to
	Region *string `json:"region,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// SubRates The sub rates of this tax rate
	SubRates *[]interface{} `json:"subRates,omitempty"`

	// TaxCategoryId The Tax Category Version ID that this Tax Rate is part of
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`

	// Version Tax Rate version
	Version int64 `json:"version"`

	// VersionId Tax Rate Version ID
	VersionId string `json:"versionId"`
}

ArchiveTaxRateEndpointProductArchiveTaxRateResponseModel defines model for ArchiveTaxRateEndpointProductArchiveTaxRateResponseModel.

type AssetFormat

type AssetFormat string

AssetFormat defines model for AssetFormat.

const (
	JPEG AssetFormat = "JPEG"
	PDF  AssetFormat = "PDF"
	PNG  AssetFormat = "PNG"
)

Defines values for AssetFormat.

type AssetResponse

type AssetResponse struct {
	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// CreatedBy The Sequence user who created this asset
	CreatedBy string `json:"createdBy"`

	// FileName Filename of the uploaded file
	FileName string `json:"fileName"`

	// FileSizeBytes Size of the uploaded file in bytes
	FileSizeBytes int32       `json:"fileSizeBytes"`
	Format        AssetFormat `json:"format"`

	// Id Unique ID
	Id   string    `json:"id"`
	Type AssetType `json:"type"`

	// Url URL to download the asset
	Url string `json:"url"`
}

AssetResponse defines model for AssetResponse.

type AssetType

type AssetType string

AssetType defines model for AssetType.

const (
	DOCUMENT AssetType = "DOCUMENT"
	IMAGE    AssetType = "IMAGE"
)

Defines values for AssetType.

type AustralianBankAccountDestination

type AustralianBankAccountDestination struct {
	AccountNumber string `json:"accountNumber"`
	Bsb           string `json:"bsb"`
	LegalName     string `json:"legalName"`
	SwiftCode     string `json:"swiftCode"`
}

AustralianBankAccountDestination Merchant's account details, for receiving payment to a Canadian bank via Australian bank transfer

type BillingFrequency

type BillingFrequency string

BillingFrequency defines model for BillingFrequency.

const (
	BillingFrequencyHALFYEARLY BillingFrequency = "HALF_YEARLY"
	BillingFrequencyMONTHLY    BillingFrequency = "MONTHLY"
	BillingFrequencyONDEMAND   BillingFrequency = "ON_DEMAND"
	BillingFrequencyONETIME    BillingFrequency = "ONE_TIME"
	BillingFrequencyQUARTERLY  BillingFrequency = "QUARTERLY"
	BillingFrequencyYEARLY     BillingFrequency = "YEARLY"
)

Defines values for BillingFrequency.

type BillingProduct

type BillingProduct struct {
	// CreatedAt Created at
	CreatedAt string `json:"createdAt"`

	// Id Unique Product ID
	Id string `json:"id"`

	// Label The internal descriptive name of this item
	Label string `json:"label"`

	// Name The customer-facing name of this Product
	Name string `json:"name"`

	// Prices Prices
	Prices            []interface{}            `json:"prices"`
	RecognitionMethod RevenueRecognitionMethod `json:"recognitionMethod"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// TaxCategoryName The tax category associated with the product
	TaxCategoryName *string `json:"taxCategoryName,omitempty"`

	// UpdatedAt Updated At
	UpdatedAt string `json:"updatedAt"`
}

BillingProduct defines model for BillingProduct.

type BillingScheduleResponse

type BillingScheduleResponse struct {
	// ArchivedAt Time at which the schedule was archived, in ISO 8601 format.
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// AttachmentAssets Assets attached to this billing schedule
	AttachmentAssets []AssetResponse `json:"attachmentAssets"`

	// AutoIssueInvoices If true, invoices will be automatically sent for this billing schedule
	AutoIssueInvoices bool `json:"autoIssueInvoices"`

	// CreatedAt Time at which the schedule was initially created, in ISO 8601 format.
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// EndDate End date
	EndDate *openapi_types.Date `json:"endDate,omitempty"`

	// FirstBillingDate First billing date
	FirstBillingDate *openapi_types.Date `json:"firstBillingDate,omitempty"`

	// Id Billing Schedule ID
	Id string `json:"id"`

	// IntegrationIds External services which are linked to this customer
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// Label Optional label
	Label *string `json:"label,omitempty"`

	// LastInvoiceId ID of the last invoice (if there has been one)
	LastInvoiceId *string `json:"lastInvoiceId,omitempty"`

	// Phases Phases
	Phases []Phase `json:"phases"`

	// Prices Prices
	Prices []PriceResponse `json:"prices"`

	// PurchaseOrderNumber Optional purchase order number to be added to invoices
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// RecurrenceDayOfMonth The day of the month on which billing recurs
	RecurrenceDayOfMonth *int32 `json:"recurrenceDayOfMonth,omitempty"`

	// Reference Optional reference to be added to invoices
	Reference *string `json:"reference,omitempty"`

	// RollUpBilling Roll up billing
	RollUpBilling bool `json:"rollUpBilling"`

	// StartDate Start date
	StartDate openapi_types.Date                                 `json:"startDate"`
	Status    GetBillingScheduleEndpointApiBillingScheduleStatus `json:"status"`

	// TaxRates Tax Rate for each Product
	TaxRates *[]ProductTaxRateRepresentation `json:"taxRates,omitempty"`

	// UpdatedAt Time at which the schedule was last updated, in ISO 8601 format.
	UpdatedAt string `json:"updatedAt"`
}

BillingScheduleResponse defines model for BillingScheduleResponse.

type BillingScheduleSettings

type BillingScheduleSettings struct {
	// AutoCharge Automatically collect payments if payment details are available
	AutoCharge bool `json:"autoCharge"`

	// BillingScheduleId Unique payment provider ID.
	BillingScheduleId string `json:"billingScheduleId"`

	// Id Unique payment provider ID.
	Id              string          `json:"id"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Unique Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

BillingScheduleSettings defines model for BillingScheduleSettings.

type BillingType

type BillingType string

BillingType defines model for BillingType.

const (
	INADVANCE BillingType = "IN_ADVANCE"
	INARREARS BillingType = "IN_ARREARS"
)

Defines values for BillingType.

type CanadianBankAccountDestination

type CanadianBankAccountDestination struct {
	AccountNumber     string `json:"accountNumber"`
	InstitutionNumber string `json:"institutionNumber"`
	TransitNumber     string `json:"transitNumber"`
}

CanadianBankAccountDestination Merchant's Canadian account details, for receiving payment by Canadian bank transfer

type CanadianInternationalDestination

type CanadianInternationalDestination struct {
	AccountNumber string `json:"accountNumber"`

	// BankAddress Customer's billing address
	BankAddress       Address1          `json:"bankAddress"`
	BankName          string            `json:"bankName"`
	InstitutionNumber string            `json:"institutionNumber"`
	IntermediaryBank  *IntermediaryBank `json:"intermediaryBank,omitempty"`
	LegalName         string            `json:"legalName"`
	SwiftCode         string            `json:"swiftCode"`
	TransitNumber     string            `json:"transitNumber"`
}

CanadianInternationalDestination Merchant's account details, for receiving payment to a Canadian bank via Wire transfer

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeleteCreditNotesByCreditnoteLineItemGroupsById

func (c *Client) DeleteCreditNotesByCreditnoteLineItemGroupsById(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCreditNotesByCreditnoteLineItemsById

func (c *Client) DeleteCreditNotesByCreditnoteLineItemsById(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCreditNotesById

func (c *Client) DeleteCreditNotesById(ctx context.Context, id string, params *DeleteCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCustomerAliasesById

func (c *Client) DeleteCustomerAliasesById(ctx context.Context, id string, params *DeleteCustomerAliasesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDiscountsById

func (c *Client) DeleteDiscountsById(ctx context.Context, id string, params *DeleteDiscountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvoicesById

func (c *Client) DeleteInvoicesById(ctx context.Context, id string, params *DeleteInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvoicesByInvoiceLineItemGroupsById

func (c *Client) DeleteInvoicesByInvoiceLineItemGroupsById(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvoicesByInvoiceLineItemsById

func (c *Client) DeleteInvoicesByInvoiceLineItemsById(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotificationsPoliciesById

func (c *Client) DeleteNotificationsPoliciesById(ctx context.Context, id string, params *DeleteNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotificationsPoliciesByIdRecipientsByRecipient

func (c *Client) DeleteNotificationsPoliciesByIdRecipientsByRecipient(ctx context.Context, id string, recipient string, params *DeleteNotificationsPoliciesByIdRecipientsByRecipientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePaymentsSettingsBillingSchedulesById

func (c *Client) DeletePaymentsSettingsBillingSchedulesById(ctx context.Context, id string, params *DeletePaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePaymentsSettingsCustomersById

func (c *Client) DeletePaymentsSettingsCustomersById(ctx context.Context, id string, params *DeletePaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePaymentsSettingsInvoicesById

func (c *Client) DeletePaymentsSettingsInvoicesById(ctx context.Context, id string, params *DeletePaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePricesById

func (c *Client) DeletePricesById(ctx context.Context, id string, params *DeletePricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSeatMetricsById

func (c *Client) DeleteSeatMetricsById(ctx context.Context, id string, params *DeleteSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTaxRatesById

func (c *Client) DeleteTaxRatesById(ctx context.Context, id string, params *DeleteTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTaxRegistrationsById

func (c *Client) DeleteTaxRegistrationsById(ctx context.Context, id string, params *DeleteTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsageMetricsById

func (c *Client) DeleteUsageMetricsById(ctx context.Context, id string, params *DeleteUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsersById

func (c *Client) DeleteUsersById(ctx context.Context, id string, params *DeleteUsersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBillingProducts

func (c *Client) GetBillingProducts(ctx context.Context, params *GetBillingProductsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBillingSchedules

func (c *Client) GetBillingSchedules(ctx context.Context, params *GetBillingSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBillingSchedulesByBillingScheduleId

func (c *Client) GetBillingSchedulesByBillingScheduleId(ctx context.Context, billingScheduleId string, params *GetBillingSchedulesByBillingScheduleIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditNotes

func (c *Client) GetCreditNotes(ctx context.Context, params *GetCreditNotesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditNotesByCreditnoteLineItemGroups

func (c *Client) GetCreditNotesByCreditnoteLineItemGroups(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditNotesByCreditnoteLineItems

func (c *Client) GetCreditNotesByCreditnoteLineItems(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditNotesById

func (c *Client) GetCreditNotesById(ctx context.Context, id string, params *GetCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditNotesByIdDownload

func (c *Client) GetCreditNotesByIdDownload(ctx context.Context, id string, params *GetCreditNotesByIdDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCredits

func (c *Client) GetCredits(ctx context.Context, params *GetCreditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditsByCustomerIdBalances

func (c *Client) GetCreditsByCustomerIdBalances(ctx context.Context, customerId string, params *GetCreditsByCustomerIdBalancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditsByCustomerIdGrants

func (c *Client) GetCreditsByCustomerIdGrants(ctx context.Context, customerId string, params *GetCreditsByCustomerIdGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCreditsById

func (c *Client) GetCreditsById(ctx context.Context, id string, params *GetCreditsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomerAliases

func (c *Client) GetCustomerAliases(ctx context.Context, params *GetCustomerAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomers

func (c *Client) GetCustomers(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomersByAliasByAlias

func (c *Client) GetCustomersByAliasByAlias(ctx context.Context, alias string, params *GetCustomersByAliasByAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomersByCustomerContacts

func (c *Client) GetCustomersByCustomerContacts(ctx context.Context, customer string, params *GetCustomersByCustomerContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomersById

func (c *Client) GetCustomersById(ctx context.Context, id string, params *GetCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomersByIdAliases

func (c *Client) GetCustomersByIdAliases(ctx context.Context, id string, params *GetCustomersByIdAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDiscounts

func (c *Client) GetDiscounts(ctx context.Context, params *GetDiscountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDiscountsById

func (c *Client) GetDiscountsById(ctx context.Context, id string, params *GetDiscountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoices

func (c *Client) GetInvoices(ctx context.Context, params *GetInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicesById

func (c *Client) GetInvoicesById(ctx context.Context, id string, params *GetInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicesByIdDownload

func (c *Client) GetInvoicesByIdDownload(ctx context.Context, id string, params *GetInvoicesByIdDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicesByInvoiceLineItemGroups

func (c *Client) GetInvoicesByInvoiceLineItemGroups(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicesByInvoiceLineItems

func (c *Client) GetInvoicesByInvoiceLineItems(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicesRenderSettings

func (c *Client) GetInvoicesRenderSettings(ctx context.Context, params *GetInvoicesRenderSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetListPrices

func (c *Client) GetListPrices(ctx context.Context, params *GetListPricesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetListPricesById

func (c *Client) GetListPricesById(ctx context.Context, id string, params *GetListPricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotificationsPolicies

func (c *Client) GetNotificationsPolicies(ctx context.Context, params *GetNotificationsPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotificationsPoliciesById

func (c *Client) GetNotificationsPoliciesById(ctx context.Context, id string, params *GetNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettings

func (c *Client) GetPaymentsSettings(ctx context.Context, params *GetPaymentsSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettingsBillingSchedulesById

func (c *Client) GetPaymentsSettingsBillingSchedulesById(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettingsBillingSchedulesForBillingScheduleById

func (c *Client) GetPaymentsSettingsBillingSchedulesForBillingScheduleById(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettingsCustomersById

func (c *Client) GetPaymentsSettingsCustomersById(ctx context.Context, id string, params *GetPaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettingsInvoicesById

func (c *Client) GetPaymentsSettingsInvoicesById(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentsSettingsInvoicesForInvoiceById

func (c *Client) GetPaymentsSettingsInvoicesForInvoiceById(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesForInvoiceByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPrices

func (c *Client) GetPrices(ctx context.Context, params *GetPricesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPricesById

func (c *Client) GetPricesById(ctx context.Context, id string, params *GetPricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProducts

func (c *Client) GetProducts(ctx context.Context, params *GetProductsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProductsById

func (c *Client) GetProductsById(ctx context.Context, id string, params *GetProductsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeatBalances

func (c *Client) GetSeatBalances(ctx context.Context, params *GetSeatBalancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeatEvents

func (c *Client) GetSeatEvents(ctx context.Context, params *GetSeatEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeatEventsById

func (c *Client) GetSeatEventsById(ctx context.Context, id string, params *GetSeatEventsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeatMetrics

func (c *Client) GetSeatMetrics(ctx context.Context, params *GetSeatMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeatMetricsById

func (c *Client) GetSeatMetricsById(ctx context.Context, id string, params *GetSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSequenceAccounts

func (c *Client) GetSequenceAccounts(ctx context.Context, params *GetSequenceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSequenceAccountsById

func (c *Client) GetSequenceAccountsById(ctx context.Context, id string, params *GetSequenceAccountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRates

func (c *Client) GetTaxRates(ctx context.Context, params *GetTaxRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRatesById

func (c *Client) GetTaxRatesById(ctx context.Context, id string, params *GetTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRegistrations

func (c *Client) GetTaxRegistrations(ctx context.Context, params *GetTaxRegistrationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRegistrationsById

func (c *Client) GetTaxRegistrationsById(ctx context.Context, id string, params *GetTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRegistrationsForCustomerById

func (c *Client) GetTaxRegistrationsForCustomerById(ctx context.Context, id string, params *GetTaxRegistrationsForCustomerByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRegistrationsForMerchantById

func (c *Client) GetTaxRegistrationsForMerchantById(ctx context.Context, id string, params *GetTaxRegistrationsForMerchantByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsageEvents

func (c *Client) GetUsageEvents(ctx context.Context, params *GetUsageEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsageMetrics

func (c *Client) GetUsageMetrics(ctx context.Context, params *GetUsageMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsageMetricsById

func (c *Client) GetUsageMetricsById(ctx context.Context, id string, params *GetUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsageMetricsByUsageMetricIdCalculate

func (c *Client) GetUsageMetricsByUsageMetricIdCalculate(ctx context.Context, usageMetricId string, params *GetUsageMetricsByUsageMetricIdCalculateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsers

func (c *Client) GetUsers(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsersById

func (c *Client) GetUsersById(ctx context.Context, id string, params *GetUsersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchInvoicesById

func (c *Client) PatchInvoicesById(ctx context.Context, id string, params *PatchInvoicesByIdParams, body PatchInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchInvoicesByIdWithBody

func (c *Client) PatchInvoicesByIdWithBody(ctx context.Context, id string, params *PatchInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostBillingSchedules

func (c *Client) PostBillingSchedules(ctx context.Context, params *PostBillingSchedulesParams, body PostBillingSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostBillingSchedulesByBillingScheduleIdArchive

func (c *Client) PostBillingSchedulesByBillingScheduleIdArchive(ctx context.Context, billingScheduleId string, params *PostBillingSchedulesByBillingScheduleIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostBillingSchedulesValidateTaxesWithBody

func (c *Client) PostBillingSchedulesValidateTaxesWithBody(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostBillingSchedulesWithBody

func (c *Client) PostBillingSchedulesWithBody(ctx context.Context, params *PostBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotes

func (c *Client) PostCreditNotes(ctx context.Context, params *PostCreditNotesParams, body PostCreditNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByCreditnoteLineItemGroupsWithBody

func (c *Client) PostCreditNotesByCreditnoteLineItemGroupsWithBody(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByCreditnoteLineItems

func (c *Client) PostCreditNotesByCreditnoteLineItems(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, body PostCreditNotesByCreditnoteLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByCreditnoteLineItemsWithBody

func (c *Client) PostCreditNotesByCreditnoteLineItemsWithBody(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByIdFinalize

func (c *Client) PostCreditNotesByIdFinalize(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByIdFinalizeAndSend

func (c *Client) PostCreditNotesByIdFinalizeAndSend(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByIdSend

func (c *Client) PostCreditNotesByIdSend(ctx context.Context, id string, params *PostCreditNotesByIdSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesByIdVoid

func (c *Client) PostCreditNotesByIdVoid(ctx context.Context, id string, params *PostCreditNotesByIdVoidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditNotesWithBody

func (c *Client) PostCreditNotesWithBody(ctx context.Context, params *PostCreditNotesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCredits

func (c *Client) PostCredits(ctx context.Context, params *PostCreditsParams, body PostCreditsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreditsWithBody

func (c *Client) PostCreditsWithBody(ctx context.Context, params *PostCreditsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomerAliases

func (c *Client) PostCustomerAliases(ctx context.Context, params *PostCustomerAliasesParams, body PostCustomerAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomerAliasesWithBody

func (c *Client) PostCustomerAliasesWithBody(ctx context.Context, params *PostCustomerAliasesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomerOrganizations

func (c *Client) PostCustomerOrganizations(ctx context.Context, params *PostCustomerOrganizationsParams, body PostCustomerOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomerOrganizationsByIdMembersWithBody

func (c *Client) PostCustomerOrganizationsByIdMembersWithBody(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomerOrganizationsWithBody

func (c *Client) PostCustomerOrganizationsWithBody(ctx context.Context, params *PostCustomerOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomers

func (c *Client) PostCustomers(ctx context.Context, params *PostCustomersParams, body PostCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomersByCustomerContacts

func (c *Client) PostCustomersByCustomerContacts(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, body PostCustomersByCustomerContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomersByCustomerContactsByIdArchive

func (c *Client) PostCustomersByCustomerContactsByIdArchive(ctx context.Context, customer string, id string, params *PostCustomersByCustomerContactsByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomersByCustomerContactsWithBody

func (c *Client) PostCustomersByCustomerContactsWithBody(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomersByIdArchive

func (c *Client) PostCustomersByIdArchive(ctx context.Context, id string, params *PostCustomersByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCustomersWithBody

func (c *Client) PostCustomersWithBody(ctx context.Context, params *PostCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoices

func (c *Client) PostInvoices(ctx context.Context, params *PostInvoicesParams, body PostInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdDraft

func (c *Client) PostInvoicesByIdDraft(ctx context.Context, id string, params *PostInvoicesByIdDraftParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdFinalize

func (c *Client) PostInvoicesByIdFinalize(ctx context.Context, id string, params *PostInvoicesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdFinalizeAndSend

func (c *Client) PostInvoicesByIdFinalizeAndSend(ctx context.Context, id string, params *PostInvoicesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdSend

func (c *Client) PostInvoicesByIdSend(ctx context.Context, id string, params *PostInvoicesByIdSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdSendPaymentReminder

func (c *Client) PostInvoicesByIdSendPaymentReminder(ctx context.Context, id string, params *PostInvoicesByIdSendPaymentReminderParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByIdVoid

func (c *Client) PostInvoicesByIdVoid(ctx context.Context, id string, params *PostInvoicesByIdVoidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByInvoiceLineItemGroupsWithBody

func (c *Client) PostInvoicesByInvoiceLineItemGroupsWithBody(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByInvoiceLineItems

func (c *Client) PostInvoicesByInvoiceLineItems(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, body PostInvoicesByInvoiceLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesByInvoiceLineItemsWithBody

func (c *Client) PostInvoicesByInvoiceLineItemsWithBody(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInvoicesWithBody

func (c *Client) PostInvoicesWithBody(ctx context.Context, params *PostInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostListPrices

func (c *Client) PostListPrices(ctx context.Context, params *PostListPricesParams, body PostListPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostListPricesByIdArchive

func (c *Client) PostListPricesByIdArchive(ctx context.Context, id string, params *PostListPricesByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostListPricesWithBody

func (c *Client) PostListPricesWithBody(ctx context.Context, params *PostListPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNotificationsPolicies

func (c *Client) PostNotificationsPolicies(ctx context.Context, params *PostNotificationsPoliciesParams, body PostNotificationsPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNotificationsPoliciesByIdNotificationTypesWithBody

func (c *Client) PostNotificationsPoliciesByIdNotificationTypesWithBody(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNotificationsPoliciesByIdRecipientsWithBody

func (c *Client) PostNotificationsPoliciesByIdRecipientsWithBody(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNotificationsPoliciesWithBody

func (c *Client) PostNotificationsPoliciesWithBody(ctx context.Context, params *PostNotificationsPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostPaymentsSettingsBillingSchedulesWithBody

func (c *Client) PostPaymentsSettingsBillingSchedulesWithBody(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostPaymentsSettingsCustomersWithBody

func (c *Client) PostPaymentsSettingsCustomersWithBody(ctx context.Context, params *PostPaymentsSettingsCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostPaymentsSettingsInvoicesWithBody

func (c *Client) PostPaymentsSettingsInvoicesWithBody(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostPrices

func (c *Client) PostPrices(ctx context.Context, params *PostPricesParams, body PostPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostPricesWithBody

func (c *Client) PostPricesWithBody(ctx context.Context, params *PostPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostProducts

func (c *Client) PostProducts(ctx context.Context, params *PostProductsParams, body PostProductsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostProductsByIdArchive

func (c *Client) PostProductsByIdArchive(ctx context.Context, id string, params *PostProductsByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostProductsWithBody

func (c *Client) PostProductsWithBody(ctx context.Context, params *PostProductsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSeatEvents

func (c *Client) PostSeatEvents(ctx context.Context, params *PostSeatEventsParams, body PostSeatEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSeatEventsWithBody

func (c *Client) PostSeatEventsWithBody(ctx context.Context, params *PostSeatEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSeatMetrics

func (c *Client) PostSeatMetrics(ctx context.Context, params *PostSeatMetricsParams, body PostSeatMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSeatMetricsWithBody

func (c *Client) PostSeatMetricsWithBody(ctx context.Context, params *PostSeatMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTaxRates

func (c *Client) PostTaxRates(ctx context.Context, params *PostTaxRatesParams, body PostTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTaxRatesByIdArchive

func (c *Client) PostTaxRatesByIdArchive(ctx context.Context, id string, params *PostTaxRatesByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTaxRatesWithBody

func (c *Client) PostTaxRatesWithBody(ctx context.Context, params *PostTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTaxRegistrations

func (c *Client) PostTaxRegistrations(ctx context.Context, params *PostTaxRegistrationsParams, body PostTaxRegistrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTaxRegistrationsWithBody

func (c *Client) PostTaxRegistrationsWithBody(ctx context.Context, params *PostTaxRegistrationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsageEvents

func (c *Client) PostUsageEvents(ctx context.Context, params *PostUsageEventsParams, body PostUsageEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsageEventsWithBody

func (c *Client) PostUsageEventsWithBody(ctx context.Context, params *PostUsageEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsageMetrics

func (c *Client) PostUsageMetrics(ctx context.Context, params *PostUsageMetricsParams, body PostUsageMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsageMetricsWithBody

func (c *Client) PostUsageMetricsWithBody(ctx context.Context, params *PostUsageMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutBillingSchedulesByBillingScheduleId

func (c *Client) PutBillingSchedulesByBillingScheduleId(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, body PutBillingSchedulesByBillingScheduleIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutBillingSchedulesByBillingScheduleIdActivate

func (c *Client) PutBillingSchedulesByBillingScheduleIdActivate(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdActivateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutBillingSchedulesByBillingScheduleIdWithBody

func (c *Client) PutBillingSchedulesByBillingScheduleIdWithBody(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCreditNotesByCreditnoteLineItemGroupsByIdWithBody

func (c *Client) PutCreditNotesByCreditnoteLineItemGroupsByIdWithBody(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCreditNotesByCreditnoteLineItemsByIdWithBody

func (c *Client) PutCreditNotesByCreditnoteLineItemsByIdWithBody(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCreditNotesById

func (c *Client) PutCreditNotesById(ctx context.Context, id string, params *PutCreditNotesByIdParams, body PutCreditNotesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCreditNotesByIdWithBody

func (c *Client) PutCreditNotesByIdWithBody(ctx context.Context, id string, params *PutCreditNotesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomerAliasesById

func (c *Client) PutCustomerAliasesById(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, body PutCustomerAliasesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomerAliasesByIdWithBody

func (c *Client) PutCustomerAliasesByIdWithBody(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomerOrganizationsByIdMembersWithBody

func (c *Client) PutCustomerOrganizationsByIdMembersWithBody(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomersByCustomerContactsById

func (c *Client) PutCustomersByCustomerContactsById(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, body PutCustomersByCustomerContactsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomersByCustomerContactsByIdWithBody

func (c *Client) PutCustomersByCustomerContactsByIdWithBody(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomersById

func (c *Client) PutCustomersById(ctx context.Context, id string, params *PutCustomersByIdParams, body PutCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutCustomersByIdWithBody

func (c *Client) PutCustomersByIdWithBody(ctx context.Context, id string, params *PutCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutDiscountsById

func (c *Client) PutDiscountsById(ctx context.Context, id string, params *PutDiscountsByIdParams, body PutDiscountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutDiscountsByIdWithBody

func (c *Client) PutDiscountsByIdWithBody(ctx context.Context, id string, params *PutDiscountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesById

func (c *Client) PutInvoicesById(ctx context.Context, id string, params *PutInvoicesByIdParams, body PutInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByIdPaymentStatus

func (c *Client) PutInvoicesByIdPaymentStatus(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, body PutInvoicesByIdPaymentStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByIdPaymentStatusWithBody

func (c *Client) PutInvoicesByIdPaymentStatusWithBody(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByIdWithBody

func (c *Client) PutInvoicesByIdWithBody(ctx context.Context, id string, params *PutInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByInvoiceLineItemGroupsByIdWithBody

func (c *Client) PutInvoicesByInvoiceLineItemGroupsByIdWithBody(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByInvoiceLineItemsById

func (c *Client) PutInvoicesByInvoiceLineItemsById(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, body PutInvoicesByInvoiceLineItemsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesByInvoiceLineItemsByIdWithBody

func (c *Client) PutInvoicesByInvoiceLineItemsByIdWithBody(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutInvoicesRenderSettingsByIdWithBody

func (c *Client) PutInvoicesRenderSettingsByIdWithBody(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutListPricesById

func (c *Client) PutListPricesById(ctx context.Context, id string, params *PutListPricesByIdParams, body PutListPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutListPricesByIdWithBody

func (c *Client) PutListPricesByIdWithBody(ctx context.Context, id string, params *PutListPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPaymentsSettingsBillingSchedulesByIdWithBody

func (c *Client) PutPaymentsSettingsBillingSchedulesByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPaymentsSettingsById

func (c *Client) PutPaymentsSettingsById(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, body PutPaymentsSettingsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPaymentsSettingsByIdWithBody

func (c *Client) PutPaymentsSettingsByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPaymentsSettingsCustomersByIdWithBody

func (c *Client) PutPaymentsSettingsCustomersByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPaymentsSettingsInvoicesByIdWithBody

func (c *Client) PutPaymentsSettingsInvoicesByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPricesById

func (c *Client) PutPricesById(ctx context.Context, id string, params *PutPricesByIdParams, body PutPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPricesByIdWithBody

func (c *Client) PutPricesByIdWithBody(ctx context.Context, id string, params *PutPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutProductsById

func (c *Client) PutProductsById(ctx context.Context, id string, params *PutProductsByIdParams, body PutProductsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutProductsByIdWithBody

func (c *Client) PutProductsByIdWithBody(ctx context.Context, id string, params *PutProductsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSeatMetricsById

func (c *Client) PutSeatMetricsById(ctx context.Context, id string, params *PutSeatMetricsByIdParams, body PutSeatMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSeatMetricsByIdWithBody

func (c *Client) PutSeatMetricsByIdWithBody(ctx context.Context, id string, params *PutSeatMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSequenceAccountsById

func (c *Client) PutSequenceAccountsById(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, body PutSequenceAccountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutSequenceAccountsByIdWithBody

func (c *Client) PutSequenceAccountsByIdWithBody(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTaxRatesById

func (c *Client) PutTaxRatesById(ctx context.Context, id string, params *PutTaxRatesByIdParams, body PutTaxRatesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTaxRatesByIdWithBody

func (c *Client) PutTaxRatesByIdWithBody(ctx context.Context, id string, params *PutTaxRatesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTaxRegistrationsById

func (c *Client) PutTaxRegistrationsById(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, body PutTaxRegistrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTaxRegistrationsByIdWithBody

func (c *Client) PutTaxRegistrationsByIdWithBody(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsageMetricsById

func (c *Client) PutUsageMetricsById(ctx context.Context, id string, params *PutUsageMetricsByIdParams, body PutUsageMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsageMetricsByIdWithBody

func (c *Client) PutUsageMetricsByIdWithBody(ctx context.Context, id string, params *PutUsageMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsersById

func (c *Client) PutUsersById(ctx context.Context, id string, params *PutUsersByIdParams, body PutUsersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutUsersByIdWithBody

func (c *Client) PutUsersByIdWithBody(ctx context.Context, id string, params *PutUsersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetBillingProducts request
	GetBillingProducts(ctx context.Context, params *GetBillingProductsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingSchedules request
	GetBillingSchedules(ctx context.Context, params *GetBillingSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingSchedulesWithBody request with any body
	PostBillingSchedulesWithBody(ctx context.Context, params *PostBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostBillingSchedules(ctx context.Context, params *PostBillingSchedulesParams, body PostBillingSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingSchedulesValidateTaxesWithBody request with any body
	PostBillingSchedulesValidateTaxesWithBody(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostBillingSchedulesValidateTaxes(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, body PostBillingSchedulesValidateTaxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingSchedulesByBillingScheduleId request
	GetBillingSchedulesByBillingScheduleId(ctx context.Context, billingScheduleId string, params *GetBillingSchedulesByBillingScheduleIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutBillingSchedulesByBillingScheduleIdWithBody request with any body
	PutBillingSchedulesByBillingScheduleIdWithBody(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutBillingSchedulesByBillingScheduleId(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, body PutBillingSchedulesByBillingScheduleIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutBillingSchedulesByBillingScheduleIdActivate request
	PutBillingSchedulesByBillingScheduleIdActivate(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdActivateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingSchedulesByBillingScheduleIdArchive request
	PostBillingSchedulesByBillingScheduleIdArchive(ctx context.Context, billingScheduleId string, params *PostBillingSchedulesByBillingScheduleIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditNotes request
	GetCreditNotes(ctx context.Context, params *GetCreditNotesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesWithBody request with any body
	PostCreditNotesWithBody(ctx context.Context, params *PostCreditNotesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCreditNotes(ctx context.Context, params *PostCreditNotesParams, body PostCreditNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditNotesByCreditnoteLineItemGroups request
	GetCreditNotesByCreditnoteLineItemGroups(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByCreditnoteLineItemGroupsWithBody request with any body
	PostCreditNotesByCreditnoteLineItemGroupsWithBody(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCreditNotesByCreditnoteLineItemGroups(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, body PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCreditNotesByCreditnoteLineItemGroupsById request
	DeleteCreditNotesByCreditnoteLineItemGroupsById(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCreditNotesByCreditnoteLineItemGroupsByIdWithBody request with any body
	PutCreditNotesByCreditnoteLineItemGroupsByIdWithBody(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCreditNotesByCreditnoteLineItemGroupsById(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, body PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditNotesByCreditnoteLineItems request
	GetCreditNotesByCreditnoteLineItems(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByCreditnoteLineItemsWithBody request with any body
	PostCreditNotesByCreditnoteLineItemsWithBody(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCreditNotesByCreditnoteLineItems(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, body PostCreditNotesByCreditnoteLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCreditNotesByCreditnoteLineItemsById request
	DeleteCreditNotesByCreditnoteLineItemsById(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCreditNotesByCreditnoteLineItemsByIdWithBody request with any body
	PutCreditNotesByCreditnoteLineItemsByIdWithBody(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCreditNotesByCreditnoteLineItemsById(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, body PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCreditNotesById request
	DeleteCreditNotesById(ctx context.Context, id string, params *DeleteCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditNotesById request
	GetCreditNotesById(ctx context.Context, id string, params *GetCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCreditNotesByIdWithBody request with any body
	PutCreditNotesByIdWithBody(ctx context.Context, id string, params *PutCreditNotesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCreditNotesById(ctx context.Context, id string, params *PutCreditNotesByIdParams, body PutCreditNotesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditNotesByIdDownload request
	GetCreditNotesByIdDownload(ctx context.Context, id string, params *GetCreditNotesByIdDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByIdFinalize request
	PostCreditNotesByIdFinalize(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByIdFinalizeAndSend request
	PostCreditNotesByIdFinalizeAndSend(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByIdSend request
	PostCreditNotesByIdSend(ctx context.Context, id string, params *PostCreditNotesByIdSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditNotesByIdVoid request
	PostCreditNotesByIdVoid(ctx context.Context, id string, params *PostCreditNotesByIdVoidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCredits request
	GetCredits(ctx context.Context, params *GetCreditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreditsWithBody request with any body
	PostCreditsWithBody(ctx context.Context, params *PostCreditsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCredits(ctx context.Context, params *PostCreditsParams, body PostCreditsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditsByCustomerIdBalances request
	GetCreditsByCustomerIdBalances(ctx context.Context, customerId string, params *GetCreditsByCustomerIdBalancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditsByCustomerIdGrants request
	GetCreditsByCustomerIdGrants(ctx context.Context, customerId string, params *GetCreditsByCustomerIdGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCreditsById request
	GetCreditsById(ctx context.Context, id string, params *GetCreditsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomerAliases request
	GetCustomerAliases(ctx context.Context, params *GetCustomerAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomerAliasesWithBody request with any body
	PostCustomerAliasesWithBody(ctx context.Context, params *PostCustomerAliasesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCustomerAliases(ctx context.Context, params *PostCustomerAliasesParams, body PostCustomerAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCustomerAliasesById request
	DeleteCustomerAliasesById(ctx context.Context, id string, params *DeleteCustomerAliasesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCustomerAliasesByIdWithBody request with any body
	PutCustomerAliasesByIdWithBody(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCustomerAliasesById(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, body PutCustomerAliasesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomerOrganizationsWithBody request with any body
	PostCustomerOrganizationsWithBody(ctx context.Context, params *PostCustomerOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCustomerOrganizations(ctx context.Context, params *PostCustomerOrganizationsParams, body PostCustomerOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomerOrganizationsByIdMembersWithBody request with any body
	PostCustomerOrganizationsByIdMembersWithBody(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCustomerOrganizationsByIdMembers(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, body PostCustomerOrganizationsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCustomerOrganizationsByIdMembersWithBody request with any body
	PutCustomerOrganizationsByIdMembersWithBody(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCustomerOrganizationsByIdMembers(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, body PutCustomerOrganizationsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomers request
	GetCustomers(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomersWithBody request with any body
	PostCustomersWithBody(ctx context.Context, params *PostCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCustomers(ctx context.Context, params *PostCustomersParams, body PostCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomersByAliasByAlias request
	GetCustomersByAliasByAlias(ctx context.Context, alias string, params *GetCustomersByAliasByAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomersByCustomerContacts request
	GetCustomersByCustomerContacts(ctx context.Context, customer string, params *GetCustomersByCustomerContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomersByCustomerContactsWithBody request with any body
	PostCustomersByCustomerContactsWithBody(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCustomersByCustomerContacts(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, body PostCustomersByCustomerContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCustomersByCustomerContactsByIdWithBody request with any body
	PutCustomersByCustomerContactsByIdWithBody(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCustomersByCustomerContactsById(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, body PutCustomersByCustomerContactsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomersByCustomerContactsByIdArchive request
	PostCustomersByCustomerContactsByIdArchive(ctx context.Context, customer string, id string, params *PostCustomersByCustomerContactsByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomersById request
	GetCustomersById(ctx context.Context, id string, params *GetCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutCustomersByIdWithBody request with any body
	PutCustomersByIdWithBody(ctx context.Context, id string, params *PutCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutCustomersById(ctx context.Context, id string, params *PutCustomersByIdParams, body PutCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomersByIdAliases request
	GetCustomersByIdAliases(ctx context.Context, id string, params *GetCustomersByIdAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCustomersByIdArchive request
	PostCustomersByIdArchive(ctx context.Context, id string, params *PostCustomersByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDiscounts request
	GetDiscounts(ctx context.Context, params *GetDiscountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDiscountsById request
	DeleteDiscountsById(ctx context.Context, id string, params *DeleteDiscountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDiscountsById request
	GetDiscountsById(ctx context.Context, id string, params *GetDiscountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutDiscountsByIdWithBody request with any body
	PutDiscountsByIdWithBody(ctx context.Context, id string, params *PutDiscountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutDiscountsById(ctx context.Context, id string, params *PutDiscountsByIdParams, body PutDiscountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoices request
	GetInvoices(ctx context.Context, params *GetInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesWithBody request with any body
	PostInvoicesWithBody(ctx context.Context, params *PostInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInvoices(ctx context.Context, params *PostInvoicesParams, body PostInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicesRenderSettings request
	GetInvoicesRenderSettings(ctx context.Context, params *GetInvoicesRenderSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInvoicesRenderSettingsByIdWithBody request with any body
	PutInvoicesRenderSettingsByIdWithBody(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInvoicesRenderSettingsById(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, body PutInvoicesRenderSettingsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvoicesById request
	DeleteInvoicesById(ctx context.Context, id string, params *DeleteInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicesById request
	GetInvoicesById(ctx context.Context, id string, params *GetInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInvoicesByIdWithBody request with any body
	PatchInvoicesByIdWithBody(ctx context.Context, id string, params *PatchInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchInvoicesById(ctx context.Context, id string, params *PatchInvoicesByIdParams, body PatchInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInvoicesByIdWithBody request with any body
	PutInvoicesByIdWithBody(ctx context.Context, id string, params *PutInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInvoicesById(ctx context.Context, id string, params *PutInvoicesByIdParams, body PutInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicesByIdDownload request
	GetInvoicesByIdDownload(ctx context.Context, id string, params *GetInvoicesByIdDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdDraft request
	PostInvoicesByIdDraft(ctx context.Context, id string, params *PostInvoicesByIdDraftParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdFinalize request
	PostInvoicesByIdFinalize(ctx context.Context, id string, params *PostInvoicesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdFinalizeAndSend request
	PostInvoicesByIdFinalizeAndSend(ctx context.Context, id string, params *PostInvoicesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInvoicesByIdPaymentStatusWithBody request with any body
	PutInvoicesByIdPaymentStatusWithBody(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInvoicesByIdPaymentStatus(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, body PutInvoicesByIdPaymentStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdSend request
	PostInvoicesByIdSend(ctx context.Context, id string, params *PostInvoicesByIdSendParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdSendPaymentReminder request
	PostInvoicesByIdSendPaymentReminder(ctx context.Context, id string, params *PostInvoicesByIdSendPaymentReminderParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByIdVoid request
	PostInvoicesByIdVoid(ctx context.Context, id string, params *PostInvoicesByIdVoidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicesByInvoiceLineItemGroups request
	GetInvoicesByInvoiceLineItemGroups(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByInvoiceLineItemGroupsWithBody request with any body
	PostInvoicesByInvoiceLineItemGroupsWithBody(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInvoicesByInvoiceLineItemGroups(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, body PostInvoicesByInvoiceLineItemGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvoicesByInvoiceLineItemGroupsById request
	DeleteInvoicesByInvoiceLineItemGroupsById(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInvoicesByInvoiceLineItemGroupsByIdWithBody request with any body
	PutInvoicesByInvoiceLineItemGroupsByIdWithBody(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInvoicesByInvoiceLineItemGroupsById(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, body PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicesByInvoiceLineItems request
	GetInvoicesByInvoiceLineItems(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvoicesByInvoiceLineItemsWithBody request with any body
	PostInvoicesByInvoiceLineItemsWithBody(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInvoicesByInvoiceLineItems(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, body PostInvoicesByInvoiceLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvoicesByInvoiceLineItemsById request
	DeleteInvoicesByInvoiceLineItemsById(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutInvoicesByInvoiceLineItemsByIdWithBody request with any body
	PutInvoicesByInvoiceLineItemsByIdWithBody(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutInvoicesByInvoiceLineItemsById(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, body PutInvoicesByInvoiceLineItemsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetListPrices request
	GetListPrices(ctx context.Context, params *GetListPricesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostListPricesWithBody request with any body
	PostListPricesWithBody(ctx context.Context, params *PostListPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostListPrices(ctx context.Context, params *PostListPricesParams, body PostListPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetListPricesById request
	GetListPricesById(ctx context.Context, id string, params *GetListPricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutListPricesByIdWithBody request with any body
	PutListPricesByIdWithBody(ctx context.Context, id string, params *PutListPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutListPricesById(ctx context.Context, id string, params *PutListPricesByIdParams, body PutListPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostListPricesByIdArchive request
	PostListPricesByIdArchive(ctx context.Context, id string, params *PostListPricesByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotificationsPolicies request
	GetNotificationsPolicies(ctx context.Context, params *GetNotificationsPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNotificationsPoliciesWithBody request with any body
	PostNotificationsPoliciesWithBody(ctx context.Context, params *PostNotificationsPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostNotificationsPolicies(ctx context.Context, params *PostNotificationsPoliciesParams, body PostNotificationsPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotificationsPoliciesById request
	DeleteNotificationsPoliciesById(ctx context.Context, id string, params *DeleteNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotificationsPoliciesById request
	GetNotificationsPoliciesById(ctx context.Context, id string, params *GetNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNotificationsPoliciesByIdNotificationTypesWithBody request with any body
	PostNotificationsPoliciesByIdNotificationTypesWithBody(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostNotificationsPoliciesByIdNotificationTypes(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, body PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotificationsPoliciesByIdNotificationTypesByType request
	DeleteNotificationsPoliciesByIdNotificationTypesByType(ctx context.Context, id string, pType DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType, params *DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNotificationsPoliciesByIdRecipientsWithBody request with any body
	PostNotificationsPoliciesByIdRecipientsWithBody(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostNotificationsPoliciesByIdRecipients(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, body PostNotificationsPoliciesByIdRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotificationsPoliciesByIdRecipientsByRecipient request
	DeleteNotificationsPoliciesByIdRecipientsByRecipient(ctx context.Context, id string, recipient string, params *DeleteNotificationsPoliciesByIdRecipientsByRecipientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettings request
	GetPaymentsSettings(ctx context.Context, params *GetPaymentsSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostPaymentsSettingsBillingSchedulesWithBody request with any body
	PostPaymentsSettingsBillingSchedulesWithBody(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostPaymentsSettingsBillingSchedules(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, body PostPaymentsSettingsBillingSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettingsBillingSchedulesForBillingScheduleById request
	GetPaymentsSettingsBillingSchedulesForBillingScheduleById(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePaymentsSettingsBillingSchedulesById request
	DeletePaymentsSettingsBillingSchedulesById(ctx context.Context, id string, params *DeletePaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettingsBillingSchedulesById request
	GetPaymentsSettingsBillingSchedulesById(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutPaymentsSettingsBillingSchedulesByIdWithBody request with any body
	PutPaymentsSettingsBillingSchedulesByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutPaymentsSettingsBillingSchedulesById(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, body PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostPaymentsSettingsCustomersWithBody request with any body
	PostPaymentsSettingsCustomersWithBody(ctx context.Context, params *PostPaymentsSettingsCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostPaymentsSettingsCustomers(ctx context.Context, params *PostPaymentsSettingsCustomersParams, body PostPaymentsSettingsCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePaymentsSettingsCustomersById request
	DeletePaymentsSettingsCustomersById(ctx context.Context, id string, params *DeletePaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettingsCustomersById request
	GetPaymentsSettingsCustomersById(ctx context.Context, id string, params *GetPaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutPaymentsSettingsCustomersByIdWithBody request with any body
	PutPaymentsSettingsCustomersByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutPaymentsSettingsCustomersById(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, body PutPaymentsSettingsCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostPaymentsSettingsInvoicesWithBody request with any body
	PostPaymentsSettingsInvoicesWithBody(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostPaymentsSettingsInvoices(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, body PostPaymentsSettingsInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettingsInvoicesForInvoiceById request
	GetPaymentsSettingsInvoicesForInvoiceById(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesForInvoiceByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePaymentsSettingsInvoicesById request
	DeletePaymentsSettingsInvoicesById(ctx context.Context, id string, params *DeletePaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentsSettingsInvoicesById request
	GetPaymentsSettingsInvoicesById(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutPaymentsSettingsInvoicesByIdWithBody request with any body
	PutPaymentsSettingsInvoicesByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutPaymentsSettingsInvoicesById(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, body PutPaymentsSettingsInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutPaymentsSettingsByIdWithBody request with any body
	PutPaymentsSettingsByIdWithBody(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutPaymentsSettingsById(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, body PutPaymentsSettingsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrices request
	GetPrices(ctx context.Context, params *GetPricesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostPricesWithBody request with any body
	PostPricesWithBody(ctx context.Context, params *PostPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostPrices(ctx context.Context, params *PostPricesParams, body PostPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePricesById request
	DeletePricesById(ctx context.Context, id string, params *DeletePricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPricesById request
	GetPricesById(ctx context.Context, id string, params *GetPricesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutPricesByIdWithBody request with any body
	PutPricesByIdWithBody(ctx context.Context, id string, params *PutPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutPricesById(ctx context.Context, id string, params *PutPricesByIdParams, body PutPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProducts request
	GetProducts(ctx context.Context, params *GetProductsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostProductsWithBody request with any body
	PostProductsWithBody(ctx context.Context, params *PostProductsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostProducts(ctx context.Context, params *PostProductsParams, body PostProductsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProductsById request
	GetProductsById(ctx context.Context, id string, params *GetProductsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutProductsByIdWithBody request with any body
	PutProductsByIdWithBody(ctx context.Context, id string, params *PutProductsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutProductsById(ctx context.Context, id string, params *PutProductsByIdParams, body PutProductsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostProductsByIdArchive request
	PostProductsByIdArchive(ctx context.Context, id string, params *PostProductsByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSeatBalances request
	GetSeatBalances(ctx context.Context, params *GetSeatBalancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSeatEvents request
	GetSeatEvents(ctx context.Context, params *GetSeatEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSeatEventsWithBody request with any body
	PostSeatEventsWithBody(ctx context.Context, params *PostSeatEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSeatEvents(ctx context.Context, params *PostSeatEventsParams, body PostSeatEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSeatEventsById request
	GetSeatEventsById(ctx context.Context, id string, params *GetSeatEventsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSeatMetrics request
	GetSeatMetrics(ctx context.Context, params *GetSeatMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSeatMetricsWithBody request with any body
	PostSeatMetricsWithBody(ctx context.Context, params *PostSeatMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSeatMetrics(ctx context.Context, params *PostSeatMetricsParams, body PostSeatMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSeatMetricsById request
	DeleteSeatMetricsById(ctx context.Context, id string, params *DeleteSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSeatMetricsById request
	GetSeatMetricsById(ctx context.Context, id string, params *GetSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSeatMetricsByIdWithBody request with any body
	PutSeatMetricsByIdWithBody(ctx context.Context, id string, params *PutSeatMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutSeatMetricsById(ctx context.Context, id string, params *PutSeatMetricsByIdParams, body PutSeatMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSequenceAccounts request
	GetSequenceAccounts(ctx context.Context, params *GetSequenceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSequenceAccountsById request
	GetSequenceAccountsById(ctx context.Context, id string, params *GetSequenceAccountsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSequenceAccountsByIdWithBody request with any body
	PutSequenceAccountsByIdWithBody(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutSequenceAccountsById(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, body PutSequenceAccountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRates request
	GetTaxRates(ctx context.Context, params *GetTaxRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTaxRatesWithBody request with any body
	PostTaxRatesWithBody(ctx context.Context, params *PostTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTaxRates(ctx context.Context, params *PostTaxRatesParams, body PostTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTaxRatesById request
	DeleteTaxRatesById(ctx context.Context, id string, params *DeleteTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRatesById request
	GetTaxRatesById(ctx context.Context, id string, params *GetTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTaxRatesByIdWithBody request with any body
	PutTaxRatesByIdWithBody(ctx context.Context, id string, params *PutTaxRatesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutTaxRatesById(ctx context.Context, id string, params *PutTaxRatesByIdParams, body PutTaxRatesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTaxRatesByIdArchive request
	PostTaxRatesByIdArchive(ctx context.Context, id string, params *PostTaxRatesByIdArchiveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRegistrations request
	GetTaxRegistrations(ctx context.Context, params *GetTaxRegistrationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTaxRegistrationsWithBody request with any body
	PostTaxRegistrationsWithBody(ctx context.Context, params *PostTaxRegistrationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTaxRegistrations(ctx context.Context, params *PostTaxRegistrationsParams, body PostTaxRegistrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRegistrationsForCustomerById request
	GetTaxRegistrationsForCustomerById(ctx context.Context, id string, params *GetTaxRegistrationsForCustomerByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRegistrationsForMerchantById request
	GetTaxRegistrationsForMerchantById(ctx context.Context, id string, params *GetTaxRegistrationsForMerchantByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTaxRegistrationsById request
	DeleteTaxRegistrationsById(ctx context.Context, id string, params *DeleteTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRegistrationsById request
	GetTaxRegistrationsById(ctx context.Context, id string, params *GetTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTaxRegistrationsByIdWithBody request with any body
	PutTaxRegistrationsByIdWithBody(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutTaxRegistrationsById(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, body PutTaxRegistrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsageEvents request
	GetUsageEvents(ctx context.Context, params *GetUsageEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsageEventsWithBody request with any body
	PostUsageEventsWithBody(ctx context.Context, params *PostUsageEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsageEvents(ctx context.Context, params *PostUsageEventsParams, body PostUsageEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsageMetrics request
	GetUsageMetrics(ctx context.Context, params *GetUsageMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsageMetricsWithBody request with any body
	PostUsageMetricsWithBody(ctx context.Context, params *PostUsageMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsageMetrics(ctx context.Context, params *PostUsageMetricsParams, body PostUsageMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUsageMetricsById request
	DeleteUsageMetricsById(ctx context.Context, id string, params *DeleteUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsageMetricsById request
	GetUsageMetricsById(ctx context.Context, id string, params *GetUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUsageMetricsByIdWithBody request with any body
	PutUsageMetricsByIdWithBody(ctx context.Context, id string, params *PutUsageMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutUsageMetricsById(ctx context.Context, id string, params *PutUsageMetricsByIdParams, body PutUsageMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsageMetricsByUsageMetricIdCalculate request
	GetUsageMetricsByUsageMetricIdCalculate(ctx context.Context, usageMetricId string, params *GetUsageMetricsByUsageMetricIdCalculateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsers request
	GetUsers(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUsersById request
	DeleteUsersById(ctx context.Context, id string, params *DeleteUsersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsersById request
	GetUsersById(ctx context.Context, id string, params *GetUsersByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUsersByIdWithBody request with any body
	PutUsersByIdWithBody(ctx context.Context, id string, params *PutUsersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutUsersById(ctx context.Context, id string, params *PutUsersByIdParams, body PutUsersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithAPIKey

func WithAPIKey(apiKey APIKey) ClientOption

WithAPIKey is used to configure a client with a global API key for Sequence API

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func NewProductionEuropeClient

func NewProductionEuropeClient(opts ...ClientOption) (*ClientWithResponses, error)

NewProductionEuropeClient creates a new client for the Sequence API in production in Europe

func NewSandboxClient

func NewSandboxClient(opts ...ClientOption) (*ClientWithResponses, error)

NewSandboxClient creates a new client for the Sequence API in sandbox

Example
package main

import (
	"context"

	sequence "github.com/attentiontech/sequencehq-go-sdk/pkg/sequence"
)

func main() {
	client, _ := sequence.NewSandboxClient(sequence.WithAPIKey(sequence.APIKey{
		ClientID:     "myclient",
		ClientSecret: "mysecret"},
	))
	ctx := context.Background()
	_, _ = client.PostSeatEventsWithResponse(ctx, &sequence.PostSeatEventsParams{}, sequence.PostSeatEventsJSONRequestBody{
		EventTimestamp: "2024-01-07T00:00:00Z",
		CustomerAlias:  "clientalias",
		SeatType:       "test",
		Total:          2,
	})
}

func (*ClientWithResponses) DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse

func (c *ClientWithResponses) DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse request returning *DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse

func (*ClientWithResponses) DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse

func (c *ClientWithResponses) DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemsByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByCreditnoteLineItemsByIdResponse, error)

DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse request returning *DeleteCreditNotesByCreditnoteLineItemsByIdResponse

func (*ClientWithResponses) DeleteCreditNotesByIdWithResponse

func (c *ClientWithResponses) DeleteCreditNotesByIdWithResponse(ctx context.Context, id string, params *DeleteCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByIdResponse, error)

DeleteCreditNotesByIdWithResponse request returning *DeleteCreditNotesByIdResponse

func (*ClientWithResponses) DeleteCustomerAliasesByIdWithResponse

func (c *ClientWithResponses) DeleteCustomerAliasesByIdWithResponse(ctx context.Context, id string, params *DeleteCustomerAliasesByIdParams, reqEditors ...RequestEditorFn) (*DeleteCustomerAliasesByIdResponse, error)

DeleteCustomerAliasesByIdWithResponse request returning *DeleteCustomerAliasesByIdResponse

func (*ClientWithResponses) DeleteDiscountsByIdWithResponse

func (c *ClientWithResponses) DeleteDiscountsByIdWithResponse(ctx context.Context, id string, params *DeleteDiscountsByIdParams, reqEditors ...RequestEditorFn) (*DeleteDiscountsByIdResponse, error)

DeleteDiscountsByIdWithResponse request returning *DeleteDiscountsByIdResponse

func (*ClientWithResponses) DeleteInvoicesByIdWithResponse

func (c *ClientWithResponses) DeleteInvoicesByIdWithResponse(ctx context.Context, id string, params *DeleteInvoicesByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByIdResponse, error)

DeleteInvoicesByIdWithResponse request returning *DeleteInvoicesByIdResponse

func (*ClientWithResponses) DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse

func (c *ClientWithResponses) DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByInvoiceLineItemGroupsByIdResponse, error)

DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse request returning *DeleteInvoicesByInvoiceLineItemGroupsByIdResponse

func (*ClientWithResponses) DeleteInvoicesByInvoiceLineItemsByIdWithResponse

func (c *ClientWithResponses) DeleteInvoicesByInvoiceLineItemsByIdWithResponse(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemsByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByInvoiceLineItemsByIdResponse, error)

DeleteInvoicesByInvoiceLineItemsByIdWithResponse request returning *DeleteInvoicesByInvoiceLineItemsByIdResponse

func (*ClientWithResponses) DeleteNotificationsPoliciesByIdNotificationTypesByTypeWithResponse

DeleteNotificationsPoliciesByIdNotificationTypesByTypeWithResponse request returning *DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse

func (*ClientWithResponses) DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse

func (c *ClientWithResponses) DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse(ctx context.Context, id string, recipient string, params *DeleteNotificationsPoliciesByIdRecipientsByRecipientParams, reqEditors ...RequestEditorFn) (*DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse, error)

DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse request returning *DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse

func (*ClientWithResponses) DeleteNotificationsPoliciesByIdWithResponse

func (c *ClientWithResponses) DeleteNotificationsPoliciesByIdWithResponse(ctx context.Context, id string, params *DeleteNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*DeleteNotificationsPoliciesByIdResponse, error)

DeleteNotificationsPoliciesByIdWithResponse request returning *DeleteNotificationsPoliciesByIdResponse

func (*ClientWithResponses) DeletePaymentsSettingsBillingSchedulesByIdWithResponse

func (c *ClientWithResponses) DeletePaymentsSettingsBillingSchedulesByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsBillingSchedulesByIdResponse, error)

DeletePaymentsSettingsBillingSchedulesByIdWithResponse request returning *DeletePaymentsSettingsBillingSchedulesByIdResponse

func (*ClientWithResponses) DeletePaymentsSettingsCustomersByIdWithResponse

func (c *ClientWithResponses) DeletePaymentsSettingsCustomersByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsCustomersByIdResponse, error)

DeletePaymentsSettingsCustomersByIdWithResponse request returning *DeletePaymentsSettingsCustomersByIdResponse

func (*ClientWithResponses) DeletePaymentsSettingsInvoicesByIdWithResponse

func (c *ClientWithResponses) DeletePaymentsSettingsInvoicesByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsInvoicesByIdResponse, error)

DeletePaymentsSettingsInvoicesByIdWithResponse request returning *DeletePaymentsSettingsInvoicesByIdResponse

func (*ClientWithResponses) DeletePricesByIdWithResponse

func (c *ClientWithResponses) DeletePricesByIdWithResponse(ctx context.Context, id string, params *DeletePricesByIdParams, reqEditors ...RequestEditorFn) (*DeletePricesByIdResponse, error)

DeletePricesByIdWithResponse request returning *DeletePricesByIdResponse

func (*ClientWithResponses) DeleteSeatMetricsByIdWithResponse

func (c *ClientWithResponses) DeleteSeatMetricsByIdWithResponse(ctx context.Context, id string, params *DeleteSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*DeleteSeatMetricsByIdResponse, error)

DeleteSeatMetricsByIdWithResponse request returning *DeleteSeatMetricsByIdResponse

func (*ClientWithResponses) DeleteTaxRatesByIdWithResponse

func (c *ClientWithResponses) DeleteTaxRatesByIdWithResponse(ctx context.Context, id string, params *DeleteTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*DeleteTaxRatesByIdResponse, error)

DeleteTaxRatesByIdWithResponse request returning *DeleteTaxRatesByIdResponse

func (*ClientWithResponses) DeleteTaxRegistrationsByIdWithResponse

func (c *ClientWithResponses) DeleteTaxRegistrationsByIdWithResponse(ctx context.Context, id string, params *DeleteTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*DeleteTaxRegistrationsByIdResponse, error)

DeleteTaxRegistrationsByIdWithResponse request returning *DeleteTaxRegistrationsByIdResponse

func (*ClientWithResponses) DeleteUsageMetricsByIdWithResponse

func (c *ClientWithResponses) DeleteUsageMetricsByIdWithResponse(ctx context.Context, id string, params *DeleteUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*DeleteUsageMetricsByIdResponse, error)

DeleteUsageMetricsByIdWithResponse request returning *DeleteUsageMetricsByIdResponse

func (*ClientWithResponses) DeleteUsersByIdWithResponse

func (c *ClientWithResponses) DeleteUsersByIdWithResponse(ctx context.Context, id string, params *DeleteUsersByIdParams, reqEditors ...RequestEditorFn) (*DeleteUsersByIdResponse, error)

DeleteUsersByIdWithResponse request returning *DeleteUsersByIdResponse

func (*ClientWithResponses) GetBillingProductsWithResponse

func (c *ClientWithResponses) GetBillingProductsWithResponse(ctx context.Context, params *GetBillingProductsParams, reqEditors ...RequestEditorFn) (*GetBillingProductsResponse, error)

GetBillingProductsWithResponse request returning *GetBillingProductsResponse

func (*ClientWithResponses) GetBillingSchedulesByBillingScheduleIdWithResponse

func (c *ClientWithResponses) GetBillingSchedulesByBillingScheduleIdWithResponse(ctx context.Context, billingScheduleId string, params *GetBillingSchedulesByBillingScheduleIdParams, reqEditors ...RequestEditorFn) (*GetBillingSchedulesByBillingScheduleIdResponse, error)

GetBillingSchedulesByBillingScheduleIdWithResponse request returning *GetBillingSchedulesByBillingScheduleIdResponse

func (*ClientWithResponses) GetBillingSchedulesWithResponse

func (c *ClientWithResponses) GetBillingSchedulesWithResponse(ctx context.Context, params *GetBillingSchedulesParams, reqEditors ...RequestEditorFn) (*GetBillingSchedulesResponse, error)

GetBillingSchedulesWithResponse request returning *GetBillingSchedulesResponse

func (*ClientWithResponses) GetCreditNotesByCreditnoteLineItemGroupsWithResponse

func (c *ClientWithResponses) GetCreditNotesByCreditnoteLineItemGroupsWithResponse(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemGroupsParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByCreditnoteLineItemGroupsResponse, error)

GetCreditNotesByCreditnoteLineItemGroupsWithResponse request returning *GetCreditNotesByCreditnoteLineItemGroupsResponse

func (*ClientWithResponses) GetCreditNotesByCreditnoteLineItemsWithResponse

func (c *ClientWithResponses) GetCreditNotesByCreditnoteLineItemsWithResponse(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemsParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByCreditnoteLineItemsResponse, error)

GetCreditNotesByCreditnoteLineItemsWithResponse request returning *GetCreditNotesByCreditnoteLineItemsResponse

func (*ClientWithResponses) GetCreditNotesByIdDownloadWithResponse

func (c *ClientWithResponses) GetCreditNotesByIdDownloadWithResponse(ctx context.Context, id string, params *GetCreditNotesByIdDownloadParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByIdDownloadResponse, error)

GetCreditNotesByIdDownloadWithResponse request returning *GetCreditNotesByIdDownloadResponse

func (*ClientWithResponses) GetCreditNotesByIdWithResponse

func (c *ClientWithResponses) GetCreditNotesByIdWithResponse(ctx context.Context, id string, params *GetCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByIdResponse, error)

GetCreditNotesByIdWithResponse request returning *GetCreditNotesByIdResponse

func (*ClientWithResponses) GetCreditNotesWithResponse

func (c *ClientWithResponses) GetCreditNotesWithResponse(ctx context.Context, params *GetCreditNotesParams, reqEditors ...RequestEditorFn) (*GetCreditNotesResponse, error)

GetCreditNotesWithResponse request returning *GetCreditNotesResponse

func (*ClientWithResponses) GetCreditsByCustomerIdBalancesWithResponse

func (c *ClientWithResponses) GetCreditsByCustomerIdBalancesWithResponse(ctx context.Context, customerId string, params *GetCreditsByCustomerIdBalancesParams, reqEditors ...RequestEditorFn) (*GetCreditsByCustomerIdBalancesResponse, error)

GetCreditsByCustomerIdBalancesWithResponse request returning *GetCreditsByCustomerIdBalancesResponse

func (*ClientWithResponses) GetCreditsByCustomerIdGrantsWithResponse

func (c *ClientWithResponses) GetCreditsByCustomerIdGrantsWithResponse(ctx context.Context, customerId string, params *GetCreditsByCustomerIdGrantsParams, reqEditors ...RequestEditorFn) (*GetCreditsByCustomerIdGrantsResponse, error)

GetCreditsByCustomerIdGrantsWithResponse request returning *GetCreditsByCustomerIdGrantsResponse

func (*ClientWithResponses) GetCreditsByIdWithResponse

func (c *ClientWithResponses) GetCreditsByIdWithResponse(ctx context.Context, id string, params *GetCreditsByIdParams, reqEditors ...RequestEditorFn) (*GetCreditsByIdResponse, error)

GetCreditsByIdWithResponse request returning *GetCreditsByIdResponse

func (*ClientWithResponses) GetCreditsWithResponse

func (c *ClientWithResponses) GetCreditsWithResponse(ctx context.Context, params *GetCreditsParams, reqEditors ...RequestEditorFn) (*GetCreditsResponse, error)

GetCreditsWithResponse request returning *GetCreditsResponse

func (*ClientWithResponses) GetCustomerAliasesWithResponse

func (c *ClientWithResponses) GetCustomerAliasesWithResponse(ctx context.Context, params *GetCustomerAliasesParams, reqEditors ...RequestEditorFn) (*GetCustomerAliasesResponse, error)

GetCustomerAliasesWithResponse request returning *GetCustomerAliasesResponse

func (*ClientWithResponses) GetCustomersByAliasByAliasWithResponse

func (c *ClientWithResponses) GetCustomersByAliasByAliasWithResponse(ctx context.Context, alias string, params *GetCustomersByAliasByAliasParams, reqEditors ...RequestEditorFn) (*GetCustomersByAliasByAliasResponse, error)

GetCustomersByAliasByAliasWithResponse request returning *GetCustomersByAliasByAliasResponse

func (*ClientWithResponses) GetCustomersByCustomerContactsWithResponse

func (c *ClientWithResponses) GetCustomersByCustomerContactsWithResponse(ctx context.Context, customer string, params *GetCustomersByCustomerContactsParams, reqEditors ...RequestEditorFn) (*GetCustomersByCustomerContactsResponse, error)

GetCustomersByCustomerContactsWithResponse request returning *GetCustomersByCustomerContactsResponse

func (*ClientWithResponses) GetCustomersByIdAliasesWithResponse

func (c *ClientWithResponses) GetCustomersByIdAliasesWithResponse(ctx context.Context, id string, params *GetCustomersByIdAliasesParams, reqEditors ...RequestEditorFn) (*GetCustomersByIdAliasesResponse, error)

GetCustomersByIdAliasesWithResponse request returning *GetCustomersByIdAliasesResponse

func (*ClientWithResponses) GetCustomersByIdWithResponse

func (c *ClientWithResponses) GetCustomersByIdWithResponse(ctx context.Context, id string, params *GetCustomersByIdParams, reqEditors ...RequestEditorFn) (*GetCustomersByIdResponse, error)

GetCustomersByIdWithResponse request returning *GetCustomersByIdResponse

func (*ClientWithResponses) GetCustomersWithResponse

func (c *ClientWithResponses) GetCustomersWithResponse(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*GetCustomersResponse, error)

GetCustomersWithResponse request returning *GetCustomersResponse

func (*ClientWithResponses) GetDiscountsByIdWithResponse

func (c *ClientWithResponses) GetDiscountsByIdWithResponse(ctx context.Context, id string, params *GetDiscountsByIdParams, reqEditors ...RequestEditorFn) (*GetDiscountsByIdResponse, error)

GetDiscountsByIdWithResponse request returning *GetDiscountsByIdResponse

func (*ClientWithResponses) GetDiscountsWithResponse

func (c *ClientWithResponses) GetDiscountsWithResponse(ctx context.Context, params *GetDiscountsParams, reqEditors ...RequestEditorFn) (*GetDiscountsResponse, error)

GetDiscountsWithResponse request returning *GetDiscountsResponse

func (*ClientWithResponses) GetInvoicesByIdDownloadWithResponse

func (c *ClientWithResponses) GetInvoicesByIdDownloadWithResponse(ctx context.Context, id string, params *GetInvoicesByIdDownloadParams, reqEditors ...RequestEditorFn) (*GetInvoicesByIdDownloadResponse, error)

GetInvoicesByIdDownloadWithResponse request returning *GetInvoicesByIdDownloadResponse

func (*ClientWithResponses) GetInvoicesByIdWithResponse

func (c *ClientWithResponses) GetInvoicesByIdWithResponse(ctx context.Context, id string, params *GetInvoicesByIdParams, reqEditors ...RequestEditorFn) (*GetInvoicesByIdResponse, error)

GetInvoicesByIdWithResponse request returning *GetInvoicesByIdResponse

func (*ClientWithResponses) GetInvoicesByInvoiceLineItemGroupsWithResponse

func (c *ClientWithResponses) GetInvoicesByInvoiceLineItemGroupsWithResponse(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemGroupsParams, reqEditors ...RequestEditorFn) (*GetInvoicesByInvoiceLineItemGroupsResponse, error)

GetInvoicesByInvoiceLineItemGroupsWithResponse request returning *GetInvoicesByInvoiceLineItemGroupsResponse

func (*ClientWithResponses) GetInvoicesByInvoiceLineItemsWithResponse

func (c *ClientWithResponses) GetInvoicesByInvoiceLineItemsWithResponse(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemsParams, reqEditors ...RequestEditorFn) (*GetInvoicesByInvoiceLineItemsResponse, error)

GetInvoicesByInvoiceLineItemsWithResponse request returning *GetInvoicesByInvoiceLineItemsResponse

func (*ClientWithResponses) GetInvoicesRenderSettingsWithResponse

func (c *ClientWithResponses) GetInvoicesRenderSettingsWithResponse(ctx context.Context, params *GetInvoicesRenderSettingsParams, reqEditors ...RequestEditorFn) (*GetInvoicesRenderSettingsResponse, error)

GetInvoicesRenderSettingsWithResponse request returning *GetInvoicesRenderSettingsResponse

func (*ClientWithResponses) GetInvoicesWithResponse

func (c *ClientWithResponses) GetInvoicesWithResponse(ctx context.Context, params *GetInvoicesParams, reqEditors ...RequestEditorFn) (*GetInvoicesResponse, error)

GetInvoicesWithResponse request returning *GetInvoicesResponse

func (*ClientWithResponses) GetListPricesByIdWithResponse

func (c *ClientWithResponses) GetListPricesByIdWithResponse(ctx context.Context, id string, params *GetListPricesByIdParams, reqEditors ...RequestEditorFn) (*GetListPricesByIdResponse, error)

GetListPricesByIdWithResponse request returning *GetListPricesByIdResponse

func (*ClientWithResponses) GetListPricesWithResponse

func (c *ClientWithResponses) GetListPricesWithResponse(ctx context.Context, params *GetListPricesParams, reqEditors ...RequestEditorFn) (*GetListPricesResponse, error)

GetListPricesWithResponse request returning *GetListPricesResponse

func (*ClientWithResponses) GetNotificationsPoliciesByIdWithResponse

func (c *ClientWithResponses) GetNotificationsPoliciesByIdWithResponse(ctx context.Context, id string, params *GetNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*GetNotificationsPoliciesByIdResponse, error)

GetNotificationsPoliciesByIdWithResponse request returning *GetNotificationsPoliciesByIdResponse

func (*ClientWithResponses) GetNotificationsPoliciesWithResponse

func (c *ClientWithResponses) GetNotificationsPoliciesWithResponse(ctx context.Context, params *GetNotificationsPoliciesParams, reqEditors ...RequestEditorFn) (*GetNotificationsPoliciesResponse, error)

GetNotificationsPoliciesWithResponse request returning *GetNotificationsPoliciesResponse

func (*ClientWithResponses) GetPaymentsSettingsBillingSchedulesByIdWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsBillingSchedulesByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsBillingSchedulesByIdResponse, error)

GetPaymentsSettingsBillingSchedulesByIdWithResponse request returning *GetPaymentsSettingsBillingSchedulesByIdResponse

func (*ClientWithResponses) GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse, error)

GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse request returning *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse

func (*ClientWithResponses) GetPaymentsSettingsCustomersByIdWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsCustomersByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsCustomersByIdResponse, error)

GetPaymentsSettingsCustomersByIdWithResponse request returning *GetPaymentsSettingsCustomersByIdResponse

func (*ClientWithResponses) GetPaymentsSettingsInvoicesByIdWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsInvoicesByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsInvoicesByIdResponse, error)

GetPaymentsSettingsInvoicesByIdWithResponse request returning *GetPaymentsSettingsInvoicesByIdResponse

func (*ClientWithResponses) GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesForInvoiceByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsInvoicesForInvoiceByIdResponse, error)

GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse request returning *GetPaymentsSettingsInvoicesForInvoiceByIdResponse

func (*ClientWithResponses) GetPaymentsSettingsWithResponse

func (c *ClientWithResponses) GetPaymentsSettingsWithResponse(ctx context.Context, params *GetPaymentsSettingsParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsResponse, error)

GetPaymentsSettingsWithResponse request returning *GetPaymentsSettingsResponse

func (*ClientWithResponses) GetPricesByIdWithResponse

func (c *ClientWithResponses) GetPricesByIdWithResponse(ctx context.Context, id string, params *GetPricesByIdParams, reqEditors ...RequestEditorFn) (*GetPricesByIdResponse, error)

GetPricesByIdWithResponse request returning *GetPricesByIdResponse

func (*ClientWithResponses) GetPricesWithResponse

func (c *ClientWithResponses) GetPricesWithResponse(ctx context.Context, params *GetPricesParams, reqEditors ...RequestEditorFn) (*GetPricesResponse, error)

GetPricesWithResponse request returning *GetPricesResponse

func (*ClientWithResponses) GetProductsByIdWithResponse

func (c *ClientWithResponses) GetProductsByIdWithResponse(ctx context.Context, id string, params *GetProductsByIdParams, reqEditors ...RequestEditorFn) (*GetProductsByIdResponse, error)

GetProductsByIdWithResponse request returning *GetProductsByIdResponse

func (*ClientWithResponses) GetProductsWithResponse

func (c *ClientWithResponses) GetProductsWithResponse(ctx context.Context, params *GetProductsParams, reqEditors ...RequestEditorFn) (*GetProductsResponse, error)

GetProductsWithResponse request returning *GetProductsResponse

func (*ClientWithResponses) GetSeatBalancesWithResponse

func (c *ClientWithResponses) GetSeatBalancesWithResponse(ctx context.Context, params *GetSeatBalancesParams, reqEditors ...RequestEditorFn) (*GetSeatBalancesResponse, error)

GetSeatBalancesWithResponse request returning *GetSeatBalancesResponse

func (*ClientWithResponses) GetSeatEventsByIdWithResponse

func (c *ClientWithResponses) GetSeatEventsByIdWithResponse(ctx context.Context, id string, params *GetSeatEventsByIdParams, reqEditors ...RequestEditorFn) (*GetSeatEventsByIdResponse, error)

GetSeatEventsByIdWithResponse request returning *GetSeatEventsByIdResponse

func (*ClientWithResponses) GetSeatEventsWithResponse

func (c *ClientWithResponses) GetSeatEventsWithResponse(ctx context.Context, params *GetSeatEventsParams, reqEditors ...RequestEditorFn) (*GetSeatEventsResponse, error)

GetSeatEventsWithResponse request returning *GetSeatEventsResponse

func (*ClientWithResponses) GetSeatMetricsByIdWithResponse

func (c *ClientWithResponses) GetSeatMetricsByIdWithResponse(ctx context.Context, id string, params *GetSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*GetSeatMetricsByIdResponse, error)

GetSeatMetricsByIdWithResponse request returning *GetSeatMetricsByIdResponse

func (*ClientWithResponses) GetSeatMetricsWithResponse

func (c *ClientWithResponses) GetSeatMetricsWithResponse(ctx context.Context, params *GetSeatMetricsParams, reqEditors ...RequestEditorFn) (*GetSeatMetricsResponse, error)

GetSeatMetricsWithResponse request returning *GetSeatMetricsResponse

func (*ClientWithResponses) GetSequenceAccountsByIdWithResponse

func (c *ClientWithResponses) GetSequenceAccountsByIdWithResponse(ctx context.Context, id string, params *GetSequenceAccountsByIdParams, reqEditors ...RequestEditorFn) (*GetSequenceAccountsByIdResponse, error)

GetSequenceAccountsByIdWithResponse request returning *GetSequenceAccountsByIdResponse

func (*ClientWithResponses) GetSequenceAccountsWithResponse

func (c *ClientWithResponses) GetSequenceAccountsWithResponse(ctx context.Context, params *GetSequenceAccountsParams, reqEditors ...RequestEditorFn) (*GetSequenceAccountsResponse, error)

GetSequenceAccountsWithResponse request returning *GetSequenceAccountsResponse

func (*ClientWithResponses) GetTaxRatesByIdWithResponse

func (c *ClientWithResponses) GetTaxRatesByIdWithResponse(ctx context.Context, id string, params *GetTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRatesByIdResponse, error)

GetTaxRatesByIdWithResponse request returning *GetTaxRatesByIdResponse

func (*ClientWithResponses) GetTaxRatesWithResponse

func (c *ClientWithResponses) GetTaxRatesWithResponse(ctx context.Context, params *GetTaxRatesParams, reqEditors ...RequestEditorFn) (*GetTaxRatesResponse, error)

GetTaxRatesWithResponse request returning *GetTaxRatesResponse

func (*ClientWithResponses) GetTaxRegistrationsByIdWithResponse

func (c *ClientWithResponses) GetTaxRegistrationsByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsByIdResponse, error)

GetTaxRegistrationsByIdWithResponse request returning *GetTaxRegistrationsByIdResponse

func (*ClientWithResponses) GetTaxRegistrationsForCustomerByIdWithResponse

func (c *ClientWithResponses) GetTaxRegistrationsForCustomerByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsForCustomerByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsForCustomerByIdResponse, error)

GetTaxRegistrationsForCustomerByIdWithResponse request returning *GetTaxRegistrationsForCustomerByIdResponse

func (*ClientWithResponses) GetTaxRegistrationsForMerchantByIdWithResponse

func (c *ClientWithResponses) GetTaxRegistrationsForMerchantByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsForMerchantByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsForMerchantByIdResponse, error)

GetTaxRegistrationsForMerchantByIdWithResponse request returning *GetTaxRegistrationsForMerchantByIdResponse

func (*ClientWithResponses) GetTaxRegistrationsWithResponse

func (c *ClientWithResponses) GetTaxRegistrationsWithResponse(ctx context.Context, params *GetTaxRegistrationsParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsResponse, error)

GetTaxRegistrationsWithResponse request returning *GetTaxRegistrationsResponse

func (*ClientWithResponses) GetUsageEventsWithResponse

func (c *ClientWithResponses) GetUsageEventsWithResponse(ctx context.Context, params *GetUsageEventsParams, reqEditors ...RequestEditorFn) (*GetUsageEventsResponse, error)

GetUsageEventsWithResponse request returning *GetUsageEventsResponse

func (*ClientWithResponses) GetUsageMetricsByIdWithResponse

func (c *ClientWithResponses) GetUsageMetricsByIdWithResponse(ctx context.Context, id string, params *GetUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsByIdResponse, error)

GetUsageMetricsByIdWithResponse request returning *GetUsageMetricsByIdResponse

func (*ClientWithResponses) GetUsageMetricsByUsageMetricIdCalculateWithResponse

func (c *ClientWithResponses) GetUsageMetricsByUsageMetricIdCalculateWithResponse(ctx context.Context, usageMetricId string, params *GetUsageMetricsByUsageMetricIdCalculateParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsByUsageMetricIdCalculateResponse, error)

GetUsageMetricsByUsageMetricIdCalculateWithResponse request returning *GetUsageMetricsByUsageMetricIdCalculateResponse

func (*ClientWithResponses) GetUsageMetricsWithResponse

func (c *ClientWithResponses) GetUsageMetricsWithResponse(ctx context.Context, params *GetUsageMetricsParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsResponse, error)

GetUsageMetricsWithResponse request returning *GetUsageMetricsResponse

func (*ClientWithResponses) GetUsersByIdWithResponse

func (c *ClientWithResponses) GetUsersByIdWithResponse(ctx context.Context, id string, params *GetUsersByIdParams, reqEditors ...RequestEditorFn) (*GetUsersByIdResponse, error)

GetUsersByIdWithResponse request returning *GetUsersByIdResponse

func (*ClientWithResponses) GetUsersWithResponse

func (c *ClientWithResponses) GetUsersWithResponse(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

GetUsersWithResponse request returning *GetUsersResponse

func (*ClientWithResponses) PatchInvoicesByIdWithBodyWithResponse

func (c *ClientWithResponses) PatchInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PatchInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInvoicesByIdResponse, error)

PatchInvoicesByIdWithBodyWithResponse request with arbitrary body returning *PatchInvoicesByIdResponse

func (*ClientWithResponses) PatchInvoicesByIdWithResponse

func (c *ClientWithResponses) PatchInvoicesByIdWithResponse(ctx context.Context, id string, params *PatchInvoicesByIdParams, body PatchInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInvoicesByIdResponse, error)

func (*ClientWithResponses) PostBillingSchedulesByBillingScheduleIdArchiveWithResponse

func (c *ClientWithResponses) PostBillingSchedulesByBillingScheduleIdArchiveWithResponse(ctx context.Context, billingScheduleId string, params *PostBillingSchedulesByBillingScheduleIdArchiveParams, reqEditors ...RequestEditorFn) (*PostBillingSchedulesByBillingScheduleIdArchiveResponse, error)

PostBillingSchedulesByBillingScheduleIdArchiveWithResponse request returning *PostBillingSchedulesByBillingScheduleIdArchiveResponse

func (*ClientWithResponses) PostBillingSchedulesValidateTaxesWithBodyWithResponse

func (c *ClientWithResponses) PostBillingSchedulesValidateTaxesWithBodyWithResponse(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingSchedulesValidateTaxesResponse, error)

PostBillingSchedulesValidateTaxesWithBodyWithResponse request with arbitrary body returning *PostBillingSchedulesValidateTaxesResponse

func (*ClientWithResponses) PostBillingSchedulesWithBodyWithResponse

func (c *ClientWithResponses) PostBillingSchedulesWithBodyWithResponse(ctx context.Context, params *PostBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingSchedulesResponse, error)

PostBillingSchedulesWithBodyWithResponse request with arbitrary body returning *PostBillingSchedulesResponse

func (*ClientWithResponses) PostBillingSchedulesWithResponse

func (*ClientWithResponses) PostCreditNotesByCreditnoteLineItemGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostCreditNotesByCreditnoteLineItemGroupsWithBodyWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemGroupsResponse, error)

PostCreditNotesByCreditnoteLineItemGroupsWithBodyWithResponse request with arbitrary body returning *PostCreditNotesByCreditnoteLineItemGroupsResponse

func (*ClientWithResponses) PostCreditNotesByCreditnoteLineItemsWithBodyWithResponse

func (c *ClientWithResponses) PostCreditNotesByCreditnoteLineItemsWithBodyWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemsResponse, error)

PostCreditNotesByCreditnoteLineItemsWithBodyWithResponse request with arbitrary body returning *PostCreditNotesByCreditnoteLineItemsResponse

func (*ClientWithResponses) PostCreditNotesByIdFinalizeAndSendWithResponse

func (c *ClientWithResponses) PostCreditNotesByIdFinalizeAndSendWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdFinalizeAndSendResponse, error)

PostCreditNotesByIdFinalizeAndSendWithResponse request returning *PostCreditNotesByIdFinalizeAndSendResponse

func (*ClientWithResponses) PostCreditNotesByIdFinalizeWithResponse

func (c *ClientWithResponses) PostCreditNotesByIdFinalizeWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdFinalizeResponse, error)

PostCreditNotesByIdFinalizeWithResponse request returning *PostCreditNotesByIdFinalizeResponse

func (*ClientWithResponses) PostCreditNotesByIdSendWithResponse

func (c *ClientWithResponses) PostCreditNotesByIdSendWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdSendParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdSendResponse, error)

PostCreditNotesByIdSendWithResponse request returning *PostCreditNotesByIdSendResponse

func (*ClientWithResponses) PostCreditNotesByIdVoidWithResponse

func (c *ClientWithResponses) PostCreditNotesByIdVoidWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdVoidParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdVoidResponse, error)

PostCreditNotesByIdVoidWithResponse request returning *PostCreditNotesByIdVoidResponse

func (*ClientWithResponses) PostCreditNotesWithBodyWithResponse

func (c *ClientWithResponses) PostCreditNotesWithBodyWithResponse(ctx context.Context, params *PostCreditNotesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesResponse, error)

PostCreditNotesWithBodyWithResponse request with arbitrary body returning *PostCreditNotesResponse

func (*ClientWithResponses) PostCreditNotesWithResponse

func (c *ClientWithResponses) PostCreditNotesWithResponse(ctx context.Context, params *PostCreditNotesParams, body PostCreditNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditNotesResponse, error)

func (*ClientWithResponses) PostCreditsWithBodyWithResponse

func (c *ClientWithResponses) PostCreditsWithBodyWithResponse(ctx context.Context, params *PostCreditsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditsResponse, error)

PostCreditsWithBodyWithResponse request with arbitrary body returning *PostCreditsResponse

func (*ClientWithResponses) PostCreditsWithResponse

func (c *ClientWithResponses) PostCreditsWithResponse(ctx context.Context, params *PostCreditsParams, body PostCreditsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditsResponse, error)

func (*ClientWithResponses) PostCustomerAliasesWithBodyWithResponse

func (c *ClientWithResponses) PostCustomerAliasesWithBodyWithResponse(ctx context.Context, params *PostCustomerAliasesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerAliasesResponse, error)

PostCustomerAliasesWithBodyWithResponse request with arbitrary body returning *PostCustomerAliasesResponse

func (*ClientWithResponses) PostCustomerAliasesWithResponse

func (*ClientWithResponses) PostCustomerOrganizationsByIdMembersWithBodyWithResponse

func (c *ClientWithResponses) PostCustomerOrganizationsByIdMembersWithBodyWithResponse(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsByIdMembersResponse, error)

PostCustomerOrganizationsByIdMembersWithBodyWithResponse request with arbitrary body returning *PostCustomerOrganizationsByIdMembersResponse

func (*ClientWithResponses) PostCustomerOrganizationsWithBodyWithResponse

func (c *ClientWithResponses) PostCustomerOrganizationsWithBodyWithResponse(ctx context.Context, params *PostCustomerOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsResponse, error)

PostCustomerOrganizationsWithBodyWithResponse request with arbitrary body returning *PostCustomerOrganizationsResponse

func (*ClientWithResponses) PostCustomersByCustomerContactsByIdArchiveWithResponse

func (c *ClientWithResponses) PostCustomersByCustomerContactsByIdArchiveWithResponse(ctx context.Context, customer string, id string, params *PostCustomersByCustomerContactsByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostCustomersByCustomerContactsByIdArchiveResponse, error)

PostCustomersByCustomerContactsByIdArchiveWithResponse request returning *PostCustomersByCustomerContactsByIdArchiveResponse

func (*ClientWithResponses) PostCustomersByCustomerContactsWithBodyWithResponse

func (c *ClientWithResponses) PostCustomersByCustomerContactsWithBodyWithResponse(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomersByCustomerContactsResponse, error)

PostCustomersByCustomerContactsWithBodyWithResponse request with arbitrary body returning *PostCustomersByCustomerContactsResponse

func (*ClientWithResponses) PostCustomersByIdArchiveWithResponse

func (c *ClientWithResponses) PostCustomersByIdArchiveWithResponse(ctx context.Context, id string, params *PostCustomersByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostCustomersByIdArchiveResponse, error)

PostCustomersByIdArchiveWithResponse request returning *PostCustomersByIdArchiveResponse

func (*ClientWithResponses) PostCustomersWithBodyWithResponse

func (c *ClientWithResponses) PostCustomersWithBodyWithResponse(ctx context.Context, params *PostCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomersResponse, error)

PostCustomersWithBodyWithResponse request with arbitrary body returning *PostCustomersResponse

func (*ClientWithResponses) PostCustomersWithResponse

func (c *ClientWithResponses) PostCustomersWithResponse(ctx context.Context, params *PostCustomersParams, body PostCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomersResponse, error)

func (*ClientWithResponses) PostInvoicesByIdDraftWithResponse

func (c *ClientWithResponses) PostInvoicesByIdDraftWithResponse(ctx context.Context, id string, params *PostInvoicesByIdDraftParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdDraftResponse, error)

PostInvoicesByIdDraftWithResponse request returning *PostInvoicesByIdDraftResponse

func (*ClientWithResponses) PostInvoicesByIdFinalizeAndSendWithResponse

func (c *ClientWithResponses) PostInvoicesByIdFinalizeAndSendWithResponse(ctx context.Context, id string, params *PostInvoicesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdFinalizeAndSendResponse, error)

PostInvoicesByIdFinalizeAndSendWithResponse request returning *PostInvoicesByIdFinalizeAndSendResponse

func (*ClientWithResponses) PostInvoicesByIdFinalizeWithResponse

func (c *ClientWithResponses) PostInvoicesByIdFinalizeWithResponse(ctx context.Context, id string, params *PostInvoicesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdFinalizeResponse, error)

PostInvoicesByIdFinalizeWithResponse request returning *PostInvoicesByIdFinalizeResponse

func (*ClientWithResponses) PostInvoicesByIdSendPaymentReminderWithResponse

func (c *ClientWithResponses) PostInvoicesByIdSendPaymentReminderWithResponse(ctx context.Context, id string, params *PostInvoicesByIdSendPaymentReminderParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdSendPaymentReminderResponse, error)

PostInvoicesByIdSendPaymentReminderWithResponse request returning *PostInvoicesByIdSendPaymentReminderResponse

func (*ClientWithResponses) PostInvoicesByIdSendWithResponse

func (c *ClientWithResponses) PostInvoicesByIdSendWithResponse(ctx context.Context, id string, params *PostInvoicesByIdSendParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdSendResponse, error)

PostInvoicesByIdSendWithResponse request returning *PostInvoicesByIdSendResponse

func (*ClientWithResponses) PostInvoicesByIdVoidWithResponse

func (c *ClientWithResponses) PostInvoicesByIdVoidWithResponse(ctx context.Context, id string, params *PostInvoicesByIdVoidParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdVoidResponse, error)

PostInvoicesByIdVoidWithResponse request returning *PostInvoicesByIdVoidResponse

func (*ClientWithResponses) PostInvoicesByInvoiceLineItemGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostInvoicesByInvoiceLineItemGroupsWithBodyWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemGroupsResponse, error)

PostInvoicesByInvoiceLineItemGroupsWithBodyWithResponse request with arbitrary body returning *PostInvoicesByInvoiceLineItemGroupsResponse

func (*ClientWithResponses) PostInvoicesByInvoiceLineItemsWithBodyWithResponse

func (c *ClientWithResponses) PostInvoicesByInvoiceLineItemsWithBodyWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemsResponse, error)

PostInvoicesByInvoiceLineItemsWithBodyWithResponse request with arbitrary body returning *PostInvoicesByInvoiceLineItemsResponse

func (*ClientWithResponses) PostInvoicesWithBodyWithResponse

func (c *ClientWithResponses) PostInvoicesWithBodyWithResponse(ctx context.Context, params *PostInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesResponse, error)

PostInvoicesWithBodyWithResponse request with arbitrary body returning *PostInvoicesResponse

func (*ClientWithResponses) PostInvoicesWithResponse

func (c *ClientWithResponses) PostInvoicesWithResponse(ctx context.Context, params *PostInvoicesParams, body PostInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvoicesResponse, error)

func (*ClientWithResponses) PostListPricesByIdArchiveWithResponse

func (c *ClientWithResponses) PostListPricesByIdArchiveWithResponse(ctx context.Context, id string, params *PostListPricesByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostListPricesByIdArchiveResponse, error)

PostListPricesByIdArchiveWithResponse request returning *PostListPricesByIdArchiveResponse

func (*ClientWithResponses) PostListPricesWithBodyWithResponse

func (c *ClientWithResponses) PostListPricesWithBodyWithResponse(ctx context.Context, params *PostListPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostListPricesResponse, error)

PostListPricesWithBodyWithResponse request with arbitrary body returning *PostListPricesResponse

func (*ClientWithResponses) PostListPricesWithResponse

func (c *ClientWithResponses) PostListPricesWithResponse(ctx context.Context, params *PostListPricesParams, body PostListPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostListPricesResponse, error)

func (*ClientWithResponses) PostNotificationsPoliciesByIdNotificationTypesWithBodyWithResponse

func (c *ClientWithResponses) PostNotificationsPoliciesByIdNotificationTypesWithBodyWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdNotificationTypesResponse, error)

PostNotificationsPoliciesByIdNotificationTypesWithBodyWithResponse request with arbitrary body returning *PostNotificationsPoliciesByIdNotificationTypesResponse

func (*ClientWithResponses) PostNotificationsPoliciesByIdRecipientsWithBodyWithResponse

func (c *ClientWithResponses) PostNotificationsPoliciesByIdRecipientsWithBodyWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdRecipientsResponse, error)

PostNotificationsPoliciesByIdRecipientsWithBodyWithResponse request with arbitrary body returning *PostNotificationsPoliciesByIdRecipientsResponse

func (*ClientWithResponses) PostNotificationsPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PostNotificationsPoliciesWithBodyWithResponse(ctx context.Context, params *PostNotificationsPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesResponse, error)

PostNotificationsPoliciesWithBodyWithResponse request with arbitrary body returning *PostNotificationsPoliciesResponse

func (*ClientWithResponses) PostPaymentsSettingsBillingSchedulesWithBodyWithResponse

func (c *ClientWithResponses) PostPaymentsSettingsBillingSchedulesWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsBillingSchedulesResponse, error)

PostPaymentsSettingsBillingSchedulesWithBodyWithResponse request with arbitrary body returning *PostPaymentsSettingsBillingSchedulesResponse

func (*ClientWithResponses) PostPaymentsSettingsCustomersWithBodyWithResponse

func (c *ClientWithResponses) PostPaymentsSettingsCustomersWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsCustomersResponse, error)

PostPaymentsSettingsCustomersWithBodyWithResponse request with arbitrary body returning *PostPaymentsSettingsCustomersResponse

func (*ClientWithResponses) PostPaymentsSettingsInvoicesWithBodyWithResponse

func (c *ClientWithResponses) PostPaymentsSettingsInvoicesWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsInvoicesResponse, error)

PostPaymentsSettingsInvoicesWithBodyWithResponse request with arbitrary body returning *PostPaymentsSettingsInvoicesResponse

func (*ClientWithResponses) PostPricesWithBodyWithResponse

func (c *ClientWithResponses) PostPricesWithBodyWithResponse(ctx context.Context, params *PostPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPricesResponse, error)

PostPricesWithBodyWithResponse request with arbitrary body returning *PostPricesResponse

func (*ClientWithResponses) PostPricesWithResponse

func (c *ClientWithResponses) PostPricesWithResponse(ctx context.Context, params *PostPricesParams, body PostPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPricesResponse, error)

func (*ClientWithResponses) PostProductsByIdArchiveWithResponse

func (c *ClientWithResponses) PostProductsByIdArchiveWithResponse(ctx context.Context, id string, params *PostProductsByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostProductsByIdArchiveResponse, error)

PostProductsByIdArchiveWithResponse request returning *PostProductsByIdArchiveResponse

func (*ClientWithResponses) PostProductsWithBodyWithResponse

func (c *ClientWithResponses) PostProductsWithBodyWithResponse(ctx context.Context, params *PostProductsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProductsResponse, error)

PostProductsWithBodyWithResponse request with arbitrary body returning *PostProductsResponse

func (*ClientWithResponses) PostProductsWithResponse

func (c *ClientWithResponses) PostProductsWithResponse(ctx context.Context, params *PostProductsParams, body PostProductsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProductsResponse, error)

func (*ClientWithResponses) PostSeatEventsWithBodyWithResponse

func (c *ClientWithResponses) PostSeatEventsWithBodyWithResponse(ctx context.Context, params *PostSeatEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSeatEventsResponse, error)

PostSeatEventsWithBodyWithResponse request with arbitrary body returning *PostSeatEventsResponse

func (*ClientWithResponses) PostSeatEventsWithResponse

func (c *ClientWithResponses) PostSeatEventsWithResponse(ctx context.Context, params *PostSeatEventsParams, body PostSeatEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSeatEventsResponse, error)

func (*ClientWithResponses) PostSeatMetricsWithBodyWithResponse

func (c *ClientWithResponses) PostSeatMetricsWithBodyWithResponse(ctx context.Context, params *PostSeatMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSeatMetricsResponse, error)

PostSeatMetricsWithBodyWithResponse request with arbitrary body returning *PostSeatMetricsResponse

func (*ClientWithResponses) PostSeatMetricsWithResponse

func (c *ClientWithResponses) PostSeatMetricsWithResponse(ctx context.Context, params *PostSeatMetricsParams, body PostSeatMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSeatMetricsResponse, error)

func (*ClientWithResponses) PostTaxRatesByIdArchiveWithResponse

func (c *ClientWithResponses) PostTaxRatesByIdArchiveWithResponse(ctx context.Context, id string, params *PostTaxRatesByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostTaxRatesByIdArchiveResponse, error)

PostTaxRatesByIdArchiveWithResponse request returning *PostTaxRatesByIdArchiveResponse

func (*ClientWithResponses) PostTaxRatesWithBodyWithResponse

func (c *ClientWithResponses) PostTaxRatesWithBodyWithResponse(ctx context.Context, params *PostTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTaxRatesResponse, error)

PostTaxRatesWithBodyWithResponse request with arbitrary body returning *PostTaxRatesResponse

func (*ClientWithResponses) PostTaxRatesWithResponse

func (c *ClientWithResponses) PostTaxRatesWithResponse(ctx context.Context, params *PostTaxRatesParams, body PostTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTaxRatesResponse, error)

func (*ClientWithResponses) PostTaxRegistrationsWithBodyWithResponse

func (c *ClientWithResponses) PostTaxRegistrationsWithBodyWithResponse(ctx context.Context, params *PostTaxRegistrationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTaxRegistrationsResponse, error)

PostTaxRegistrationsWithBodyWithResponse request with arbitrary body returning *PostTaxRegistrationsResponse

func (*ClientWithResponses) PostTaxRegistrationsWithResponse

func (*ClientWithResponses) PostUsageEventsWithBodyWithResponse

func (c *ClientWithResponses) PostUsageEventsWithBodyWithResponse(ctx context.Context, params *PostUsageEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsageEventsResponse, error)

PostUsageEventsWithBodyWithResponse request with arbitrary body returning *PostUsageEventsResponse

func (*ClientWithResponses) PostUsageEventsWithResponse

func (c *ClientWithResponses) PostUsageEventsWithResponse(ctx context.Context, params *PostUsageEventsParams, body PostUsageEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsageEventsResponse, error)

func (*ClientWithResponses) PostUsageMetricsWithBodyWithResponse

func (c *ClientWithResponses) PostUsageMetricsWithBodyWithResponse(ctx context.Context, params *PostUsageMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsageMetricsResponse, error)

PostUsageMetricsWithBodyWithResponse request with arbitrary body returning *PostUsageMetricsResponse

func (*ClientWithResponses) PostUsageMetricsWithResponse

func (c *ClientWithResponses) PostUsageMetricsWithResponse(ctx context.Context, params *PostUsageMetricsParams, body PostUsageMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsageMetricsResponse, error)

func (*ClientWithResponses) PutBillingSchedulesByBillingScheduleIdActivateWithResponse

func (c *ClientWithResponses) PutBillingSchedulesByBillingScheduleIdActivateWithResponse(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdActivateParams, reqEditors ...RequestEditorFn) (*PutBillingSchedulesByBillingScheduleIdActivateResponse, error)

PutBillingSchedulesByBillingScheduleIdActivateWithResponse request returning *PutBillingSchedulesByBillingScheduleIdActivateResponse

func (*ClientWithResponses) PutBillingSchedulesByBillingScheduleIdWithBodyWithResponse

func (c *ClientWithResponses) PutBillingSchedulesByBillingScheduleIdWithBodyWithResponse(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBillingSchedulesByBillingScheduleIdResponse, error)

PutBillingSchedulesByBillingScheduleIdWithBodyWithResponse request with arbitrary body returning *PutBillingSchedulesByBillingScheduleIdResponse

func (*ClientWithResponses) PutCreditNotesByCreditnoteLineItemGroupsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCreditNotesByCreditnoteLineItemGroupsByIdWithBodyWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

PutCreditNotesByCreditnoteLineItemGroupsByIdWithBodyWithResponse request with arbitrary body returning *PutCreditNotesByCreditnoteLineItemGroupsByIdResponse

func (*ClientWithResponses) PutCreditNotesByCreditnoteLineItemsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCreditNotesByCreditnoteLineItemsByIdWithBodyWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemsByIdResponse, error)

PutCreditNotesByCreditnoteLineItemsByIdWithBodyWithResponse request with arbitrary body returning *PutCreditNotesByCreditnoteLineItemsByIdResponse

func (*ClientWithResponses) PutCreditNotesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCreditNotesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCreditNotesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByIdResponse, error)

PutCreditNotesByIdWithBodyWithResponse request with arbitrary body returning *PutCreditNotesByIdResponse

func (*ClientWithResponses) PutCreditNotesByIdWithResponse

func (*ClientWithResponses) PutCustomerAliasesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCustomerAliasesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomerAliasesByIdResponse, error)

PutCustomerAliasesByIdWithBodyWithResponse request with arbitrary body returning *PutCustomerAliasesByIdResponse

func (*ClientWithResponses) PutCustomerAliasesByIdWithResponse

func (*ClientWithResponses) PutCustomerOrganizationsByIdMembersWithBodyWithResponse

func (c *ClientWithResponses) PutCustomerOrganizationsByIdMembersWithBodyWithResponse(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomerOrganizationsByIdMembersResponse, error)

PutCustomerOrganizationsByIdMembersWithBodyWithResponse request with arbitrary body returning *PutCustomerOrganizationsByIdMembersResponse

func (*ClientWithResponses) PutCustomersByCustomerContactsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCustomersByCustomerContactsByIdWithBodyWithResponse(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomersByCustomerContactsByIdResponse, error)

PutCustomersByCustomerContactsByIdWithBodyWithResponse request with arbitrary body returning *PutCustomersByCustomerContactsByIdResponse

func (*ClientWithResponses) PutCustomersByIdWithBodyWithResponse

func (c *ClientWithResponses) PutCustomersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomersByIdResponse, error)

PutCustomersByIdWithBodyWithResponse request with arbitrary body returning *PutCustomersByIdResponse

func (*ClientWithResponses) PutCustomersByIdWithResponse

func (c *ClientWithResponses) PutCustomersByIdWithResponse(ctx context.Context, id string, params *PutCustomersByIdParams, body PutCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCustomersByIdResponse, error)

func (*ClientWithResponses) PutDiscountsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutDiscountsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutDiscountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDiscountsByIdResponse, error)

PutDiscountsByIdWithBodyWithResponse request with arbitrary body returning *PutDiscountsByIdResponse

func (*ClientWithResponses) PutDiscountsByIdWithResponse

func (c *ClientWithResponses) PutDiscountsByIdWithResponse(ctx context.Context, id string, params *PutDiscountsByIdParams, body PutDiscountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutDiscountsByIdResponse, error)

func (*ClientWithResponses) PutInvoicesByIdPaymentStatusWithBodyWithResponse

func (c *ClientWithResponses) PutInvoicesByIdPaymentStatusWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByIdPaymentStatusResponse, error)

PutInvoicesByIdPaymentStatusWithBodyWithResponse request with arbitrary body returning *PutInvoicesByIdPaymentStatusResponse

func (*ClientWithResponses) PutInvoicesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByIdResponse, error)

PutInvoicesByIdWithBodyWithResponse request with arbitrary body returning *PutInvoicesByIdResponse

func (*ClientWithResponses) PutInvoicesByIdWithResponse

func (c *ClientWithResponses) PutInvoicesByIdWithResponse(ctx context.Context, id string, params *PutInvoicesByIdParams, body PutInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesByIdResponse, error)

func (*ClientWithResponses) PutInvoicesByInvoiceLineItemGroupsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutInvoicesByInvoiceLineItemGroupsByIdWithBodyWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemGroupsByIdResponse, error)

PutInvoicesByInvoiceLineItemGroupsByIdWithBodyWithResponse request with arbitrary body returning *PutInvoicesByInvoiceLineItemGroupsByIdResponse

func (*ClientWithResponses) PutInvoicesByInvoiceLineItemsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutInvoicesByInvoiceLineItemsByIdWithBodyWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemsByIdResponse, error)

PutInvoicesByInvoiceLineItemsByIdWithBodyWithResponse request with arbitrary body returning *PutInvoicesByInvoiceLineItemsByIdResponse

func (*ClientWithResponses) PutInvoicesRenderSettingsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutInvoicesRenderSettingsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesRenderSettingsByIdResponse, error)

PutInvoicesRenderSettingsByIdWithBodyWithResponse request with arbitrary body returning *PutInvoicesRenderSettingsByIdResponse

func (*ClientWithResponses) PutListPricesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutListPricesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutListPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutListPricesByIdResponse, error)

PutListPricesByIdWithBodyWithResponse request with arbitrary body returning *PutListPricesByIdResponse

func (*ClientWithResponses) PutListPricesByIdWithResponse

func (c *ClientWithResponses) PutListPricesByIdWithResponse(ctx context.Context, id string, params *PutListPricesByIdParams, body PutListPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutListPricesByIdResponse, error)

func (*ClientWithResponses) PutPaymentsSettingsBillingSchedulesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutPaymentsSettingsBillingSchedulesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsBillingSchedulesByIdResponse, error)

PutPaymentsSettingsBillingSchedulesByIdWithBodyWithResponse request with arbitrary body returning *PutPaymentsSettingsBillingSchedulesByIdResponse

func (*ClientWithResponses) PutPaymentsSettingsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutPaymentsSettingsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsByIdResponse, error)

PutPaymentsSettingsByIdWithBodyWithResponse request with arbitrary body returning *PutPaymentsSettingsByIdResponse

func (*ClientWithResponses) PutPaymentsSettingsCustomersByIdWithBodyWithResponse

func (c *ClientWithResponses) PutPaymentsSettingsCustomersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsCustomersByIdResponse, error)

PutPaymentsSettingsCustomersByIdWithBodyWithResponse request with arbitrary body returning *PutPaymentsSettingsCustomersByIdResponse

func (*ClientWithResponses) PutPaymentsSettingsInvoicesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutPaymentsSettingsInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsInvoicesByIdResponse, error)

PutPaymentsSettingsInvoicesByIdWithBodyWithResponse request with arbitrary body returning *PutPaymentsSettingsInvoicesByIdResponse

func (*ClientWithResponses) PutPricesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutPricesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPricesByIdResponse, error)

PutPricesByIdWithBodyWithResponse request with arbitrary body returning *PutPricesByIdResponse

func (*ClientWithResponses) PutPricesByIdWithResponse

func (c *ClientWithResponses) PutPricesByIdWithResponse(ctx context.Context, id string, params *PutPricesByIdParams, body PutPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPricesByIdResponse, error)

func (*ClientWithResponses) PutProductsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutProductsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutProductsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutProductsByIdResponse, error)

PutProductsByIdWithBodyWithResponse request with arbitrary body returning *PutProductsByIdResponse

func (*ClientWithResponses) PutProductsByIdWithResponse

func (c *ClientWithResponses) PutProductsByIdWithResponse(ctx context.Context, id string, params *PutProductsByIdParams, body PutProductsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutProductsByIdResponse, error)

func (*ClientWithResponses) PutSeatMetricsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutSeatMetricsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutSeatMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSeatMetricsByIdResponse, error)

PutSeatMetricsByIdWithBodyWithResponse request with arbitrary body returning *PutSeatMetricsByIdResponse

func (*ClientWithResponses) PutSeatMetricsByIdWithResponse

func (*ClientWithResponses) PutSequenceAccountsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutSequenceAccountsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSequenceAccountsByIdResponse, error)

PutSequenceAccountsByIdWithBodyWithResponse request with arbitrary body returning *PutSequenceAccountsByIdResponse

func (*ClientWithResponses) PutTaxRatesByIdWithBodyWithResponse

func (c *ClientWithResponses) PutTaxRatesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutTaxRatesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTaxRatesByIdResponse, error)

PutTaxRatesByIdWithBodyWithResponse request with arbitrary body returning *PutTaxRatesByIdResponse

func (*ClientWithResponses) PutTaxRatesByIdWithResponse

func (c *ClientWithResponses) PutTaxRatesByIdWithResponse(ctx context.Context, id string, params *PutTaxRatesByIdParams, body PutTaxRatesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTaxRatesByIdResponse, error)

func (*ClientWithResponses) PutTaxRegistrationsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutTaxRegistrationsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTaxRegistrationsByIdResponse, error)

PutTaxRegistrationsByIdWithBodyWithResponse request with arbitrary body returning *PutTaxRegistrationsByIdResponse

func (*ClientWithResponses) PutUsageMetricsByIdWithBodyWithResponse

func (c *ClientWithResponses) PutUsageMetricsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutUsageMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsageMetricsByIdResponse, error)

PutUsageMetricsByIdWithBodyWithResponse request with arbitrary body returning *PutUsageMetricsByIdResponse

func (*ClientWithResponses) PutUsageMetricsByIdWithResponse

func (*ClientWithResponses) PutUsersByIdWithBodyWithResponse

func (c *ClientWithResponses) PutUsersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutUsersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsersByIdResponse, error)

PutUsersByIdWithBodyWithResponse request with arbitrary body returning *PutUsersByIdResponse

func (*ClientWithResponses) PutUsersByIdWithResponse

func (c *ClientWithResponses) PutUsersByIdWithResponse(ctx context.Context, id string, params *PutUsersByIdParams, body PutUsersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsersByIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetBillingProductsWithResponse request
	GetBillingProductsWithResponse(ctx context.Context, params *GetBillingProductsParams, reqEditors ...RequestEditorFn) (*GetBillingProductsResponse, error)

	// GetBillingSchedulesWithResponse request
	GetBillingSchedulesWithResponse(ctx context.Context, params *GetBillingSchedulesParams, reqEditors ...RequestEditorFn) (*GetBillingSchedulesResponse, error)

	// PostBillingSchedulesWithBodyWithResponse request with any body
	PostBillingSchedulesWithBodyWithResponse(ctx context.Context, params *PostBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingSchedulesResponse, error)

	PostBillingSchedulesWithResponse(ctx context.Context, params *PostBillingSchedulesParams, body PostBillingSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingSchedulesResponse, error)

	// PostBillingSchedulesValidateTaxesWithBodyWithResponse request with any body
	PostBillingSchedulesValidateTaxesWithBodyWithResponse(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingSchedulesValidateTaxesResponse, error)

	PostBillingSchedulesValidateTaxesWithResponse(ctx context.Context, params *PostBillingSchedulesValidateTaxesParams, body PostBillingSchedulesValidateTaxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingSchedulesValidateTaxesResponse, error)

	// GetBillingSchedulesByBillingScheduleIdWithResponse request
	GetBillingSchedulesByBillingScheduleIdWithResponse(ctx context.Context, billingScheduleId string, params *GetBillingSchedulesByBillingScheduleIdParams, reqEditors ...RequestEditorFn) (*GetBillingSchedulesByBillingScheduleIdResponse, error)

	// PutBillingSchedulesByBillingScheduleIdWithBodyWithResponse request with any body
	PutBillingSchedulesByBillingScheduleIdWithBodyWithResponse(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBillingSchedulesByBillingScheduleIdResponse, error)

	PutBillingSchedulesByBillingScheduleIdWithResponse(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdParams, body PutBillingSchedulesByBillingScheduleIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutBillingSchedulesByBillingScheduleIdResponse, error)

	// PutBillingSchedulesByBillingScheduleIdActivateWithResponse request
	PutBillingSchedulesByBillingScheduleIdActivateWithResponse(ctx context.Context, billingScheduleId string, params *PutBillingSchedulesByBillingScheduleIdActivateParams, reqEditors ...RequestEditorFn) (*PutBillingSchedulesByBillingScheduleIdActivateResponse, error)

	// PostBillingSchedulesByBillingScheduleIdArchiveWithResponse request
	PostBillingSchedulesByBillingScheduleIdArchiveWithResponse(ctx context.Context, billingScheduleId string, params *PostBillingSchedulesByBillingScheduleIdArchiveParams, reqEditors ...RequestEditorFn) (*PostBillingSchedulesByBillingScheduleIdArchiveResponse, error)

	// GetCreditNotesWithResponse request
	GetCreditNotesWithResponse(ctx context.Context, params *GetCreditNotesParams, reqEditors ...RequestEditorFn) (*GetCreditNotesResponse, error)

	// PostCreditNotesWithBodyWithResponse request with any body
	PostCreditNotesWithBodyWithResponse(ctx context.Context, params *PostCreditNotesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesResponse, error)

	PostCreditNotesWithResponse(ctx context.Context, params *PostCreditNotesParams, body PostCreditNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditNotesResponse, error)

	// GetCreditNotesByCreditnoteLineItemGroupsWithResponse request
	GetCreditNotesByCreditnoteLineItemGroupsWithResponse(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemGroupsParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByCreditnoteLineItemGroupsResponse, error)

	// PostCreditNotesByCreditnoteLineItemGroupsWithBodyWithResponse request with any body
	PostCreditNotesByCreditnoteLineItemGroupsWithBodyWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemGroupsResponse, error)

	PostCreditNotesByCreditnoteLineItemGroupsWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemGroupsParams, body PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemGroupsResponse, error)

	// DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse request
	DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

	// PutCreditNotesByCreditnoteLineItemGroupsByIdWithBodyWithResponse request with any body
	PutCreditNotesByCreditnoteLineItemGroupsByIdWithBodyWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

	PutCreditNotesByCreditnoteLineItemGroupsByIdWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemGroupsByIdParams, body PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

	// GetCreditNotesByCreditnoteLineItemsWithResponse request
	GetCreditNotesByCreditnoteLineItemsWithResponse(ctx context.Context, creditnote string, params *GetCreditNotesByCreditnoteLineItemsParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByCreditnoteLineItemsResponse, error)

	// PostCreditNotesByCreditnoteLineItemsWithBodyWithResponse request with any body
	PostCreditNotesByCreditnoteLineItemsWithBodyWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemsResponse, error)

	PostCreditNotesByCreditnoteLineItemsWithResponse(ctx context.Context, creditnote string, params *PostCreditNotesByCreditnoteLineItemsParams, body PostCreditNotesByCreditnoteLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditNotesByCreditnoteLineItemsResponse, error)

	// DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse request
	DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse(ctx context.Context, creditnote string, id string, params *DeleteCreditNotesByCreditnoteLineItemsByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByCreditnoteLineItemsByIdResponse, error)

	// PutCreditNotesByCreditnoteLineItemsByIdWithBodyWithResponse request with any body
	PutCreditNotesByCreditnoteLineItemsByIdWithBodyWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemsByIdResponse, error)

	PutCreditNotesByCreditnoteLineItemsByIdWithResponse(ctx context.Context, creditnote string, id string, params *PutCreditNotesByCreditnoteLineItemsByIdParams, body PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCreditNotesByCreditnoteLineItemsByIdResponse, error)

	// DeleteCreditNotesByIdWithResponse request
	DeleteCreditNotesByIdWithResponse(ctx context.Context, id string, params *DeleteCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*DeleteCreditNotesByIdResponse, error)

	// GetCreditNotesByIdWithResponse request
	GetCreditNotesByIdWithResponse(ctx context.Context, id string, params *GetCreditNotesByIdParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByIdResponse, error)

	// PutCreditNotesByIdWithBodyWithResponse request with any body
	PutCreditNotesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCreditNotesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCreditNotesByIdResponse, error)

	PutCreditNotesByIdWithResponse(ctx context.Context, id string, params *PutCreditNotesByIdParams, body PutCreditNotesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCreditNotesByIdResponse, error)

	// GetCreditNotesByIdDownloadWithResponse request
	GetCreditNotesByIdDownloadWithResponse(ctx context.Context, id string, params *GetCreditNotesByIdDownloadParams, reqEditors ...RequestEditorFn) (*GetCreditNotesByIdDownloadResponse, error)

	// PostCreditNotesByIdFinalizeWithResponse request
	PostCreditNotesByIdFinalizeWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdFinalizeResponse, error)

	// PostCreditNotesByIdFinalizeAndSendWithResponse request
	PostCreditNotesByIdFinalizeAndSendWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdFinalizeAndSendResponse, error)

	// PostCreditNotesByIdSendWithResponse request
	PostCreditNotesByIdSendWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdSendParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdSendResponse, error)

	// PostCreditNotesByIdVoidWithResponse request
	PostCreditNotesByIdVoidWithResponse(ctx context.Context, id string, params *PostCreditNotesByIdVoidParams, reqEditors ...RequestEditorFn) (*PostCreditNotesByIdVoidResponse, error)

	// GetCreditsWithResponse request
	GetCreditsWithResponse(ctx context.Context, params *GetCreditsParams, reqEditors ...RequestEditorFn) (*GetCreditsResponse, error)

	// PostCreditsWithBodyWithResponse request with any body
	PostCreditsWithBodyWithResponse(ctx context.Context, params *PostCreditsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreditsResponse, error)

	PostCreditsWithResponse(ctx context.Context, params *PostCreditsParams, body PostCreditsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreditsResponse, error)

	// GetCreditsByCustomerIdBalancesWithResponse request
	GetCreditsByCustomerIdBalancesWithResponse(ctx context.Context, customerId string, params *GetCreditsByCustomerIdBalancesParams, reqEditors ...RequestEditorFn) (*GetCreditsByCustomerIdBalancesResponse, error)

	// GetCreditsByCustomerIdGrantsWithResponse request
	GetCreditsByCustomerIdGrantsWithResponse(ctx context.Context, customerId string, params *GetCreditsByCustomerIdGrantsParams, reqEditors ...RequestEditorFn) (*GetCreditsByCustomerIdGrantsResponse, error)

	// GetCreditsByIdWithResponse request
	GetCreditsByIdWithResponse(ctx context.Context, id string, params *GetCreditsByIdParams, reqEditors ...RequestEditorFn) (*GetCreditsByIdResponse, error)

	// GetCustomerAliasesWithResponse request
	GetCustomerAliasesWithResponse(ctx context.Context, params *GetCustomerAliasesParams, reqEditors ...RequestEditorFn) (*GetCustomerAliasesResponse, error)

	// PostCustomerAliasesWithBodyWithResponse request with any body
	PostCustomerAliasesWithBodyWithResponse(ctx context.Context, params *PostCustomerAliasesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerAliasesResponse, error)

	PostCustomerAliasesWithResponse(ctx context.Context, params *PostCustomerAliasesParams, body PostCustomerAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomerAliasesResponse, error)

	// DeleteCustomerAliasesByIdWithResponse request
	DeleteCustomerAliasesByIdWithResponse(ctx context.Context, id string, params *DeleteCustomerAliasesByIdParams, reqEditors ...RequestEditorFn) (*DeleteCustomerAliasesByIdResponse, error)

	// PutCustomerAliasesByIdWithBodyWithResponse request with any body
	PutCustomerAliasesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomerAliasesByIdResponse, error)

	PutCustomerAliasesByIdWithResponse(ctx context.Context, id string, params *PutCustomerAliasesByIdParams, body PutCustomerAliasesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCustomerAliasesByIdResponse, error)

	// PostCustomerOrganizationsWithBodyWithResponse request with any body
	PostCustomerOrganizationsWithBodyWithResponse(ctx context.Context, params *PostCustomerOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsResponse, error)

	PostCustomerOrganizationsWithResponse(ctx context.Context, params *PostCustomerOrganizationsParams, body PostCustomerOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsResponse, error)

	// PostCustomerOrganizationsByIdMembersWithBodyWithResponse request with any body
	PostCustomerOrganizationsByIdMembersWithBodyWithResponse(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsByIdMembersResponse, error)

	PostCustomerOrganizationsByIdMembersWithResponse(ctx context.Context, id string, params *PostCustomerOrganizationsByIdMembersParams, body PostCustomerOrganizationsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomerOrganizationsByIdMembersResponse, error)

	// PutCustomerOrganizationsByIdMembersWithBodyWithResponse request with any body
	PutCustomerOrganizationsByIdMembersWithBodyWithResponse(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomerOrganizationsByIdMembersResponse, error)

	PutCustomerOrganizationsByIdMembersWithResponse(ctx context.Context, id string, params *PutCustomerOrganizationsByIdMembersParams, body PutCustomerOrganizationsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCustomerOrganizationsByIdMembersResponse, error)

	// GetCustomersWithResponse request
	GetCustomersWithResponse(ctx context.Context, params *GetCustomersParams, reqEditors ...RequestEditorFn) (*GetCustomersResponse, error)

	// PostCustomersWithBodyWithResponse request with any body
	PostCustomersWithBodyWithResponse(ctx context.Context, params *PostCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomersResponse, error)

	PostCustomersWithResponse(ctx context.Context, params *PostCustomersParams, body PostCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomersResponse, error)

	// GetCustomersByAliasByAliasWithResponse request
	GetCustomersByAliasByAliasWithResponse(ctx context.Context, alias string, params *GetCustomersByAliasByAliasParams, reqEditors ...RequestEditorFn) (*GetCustomersByAliasByAliasResponse, error)

	// GetCustomersByCustomerContactsWithResponse request
	GetCustomersByCustomerContactsWithResponse(ctx context.Context, customer string, params *GetCustomersByCustomerContactsParams, reqEditors ...RequestEditorFn) (*GetCustomersByCustomerContactsResponse, error)

	// PostCustomersByCustomerContactsWithBodyWithResponse request with any body
	PostCustomersByCustomerContactsWithBodyWithResponse(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomersByCustomerContactsResponse, error)

	PostCustomersByCustomerContactsWithResponse(ctx context.Context, customer string, params *PostCustomersByCustomerContactsParams, body PostCustomersByCustomerContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomersByCustomerContactsResponse, error)

	// PutCustomersByCustomerContactsByIdWithBodyWithResponse request with any body
	PutCustomersByCustomerContactsByIdWithBodyWithResponse(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomersByCustomerContactsByIdResponse, error)

	PutCustomersByCustomerContactsByIdWithResponse(ctx context.Context, customer string, id string, params *PutCustomersByCustomerContactsByIdParams, body PutCustomersByCustomerContactsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCustomersByCustomerContactsByIdResponse, error)

	// PostCustomersByCustomerContactsByIdArchiveWithResponse request
	PostCustomersByCustomerContactsByIdArchiveWithResponse(ctx context.Context, customer string, id string, params *PostCustomersByCustomerContactsByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostCustomersByCustomerContactsByIdArchiveResponse, error)

	// GetCustomersByIdWithResponse request
	GetCustomersByIdWithResponse(ctx context.Context, id string, params *GetCustomersByIdParams, reqEditors ...RequestEditorFn) (*GetCustomersByIdResponse, error)

	// PutCustomersByIdWithBodyWithResponse request with any body
	PutCustomersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutCustomersByIdResponse, error)

	PutCustomersByIdWithResponse(ctx context.Context, id string, params *PutCustomersByIdParams, body PutCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutCustomersByIdResponse, error)

	// GetCustomersByIdAliasesWithResponse request
	GetCustomersByIdAliasesWithResponse(ctx context.Context, id string, params *GetCustomersByIdAliasesParams, reqEditors ...RequestEditorFn) (*GetCustomersByIdAliasesResponse, error)

	// PostCustomersByIdArchiveWithResponse request
	PostCustomersByIdArchiveWithResponse(ctx context.Context, id string, params *PostCustomersByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostCustomersByIdArchiveResponse, error)

	// GetDiscountsWithResponse request
	GetDiscountsWithResponse(ctx context.Context, params *GetDiscountsParams, reqEditors ...RequestEditorFn) (*GetDiscountsResponse, error)

	// DeleteDiscountsByIdWithResponse request
	DeleteDiscountsByIdWithResponse(ctx context.Context, id string, params *DeleteDiscountsByIdParams, reqEditors ...RequestEditorFn) (*DeleteDiscountsByIdResponse, error)

	// GetDiscountsByIdWithResponse request
	GetDiscountsByIdWithResponse(ctx context.Context, id string, params *GetDiscountsByIdParams, reqEditors ...RequestEditorFn) (*GetDiscountsByIdResponse, error)

	// PutDiscountsByIdWithBodyWithResponse request with any body
	PutDiscountsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutDiscountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDiscountsByIdResponse, error)

	PutDiscountsByIdWithResponse(ctx context.Context, id string, params *PutDiscountsByIdParams, body PutDiscountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutDiscountsByIdResponse, error)

	// GetInvoicesWithResponse request
	GetInvoicesWithResponse(ctx context.Context, params *GetInvoicesParams, reqEditors ...RequestEditorFn) (*GetInvoicesResponse, error)

	// PostInvoicesWithBodyWithResponse request with any body
	PostInvoicesWithBodyWithResponse(ctx context.Context, params *PostInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesResponse, error)

	PostInvoicesWithResponse(ctx context.Context, params *PostInvoicesParams, body PostInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvoicesResponse, error)

	// GetInvoicesRenderSettingsWithResponse request
	GetInvoicesRenderSettingsWithResponse(ctx context.Context, params *GetInvoicesRenderSettingsParams, reqEditors ...RequestEditorFn) (*GetInvoicesRenderSettingsResponse, error)

	// PutInvoicesRenderSettingsByIdWithBodyWithResponse request with any body
	PutInvoicesRenderSettingsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesRenderSettingsByIdResponse, error)

	PutInvoicesRenderSettingsByIdWithResponse(ctx context.Context, id string, params *PutInvoicesRenderSettingsByIdParams, body PutInvoicesRenderSettingsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesRenderSettingsByIdResponse, error)

	// DeleteInvoicesByIdWithResponse request
	DeleteInvoicesByIdWithResponse(ctx context.Context, id string, params *DeleteInvoicesByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByIdResponse, error)

	// GetInvoicesByIdWithResponse request
	GetInvoicesByIdWithResponse(ctx context.Context, id string, params *GetInvoicesByIdParams, reqEditors ...RequestEditorFn) (*GetInvoicesByIdResponse, error)

	// PatchInvoicesByIdWithBodyWithResponse request with any body
	PatchInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PatchInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInvoicesByIdResponse, error)

	PatchInvoicesByIdWithResponse(ctx context.Context, id string, params *PatchInvoicesByIdParams, body PatchInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInvoicesByIdResponse, error)

	// PutInvoicesByIdWithBodyWithResponse request with any body
	PutInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByIdResponse, error)

	PutInvoicesByIdWithResponse(ctx context.Context, id string, params *PutInvoicesByIdParams, body PutInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesByIdResponse, error)

	// GetInvoicesByIdDownloadWithResponse request
	GetInvoicesByIdDownloadWithResponse(ctx context.Context, id string, params *GetInvoicesByIdDownloadParams, reqEditors ...RequestEditorFn) (*GetInvoicesByIdDownloadResponse, error)

	// PostInvoicesByIdDraftWithResponse request
	PostInvoicesByIdDraftWithResponse(ctx context.Context, id string, params *PostInvoicesByIdDraftParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdDraftResponse, error)

	// PostInvoicesByIdFinalizeWithResponse request
	PostInvoicesByIdFinalizeWithResponse(ctx context.Context, id string, params *PostInvoicesByIdFinalizeParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdFinalizeResponse, error)

	// PostInvoicesByIdFinalizeAndSendWithResponse request
	PostInvoicesByIdFinalizeAndSendWithResponse(ctx context.Context, id string, params *PostInvoicesByIdFinalizeAndSendParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdFinalizeAndSendResponse, error)

	// PutInvoicesByIdPaymentStatusWithBodyWithResponse request with any body
	PutInvoicesByIdPaymentStatusWithBodyWithResponse(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByIdPaymentStatusResponse, error)

	PutInvoicesByIdPaymentStatusWithResponse(ctx context.Context, id string, params *PutInvoicesByIdPaymentStatusParams, body PutInvoicesByIdPaymentStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesByIdPaymentStatusResponse, error)

	// PostInvoicesByIdSendWithResponse request
	PostInvoicesByIdSendWithResponse(ctx context.Context, id string, params *PostInvoicesByIdSendParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdSendResponse, error)

	// PostInvoicesByIdSendPaymentReminderWithResponse request
	PostInvoicesByIdSendPaymentReminderWithResponse(ctx context.Context, id string, params *PostInvoicesByIdSendPaymentReminderParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdSendPaymentReminderResponse, error)

	// PostInvoicesByIdVoidWithResponse request
	PostInvoicesByIdVoidWithResponse(ctx context.Context, id string, params *PostInvoicesByIdVoidParams, reqEditors ...RequestEditorFn) (*PostInvoicesByIdVoidResponse, error)

	// GetInvoicesByInvoiceLineItemGroupsWithResponse request
	GetInvoicesByInvoiceLineItemGroupsWithResponse(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemGroupsParams, reqEditors ...RequestEditorFn) (*GetInvoicesByInvoiceLineItemGroupsResponse, error)

	// PostInvoicesByInvoiceLineItemGroupsWithBodyWithResponse request with any body
	PostInvoicesByInvoiceLineItemGroupsWithBodyWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemGroupsResponse, error)

	PostInvoicesByInvoiceLineItemGroupsWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemGroupsParams, body PostInvoicesByInvoiceLineItemGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemGroupsResponse, error)

	// DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse request
	DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemGroupsByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByInvoiceLineItemGroupsByIdResponse, error)

	// PutInvoicesByInvoiceLineItemGroupsByIdWithBodyWithResponse request with any body
	PutInvoicesByInvoiceLineItemGroupsByIdWithBodyWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemGroupsByIdResponse, error)

	PutInvoicesByInvoiceLineItemGroupsByIdWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemGroupsByIdParams, body PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemGroupsByIdResponse, error)

	// GetInvoicesByInvoiceLineItemsWithResponse request
	GetInvoicesByInvoiceLineItemsWithResponse(ctx context.Context, invoice string, params *GetInvoicesByInvoiceLineItemsParams, reqEditors ...RequestEditorFn) (*GetInvoicesByInvoiceLineItemsResponse, error)

	// PostInvoicesByInvoiceLineItemsWithBodyWithResponse request with any body
	PostInvoicesByInvoiceLineItemsWithBodyWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemsResponse, error)

	PostInvoicesByInvoiceLineItemsWithResponse(ctx context.Context, invoice string, params *PostInvoicesByInvoiceLineItemsParams, body PostInvoicesByInvoiceLineItemsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvoicesByInvoiceLineItemsResponse, error)

	// DeleteInvoicesByInvoiceLineItemsByIdWithResponse request
	DeleteInvoicesByInvoiceLineItemsByIdWithResponse(ctx context.Context, invoice string, id string, params *DeleteInvoicesByInvoiceLineItemsByIdParams, reqEditors ...RequestEditorFn) (*DeleteInvoicesByInvoiceLineItemsByIdResponse, error)

	// PutInvoicesByInvoiceLineItemsByIdWithBodyWithResponse request with any body
	PutInvoicesByInvoiceLineItemsByIdWithBodyWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemsByIdResponse, error)

	PutInvoicesByInvoiceLineItemsByIdWithResponse(ctx context.Context, invoice string, id string, params *PutInvoicesByInvoiceLineItemsByIdParams, body PutInvoicesByInvoiceLineItemsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutInvoicesByInvoiceLineItemsByIdResponse, error)

	// GetListPricesWithResponse request
	GetListPricesWithResponse(ctx context.Context, params *GetListPricesParams, reqEditors ...RequestEditorFn) (*GetListPricesResponse, error)

	// PostListPricesWithBodyWithResponse request with any body
	PostListPricesWithBodyWithResponse(ctx context.Context, params *PostListPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostListPricesResponse, error)

	PostListPricesWithResponse(ctx context.Context, params *PostListPricesParams, body PostListPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostListPricesResponse, error)

	// GetListPricesByIdWithResponse request
	GetListPricesByIdWithResponse(ctx context.Context, id string, params *GetListPricesByIdParams, reqEditors ...RequestEditorFn) (*GetListPricesByIdResponse, error)

	// PutListPricesByIdWithBodyWithResponse request with any body
	PutListPricesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutListPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutListPricesByIdResponse, error)

	PutListPricesByIdWithResponse(ctx context.Context, id string, params *PutListPricesByIdParams, body PutListPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutListPricesByIdResponse, error)

	// PostListPricesByIdArchiveWithResponse request
	PostListPricesByIdArchiveWithResponse(ctx context.Context, id string, params *PostListPricesByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostListPricesByIdArchiveResponse, error)

	// GetNotificationsPoliciesWithResponse request
	GetNotificationsPoliciesWithResponse(ctx context.Context, params *GetNotificationsPoliciesParams, reqEditors ...RequestEditorFn) (*GetNotificationsPoliciesResponse, error)

	// PostNotificationsPoliciesWithBodyWithResponse request with any body
	PostNotificationsPoliciesWithBodyWithResponse(ctx context.Context, params *PostNotificationsPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesResponse, error)

	PostNotificationsPoliciesWithResponse(ctx context.Context, params *PostNotificationsPoliciesParams, body PostNotificationsPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesResponse, error)

	// DeleteNotificationsPoliciesByIdWithResponse request
	DeleteNotificationsPoliciesByIdWithResponse(ctx context.Context, id string, params *DeleteNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*DeleteNotificationsPoliciesByIdResponse, error)

	// GetNotificationsPoliciesByIdWithResponse request
	GetNotificationsPoliciesByIdWithResponse(ctx context.Context, id string, params *GetNotificationsPoliciesByIdParams, reqEditors ...RequestEditorFn) (*GetNotificationsPoliciesByIdResponse, error)

	// PostNotificationsPoliciesByIdNotificationTypesWithBodyWithResponse request with any body
	PostNotificationsPoliciesByIdNotificationTypesWithBodyWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdNotificationTypesResponse, error)

	PostNotificationsPoliciesByIdNotificationTypesWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdNotificationTypesParams, body PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdNotificationTypesResponse, error)

	// DeleteNotificationsPoliciesByIdNotificationTypesByTypeWithResponse request
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeWithResponse(ctx context.Context, id string, pType DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType, params *DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams, reqEditors ...RequestEditorFn) (*DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse, error)

	// PostNotificationsPoliciesByIdRecipientsWithBodyWithResponse request with any body
	PostNotificationsPoliciesByIdRecipientsWithBodyWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdRecipientsResponse, error)

	PostNotificationsPoliciesByIdRecipientsWithResponse(ctx context.Context, id string, params *PostNotificationsPoliciesByIdRecipientsParams, body PostNotificationsPoliciesByIdRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNotificationsPoliciesByIdRecipientsResponse, error)

	// DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse request
	DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse(ctx context.Context, id string, recipient string, params *DeleteNotificationsPoliciesByIdRecipientsByRecipientParams, reqEditors ...RequestEditorFn) (*DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse, error)

	// GetPaymentsSettingsWithResponse request
	GetPaymentsSettingsWithResponse(ctx context.Context, params *GetPaymentsSettingsParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsResponse, error)

	// PostPaymentsSettingsBillingSchedulesWithBodyWithResponse request with any body
	PostPaymentsSettingsBillingSchedulesWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsBillingSchedulesResponse, error)

	PostPaymentsSettingsBillingSchedulesWithResponse(ctx context.Context, params *PostPaymentsSettingsBillingSchedulesParams, body PostPaymentsSettingsBillingSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsBillingSchedulesResponse, error)

	// GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse request
	GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse, error)

	// DeletePaymentsSettingsBillingSchedulesByIdWithResponse request
	DeletePaymentsSettingsBillingSchedulesByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsBillingSchedulesByIdResponse, error)

	// GetPaymentsSettingsBillingSchedulesByIdWithResponse request
	GetPaymentsSettingsBillingSchedulesByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsBillingSchedulesByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsBillingSchedulesByIdResponse, error)

	// PutPaymentsSettingsBillingSchedulesByIdWithBodyWithResponse request with any body
	PutPaymentsSettingsBillingSchedulesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsBillingSchedulesByIdResponse, error)

	PutPaymentsSettingsBillingSchedulesByIdWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsBillingSchedulesByIdParams, body PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsBillingSchedulesByIdResponse, error)

	// PostPaymentsSettingsCustomersWithBodyWithResponse request with any body
	PostPaymentsSettingsCustomersWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsCustomersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsCustomersResponse, error)

	PostPaymentsSettingsCustomersWithResponse(ctx context.Context, params *PostPaymentsSettingsCustomersParams, body PostPaymentsSettingsCustomersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsCustomersResponse, error)

	// DeletePaymentsSettingsCustomersByIdWithResponse request
	DeletePaymentsSettingsCustomersByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsCustomersByIdResponse, error)

	// GetPaymentsSettingsCustomersByIdWithResponse request
	GetPaymentsSettingsCustomersByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsCustomersByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsCustomersByIdResponse, error)

	// PutPaymentsSettingsCustomersByIdWithBodyWithResponse request with any body
	PutPaymentsSettingsCustomersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsCustomersByIdResponse, error)

	PutPaymentsSettingsCustomersByIdWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsCustomersByIdParams, body PutPaymentsSettingsCustomersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsCustomersByIdResponse, error)

	// PostPaymentsSettingsInvoicesWithBodyWithResponse request with any body
	PostPaymentsSettingsInvoicesWithBodyWithResponse(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsInvoicesResponse, error)

	PostPaymentsSettingsInvoicesWithResponse(ctx context.Context, params *PostPaymentsSettingsInvoicesParams, body PostPaymentsSettingsInvoicesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPaymentsSettingsInvoicesResponse, error)

	// GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse request
	GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesForInvoiceByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsInvoicesForInvoiceByIdResponse, error)

	// DeletePaymentsSettingsInvoicesByIdWithResponse request
	DeletePaymentsSettingsInvoicesByIdWithResponse(ctx context.Context, id string, params *DeletePaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*DeletePaymentsSettingsInvoicesByIdResponse, error)

	// GetPaymentsSettingsInvoicesByIdWithResponse request
	GetPaymentsSettingsInvoicesByIdWithResponse(ctx context.Context, id string, params *GetPaymentsSettingsInvoicesByIdParams, reqEditors ...RequestEditorFn) (*GetPaymentsSettingsInvoicesByIdResponse, error)

	// PutPaymentsSettingsInvoicesByIdWithBodyWithResponse request with any body
	PutPaymentsSettingsInvoicesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsInvoicesByIdResponse, error)

	PutPaymentsSettingsInvoicesByIdWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsInvoicesByIdParams, body PutPaymentsSettingsInvoicesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsInvoicesByIdResponse, error)

	// PutPaymentsSettingsByIdWithBodyWithResponse request with any body
	PutPaymentsSettingsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsByIdResponse, error)

	PutPaymentsSettingsByIdWithResponse(ctx context.Context, id string, params *PutPaymentsSettingsByIdParams, body PutPaymentsSettingsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPaymentsSettingsByIdResponse, error)

	// GetPricesWithResponse request
	GetPricesWithResponse(ctx context.Context, params *GetPricesParams, reqEditors ...RequestEditorFn) (*GetPricesResponse, error)

	// PostPricesWithBodyWithResponse request with any body
	PostPricesWithBodyWithResponse(ctx context.Context, params *PostPricesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPricesResponse, error)

	PostPricesWithResponse(ctx context.Context, params *PostPricesParams, body PostPricesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPricesResponse, error)

	// DeletePricesByIdWithResponse request
	DeletePricesByIdWithResponse(ctx context.Context, id string, params *DeletePricesByIdParams, reqEditors ...RequestEditorFn) (*DeletePricesByIdResponse, error)

	// GetPricesByIdWithResponse request
	GetPricesByIdWithResponse(ctx context.Context, id string, params *GetPricesByIdParams, reqEditors ...RequestEditorFn) (*GetPricesByIdResponse, error)

	// PutPricesByIdWithBodyWithResponse request with any body
	PutPricesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutPricesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPricesByIdResponse, error)

	PutPricesByIdWithResponse(ctx context.Context, id string, params *PutPricesByIdParams, body PutPricesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPricesByIdResponse, error)

	// GetProductsWithResponse request
	GetProductsWithResponse(ctx context.Context, params *GetProductsParams, reqEditors ...RequestEditorFn) (*GetProductsResponse, error)

	// PostProductsWithBodyWithResponse request with any body
	PostProductsWithBodyWithResponse(ctx context.Context, params *PostProductsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProductsResponse, error)

	PostProductsWithResponse(ctx context.Context, params *PostProductsParams, body PostProductsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProductsResponse, error)

	// GetProductsByIdWithResponse request
	GetProductsByIdWithResponse(ctx context.Context, id string, params *GetProductsByIdParams, reqEditors ...RequestEditorFn) (*GetProductsByIdResponse, error)

	// PutProductsByIdWithBodyWithResponse request with any body
	PutProductsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutProductsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutProductsByIdResponse, error)

	PutProductsByIdWithResponse(ctx context.Context, id string, params *PutProductsByIdParams, body PutProductsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutProductsByIdResponse, error)

	// PostProductsByIdArchiveWithResponse request
	PostProductsByIdArchiveWithResponse(ctx context.Context, id string, params *PostProductsByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostProductsByIdArchiveResponse, error)

	// GetSeatBalancesWithResponse request
	GetSeatBalancesWithResponse(ctx context.Context, params *GetSeatBalancesParams, reqEditors ...RequestEditorFn) (*GetSeatBalancesResponse, error)

	// GetSeatEventsWithResponse request
	GetSeatEventsWithResponse(ctx context.Context, params *GetSeatEventsParams, reqEditors ...RequestEditorFn) (*GetSeatEventsResponse, error)

	// PostSeatEventsWithBodyWithResponse request with any body
	PostSeatEventsWithBodyWithResponse(ctx context.Context, params *PostSeatEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSeatEventsResponse, error)

	PostSeatEventsWithResponse(ctx context.Context, params *PostSeatEventsParams, body PostSeatEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSeatEventsResponse, error)

	// GetSeatEventsByIdWithResponse request
	GetSeatEventsByIdWithResponse(ctx context.Context, id string, params *GetSeatEventsByIdParams, reqEditors ...RequestEditorFn) (*GetSeatEventsByIdResponse, error)

	// GetSeatMetricsWithResponse request
	GetSeatMetricsWithResponse(ctx context.Context, params *GetSeatMetricsParams, reqEditors ...RequestEditorFn) (*GetSeatMetricsResponse, error)

	// PostSeatMetricsWithBodyWithResponse request with any body
	PostSeatMetricsWithBodyWithResponse(ctx context.Context, params *PostSeatMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSeatMetricsResponse, error)

	PostSeatMetricsWithResponse(ctx context.Context, params *PostSeatMetricsParams, body PostSeatMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSeatMetricsResponse, error)

	// DeleteSeatMetricsByIdWithResponse request
	DeleteSeatMetricsByIdWithResponse(ctx context.Context, id string, params *DeleteSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*DeleteSeatMetricsByIdResponse, error)

	// GetSeatMetricsByIdWithResponse request
	GetSeatMetricsByIdWithResponse(ctx context.Context, id string, params *GetSeatMetricsByIdParams, reqEditors ...RequestEditorFn) (*GetSeatMetricsByIdResponse, error)

	// PutSeatMetricsByIdWithBodyWithResponse request with any body
	PutSeatMetricsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutSeatMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSeatMetricsByIdResponse, error)

	PutSeatMetricsByIdWithResponse(ctx context.Context, id string, params *PutSeatMetricsByIdParams, body PutSeatMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSeatMetricsByIdResponse, error)

	// GetSequenceAccountsWithResponse request
	GetSequenceAccountsWithResponse(ctx context.Context, params *GetSequenceAccountsParams, reqEditors ...RequestEditorFn) (*GetSequenceAccountsResponse, error)

	// GetSequenceAccountsByIdWithResponse request
	GetSequenceAccountsByIdWithResponse(ctx context.Context, id string, params *GetSequenceAccountsByIdParams, reqEditors ...RequestEditorFn) (*GetSequenceAccountsByIdResponse, error)

	// PutSequenceAccountsByIdWithBodyWithResponse request with any body
	PutSequenceAccountsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSequenceAccountsByIdResponse, error)

	PutSequenceAccountsByIdWithResponse(ctx context.Context, id string, params *PutSequenceAccountsByIdParams, body PutSequenceAccountsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSequenceAccountsByIdResponse, error)

	// GetTaxRatesWithResponse request
	GetTaxRatesWithResponse(ctx context.Context, params *GetTaxRatesParams, reqEditors ...RequestEditorFn) (*GetTaxRatesResponse, error)

	// PostTaxRatesWithBodyWithResponse request with any body
	PostTaxRatesWithBodyWithResponse(ctx context.Context, params *PostTaxRatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTaxRatesResponse, error)

	PostTaxRatesWithResponse(ctx context.Context, params *PostTaxRatesParams, body PostTaxRatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTaxRatesResponse, error)

	// DeleteTaxRatesByIdWithResponse request
	DeleteTaxRatesByIdWithResponse(ctx context.Context, id string, params *DeleteTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*DeleteTaxRatesByIdResponse, error)

	// GetTaxRatesByIdWithResponse request
	GetTaxRatesByIdWithResponse(ctx context.Context, id string, params *GetTaxRatesByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRatesByIdResponse, error)

	// PutTaxRatesByIdWithBodyWithResponse request with any body
	PutTaxRatesByIdWithBodyWithResponse(ctx context.Context, id string, params *PutTaxRatesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTaxRatesByIdResponse, error)

	PutTaxRatesByIdWithResponse(ctx context.Context, id string, params *PutTaxRatesByIdParams, body PutTaxRatesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTaxRatesByIdResponse, error)

	// PostTaxRatesByIdArchiveWithResponse request
	PostTaxRatesByIdArchiveWithResponse(ctx context.Context, id string, params *PostTaxRatesByIdArchiveParams, reqEditors ...RequestEditorFn) (*PostTaxRatesByIdArchiveResponse, error)

	// GetTaxRegistrationsWithResponse request
	GetTaxRegistrationsWithResponse(ctx context.Context, params *GetTaxRegistrationsParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsResponse, error)

	// PostTaxRegistrationsWithBodyWithResponse request with any body
	PostTaxRegistrationsWithBodyWithResponse(ctx context.Context, params *PostTaxRegistrationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTaxRegistrationsResponse, error)

	PostTaxRegistrationsWithResponse(ctx context.Context, params *PostTaxRegistrationsParams, body PostTaxRegistrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTaxRegistrationsResponse, error)

	// GetTaxRegistrationsForCustomerByIdWithResponse request
	GetTaxRegistrationsForCustomerByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsForCustomerByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsForCustomerByIdResponse, error)

	// GetTaxRegistrationsForMerchantByIdWithResponse request
	GetTaxRegistrationsForMerchantByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsForMerchantByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsForMerchantByIdResponse, error)

	// DeleteTaxRegistrationsByIdWithResponse request
	DeleteTaxRegistrationsByIdWithResponse(ctx context.Context, id string, params *DeleteTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*DeleteTaxRegistrationsByIdResponse, error)

	// GetTaxRegistrationsByIdWithResponse request
	GetTaxRegistrationsByIdWithResponse(ctx context.Context, id string, params *GetTaxRegistrationsByIdParams, reqEditors ...RequestEditorFn) (*GetTaxRegistrationsByIdResponse, error)

	// PutTaxRegistrationsByIdWithBodyWithResponse request with any body
	PutTaxRegistrationsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTaxRegistrationsByIdResponse, error)

	PutTaxRegistrationsByIdWithResponse(ctx context.Context, id string, params *PutTaxRegistrationsByIdParams, body PutTaxRegistrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTaxRegistrationsByIdResponse, error)

	// GetUsageEventsWithResponse request
	GetUsageEventsWithResponse(ctx context.Context, params *GetUsageEventsParams, reqEditors ...RequestEditorFn) (*GetUsageEventsResponse, error)

	// PostUsageEventsWithBodyWithResponse request with any body
	PostUsageEventsWithBodyWithResponse(ctx context.Context, params *PostUsageEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsageEventsResponse, error)

	PostUsageEventsWithResponse(ctx context.Context, params *PostUsageEventsParams, body PostUsageEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsageEventsResponse, error)

	// GetUsageMetricsWithResponse request
	GetUsageMetricsWithResponse(ctx context.Context, params *GetUsageMetricsParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsResponse, error)

	// PostUsageMetricsWithBodyWithResponse request with any body
	PostUsageMetricsWithBodyWithResponse(ctx context.Context, params *PostUsageMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsageMetricsResponse, error)

	PostUsageMetricsWithResponse(ctx context.Context, params *PostUsageMetricsParams, body PostUsageMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsageMetricsResponse, error)

	// DeleteUsageMetricsByIdWithResponse request
	DeleteUsageMetricsByIdWithResponse(ctx context.Context, id string, params *DeleteUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*DeleteUsageMetricsByIdResponse, error)

	// GetUsageMetricsByIdWithResponse request
	GetUsageMetricsByIdWithResponse(ctx context.Context, id string, params *GetUsageMetricsByIdParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsByIdResponse, error)

	// PutUsageMetricsByIdWithBodyWithResponse request with any body
	PutUsageMetricsByIdWithBodyWithResponse(ctx context.Context, id string, params *PutUsageMetricsByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsageMetricsByIdResponse, error)

	PutUsageMetricsByIdWithResponse(ctx context.Context, id string, params *PutUsageMetricsByIdParams, body PutUsageMetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsageMetricsByIdResponse, error)

	// GetUsageMetricsByUsageMetricIdCalculateWithResponse request
	GetUsageMetricsByUsageMetricIdCalculateWithResponse(ctx context.Context, usageMetricId string, params *GetUsageMetricsByUsageMetricIdCalculateParams, reqEditors ...RequestEditorFn) (*GetUsageMetricsByUsageMetricIdCalculateResponse, error)

	// GetUsersWithResponse request
	GetUsersWithResponse(ctx context.Context, params *GetUsersParams, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

	// DeleteUsersByIdWithResponse request
	DeleteUsersByIdWithResponse(ctx context.Context, id string, params *DeleteUsersByIdParams, reqEditors ...RequestEditorFn) (*DeleteUsersByIdResponse, error)

	// GetUsersByIdWithResponse request
	GetUsersByIdWithResponse(ctx context.Context, id string, params *GetUsersByIdParams, reqEditors ...RequestEditorFn) (*GetUsersByIdResponse, error)

	// PutUsersByIdWithBodyWithResponse request with any body
	PutUsersByIdWithBodyWithResponse(ctx context.Context, id string, params *PutUsersByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUsersByIdResponse, error)

	PutUsersByIdWithResponse(ctx context.Context, id string, params *PutUsersByIdParams, body PutUsersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUsersByIdResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Contact

type Contact struct {
	// ArchivedAt Time of archive. Formatted as an ISO 8601 timestamp.
	ArchivedAt        *string                  `json:"archivedAt,omitempty"`
	BillingPreference ContactBillingPreference `json:"billingPreference"`

	// CreatedAt Time of creation. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// Email Email address of this contact
	Email string `json:"email"`

	// Id Unique ID
	Id string `json:"id"`

	// Name Full name of this contact
	Name string `json:"name"`

	// UpdatedAt Time of last update. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

Contact defines model for Contact.

type ContactBillingPreference

type ContactBillingPreference string

ContactBillingPreference defines model for ContactBillingPreference.

const (
	ContactBillingPreferenceNONE     ContactBillingPreference = "NONE"
	ContactBillingPreferencePRIMARY  ContactBillingPreference = "PRIMARY"
	ContactBillingPreferenceSTANDARD ContactBillingPreference = "STANDARD"
)

Defines values for ContactBillingPreference.

type ContactRequestModel

type ContactRequestModel struct {
	BillingPreference ContactBillingPreference `json:"billingPreference"`

	// Email Email address of this contact
	Email string `json:"email"`

	// Name Full name of this contact
	Name string `json:"name"`
}

ContactRequestModel defines model for ContactRequestModel.

type CountryCode

type CountryCode string

CountryCode defines model for CountryCode.

const (
	CountryCodeAD CountryCode = "AD"
	CountryCodeAE CountryCode = "AE"
	CountryCodeAF CountryCode = "AF"
	CountryCodeAG CountryCode = "AG"
	CountryCodeAI CountryCode = "AI"
	CountryCodeAL CountryCode = "AL"
	CountryCodeAM CountryCode = "AM"
	CountryCodeAO CountryCode = "AO"
	CountryCodeAQ CountryCode = "AQ"
	CountryCodeAR CountryCode = "AR"
	CountryCodeAS CountryCode = "AS"
	CountryCodeAT CountryCode = "AT"
	CountryCodeAU CountryCode = "AU"
	CountryCodeAW CountryCode = "AW"
	CountryCodeAX CountryCode = "AX"
	CountryCodeAZ CountryCode = "AZ"
	CountryCodeBA CountryCode = "BA"
	CountryCodeBB CountryCode = "BB"
	CountryCodeBD CountryCode = "BD"
	CountryCodeBE CountryCode = "BE"
	CountryCodeBF CountryCode = "BF"
	CountryCodeBG CountryCode = "BG"
	CountryCodeBH CountryCode = "BH"
	CountryCodeBI CountryCode = "BI"
	CountryCodeBJ CountryCode = "BJ"
	CountryCodeBL CountryCode = "BL"
	CountryCodeBM CountryCode = "BM"
	CountryCodeBN CountryCode = "BN"
	CountryCodeBO CountryCode = "BO"
	CountryCodeBQ CountryCode = "BQ"
	CountryCodeBR CountryCode = "BR"
	CountryCodeBS CountryCode = "BS"
	CountryCodeBT CountryCode = "BT"
	CountryCodeBV CountryCode = "BV"
	CountryCodeBW CountryCode = "BW"
	CountryCodeBY CountryCode = "BY"
	CountryCodeBZ CountryCode = "BZ"
	CountryCodeCA CountryCode = "CA"
	CountryCodeCC CountryCode = "CC"
	CountryCodeCD CountryCode = "CD"
	CountryCodeCF CountryCode = "CF"
	CountryCodeCG CountryCode = "CG"
	CountryCodeCH CountryCode = "CH"
	CountryCodeCI CountryCode = "CI"
	CountryCodeCK CountryCode = "CK"
	CountryCodeCL CountryCode = "CL"
	CountryCodeCM CountryCode = "CM"
	CountryCodeCN CountryCode = "CN"
	CountryCodeCO CountryCode = "CO"
	CountryCodeCR CountryCode = "CR"
	CountryCodeCU CountryCode = "CU"
	CountryCodeCV CountryCode = "CV"
	CountryCodeCW CountryCode = "CW"
	CountryCodeCX CountryCode = "CX"
	CountryCodeCY CountryCode = "CY"
	CountryCodeCZ CountryCode = "CZ"
	CountryCodeDE CountryCode = "DE"
	CountryCodeDJ CountryCode = "DJ"
	CountryCodeDK CountryCode = "DK"
	CountryCodeDM CountryCode = "DM"
	CountryCodeDO CountryCode = "DO"
	CountryCodeDZ CountryCode = "DZ"
	CountryCodeEC CountryCode = "EC"
	CountryCodeEE CountryCode = "EE"
	CountryCodeEG CountryCode = "EG"
	CountryCodeEH CountryCode = "EH"
	CountryCodeER CountryCode = "ER"
	CountryCodeES CountryCode = "ES"
	CountryCodeET CountryCode = "ET"
	CountryCodeFI CountryCode = "FI"
	CountryCodeFJ CountryCode = "FJ"
	CountryCodeFK CountryCode = "FK"
	CountryCodeFM CountryCode = "FM"
	CountryCodeFO CountryCode = "FO"
	CountryCodeFR CountryCode = "FR"
	CountryCodeGA CountryCode = "GA"
	CountryCodeGB CountryCode = "GB"
	CountryCodeGD CountryCode = "GD"
	CountryCodeGE CountryCode = "GE"
	CountryCodeGF CountryCode = "GF"
	CountryCodeGG CountryCode = "GG"
	CountryCodeGH CountryCode = "GH"
	CountryCodeGI CountryCode = "GI"
	CountryCodeGL CountryCode = "GL"
	CountryCodeGM CountryCode = "GM"
	CountryCodeGN CountryCode = "GN"
	CountryCodeGP CountryCode = "GP"
	CountryCodeGQ CountryCode = "GQ"
	CountryCodeGR CountryCode = "GR"
	CountryCodeGS CountryCode = "GS"
	CountryCodeGT CountryCode = "GT"
	CountryCodeGU CountryCode = "GU"
	CountryCodeGW CountryCode = "GW"
	CountryCodeGY CountryCode = "GY"
	CountryCodeHK CountryCode = "HK"
	CountryCodeHM CountryCode = "HM"
	CountryCodeHN CountryCode = "HN"
	CountryCodeHR CountryCode = "HR"
	CountryCodeHT CountryCode = "HT"
	CountryCodeHU CountryCode = "HU"
	CountryCodeID CountryCode = "ID"
	CountryCodeIE CountryCode = "IE"
	CountryCodeIL CountryCode = "IL"
	CountryCodeIM CountryCode = "IM"
	CountryCodeIN CountryCode = "IN"
	CountryCodeIO CountryCode = "IO"
	CountryCodeIQ CountryCode = "IQ"
	CountryCodeIR CountryCode = "IR"
	CountryCodeIS CountryCode = "IS"
	CountryCodeIT CountryCode = "IT"
	CountryCodeJE CountryCode = "JE"
	CountryCodeJM CountryCode = "JM"
	CountryCodeJO CountryCode = "JO"
	CountryCodeJP CountryCode = "JP"
	CountryCodeKE CountryCode = "KE"
	CountryCodeKG CountryCode = "KG"
	CountryCodeKH CountryCode = "KH"
	CountryCodeKI CountryCode = "KI"
	CountryCodeKM CountryCode = "KM"
	CountryCodeKN CountryCode = "KN"
	CountryCodeKP CountryCode = "KP"
	CountryCodeKR CountryCode = "KR"
	CountryCodeKW CountryCode = "KW"
	CountryCodeKY CountryCode = "KY"
	CountryCodeKZ CountryCode = "KZ"
	CountryCodeLA CountryCode = "LA"
	CountryCodeLB CountryCode = "LB"
	CountryCodeLC CountryCode = "LC"
	CountryCodeLI CountryCode = "LI"
	CountryCodeLK CountryCode = "LK"
	CountryCodeLR CountryCode = "LR"
	CountryCodeLS CountryCode = "LS"
	CountryCodeLT CountryCode = "LT"
	CountryCodeLU CountryCode = "LU"
	CountryCodeLV CountryCode = "LV"
	CountryCodeLY CountryCode = "LY"
	CountryCodeMA CountryCode = "MA"
	CountryCodeMC CountryCode = "MC"
	CountryCodeMD CountryCode = "MD"
	CountryCodeME CountryCode = "ME"
	CountryCodeMF CountryCode = "MF"
	CountryCodeMG CountryCode = "MG"
	CountryCodeMH CountryCode = "MH"
	CountryCodeMK CountryCode = "MK"
	CountryCodeML CountryCode = "ML"
	CountryCodeMM CountryCode = "MM"
	CountryCodeMN CountryCode = "MN"
	CountryCodeMO CountryCode = "MO"
	CountryCodeMP CountryCode = "MP"
	CountryCodeMQ CountryCode = "MQ"
	CountryCodeMR CountryCode = "MR"
	CountryCodeMS CountryCode = "MS"
	CountryCodeMT CountryCode = "MT"
	CountryCodeMU CountryCode = "MU"
	CountryCodeMV CountryCode = "MV"
	CountryCodeMW CountryCode = "MW"
	CountryCodeMX CountryCode = "MX"
	CountryCodeMY CountryCode = "MY"
	CountryCodeMZ CountryCode = "MZ"
	CountryCodeNA CountryCode = "NA"
	CountryCodeNC CountryCode = "NC"
	CountryCodeNE CountryCode = "NE"
	CountryCodeNF CountryCode = "NF"
	CountryCodeNG CountryCode = "NG"
	CountryCodeNI CountryCode = "NI"
	CountryCodeNL CountryCode = "NL"
	CountryCodeNO CountryCode = "NO"
	CountryCodeNP CountryCode = "NP"
	CountryCodeNR CountryCode = "NR"
	CountryCodeNU CountryCode = "NU"
	CountryCodeNZ CountryCode = "NZ"
	CountryCodeOM CountryCode = "OM"
	CountryCodePA CountryCode = "PA"
	CountryCodePE CountryCode = "PE"
	CountryCodePF CountryCode = "PF"
	CountryCodePG CountryCode = "PG"
	CountryCodePH CountryCode = "PH"
	CountryCodePK CountryCode = "PK"
	CountryCodePL CountryCode = "PL"
	CountryCodePM CountryCode = "PM"
	CountryCodePN CountryCode = "PN"
	CountryCodePR CountryCode = "PR"
	CountryCodePS CountryCode = "PS"
	CountryCodePT CountryCode = "PT"
	CountryCodePW CountryCode = "PW"
	CountryCodePY CountryCode = "PY"
	CountryCodeQA CountryCode = "QA"
	CountryCodeRE CountryCode = "RE"
	CountryCodeRO CountryCode = "RO"
	CountryCodeRS CountryCode = "RS"
	CountryCodeRU CountryCode = "RU"
	CountryCodeRW CountryCode = "RW"
	CountryCodeSA CountryCode = "SA"
	CountryCodeSB CountryCode = "SB"
	CountryCodeSC CountryCode = "SC"
	CountryCodeSD CountryCode = "SD"
	CountryCodeSE CountryCode = "SE"
	CountryCodeSG CountryCode = "SG"
	CountryCodeSH CountryCode = "SH"
	CountryCodeSI CountryCode = "SI"
	CountryCodeSJ CountryCode = "SJ"
	CountryCodeSK CountryCode = "SK"
	CountryCodeSL CountryCode = "SL"
	CountryCodeSM CountryCode = "SM"
	CountryCodeSN CountryCode = "SN"
	CountryCodeSO CountryCode = "SO"
	CountryCodeSR CountryCode = "SR"
	CountryCodeSS CountryCode = "SS"
	CountryCodeST CountryCode = "ST"
	CountryCodeSV CountryCode = "SV"
	CountryCodeSX CountryCode = "SX"
	CountryCodeSY CountryCode = "SY"
	CountryCodeSZ CountryCode = "SZ"
	CountryCodeTC CountryCode = "TC"
	CountryCodeTD CountryCode = "TD"
	CountryCodeTF CountryCode = "TF"
	CountryCodeTG CountryCode = "TG"
	CountryCodeTH CountryCode = "TH"
	CountryCodeTJ CountryCode = "TJ"
	CountryCodeTK CountryCode = "TK"
	CountryCodeTL CountryCode = "TL"
	CountryCodeTM CountryCode = "TM"
	CountryCodeTN CountryCode = "TN"
	CountryCodeTO CountryCode = "TO"
	CountryCodeTR CountryCode = "TR"
	CountryCodeTT CountryCode = "TT"
	CountryCodeTV CountryCode = "TV"
	CountryCodeTW CountryCode = "TW"
	CountryCodeTZ CountryCode = "TZ"
	CountryCodeUA CountryCode = "UA"
	CountryCodeUG CountryCode = "UG"
	CountryCodeUM CountryCode = "UM"
	CountryCodeUS CountryCode = "US"
	CountryCodeUY CountryCode = "UY"
	CountryCodeUZ CountryCode = "UZ"
	CountryCodeVA CountryCode = "VA"
	CountryCodeVC CountryCode = "VC"
	CountryCodeVE CountryCode = "VE"
	CountryCodeVG CountryCode = "VG"
	CountryCodeVI CountryCode = "VI"
	CountryCodeVN CountryCode = "VN"
	CountryCodeVU CountryCode = "VU"
	CountryCodeWF CountryCode = "WF"
	CountryCodeWS CountryCode = "WS"
	CountryCodeXK CountryCode = "XK"
	CountryCodeYE CountryCode = "YE"
	CountryCodeYT CountryCode = "YT"
	CountryCodeZA CountryCode = "ZA"
	CountryCodeZM CountryCode = "ZM"
	CountryCodeZW CountryCode = "ZW"
)

Defines values for CountryCode.

type CountryCode1

type CountryCode1 string

CountryCode1 defines model for CountryCode1.

const (
	CountryCode1AD CountryCode1 = "AD"
	CountryCode1AE CountryCode1 = "AE"
	CountryCode1AF CountryCode1 = "AF"
	CountryCode1AG CountryCode1 = "AG"
	CountryCode1AI CountryCode1 = "AI"
	CountryCode1AL CountryCode1 = "AL"
	CountryCode1AM CountryCode1 = "AM"
	CountryCode1AO CountryCode1 = "AO"
	CountryCode1AQ CountryCode1 = "AQ"
	CountryCode1AR CountryCode1 = "AR"
	CountryCode1AS CountryCode1 = "AS"
	CountryCode1AT CountryCode1 = "AT"
	CountryCode1AU CountryCode1 = "AU"
	CountryCode1AW CountryCode1 = "AW"
	CountryCode1AX CountryCode1 = "AX"
	CountryCode1AZ CountryCode1 = "AZ"
	CountryCode1BA CountryCode1 = "BA"
	CountryCode1BB CountryCode1 = "BB"
	CountryCode1BD CountryCode1 = "BD"
	CountryCode1BE CountryCode1 = "BE"
	CountryCode1BF CountryCode1 = "BF"
	CountryCode1BG CountryCode1 = "BG"
	CountryCode1BH CountryCode1 = "BH"
	CountryCode1BI CountryCode1 = "BI"
	CountryCode1BJ CountryCode1 = "BJ"
	CountryCode1BL CountryCode1 = "BL"
	CountryCode1BM CountryCode1 = "BM"
	CountryCode1BN CountryCode1 = "BN"
	CountryCode1BO CountryCode1 = "BO"
	CountryCode1BQ CountryCode1 = "BQ"
	CountryCode1BR CountryCode1 = "BR"
	CountryCode1BS CountryCode1 = "BS"
	CountryCode1BT CountryCode1 = "BT"
	CountryCode1BV CountryCode1 = "BV"
	CountryCode1BW CountryCode1 = "BW"
	CountryCode1BY CountryCode1 = "BY"
	CountryCode1BZ CountryCode1 = "BZ"
	CountryCode1CA CountryCode1 = "CA"
	CountryCode1CC CountryCode1 = "CC"
	CountryCode1CD CountryCode1 = "CD"
	CountryCode1CF CountryCode1 = "CF"
	CountryCode1CG CountryCode1 = "CG"
	CountryCode1CH CountryCode1 = "CH"
	CountryCode1CI CountryCode1 = "CI"
	CountryCode1CK CountryCode1 = "CK"
	CountryCode1CL CountryCode1 = "CL"
	CountryCode1CM CountryCode1 = "CM"
	CountryCode1CN CountryCode1 = "CN"
	CountryCode1CO CountryCode1 = "CO"
	CountryCode1CR CountryCode1 = "CR"
	CountryCode1CU CountryCode1 = "CU"
	CountryCode1CV CountryCode1 = "CV"
	CountryCode1CW CountryCode1 = "CW"
	CountryCode1CX CountryCode1 = "CX"
	CountryCode1CY CountryCode1 = "CY"
	CountryCode1CZ CountryCode1 = "CZ"
	CountryCode1DE CountryCode1 = "DE"
	CountryCode1DJ CountryCode1 = "DJ"
	CountryCode1DK CountryCode1 = "DK"
	CountryCode1DM CountryCode1 = "DM"
	CountryCode1DO CountryCode1 = "DO"
	CountryCode1DZ CountryCode1 = "DZ"
	CountryCode1EC CountryCode1 = "EC"
	CountryCode1EE CountryCode1 = "EE"
	CountryCode1EG CountryCode1 = "EG"
	CountryCode1EH CountryCode1 = "EH"
	CountryCode1ER CountryCode1 = "ER"
	CountryCode1ES CountryCode1 = "ES"
	CountryCode1ET CountryCode1 = "ET"
	CountryCode1FI CountryCode1 = "FI"
	CountryCode1FJ CountryCode1 = "FJ"
	CountryCode1FK CountryCode1 = "FK"
	CountryCode1FM CountryCode1 = "FM"
	CountryCode1FO CountryCode1 = "FO"
	CountryCode1FR CountryCode1 = "FR"
	CountryCode1GA CountryCode1 = "GA"
	CountryCode1GB CountryCode1 = "GB"
	CountryCode1GD CountryCode1 = "GD"
	CountryCode1GE CountryCode1 = "GE"
	CountryCode1GF CountryCode1 = "GF"
	CountryCode1GG CountryCode1 = "GG"
	CountryCode1GH CountryCode1 = "GH"
	CountryCode1GI CountryCode1 = "GI"
	CountryCode1GL CountryCode1 = "GL"
	CountryCode1GM CountryCode1 = "GM"
	CountryCode1GN CountryCode1 = "GN"
	CountryCode1GP CountryCode1 = "GP"
	CountryCode1GQ CountryCode1 = "GQ"
	CountryCode1GR CountryCode1 = "GR"
	CountryCode1GS CountryCode1 = "GS"
	CountryCode1GT CountryCode1 = "GT"
	CountryCode1GU CountryCode1 = "GU"
	CountryCode1GW CountryCode1 = "GW"
	CountryCode1GY CountryCode1 = "GY"
	CountryCode1HK CountryCode1 = "HK"
	CountryCode1HM CountryCode1 = "HM"
	CountryCode1HN CountryCode1 = "HN"
	CountryCode1HR CountryCode1 = "HR"
	CountryCode1HT CountryCode1 = "HT"
	CountryCode1HU CountryCode1 = "HU"
	CountryCode1ID CountryCode1 = "ID"
	CountryCode1IE CountryCode1 = "IE"
	CountryCode1IL CountryCode1 = "IL"
	CountryCode1IM CountryCode1 = "IM"
	CountryCode1IN CountryCode1 = "IN"
	CountryCode1IO CountryCode1 = "IO"
	CountryCode1IQ CountryCode1 = "IQ"
	CountryCode1IR CountryCode1 = "IR"
	CountryCode1IS CountryCode1 = "IS"
	CountryCode1IT CountryCode1 = "IT"
	CountryCode1JE CountryCode1 = "JE"
	CountryCode1JM CountryCode1 = "JM"
	CountryCode1JO CountryCode1 = "JO"
	CountryCode1JP CountryCode1 = "JP"
	CountryCode1KE CountryCode1 = "KE"
	CountryCode1KG CountryCode1 = "KG"
	CountryCode1KH CountryCode1 = "KH"
	CountryCode1KI CountryCode1 = "KI"
	CountryCode1KM CountryCode1 = "KM"
	CountryCode1KN CountryCode1 = "KN"
	CountryCode1KP CountryCode1 = "KP"
	CountryCode1KR CountryCode1 = "KR"
	CountryCode1KW CountryCode1 = "KW"
	CountryCode1KY CountryCode1 = "KY"
	CountryCode1KZ CountryCode1 = "KZ"
	CountryCode1LA CountryCode1 = "LA"
	CountryCode1LB CountryCode1 = "LB"
	CountryCode1LC CountryCode1 = "LC"
	CountryCode1LI CountryCode1 = "LI"
	CountryCode1LK CountryCode1 = "LK"
	CountryCode1LR CountryCode1 = "LR"
	CountryCode1LS CountryCode1 = "LS"
	CountryCode1LT CountryCode1 = "LT"
	CountryCode1LU CountryCode1 = "LU"
	CountryCode1LV CountryCode1 = "LV"
	CountryCode1LY CountryCode1 = "LY"
	CountryCode1MA CountryCode1 = "MA"
	CountryCode1MC CountryCode1 = "MC"
	CountryCode1MD CountryCode1 = "MD"
	CountryCode1ME CountryCode1 = "ME"
	CountryCode1MF CountryCode1 = "MF"
	CountryCode1MG CountryCode1 = "MG"
	CountryCode1MH CountryCode1 = "MH"
	CountryCode1MK CountryCode1 = "MK"
	CountryCode1ML CountryCode1 = "ML"
	CountryCode1MM CountryCode1 = "MM"
	CountryCode1MN CountryCode1 = "MN"
	CountryCode1MO CountryCode1 = "MO"
	CountryCode1MP CountryCode1 = "MP"
	CountryCode1MQ CountryCode1 = "MQ"
	CountryCode1MR CountryCode1 = "MR"
	CountryCode1MS CountryCode1 = "MS"
	CountryCode1MT CountryCode1 = "MT"
	CountryCode1MU CountryCode1 = "MU"
	CountryCode1MV CountryCode1 = "MV"
	CountryCode1MW CountryCode1 = "MW"
	CountryCode1MX CountryCode1 = "MX"
	CountryCode1MY CountryCode1 = "MY"
	CountryCode1MZ CountryCode1 = "MZ"
	CountryCode1NA CountryCode1 = "NA"
	CountryCode1NC CountryCode1 = "NC"
	CountryCode1NE CountryCode1 = "NE"
	CountryCode1NF CountryCode1 = "NF"
	CountryCode1NG CountryCode1 = "NG"
	CountryCode1NI CountryCode1 = "NI"
	CountryCode1NL CountryCode1 = "NL"
	CountryCode1NO CountryCode1 = "NO"
	CountryCode1NP CountryCode1 = "NP"
	CountryCode1NR CountryCode1 = "NR"
	CountryCode1NU CountryCode1 = "NU"
	CountryCode1NZ CountryCode1 = "NZ"
	CountryCode1OM CountryCode1 = "OM"
	CountryCode1PA CountryCode1 = "PA"
	CountryCode1PE CountryCode1 = "PE"
	CountryCode1PF CountryCode1 = "PF"
	CountryCode1PG CountryCode1 = "PG"
	CountryCode1PH CountryCode1 = "PH"
	CountryCode1PK CountryCode1 = "PK"
	CountryCode1PL CountryCode1 = "PL"
	CountryCode1PM CountryCode1 = "PM"
	CountryCode1PN CountryCode1 = "PN"
	CountryCode1PR CountryCode1 = "PR"
	CountryCode1PS CountryCode1 = "PS"
	CountryCode1PT CountryCode1 = "PT"
	CountryCode1PW CountryCode1 = "PW"
	CountryCode1PY CountryCode1 = "PY"
	CountryCode1QA CountryCode1 = "QA"
	CountryCode1RE CountryCode1 = "RE"
	CountryCode1RO CountryCode1 = "RO"
	CountryCode1RS CountryCode1 = "RS"
	CountryCode1RU CountryCode1 = "RU"
	CountryCode1RW CountryCode1 = "RW"
	CountryCode1SA CountryCode1 = "SA"
	CountryCode1SB CountryCode1 = "SB"
	CountryCode1SC CountryCode1 = "SC"
	CountryCode1SD CountryCode1 = "SD"
	CountryCode1SE CountryCode1 = "SE"
	CountryCode1SG CountryCode1 = "SG"
	CountryCode1SH CountryCode1 = "SH"
	CountryCode1SI CountryCode1 = "SI"
	CountryCode1SJ CountryCode1 = "SJ"
	CountryCode1SK CountryCode1 = "SK"
	CountryCode1SL CountryCode1 = "SL"
	CountryCode1SM CountryCode1 = "SM"
	CountryCode1SN CountryCode1 = "SN"
	CountryCode1SO CountryCode1 = "SO"
	CountryCode1SR CountryCode1 = "SR"
	CountryCode1SS CountryCode1 = "SS"
	CountryCode1ST CountryCode1 = "ST"
	CountryCode1SV CountryCode1 = "SV"
	CountryCode1SX CountryCode1 = "SX"
	CountryCode1SY CountryCode1 = "SY"
	CountryCode1SZ CountryCode1 = "SZ"
	CountryCode1TC CountryCode1 = "TC"
	CountryCode1TD CountryCode1 = "TD"
	CountryCode1TF CountryCode1 = "TF"
	CountryCode1TG CountryCode1 = "TG"
	CountryCode1TH CountryCode1 = "TH"
	CountryCode1TJ CountryCode1 = "TJ"
	CountryCode1TK CountryCode1 = "TK"
	CountryCode1TL CountryCode1 = "TL"
	CountryCode1TM CountryCode1 = "TM"
	CountryCode1TN CountryCode1 = "TN"
	CountryCode1TO CountryCode1 = "TO"
	CountryCode1TR CountryCode1 = "TR"
	CountryCode1TT CountryCode1 = "TT"
	CountryCode1TV CountryCode1 = "TV"
	CountryCode1TW CountryCode1 = "TW"
	CountryCode1TZ CountryCode1 = "TZ"
	CountryCode1UA CountryCode1 = "UA"
	CountryCode1UG CountryCode1 = "UG"
	CountryCode1UM CountryCode1 = "UM"
	CountryCode1US CountryCode1 = "US"
	CountryCode1UY CountryCode1 = "UY"
	CountryCode1UZ CountryCode1 = "UZ"
	CountryCode1VA CountryCode1 = "VA"
	CountryCode1VC CountryCode1 = "VC"
	CountryCode1VE CountryCode1 = "VE"
	CountryCode1VG CountryCode1 = "VG"
	CountryCode1VI CountryCode1 = "VI"
	CountryCode1VN CountryCode1 = "VN"
	CountryCode1VU CountryCode1 = "VU"
	CountryCode1WF CountryCode1 = "WF"
	CountryCode1WS CountryCode1 = "WS"
	CountryCode1XK CountryCode1 = "XK"
	CountryCode1YE CountryCode1 = "YE"
	CountryCode1YT CountryCode1 = "YT"
	CountryCode1ZA CountryCode1 = "ZA"
	CountryCode1ZM CountryCode1 = "ZM"
	CountryCode1ZW CountryCode1 = "ZW"
)

Defines values for CountryCode1.

type CountryCode2

type CountryCode2 string

CountryCode2 defines model for CountryCode2.

const (
	CountryCode2AD CountryCode2 = "AD"
	CountryCode2AE CountryCode2 = "AE"
	CountryCode2AF CountryCode2 = "AF"
	CountryCode2AG CountryCode2 = "AG"
	CountryCode2AI CountryCode2 = "AI"
	CountryCode2AL CountryCode2 = "AL"
	CountryCode2AM CountryCode2 = "AM"
	CountryCode2AO CountryCode2 = "AO"
	CountryCode2AQ CountryCode2 = "AQ"
	CountryCode2AR CountryCode2 = "AR"
	CountryCode2AS CountryCode2 = "AS"
	CountryCode2AT CountryCode2 = "AT"
	CountryCode2AU CountryCode2 = "AU"
	CountryCode2AW CountryCode2 = "AW"
	CountryCode2AX CountryCode2 = "AX"
	CountryCode2AZ CountryCode2 = "AZ"
	CountryCode2BA CountryCode2 = "BA"
	CountryCode2BB CountryCode2 = "BB"
	CountryCode2BD CountryCode2 = "BD"
	CountryCode2BE CountryCode2 = "BE"
	CountryCode2BF CountryCode2 = "BF"
	CountryCode2BG CountryCode2 = "BG"
	CountryCode2BH CountryCode2 = "BH"
	CountryCode2BI CountryCode2 = "BI"
	CountryCode2BJ CountryCode2 = "BJ"
	CountryCode2BL CountryCode2 = "BL"
	CountryCode2BM CountryCode2 = "BM"
	CountryCode2BN CountryCode2 = "BN"
	CountryCode2BO CountryCode2 = "BO"
	CountryCode2BQ CountryCode2 = "BQ"
	CountryCode2BR CountryCode2 = "BR"
	CountryCode2BS CountryCode2 = "BS"
	CountryCode2BT CountryCode2 = "BT"
	CountryCode2BV CountryCode2 = "BV"
	CountryCode2BW CountryCode2 = "BW"
	CountryCode2BY CountryCode2 = "BY"
	CountryCode2BZ CountryCode2 = "BZ"
	CountryCode2CA CountryCode2 = "CA"
	CountryCode2CC CountryCode2 = "CC"
	CountryCode2CD CountryCode2 = "CD"
	CountryCode2CF CountryCode2 = "CF"
	CountryCode2CG CountryCode2 = "CG"
	CountryCode2CH CountryCode2 = "CH"
	CountryCode2CI CountryCode2 = "CI"
	CountryCode2CK CountryCode2 = "CK"
	CountryCode2CL CountryCode2 = "CL"
	CountryCode2CM CountryCode2 = "CM"
	CountryCode2CN CountryCode2 = "CN"
	CountryCode2CO CountryCode2 = "CO"
	CountryCode2CR CountryCode2 = "CR"
	CountryCode2CU CountryCode2 = "CU"
	CountryCode2CV CountryCode2 = "CV"
	CountryCode2CW CountryCode2 = "CW"
	CountryCode2CX CountryCode2 = "CX"
	CountryCode2CY CountryCode2 = "CY"
	CountryCode2CZ CountryCode2 = "CZ"
	CountryCode2DE CountryCode2 = "DE"
	CountryCode2DJ CountryCode2 = "DJ"
	CountryCode2DK CountryCode2 = "DK"
	CountryCode2DM CountryCode2 = "DM"
	CountryCode2DO CountryCode2 = "DO"
	CountryCode2DZ CountryCode2 = "DZ"
	CountryCode2EC CountryCode2 = "EC"
	CountryCode2EE CountryCode2 = "EE"
	CountryCode2EG CountryCode2 = "EG"
	CountryCode2EH CountryCode2 = "EH"
	CountryCode2ER CountryCode2 = "ER"
	CountryCode2ES CountryCode2 = "ES"
	CountryCode2ET CountryCode2 = "ET"
	CountryCode2FI CountryCode2 = "FI"
	CountryCode2FJ CountryCode2 = "FJ"
	CountryCode2FK CountryCode2 = "FK"
	CountryCode2FM CountryCode2 = "FM"
	CountryCode2FO CountryCode2 = "FO"
	CountryCode2FR CountryCode2 = "FR"
	CountryCode2GA CountryCode2 = "GA"
	CountryCode2GB CountryCode2 = "GB"
	CountryCode2GD CountryCode2 = "GD"
	CountryCode2GE CountryCode2 = "GE"
	CountryCode2GF CountryCode2 = "GF"
	CountryCode2GG CountryCode2 = "GG"
	CountryCode2GH CountryCode2 = "GH"
	CountryCode2GI CountryCode2 = "GI"
	CountryCode2GL CountryCode2 = "GL"
	CountryCode2GM CountryCode2 = "GM"
	CountryCode2GN CountryCode2 = "GN"
	CountryCode2GP CountryCode2 = "GP"
	CountryCode2GQ CountryCode2 = "GQ"
	CountryCode2GR CountryCode2 = "GR"
	CountryCode2GS CountryCode2 = "GS"
	CountryCode2GT CountryCode2 = "GT"
	CountryCode2GU CountryCode2 = "GU"
	CountryCode2GW CountryCode2 = "GW"
	CountryCode2GY CountryCode2 = "GY"
	CountryCode2HK CountryCode2 = "HK"
	CountryCode2HM CountryCode2 = "HM"
	CountryCode2HN CountryCode2 = "HN"
	CountryCode2HR CountryCode2 = "HR"
	CountryCode2HT CountryCode2 = "HT"
	CountryCode2HU CountryCode2 = "HU"
	CountryCode2ID CountryCode2 = "ID"
	CountryCode2IE CountryCode2 = "IE"
	CountryCode2IL CountryCode2 = "IL"
	CountryCode2IM CountryCode2 = "IM"
	CountryCode2IN CountryCode2 = "IN"
	CountryCode2IO CountryCode2 = "IO"
	CountryCode2IQ CountryCode2 = "IQ"
	CountryCode2IR CountryCode2 = "IR"
	CountryCode2IS CountryCode2 = "IS"
	CountryCode2IT CountryCode2 = "IT"
	CountryCode2JE CountryCode2 = "JE"
	CountryCode2JM CountryCode2 = "JM"
	CountryCode2JO CountryCode2 = "JO"
	CountryCode2JP CountryCode2 = "JP"
	CountryCode2KE CountryCode2 = "KE"
	CountryCode2KG CountryCode2 = "KG"
	CountryCode2KH CountryCode2 = "KH"
	CountryCode2KI CountryCode2 = "KI"
	CountryCode2KM CountryCode2 = "KM"
	CountryCode2KN CountryCode2 = "KN"
	CountryCode2KP CountryCode2 = "KP"
	CountryCode2KR CountryCode2 = "KR"
	CountryCode2KW CountryCode2 = "KW"
	CountryCode2KY CountryCode2 = "KY"
	CountryCode2KZ CountryCode2 = "KZ"
	CountryCode2LA CountryCode2 = "LA"
	CountryCode2LB CountryCode2 = "LB"
	CountryCode2LC CountryCode2 = "LC"
	CountryCode2LI CountryCode2 = "LI"
	CountryCode2LK CountryCode2 = "LK"
	CountryCode2LR CountryCode2 = "LR"
	CountryCode2LS CountryCode2 = "LS"
	CountryCode2LT CountryCode2 = "LT"
	CountryCode2LU CountryCode2 = "LU"
	CountryCode2LV CountryCode2 = "LV"
	CountryCode2LY CountryCode2 = "LY"
	CountryCode2MA CountryCode2 = "MA"
	CountryCode2MC CountryCode2 = "MC"
	CountryCode2MD CountryCode2 = "MD"
	CountryCode2ME CountryCode2 = "ME"
	CountryCode2MF CountryCode2 = "MF"
	CountryCode2MG CountryCode2 = "MG"
	CountryCode2MH CountryCode2 = "MH"
	CountryCode2MK CountryCode2 = "MK"
	CountryCode2ML CountryCode2 = "ML"
	CountryCode2MM CountryCode2 = "MM"
	CountryCode2MN CountryCode2 = "MN"
	CountryCode2MO CountryCode2 = "MO"
	CountryCode2MP CountryCode2 = "MP"
	CountryCode2MQ CountryCode2 = "MQ"
	CountryCode2MR CountryCode2 = "MR"
	CountryCode2MS CountryCode2 = "MS"
	CountryCode2MT CountryCode2 = "MT"
	CountryCode2MU CountryCode2 = "MU"
	CountryCode2MV CountryCode2 = "MV"
	CountryCode2MW CountryCode2 = "MW"
	CountryCode2MX CountryCode2 = "MX"
	CountryCode2MY CountryCode2 = "MY"
	CountryCode2MZ CountryCode2 = "MZ"
	CountryCode2NA CountryCode2 = "NA"
	CountryCode2NC CountryCode2 = "NC"
	CountryCode2NE CountryCode2 = "NE"
	CountryCode2NF CountryCode2 = "NF"
	CountryCode2NG CountryCode2 = "NG"
	CountryCode2NI CountryCode2 = "NI"
	CountryCode2NL CountryCode2 = "NL"
	CountryCode2NO CountryCode2 = "NO"
	CountryCode2NP CountryCode2 = "NP"
	CountryCode2NR CountryCode2 = "NR"
	CountryCode2NU CountryCode2 = "NU"
	CountryCode2NZ CountryCode2 = "NZ"
	CountryCode2OM CountryCode2 = "OM"
	CountryCode2PA CountryCode2 = "PA"
	CountryCode2PE CountryCode2 = "PE"
	CountryCode2PF CountryCode2 = "PF"
	CountryCode2PG CountryCode2 = "PG"
	CountryCode2PH CountryCode2 = "PH"
	CountryCode2PK CountryCode2 = "PK"
	CountryCode2PL CountryCode2 = "PL"
	CountryCode2PM CountryCode2 = "PM"
	CountryCode2PN CountryCode2 = "PN"
	CountryCode2PR CountryCode2 = "PR"
	CountryCode2PS CountryCode2 = "PS"
	CountryCode2PT CountryCode2 = "PT"
	CountryCode2PW CountryCode2 = "PW"
	CountryCode2PY CountryCode2 = "PY"
	CountryCode2QA CountryCode2 = "QA"
	CountryCode2RE CountryCode2 = "RE"
	CountryCode2RO CountryCode2 = "RO"
	CountryCode2RS CountryCode2 = "RS"
	CountryCode2RU CountryCode2 = "RU"
	CountryCode2RW CountryCode2 = "RW"
	CountryCode2SA CountryCode2 = "SA"
	CountryCode2SB CountryCode2 = "SB"
	CountryCode2SC CountryCode2 = "SC"
	CountryCode2SD CountryCode2 = "SD"
	CountryCode2SE CountryCode2 = "SE"
	CountryCode2SG CountryCode2 = "SG"
	CountryCode2SH CountryCode2 = "SH"
	CountryCode2SI CountryCode2 = "SI"
	CountryCode2SJ CountryCode2 = "SJ"
	CountryCode2SK CountryCode2 = "SK"
	CountryCode2SL CountryCode2 = "SL"
	CountryCode2SM CountryCode2 = "SM"
	CountryCode2SN CountryCode2 = "SN"
	CountryCode2SO CountryCode2 = "SO"
	CountryCode2SR CountryCode2 = "SR"
	CountryCode2SS CountryCode2 = "SS"
	CountryCode2ST CountryCode2 = "ST"
	CountryCode2SV CountryCode2 = "SV"
	CountryCode2SX CountryCode2 = "SX"
	CountryCode2SY CountryCode2 = "SY"
	CountryCode2SZ CountryCode2 = "SZ"
	CountryCode2TC CountryCode2 = "TC"
	CountryCode2TD CountryCode2 = "TD"
	CountryCode2TF CountryCode2 = "TF"
	CountryCode2TG CountryCode2 = "TG"
	CountryCode2TH CountryCode2 = "TH"
	CountryCode2TJ CountryCode2 = "TJ"
	CountryCode2TK CountryCode2 = "TK"
	CountryCode2TL CountryCode2 = "TL"
	CountryCode2TM CountryCode2 = "TM"
	CountryCode2TN CountryCode2 = "TN"
	CountryCode2TO CountryCode2 = "TO"
	CountryCode2TR CountryCode2 = "TR"
	CountryCode2TT CountryCode2 = "TT"
	CountryCode2TV CountryCode2 = "TV"
	CountryCode2TW CountryCode2 = "TW"
	CountryCode2TZ CountryCode2 = "TZ"
	CountryCode2UA CountryCode2 = "UA"
	CountryCode2UG CountryCode2 = "UG"
	CountryCode2UM CountryCode2 = "UM"
	CountryCode2US CountryCode2 = "US"
	CountryCode2UY CountryCode2 = "UY"
	CountryCode2UZ CountryCode2 = "UZ"
	CountryCode2VA CountryCode2 = "VA"
	CountryCode2VC CountryCode2 = "VC"
	CountryCode2VE CountryCode2 = "VE"
	CountryCode2VG CountryCode2 = "VG"
	CountryCode2VI CountryCode2 = "VI"
	CountryCode2VN CountryCode2 = "VN"
	CountryCode2VU CountryCode2 = "VU"
	CountryCode2WF CountryCode2 = "WF"
	CountryCode2WS CountryCode2 = "WS"
	CountryCode2XK CountryCode2 = "XK"
	CountryCode2YE CountryCode2 = "YE"
	CountryCode2YT CountryCode2 = "YT"
	CountryCode2ZA CountryCode2 = "ZA"
	CountryCode2ZM CountryCode2 = "ZM"
	CountryCode2ZW CountryCode2 = "ZW"
)

Defines values for CountryCode2.

type CreateBillingScheduleRequest

type CreateBillingScheduleRequest struct {
	// AttachmentAssetIds IDs of assets that are attached to this schedule
	AttachmentAssetIds *[]string `json:"attachmentAssetIds,omitempty"`

	// AutoCharge Automatically collect payments if payment details are available
	AutoCharge *bool `json:"autoCharge,omitempty"`

	// AutoIssueInvoices Auto-issue invoices for this billing schedule
	AutoIssueInvoices bool `json:"autoIssueInvoices"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// EndDate End date. A null end date denotes an open-ended schedule.
	EndDate *openapi_types.Date `json:"endDate,omitempty"`

	// IsDraft Create in draft status
	IsDraft         bool             `json:"isDraft"`
	PaymentProvider *PaymentProvider `json:"paymentProvider,omitempty"`

	// Phases Phases
	Phases []PhaseRequest `json:"phases"`

	// PurchaseOrderNumber Optional purchase order number to be added to invoices
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// RecurrenceDayOfMonth Recurrence day of month
	RecurrenceDayOfMonth *int32 `json:"recurrenceDayOfMonth,omitempty"`

	// RollUpBilling Toggles Roll-up billing
	RollUpBilling bool `json:"rollUpBilling"`

	// StartDate Start date
	StartDate openapi_types.Date `json:"startDate"`

	// TaxRates Tax Rate for each Product
	TaxRates []ProductTaxRateRepresentation `json:"taxRates"`
}

CreateBillingScheduleRequest defines model for CreateBillingScheduleRequest.

type CreateBillingScheduleSettingsEndpointCreateBillingScheduleSettingsRequestModel

type CreateBillingScheduleSettingsEndpointCreateBillingScheduleSettingsRequestModel struct {
	// AutoCharge Automatically collect this payment if payment details are available
	AutoCharge *bool `json:"autoCharge,omitempty"`

	// BillingScheduleId Unique payment provider ID.
	BillingScheduleId string          `json:"billingScheduleId"`
	PaymentProvider   PaymentProvider `json:"paymentProvider"`
}

CreateBillingScheduleSettingsEndpointCreateBillingScheduleSettingsRequestModel defines model for CreateBillingScheduleSettingsEndpointCreateBillingScheduleSettingsRequestModel.

type CreateCreditGrantEndpointCreateCreditGrantRequestModel

type CreateCreditGrantEndpointCreateCreditGrantRequestModel struct {
	// Amount Amount of Units Granted
	Amount float32 `json:"amount"`

	// CostOfCredit Cost of Credit Grant, to be Invoiced to the Customer
	CostOfCredit *float32 `json:"costOfCredit,omitempty"`

	// CreateInvoice If true we will create an invoice to charge the customer for this grant
	CreateInvoice  *bool          `json:"createInvoice,omitempty"`
	CreditUnitType CreditUnitType `json:"creditUnitType"`
	Currency       Currency       `json:"currency"`

	// CustomerId The ID of the Customer Credit is granted to
	CustomerId string `json:"customerId"`

	// EffectiveDate First Day Credit Grant can be consumed
	EffectiveDate *openapi_types.Date `json:"effectiveDate,omitempty"`

	// ExpiryDate Last Day Credit Grant can be consumed
	ExpiryDate *openapi_types.Date `json:"expiryDate,omitempty"`

	// MetricId Metric ID (if CreditUnitType is METRIC)
	MetricId *string `json:"metricId,omitempty"`

	// Name Name of the Credit Grant
	Name string `json:"name"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`
}

CreateCreditGrantEndpointCreateCreditGrantRequestModel defines model for CreateCreditGrantEndpointCreateCreditGrantRequestModel.

type CreateCreditGrantEndpointProductCreateCreditGrantResponseModel

type CreateCreditGrantEndpointProductCreateCreditGrantResponseModel struct {
	// Amount Amount of Units Granted
	Amount float32 `json:"amount"`

	// CostOfCredit Cost of Credit Grant, to be Invoiced to the Customer
	CostOfCredit *float32 `json:"costOfCredit,omitempty"`

	// CreatedAt The created at
	CreatedAt      string         `json:"createdAt"`
	CreditUnitType CreditUnitType `json:"creditUnitType"`
	Currency       *Currency      `json:"currency,omitempty"`

	// CustomerId The ID of the Customer Credit is granted to
	CustomerId string `json:"customerId"`

	// EffectiveDate First Day Credit Grant can be consumed
	EffectiveDate *openapi_types.Date `json:"effectiveDate,omitempty"`

	// ExpiryDate Last Day Credit Grant can be consumed
	ExpiryDate *openapi_types.Date `json:"expiryDate,omitempty"`

	// Id Credit Grant ID
	Id string `json:"id"`

	// IntegrationIds IDs in external integrations
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// MetricId Metric ID (if CreditUnitType is METRIC)
	MetricId *string `json:"metricId,omitempty"`

	// Name Name of the Credit Grant
	Name string `json:"name"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`
}

CreateCreditGrantEndpointProductCreateCreditGrantResponseModel defines model for CreateCreditGrantEndpointProductCreateCreditGrantResponseModel.

type CreateCreditNoteEndpointCreateCreditNoteRequestModel

type CreateCreditNoteEndpointCreateCreditNoteRequestModel struct {
	// BillingPeriodEnd Billing period end
	BillingPeriodEnd *string `json:"billingPeriodEnd,omitempty"`

	// BillingPeriodStart Billing period start
	BillingPeriodStart *string  `json:"billingPeriodStart,omitempty"`
	Currency           Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress *Address1 `json:"customerBillingAddress,omitempty"`

	// CustomerEmails Customer's email addresses, used for sending the Credit Note if provided
	CustomerEmails *[]string `json:"customerEmails,omitempty"`

	// CustomerId The ID of the Customer this Credit Note is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName *string `json:"customerLegalCompanyName,omitempty"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress *Address1 `json:"customerShippingAddress,omitempty"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId *string `json:"customerTaxId,omitempty"`

	// InvoiceId Invoice ID
	InvoiceId *string `json:"invoiceId,omitempty"`

	// Memo Credit Note memo
	Memo *string `json:"memo,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Credit Note. These are not interpreted by Sequence; they are present for your use alone.
	Metadata *[]KeyValuePair `json:"metadata,omitempty"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`
}

CreateCreditNoteEndpointCreateCreditNoteRequestModel defines model for CreateCreditNoteEndpointCreateCreditNoteRequestModel.

type CreateCreditNoteLineItemEndpointCreateCreditNoteLineItemRequestModel

type CreateCreditNoteLineItemEndpointCreateCreditNoteLineItemRequestModel struct {
	// CreditNoteId Credit Note Line Item ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GroupId Credit Note Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// LineItemId Line Item ID
	LineItemId *string `json:"lineItemId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string       `json:"rate"`
	RateDisplay *RateDisplay `json:"rateDisplay,omitempty"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`
}

CreateCreditNoteLineItemEndpointCreateCreditNoteLineItemRequestModel defines model for CreateCreditNoteLineItemEndpointCreateCreditNoteLineItemRequestModel.

type CreateCreditNoteLineItemEndpointProductCreateCreditNoteLineItemResponseModel

type CreateCreditNoteLineItemEndpointProductCreateCreditNoteLineItemResponseModel struct {
	// CreditNoteId Credit Note Line Item ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GrossTotal Gross Total
	GrossTotal string `json:"grossTotal"`

	// GroupId Credit Note Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// Id Credit Note Line Item ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemId Line Item ID
	LineItemId *string `json:"lineItemId,omitempty"`

	// NetTotal Net Total
	NetTotal string `json:"netTotal"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string      `json:"rate"`
	RateDisplay RateDisplay `json:"rateDisplay"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`

	// TotalTax Total Tax
	TotalTax string `json:"totalTax"`
}

CreateCreditNoteLineItemEndpointProductCreateCreditNoteLineItemResponseModel defines model for CreateCreditNoteLineItemEndpointProductCreateCreditNoteLineItemResponseModel.

type CreateCreditNoteLineItemGroupEndpointCreateCreditNoteLineItemGroupRequestModel

type CreateCreditNoteLineItemGroupEndpointCreateCreditNoteLineItemGroupRequestModel struct {
	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// LineItemGroupId Line Item Group ID
	LineItemGroupId *string `json:"lineItemGroupId,omitempty"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`
}

CreateCreditNoteLineItemGroupEndpointCreateCreditNoteLineItemGroupRequestModel defines model for CreateCreditNoteLineItemGroupEndpointCreateCreditNoteLineItemGroupRequestModel.

type CreateCreditNoteLineItemGroupEndpointProductCreateCreditNoteLineItemGroupResponseModel

type CreateCreditNoteLineItemGroupEndpointProductCreateCreditNoteLineItemGroupResponseModel struct {
	// CreditNoteId Credit Note ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// GrossTotal Gross total
	GrossTotal string `json:"grossTotal"`

	// Id Credit Note Line Item Group ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemGroupId Line Item Group ID
	LineItemGroupId *string `json:"lineItemGroupId,omitempty"`

	// NetTotal Net total
	NetTotal string `json:"netTotal"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`

	// TotalTax Total tax
	TotalTax string `json:"totalTax"`
}

CreateCreditNoteLineItemGroupEndpointProductCreateCreditNoteLineItemGroupResponseModel defines model for CreateCreditNoteLineItemGroupEndpointProductCreateCreditNoteLineItemGroupResponseModel.

type CreateCustomerAliasEndpointCreateCustomerAliasRequestModel

type CreateCustomerAliasEndpointCreateCustomerAliasRequestModel struct {
	// ArchivedAt Archived At
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// DeletedAt Deleted At
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Label Alias label
	Label *string `json:"label,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

CreateCustomerAliasEndpointCreateCustomerAliasRequestModel defines model for CreateCustomerAliasEndpointCreateCustomerAliasRequestModel.

type CreateCustomerAliasEndpointProductCreateCustomerAliasResponseModel

type CreateCustomerAliasEndpointProductCreateCustomerAliasResponseModel struct {
	// ArchivedAt Archived At
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// CreatedAt Created At
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// DeletedAt Deleted At
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// Label Alias label
	Label *string `json:"label,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

CreateCustomerAliasEndpointProductCreateCustomerAliasResponseModel defines model for CreateCustomerAliasEndpointProductCreateCustomerAliasResponseModel.

type CreateCustomerSettingsEndpointCreateCustomerSettingsRequestModel

type CreateCustomerSettingsEndpointCreateCustomerSettingsRequestModel struct {
	// CustomerId Customer Account ID.
	CustomerId      string          `json:"customerId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`
}

CreateCustomerSettingsEndpointCreateCustomerSettingsRequestModel defines model for CreateCustomerSettingsEndpointCreateCustomerSettingsRequestModel.

type CreateCustomerSettingsEndpointProductCreateCustomerSettingsResponseModel

type CreateCustomerSettingsEndpointProductCreateCustomerSettingsResponseModel struct {
	// CustomerId Customer Account ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id              string          `json:"id"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

CreateCustomerSettingsEndpointProductCreateCustomerSettingsResponseModel defines model for CreateCustomerSettingsEndpointProductCreateCustomerSettingsResponseModel.

type CreateInvoiceSettingsEndpointCreateInvoiceSettingsRequestModel

type CreateInvoiceSettingsEndpointCreateInvoiceSettingsRequestModel struct {
	// CustomerId Customer ID.
	CustomerId *string `json:"customerId,omitempty"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`
}

CreateInvoiceSettingsEndpointCreateInvoiceSettingsRequestModel defines model for CreateInvoiceSettingsEndpointCreateInvoiceSettingsRequestModel.

type CreateInvoiceSettingsEndpointProductCreateInvoiceSettingsResponseModel

type CreateInvoiceSettingsEndpointProductCreateInvoiceSettingsResponseModel struct {
	// CustomerId Customer ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id string `json:"id"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

CreateInvoiceSettingsEndpointProductCreateInvoiceSettingsResponseModel defines model for CreateInvoiceSettingsEndpointProductCreateInvoiceSettingsResponseModel.

type CreateLineItemGroupRequestModel

type CreateLineItemGroupRequestModel struct {
	// Description Line Item Group Description
	Description *string `json:"description,omitempty"`

	// TaxCategoryId The tax category for all line items in this line item group
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`

	// Title Line Item Group Title
	Title string `json:"title"`
}

CreateLineItemGroupRequestModel defines model for CreateLineItemGroupRequestModel.

type CreateNotificationPolicyRequest

type CreateNotificationPolicyRequest struct {
	Channel NotificationChannel `json:"channel"`

	// Name Human-readable name
	Name string `json:"name"`

	// NotificationTypes Set of notification types that this policy matches. If not provided, then this policy will apply to all notification types.
	NotificationTypes *[]NotificationType `json:"notificationTypes,omitempty"`

	// Recipients The webhook URLs or email addresses which will receive notifications, depending on the channel
	Recipients []string `json:"recipients"`

	// WebhookSecret Webhook secret used to generate a signature header that's sent with an outbound webhook.It can be used to verify the authenticity of received Sequence webhooks. Only available for webhook channel policies.
	WebhookSecret *string `json:"webhookSecret,omitempty"`
}

CreateNotificationPolicyRequest defines model for CreateNotificationPolicyRequest.

type CreateOrUpdateCustomerRequest

type CreateOrUpdateCustomerRequest struct {
	// Address Address
	Address Address `json:"address"`

	// Contacts Contacts to create for this customer. This will replace all existing contacts for this customer.
	Contacts []ContactRequestModel `json:"contacts"`

	// CustomerAliases Customer aliases
	CustomerAliases *[]string `json:"customerAliases,omitempty"`

	// IntegrationIds IDs in external integrations
	IntegrationIds *[]GenerateIntegrationIdRequest `json:"integrationIds,omitempty"`

	// Label Label
	Label *string `json:"label,omitempty"`

	// LegalName Legal name
	LegalName string `json:"legalName"`

	// ParentId ID of a parent customer. Populate this field to create a new customeras a child customer of another, existing customer.
	ParentId *string `json:"parentId,omitempty"`

	// PushToIntegrations Automatically create customer in these linked integrations
	PushToIntegrations *[]CreateOrUpdateCustomerRequestIntegration `json:"pushToIntegrations,omitempty"`
	TaxStatus          TaxStatus                                   `json:"taxStatus"`

	// Url URL
	Url *string `json:"url,omitempty"`
}

CreateOrUpdateCustomerRequest defines model for CreateOrUpdateCustomerRequest.

type CreateOrUpdateCustomerRequestIntegration

type CreateOrUpdateCustomerRequestIntegration string

CreateOrUpdateCustomerRequestIntegration defines model for CreateOrUpdateCustomerRequestIntegration.

const (
	CreateOrUpdateCustomerRequestIntegrationXero CreateOrUpdateCustomerRequestIntegration = "Xero"
)

Defines values for CreateOrUpdateCustomerRequestIntegration.

type CreateSeatEventEndpointCreateSeatEventRequestModel

type CreateSeatEventEndpointCreateSeatEventRequestModel struct {
	// CustomerAlias End-customer alias or ID.
	CustomerAlias string `json:"customerAlias"`

	// CustomerEventId Unique ID provided by customer. Another event with the same customer event ID will supersede this one.
	CustomerEventId *string `json:"customerEventId,omitempty"`

	// EventTimestamp Event timestamp, in ISO 8601 format.
	EventTimestamp string `json:"eventTimestamp"`

	// SeatType Seat type. This can be referenced from a seat metric.
	SeatType string `json:"seatType"`

	// Total Total seats consumed for this seat type.
	Total int `json:"total"`
}

CreateSeatEventEndpointCreateSeatEventRequestModel defines model for CreateSeatEventEndpointCreateSeatEventRequestModel.

type CreateSeatEventEndpointProductCreateSeatEventResponseModel

type CreateSeatEventEndpointProductCreateSeatEventResponseModel struct {
	// CustomerAlias End-customer alias or ID.
	CustomerAlias string `json:"customerAlias"`

	// CustomerEventId Unique ID provided by customer. Another event with the same customer event ID will supersede this one.
	CustomerEventId string `json:"customerEventId"`

	// EventTimestamp Event timestamp, in ISO 8601 format.
	EventTimestamp string `json:"eventTimestamp"`

	// Id Unique ID for this seat event.
	Id string `json:"id"`

	// SeatType Seat type. This can be referenced from a seat metric.
	SeatType string `json:"seatType"`

	// SequenceAccountId Unique Sequence account ID.
	SequenceAccountId string `json:"sequenceAccountId"`

	// Total Total seats consumed for this seat type.
	Total int `json:"total"`
}

CreateSeatEventEndpointProductCreateSeatEventResponseModel defines model for CreateSeatEventEndpointProductCreateSeatEventResponseModel.

type CreateSeatMetricRequest

type CreateSeatMetricRequest struct {
	// Description Optional description for this seat metric.
	Description *string `json:"description,omitempty"`

	// Label Friendly, customer-facing name for this seat metric.
	Label string `json:"label"`

	// SeatType E.g. `admin_user`. An immutable, unique value used to identify and refer to this seat type. It should be lower snakecase
	SeatType string `json:"seatType"`
}

CreateSeatMetricRequest defines model for CreateSeatMetricRequest.

type CreateTaxRateRequest

type CreateTaxRateRequest struct {
	// Amount The tax rate. Must be between 0 and 100.
	Amount  string      `json:"amount"`
	Country CountryCode `json:"country"`

	// Description The description of the tax rate
	Description *string `json:"description,omitempty"`

	// InvoiceName The long name used on the invoice, e.g. "Value Added Tax"
	InvoiceName string `json:"invoiceName"`

	// InvoiceShortName The short name used on the invoice, e.g. "VAT"
	InvoiceShortName string `json:"invoiceShortName"`

	// IsPublished Tax Rate status
	IsPublished bool `json:"isPublished"`

	// Name The full name of the tax rate, e.g. "Sales tax"
	Name string `json:"name"`

	// Region The region that this tax rate applies to
	Region *string `json:"region,omitempty"`

	// TaxCategoryId The Tax Category Version ID that this Tax Rate is part of
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`
}

CreateTaxRateRequest defines model for CreateTaxRateRequest.

type CreateTaxRegistrationEndpointCreateTaxRegistrationRequestModel

type CreateTaxRegistrationEndpointCreateTaxRegistrationRequestModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`
	State      *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

CreateTaxRegistrationEndpointCreateTaxRegistrationRequestModel defines model for CreateTaxRegistrationEndpointCreateTaxRegistrationRequestModel.

type CreateTaxRegistrationEndpointProductCreateTaxRegistrationResponseModel

type CreateTaxRegistrationEndpointProductCreateTaxRegistrationResponseModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

CreateTaxRegistrationEndpointProductCreateTaxRegistrationResponseModel defines model for CreateTaxRegistrationEndpointProductCreateTaxRegistrationResponseModel.

type CreateUsageEventEndpointCreateUsageEventRequestModel

type CreateUsageEventEndpointCreateUsageEventRequestModel struct {
	// CustomerAlias End-customer alias or ID
	CustomerAlias string `json:"customerAlias"`

	// CustomerEventId ID provided by customer. Another event with the same customer event ID will supersede this one.
	CustomerEventId *string `json:"customerEventId,omitempty"`

	// EventProperties Event properties. These can be referenced by a usage metric.
	EventProperties *map[string]map[string]interface{} `json:"eventProperties,omitempty"`

	// EventTimestamp Event timestamp, in ISO 8601 format.
	EventTimestamp *string `json:"eventTimestamp,omitempty"`

	// EventType Event type. This can be referenced from a usage metric.
	EventType string `json:"eventType"`
}

CreateUsageEventEndpointCreateUsageEventRequestModel defines model for CreateUsageEventEndpointCreateUsageEventRequestModel.

type CreateUsageEventEndpointProductCreateUsageEventResponseModel

type CreateUsageEventEndpointProductCreateUsageEventResponseModel struct {
	// CustomerAlias End-customer alias or ID
	CustomerAlias string `json:"customerAlias"`

	// CustomerEventId ID provided by customer. Another event with the same customer event ID will supersede this one.
	CustomerEventId string `json:"customerEventId"`

	// EventProperties Event properties. These can be referenced by a usage metric.
	EventProperties map[string]map[string]interface{} `json:"eventProperties"`

	// EventTimestamp Event timestamp, in ISO 8601 format.
	EventTimestamp string `json:"eventTimestamp"`

	// EventType Event type. This can be referenced from a usage metric.
	EventType string `json:"eventType"`

	// Id Unique ID
	Id string `json:"id"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string `json:"sequenceAccountId"`
}

CreateUsageEventEndpointProductCreateUsageEventResponseModel defines model for CreateUsageEventEndpointProductCreateUsageEventResponseModel.

type CreateUsageMetricEndpointCreateUsageMetricRequestModel

type CreateUsageMetricEndpointCreateUsageMetricRequestModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string    `json:"groupingProperty,omitempty"`
	MetricType       MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters *map[string]map[string]interface{} `json:"propertyFilters,omitempty"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

CreateUsageMetricEndpointCreateUsageMetricRequestModel defines model for CreateUsageMetricEndpointCreateUsageMetricRequestModel.

type CreateUsageMetricEndpointProductCreateUsageMetricResponseModel

type CreateUsageMetricEndpointProductCreateUsageMetricResponseModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// CreatedAt Created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string `json:"groupingProperty,omitempty"`

	// Id Unique ID
	Id         string     `json:"id"`
	MetricType MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// Parameters Required parameters
	Parameters []CustomMetricParameter `json:"parameters"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters map[string]map[string]interface{} `json:"propertyFilters"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

CreateUsageMetricEndpointProductCreateUsageMetricResponseModel defines model for CreateUsageMetricEndpointProductCreateUsageMetricResponseModel.

type CreditBalance

type CreditBalance struct {
	// Balance Amount remaining of Credits Granted
	Balance string `json:"balance"`

	// Grants Related credit grants
	Grants []CreditGrant `json:"grants"`

	// Id Indicates the ID of Credit target, either a currency code or a metric id
	Id string `json:"id"`

	// Name Name of the Credit - will either be the currency or name of the metric
	Name string `json:"name"`

	// Transactions Related credit transactions
	Transactions []CreditTransaction `json:"transactions"`
	Type         CreditType          `json:"type"`
}

CreditBalance defines model for CreditBalance.

type CreditBalancesReply

type CreditBalancesReply struct {
	Items []CreditBalance `json:"items"`
}

CreditBalancesReply defines model for CreditBalancesReply.

type CreditGrant

type CreditGrant struct {
	// CostOfCredit Cost of credit grant
	CostOfCredit string `json:"costOfCredit"`

	// CreatedAt The created at
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CurrentBalance Amount remaining of Credits Granted
	CurrentBalance string `json:"currentBalance"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// EffectiveDate First Day Credit Grant can be consumed
	EffectiveDate *openapi_types.Date `json:"effectiveDate,omitempty"`

	// ExpiryDate Last Day Credit Grant can be consumed
	ExpiryDate *openapi_types.Date `json:"expiryDate,omitempty"`

	// Id Credit Grant ID
	Id string `json:"id"`

	// MetricId Usage metric ID (if type is USAGE)
	MetricId *string `json:"metricId,omitempty"`

	// Name Name of the Credit - will either be the currency or name of the metric
	Name string `json:"name"`

	// OriginalAmount Amount of credits originally granted
	OriginalAmount string `json:"originalAmount"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// TaxRateId Tax Rate ID for Credit Purchase
	TaxRateId *string    `json:"taxRateId,omitempty"`
	Type      CreditType `json:"type"`
}

CreditGrant defines model for CreditGrant.

type CreditNote

type CreditNote struct {
	// AccountingDate Accounting date
	AccountingDate *openapi_types.Date `json:"accountingDate,omitempty"`

	// BillingPeriodEnd Billing period end
	BillingPeriodEnd *string `json:"billingPeriodEnd,omitempty"`

	// BillingPeriodStart Billing period start
	BillingPeriodStart *string `json:"billingPeriodStart,omitempty"`

	// BillingScheduleId Subscription ID
	BillingScheduleId *string `json:"billingScheduleId,omitempty"`

	// CreditNoteNumber Credit Note number
	CreditNoteNumber *string  `json:"creditNoteNumber,omitempty"`
	Currency         Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress Address1 `json:"customerBillingAddress"`

	// CustomerEmails Customer's email addresses, used for sending the Credit Note if provided
	CustomerEmails []string `json:"customerEmails"`

	// CustomerId The ID of the Customer this Credit Note is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName string `json:"customerLegalCompanyName"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress Address1 `json:"customerShippingAddress"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId *string `json:"customerTaxId,omitempty"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// Id Credit Note ID
	Id string `json:"id"`

	// InvoiceId Invoice ID
	InvoiceId *string `json:"invoiceId,omitempty"`

	// InvoiceNumber Invoice Number
	InvoiceNumber *string `json:"invoiceNumber,omitempty"`

	// IssueDate Issue date
	IssueDate *openapi_types.Date `json:"issueDate,omitempty"`

	// LinkedServices External services which are linked to this credit note
	LinkedServices []LinkInfo `json:"linkedServices"`

	// Memo Credit Note memo
	Memo *string `json:"memo,omitempty"`

	// MerchantDetails Merchant details
	MerchantDetails *InvoiceMerchantDetails `json:"merchantDetails,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Credit Note. These are not interpreted by Sequence; they are present for your use alone.
	Metadata []KeyValuePair `json:"metadata"`

	// NetTotal Net total, in decimal format of the Credit Note's currency
	NetTotal string `json:"netTotal"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Settings Credit note settings
	Settings CreditNoteSettings `json:"settings"`
	Status   CreditNoteStatus   `json:"status"`

	// TotalTax Total tax, in decimal format of the Credit Note's currency
	TotalTax string `json:"totalTax"`
}

CreditNote defines model for CreditNote.

type CreditNoteSettings

type CreditNoteSettings struct {
	GenerateCashCreditGrant SettingPreference `json:"generateCashCreditGrant"`
}

CreditNoteSettings Credit note settings

type CreditNoteStatus

type CreditNoteStatus string

CreditNoteStatus defines model for CreditNoteStatus.

const (
	CreditNoteStatusDRAFT      CreditNoteStatus = "DRAFT"
	CreditNoteStatusFINAL      CreditNoteStatus = "FINAL"
	CreditNoteStatusINPROGRESS CreditNoteStatus = "IN_PROGRESS"
	CreditNoteStatusSENT       CreditNoteStatus = "SENT"
	CreditNoteStatusVOIDED     CreditNoteStatus = "VOIDED"
)

Defines values for CreditNoteStatus.

type CreditTransaction

type CreditTransaction struct {
	// Amount Number of units added or consumed
	Amount string `json:"amount"`

	// BillingRunId Billing Run ID where Credit was consumed
	BillingRunId *string `json:"billingRunId,omitempty"`

	// Date Date of transaction
	Date openapi_types.Date `json:"date"`

	// GrantId Credit Grant ID
	GrantId string `json:"grantId"`

	// Id Credit Transaction ID
	Id *string `json:"id,omitempty"`

	// InvoiceId Invoice ID where Credit was consumed
	InvoiceId *string `json:"invoiceId,omitempty"`

	// Reason Transaction Reason
	Reason *string `json:"reason,omitempty"`

	// Type Credit Transaction Type
	Type string `json:"type"`
}

CreditTransaction defines model for CreditTransaction.

type CreditType

type CreditType string

CreditType defines model for CreditType.

const (
	CreditTypeCASH  CreditType = "CASH"
	CreditTypeUSAGE CreditType = "USAGE"
)

Defines values for CreditType.

type CreditUnitType

type CreditUnitType string

CreditUnitType defines model for CreditUnitType.

const (
	CURRENCY CreditUnitType = "CURRENCY"
	METRIC   CreditUnitType = "METRIC"
)

Defines values for CreditUnitType.

type Currency

type Currency string

Currency defines model for Currency.

const (
	ARS Currency = "ARS"
	AUD Currency = "AUD"
	BRL Currency = "BRL"
	CAD Currency = "CAD"
	CHF Currency = "CHF"
	CNY Currency = "CNY"
	COP Currency = "COP"
	CZK Currency = "CZK"
	DKK Currency = "DKK"
	EUR Currency = "EUR"
	GBP Currency = "GBP"
	HKD Currency = "HKD"
	ILS Currency = "ILS"
	JPY Currency = "JPY"
	KRW Currency = "KRW"
	MXN Currency = "MXN"
	NOK Currency = "NOK"
	NZD Currency = "NZD"
	PLN Currency = "PLN"
	SEK Currency = "SEK"
	SGD Currency = "SGD"
	THB Currency = "THB"
	USD Currency = "USD"
	UYU Currency = "UYU"
	ZAR Currency = "ZAR"
)

Defines values for Currency.

type CustomMetricParameter

type CustomMetricParameter struct {
	DefaultValue  string              `json:"defaultValue"`
	Description   string              `json:"description"`
	Id            string              `json:"id"`
	Name          string              `json:"name"`
	Type          CustomParameterType `json:"type"`
	UsageMetricId string              `json:"usageMetricId"`
}

CustomMetricParameter defines model for CustomMetricParameter.

type CustomParameterType

type CustomParameterType string

CustomParameterType defines model for CustomParameterType.

const (
	INTEGER         CustomParameterType = "INTEGER"
	POSITIVEINTEGER CustomParameterType = "POSITIVE_INTEGER"
)

Defines values for CustomParameterType.

type Customer

type Customer struct {
	// Address Address
	Address Address `json:"address"`

	// Contacts Contacts for this customer
	Contacts []Contact `json:"contacts"`

	// CreatedAt Time at which the customer was initially created, in ISO 8601 format
	CreatedAt string `json:"createdAt"`

	// Domain Customer's primary domain name
	Domain *string `json:"domain,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds External services which are linked to this customer
	IntegrationIds []IntegrationId `json:"integrationIds"`

	// Label Label
	Label *string `json:"label,omitempty"`

	// LegalName Legal name
	LegalName string `json:"legalName"`

	// Organizations Organizations that this customer is a member of
	Organizations []CustomerOrganization `json:"organizations"`
	TaxStatus     TaxStatus              `json:"taxStatus"`

	// Url URL
	Url *string `json:"url,omitempty"`
}

Customer defines model for Customer.

type Customer20240509

type Customer20240509 struct {
	// Address Address
	Address Address `json:"address"`

	// ArchivedAt Date and time the Customer was archived
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// BillingEmails Billing email addresses
	BillingEmails []string `json:"billingEmails"`

	// ContactName Contact Name
	ContactName *string `json:"contactName,omitempty"`

	// CreatedAt Created at
	CreatedAt string `json:"createdAt"`

	// Email Main contact email address
	Email string `json:"email"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds External services which are linked to this customer
	IntegrationIds []IntegrationId `json:"integrationIds"`

	// Label Label
	Label *string `json:"label,omitempty"`

	// LegalName Legal name
	LegalName string    `json:"legalName"`
	TaxStatus TaxStatus `json:"taxStatus"`

	// Telephone Telephone
	Telephone *string `json:"telephone,omitempty"`

	// Url URL
	Url *string `json:"url,omitempty"`
}

Customer20240509 defines model for Customer20240509.

type CustomerAlias

type CustomerAlias struct {
	// CreatedAt Created At
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// Id Unique ID
	Id string `json:"id"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

CustomerAlias defines model for CustomerAlias.

type CustomerIdWithName

type CustomerIdWithName struct {
	// Id Customer ID
	Id string `json:"id"`

	// Name Customer legal name
	Name string `json:"name"`
}

CustomerIdWithName ID of the customer that will own the organization.

type CustomerOrganization

type CustomerOrganization struct {
	// Id Organization ID
	Id string `json:"id"`

	// Members Members of the customer organization, excluding the owner. These are the children in a parent-child relationship.
	Members []CustomerIdWithName `json:"members"`

	// Owner ID of the customer that will own the organization.
	Owner CustomerIdWithName `json:"owner"`
}

CustomerOrganization defines model for CustomerOrganization.

type CustomerOrganizationMembers

type CustomerOrganizationMembers struct {
	// CustomerIds IDs of customers to add to an existing organization.
	CustomerIds []string `json:"customerIds"`
}

CustomerOrganizationMembers defines model for CustomerOrganizationMembers.

type CustomerOrganizationRequest

type CustomerOrganizationRequest struct {
	// MemberIds IDs of the customers who are members of this organization, excluding the owner. These are the children in a parent-child relationship. You can pass an empty array if they are not yet known.
	MemberIds []string `json:"memberIds"`

	// OwnerId ID of the customer that will own the organization.
	OwnerId string `json:"ownerId"`
}

CustomerOrganizationRequest defines model for CustomerOrganizationRequest.

type CustomerSeatBalances

type CustomerSeatBalances struct {
	// Balances Seat balance per seat type
	Balances []SeatBalance `json:"balances"`

	// ChangeTimestamp Timestamp of when the customer seats last changed
	ChangeTimestamp string   `json:"changeTimestamp"`
	CustomerAliases []string `json:"customerAliases"`

	// Id Customer ID
	Id string `json:"id"`

	// LegalName Legal name
	LegalName string `json:"legalName"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Total Total seats balance
	Total int `json:"total"`
}

CustomerSeatBalances defines model for CustomerSeatBalances.

type DatabaseErrors

type DatabaseErrors struct {
	Errors []interface{} `json:"errors"`
}

DatabaseErrors defines model for DatabaseErrors.

type DateRange

type DateRange struct {
	EndDate   openapi_types.Date `json:"endDate"`
	StartDate openapi_types.Date `json:"startDate"`
}

DateRange Service Period

type DeleteCreditNoteLineItemEndpointProductDeleteCreditNoteLineItemResponseModel

type DeleteCreditNoteLineItemEndpointProductDeleteCreditNoteLineItemResponseModel struct {
	// CreditNoteId Credit Note Line Item ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GrossTotal Gross Total
	GrossTotal string `json:"grossTotal"`

	// GroupId Credit Note Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// Id Credit Note Line Item ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemId Line Item ID
	LineItemId *string `json:"lineItemId,omitempty"`

	// NetTotal Net Total
	NetTotal string `json:"netTotal"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string      `json:"rate"`
	RateDisplay RateDisplay `json:"rateDisplay"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`

	// TotalTax Total Tax
	TotalTax string `json:"totalTax"`
}

DeleteCreditNoteLineItemEndpointProductDeleteCreditNoteLineItemResponseModel defines model for DeleteCreditNoteLineItemEndpointProductDeleteCreditNoteLineItemResponseModel.

type DeleteCreditNoteLineItemGroupEndpointProductDeleteCreditNoteLineItemGroupResponseModel

type DeleteCreditNoteLineItemGroupEndpointProductDeleteCreditNoteLineItemGroupResponseModel struct {
	// CreditNoteId Credit Note ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// GrossTotal Gross total
	GrossTotal string `json:"grossTotal"`

	// Id Credit Note Line Item Group ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemGroupId Line Item Group ID
	LineItemGroupId *string `json:"lineItemGroupId,omitempty"`

	// NetTotal Net total
	NetTotal string `json:"netTotal"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`

	// TotalTax Total tax
	TotalTax string `json:"totalTax"`
}

DeleteCreditNoteLineItemGroupEndpointProductDeleteCreditNoteLineItemGroupResponseModel defines model for DeleteCreditNoteLineItemGroupEndpointProductDeleteCreditNoteLineItemGroupResponseModel.

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteCreditNotesByCreditnoteLineItemGroupsByIdParams defines parameters for DeleteCreditNotesByCreditnoteLineItemGroupsById.

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion string

DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion defines parameters for DeleteCreditNotesByCreditnoteLineItemGroupsById.

const (
	DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersionN20240730 DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion.

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse

type DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteCreditNoteLineItemGroupEndpointProductDeleteCreditNoteLineItemGroupResponseModel
}

func ParseDeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse

func ParseDeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse(rsp *http.Response) (*DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

ParseDeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse parses an HTTP response from a DeleteCreditNotesByCreditnoteLineItemGroupsByIdWithResponse call

func (DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteCreditNotesByCreditnoteLineItemGroupsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteCreditNotesByCreditnoteLineItemsByIdParams

type DeleteCreditNotesByCreditnoteLineItemsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteCreditNotesByCreditnoteLineItemsByIdParams defines parameters for DeleteCreditNotesByCreditnoteLineItemsById.

type DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion

type DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion string

DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion defines parameters for DeleteCreditNotesByCreditnoteLineItemsById.

const (
	DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersionN20240730 DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion.

type DeleteCreditNotesByCreditnoteLineItemsByIdResponse

type DeleteCreditNotesByCreditnoteLineItemsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteCreditNoteLineItemEndpointProductDeleteCreditNoteLineItemResponseModel
}

func ParseDeleteCreditNotesByCreditnoteLineItemsByIdResponse

func ParseDeleteCreditNotesByCreditnoteLineItemsByIdResponse(rsp *http.Response) (*DeleteCreditNotesByCreditnoteLineItemsByIdResponse, error)

ParseDeleteCreditNotesByCreditnoteLineItemsByIdResponse parses an HTTP response from a DeleteCreditNotesByCreditnoteLineItemsByIdWithResponse call

func (DeleteCreditNotesByCreditnoteLineItemsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteCreditNotesByCreditnoteLineItemsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteCreditNotesByIdParams

type DeleteCreditNotesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteCreditNotesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteCreditNotesByIdParams defines parameters for DeleteCreditNotesById.

type DeleteCreditNotesByIdParamsSequenceVersion

type DeleteCreditNotesByIdParamsSequenceVersion string

DeleteCreditNotesByIdParamsSequenceVersion defines parameters for DeleteCreditNotesById.

const (
	DeleteCreditNotesByIdParamsSequenceVersionN20240730 DeleteCreditNotesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteCreditNotesByIdParamsSequenceVersion.

type DeleteCreditNotesByIdResponse

type DeleteCreditNotesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParseDeleteCreditNotesByIdResponse

func ParseDeleteCreditNotesByIdResponse(rsp *http.Response) (*DeleteCreditNotesByIdResponse, error)

ParseDeleteCreditNotesByIdResponse parses an HTTP response from a DeleteCreditNotesByIdWithResponse call

func (DeleteCreditNotesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteCreditNotesByIdResponse) StatusCode

func (r DeleteCreditNotesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCustomerAliasEndpointProductDeleteCustomerAliasResponseModel

type DeleteCustomerAliasEndpointProductDeleteCustomerAliasResponseModel struct {
	// ArchivedAt Archived At
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// CreatedAt Created At
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// DeletedAt Deleted At
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// Label Alias label
	Label *string `json:"label,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

DeleteCustomerAliasEndpointProductDeleteCustomerAliasResponseModel defines model for DeleteCustomerAliasEndpointProductDeleteCustomerAliasResponseModel.

type DeleteCustomerAliasesByIdParams

type DeleteCustomerAliasesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteCustomerAliasesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteCustomerAliasesByIdParams defines parameters for DeleteCustomerAliasesById.

type DeleteCustomerAliasesByIdParamsSequenceVersion

type DeleteCustomerAliasesByIdParamsSequenceVersion string

DeleteCustomerAliasesByIdParamsSequenceVersion defines parameters for DeleteCustomerAliasesById.

const (
	DeleteCustomerAliasesByIdParamsSequenceVersionN20240730 DeleteCustomerAliasesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteCustomerAliasesByIdParamsSequenceVersion.

type DeleteCustomerAliasesByIdResponse

type DeleteCustomerAliasesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteCustomerAliasEndpointProductDeleteCustomerAliasResponseModel
}

func ParseDeleteCustomerAliasesByIdResponse

func ParseDeleteCustomerAliasesByIdResponse(rsp *http.Response) (*DeleteCustomerAliasesByIdResponse, error)

ParseDeleteCustomerAliasesByIdResponse parses an HTTP response from a DeleteCustomerAliasesByIdWithResponse call

func (DeleteCustomerAliasesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteCustomerAliasesByIdResponse) StatusCode

func (r DeleteCustomerAliasesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCustomerSettingsEndpointProductDeleteCustomerSettingsResponseModel

type DeleteCustomerSettingsEndpointProductDeleteCustomerSettingsResponseModel struct {
	// CustomerId Customer Account ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id              string          `json:"id"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

DeleteCustomerSettingsEndpointProductDeleteCustomerSettingsResponseModel defines model for DeleteCustomerSettingsEndpointProductDeleteCustomerSettingsResponseModel.

type DeleteDiscountEndpointProductDeleteDiscountResponseModel

type DeleteDiscountEndpointProductDeleteDiscountResponseModel struct {
	// Amount Amount to be reduced
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt               string                  `json:"createdAt"`
	DiscountCalculationType DiscountCalculationType `json:"discountCalculationType"`

	// Id Discount ID
	Id string `json:"id"`

	// Message Message to appear on the Invoice
	Message string `json:"message"`

	// PhaseId Phase ID
	PhaseId *string `json:"phaseId,omitempty"`

	// PriceIds Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
	PriceIds []string `json:"priceIds"`

	// SeparateLineItem Indicates whether the discount should appear as a separate line item in the invoice
	SeparateLineItem bool `json:"separateLineItem"`

	// SequenceAccountId The Sequence Account to which this Discount belongs
	SequenceAccountId string `json:"sequenceAccountId"`

	// UpdatedAt Updated At
	UpdatedAt string `json:"updatedAt"`

	// ValidFrom First Day Discount is Valid
	ValidFrom *openapi_types.Date `json:"validFrom,omitempty"`

	// ValidTo Last Day Discount is Valid
	ValidTo *openapi_types.Date `json:"validTo,omitempty"`
}

DeleteDiscountEndpointProductDeleteDiscountResponseModel defines model for DeleteDiscountEndpointProductDeleteDiscountResponseModel.

type DeleteDiscountsByIdParams

type DeleteDiscountsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteDiscountsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteDiscountsByIdParams defines parameters for DeleteDiscountsById.

type DeleteDiscountsByIdParamsSequenceVersion

type DeleteDiscountsByIdParamsSequenceVersion string

DeleteDiscountsByIdParamsSequenceVersion defines parameters for DeleteDiscountsById.

const (
	DeleteDiscountsByIdParamsSequenceVersionN20240730 DeleteDiscountsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteDiscountsByIdParamsSequenceVersion.

type DeleteDiscountsByIdResponse

type DeleteDiscountsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteDiscountEndpointProductDeleteDiscountResponseModel
}

func ParseDeleteDiscountsByIdResponse

func ParseDeleteDiscountsByIdResponse(rsp *http.Response) (*DeleteDiscountsByIdResponse, error)

ParseDeleteDiscountsByIdResponse parses an HTTP response from a DeleteDiscountsByIdWithResponse call

func (DeleteDiscountsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDiscountsByIdResponse) StatusCode

func (r DeleteDiscountsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInvoiceEndpointProductDeleteInvoiceResponseModel

type DeleteInvoiceEndpointProductDeleteInvoiceResponseModel struct {
	// AccountingDate Accounting date
	AccountingDate openapi_types.Date `json:"accountingDate"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId *string `json:"billingScheduleId,omitempty"`

	// CalculatedAt Time this invoice was last calculated (applicable for invoices generated by billing engine only)
	CalculatedAt *string `json:"calculatedAt,omitempty"`

	// CreatedAt Creation time
	CreatedAt string `json:"createdAt"`

	// CreditBalances Credit balances
	CreditBalances *string `json:"creditBalances,omitempty"`

	// CreditNoteIds IDs of linked credit notes (if any)
	CreditNoteIds []string `json:"creditNoteIds"`
	Currency      Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress Address1 `json:"customerBillingAddress"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails []string `json:"customerEmails"`

	// CustomerId The ID of the Customer this invoice is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName string `json:"customerLegalCompanyName"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress Address1 `json:"customerShippingAddress"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId     *string    `json:"customerTaxId,omitempty"`
	CustomerTaxStatus *TaxStatus `json:"customerTaxStatus,omitempty"`

	// DueDate Due date
	DueDate       *openapi_types.Date   `json:"dueDate,omitempty"`
	DunningStatus *InvoiceDunningStatus `json:"dunningStatus,omitempty"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// Id Invoice ID
	Id string `json:"id"`

	// InvoiceNumber Invoice number
	InvoiceNumber *string `json:"invoiceNumber,omitempty"`

	// IsCustomerArchived isCustomerArchived
	IsCustomerArchived bool `json:"isCustomerArchived"`

	// IssueDate Issue date
	IssueDate *openapi_types.Date `json:"issueDate,omitempty"`

	// LinkedServices External services which are linked to this invoice
	LinkedServices []LinkInfo `json:"linkedServices"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// MerchantDetails Merchant details
	MerchantDetails *InvoiceMerchantDetails `json:"merchantDetails,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata []KeyValuePair `json:"metadata"`

	// NetTotal Net total, in decimal format of the Invoice's currency
	NetTotal string `json:"netTotal"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`
	PaymentStatus  InvoicePaymentStatus    `json:"paymentStatus"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`

	// RenderSettings Settings that control how the invoice is rendered.
	RenderSettings InvoiceRenderSettingsInlineAggregate `json:"renderSettings"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string        `json:"sequenceAccountId"`
	Status            InvoiceStatus `json:"status"`

	// TotalTax Total tax, in decimal format of the Invoice's currency
	TotalTax string `json:"totalTax"`
}

DeleteInvoiceEndpointProductDeleteInvoiceResponseModel defines model for DeleteInvoiceEndpointProductDeleteInvoiceResponseModel.

type DeleteInvoiceSettingsEndpointProductDeleteInvoiceSettingsResponseModel

type DeleteInvoiceSettingsEndpointProductDeleteInvoiceSettingsResponseModel struct {
	// CustomerId Customer ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id string `json:"id"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

DeleteInvoiceSettingsEndpointProductDeleteInvoiceSettingsResponseModel defines model for DeleteInvoiceSettingsEndpointProductDeleteInvoiceSettingsResponseModel.

type DeleteInvoicesByIdParams

type DeleteInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteInvoicesByIdParams defines parameters for DeleteInvoicesById.

type DeleteInvoicesByIdParamsSequenceVersion

type DeleteInvoicesByIdParamsSequenceVersion string

DeleteInvoicesByIdParamsSequenceVersion defines parameters for DeleteInvoicesById.

const (
	DeleteInvoicesByIdParamsSequenceVersionN20240730 DeleteInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteInvoicesByIdParamsSequenceVersion.

type DeleteInvoicesByIdResponse

type DeleteInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteInvoiceEndpointProductDeleteInvoiceResponseModel
}

func ParseDeleteInvoicesByIdResponse

func ParseDeleteInvoicesByIdResponse(rsp *http.Response) (*DeleteInvoicesByIdResponse, error)

ParseDeleteInvoicesByIdResponse parses an HTTP response from a DeleteInvoicesByIdWithResponse call

func (DeleteInvoicesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteInvoicesByIdResponse) StatusCode

func (r DeleteInvoicesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInvoicesByInvoiceLineItemGroupsByIdParams

type DeleteInvoicesByInvoiceLineItemGroupsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteInvoicesByInvoiceLineItemGroupsByIdParams defines parameters for DeleteInvoicesByInvoiceLineItemGroupsById.

type DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion

type DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion string

DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion defines parameters for DeleteInvoicesByInvoiceLineItemGroupsById.

const (
	DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersionN20240730 DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion.

type DeleteInvoicesByInvoiceLineItemGroupsByIdResponse

type DeleteInvoicesByInvoiceLineItemGroupsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LineItemGroupResponseModel
}

func ParseDeleteInvoicesByInvoiceLineItemGroupsByIdResponse

func ParseDeleteInvoicesByInvoiceLineItemGroupsByIdResponse(rsp *http.Response) (*DeleteInvoicesByInvoiceLineItemGroupsByIdResponse, error)

ParseDeleteInvoicesByInvoiceLineItemGroupsByIdResponse parses an HTTP response from a DeleteInvoicesByInvoiceLineItemGroupsByIdWithResponse call

func (DeleteInvoicesByInvoiceLineItemGroupsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteInvoicesByInvoiceLineItemGroupsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteInvoicesByInvoiceLineItemsByIdParams

type DeleteInvoicesByInvoiceLineItemsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteInvoicesByInvoiceLineItemsByIdParams defines parameters for DeleteInvoicesByInvoiceLineItemsById.

type DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion

type DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion string

DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion defines parameters for DeleteInvoicesByInvoiceLineItemsById.

const (
	DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersionN20240730 DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteInvoicesByInvoiceLineItemsByIdParamsSequenceVersion.

type DeleteInvoicesByInvoiceLineItemsByIdResponse

type DeleteInvoicesByInvoiceLineItemsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240101LineItemResponse
}

func ParseDeleteInvoicesByInvoiceLineItemsByIdResponse

func ParseDeleteInvoicesByInvoiceLineItemsByIdResponse(rsp *http.Response) (*DeleteInvoicesByInvoiceLineItemsByIdResponse, error)

ParseDeleteInvoicesByInvoiceLineItemsByIdResponse parses an HTTP response from a DeleteInvoicesByInvoiceLineItemsByIdWithResponse call

func (DeleteInvoicesByInvoiceLineItemsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteInvoicesByInvoiceLineItemsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteNotificationsPoliciesByIdNotificationTypesByTypeParams defines parameters for DeleteNotificationsPoliciesByIdNotificationTypesByType.

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion string

DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion defines parameters for DeleteNotificationsPoliciesByIdNotificationTypesByType.

const (
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersionN20240730 DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsSequenceVersion.

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType string

DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType defines parameters for DeleteNotificationsPoliciesByIdNotificationTypesByType.

const (
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeBILLINGSCHEDULEARCHIVED   DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "BILLING_SCHEDULE_ARCHIVED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeBILLINGSCHEDULECREATED    DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "BILLING_SCHEDULE_CREATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeBILLINGSCHEDULEUPDATED    DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "BILLING_SCHEDULE_UPDATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCREDITNOTECREATED         DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CREDIT_NOTE_CREATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCREDITNOTEISSUED          DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CREDIT_NOTE_ISSUED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCREDITNOTEUPDATED         DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CREDIT_NOTE_UPDATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCUSTOMERARCHIVED          DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CUSTOMER_ARCHIVED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCUSTOMERCREATED           DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CUSTOMER_CREATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeCUSTOMERUPDATED           DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "CUSTOMER_UPDATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeINTEGRATIONSYNCCOMPLETED  DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "INTEGRATION_SYNC_COMPLETED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeINTEGRATIONWEBHOOKHANDLED DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "INTEGRATION_WEBHOOK_HANDLED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeINVOICECREATED            DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "INVOICE_CREATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeINVOICEISSUED             DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "INVOICE_ISSUED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeINVOICEUPDATED            DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "INVOICE_UPDATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeMERCHANTUPDATED           DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "MERCHANT_UPDATED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeQUOTEACCEPTED             DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "QUOTE_ACCEPTED"
	DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsTypeQUOTEPUBLISHED            DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType = "QUOTE_PUBLISHED"
)

Defines values for DeleteNotificationsPoliciesByIdNotificationTypesByTypeParamsType.

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse

type DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *DatabaseErrors
}

func ParseDeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse

func ParseDeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse(rsp *http.Response) (*DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse, error)

ParseDeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse parses an HTTP response from a DeleteNotificationsPoliciesByIdNotificationTypesByTypeWithResponse call

func (DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotificationsPoliciesByIdNotificationTypesByTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteNotificationsPoliciesByIdParams

type DeleteNotificationsPoliciesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteNotificationsPoliciesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteNotificationsPoliciesByIdParams defines parameters for DeleteNotificationsPoliciesById.

type DeleteNotificationsPoliciesByIdParamsSequenceVersion

type DeleteNotificationsPoliciesByIdParamsSequenceVersion string

DeleteNotificationsPoliciesByIdParamsSequenceVersion defines parameters for DeleteNotificationsPoliciesById.

const (
	DeleteNotificationsPoliciesByIdParamsSequenceVersionN20240730 DeleteNotificationsPoliciesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteNotificationsPoliciesByIdParamsSequenceVersion.

type DeleteNotificationsPoliciesByIdRecipientsByRecipientParams

type DeleteNotificationsPoliciesByIdRecipientsByRecipientParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteNotificationsPoliciesByIdRecipientsByRecipientParams defines parameters for DeleteNotificationsPoliciesByIdRecipientsByRecipient.

type DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion

type DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion string

DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion defines parameters for DeleteNotificationsPoliciesByIdRecipientsByRecipient.

const (
	DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersionN20240730 DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteNotificationsPoliciesByIdRecipientsByRecipientParamsSequenceVersion.

type DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse

type DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *DatabaseErrors
}

func ParseDeleteNotificationsPoliciesByIdRecipientsByRecipientResponse

func ParseDeleteNotificationsPoliciesByIdRecipientsByRecipientResponse(rsp *http.Response) (*DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse, error)

ParseDeleteNotificationsPoliciesByIdRecipientsByRecipientResponse parses an HTTP response from a DeleteNotificationsPoliciesByIdRecipientsByRecipientWithResponse call

func (DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotificationsPoliciesByIdRecipientsByRecipientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteNotificationsPoliciesByIdResponse

type DeleteNotificationsPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
}

func ParseDeleteNotificationsPoliciesByIdResponse

func ParseDeleteNotificationsPoliciesByIdResponse(rsp *http.Response) (*DeleteNotificationsPoliciesByIdResponse, error)

ParseDeleteNotificationsPoliciesByIdResponse parses an HTTP response from a DeleteNotificationsPoliciesByIdWithResponse call

func (DeleteNotificationsPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotificationsPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeletePaymentsSettingsBillingSchedulesByIdParams

type DeletePaymentsSettingsBillingSchedulesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeletePaymentsSettingsBillingSchedulesByIdParams defines parameters for DeletePaymentsSettingsBillingSchedulesById.

type DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion

type DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion string

DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion defines parameters for DeletePaymentsSettingsBillingSchedulesById.

const (
	DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersionN20240730 DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeletePaymentsSettingsBillingSchedulesByIdParamsSequenceVersion.

type DeletePaymentsSettingsBillingSchedulesByIdResponse

type DeletePaymentsSettingsBillingSchedulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleSettings
}

func ParseDeletePaymentsSettingsBillingSchedulesByIdResponse

func ParseDeletePaymentsSettingsBillingSchedulesByIdResponse(rsp *http.Response) (*DeletePaymentsSettingsBillingSchedulesByIdResponse, error)

ParseDeletePaymentsSettingsBillingSchedulesByIdResponse parses an HTTP response from a DeletePaymentsSettingsBillingSchedulesByIdWithResponse call

func (DeletePaymentsSettingsBillingSchedulesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeletePaymentsSettingsBillingSchedulesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeletePaymentsSettingsCustomersByIdParams

type DeletePaymentsSettingsCustomersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeletePaymentsSettingsCustomersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeletePaymentsSettingsCustomersByIdParams defines parameters for DeletePaymentsSettingsCustomersById.

type DeletePaymentsSettingsCustomersByIdParamsSequenceVersion

type DeletePaymentsSettingsCustomersByIdParamsSequenceVersion string

DeletePaymentsSettingsCustomersByIdParamsSequenceVersion defines parameters for DeletePaymentsSettingsCustomersById.

const (
	DeletePaymentsSettingsCustomersByIdParamsSequenceVersionN20240730 DeletePaymentsSettingsCustomersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeletePaymentsSettingsCustomersByIdParamsSequenceVersion.

type DeletePaymentsSettingsCustomersByIdResponse

type DeletePaymentsSettingsCustomersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteCustomerSettingsEndpointProductDeleteCustomerSettingsResponseModel
}

func ParseDeletePaymentsSettingsCustomersByIdResponse

func ParseDeletePaymentsSettingsCustomersByIdResponse(rsp *http.Response) (*DeletePaymentsSettingsCustomersByIdResponse, error)

ParseDeletePaymentsSettingsCustomersByIdResponse parses an HTTP response from a DeletePaymentsSettingsCustomersByIdWithResponse call

func (DeletePaymentsSettingsCustomersByIdResponse) Status

Status returns HTTPResponse.Status

func (DeletePaymentsSettingsCustomersByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeletePaymentsSettingsInvoicesByIdParams

type DeletePaymentsSettingsInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeletePaymentsSettingsInvoicesByIdParams defines parameters for DeletePaymentsSettingsInvoicesById.

type DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion

type DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion string

DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion defines parameters for DeletePaymentsSettingsInvoicesById.

const (
	DeletePaymentsSettingsInvoicesByIdParamsSequenceVersionN20240730 DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeletePaymentsSettingsInvoicesByIdParamsSequenceVersion.

type DeletePaymentsSettingsInvoicesByIdResponse

type DeletePaymentsSettingsInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteInvoiceSettingsEndpointProductDeleteInvoiceSettingsResponseModel
}

func ParseDeletePaymentsSettingsInvoicesByIdResponse

func ParseDeletePaymentsSettingsInvoicesByIdResponse(rsp *http.Response) (*DeletePaymentsSettingsInvoicesByIdResponse, error)

ParseDeletePaymentsSettingsInvoicesByIdResponse parses an HTTP response from a DeletePaymentsSettingsInvoicesByIdWithResponse call

func (DeletePaymentsSettingsInvoicesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeletePaymentsSettingsInvoicesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeletePricesByIdParams

type DeletePricesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeletePricesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeletePricesByIdParams defines parameters for DeletePricesById.

type DeletePricesByIdParamsSequenceVersion

type DeletePricesByIdParamsSequenceVersion string

DeletePricesByIdParamsSequenceVersion defines parameters for DeletePricesById.

const (
	DeletePricesByIdParamsSequenceVersionN20240730 DeletePricesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeletePricesByIdParamsSequenceVersion.

type DeletePricesByIdResponse

type DeletePricesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseDeletePricesByIdResponse

func ParseDeletePricesByIdResponse(rsp *http.Response) (*DeletePricesByIdResponse, error)

ParseDeletePricesByIdResponse parses an HTTP response from a DeletePricesByIdWithResponse call

func (DeletePricesByIdResponse) Status

func (r DeletePricesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePricesByIdResponse) StatusCode

func (r DeletePricesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSeatMetricsByIdParams

type DeleteSeatMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteSeatMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteSeatMetricsByIdParams defines parameters for DeleteSeatMetricsById.

type DeleteSeatMetricsByIdParamsSequenceVersion

type DeleteSeatMetricsByIdParamsSequenceVersion string

DeleteSeatMetricsByIdParamsSequenceVersion defines parameters for DeleteSeatMetricsById.

const (
	DeleteSeatMetricsByIdParamsSequenceVersionN20240730 DeleteSeatMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteSeatMetricsByIdParamsSequenceVersion.

type DeleteSeatMetricsByIdResponse

type DeleteSeatMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeatMetric
}

func ParseDeleteSeatMetricsByIdResponse

func ParseDeleteSeatMetricsByIdResponse(rsp *http.Response) (*DeleteSeatMetricsByIdResponse, error)

ParseDeleteSeatMetricsByIdResponse parses an HTTP response from a DeleteSeatMetricsByIdWithResponse call

func (DeleteSeatMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteSeatMetricsByIdResponse) StatusCode

func (r DeleteSeatMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTaxRatesByIdParams

type DeleteTaxRatesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteTaxRatesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteTaxRatesByIdParams defines parameters for DeleteTaxRatesById.

type DeleteTaxRatesByIdParamsSequenceVersion

type DeleteTaxRatesByIdParamsSequenceVersion string

DeleteTaxRatesByIdParamsSequenceVersion defines parameters for DeleteTaxRatesById.

const (
	DeleteTaxRatesByIdParamsSequenceVersionN20240730 DeleteTaxRatesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteTaxRatesByIdParamsSequenceVersion.

type DeleteTaxRatesByIdResponse

type DeleteTaxRatesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRateResponse
}

func ParseDeleteTaxRatesByIdResponse

func ParseDeleteTaxRatesByIdResponse(rsp *http.Response) (*DeleteTaxRatesByIdResponse, error)

ParseDeleteTaxRatesByIdResponse parses an HTTP response from a DeleteTaxRatesByIdWithResponse call

func (DeleteTaxRatesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteTaxRatesByIdResponse) StatusCode

func (r DeleteTaxRatesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTaxRegistrationEndpointProductDeleteTaxRegistrationResponseModel

type DeleteTaxRegistrationEndpointProductDeleteTaxRegistrationResponseModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

DeleteTaxRegistrationEndpointProductDeleteTaxRegistrationResponseModel defines model for DeleteTaxRegistrationEndpointProductDeleteTaxRegistrationResponseModel.

type DeleteTaxRegistrationsByIdParams

type DeleteTaxRegistrationsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteTaxRegistrationsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteTaxRegistrationsByIdParams defines parameters for DeleteTaxRegistrationsById.

type DeleteTaxRegistrationsByIdParamsSequenceVersion

type DeleteTaxRegistrationsByIdParamsSequenceVersion string

DeleteTaxRegistrationsByIdParamsSequenceVersion defines parameters for DeleteTaxRegistrationsById.

const (
	DeleteTaxRegistrationsByIdParamsSequenceVersionN20240730 DeleteTaxRegistrationsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteTaxRegistrationsByIdParamsSequenceVersion.

type DeleteTaxRegistrationsByIdResponse

type DeleteTaxRegistrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteTaxRegistrationEndpointProductDeleteTaxRegistrationResponseModel
}

func ParseDeleteTaxRegistrationsByIdResponse

func ParseDeleteTaxRegistrationsByIdResponse(rsp *http.Response) (*DeleteTaxRegistrationsByIdResponse, error)

ParseDeleteTaxRegistrationsByIdResponse parses an HTTP response from a DeleteTaxRegistrationsByIdWithResponse call

func (DeleteTaxRegistrationsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteTaxRegistrationsByIdResponse) StatusCode

func (r DeleteTaxRegistrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUsageMetricEndpointProductDeleteUsageMetricResponseModel

type DeleteUsageMetricEndpointProductDeleteUsageMetricResponseModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// CreatedAt Created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string `json:"groupingProperty,omitempty"`

	// Id Unique ID
	Id         string     `json:"id"`
	MetricType MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// Parameters Required parameters
	Parameters []CustomMetricParameter `json:"parameters"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters map[string]map[string]interface{} `json:"propertyFilters"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

DeleteUsageMetricEndpointProductDeleteUsageMetricResponseModel defines model for DeleteUsageMetricEndpointProductDeleteUsageMetricResponseModel.

type DeleteUsageMetricsByIdParams

type DeleteUsageMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteUsageMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteUsageMetricsByIdParams defines parameters for DeleteUsageMetricsById.

type DeleteUsageMetricsByIdParamsSequenceVersion

type DeleteUsageMetricsByIdParamsSequenceVersion string

DeleteUsageMetricsByIdParamsSequenceVersion defines parameters for DeleteUsageMetricsById.

const (
	DeleteUsageMetricsByIdParamsSequenceVersionN20240730 DeleteUsageMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteUsageMetricsByIdParamsSequenceVersion.

type DeleteUsageMetricsByIdResponse

type DeleteUsageMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteUsageMetricEndpointProductDeleteUsageMetricResponseModel
}

func ParseDeleteUsageMetricsByIdResponse

func ParseDeleteUsageMetricsByIdResponse(rsp *http.Response) (*DeleteUsageMetricsByIdResponse, error)

ParseDeleteUsageMetricsByIdResponse parses an HTTP response from a DeleteUsageMetricsByIdWithResponse call

func (DeleteUsageMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteUsageMetricsByIdResponse) StatusCode

func (r DeleteUsageMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUsersByIdParams

type DeleteUsersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *DeleteUsersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

DeleteUsersByIdParams defines parameters for DeleteUsersById.

type DeleteUsersByIdParamsSequenceVersion

type DeleteUsersByIdParamsSequenceVersion string

DeleteUsersByIdParamsSequenceVersion defines parameters for DeleteUsersById.

const (
	DeleteUsersByIdParamsSequenceVersionN20240730 DeleteUsersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for DeleteUsersByIdParamsSequenceVersion.

type DeleteUsersByIdResponse

type DeleteUsersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SequenceUserResponse
}

func ParseDeleteUsersByIdResponse

func ParseDeleteUsersByIdResponse(rsp *http.Response) (*DeleteUsersByIdResponse, error)

ParseDeleteUsersByIdResponse parses an HTTP response from a DeleteUsersByIdWithResponse call

func (DeleteUsersByIdResponse) Status

func (r DeleteUsersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUsersByIdResponse) StatusCode

func (r DeleteUsersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DiscountCalculationType

type DiscountCalculationType string

DiscountCalculationType defines model for DiscountCalculationType.

const (
	DiscountCalculationTypeNOMINAL    DiscountCalculationType = "NOMINAL"
	DiscountCalculationTypePERCENTAGE DiscountCalculationType = "PERCENTAGE"
)

Defines values for DiscountCalculationType.

type EmbeddableDiscount

type EmbeddableDiscount struct {
	// Amount The discount amount
	Amount float32 `json:"amount"`

	// Message The message to show on an invoice
	Message string `json:"message"`

	// RestrictToPrices Price IDs to which this discount applies
	RestrictToPrices *[]string `json:"restrictToPrices,omitempty"`

	// SeparateLineItem If true the discount will show as a separate line item on an invoice
	SeparateLineItem bool                    `json:"separateLineItem"`
	Type             DiscountCalculationType `json:"type"`
}

EmbeddableDiscount defines model for EmbeddableDiscount.

type FixedListPriceRequest

type FixedListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure FixedPricingStructure `json:"structure"`
}

FixedListPriceRequest defines model for FixedListPriceRequest.

type FixedListPriceResponse

type FixedListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure FixedPricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

FixedListPriceResponse defines model for FixedListPriceResponse.

type FixedPriceRequest

type FixedPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure FixedPricingStructure1 `json:"structure"`
}

FixedPriceRequest defines model for FixedPriceRequest.

type FixedPriceResponse

type FixedPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure FixedPricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

FixedPriceResponse defines model for FixedPriceResponse.

type FixedPricingStructure

type FixedPricingStructure struct {
	// Price A fixed amount that is charged once every billing period.
	Price       string           `json:"price"`
	PricingType FixedPricingType `json:"pricingType"`
}

FixedPricingStructure The pricing structure

type FixedPricingStructure1

type FixedPricingStructure1 struct {
	// Price A fixed amount that is charged once every billing period.
	Price       string           `json:"price"`
	PricingType FixedPricingType `json:"pricingType"`
}

FixedPricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type FixedPricingType

type FixedPricingType string

FixedPricingType defines model for FixedPricingType.

const (
	FIXED FixedPricingType = "FIXED"
)

Defines values for FixedPricingType.

type GenerateIntegrationIdRequest

type GenerateIntegrationIdRequest struct {
	Id      string             `json:"id"`
	Service IntegrationService `json:"service"`
}

GenerateIntegrationIdRequest defines model for GenerateIntegrationIdRequest.

type GenerateIntegrationIdRequest1

type GenerateIntegrationIdRequest1 struct {
	Id      string             `json:"id"`
	Service IntegrationService `json:"service"`
}

GenerateIntegrationIdRequest1 defines model for GenerateIntegrationIdRequest1.

type GenerateIntegrationIdRequest2

type GenerateIntegrationIdRequest2 struct {
	Id      string             `json:"id"`
	Service IntegrationService `json:"service"`
}

GenerateIntegrationIdRequest2 defines model for GenerateIntegrationIdRequest2.

type GetBillingProductsParams

type GetBillingProductsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetBillingProductsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetBillingProductsParams defines parameters for GetBillingProducts.

type GetBillingProductsParamsSequenceVersion

type GetBillingProductsParamsSequenceVersion string

GetBillingProductsParamsSequenceVersion defines parameters for GetBillingProducts.

const (
	GetBillingProductsParamsSequenceVersionN20240730 GetBillingProductsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetBillingProductsParamsSequenceVersion.

type GetBillingProductsResponse

type GetBillingProductsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListBillingProductsEndpointListProductResponsePaginatedResponseModel
}

func ParseGetBillingProductsResponse

func ParseGetBillingProductsResponse(rsp *http.Response) (*GetBillingProductsResponse, error)

ParseGetBillingProductsResponse parses an HTTP response from a GetBillingProductsWithResponse call

func (GetBillingProductsResponse) Status

Status returns HTTPResponse.Status

func (GetBillingProductsResponse) StatusCode

func (r GetBillingProductsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBillingScheduleEndpointApiBillingScheduleStatus

type GetBillingScheduleEndpointApiBillingScheduleStatus string

GetBillingScheduleEndpointApiBillingScheduleStatus defines model for GetBillingScheduleEndpointApiBillingScheduleStatus.

const (
	GetBillingScheduleEndpointApiBillingScheduleStatusACTIVE    GetBillingScheduleEndpointApiBillingScheduleStatus = "ACTIVE"
	GetBillingScheduleEndpointApiBillingScheduleStatusCANCELLED GetBillingScheduleEndpointApiBillingScheduleStatus = "CANCELLED"
	GetBillingScheduleEndpointApiBillingScheduleStatusCOMPLETED GetBillingScheduleEndpointApiBillingScheduleStatus = "COMPLETED"
	GetBillingScheduleEndpointApiBillingScheduleStatusDRAFT     GetBillingScheduleEndpointApiBillingScheduleStatus = "DRAFT"
	GetBillingScheduleEndpointApiBillingScheduleStatusPENDING   GetBillingScheduleEndpointApiBillingScheduleStatus = "PENDING"
	GetBillingScheduleEndpointApiBillingScheduleStatusSUSPENDED GetBillingScheduleEndpointApiBillingScheduleStatus = "SUSPENDED"
)

Defines values for GetBillingScheduleEndpointApiBillingScheduleStatus.

type GetBillingSchedulesByBillingScheduleIdParams

type GetBillingSchedulesByBillingScheduleIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetBillingSchedulesByBillingScheduleIdParams defines parameters for GetBillingSchedulesByBillingScheduleId.

type GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion

type GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion string

GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion defines parameters for GetBillingSchedulesByBillingScheduleId.

const (
	GetBillingSchedulesByBillingScheduleIdParamsSequenceVersionN20240730 GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetBillingSchedulesByBillingScheduleIdParamsSequenceVersion.

type GetBillingSchedulesByBillingScheduleIdResponse

type GetBillingSchedulesByBillingScheduleIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleResponse
}

func ParseGetBillingSchedulesByBillingScheduleIdResponse

func ParseGetBillingSchedulesByBillingScheduleIdResponse(rsp *http.Response) (*GetBillingSchedulesByBillingScheduleIdResponse, error)

ParseGetBillingSchedulesByBillingScheduleIdResponse parses an HTTP response from a GetBillingSchedulesByBillingScheduleIdWithResponse call

func (GetBillingSchedulesByBillingScheduleIdResponse) Status

Status returns HTTPResponse.Status

func (GetBillingSchedulesByBillingScheduleIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetBillingSchedulesParams

type GetBillingSchedulesParams struct {
	// CustomerId Filter by customer ID.
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`

	// BillingScheduleStatus Filter by status.
	BillingScheduleStatus *string `form:"billingScheduleStatus,omitempty" json:"billingScheduleStatus,omitempty"`

	// AutoSendInvoices Filter by auto send invoices.
	AutoSendInvoices *string `form:"autoSendInvoices,omitempty" json:"autoSendInvoices,omitempty"`

	// Label Filter by label.
	Label *string `form:"label,omitempty" json:"label,omitempty"`

	// IncludeArchivedSchedules Include archived schedules.
	IncludeArchivedSchedules *string `form:"includeArchivedSchedules,omitempty" json:"includeArchivedSchedules,omitempty"`

	// SortBy Sort column. Default: creation time.
	SortBy *GetBillingSchedulesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetBillingSchedulesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetBillingSchedulesParams defines parameters for GetBillingSchedules.

type GetBillingSchedulesParamsSequenceVersion

type GetBillingSchedulesParamsSequenceVersion string

GetBillingSchedulesParamsSequenceVersion defines parameters for GetBillingSchedules.

const (
	GetBillingSchedulesParamsSequenceVersionN20240730 GetBillingSchedulesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetBillingSchedulesParamsSequenceVersion.

type GetBillingSchedulesParamsSortBy

type GetBillingSchedulesParamsSortBy string

GetBillingSchedulesParamsSortBy defines parameters for GetBillingSchedules.

const (
	STARTDATE GetBillingSchedulesParamsSortBy = "START_DATE"
)

Defines values for GetBillingSchedulesParamsSortBy.

type GetBillingSchedulesResponse

type GetBillingSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListBillingSchedulesResponse
}

func ParseGetBillingSchedulesResponse

func ParseGetBillingSchedulesResponse(rsp *http.Response) (*GetBillingSchedulesResponse, error)

ParseGetBillingSchedulesResponse parses an HTTP response from a GetBillingSchedulesWithResponse call

func (GetBillingSchedulesResponse) Status

Status returns HTTPResponse.Status

func (GetBillingSchedulesResponse) StatusCode

func (r GetBillingSchedulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetByInvoiceIdProductGetInvoiceSettingsResponseModel

type GetByInvoiceIdProductGetInvoiceSettingsResponseModel struct {
	// Id Unique payment provider id.
	Id string `json:"id"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

GetByInvoiceIdProductGetInvoiceSettingsResponseModel defines model for GetByInvoiceIdProductGetInvoiceSettingsResponseModel.

type GetCreditNotesByCreditnoteLineItemGroupsParams

type GetCreditNotesByCreditnoteLineItemGroupsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditNotesByCreditnoteLineItemGroupsParams defines parameters for GetCreditNotesByCreditnoteLineItemGroups.

type GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion

type GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion string

GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion defines parameters for GetCreditNotesByCreditnoteLineItemGroups.

const (
	GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersionN20240730 GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion.

type GetCreditNotesByCreditnoteLineItemGroupsResponse

type GetCreditNotesByCreditnoteLineItemGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupPaginatedResponseModel
}

func ParseGetCreditNotesByCreditnoteLineItemGroupsResponse

func ParseGetCreditNotesByCreditnoteLineItemGroupsResponse(rsp *http.Response) (*GetCreditNotesByCreditnoteLineItemGroupsResponse, error)

ParseGetCreditNotesByCreditnoteLineItemGroupsResponse parses an HTTP response from a GetCreditNotesByCreditnoteLineItemGroupsWithResponse call

func (GetCreditNotesByCreditnoteLineItemGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetCreditNotesByCreditnoteLineItemGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCreditNotesByCreditnoteLineItemsParams

type GetCreditNotesByCreditnoteLineItemsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditNotesByCreditnoteLineItemsParams defines parameters for GetCreditNotesByCreditnoteLineItems.

type GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion

type GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion string

GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion defines parameters for GetCreditNotesByCreditnoteLineItems.

const (
	GetCreditNotesByCreditnoteLineItemsParamsSequenceVersionN20240730 GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditNotesByCreditnoteLineItemsParamsSequenceVersion.

type GetCreditNotesByCreditnoteLineItemsResponse

type GetCreditNotesByCreditnoteLineItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCreditNoteLineItemEndpointProductListCreditNoteLineItemPaginatedResponseModel
}

func ParseGetCreditNotesByCreditnoteLineItemsResponse

func ParseGetCreditNotesByCreditnoteLineItemsResponse(rsp *http.Response) (*GetCreditNotesByCreditnoteLineItemsResponse, error)

ParseGetCreditNotesByCreditnoteLineItemsResponse parses an HTTP response from a GetCreditNotesByCreditnoteLineItemsWithResponse call

func (GetCreditNotesByCreditnoteLineItemsResponse) Status

Status returns HTTPResponse.Status

func (GetCreditNotesByCreditnoteLineItemsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCreditNotesByIdDownloadParams

type GetCreditNotesByIdDownloadParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditNotesByIdDownloadParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditNotesByIdDownloadParams defines parameters for GetCreditNotesByIdDownload.

type GetCreditNotesByIdDownloadParamsSequenceVersion

type GetCreditNotesByIdDownloadParamsSequenceVersion string

GetCreditNotesByIdDownloadParamsSequenceVersion defines parameters for GetCreditNotesByIdDownload.

const (
	GetCreditNotesByIdDownloadParamsSequenceVersionN20240730 GetCreditNotesByIdDownloadParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditNotesByIdDownloadParamsSequenceVersion.

type GetCreditNotesByIdDownloadResponse

type GetCreditNotesByIdDownloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetCreditNotesByIdDownloadResponse

func ParseGetCreditNotesByIdDownloadResponse(rsp *http.Response) (*GetCreditNotesByIdDownloadResponse, error)

ParseGetCreditNotesByIdDownloadResponse parses an HTTP response from a GetCreditNotesByIdDownloadWithResponse call

func (GetCreditNotesByIdDownloadResponse) Status

Status returns HTTPResponse.Status

func (GetCreditNotesByIdDownloadResponse) StatusCode

func (r GetCreditNotesByIdDownloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreditNotesByIdParams

type GetCreditNotesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditNotesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditNotesByIdParams defines parameters for GetCreditNotesById.

type GetCreditNotesByIdParamsSequenceVersion

type GetCreditNotesByIdParamsSequenceVersion string

GetCreditNotesByIdParamsSequenceVersion defines parameters for GetCreditNotesById.

const (
	GetCreditNotesByIdParamsSequenceVersionN20240730 GetCreditNotesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditNotesByIdParamsSequenceVersion.

type GetCreditNotesByIdResponse

type GetCreditNotesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParseGetCreditNotesByIdResponse

func ParseGetCreditNotesByIdResponse(rsp *http.Response) (*GetCreditNotesByIdResponse, error)

ParseGetCreditNotesByIdResponse parses an HTTP response from a GetCreditNotesByIdWithResponse call

func (GetCreditNotesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetCreditNotesByIdResponse) StatusCode

func (r GetCreditNotesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreditNotesParams

type GetCreditNotesParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortBy Sort column. Default: creation time. Options: GROSS_TOTAL, CREDIT_NOTE_NUMBER, STATUS
	SortBy *string `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// CreditNoteStatus Filter by credit note status. Options: DRAFT, FINAL, IN_PROGRESS, SENT, VOIDED
	CreditNoteStatus *string `form:"creditNoteStatus,omitempty" json:"creditNoteStatus,omitempty"`

	// CustomerId Filter by customer id.
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`

	// SentBefore Filter by sent date before. Format: yyyy-MM-dd
	SentBefore *string `form:"sentBefore,omitempty" json:"sentBefore,omitempty"`

	// SentAfter Filter by sent date after. Format: yyyy-MM-dd
	SentAfter *string `form:"sentAfter,omitempty" json:"sentAfter,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditNotesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditNotesParams defines parameters for GetCreditNotes.

type GetCreditNotesParamsSequenceVersion

type GetCreditNotesParamsSequenceVersion string

GetCreditNotesParamsSequenceVersion defines parameters for GetCreditNotes.

const (
	GetCreditNotesParamsSequenceVersionN20240730 GetCreditNotesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditNotesParamsSequenceVersion.

type GetCreditNotesResponse

type GetCreditNotesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCreditNoteEndpointProductListCreditNotePaginatedResponseModel
}

func ParseGetCreditNotesResponse

func ParseGetCreditNotesResponse(rsp *http.Response) (*GetCreditNotesResponse, error)

ParseGetCreditNotesResponse parses an HTTP response from a GetCreditNotesWithResponse call

func (GetCreditNotesResponse) Status

func (r GetCreditNotesResponse) Status() string

Status returns HTTPResponse.Status

func (GetCreditNotesResponse) StatusCode

func (r GetCreditNotesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreditsByCustomerIdBalancesParams

type GetCreditsByCustomerIdBalancesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditsByCustomerIdBalancesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditsByCustomerIdBalancesParams defines parameters for GetCreditsByCustomerIdBalances.

type GetCreditsByCustomerIdBalancesParamsSequenceVersion

type GetCreditsByCustomerIdBalancesParamsSequenceVersion string

GetCreditsByCustomerIdBalancesParamsSequenceVersion defines parameters for GetCreditsByCustomerIdBalances.

const (
	GetCreditsByCustomerIdBalancesParamsSequenceVersionN20240730 GetCreditsByCustomerIdBalancesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditsByCustomerIdBalancesParamsSequenceVersion.

type GetCreditsByCustomerIdBalancesResponse

type GetCreditsByCustomerIdBalancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditBalancesReply
}

func ParseGetCreditsByCustomerIdBalancesResponse

func ParseGetCreditsByCustomerIdBalancesResponse(rsp *http.Response) (*GetCreditsByCustomerIdBalancesResponse, error)

ParseGetCreditsByCustomerIdBalancesResponse parses an HTTP response from a GetCreditsByCustomerIdBalancesWithResponse call

func (GetCreditsByCustomerIdBalancesResponse) Status

Status returns HTTPResponse.Status

func (GetCreditsByCustomerIdBalancesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCreditsByCustomerIdGrantsParams

type GetCreditsByCustomerIdGrantsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditsByCustomerIdGrantsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditsByCustomerIdGrantsParams defines parameters for GetCreditsByCustomerIdGrants.

type GetCreditsByCustomerIdGrantsParamsSequenceVersion

type GetCreditsByCustomerIdGrantsParamsSequenceVersion string

GetCreditsByCustomerIdGrantsParamsSequenceVersion defines parameters for GetCreditsByCustomerIdGrants.

const (
	GetCreditsByCustomerIdGrantsParamsSequenceVersionN20240730 GetCreditsByCustomerIdGrantsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditsByCustomerIdGrantsParamsSequenceVersion.

type GetCreditsByCustomerIdGrantsResponse

type GetCreditsByCustomerIdGrantsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCreditGrantsForCustomerEndpointCreditGrantsResponse
}

func ParseGetCreditsByCustomerIdGrantsResponse

func ParseGetCreditsByCustomerIdGrantsResponse(rsp *http.Response) (*GetCreditsByCustomerIdGrantsResponse, error)

ParseGetCreditsByCustomerIdGrantsResponse parses an HTTP response from a GetCreditsByCustomerIdGrantsWithResponse call

func (GetCreditsByCustomerIdGrantsResponse) Status

Status returns HTTPResponse.Status

func (GetCreditsByCustomerIdGrantsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCreditsByIdParams

type GetCreditsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditsByIdParams defines parameters for GetCreditsById.

type GetCreditsByIdParamsSequenceVersion

type GetCreditsByIdParamsSequenceVersion string

GetCreditsByIdParamsSequenceVersion defines parameters for GetCreditsById.

const (
	GetCreditsByIdParamsSequenceVersionN20240730 GetCreditsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditsByIdParamsSequenceVersion.

type GetCreditsByIdResponse

type GetCreditsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditGrant
}

func ParseGetCreditsByIdResponse

func ParseGetCreditsByIdResponse(rsp *http.Response) (*GetCreditsByIdResponse, error)

ParseGetCreditsByIdResponse parses an HTTP response from a GetCreditsByIdWithResponse call

func (GetCreditsByIdResponse) Status

func (r GetCreditsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetCreditsByIdResponse) StatusCode

func (r GetCreditsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreditsParams

type GetCreditsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCreditsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCreditsParams defines parameters for GetCredits.

type GetCreditsParamsSequenceVersion

type GetCreditsParamsSequenceVersion string

GetCreditsParamsSequenceVersion defines parameters for GetCredits.

const (
	GetCreditsParamsSequenceVersionN20240730 GetCreditsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCreditsParamsSequenceVersion.

type GetCreditsResponse

type GetCreditsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCreditGrantEndpointResponseModel
}

func ParseGetCreditsResponse

func ParseGetCreditsResponse(rsp *http.Response) (*GetCreditsResponse, error)

ParseGetCreditsResponse parses an HTTP response from a GetCreditsWithResponse call

func (GetCreditsResponse) Status

func (r GetCreditsResponse) Status() string

Status returns HTTPResponse.Status

func (GetCreditsResponse) StatusCode

func (r GetCreditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomerAliasesEndpointEndpointResponse

type GetCustomerAliasesEndpointEndpointResponse struct {
	Items []CustomerAlias `json:"items"`
}

GetCustomerAliasesEndpointEndpointResponse defines model for GetCustomerAliasesEndpointEndpointResponse.

type GetCustomerAliasesParams

type GetCustomerAliasesParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomerAliasesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomerAliasesParams defines parameters for GetCustomerAliases.

type GetCustomerAliasesParamsSequenceVersion

type GetCustomerAliasesParamsSequenceVersion string

GetCustomerAliasesParamsSequenceVersion defines parameters for GetCustomerAliases.

const (
	GetCustomerAliasesParamsSequenceVersionN20240730 GetCustomerAliasesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomerAliasesParamsSequenceVersion.

type GetCustomerAliasesResponse

type GetCustomerAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCustomerAliasEndpointProductListCustomerAliasPaginatedResponseModel
}

func ParseGetCustomerAliasesResponse

func ParseGetCustomerAliasesResponse(rsp *http.Response) (*GetCustomerAliasesResponse, error)

ParseGetCustomerAliasesResponse parses an HTTP response from a GetCustomerAliasesWithResponse call

func (GetCustomerAliasesResponse) Status

Status returns HTTPResponse.Status

func (GetCustomerAliasesResponse) StatusCode

func (r GetCustomerAliasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomerSettingsEndpointProductGetCustomerSettingsResponseModel

type GetCustomerSettingsEndpointProductGetCustomerSettingsResponseModel struct {
	// CustomerId Customer Account ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id              string          `json:"id"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

GetCustomerSettingsEndpointProductGetCustomerSettingsResponseModel defines model for GetCustomerSettingsEndpointProductGetCustomerSettingsResponseModel.

type GetCustomersByAliasByAliasParams

type GetCustomersByAliasByAliasParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomersByAliasByAliasParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomersByAliasByAliasParams defines parameters for GetCustomersByAliasByAlias.

type GetCustomersByAliasByAliasParamsSequenceVersion

type GetCustomersByAliasByAliasParamsSequenceVersion string

GetCustomersByAliasByAliasParamsSequenceVersion defines parameters for GetCustomersByAliasByAlias.

const (
	GetCustomersByAliasByAliasParamsSequenceVersionN20240730 GetCustomersByAliasByAliasParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomersByAliasByAliasParamsSequenceVersion.

type GetCustomersByAliasByAliasResponse

type GetCustomersByAliasByAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Customer20240509
}

func ParseGetCustomersByAliasByAliasResponse

func ParseGetCustomersByAliasByAliasResponse(rsp *http.Response) (*GetCustomersByAliasByAliasResponse, error)

ParseGetCustomersByAliasByAliasResponse parses an HTTP response from a GetCustomersByAliasByAliasWithResponse call

func (GetCustomersByAliasByAliasResponse) Status

Status returns HTTPResponse.Status

func (GetCustomersByAliasByAliasResponse) StatusCode

func (r GetCustomersByAliasByAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomersByCustomerContactsParams

type GetCustomersByCustomerContactsParams struct {
	// IncludeArchived Include archived contacts in results
	IncludeArchived *bool `form:"includeArchived,omitempty" json:"includeArchived,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomersByCustomerContactsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomersByCustomerContactsParams defines parameters for GetCustomersByCustomerContacts.

type GetCustomersByCustomerContactsParamsSequenceVersion

type GetCustomersByCustomerContactsParamsSequenceVersion string

GetCustomersByCustomerContactsParamsSequenceVersion defines parameters for GetCustomersByCustomerContacts.

const (
	GetCustomersByCustomerContactsParamsSequenceVersionN20240730 GetCustomersByCustomerContactsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomersByCustomerContactsParamsSequenceVersion.

type GetCustomersByCustomerContactsResponse

type GetCustomersByCustomerContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListContactEndpointContactResponseModel
}

func ParseGetCustomersByCustomerContactsResponse

func ParseGetCustomersByCustomerContactsResponse(rsp *http.Response) (*GetCustomersByCustomerContactsResponse, error)

ParseGetCustomersByCustomerContactsResponse parses an HTTP response from a GetCustomersByCustomerContactsWithResponse call

func (GetCustomersByCustomerContactsResponse) Status

Status returns HTTPResponse.Status

func (GetCustomersByCustomerContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCustomersByIdAliasesParams

type GetCustomersByIdAliasesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomersByIdAliasesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomersByIdAliasesParams defines parameters for GetCustomersByIdAliases.

type GetCustomersByIdAliasesParamsSequenceVersion

type GetCustomersByIdAliasesParamsSequenceVersion string

GetCustomersByIdAliasesParamsSequenceVersion defines parameters for GetCustomersByIdAliases.

const (
	GetCustomersByIdAliasesParamsSequenceVersionN20240730 GetCustomersByIdAliasesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomersByIdAliasesParamsSequenceVersion.

type GetCustomersByIdAliasesResponse

type GetCustomersByIdAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetCustomerAliasesEndpointEndpointResponse
}

func ParseGetCustomersByIdAliasesResponse

func ParseGetCustomersByIdAliasesResponse(rsp *http.Response) (*GetCustomersByIdAliasesResponse, error)

ParseGetCustomersByIdAliasesResponse parses an HTTP response from a GetCustomersByIdAliasesWithResponse call

func (GetCustomersByIdAliasesResponse) Status

Status returns HTTPResponse.Status

func (GetCustomersByIdAliasesResponse) StatusCode

func (r GetCustomersByIdAliasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomersByIdParams

type GetCustomersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomersByIdParams defines parameters for GetCustomersById.

type GetCustomersByIdParamsSequenceVersion

type GetCustomersByIdParamsSequenceVersion string

GetCustomersByIdParamsSequenceVersion defines parameters for GetCustomersById.

const (
	GetCustomersByIdParamsSequenceVersionN20240730 GetCustomersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomersByIdParamsSequenceVersion.

type GetCustomersByIdResponse

type GetCustomersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Customer
}

func ParseGetCustomersByIdResponse

func ParseGetCustomersByIdResponse(rsp *http.Response) (*GetCustomersByIdResponse, error)

ParseGetCustomersByIdResponse parses an HTTP response from a GetCustomersByIdWithResponse call

func (GetCustomersByIdResponse) Status

func (r GetCustomersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetCustomersByIdResponse) StatusCode

func (r GetCustomersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomersParams

type GetCustomersParams struct {
	// SortBy Sort column. Default: creation time.
	SortBy *string `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// LegalName Filter by legal name
	LegalName *string `form:"legalName,omitempty" json:"legalName,omitempty"`

	// Email Filter by email
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// Alias Filter by alias
	Alias *string `form:"alias,omitempty" json:"alias,omitempty"`

	// IncludeArchived Include archived customers
	IncludeArchived *bool `form:"includeArchived,omitempty" json:"includeArchived,omitempty"`

	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetCustomersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetCustomersParams defines parameters for GetCustomers.

type GetCustomersParamsSequenceVersion

type GetCustomersParamsSequenceVersion string

GetCustomersParamsSequenceVersion defines parameters for GetCustomers.

const (
	GetCustomersParamsSequenceVersionN20240730 GetCustomersParamsSequenceVersion = "2024-07-30"
)

Defines values for GetCustomersParamsSequenceVersion.

type GetCustomersResponse

type GetCustomersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCustomerResponse
}

func ParseGetCustomersResponse

func ParseGetCustomersResponse(rsp *http.Response) (*GetCustomersResponse, error)

ParseGetCustomersResponse parses an HTTP response from a GetCustomersWithResponse call

func (GetCustomersResponse) Status

func (r GetCustomersResponse) Status() string

Status returns HTTPResponse.Status

func (GetCustomersResponse) StatusCode

func (r GetCustomersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDiscountEndpointProductGetDiscountResponseModel

type GetDiscountEndpointProductGetDiscountResponseModel struct {
	// Amount Amount to be reduced
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt               string                  `json:"createdAt"`
	DiscountCalculationType DiscountCalculationType `json:"discountCalculationType"`

	// Id Discount ID
	Id string `json:"id"`

	// Message Message to appear on the Invoice
	Message string `json:"message"`

	// PhaseId Phase ID
	PhaseId *string `json:"phaseId,omitempty"`

	// PriceIds Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
	PriceIds []string `json:"priceIds"`

	// SeparateLineItem Indicates whether the discount should appear as a separate line item in the invoice
	SeparateLineItem bool `json:"separateLineItem"`

	// SequenceAccountId The Sequence Account to which this Discount belongs
	SequenceAccountId string `json:"sequenceAccountId"`

	// UpdatedAt Updated At
	UpdatedAt string `json:"updatedAt"`

	// ValidFrom First Day Discount is Valid
	ValidFrom *openapi_types.Date `json:"validFrom,omitempty"`

	// ValidTo Last Day Discount is Valid
	ValidTo *openapi_types.Date `json:"validTo,omitempty"`
}

GetDiscountEndpointProductGetDiscountResponseModel defines model for GetDiscountEndpointProductGetDiscountResponseModel.

type GetDiscountsByIdParams

type GetDiscountsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetDiscountsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetDiscountsByIdParams defines parameters for GetDiscountsById.

type GetDiscountsByIdParamsSequenceVersion

type GetDiscountsByIdParamsSequenceVersion string

GetDiscountsByIdParamsSequenceVersion defines parameters for GetDiscountsById.

const (
	GetDiscountsByIdParamsSequenceVersionN20240730 GetDiscountsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetDiscountsByIdParamsSequenceVersion.

type GetDiscountsByIdResponse

type GetDiscountsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetDiscountEndpointProductGetDiscountResponseModel
}

func ParseGetDiscountsByIdResponse

func ParseGetDiscountsByIdResponse(rsp *http.Response) (*GetDiscountsByIdResponse, error)

ParseGetDiscountsByIdResponse parses an HTTP response from a GetDiscountsByIdWithResponse call

func (GetDiscountsByIdResponse) Status

func (r GetDiscountsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDiscountsByIdResponse) StatusCode

func (r GetDiscountsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDiscountsParams

type GetDiscountsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetDiscountsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetDiscountsParams defines parameters for GetDiscounts.

type GetDiscountsParamsSequenceVersion

type GetDiscountsParamsSequenceVersion string

GetDiscountsParamsSequenceVersion defines parameters for GetDiscounts.

const (
	GetDiscountsParamsSequenceVersionN20240730 GetDiscountsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetDiscountsParamsSequenceVersion.

type GetDiscountsResponse

type GetDiscountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDiscountEndpointProductListDiscountPaginatedResponseModel
}

func ParseGetDiscountsResponse

func ParseGetDiscountsResponse(rsp *http.Response) (*GetDiscountsResponse, error)

ParseGetDiscountsResponse parses an HTTP response from a GetDiscountsWithResponse call

func (GetDiscountsResponse) Status

func (r GetDiscountsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDiscountsResponse) StatusCode

func (r GetDiscountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvoiceEndpointProductGetInvoiceResponseModel

type GetInvoiceEndpointProductGetInvoiceResponseModel struct {
	// AccountingDate Accounting date
	AccountingDate openapi_types.Date `json:"accountingDate"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId *string `json:"billingScheduleId,omitempty"`

	// CalculatedAt Time this invoice was last calculated (applicable for invoices generated by billing engine only)
	CalculatedAt *string `json:"calculatedAt,omitempty"`

	// CreatedAt Creation time
	CreatedAt string `json:"createdAt"`

	// CreditBalances Credit balances
	CreditBalances *string `json:"creditBalances,omitempty"`

	// CreditNoteIds IDs of linked credit notes (if any)
	CreditNoteIds []string `json:"creditNoteIds"`
	Currency      Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress Address1 `json:"customerBillingAddress"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails []string `json:"customerEmails"`

	// CustomerId The ID of the Customer this invoice is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName string `json:"customerLegalCompanyName"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress Address1 `json:"customerShippingAddress"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId     *string    `json:"customerTaxId,omitempty"`
	CustomerTaxStatus *TaxStatus `json:"customerTaxStatus,omitempty"`

	// DueDate Due date
	DueDate       *openapi_types.Date   `json:"dueDate,omitempty"`
	DunningStatus *InvoiceDunningStatus `json:"dunningStatus,omitempty"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// Id Invoice ID
	Id string `json:"id"`

	// InvoiceNumber Invoice number
	InvoiceNumber *string `json:"invoiceNumber,omitempty"`

	// IsCustomerArchived isCustomerArchived
	IsCustomerArchived bool `json:"isCustomerArchived"`

	// IssueDate Issue date
	IssueDate *openapi_types.Date `json:"issueDate,omitempty"`

	// LinkedServices External services which are linked to this invoice
	LinkedServices []LinkInfo `json:"linkedServices"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// MerchantDetails Merchant details
	MerchantDetails *InvoiceMerchantDetails `json:"merchantDetails,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata []KeyValuePair `json:"metadata"`

	// NetTotal Net total, in decimal format of the Invoice's currency
	NetTotal string `json:"netTotal"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`
	PaymentStatus  InvoicePaymentStatus    `json:"paymentStatus"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`

	// RenderSettings Settings that control how the invoice is rendered.
	RenderSettings InvoiceRenderSettingsInlineAggregate `json:"renderSettings"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string        `json:"sequenceAccountId"`
	Status            InvoiceStatus `json:"status"`

	// TotalTax Total tax, in decimal format of the Invoice's currency
	TotalTax string `json:"totalTax"`
}

GetInvoiceEndpointProductGetInvoiceResponseModel defines model for GetInvoiceEndpointProductGetInvoiceResponseModel.

type GetInvoiceSettingsEndpointProductGetInvoiceSettingsResponseModel

type GetInvoiceSettingsEndpointProductGetInvoiceSettingsResponseModel struct {
	// CustomerId Customer ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id string `json:"id"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

GetInvoiceSettingsEndpointProductGetInvoiceSettingsResponseModel defines model for GetInvoiceSettingsEndpointProductGetInvoiceSettingsResponseModel.

type GetInvoicesByIdDownloadParams

type GetInvoicesByIdDownloadParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesByIdDownloadParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesByIdDownloadParams defines parameters for GetInvoicesByIdDownload.

type GetInvoicesByIdDownloadParamsSequenceVersion

type GetInvoicesByIdDownloadParamsSequenceVersion string

GetInvoicesByIdDownloadParamsSequenceVersion defines parameters for GetInvoicesByIdDownload.

const (
	GetInvoicesByIdDownloadParamsSequenceVersionN20240730 GetInvoicesByIdDownloadParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesByIdDownloadParamsSequenceVersion.

type GetInvoicesByIdDownloadResponse

type GetInvoicesByIdDownloadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetInvoicesByIdDownloadResponse

func ParseGetInvoicesByIdDownloadResponse(rsp *http.Response) (*GetInvoicesByIdDownloadResponse, error)

ParseGetInvoicesByIdDownloadResponse parses an HTTP response from a GetInvoicesByIdDownloadWithResponse call

func (GetInvoicesByIdDownloadResponse) Status

Status returns HTTPResponse.Status

func (GetInvoicesByIdDownloadResponse) StatusCode

func (r GetInvoicesByIdDownloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvoicesByIdParams

type GetInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesByIdParams defines parameters for GetInvoicesById.

type GetInvoicesByIdParamsSequenceVersion

type GetInvoicesByIdParamsSequenceVersion string

GetInvoicesByIdParamsSequenceVersion defines parameters for GetInvoicesById.

const (
	GetInvoicesByIdParamsSequenceVersionN20240730 GetInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesByIdParamsSequenceVersion.

type GetInvoicesByIdResponse

type GetInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetInvoiceEndpointProductGetInvoiceResponseModel
}

func ParseGetInvoicesByIdResponse

func ParseGetInvoicesByIdResponse(rsp *http.Response) (*GetInvoicesByIdResponse, error)

ParseGetInvoicesByIdResponse parses an HTTP response from a GetInvoicesByIdWithResponse call

func (GetInvoicesByIdResponse) Status

func (r GetInvoicesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvoicesByIdResponse) StatusCode

func (r GetInvoicesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvoicesByInvoiceLineItemGroupsParams

type GetInvoicesByInvoiceLineItemGroupsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesByInvoiceLineItemGroupsParams defines parameters for GetInvoicesByInvoiceLineItemGroups.

type GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion

type GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion string

GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion defines parameters for GetInvoicesByInvoiceLineItemGroups.

const (
	GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersionN20240730 GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesByInvoiceLineItemGroupsParamsSequenceVersion.

type GetInvoicesByInvoiceLineItemGroupsResponse

type GetInvoicesByInvoiceLineItemGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel
}

func ParseGetInvoicesByInvoiceLineItemGroupsResponse

func ParseGetInvoicesByInvoiceLineItemGroupsResponse(rsp *http.Response) (*GetInvoicesByInvoiceLineItemGroupsResponse, error)

ParseGetInvoicesByInvoiceLineItemGroupsResponse parses an HTTP response from a GetInvoicesByInvoiceLineItemGroupsWithResponse call

func (GetInvoicesByInvoiceLineItemGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetInvoicesByInvoiceLineItemGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetInvoicesByInvoiceLineItemsParams

type GetInvoicesByInvoiceLineItemsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesByInvoiceLineItemsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesByInvoiceLineItemsParams defines parameters for GetInvoicesByInvoiceLineItems.

type GetInvoicesByInvoiceLineItemsParamsSequenceVersion

type GetInvoicesByInvoiceLineItemsParamsSequenceVersion string

GetInvoicesByInvoiceLineItemsParamsSequenceVersion defines parameters for GetInvoicesByInvoiceLineItems.

const (
	GetInvoicesByInvoiceLineItemsParamsSequenceVersionN20240730 GetInvoicesByInvoiceLineItemsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesByInvoiceLineItemsParamsSequenceVersion.

type GetInvoicesByInvoiceLineItemsResponse

type GetInvoicesByInvoiceLineItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListLineItemEndpointPaginatedLineItemResponseModel
}

func ParseGetInvoicesByInvoiceLineItemsResponse

func ParseGetInvoicesByInvoiceLineItemsResponse(rsp *http.Response) (*GetInvoicesByInvoiceLineItemsResponse, error)

ParseGetInvoicesByInvoiceLineItemsResponse parses an HTTP response from a GetInvoicesByInvoiceLineItemsWithResponse call

func (GetInvoicesByInvoiceLineItemsResponse) Status

Status returns HTTPResponse.Status

func (GetInvoicesByInvoiceLineItemsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetInvoicesParams

type GetInvoicesParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// SortBy Sort column. Default: creation time. Options: CUSTOMER_LEGAL_COMPANY_NAME, GROSS_TOTAL, ACCOUNTING_DATE
	SortBy *string `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// InvoiceStatus Filter by invoice status. Options: IN_PROGRESS, DRAFT, FINAL, SENT, VOIDED
	InvoiceStatus *string `form:"invoiceStatus,omitempty" json:"invoiceStatus,omitempty"`

	// InvoicePaymentStatus Filter by payment status. Options: UNPAID, PARTIALLY_PAID, PAID, UNCOLLECTIBLE
	InvoicePaymentStatus *string `form:"invoicePaymentStatus,omitempty" json:"invoicePaymentStatus,omitempty"`

	// CustomerId Filter by customer id.
	CustomerId *string `form:"customerId,omitempty" json:"customerId,omitempty"`

	// BillingScheduleId Filter by billing schedule id.
	BillingScheduleId *string `form:"billingScheduleId,omitempty" json:"billingScheduleId,omitempty"`

	// DueBefore Filter by due date before. Format: yyyy-MM-dd
	DueBefore *string `form:"dueBefore,omitempty" json:"dueBefore,omitempty"`

	// DueAfter Filter by due date after. Format: yyyy-MM-dd
	DueAfter *string `form:"dueAfter,omitempty" json:"dueAfter,omitempty"`

	// SentBefore Filter by sent date before. Format: yyyy-MM-dd
	SentBefore *string `form:"sentBefore,omitempty" json:"sentBefore,omitempty"`

	// SentAfter Filter by sent date after. Format: yyyy-MM-dd
	SentAfter *string `form:"sentAfter,omitempty" json:"sentAfter,omitempty"`

	// InvoiceBefore Filter by invoice date before. Format: yyyy-MM-dd
	InvoiceBefore *string `form:"invoiceBefore,omitempty" json:"invoiceBefore,omitempty"`

	// InvoiceAfter Filter by invoice date after. Format: yyyy-MM-dd
	InvoiceAfter *string `form:"invoiceAfter,omitempty" json:"invoiceAfter,omitempty"`

	// ExcludeZeroQuantity Exclude invoices with zero quantity.
	ExcludeZeroQuantity *bool `form:"excludeZeroQuantity,omitempty" json:"excludeZeroQuantity,omitempty"`

	// InvoiceCurrency Get invoices for a specific currency (provide a comma-separated list)
	InvoiceCurrency *string `form:"invoiceCurrency,omitempty" json:"invoiceCurrency,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesParams defines parameters for GetInvoices.

type GetInvoicesParamsSequenceVersion

type GetInvoicesParamsSequenceVersion string

GetInvoicesParamsSequenceVersion defines parameters for GetInvoices.

const (
	GetInvoicesParamsSequenceVersionN20240730 GetInvoicesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesParamsSequenceVersion.

type GetInvoicesRenderSettingsParams

type GetInvoicesRenderSettingsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetInvoicesRenderSettingsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetInvoicesRenderSettingsParams defines parameters for GetInvoicesRenderSettings.

type GetInvoicesRenderSettingsParamsSequenceVersion

type GetInvoicesRenderSettingsParamsSequenceVersion string

GetInvoicesRenderSettingsParamsSequenceVersion defines parameters for GetInvoicesRenderSettings.

const (
	GetInvoicesRenderSettingsParamsSequenceVersionN20240730 GetInvoicesRenderSettingsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetInvoicesRenderSettingsParamsSequenceVersion.

type GetInvoicesRenderSettingsResponse

type GetInvoicesRenderSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetOrCreateInvoiceRenderSettingsEndpointProductCreateInvoiceRenderSettingsResponseModel
}

func ParseGetInvoicesRenderSettingsResponse

func ParseGetInvoicesRenderSettingsResponse(rsp *http.Response) (*GetInvoicesRenderSettingsResponse, error)

ParseGetInvoicesRenderSettingsResponse parses an HTTP response from a GetInvoicesRenderSettingsWithResponse call

func (GetInvoicesRenderSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetInvoicesRenderSettingsResponse) StatusCode

func (r GetInvoicesRenderSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvoicesResponse

type GetInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInvoiceEndpointListInvoicePaginatedResponseModel
}

func ParseGetInvoicesResponse

func ParseGetInvoicesResponse(rsp *http.Response) (*GetInvoicesResponse, error)

ParseGetInvoicesResponse parses an HTTP response from a GetInvoicesWithResponse call

func (GetInvoicesResponse) Status

func (r GetInvoicesResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvoicesResponse) StatusCode

func (r GetInvoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetListPricesByIdParams

type GetListPricesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetListPricesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetListPricesByIdParams defines parameters for GetListPricesById.

type GetListPricesByIdParamsSequenceVersion

type GetListPricesByIdParamsSequenceVersion string

GetListPricesByIdParamsSequenceVersion defines parameters for GetListPricesById.

const (
	GetListPricesByIdParamsSequenceVersionN20240730 GetListPricesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetListPricesByIdParamsSequenceVersion.

type GetListPricesByIdResponse

type GetListPricesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseGetListPricesByIdResponse

func ParseGetListPricesByIdResponse(rsp *http.Response) (*GetListPricesByIdResponse, error)

ParseGetListPricesByIdResponse parses an HTTP response from a GetListPricesByIdWithResponse call

func (GetListPricesByIdResponse) Status

func (r GetListPricesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetListPricesByIdResponse) StatusCode

func (r GetListPricesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetListPricesParams

type GetListPricesParams struct {
	// Currency Filter by currency.
	Currency *string `form:"currency,omitempty" json:"currency,omitempty"`

	// ProductId Filter list prices by a given product ID.
	ProductId *string `form:"productId,omitempty" json:"productId,omitempty"`

	// BillingFrequency Filter by billing frequency.
	BillingFrequency *string `form:"billingFrequency,omitempty" json:"billingFrequency,omitempty"`

	// IncludeArchived Include archived list prices in results
	IncludeArchived *bool `form:"includeArchived,omitempty" json:"includeArchived,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetListPricesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetListPricesParams defines parameters for GetListPrices.

type GetListPricesParamsSequenceVersion

type GetListPricesParamsSequenceVersion string

GetListPricesParamsSequenceVersion defines parameters for GetListPrices.

const (
	GetListPricesParamsSequenceVersionN20240730 GetListPricesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetListPricesParamsSequenceVersion.

type GetListPricesResponse

type GetListPricesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseGetListPricesResponse

func ParseGetListPricesResponse(rsp *http.Response) (*GetListPricesResponse, error)

ParseGetListPricesResponse parses an HTTP response from a GetListPricesWithResponse call

func (GetListPricesResponse) Status

func (r GetListPricesResponse) Status() string

Status returns HTTPResponse.Status

func (GetListPricesResponse) StatusCode

func (r GetListPricesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNotificationsPoliciesByIdParams

type GetNotificationsPoliciesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetNotificationsPoliciesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetNotificationsPoliciesByIdParams defines parameters for GetNotificationsPoliciesById.

type GetNotificationsPoliciesByIdParamsSequenceVersion

type GetNotificationsPoliciesByIdParamsSequenceVersion string

GetNotificationsPoliciesByIdParamsSequenceVersion defines parameters for GetNotificationsPoliciesById.

const (
	GetNotificationsPoliciesByIdParamsSequenceVersionN20240730 GetNotificationsPoliciesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetNotificationsPoliciesByIdParamsSequenceVersion.

type GetNotificationsPoliciesByIdResponse

type GetNotificationsPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
}

func ParseGetNotificationsPoliciesByIdResponse

func ParseGetNotificationsPoliciesByIdResponse(rsp *http.Response) (*GetNotificationsPoliciesByIdResponse, error)

ParseGetNotificationsPoliciesByIdResponse parses an HTTP response from a GetNotificationsPoliciesByIdWithResponse call

func (GetNotificationsPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetNotificationsPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetNotificationsPoliciesParams

type GetNotificationsPoliciesParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetNotificationsPoliciesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetNotificationsPoliciesParams defines parameters for GetNotificationsPolicies.

type GetNotificationsPoliciesParamsSequenceVersion

type GetNotificationsPoliciesParamsSequenceVersion string

GetNotificationsPoliciesParamsSequenceVersion defines parameters for GetNotificationsPolicies.

const (
	GetNotificationsPoliciesParamsSequenceVersionN20240730 GetNotificationsPoliciesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetNotificationsPoliciesParamsSequenceVersion.

type GetNotificationsPoliciesResponse

type GetNotificationsPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicies
}

func ParseGetNotificationsPoliciesResponse

func ParseGetNotificationsPoliciesResponse(rsp *http.Response) (*GetNotificationsPoliciesResponse, error)

ParseGetNotificationsPoliciesResponse parses an HTTP response from a GetNotificationsPoliciesWithResponse call

func (GetNotificationsPoliciesResponse) Status

Status returns HTTPResponse.Status

func (GetNotificationsPoliciesResponse) StatusCode

func (r GetNotificationsPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrCreateInvoiceRenderSettingsEndpointProductCreateInvoiceRenderSettingsResponseModel

type GetOrCreateInvoiceRenderSettingsEndpointProductCreateInvoiceRenderSettingsResponseModel struct {
	// Id Invoice settings ID
	Id                 string                   `json:"id"`
	PaymentLinkDisplay PaymentLinkDisplayOption `json:"paymentLinkDisplay"`
}

GetOrCreateInvoiceRenderSettingsEndpointProductCreateInvoiceRenderSettingsResponseModel defines model for GetOrCreateInvoiceRenderSettingsEndpointProductCreateInvoiceRenderSettingsResponseModel.

type GetPaymentsSettingsBillingSchedulesByIdParams

type GetPaymentsSettingsBillingSchedulesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsBillingSchedulesByIdParams defines parameters for GetPaymentsSettingsBillingSchedulesById.

type GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion

type GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion string

GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion defines parameters for GetPaymentsSettingsBillingSchedulesById.

const (
	GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersionN20240730 GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion.

type GetPaymentsSettingsBillingSchedulesByIdResponse

type GetPaymentsSettingsBillingSchedulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleSettings
}

func ParseGetPaymentsSettingsBillingSchedulesByIdResponse

func ParseGetPaymentsSettingsBillingSchedulesByIdResponse(rsp *http.Response) (*GetPaymentsSettingsBillingSchedulesByIdResponse, error)

ParseGetPaymentsSettingsBillingSchedulesByIdResponse parses an HTTP response from a GetPaymentsSettingsBillingSchedulesByIdWithResponse call

func (GetPaymentsSettingsBillingSchedulesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsBillingSchedulesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParams defines parameters for GetPaymentsSettingsBillingSchedulesForBillingScheduleById.

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion string

GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion defines parameters for GetPaymentsSettingsBillingSchedulesForBillingScheduleById.

const (
	GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersionN20240730 GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdParamsSequenceVersion.

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse

type GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleSettings
}

func ParseGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse

func ParseGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse(rsp *http.Response) (*GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse, error)

ParseGetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse parses an HTTP response from a GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdWithResponse call

func (GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsBillingSchedulesForBillingScheduleByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPaymentsSettingsCustomersByIdParams

type GetPaymentsSettingsCustomersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsCustomersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsCustomersByIdParams defines parameters for GetPaymentsSettingsCustomersById.

type GetPaymentsSettingsCustomersByIdParamsSequenceVersion

type GetPaymentsSettingsCustomersByIdParamsSequenceVersion string

GetPaymentsSettingsCustomersByIdParamsSequenceVersion defines parameters for GetPaymentsSettingsCustomersById.

const (
	GetPaymentsSettingsCustomersByIdParamsSequenceVersionN20240730 GetPaymentsSettingsCustomersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsCustomersByIdParamsSequenceVersion.

type GetPaymentsSettingsCustomersByIdResponse

type GetPaymentsSettingsCustomersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetCustomerSettingsEndpointProductGetCustomerSettingsResponseModel
}

func ParseGetPaymentsSettingsCustomersByIdResponse

func ParseGetPaymentsSettingsCustomersByIdResponse(rsp *http.Response) (*GetPaymentsSettingsCustomersByIdResponse, error)

ParseGetPaymentsSettingsCustomersByIdResponse parses an HTTP response from a GetPaymentsSettingsCustomersByIdWithResponse call

func (GetPaymentsSettingsCustomersByIdResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsCustomersByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPaymentsSettingsInvoicesByIdParams

type GetPaymentsSettingsInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsInvoicesByIdParams defines parameters for GetPaymentsSettingsInvoicesById.

type GetPaymentsSettingsInvoicesByIdParamsSequenceVersion

type GetPaymentsSettingsInvoicesByIdParamsSequenceVersion string

GetPaymentsSettingsInvoicesByIdParamsSequenceVersion defines parameters for GetPaymentsSettingsInvoicesById.

const (
	GetPaymentsSettingsInvoicesByIdParamsSequenceVersionN20240730 GetPaymentsSettingsInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsInvoicesByIdParamsSequenceVersion.

type GetPaymentsSettingsInvoicesByIdResponse

type GetPaymentsSettingsInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetInvoiceSettingsEndpointProductGetInvoiceSettingsResponseModel
}

func ParseGetPaymentsSettingsInvoicesByIdResponse

func ParseGetPaymentsSettingsInvoicesByIdResponse(rsp *http.Response) (*GetPaymentsSettingsInvoicesByIdResponse, error)

ParseGetPaymentsSettingsInvoicesByIdResponse parses an HTTP response from a GetPaymentsSettingsInvoicesByIdWithResponse call

func (GetPaymentsSettingsInvoicesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsInvoicesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPaymentsSettingsInvoicesForInvoiceByIdParams

type GetPaymentsSettingsInvoicesForInvoiceByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsInvoicesForInvoiceByIdParams defines parameters for GetPaymentsSettingsInvoicesForInvoiceById.

type GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion

type GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion string

GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion defines parameters for GetPaymentsSettingsInvoicesForInvoiceById.

const (
	GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersionN20240730 GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsInvoicesForInvoiceByIdParamsSequenceVersion.

type GetPaymentsSettingsInvoicesForInvoiceByIdResponse

type GetPaymentsSettingsInvoicesForInvoiceByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetByInvoiceIdProductGetInvoiceSettingsResponseModel
}

func ParseGetPaymentsSettingsInvoicesForInvoiceByIdResponse

func ParseGetPaymentsSettingsInvoicesForInvoiceByIdResponse(rsp *http.Response) (*GetPaymentsSettingsInvoicesForInvoiceByIdResponse, error)

ParseGetPaymentsSettingsInvoicesForInvoiceByIdResponse parses an HTTP response from a GetPaymentsSettingsInvoicesForInvoiceByIdWithResponse call

func (GetPaymentsSettingsInvoicesForInvoiceByIdResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsInvoicesForInvoiceByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPaymentsSettingsParams

type GetPaymentsSettingsParams struct {
	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPaymentsSettingsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPaymentsSettingsParams defines parameters for GetPaymentsSettings.

type GetPaymentsSettingsParamsSequenceVersion

type GetPaymentsSettingsParamsSequenceVersion string

GetPaymentsSettingsParamsSequenceVersion defines parameters for GetPaymentsSettings.

const (
	GetPaymentsSettingsParamsSequenceVersionN20240730 GetPaymentsSettingsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPaymentsSettingsParamsSequenceVersion.

type GetPaymentsSettingsResponse

type GetPaymentsSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountPaymentSettings
}

func ParseGetPaymentsSettingsResponse

func ParseGetPaymentsSettingsResponse(rsp *http.Response) (*GetPaymentsSettingsResponse, error)

ParseGetPaymentsSettingsResponse parses an HTTP response from a GetPaymentsSettingsWithResponse call

func (GetPaymentsSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetPaymentsSettingsResponse) StatusCode

func (r GetPaymentsSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPricesByIdParams

type GetPricesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPricesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPricesByIdParams defines parameters for GetPricesById.

type GetPricesByIdParamsSequenceVersion

type GetPricesByIdParamsSequenceVersion string

GetPricesByIdParamsSequenceVersion defines parameters for GetPricesById.

const (
	GetPricesByIdParamsSequenceVersionN20240730 GetPricesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPricesByIdParamsSequenceVersion.

type GetPricesByIdResponse

type GetPricesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseGetPricesByIdResponse

func ParseGetPricesByIdResponse(rsp *http.Response) (*GetPricesByIdResponse, error)

ParseGetPricesByIdResponse parses an HTTP response from a GetPricesByIdWithResponse call

func (GetPricesByIdResponse) Status

func (r GetPricesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetPricesByIdResponse) StatusCode

func (r GetPricesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPricesParams

type GetPricesParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Currency Filter by currency.
	Currency *string `form:"currency,omitempty" json:"currency,omitempty"`

	// Name Filter by name.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// BillingFrequency Filter by billing frequency.
	BillingFrequency *string `form:"billingFrequency,omitempty" json:"billingFrequency,omitempty"`

	// ProductId Filter by product ID.
	ProductId *string `form:"productId,omitempty" json:"productId,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetPricesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetPricesParams defines parameters for GetPrices.

type GetPricesParamsSequenceVersion

type GetPricesParamsSequenceVersion string

GetPricesParamsSequenceVersion defines parameters for GetPrices.

const (
	GetPricesParamsSequenceVersionN20240730 GetPricesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetPricesParamsSequenceVersion.

type GetPricesResponse

type GetPricesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseGetPricesResponse

func ParseGetPricesResponse(rsp *http.Response) (*GetPricesResponse, error)

ParseGetPricesResponse parses an HTTP response from a GetPricesWithResponse call

func (GetPricesResponse) Status

func (r GetPricesResponse) Status() string

Status returns HTTPResponse.Status

func (GetPricesResponse) StatusCode

func (r GetPricesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductsByIdParams

type GetProductsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetProductsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetProductsByIdParams defines parameters for GetProductsById.

type GetProductsByIdParamsSequenceVersion

type GetProductsByIdParamsSequenceVersion string

GetProductsByIdParamsSequenceVersion defines parameters for GetProductsById.

const (
	GetProductsByIdParamsSequenceVersionN20240730 GetProductsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetProductsByIdParamsSequenceVersion.

type GetProductsByIdResponse

type GetProductsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240509ProductResponse
}

func ParseGetProductsByIdResponse

func ParseGetProductsByIdResponse(rsp *http.Response) (*GetProductsByIdResponse, error)

ParseGetProductsByIdResponse parses an HTTP response from a GetProductsByIdWithResponse call

func (GetProductsByIdResponse) Status

func (r GetProductsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetProductsByIdResponse) StatusCode

func (r GetProductsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductsParams

type GetProductsParams struct {
	// Name Filter by name
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetProductsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetProductsParams defines parameters for GetProducts.

type GetProductsParamsSequenceVersion

type GetProductsParamsSequenceVersion string

GetProductsParamsSequenceVersion defines parameters for GetProducts.

const (
	GetProductsParamsSequenceVersionN20240730 GetProductsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetProductsParamsSequenceVersion.

type GetProductsResponse

type GetProductsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240509ListResponseModel
}

func ParseGetProductsResponse

func ParseGetProductsResponse(rsp *http.Response) (*GetProductsResponse, error)

ParseGetProductsResponse parses an HTTP response from a GetProductsWithResponse call

func (GetProductsResponse) Status

func (r GetProductsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProductsResponse) StatusCode

func (r GetProductsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSeatBalancesParams

type GetSeatBalancesParams struct {
	// ExcludeZeroQuantity Exclude customers with no seats usage. Defaults to false.
	ExcludeZeroQuantity *bool `form:"excludeZeroQuantity,omitempty" json:"excludeZeroQuantity,omitempty"`

	// CustomerAliases Filter seat balances by customer alias
	CustomerAliases *string `form:"customerAliases,omitempty" json:"customerAliases,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSeatBalancesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSeatBalancesParams defines parameters for GetSeatBalances.

type GetSeatBalancesParamsSequenceVersion

type GetSeatBalancesParamsSequenceVersion string

GetSeatBalancesParamsSequenceVersion defines parameters for GetSeatBalances.

const (
	GetSeatBalancesParamsSequenceVersionN20240730 GetSeatBalancesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSeatBalancesParamsSequenceVersion.

type GetSeatBalancesResponse

type GetSeatBalancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCustomerSeatBalancesEndpointListCustomerSeatBalancesPaginatedResponseModel
}

func ParseGetSeatBalancesResponse

func ParseGetSeatBalancesResponse(rsp *http.Response) (*GetSeatBalancesResponse, error)

ParseGetSeatBalancesResponse parses an HTTP response from a GetSeatBalancesWithResponse call

func (GetSeatBalancesResponse) Status

func (r GetSeatBalancesResponse) Status() string

Status returns HTTPResponse.Status

func (GetSeatBalancesResponse) StatusCode

func (r GetSeatBalancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSeatEventsByIdParams

type GetSeatEventsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSeatEventsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSeatEventsByIdParams defines parameters for GetSeatEventsById.

type GetSeatEventsByIdParamsSequenceVersion

type GetSeatEventsByIdParamsSequenceVersion string

GetSeatEventsByIdParamsSequenceVersion defines parameters for GetSeatEventsById.

const (
	GetSeatEventsByIdParamsSequenceVersionN20240730 GetSeatEventsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSeatEventsByIdParamsSequenceVersion.

type GetSeatEventsByIdResponse

type GetSeatEventsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeatEvent
}

func ParseGetSeatEventsByIdResponse

func ParseGetSeatEventsByIdResponse(rsp *http.Response) (*GetSeatEventsByIdResponse, error)

ParseGetSeatEventsByIdResponse parses an HTTP response from a GetSeatEventsByIdWithResponse call

func (GetSeatEventsByIdResponse) Status

func (r GetSeatEventsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetSeatEventsByIdResponse) StatusCode

func (r GetSeatEventsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSeatEventsParams

type GetSeatEventsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// CustomerAlias Filter event by customer alias
	CustomerAlias *string `form:"customerAlias,omitempty" json:"customerAlias,omitempty"`

	// SeatType Filter events by seat type
	SeatType *string `form:"seatType,omitempty" json:"seatType,omitempty"`

	// CustomerEventId Filter events by customer event ID
	CustomerEventId *string `form:"customerEventId,omitempty" json:"customerEventId,omitempty"`

	// EventTimestampBefore Filter events by timestamp before
	EventTimestampBefore *string `form:"eventTimestampBefore,omitempty" json:"eventTimestampBefore,omitempty"`

	// EventTimestampAfter Filter events by timestamp after
	EventTimestampAfter *string `form:"eventTimestampAfter,omitempty" json:"eventTimestampAfter,omitempty"`

	// SortBy Sort column. Default: creation time.
	SortBy *string `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSeatEventsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSeatEventsParams defines parameters for GetSeatEvents.

type GetSeatEventsParamsSequenceVersion

type GetSeatEventsParamsSequenceVersion string

GetSeatEventsParamsSequenceVersion defines parameters for GetSeatEvents.

const (
	GetSeatEventsParamsSequenceVersionN20240730 GetSeatEventsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSeatEventsParamsSequenceVersion.

type GetSeatEventsResponse

type GetSeatEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSeatEventsEndpointEndpointResponseModel
}

func ParseGetSeatEventsResponse

func ParseGetSeatEventsResponse(rsp *http.Response) (*GetSeatEventsResponse, error)

ParseGetSeatEventsResponse parses an HTTP response from a GetSeatEventsWithResponse call

func (GetSeatEventsResponse) Status

func (r GetSeatEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSeatEventsResponse) StatusCode

func (r GetSeatEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSeatMetricEndpointProductGetSeatMetricResponseModel

type GetSeatMetricEndpointProductGetSeatMetricResponseModel struct {
	// CreatedAt The time at which this seat metric was created. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// CreatedBy The ID of the Sequence user who created this seat metric.
	CreatedBy *string `json:"createdBy,omitempty"`

	// Description Optional description for this seat metric.
	Description *string `json:"description,omitempty"`

	// Id Unique ID for this seat metric.
	Id string `json:"id"`

	// Label Friendly, customer-facing name for this seat metric.
	Label string `json:"label"`

	// SeatType Immutable, unique value used to identify and refer to this seat type when submitting events.
	SeatType string `json:"seatType"`

	// UpdatedAt The time at which this seat metric was updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

GetSeatMetricEndpointProductGetSeatMetricResponseModel defines model for GetSeatMetricEndpointProductGetSeatMetricResponseModel.

type GetSeatMetricsByIdParams

type GetSeatMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSeatMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSeatMetricsByIdParams defines parameters for GetSeatMetricsById.

type GetSeatMetricsByIdParamsSequenceVersion

type GetSeatMetricsByIdParamsSequenceVersion string

GetSeatMetricsByIdParamsSequenceVersion defines parameters for GetSeatMetricsById.

const (
	GetSeatMetricsByIdParamsSequenceVersionN20240730 GetSeatMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSeatMetricsByIdParamsSequenceVersion.

type GetSeatMetricsByIdResponse

type GetSeatMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSeatMetricEndpointProductGetSeatMetricResponseModel
}

func ParseGetSeatMetricsByIdResponse

func ParseGetSeatMetricsByIdResponse(rsp *http.Response) (*GetSeatMetricsByIdResponse, error)

ParseGetSeatMetricsByIdResponse parses an HTTP response from a GetSeatMetricsByIdWithResponse call

func (GetSeatMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetSeatMetricsByIdResponse) StatusCode

func (r GetSeatMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSeatMetricsParams

type GetSeatMetricsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSeatMetricsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSeatMetricsParams defines parameters for GetSeatMetrics.

type GetSeatMetricsParamsSequenceVersion

type GetSeatMetricsParamsSequenceVersion string

GetSeatMetricsParamsSequenceVersion defines parameters for GetSeatMetrics.

const (
	GetSeatMetricsParamsSequenceVersionN20240730 GetSeatMetricsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSeatMetricsParamsSequenceVersion.

type GetSeatMetricsResponse

type GetSeatMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSeatMetricEndpointProductListSeatMetricPaginatedResponseModel
}

func ParseGetSeatMetricsResponse

func ParseGetSeatMetricsResponse(rsp *http.Response) (*GetSeatMetricsResponse, error)

ParseGetSeatMetricsResponse parses an HTTP response from a GetSeatMetricsWithResponse call

func (GetSeatMetricsResponse) Status

func (r GetSeatMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSeatMetricsResponse) StatusCode

func (r GetSeatMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSequenceAccountsByIdParams

type GetSequenceAccountsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSequenceAccountsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSequenceAccountsByIdParams defines parameters for GetSequenceAccountsById.

type GetSequenceAccountsByIdParamsSequenceVersion

type GetSequenceAccountsByIdParamsSequenceVersion string

GetSequenceAccountsByIdParamsSequenceVersion defines parameters for GetSequenceAccountsById.

const (
	GetSequenceAccountsByIdParamsSequenceVersionN20240730 GetSequenceAccountsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSequenceAccountsByIdParamsSequenceVersion.

type GetSequenceAccountsByIdResponse

type GetSequenceAccountsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SequenceAccount
}

func ParseGetSequenceAccountsByIdResponse

func ParseGetSequenceAccountsByIdResponse(rsp *http.Response) (*GetSequenceAccountsByIdResponse, error)

ParseGetSequenceAccountsByIdResponse parses an HTTP response from a GetSequenceAccountsByIdWithResponse call

func (GetSequenceAccountsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetSequenceAccountsByIdResponse) StatusCode

func (r GetSequenceAccountsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSequenceAccountsParams

type GetSequenceAccountsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetSequenceAccountsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetSequenceAccountsParams defines parameters for GetSequenceAccounts.

type GetSequenceAccountsParamsSequenceVersion

type GetSequenceAccountsParamsSequenceVersion string

GetSequenceAccountsParamsSequenceVersion defines parameters for GetSequenceAccounts.

const (
	GetSequenceAccountsParamsSequenceVersionN20240730 GetSequenceAccountsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetSequenceAccountsParamsSequenceVersion.

type GetSequenceAccountsResponse

type GetSequenceAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSequenceAccountsResponse
}

func ParseGetSequenceAccountsResponse

func ParseGetSequenceAccountsResponse(rsp *http.Response) (*GetSequenceAccountsResponse, error)

ParseGetSequenceAccountsResponse parses an HTTP response from a GetSequenceAccountsWithResponse call

func (GetSequenceAccountsResponse) Status

Status returns HTTPResponse.Status

func (GetSequenceAccountsResponse) StatusCode

func (r GetSequenceAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxRatesByIdParams

type GetTaxRatesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRatesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRatesByIdParams defines parameters for GetTaxRatesById.

type GetTaxRatesByIdParamsSequenceVersion

type GetTaxRatesByIdParamsSequenceVersion string

GetTaxRatesByIdParamsSequenceVersion defines parameters for GetTaxRatesById.

const (
	GetTaxRatesByIdParamsSequenceVersionN20240730 GetTaxRatesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRatesByIdParamsSequenceVersion.

type GetTaxRatesByIdResponse

type GetTaxRatesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRateResponse
}

func ParseGetTaxRatesByIdResponse

func ParseGetTaxRatesByIdResponse(rsp *http.Response) (*GetTaxRatesByIdResponse, error)

ParseGetTaxRatesByIdResponse parses an HTTP response from a GetTaxRatesByIdWithResponse call

func (GetTaxRatesByIdResponse) Status

func (r GetTaxRatesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTaxRatesByIdResponse) StatusCode

func (r GetTaxRatesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxRatesParams

type GetTaxRatesParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRatesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRatesParams defines parameters for GetTaxRates.

type GetTaxRatesParamsSequenceVersion

type GetTaxRatesParamsSequenceVersion string

GetTaxRatesParamsSequenceVersion defines parameters for GetTaxRates.

const (
	GetTaxRatesParamsSequenceVersionN20240730 GetTaxRatesParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRatesParamsSequenceVersion.

type GetTaxRatesResponse

type GetTaxRatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListResponse
}

func ParseGetTaxRatesResponse

func ParseGetTaxRatesResponse(rsp *http.Response) (*GetTaxRatesResponse, error)

ParseGetTaxRatesResponse parses an HTTP response from a GetTaxRatesWithResponse call

func (GetTaxRatesResponse) Status

func (r GetTaxRatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTaxRatesResponse) StatusCode

func (r GetTaxRatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxRegistrationEndpointProductGetTaxRegistrationResponseModel

type GetTaxRegistrationEndpointProductGetTaxRegistrationResponseModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

GetTaxRegistrationEndpointProductGetTaxRegistrationResponseModel defines model for GetTaxRegistrationEndpointProductGetTaxRegistrationResponseModel.

type GetTaxRegistrationForCustomerCustomerTaxRegistration

type GetTaxRegistrationForCustomerCustomerTaxRegistration struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId string `json:"customerId"`

	// Id Tax registration ID
	Id string `json:"id"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

GetTaxRegistrationForCustomerCustomerTaxRegistration defines model for GetTaxRegistrationForCustomerCustomerTaxRegistration.

type GetTaxRegistrationForCustomerProductResponse

type GetTaxRegistrationForCustomerProductResponse struct {
	// Items List of tax registrations for customer
	Items []GetTaxRegistrationForCustomerCustomerTaxRegistration `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse1 `json:"pagination"`
}

GetTaxRegistrationForCustomerProductResponse defines model for GetTaxRegistrationForCustomerProductResponse.

type GetTaxRegistrationForMerchantMerchantTaxRegistration

type GetTaxRegistrationForMerchantMerchantTaxRegistration struct {
	Country CountryCode `json:"country"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId string `json:"merchantId"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

GetTaxRegistrationForMerchantMerchantTaxRegistration defines model for GetTaxRegistrationForMerchantMerchantTaxRegistration.

type GetTaxRegistrationForMerchantProductResponse

type GetTaxRegistrationForMerchantProductResponse struct {
	// Items List of tax registrations for merchant
	Items []GetTaxRegistrationForMerchantMerchantTaxRegistration `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse1 `json:"pagination"`
}

GetTaxRegistrationForMerchantProductResponse defines model for GetTaxRegistrationForMerchantProductResponse.

type GetTaxRegistrationsByIdParams

type GetTaxRegistrationsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRegistrationsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRegistrationsByIdParams defines parameters for GetTaxRegistrationsById.

type GetTaxRegistrationsByIdParamsSequenceVersion

type GetTaxRegistrationsByIdParamsSequenceVersion string

GetTaxRegistrationsByIdParamsSequenceVersion defines parameters for GetTaxRegistrationsById.

const (
	GetTaxRegistrationsByIdParamsSequenceVersionN20240730 GetTaxRegistrationsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRegistrationsByIdParamsSequenceVersion.

type GetTaxRegistrationsByIdResponse

type GetTaxRegistrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetTaxRegistrationEndpointProductGetTaxRegistrationResponseModel
}

func ParseGetTaxRegistrationsByIdResponse

func ParseGetTaxRegistrationsByIdResponse(rsp *http.Response) (*GetTaxRegistrationsByIdResponse, error)

ParseGetTaxRegistrationsByIdResponse parses an HTTP response from a GetTaxRegistrationsByIdWithResponse call

func (GetTaxRegistrationsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetTaxRegistrationsByIdResponse) StatusCode

func (r GetTaxRegistrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxRegistrationsForCustomerByIdParams

type GetTaxRegistrationsForCustomerByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRegistrationsForCustomerByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRegistrationsForCustomerByIdParams defines parameters for GetTaxRegistrationsForCustomerById.

type GetTaxRegistrationsForCustomerByIdParamsSequenceVersion

type GetTaxRegistrationsForCustomerByIdParamsSequenceVersion string

GetTaxRegistrationsForCustomerByIdParamsSequenceVersion defines parameters for GetTaxRegistrationsForCustomerById.

const (
	GetTaxRegistrationsForCustomerByIdParamsSequenceVersionN20240730 GetTaxRegistrationsForCustomerByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRegistrationsForCustomerByIdParamsSequenceVersion.

type GetTaxRegistrationsForCustomerByIdResponse

type GetTaxRegistrationsForCustomerByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetTaxRegistrationForCustomerProductResponse
}

func ParseGetTaxRegistrationsForCustomerByIdResponse

func ParseGetTaxRegistrationsForCustomerByIdResponse(rsp *http.Response) (*GetTaxRegistrationsForCustomerByIdResponse, error)

ParseGetTaxRegistrationsForCustomerByIdResponse parses an HTTP response from a GetTaxRegistrationsForCustomerByIdWithResponse call

func (GetTaxRegistrationsForCustomerByIdResponse) Status

Status returns HTTPResponse.Status

func (GetTaxRegistrationsForCustomerByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTaxRegistrationsForMerchantByIdParams

type GetTaxRegistrationsForMerchantByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRegistrationsForMerchantByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRegistrationsForMerchantByIdParams defines parameters for GetTaxRegistrationsForMerchantById.

type GetTaxRegistrationsForMerchantByIdParamsSequenceVersion

type GetTaxRegistrationsForMerchantByIdParamsSequenceVersion string

GetTaxRegistrationsForMerchantByIdParamsSequenceVersion defines parameters for GetTaxRegistrationsForMerchantById.

const (
	GetTaxRegistrationsForMerchantByIdParamsSequenceVersionN20240730 GetTaxRegistrationsForMerchantByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRegistrationsForMerchantByIdParamsSequenceVersion.

type GetTaxRegistrationsForMerchantByIdResponse

type GetTaxRegistrationsForMerchantByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetTaxRegistrationForMerchantProductResponse
}

func ParseGetTaxRegistrationsForMerchantByIdResponse

func ParseGetTaxRegistrationsForMerchantByIdResponse(rsp *http.Response) (*GetTaxRegistrationsForMerchantByIdResponse, error)

ParseGetTaxRegistrationsForMerchantByIdResponse parses an HTTP response from a GetTaxRegistrationsForMerchantByIdWithResponse call

func (GetTaxRegistrationsForMerchantByIdResponse) Status

Status returns HTTPResponse.Status

func (GetTaxRegistrationsForMerchantByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTaxRegistrationsParams

type GetTaxRegistrationsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetTaxRegistrationsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetTaxRegistrationsParams defines parameters for GetTaxRegistrations.

type GetTaxRegistrationsParamsSequenceVersion

type GetTaxRegistrationsParamsSequenceVersion string

GetTaxRegistrationsParamsSequenceVersion defines parameters for GetTaxRegistrations.

const (
	GetTaxRegistrationsParamsSequenceVersionN20240730 GetTaxRegistrationsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetTaxRegistrationsParamsSequenceVersion.

type GetTaxRegistrationsResponse

type GetTaxRegistrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListTaxRegistrationEndpointProductListTaxRegistrationPaginatedResponseModel
}

func ParseGetTaxRegistrationsResponse

func ParseGetTaxRegistrationsResponse(rsp *http.Response) (*GetTaxRegistrationsResponse, error)

ParseGetTaxRegistrationsResponse parses an HTTP response from a GetTaxRegistrationsWithResponse call

func (GetTaxRegistrationsResponse) Status

Status returns HTTPResponse.Status

func (GetTaxRegistrationsResponse) StatusCode

func (r GetTaxRegistrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageEventsParams

type GetUsageEventsParams struct {
	// Before Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// SortOrder Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
	SortOrder *string `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`

	// Offset Pagination offset. To retrieve a non-contiguous page, use this parameter to specify the offset to fetch relative to `pagination.after` or `pagination.before`.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// CustomerAlias Filter events by customer alias
	CustomerAlias *string `form:"customerAlias,omitempty" json:"customerAlias,omitempty"`

	// UnmappedAliasesOnly Include unmapped aliases only
	UnmappedAliasesOnly *bool `form:"unmappedAliasesOnly,omitempty" json:"unmappedAliasesOnly,omitempty"`

	// EventType Filter events by type
	EventType *string `form:"eventType,omitempty" json:"eventType,omitempty"`

	// EventId Filter events by event id
	EventId *string `form:"eventId,omitempty" json:"eventId,omitempty"`

	// EventTimestampBefore Filter events by timestamp before
	EventTimestampBefore *string `form:"eventTimestampBefore,omitempty" json:"eventTimestampBefore,omitempty"`

	// EventTimestampAfter Filter events by timestamp after
	EventTimestampAfter *string `form:"eventTimestampAfter,omitempty" json:"eventTimestampAfter,omitempty"`

	// SortBy Sort column. Default: creation time.
	SortBy *string `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsageEventsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsageEventsParams defines parameters for GetUsageEvents.

type GetUsageEventsParamsSequenceVersion

type GetUsageEventsParamsSequenceVersion string

GetUsageEventsParamsSequenceVersion defines parameters for GetUsageEvents.

const (
	GetUsageEventsParamsSequenceVersionN20240730 GetUsageEventsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsageEventsParamsSequenceVersion.

type GetUsageEventsResponse

type GetUsageEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUsageEventEndpointEndpointResponseModel
}

func ParseGetUsageEventsResponse

func ParseGetUsageEventsResponse(rsp *http.Response) (*GetUsageEventsResponse, error)

ParseGetUsageEventsResponse parses an HTTP response from a GetUsageEventsWithResponse call

func (GetUsageEventsResponse) Status

func (r GetUsageEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsageEventsResponse) StatusCode

func (r GetUsageEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageMetricEndpointProductGetUsageMetricResponseModel

type GetUsageMetricEndpointProductGetUsageMetricResponseModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// CreatedAt Created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string `json:"groupingProperty,omitempty"`

	// Id Unique ID
	Id         string     `json:"id"`
	MetricType MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// Parameters Required parameters
	Parameters []CustomMetricParameter `json:"parameters"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters map[string]map[string]interface{} `json:"propertyFilters"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

GetUsageMetricEndpointProductGetUsageMetricResponseModel defines model for GetUsageMetricEndpointProductGetUsageMetricResponseModel.

type GetUsageMetricsByIdParams

type GetUsageMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsageMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsageMetricsByIdParams defines parameters for GetUsageMetricsById.

type GetUsageMetricsByIdParamsSequenceVersion

type GetUsageMetricsByIdParamsSequenceVersion string

GetUsageMetricsByIdParamsSequenceVersion defines parameters for GetUsageMetricsById.

const (
	GetUsageMetricsByIdParamsSequenceVersionN20240730 GetUsageMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsageMetricsByIdParamsSequenceVersion.

type GetUsageMetricsByIdResponse

type GetUsageMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetUsageMetricEndpointProductGetUsageMetricResponseModel
}

func ParseGetUsageMetricsByIdResponse

func ParseGetUsageMetricsByIdResponse(rsp *http.Response) (*GetUsageMetricsByIdResponse, error)

ParseGetUsageMetricsByIdResponse parses an HTTP response from a GetUsageMetricsByIdWithResponse call

func (GetUsageMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetUsageMetricsByIdResponse) StatusCode

func (r GetUsageMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageMetricsByUsageMetricIdCalculateParams

type GetUsageMetricsByUsageMetricIdCalculateParams struct {
	// CustomerAliases Customer Aliases / internal IDs
	CustomerAliases string `form:"customerAliases" json:"customerAliases"`

	// PeriodStart Billing period start
	PeriodStart string `form:"periodStart" json:"periodStart"`

	// PeriodEnd Billing period end (inclusive)
	PeriodEnd string `form:"periodEnd" json:"periodEnd"`

	// CustomParameters Custom parameter values
	CustomParameters *string `form:"customParameters,omitempty" json:"customParameters,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsageMetricsByUsageMetricIdCalculateParams defines parameters for GetUsageMetricsByUsageMetricIdCalculate.

type GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion

type GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion string

GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion defines parameters for GetUsageMetricsByUsageMetricIdCalculate.

const (
	GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersionN20240730 GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsageMetricsByUsageMetricIdCalculateParamsSequenceVersion.

type GetUsageMetricsByUsageMetricIdCalculateResponse

type GetUsageMetricsByUsageMetricIdCalculateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsageMetricCalculationResponse
}

func ParseGetUsageMetricsByUsageMetricIdCalculateResponse

func ParseGetUsageMetricsByUsageMetricIdCalculateResponse(rsp *http.Response) (*GetUsageMetricsByUsageMetricIdCalculateResponse, error)

ParseGetUsageMetricsByUsageMetricIdCalculateResponse parses an HTTP response from a GetUsageMetricsByUsageMetricIdCalculateWithResponse call

func (GetUsageMetricsByUsageMetricIdCalculateResponse) Status

Status returns HTTPResponse.Status

func (GetUsageMetricsByUsageMetricIdCalculateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUsageMetricsParams

type GetUsageMetricsParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsageMetricsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsageMetricsParams defines parameters for GetUsageMetrics.

type GetUsageMetricsParamsSequenceVersion

type GetUsageMetricsParamsSequenceVersion string

GetUsageMetricsParamsSequenceVersion defines parameters for GetUsageMetrics.

const (
	GetUsageMetricsParamsSequenceVersionN20240730 GetUsageMetricsParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsageMetricsParamsSequenceVersion.

type GetUsageMetricsResponse

type GetUsageMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUsageMetricEndpointProductResponseModel
}

func ParseGetUsageMetricsResponse

func ParseGetUsageMetricsResponse(rsp *http.Response) (*GetUsageMetricsResponse, error)

ParseGetUsageMetricsResponse parses an HTTP response from a GetUsageMetricsWithResponse call

func (GetUsageMetricsResponse) Status

func (r GetUsageMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsageMetricsResponse) StatusCode

func (r GetUsageMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsersByIdParams

type GetUsersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsersByIdParams defines parameters for GetUsersById.

type GetUsersByIdParamsSequenceVersion

type GetUsersByIdParamsSequenceVersion string

GetUsersByIdParamsSequenceVersion defines parameters for GetUsersById.

const (
	GetUsersByIdParamsSequenceVersionN20240730 GetUsersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsersByIdParamsSequenceVersion.

type GetUsersByIdResponse

type GetUsersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SequenceUserResponse
}

func ParseGetUsersByIdResponse

func ParseGetUsersByIdResponse(rsp *http.Response) (*GetUsersByIdResponse, error)

ParseGetUsersByIdResponse parses an HTTP response from a GetUsersByIdWithResponse call

func (GetUsersByIdResponse) Status

func (r GetUsersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsersByIdResponse) StatusCode

func (r GetUsersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsersParams

type GetUsersParams struct {
	// Limit Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// After Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.after` or `pagination.before` to retrieve each page.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Before Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from `pagination.next` or `pagination.previous` to retrieve each page.
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *GetUsersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

GetUsersParams defines parameters for GetUsers.

type GetUsersParamsSequenceVersion

type GetUsersParamsSequenceVersion string

GetUsersParamsSequenceVersion defines parameters for GetUsers.

const (
	GetUsersParamsSequenceVersionN20240730 GetUsersParamsSequenceVersion = "2024-07-30"
)

Defines values for GetUsersParamsSequenceVersion.

type GetUsersResponse

type GetUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSequenceUsersResponse
}

func ParseGetUsersResponse

func ParseGetUsersResponse(rsp *http.Response) (*GetUsersResponse, error)

ParseGetUsersResponse parses an HTTP response from a GetUsersWithResponse call

func (GetUsersResponse) Status

func (r GetUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsersResponse) StatusCode

func (r GetUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GraduatedListPriceRequest

type GraduatedListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure GraduatedPricingStructure `json:"structure"`

	// UsageCalculationPeriod The period over which usage is aggregated. This value is only taken into consideration and required with graduated pricing structures with a usage calculation mode of 'PERIOD'. It will be ignored for all non-graduated prices.
	UsageCalculationPeriod *UsageCalculationPeriod `json:"usageCalculationPeriod,omitempty"`
}

GraduatedListPriceRequest defines model for GraduatedListPriceRequest.

type GraduatedListPriceResponse

type GraduatedListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure GraduatedPricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`

	// UsageCalculationPeriod The period over which usage is aggregated. This value is only taken into consideration and required with graduated pricing structures with a usage calculation mode of 'PERIOD'. It will be ignored for all non-graduated prices.
	UsageCalculationPeriod *UsageCalculationPeriod `json:"usageCalculationPeriod,omitempty"`
}

GraduatedListPriceResponse defines model for GraduatedListPriceResponse.

type GraduatedPriceRequest

type GraduatedPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure GraduatedPricingStructure1 `json:"structure"`

	// UsageCalculationPeriod The period over which usage is aggregated.
	UsageCalculationPeriod *UsageCalculationPeriod1 `json:"usageCalculationPeriod,omitempty"`
}

GraduatedPriceRequest defines model for GraduatedPriceRequest.

type GraduatedPriceResponse

type GraduatedPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure GraduatedPricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UsageCalculationPeriod The period over which usage is aggregated.
	UsageCalculationPeriod *UsageCalculationPeriod1 `json:"usageCalculationPeriod,omitempty"`
}

GraduatedPriceResponse defines model for GraduatedPriceResponse.

type GraduatedPricingStructure

type GraduatedPricingStructure struct {
	PricingType GraduatedPricingType `json:"pricingType"`

	// Tiers A list of contiguous pricing tiers
	Tiers                []GraduatedUsageTier `json:"tiers"`
	UsageCalculationMode UsageCalculationMode `json:"usageCalculationMode"`

	// UsageMetricId The usage metric associated to this pricing structure
	UsageMetricId string `json:"usageMetricId"`
}

GraduatedPricingStructure The pricing structure

type GraduatedPricingStructure1

type GraduatedPricingStructure1 struct {
	PricingType GraduatedPricingType `json:"pricingType"`

	// Tiers A list of contiguous pricing tiers
	Tiers                []GraduatedUsageTier `json:"tiers"`
	UsageCalculationMode UsageCalculationMode `json:"usageCalculationMode"`

	// UsageMetricId The usage metric associated to this pricing structure
	UsageMetricId string `json:"usageMetricId"`
}

GraduatedPricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type GraduatedPricingType

type GraduatedPricingType string

GraduatedPricingType defines model for GraduatedPricingType.

const (
	GRADUATED GraduatedPricingType = "GRADUATED"
)

Defines values for GraduatedPricingType.

type GraduatedUsageTier

type GraduatedUsageTier struct {
	// Fee The nominal fee associated with usage at this tier
	Fee *string `json:"fee,omitempty"`

	// IsPricePercentage Indicate whether the price attribute is to be considered as a percentage or an absolute value.
	IsPricePercentage bool `json:"isPricePercentage"`

	// Price The rate to apply to usage for this product in this tier. In the case of percentage pricing where `isPricePercentage` is set to `true`, a value of 1 represents 100%.
	Price string `json:"price"`

	// UpperBound The upper bound of usage for this tier. Set to null to if this is a final tier and is unbounded. The lower bound is set by the previous tier or 0 if it's the first one.
	UpperBound *string `json:"upperBound,omitempty"`
}

GraduatedUsageTier defines model for GraduatedUsageTier.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InclusiveDateRange

type InclusiveDateRange struct {
	// EndInclusive End date, included in the whole range
	EndInclusive openapi_types.Date `json:"endInclusive"`

	// Start Start date, included in the whole range
	Start openapi_types.Date `json:"start"`
}

InclusiveDateRange Billing period

type IntegrationExternalIdentifier

type IntegrationExternalIdentifier struct {
	Key   IntegrationService `json:"key"`
	Value string             `json:"value"`
}

IntegrationExternalIdentifier defines model for IntegrationExternalIdentifier.

type IntegrationId

type IntegrationId struct {
	Id         string             `json:"id"`
	IsPending  bool               `json:"isPending"`
	LastSynced *string            `json:"lastSynced,omitempty"`
	Service    IntegrationService `json:"service"`
}

IntegrationId defines model for IntegrationId.

type IntegrationId1

type IntegrationId1 struct {
	Id        string             `json:"id"`
	IsPending bool               `json:"isPending"`
	Service   IntegrationService `json:"service"`
}

IntegrationId1 defines model for IntegrationId1.

type IntegrationId2

type IntegrationId2 struct {
	Id        string             `json:"id"`
	IsPending bool               `json:"isPending"`
	Service   IntegrationService `json:"service"`
}

IntegrationId2 defines model for IntegrationId2.

type IntegrationService

type IntegrationService string

IntegrationService defines model for IntegrationService.

const (
	IntegrationServiceAmazonRedshift   IntegrationService = "Amazon_Redshift"
	IntegrationServiceAnrok            IntegrationService = "Anrok"
	IntegrationServiceAvalara          IntegrationService = "Avalara"
	IntegrationServiceGoogleBigQuery   IntegrationService = "Google_BigQuery"
	IntegrationServiceGoogleSheets     IntegrationService = "Google_Sheets"
	IntegrationServiceHubSpot          IntegrationService = "HubSpot"
	IntegrationServiceNetSuite         IntegrationService = "NetSuite"
	IntegrationServiceQuickBooksOnline IntegrationService = "QuickBooks_Online"
	IntegrationServiceSalesforce       IntegrationService = "Salesforce"
	IntegrationServiceSlack            IntegrationService = "Slack"
	IntegrationServiceSnowflake        IntegrationService = "Snowflake"
	IntegrationServiceStripe           IntegrationService = "Stripe"
	IntegrationServiceXero             IntegrationService = "Xero"
)

Defines values for IntegrationService.

type IntermediaryBank

type IntermediaryBank struct {
	// BankAddress Customer's billing address
	BankAddress   Address1 `json:"bankAddress"`
	BankName      string   `json:"bankName"`
	RoutingNumber string   `json:"routingNumber"`
	SwiftCode     string   `json:"swiftCode"`
}

IntermediaryBank defines model for IntermediaryBank.

type Invoice

type Invoice struct {
	// AccountingDate Accounting date
	AccountingDate openapi_types.Date `json:"accountingDate"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId *string `json:"billingScheduleId,omitempty"`

	// CalculatedAt Time this invoice was last calculated (applicable for invoices generated by billing engine only)
	CalculatedAt *string `json:"calculatedAt,omitempty"`

	// CreatedAt Creation time
	CreatedAt string `json:"createdAt"`

	// CreditBalances Credit balances
	CreditBalances *string `json:"creditBalances,omitempty"`

	// CreditNoteIds IDs of linked credit notes (if any)
	CreditNoteIds []string `json:"creditNoteIds"`
	Currency      Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress Address1 `json:"customerBillingAddress"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails []string `json:"customerEmails"`

	// CustomerId The ID of the Customer this invoice is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName string `json:"customerLegalCompanyName"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress Address1 `json:"customerShippingAddress"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId     *string    `json:"customerTaxId,omitempty"`
	CustomerTaxStatus *TaxStatus `json:"customerTaxStatus,omitempty"`

	// DueDate Due date
	DueDate       *openapi_types.Date   `json:"dueDate,omitempty"`
	DunningStatus *InvoiceDunningStatus `json:"dunningStatus,omitempty"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// Id Invoice ID
	Id string `json:"id"`

	// InvoiceNumber Invoice number
	InvoiceNumber      *string `json:"invoiceNumber,omitempty"`
	IsCustomerArchived bool    `json:"isCustomerArchived"`

	// IssueDate Issue date
	IssueDate *openapi_types.Date `json:"issueDate,omitempty"`

	// LinkedServices External services which are linked to this invoice
	LinkedServices []LinkInfo `json:"linkedServices"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// MerchantDetails Merchant details
	MerchantDetails *InvoiceMerchantDetails `json:"merchantDetails,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata []KeyValuePair `json:"metadata"`

	// NetTotal Net total, in decimal format of the Invoice's currency
	NetTotal string `json:"netTotal"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`
	PaymentStatus  InvoicePaymentStatus    `json:"paymentStatus"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`

	// RenderSettings Settings that control how the invoice is rendered.
	RenderSettings InvoiceRenderSettingsInlineAggregate `json:"renderSettings"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string        `json:"sequenceAccountId"`
	Status            InvoiceStatus `json:"status"`

	// TotalTax Total tax, in decimal format of the Invoice's currency
	TotalTax string `json:"totalTax"`
}

Invoice defines model for Invoice.

type InvoiceDunningStatus

type InvoiceDunningStatus string

InvoiceDunningStatus defines model for InvoiceDunningStatus.

const (
	COMPLETED             InvoiceDunningStatus = "COMPLETED"
	FAILED                InvoiceDunningStatus = "FAILED"
	NOTREQUIRED           InvoiceDunningStatus = "NOT_REQUIRED"
	OVERDUECHECKSCHEDULED InvoiceDunningStatus = "OVERDUE_CHECK_SCHEDULED"
	SCHEDULED             InvoiceDunningStatus = "SCHEDULED"
)

Defines values for InvoiceDunningStatus.

type InvoiceMerchantDetails

type InvoiceMerchantDetails struct {
	// Address Customer's billing address
	Address Address1 `json:"address"`

	// AustralianDestination Merchant's account details, for receiving payment to a Canadian bank via Australian bank transfer
	AustralianDestination *AustralianBankAccountDestination `json:"australianDestination,omitempty"`

	// CaBankAccountDetails Merchant's Canadian account details, for receiving payment by Canadian bank transfer
	CaBankAccountDetails *CanadianBankAccountDestination `json:"caBankAccountDetails,omitempty"`

	// CanadianInternationalDestination Merchant's account details, for receiving payment to a Canadian bank via Wire transfer
	CanadianInternationalDestination *CanadianInternationalDestination `json:"canadianInternationalDestination,omitempty"`

	// CustomFields merchantCustomFields
	CustomFields []KeyValuePair `json:"customFields"`

	// Email Merchant's email
	Email string `json:"email"`

	// Iban Merchant's IBAN, for receiving payment by bank transfer
	Iban *string `json:"iban,omitempty"`

	// IncludeBeneficiaryAddressInPaymentDetails Include beneficiary address in payment details on invoice
	IncludeBeneficiaryAddressInPaymentDetails bool `json:"includeBeneficiaryAddressInPaymentDetails"`

	// LegalCompanyName Merchant's legal company name
	LegalCompanyName string `json:"legalCompanyName"`

	// LogoUrl Merchant's logo image URL
	LogoUrl *string `json:"logoUrl,omitempty"`

	// PhoneNumber Merchant's phone number
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// PrimaryColour Merchant's primary colour (for invoice rendering)
	PrimaryColour *string `json:"primaryColour,omitempty"`

	// TaxId Merchant's tax ID
	TaxId *string `json:"taxId,omitempty"`

	// UkAccountDetails Merchant's UK bank account details, for receiving payment by UK bank transfer
	UkAccountDetails *SortCodeAccountNumber `json:"ukAccountDetails,omitempty"`

	// UsAchDetails Merchant's US account details, for receiving payment by ACH
	UsAchDetails *UsAchDestination `json:"usAchDetails,omitempty"`

	// UsWireDetails Merchant's US account details, for receiving payment by wire transfer
	UsWireDetails *UsWireDestination `json:"usWireDetails,omitempty"`
}

InvoiceMerchantDetails Merchant details

type InvoicePaymentOption

type InvoicePaymentOption string

InvoicePaymentOption defines model for InvoicePaymentOption.

const (
	BANKTRANSFER InvoicePaymentOption = "BANK_TRANSFER"
	LINK         InvoicePaymentOption = "LINK"
)

Defines values for InvoicePaymentOption.

type InvoicePaymentStatus

type InvoicePaymentStatus string

InvoicePaymentStatus defines model for InvoicePaymentStatus.

const (
	PARTIALLYPAID InvoicePaymentStatus = "PARTIALLY_PAID"
	UNCOLLECTIBLE InvoicePaymentStatus = "UNCOLLECTIBLE"
	UNPAID        InvoicePaymentStatus = "UNPAID"
)

Defines values for InvoicePaymentStatus.

type InvoiceRenderSettingsInlineAggregate

type InvoiceRenderSettingsInlineAggregate struct {
	PaymentLinkDisplay PaymentLinkDisplayOption `json:"paymentLinkDisplay"`
}

InvoiceRenderSettingsInlineAggregate Settings that control how the invoice is rendered.

type InvoiceStatus

type InvoiceStatus string

InvoiceStatus defines model for InvoiceStatus.

const (
	DRAFT      InvoiceStatus = "DRAFT"
	FINAL      InvoiceStatus = "FINAL"
	INPROGRESS InvoiceStatus = "IN_PROGRESS"
	SENT       InvoiceStatus = "SENT"
	VOIDED     InvoiceStatus = "VOIDED"
)

Defines values for InvoiceStatus.

type KeyValuePair

type KeyValuePair struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

KeyValuePair defines model for KeyValuePair.

type LineItemGroupResponseModel

type LineItemGroupResponseModel struct {
	// Description Line Item Group Description
	Description *string `json:"description,omitempty"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// Id Line Item Group ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// InvoiceId Invoice ID
	InvoiceId string `json:"invoiceId"`

	// NetTotal Net total, in decimal format of the Invoice's currency
	NetTotal string `json:"netTotal"`

	// TaxCategory The tax category for all line items in this line item group
	TaxCategory *TaxCategoryResponse `json:"taxCategory,omitempty"`

	// Title Line Item Group Title
	Title string `json:"title"`

	// TotalTax Total tax, in decimal format of the Invoice's currency
	TotalTax string `json:"totalTax"`
}

LineItemGroupResponseModel defines model for LineItemGroupResponseModel.

type LinearListPriceRequest

type LinearListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure LinearPricingStructure `json:"structure"`
}

LinearListPriceRequest defines model for LinearListPriceRequest.

type LinearListPriceResponse

type LinearListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure LinearPricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

LinearListPriceResponse defines model for LinearListPriceResponse.

type LinearPriceRequest

type LinearPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure LinearPricingStructure1 `json:"structure"`
}

LinearPriceRequest defines model for LinearPriceRequest.

type LinearPriceResponse

type LinearPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure LinearPricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

LinearPriceResponse defines model for LinearPriceResponse.

type LinearPricingStructure

type LinearPricingStructure struct {
	// IsPricePercentage Indicate whether the price attribute is to be considered as a percentage or an absolute value.
	IsPricePercentage bool `json:"isPricePercentage"`

	// PricePerUnit The per unit rate to apply to usage for this product. In the case of percentage pricing where `isPricePercentage` is set to `true`, a value of 1 represents 100%.
	PricePerUnit string            `json:"pricePerUnit"`
	PricingType  LinearPricingType `json:"pricingType"`

	// UsageMetricId Usage metric associated to this pricing structure
	UsageMetricId string `json:"usageMetricId"`
}

LinearPricingStructure The pricing structure

type LinearPricingStructure1

type LinearPricingStructure1 struct {
	// IsPricePercentage Indicate whether the price attribute is to be considered as a percentage or an absolute value.
	IsPricePercentage bool `json:"isPricePercentage"`

	// PricePerUnit The per unit rate to apply to usage for this product. In the case of percentage pricing where `isPricePercentage` is set to `true`, a value of 1 represents 100%.
	PricePerUnit string            `json:"pricePerUnit"`
	PricingType  LinearPricingType `json:"pricingType"`

	// UsageMetricId Usage metric associated to this pricing structure
	UsageMetricId string `json:"usageMetricId"`
}

LinearPricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type LinearPricingType

type LinearPricingType string

LinearPricingType defines model for LinearPricingType.

const (
	LINEAR LinearPricingType = "LINEAR"
)

Defines values for LinearPricingType.

type LinkInfo

type LinkInfo struct {
	// ExternalId The ID of the related entity in external system
	ExternalId      string             `json:"externalId"`
	ExternalService IntegrationService `json:"externalService"`

	// ExternalUrl External URL
	ExternalUrl *string `json:"externalUrl,omitempty"`

	// SyncTime The time that this was synced from the connected integration
	SyncTime string `json:"syncTime"`
}

LinkInfo defines model for LinkInfo.

type ListBillingProductsEndpointListProductResponsePaginatedResponseModel

type ListBillingProductsEndpointListProductResponsePaginatedResponseModel struct {
	// Items Billing products
	Items []BillingProduct `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListBillingProductsEndpointListProductResponsePaginatedResponseModel defines model for ListBillingProductsEndpointListProductResponsePaginatedResponseModel.

type ListBillingSchedulesResponse

type ListBillingSchedulesResponse struct {
	// Items Billing Schedules
	Items []BillingScheduleResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListBillingSchedulesResponse defines model for ListBillingSchedulesResponse.

type ListContactEndpointContactResponseModel

type ListContactEndpointContactResponseModel struct {
	// Items Contacts
	Items []Contact `json:"items"`
}

ListContactEndpointContactResponseModel defines model for ListContactEndpointContactResponseModel.

type ListCreditGrantEndpointResponseModel

type ListCreditGrantEndpointResponseModel struct {
	// Items Credit grants
	Items []CreditGrant `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCreditGrantEndpointResponseModel defines model for ListCreditGrantEndpointResponseModel.

type ListCreditGrantsForCustomerEndpointCreditGrantResponse

type ListCreditGrantsForCustomerEndpointCreditGrantResponse struct {
	// Balance Amount remaining of Credits Granted
	Balance float32 `json:"balance"`

	// ExpiryDate Grant Expiry Date
	ExpiryDate *openapi_types.Date `json:"expiryDate,omitempty"`

	// GrantAmount Amount of Credits Granted
	GrantAmount float32 `json:"grantAmount"`

	// Id Credit Grant ID
	Id string `json:"id"`

	// IssueDate Grant Issue Date
	IssueDate openapi_types.Date `json:"issueDate"`

	// Name Credit Grant Name
	Name string `json:"name"`
}

ListCreditGrantsForCustomerEndpointCreditGrantResponse defines model for ListCreditGrantsForCustomerEndpointCreditGrantResponse.

type ListCreditGrantsForCustomerEndpointCreditGrantsResponse

type ListCreditGrantsForCustomerEndpointCreditGrantsResponse struct {
	// Items Credit Grants
	Items []ListCreditGrantsForCustomerEndpointCreditGrantResponse `json:"items"`
}

ListCreditGrantsForCustomerEndpointCreditGrantsResponse defines model for ListCreditGrantsForCustomerEndpointCreditGrantsResponse.

type ListCreditNoteEndpointProductListCreditNotePaginatedResponseModel

type ListCreditNoteEndpointProductListCreditNotePaginatedResponseModel struct {
	// Items CreditNotes
	Items []CreditNote `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse `json:"pagination"`
}

ListCreditNoteEndpointProductListCreditNotePaginatedResponseModel defines model for ListCreditNoteEndpointProductListCreditNotePaginatedResponseModel.

type ListCreditNoteLineItemEndpointProductListCreditNoteLineItemPaginatedResponseModel

type ListCreditNoteLineItemEndpointProductListCreditNoteLineItemPaginatedResponseModel struct {
	// Items CreditNoteLineItems
	Items []ListCreditNoteLineItemEndpointProductListCreditNoteLineItemResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCreditNoteLineItemEndpointProductListCreditNoteLineItemPaginatedResponseModel defines model for ListCreditNoteLineItemEndpointProductListCreditNoteLineItemPaginatedResponseModel.

type ListCreditNoteLineItemEndpointProductListCreditNoteLineItemResponseModel

type ListCreditNoteLineItemEndpointProductListCreditNoteLineItemResponseModel struct {
	// CreditNoteId Credit Note Line Item ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GrossTotal Gross Total
	GrossTotal string `json:"grossTotal"`

	// GroupId Credit Note Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// Id Credit Note Line Item ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemId Line Item ID
	LineItemId *string `json:"lineItemId,omitempty"`

	// NetTotal Net Total
	NetTotal string `json:"netTotal"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string      `json:"rate"`
	RateDisplay RateDisplay `json:"rateDisplay"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`

	// TotalTax Total Tax
	TotalTax string `json:"totalTax"`
}

ListCreditNoteLineItemEndpointProductListCreditNoteLineItemResponseModel defines model for ListCreditNoteLineItemEndpointProductListCreditNoteLineItemResponseModel.

type ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupPaginatedResponseModel

type ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupPaginatedResponseModel struct {
	// Items CreditNoteLineItemGroups
	Items []ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupPaginatedResponseModel defines model for ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupPaginatedResponseModel.

type ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupResponseModel

type ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupResponseModel struct {
	// CreditNoteId Credit Note ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// GrossTotal Gross total
	GrossTotal string `json:"grossTotal"`

	// Id Credit Note Line Item Group ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemGroupId Line Item Group ID
	LineItemGroupId *string `json:"lineItemGroupId,omitempty"`

	// NetTotal Net total
	NetTotal string `json:"netTotal"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`

	// TotalTax Total tax
	TotalTax string `json:"totalTax"`
}

ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupResponseModel defines model for ListCreditNoteLineItemGroupEndpointProductListCreditNoteLineItemGroupResponseModel.

type ListCustomerAliasEndpointProductListCustomerAliasPaginatedResponseModel

type ListCustomerAliasEndpointProductListCustomerAliasPaginatedResponseModel struct {
	// Items CustomerAliass
	Items []ListCustomerAliasEndpointProductListCustomerAliasResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCustomerAliasEndpointProductListCustomerAliasPaginatedResponseModel defines model for ListCustomerAliasEndpointProductListCustomerAliasPaginatedResponseModel.

type ListCustomerAliasEndpointProductListCustomerAliasResponseModel

type ListCustomerAliasEndpointProductListCustomerAliasResponseModel struct {
	// ArchivedAt Archived At
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// CreatedAt Created At
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// DeletedAt Deleted At
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// Label Alias label
	Label *string `json:"label,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

ListCustomerAliasEndpointProductListCustomerAliasResponseModel defines model for ListCustomerAliasEndpointProductListCustomerAliasResponseModel.

type ListCustomerResponse

type ListCustomerResponse struct {
	// Items Customers
	Items []ListCustomerResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCustomerResponse defines model for ListCustomerResponse.

type ListCustomerResponseModel

type ListCustomerResponseModel struct {
	// Address Address
	Address Address `json:"address"`

	// CreatedAt Time at which the customer was initially created, in ISO 8601 format
	CreatedAt string `json:"createdAt"`

	// Domain Customer's primary domain name
	Domain *string `json:"domain,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds External services which are linked to this customer
	IntegrationIds []IntegrationId `json:"integrationIds"`

	// Label Label
	Label *string `json:"label,omitempty"`

	// LegalName Legal name
	LegalName string `json:"legalName"`

	// Organizations Organizations that this customer is a member of
	Organizations []CustomerOrganization `json:"organizations"`
	TaxStatus     TaxStatus              `json:"taxStatus"`

	// Url URL
	Url *string `json:"url,omitempty"`
}

ListCustomerResponseModel defines model for ListCustomerResponseModel.

type ListCustomerSeatBalancesEndpointListCustomerSeatBalancesPaginatedResponseModel

type ListCustomerSeatBalancesEndpointListCustomerSeatBalancesPaginatedResponseModel struct {
	// Items Seat balances
	Items []CustomerSeatBalances `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListCustomerSeatBalancesEndpointListCustomerSeatBalancesPaginatedResponseModel defines model for ListCustomerSeatBalancesEndpointListCustomerSeatBalancesPaginatedResponseModel.

type ListDiscountEndpointProductListDiscountPaginatedResponseModel

type ListDiscountEndpointProductListDiscountPaginatedResponseModel struct {
	// Items Discounts
	Items []ListDiscountEndpointProductListDiscountResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListDiscountEndpointProductListDiscountPaginatedResponseModel defines model for ListDiscountEndpointProductListDiscountPaginatedResponseModel.

type ListDiscountEndpointProductListDiscountResponseModel

type ListDiscountEndpointProductListDiscountResponseModel struct {
	// Amount Amount to be reduced
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt               string                  `json:"createdAt"`
	DiscountCalculationType DiscountCalculationType `json:"discountCalculationType"`

	// Id Discount ID
	Id string `json:"id"`

	// Message Message to appear on the Invoice
	Message string `json:"message"`

	// PhaseId Phase ID
	PhaseId *string `json:"phaseId,omitempty"`

	// PriceIds Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
	PriceIds []string `json:"priceIds"`

	// SeparateLineItem Indicates whether the discount should appear as a separate line item in the invoice
	SeparateLineItem bool `json:"separateLineItem"`

	// SequenceAccountId The Sequence Account to which this Discount belongs
	SequenceAccountId string `json:"sequenceAccountId"`

	// UpdatedAt Updated At
	UpdatedAt string `json:"updatedAt"`

	// ValidFrom First Day Discount is Valid
	ValidFrom *openapi_types.Date `json:"validFrom,omitempty"`

	// ValidTo Last Day Discount is Valid
	ValidTo *openapi_types.Date `json:"validTo,omitempty"`
}

ListDiscountEndpointProductListDiscountResponseModel defines model for ListDiscountEndpointProductListDiscountResponseModel.

type ListInvoiceEndpointListInvoicePaginatedResponseModel

type ListInvoiceEndpointListInvoicePaginatedResponseModel struct {
	// Items Invoices
	Items []Invoice `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListInvoiceEndpointListInvoicePaginatedResponseModel defines model for ListInvoiceEndpointListInvoicePaginatedResponseModel.

type ListLineItemEndpointPaginatedLineItemResponseModel

type ListLineItemEndpointPaginatedLineItemResponseModel struct {
	// Items LineItems
	Items []Stable20240101LineItemResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListLineItemEndpointPaginatedLineItemResponseModel defines model for ListLineItemEndpointPaginatedLineItemResponseModel.

type ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel

type ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel struct {
	// Items LineItemGroups
	Items []LineItemGroupResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel defines model for ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel.

type ListListPricesEndpointResponseModel

type ListListPricesEndpointResponseModel struct {
	// Items List prices
	Items []ListPrice `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListListPricesEndpointResponseModel defines model for ListListPricesEndpointResponseModel.

type ListPrice

type ListPrice struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string              `json:"productId"`
	Structure ListPrice_Structure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`

	// UsageCalculationPeriod The period over which usage is aggregated. This value is only taken into consideration and required with graduated pricing structures with a usage calculation mode of 'PERIOD'. It will be ignored for all non-graduated prices.
	UsageCalculationPeriod *UsageCalculationPeriod `json:"usageCalculationPeriod,omitempty"`
}

ListPrice defines model for ListPrice.

type ListPrice_Structure

type ListPrice_Structure struct {
	// contains filtered or unexported fields
}

ListPrice_Structure defines model for ListPrice.Structure.

func (ListPrice_Structure) AsFixedPricingStructure

func (t ListPrice_Structure) AsFixedPricingStructure() (FixedPricingStructure, error)

AsFixedPricingStructure returns the union data inside the ListPrice_Structure as a FixedPricingStructure

func (ListPrice_Structure) AsGraduatedPricingStructure

func (t ListPrice_Structure) AsGraduatedPricingStructure() (GraduatedPricingStructure, error)

AsGraduatedPricingStructure returns the union data inside the ListPrice_Structure as a GraduatedPricingStructure

func (ListPrice_Structure) AsLinearPricingStructure

func (t ListPrice_Structure) AsLinearPricingStructure() (LinearPricingStructure, error)

AsLinearPricingStructure returns the union data inside the ListPrice_Structure as a LinearPricingStructure

func (ListPrice_Structure) AsOneTimePricingStructure

func (t ListPrice_Structure) AsOneTimePricingStructure() (OneTimePricingStructure, error)

AsOneTimePricingStructure returns the union data inside the ListPrice_Structure as a OneTimePricingStructure

func (ListPrice_Structure) AsPackagePricingStructure

func (t ListPrice_Structure) AsPackagePricingStructure() (PackagePricingStructure, error)

AsPackagePricingStructure returns the union data inside the ListPrice_Structure as a PackagePricingStructure

func (ListPrice_Structure) AsSeatBasedPricingStructure

func (t ListPrice_Structure) AsSeatBasedPricingStructure() (SeatBasedPricingStructure, error)

AsSeatBasedPricingStructure returns the union data inside the ListPrice_Structure as a SeatBasedPricingStructure

func (ListPrice_Structure) AsVolumePricingStructure

func (t ListPrice_Structure) AsVolumePricingStructure() (VolumePricingStructure, error)

AsVolumePricingStructure returns the union data inside the ListPrice_Structure as a VolumePricingStructure

func (*ListPrice_Structure) FromFixedPricingStructure

func (t *ListPrice_Structure) FromFixedPricingStructure(v FixedPricingStructure) error

FromFixedPricingStructure overwrites any union data inside the ListPrice_Structure as the provided FixedPricingStructure

func (*ListPrice_Structure) FromGraduatedPricingStructure

func (t *ListPrice_Structure) FromGraduatedPricingStructure(v GraduatedPricingStructure) error

FromGraduatedPricingStructure overwrites any union data inside the ListPrice_Structure as the provided GraduatedPricingStructure

func (*ListPrice_Structure) FromLinearPricingStructure

func (t *ListPrice_Structure) FromLinearPricingStructure(v LinearPricingStructure) error

FromLinearPricingStructure overwrites any union data inside the ListPrice_Structure as the provided LinearPricingStructure

func (*ListPrice_Structure) FromOneTimePricingStructure

func (t *ListPrice_Structure) FromOneTimePricingStructure(v OneTimePricingStructure) error

FromOneTimePricingStructure overwrites any union data inside the ListPrice_Structure as the provided OneTimePricingStructure

func (*ListPrice_Structure) FromPackagePricingStructure

func (t *ListPrice_Structure) FromPackagePricingStructure(v PackagePricingStructure) error

FromPackagePricingStructure overwrites any union data inside the ListPrice_Structure as the provided PackagePricingStructure

func (*ListPrice_Structure) FromSeatBasedPricingStructure

func (t *ListPrice_Structure) FromSeatBasedPricingStructure(v SeatBasedPricingStructure) error

FromSeatBasedPricingStructure overwrites any union data inside the ListPrice_Structure as the provided SeatBasedPricingStructure

func (*ListPrice_Structure) FromVolumePricingStructure

func (t *ListPrice_Structure) FromVolumePricingStructure(v VolumePricingStructure) error

FromVolumePricingStructure overwrites any union data inside the ListPrice_Structure as the provided VolumePricingStructure

func (ListPrice_Structure) MarshalJSON

func (t ListPrice_Structure) MarshalJSON() ([]byte, error)

func (*ListPrice_Structure) MergeFixedPricingStructure

func (t *ListPrice_Structure) MergeFixedPricingStructure(v FixedPricingStructure) error

MergeFixedPricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided FixedPricingStructure

func (*ListPrice_Structure) MergeGraduatedPricingStructure

func (t *ListPrice_Structure) MergeGraduatedPricingStructure(v GraduatedPricingStructure) error

MergeGraduatedPricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided GraduatedPricingStructure

func (*ListPrice_Structure) MergeLinearPricingStructure

func (t *ListPrice_Structure) MergeLinearPricingStructure(v LinearPricingStructure) error

MergeLinearPricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided LinearPricingStructure

func (*ListPrice_Structure) MergeOneTimePricingStructure

func (t *ListPrice_Structure) MergeOneTimePricingStructure(v OneTimePricingStructure) error

MergeOneTimePricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided OneTimePricingStructure

func (*ListPrice_Structure) MergePackagePricingStructure

func (t *ListPrice_Structure) MergePackagePricingStructure(v PackagePricingStructure) error

MergePackagePricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided PackagePricingStructure

func (*ListPrice_Structure) MergeSeatBasedPricingStructure

func (t *ListPrice_Structure) MergeSeatBasedPricingStructure(v SeatBasedPricingStructure) error

MergeSeatBasedPricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided SeatBasedPricingStructure

func (*ListPrice_Structure) MergeVolumePricingStructure

func (t *ListPrice_Structure) MergeVolumePricingStructure(v VolumePricingStructure) error

MergeVolumePricingStructure performs a merge with any union data inside the ListPrice_Structure, using the provided VolumePricingStructure

func (*ListPrice_Structure) UnmarshalJSON

func (t *ListPrice_Structure) UnmarshalJSON(b []byte) error

type ListResponse

type ListResponse struct {
	// Items TaxRates
	Items []TaxRateResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListResponse defines model for ListResponse.

type ListSeatEventsEndpointEndpointResponseModel

type ListSeatEventsEndpointEndpointResponseModel struct {
	// Items Seat events
	Items []SeatEvent `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListSeatEventsEndpointEndpointResponseModel defines model for ListSeatEventsEndpointEndpointResponseModel.

type ListSeatMetricEndpointProductListSeatMetricPaginatedResponseModel

type ListSeatMetricEndpointProductListSeatMetricPaginatedResponseModel struct {
	// Items SeatMetrics
	Items []ListSeatMetricEndpointProductListSeatMetricResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListSeatMetricEndpointProductListSeatMetricPaginatedResponseModel defines model for ListSeatMetricEndpointProductListSeatMetricPaginatedResponseModel.

type ListSeatMetricEndpointProductListSeatMetricResponseModel

type ListSeatMetricEndpointProductListSeatMetricResponseModel struct {
	// CreatedAt The time at which this seat metric was created. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// CreatedBy The ID of the Sequence user who created this seat metric.
	CreatedBy *string `json:"createdBy,omitempty"`

	// Description Optional description for this seat metric.
	Description *string `json:"description,omitempty"`

	// Id Unique ID for this seat metric.
	Id string `json:"id"`

	// Label Friendly, customer-facing name for this seat metric.
	Label string `json:"label"`

	// SeatType Immutable, unique value used to identify and refer to this seat type when submitting events.
	SeatType string `json:"seatType"`

	// UpdatedAt The time at which this seat metric was updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

ListSeatMetricEndpointProductListSeatMetricResponseModel defines model for ListSeatMetricEndpointProductListSeatMetricResponseModel.

type ListSequenceAccountsResponse

type ListSequenceAccountsResponse struct {
	// Items A list of Sequence accounts that you have access to.
	Items []SequenceAccount `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse `json:"pagination"`
}

ListSequenceAccountsResponse defines model for ListSequenceAccountsResponse.

type ListSequenceUsersResponse

type ListSequenceUsersResponse struct {
	// Items A list of users.
	Items []SequenceUserResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse `json:"pagination"`
}

ListSequenceUsersResponse defines model for ListSequenceUsersResponse.

type ListTaxRegistrationEndpointProductListTaxRegistrationPaginatedResponseModel

type ListTaxRegistrationEndpointProductListTaxRegistrationPaginatedResponseModel struct {
	// Items TaxRegistrations
	Items []ListTaxRegistrationEndpointProductListTaxRegistrationResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListTaxRegistrationEndpointProductListTaxRegistrationPaginatedResponseModel defines model for ListTaxRegistrationEndpointProductListTaxRegistrationPaginatedResponseModel.

type ListTaxRegistrationEndpointProductListTaxRegistrationResponseModel

type ListTaxRegistrationEndpointProductListTaxRegistrationResponseModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

ListTaxRegistrationEndpointProductListTaxRegistrationResponseModel defines model for ListTaxRegistrationEndpointProductListTaxRegistrationResponseModel.

type ListUsageEventEndpointEndpointResponseModel

type ListUsageEventEndpointEndpointResponseModel struct {
	// Items Usage events
	Items []CreateUsageEventEndpointProductCreateUsageEventResponseModel `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListUsageEventEndpointEndpointResponseModel defines model for ListUsageEventEndpointEndpointResponseModel.

type ListUsageMetricEndpointProductResponseModel

type ListUsageMetricEndpointProductResponseModel struct {
	// Items Usage metrics
	Items []UsageMetric `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

ListUsageMetricEndpointProductResponseModel defines model for ListUsageMetricEndpointProductResponseModel.

type MetricType

type MetricType string

MetricType defines model for MetricType.

const (
	GROUPED MetricType = "GROUPED"
	SIMPLE  MetricType = "SIMPLE"
)

Defines values for MetricType.

type Minimum

type Minimum struct {
	// Amount Minimum amount
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt string `json:"createdAt"`

	// Id Minimum ID
	Id string `json:"id"`

	// PhaseId Phase ID
	PhaseId string `json:"phaseId"`

	// RestrictToPrices Price IDs the minimum is restricted to
	RestrictToPrices []string `json:"restrictToPrices"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// UpdatedAt Updated at
	UpdatedAt string `json:"updatedAt"`
}

Minimum defines model for Minimum.

type MinimumRequest

type MinimumRequest struct {
	// Amount The minimum amount
	Amount float32 `json:"amount"`

	// RestrictToPrices Price IDs to which this minimum applies
	RestrictToPrices *[]string `json:"restrictToPrices,omitempty"`
}

MinimumRequest defines model for MinimumRequest.

type NotificationChannel

type NotificationChannel string

NotificationChannel defines model for NotificationChannel.

const (
	EMAIL   NotificationChannel = "EMAIL"
	WEBHOOK NotificationChannel = "WEBHOOK"
)

Defines values for NotificationChannel.

type NotificationPolicies

type NotificationPolicies struct {
	// Items Notification policies
	Items []NotificationPolicy `json:"items"`

	// Pagination Results pagination
	Pagination PaginationResponse `json:"pagination"`
}

NotificationPolicies defines model for NotificationPolicies.

type NotificationPolicy

type NotificationPolicy struct {
	Channel NotificationChannel `json:"channel"`

	// CreatedAt Created at
	CreatedAt string `json:"createdAt"`

	// Id Unique ID
	Id string `json:"id"`

	// Name Human-readable name
	Name string `json:"name"`

	// NotificationTypes Set of notification types that this policy matches. If not present this policy will cover all notification types.
	NotificationTypes *[]NotificationType `json:"notificationTypes,omitempty"`

	// Recipients The webhook URLs or email addresses which will receive notifications, depending on the channel
	Recipients []string `json:"recipients"`

	// SequenceAccountId Sequence Account which this policy matches
	SequenceAccountId string `json:"sequenceAccountId"`

	// WebhookSecret Webhook secret used to generate a signature header that's sent with an outbound webhook.It can be used to verify the authenticity of received Sequence webhooks. Only available for webhook channel policies.
	WebhookSecret *string `json:"webhookSecret,omitempty"`
}

NotificationPolicy defines model for NotificationPolicy.

type NotificationType

type NotificationType string

NotificationType defines model for NotificationType.

const (
	NotificationTypeBILLINGSCHEDULEARCHIVED   NotificationType = "BILLING_SCHEDULE_ARCHIVED"
	NotificationTypeBILLINGSCHEDULECREATED    NotificationType = "BILLING_SCHEDULE_CREATED"
	NotificationTypeBILLINGSCHEDULEUPDATED    NotificationType = "BILLING_SCHEDULE_UPDATED"
	NotificationTypeCREDITNOTECREATED         NotificationType = "CREDIT_NOTE_CREATED"
	NotificationTypeCREDITNOTEISSUED          NotificationType = "CREDIT_NOTE_ISSUED"
	NotificationTypeCREDITNOTEUPDATED         NotificationType = "CREDIT_NOTE_UPDATED"
	NotificationTypeCUSTOMERARCHIVED          NotificationType = "CUSTOMER_ARCHIVED"
	NotificationTypeCUSTOMERCREATED           NotificationType = "CUSTOMER_CREATED"
	NotificationTypeCUSTOMERUPDATED           NotificationType = "CUSTOMER_UPDATED"
	NotificationTypeINTEGRATIONSYNCCOMPLETED  NotificationType = "INTEGRATION_SYNC_COMPLETED"
	NotificationTypeINTEGRATIONWEBHOOKHANDLED NotificationType = "INTEGRATION_WEBHOOK_HANDLED"
	NotificationTypeINVOICECREATED            NotificationType = "INVOICE_CREATED"
	NotificationTypeINVOICEISSUED             NotificationType = "INVOICE_ISSUED"
	NotificationTypeINVOICEUPDATED            NotificationType = "INVOICE_UPDATED"
	NotificationTypeMERCHANTUPDATED           NotificationType = "MERCHANT_UPDATED"
	NotificationTypeQUOTEACCEPTED             NotificationType = "QUOTE_ACCEPTED"
	NotificationTypeQUOTEPUBLISHED            NotificationType = "QUOTE_PUBLISHED"
)

Defines values for NotificationType.

type OneTimeListPriceRequest

type OneTimeListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure OneTimePricingStructure `json:"structure"`
}

OneTimeListPriceRequest defines model for OneTimeListPriceRequest.

type OneTimeListPriceResponse

type OneTimeListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure OneTimePricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

OneTimeListPriceResponse defines model for OneTimeListPriceResponse.

type OneTimePriceRequest

type OneTimePriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure OneTimePricingStructure1 `json:"structure"`
}

OneTimePriceRequest defines model for OneTimePriceRequest.

type OneTimePriceResponse

type OneTimePriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure OneTimePricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

OneTimePriceResponse defines model for OneTimePriceResponse.

type OneTimePricingStructure

type OneTimePricingStructure struct {
	// Price A fixed amount that is charged once.
	Price       string             `json:"price"`
	PricingType OneTimePricingType `json:"pricingType"`
}

OneTimePricingStructure The pricing structure

type OneTimePricingStructure1

type OneTimePricingStructure1 struct {
	// Price A fixed amount that is charged once.
	Price       string             `json:"price"`
	PricingType OneTimePricingType `json:"pricingType"`
}

OneTimePricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type OneTimePricingType

type OneTimePricingType string

OneTimePricingType defines model for OneTimePricingType.

const (
	OneTimePricingTypeONETIME OneTimePricingType = "ONE_TIME"
)

Defines values for OneTimePricingType.

type PackageListPriceRequest

type PackageListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure PackagePricingStructure `json:"structure"`
}

PackageListPriceRequest defines model for PackageListPriceRequest.

type PackageListPriceResponse

type PackageListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure PackagePricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

PackageListPriceResponse defines model for PackageListPriceResponse.

type PackagePriceRequest

type PackagePriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure PackagePricingStructure1 `json:"structure"`
}

PackagePriceRequest defines model for PackagePriceRequest.

type PackagePriceResponse

type PackagePriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure PackagePricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

PackagePriceResponse defines model for PackagePriceResponse.

type PackagePricingStructure

type PackagePricingStructure struct {
	// PackageSize The amount of usage allowed for the price in this structure
	PackageSize string `json:"packageSize"`

	// PricePerPackage The price charged for each package
	PricePerPackage string             `json:"pricePerPackage"`
	PricingType     PackagePricingType `json:"pricingType"`

	// UsageMetricId The usage metric associated to this tier
	UsageMetricId string `json:"usageMetricId"`
}

PackagePricingStructure The pricing structure

type PackagePricingStructure1

type PackagePricingStructure1 struct {
	// PackageSize The amount of usage allowed for the price in this structure
	PackageSize string `json:"packageSize"`

	// PricePerPackage The price charged for each package
	PricePerPackage string             `json:"pricePerPackage"`
	PricingType     PackagePricingType `json:"pricingType"`

	// UsageMetricId The usage metric associated to this tier
	UsageMetricId string `json:"usageMetricId"`
}

PackagePricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type PackagePricingType

type PackagePricingType string

PackagePricingType defines model for PackagePricingType.

const (
	PACKAGE PackagePricingType = "PACKAGE"
)

Defines values for PackagePricingType.

type PaginationMeta

type PaginationMeta struct {
	// After Cursor for the page after this (if it exists)
	After *string `json:"after,omitempty"`

	// Before Cursor for the page before this (if it exists)
	Before *string `json:"before,omitempty"`

	// TotalResultSize Total number of entries across all pages
	TotalResultSize *int64 `json:"totalResultSize,omitempty"`
}

PaginationMeta Results pagination

type PaginationResponse

type PaginationResponse struct {
	// After Copy this value to the `after` parameter of your next request to retrieve the next page of results
	After *string `json:"after,omitempty"`

	// Before Copy this value to the `before` parameter of your next request to retrieve the next page of results
	Before *string `json:"before,omitempty"`

	// TotalResultSize Total number of entries across all pages
	TotalResultSize *int64 `json:"totalResultSize,omitempty"`
}

PaginationResponse Results pagination

type PaginationResponse1

type PaginationResponse1 struct {
	// After Copy this value to the `after` parameter of your next request to retrieve the next page of results
	After *string `json:"after,omitempty"`

	// Before Copy this value to the `before` parameter of your next request to retrieve the next page of results
	Before *string `json:"before,omitempty"`

	// TotalResultSize Total number of entries across all pages
	TotalResultSize *int64 `json:"totalResultSize,omitempty"`
}

PaginationResponse1 Results pagination

type PatchInvoicesByIdJSONRequestBody

type PatchInvoicesByIdJSONRequestBody = Stable20240101PatchInvoiceRequest

PatchInvoicesByIdJSONRequestBody defines body for PatchInvoicesById for application/json ContentType.

type PatchInvoicesByIdParams

type PatchInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PatchInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PatchInvoicesByIdParams defines parameters for PatchInvoicesById.

type PatchInvoicesByIdParamsSequenceVersion

type PatchInvoicesByIdParamsSequenceVersion string

PatchInvoicesByIdParamsSequenceVersion defines parameters for PatchInvoicesById.

const (
	PatchInvoicesByIdParamsSequenceVersionN20240730 PatchInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PatchInvoicesByIdParamsSequenceVersion.

type PatchInvoicesByIdResponse

type PatchInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePatchInvoicesByIdResponse

func ParsePatchInvoicesByIdResponse(rsp *http.Response) (*PatchInvoicesByIdResponse, error)

ParsePatchInvoicesByIdResponse parses an HTTP response from a PatchInvoicesByIdWithResponse call

func (PatchInvoicesByIdResponse) Status

func (r PatchInvoicesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchInvoicesByIdResponse) StatusCode

func (r PatchInvoicesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PaymentFailureNotificationOptions

type PaymentFailureNotificationOptions string

PaymentFailureNotificationOptions defines model for PaymentFailureNotificationOptions.

const (
	DONOTSENDNOTIFICATIONS PaymentFailureNotificationOptions = "DO_NOT_SEND_NOTIFICATIONS"
	SENDNOTIFICATIONS      PaymentFailureNotificationOptions = "SEND_NOTIFICATIONS"
)

Defines values for PaymentFailureNotificationOptions.

type PaymentFailureNotifications

type PaymentFailureNotifications struct {
	CustomerNotifications PaymentFailureNotificationOptions `json:"customerNotifications"`
	MerchantNotifications PaymentFailureNotificationOptions `json:"merchantNotifications"`
}

PaymentFailureNotifications The failure notification settings for the account

type PaymentLinkDisplayOption

type PaymentLinkDisplayOption string

PaymentLinkDisplayOption defines model for PaymentLinkDisplayOption.

const (
	HIDEPAYMENTLINK PaymentLinkDisplayOption = "HIDE_PAYMENT_LINK"
	SHOWPAYMENTLINK PaymentLinkDisplayOption = "SHOW_PAYMENT_LINK"
)

Defines values for PaymentLinkDisplayOption.

type PaymentProvider

type PaymentProvider string

PaymentProvider defines model for PaymentProvider.

const (
	PaymentProviderNONE   PaymentProvider = "NONE"
	PaymentProviderSTRIPE PaymentProvider = "STRIPE"
)

Defines values for PaymentProvider.

type Phase

type Phase struct {
	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt string `json:"createdAt"`

	// Discounts Discounts in Phase
	Discounts []EmbeddableDiscount `json:"discounts"`

	// EndDate End date
	EndDate *openapi_types.Date `json:"endDate,omitempty"`

	// Id Phase ID
	Id       string    `json:"id"`
	Minimums []Minimum `json:"minimums"`

	// Name Name
	Name *string `json:"name,omitempty"`

	// PriceIds Price IDs
	PriceIds             []string                  `json:"priceIds"`
	RecurrencePreference PhaseRecurrencePreference `json:"recurrencePreference"`

	// StartDate Start Date
	StartDate openapi_types.Date `json:"startDate"`
}

Phase defines model for Phase.

type PhaseRecurrencePreference

type PhaseRecurrencePreference string

PhaseRecurrencePreference defines model for PhaseRecurrencePreference.

const (
	CONTINUEFROMPREVIOUSPHASE PhaseRecurrencePreference = "CONTINUE_FROM_PREVIOUS_PHASE"
	RESET                     PhaseRecurrencePreference = "RESET"
)

Defines values for PhaseRecurrencePreference.

type PhaseRequest

type PhaseRequest struct {
	// Discounts Discounts applicable to this phase
	Discounts *[]EmbeddableDiscount `json:"discounts,omitempty"`

	// EndDate Phase end date. A null end date denotes an open-ended phase. Only the last phase can be open-ended.
	EndDate *openapi_types.Date `json:"endDate,omitempty"`

	// ListPriceIds IDs of list prices from which to create prices for this phase
	ListPriceIds *[]string `json:"listPriceIds,omitempty"`

	// Minimums Minimums applicable to this phase
	Minimums *[]MinimumRequest `json:"minimums,omitempty"`

	// Name Optional name for the Phase
	Name *string `json:"name,omitempty"`

	// PriceIds The price IDs included in this phase
	PriceIds             []string                   `json:"priceIds"`
	RecurrencePreference *PhaseRecurrencePreference `json:"recurrencePreference,omitempty"`

	// StartDate Phase start date
	StartDate openapi_types.Date `json:"startDate"`
}

PhaseRequest defines model for PhaseRequest.

type PostBillingSchedulesByBillingScheduleIdArchiveParams

type PostBillingSchedulesByBillingScheduleIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostBillingSchedulesByBillingScheduleIdArchiveParams defines parameters for PostBillingSchedulesByBillingScheduleIdArchive.

type PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion

type PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion string

PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion defines parameters for PostBillingSchedulesByBillingScheduleIdArchive.

const (
	PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersionN20240730 PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostBillingSchedulesByBillingScheduleIdArchiveParamsSequenceVersion.

type PostBillingSchedulesByBillingScheduleIdArchiveResponse

type PostBillingSchedulesByBillingScheduleIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleResponse
}

func ParsePostBillingSchedulesByBillingScheduleIdArchiveResponse

func ParsePostBillingSchedulesByBillingScheduleIdArchiveResponse(rsp *http.Response) (*PostBillingSchedulesByBillingScheduleIdArchiveResponse, error)

ParsePostBillingSchedulesByBillingScheduleIdArchiveResponse parses an HTTP response from a PostBillingSchedulesByBillingScheduleIdArchiveWithResponse call

func (PostBillingSchedulesByBillingScheduleIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostBillingSchedulesByBillingScheduleIdArchiveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostBillingSchedulesJSONRequestBody

type PostBillingSchedulesJSONRequestBody = CreateBillingScheduleRequest

PostBillingSchedulesJSONRequestBody defines body for PostBillingSchedules for application/json ContentType.

type PostBillingSchedulesParams

type PostBillingSchedulesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostBillingSchedulesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostBillingSchedulesParams defines parameters for PostBillingSchedules.

type PostBillingSchedulesParamsSequenceVersion

type PostBillingSchedulesParamsSequenceVersion string

PostBillingSchedulesParamsSequenceVersion defines parameters for PostBillingSchedules.

const (
	PostBillingSchedulesParamsSequenceVersionN20240730 PostBillingSchedulesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostBillingSchedulesParamsSequenceVersion.

type PostBillingSchedulesResponse

type PostBillingSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BillingScheduleResponse
}

func ParsePostBillingSchedulesResponse

func ParsePostBillingSchedulesResponse(rsp *http.Response) (*PostBillingSchedulesResponse, error)

ParsePostBillingSchedulesResponse parses an HTTP response from a PostBillingSchedulesWithResponse call

func (PostBillingSchedulesResponse) Status

Status returns HTTPResponse.Status

func (PostBillingSchedulesResponse) StatusCode

func (r PostBillingSchedulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostBillingSchedulesValidateTaxesJSONRequestBody

type PostBillingSchedulesValidateTaxesJSONRequestBody = CreateBillingScheduleRequest

PostBillingSchedulesValidateTaxesJSONRequestBody defines body for PostBillingSchedulesValidateTaxes for application/json ContentType.

type PostBillingSchedulesValidateTaxesParams

type PostBillingSchedulesValidateTaxesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostBillingSchedulesValidateTaxesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostBillingSchedulesValidateTaxesParams defines parameters for PostBillingSchedulesValidateTaxes.

type PostBillingSchedulesValidateTaxesParamsSequenceVersion

type PostBillingSchedulesValidateTaxesParamsSequenceVersion string

PostBillingSchedulesValidateTaxesParamsSequenceVersion defines parameters for PostBillingSchedulesValidateTaxes.

const (
	PostBillingSchedulesValidateTaxesParamsSequenceVersionN20240730 PostBillingSchedulesValidateTaxesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostBillingSchedulesValidateTaxesParamsSequenceVersion.

type PostBillingSchedulesValidateTaxesResponse

type PostBillingSchedulesValidateTaxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostBillingSchedulesValidateTaxesResponse

func ParsePostBillingSchedulesValidateTaxesResponse(rsp *http.Response) (*PostBillingSchedulesValidateTaxesResponse, error)

ParsePostBillingSchedulesValidateTaxesResponse parses an HTTP response from a PostBillingSchedulesValidateTaxesWithResponse call

func (PostBillingSchedulesValidateTaxesResponse) Status

Status returns HTTPResponse.Status

func (PostBillingSchedulesValidateTaxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody

type PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody = CreateCreditNoteLineItemGroupEndpointCreateCreditNoteLineItemGroupRequestModel

PostCreditNotesByCreditnoteLineItemGroupsJSONRequestBody defines body for PostCreditNotesByCreditnoteLineItemGroups for application/json ContentType.

type PostCreditNotesByCreditnoteLineItemGroupsParams

type PostCreditNotesByCreditnoteLineItemGroupsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByCreditnoteLineItemGroupsParams defines parameters for PostCreditNotesByCreditnoteLineItemGroups.

type PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion

type PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion string

PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion defines parameters for PostCreditNotesByCreditnoteLineItemGroups.

const (
	PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersionN20240730 PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByCreditnoteLineItemGroupsParamsSequenceVersion.

type PostCreditNotesByCreditnoteLineItemGroupsResponse

type PostCreditNotesByCreditnoteLineItemGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateCreditNoteLineItemGroupEndpointProductCreateCreditNoteLineItemGroupResponseModel
}

func ParsePostCreditNotesByCreditnoteLineItemGroupsResponse

func ParsePostCreditNotesByCreditnoteLineItemGroupsResponse(rsp *http.Response) (*PostCreditNotesByCreditnoteLineItemGroupsResponse, error)

ParsePostCreditNotesByCreditnoteLineItemGroupsResponse parses an HTTP response from a PostCreditNotesByCreditnoteLineItemGroupsWithResponse call

func (PostCreditNotesByCreditnoteLineItemGroupsResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByCreditnoteLineItemGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByCreditnoteLineItemsJSONRequestBody

type PostCreditNotesByCreditnoteLineItemsJSONRequestBody = CreateCreditNoteLineItemEndpointCreateCreditNoteLineItemRequestModel

PostCreditNotesByCreditnoteLineItemsJSONRequestBody defines body for PostCreditNotesByCreditnoteLineItems for application/json ContentType.

type PostCreditNotesByCreditnoteLineItemsParams

type PostCreditNotesByCreditnoteLineItemsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByCreditnoteLineItemsParams defines parameters for PostCreditNotesByCreditnoteLineItems.

type PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion

type PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion string

PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion defines parameters for PostCreditNotesByCreditnoteLineItems.

const (
	PostCreditNotesByCreditnoteLineItemsParamsSequenceVersionN20240730 PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByCreditnoteLineItemsParamsSequenceVersion.

type PostCreditNotesByCreditnoteLineItemsResponse

type PostCreditNotesByCreditnoteLineItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateCreditNoteLineItemEndpointProductCreateCreditNoteLineItemResponseModel
}

func ParsePostCreditNotesByCreditnoteLineItemsResponse

func ParsePostCreditNotesByCreditnoteLineItemsResponse(rsp *http.Response) (*PostCreditNotesByCreditnoteLineItemsResponse, error)

ParsePostCreditNotesByCreditnoteLineItemsResponse parses an HTTP response from a PostCreditNotesByCreditnoteLineItemsWithResponse call

func (PostCreditNotesByCreditnoteLineItemsResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByCreditnoteLineItemsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByIdFinalizeAndSendParams

type PostCreditNotesByIdFinalizeAndSendParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByIdFinalizeAndSendParams defines parameters for PostCreditNotesByIdFinalizeAndSend.

type PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion

type PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion string

PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion defines parameters for PostCreditNotesByIdFinalizeAndSend.

const (
	PostCreditNotesByIdFinalizeAndSendParamsSequenceVersionN20240730 PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByIdFinalizeAndSendParamsSequenceVersion.

type PostCreditNotesByIdFinalizeAndSendResponse

type PostCreditNotesByIdFinalizeAndSendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParsePostCreditNotesByIdFinalizeAndSendResponse

func ParsePostCreditNotesByIdFinalizeAndSendResponse(rsp *http.Response) (*PostCreditNotesByIdFinalizeAndSendResponse, error)

ParsePostCreditNotesByIdFinalizeAndSendResponse parses an HTTP response from a PostCreditNotesByIdFinalizeAndSendWithResponse call

func (PostCreditNotesByIdFinalizeAndSendResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByIdFinalizeAndSendResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByIdFinalizeParams

type PostCreditNotesByIdFinalizeParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByIdFinalizeParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByIdFinalizeParams defines parameters for PostCreditNotesByIdFinalize.

type PostCreditNotesByIdFinalizeParamsSequenceVersion

type PostCreditNotesByIdFinalizeParamsSequenceVersion string

PostCreditNotesByIdFinalizeParamsSequenceVersion defines parameters for PostCreditNotesByIdFinalize.

const (
	PostCreditNotesByIdFinalizeParamsSequenceVersionN20240730 PostCreditNotesByIdFinalizeParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByIdFinalizeParamsSequenceVersion.

type PostCreditNotesByIdFinalizeResponse

type PostCreditNotesByIdFinalizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParsePostCreditNotesByIdFinalizeResponse

func ParsePostCreditNotesByIdFinalizeResponse(rsp *http.Response) (*PostCreditNotesByIdFinalizeResponse, error)

ParsePostCreditNotesByIdFinalizeResponse parses an HTTP response from a PostCreditNotesByIdFinalizeWithResponse call

func (PostCreditNotesByIdFinalizeResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByIdFinalizeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByIdSendParams

type PostCreditNotesByIdSendParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByIdSendParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByIdSendParams defines parameters for PostCreditNotesByIdSend.

type PostCreditNotesByIdSendParamsSequenceVersion

type PostCreditNotesByIdSendParamsSequenceVersion string

PostCreditNotesByIdSendParamsSequenceVersion defines parameters for PostCreditNotesByIdSend.

const (
	PostCreditNotesByIdSendParamsSequenceVersionN20240730 PostCreditNotesByIdSendParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByIdSendParamsSequenceVersion.

type PostCreditNotesByIdSendResponse

type PostCreditNotesByIdSendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParsePostCreditNotesByIdSendResponse

func ParsePostCreditNotesByIdSendResponse(rsp *http.Response) (*PostCreditNotesByIdSendResponse, error)

ParsePostCreditNotesByIdSendResponse parses an HTTP response from a PostCreditNotesByIdSendWithResponse call

func (PostCreditNotesByIdSendResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByIdSendResponse) StatusCode

func (r PostCreditNotesByIdSendResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesByIdVoidParams

type PostCreditNotesByIdVoidParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesByIdVoidParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesByIdVoidParams defines parameters for PostCreditNotesByIdVoid.

type PostCreditNotesByIdVoidParamsSequenceVersion

type PostCreditNotesByIdVoidParamsSequenceVersion string

PostCreditNotesByIdVoidParamsSequenceVersion defines parameters for PostCreditNotesByIdVoid.

const (
	PostCreditNotesByIdVoidParamsSequenceVersionN20240730 PostCreditNotesByIdVoidParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesByIdVoidParamsSequenceVersion.

type PostCreditNotesByIdVoidResponse

type PostCreditNotesByIdVoidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParsePostCreditNotesByIdVoidResponse

func ParsePostCreditNotesByIdVoidResponse(rsp *http.Response) (*PostCreditNotesByIdVoidResponse, error)

ParsePostCreditNotesByIdVoidResponse parses an HTTP response from a PostCreditNotesByIdVoidWithResponse call

func (PostCreditNotesByIdVoidResponse) Status

Status returns HTTPResponse.Status

func (PostCreditNotesByIdVoidResponse) StatusCode

func (r PostCreditNotesByIdVoidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCreditNotesJSONRequestBody

type PostCreditNotesJSONRequestBody = CreateCreditNoteEndpointCreateCreditNoteRequestModel

PostCreditNotesJSONRequestBody defines body for PostCreditNotes for application/json ContentType.

type PostCreditNotesParams

type PostCreditNotesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditNotesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditNotesParams defines parameters for PostCreditNotes.

type PostCreditNotesParamsSequenceVersion

type PostCreditNotesParamsSequenceVersion string

PostCreditNotesParamsSequenceVersion defines parameters for PostCreditNotes.

const (
	PostCreditNotesParamsSequenceVersionN20240730 PostCreditNotesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditNotesParamsSequenceVersion.

type PostCreditNotesResponse

type PostCreditNotesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreditNote
}

func ParsePostCreditNotesResponse

func ParsePostCreditNotesResponse(rsp *http.Response) (*PostCreditNotesResponse, error)

ParsePostCreditNotesResponse parses an HTTP response from a PostCreditNotesWithResponse call

func (PostCreditNotesResponse) Status

func (r PostCreditNotesResponse) Status() string

Status returns HTTPResponse.Status

func (PostCreditNotesResponse) StatusCode

func (r PostCreditNotesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCreditsJSONRequestBody

type PostCreditsJSONRequestBody = CreateCreditGrantEndpointCreateCreditGrantRequestModel

PostCreditsJSONRequestBody defines body for PostCredits for application/json ContentType.

type PostCreditsParams

type PostCreditsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCreditsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCreditsParams defines parameters for PostCredits.

type PostCreditsParamsSequenceVersion

type PostCreditsParamsSequenceVersion string

PostCreditsParamsSequenceVersion defines parameters for PostCredits.

const (
	PostCreditsParamsSequenceVersionN20240730 PostCreditsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCreditsParamsSequenceVersion.

type PostCreditsResponse

type PostCreditsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateCreditGrantEndpointProductCreateCreditGrantResponseModel
}

func ParsePostCreditsResponse

func ParsePostCreditsResponse(rsp *http.Response) (*PostCreditsResponse, error)

ParsePostCreditsResponse parses an HTTP response from a PostCreditsWithResponse call

func (PostCreditsResponse) Status

func (r PostCreditsResponse) Status() string

Status returns HTTPResponse.Status

func (PostCreditsResponse) StatusCode

func (r PostCreditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCustomerAliasesJSONRequestBody

type PostCustomerAliasesJSONRequestBody = CreateCustomerAliasEndpointCreateCustomerAliasRequestModel

PostCustomerAliasesJSONRequestBody defines body for PostCustomerAliases for application/json ContentType.

type PostCustomerAliasesParams

type PostCustomerAliasesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomerAliasesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomerAliasesParams defines parameters for PostCustomerAliases.

type PostCustomerAliasesParamsSequenceVersion

type PostCustomerAliasesParamsSequenceVersion string

PostCustomerAliasesParamsSequenceVersion defines parameters for PostCustomerAliases.

const (
	PostCustomerAliasesParamsSequenceVersionN20240730 PostCustomerAliasesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomerAliasesParamsSequenceVersion.

type PostCustomerAliasesResponse

type PostCustomerAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateCustomerAliasEndpointProductCreateCustomerAliasResponseModel
}

func ParsePostCustomerAliasesResponse

func ParsePostCustomerAliasesResponse(rsp *http.Response) (*PostCustomerAliasesResponse, error)

ParsePostCustomerAliasesResponse parses an HTTP response from a PostCustomerAliasesWithResponse call

func (PostCustomerAliasesResponse) Status

Status returns HTTPResponse.Status

func (PostCustomerAliasesResponse) StatusCode

func (r PostCustomerAliasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCustomerOrganizationsByIdMembersJSONRequestBody

type PostCustomerOrganizationsByIdMembersJSONRequestBody = CustomerOrganizationMembers

PostCustomerOrganizationsByIdMembersJSONRequestBody defines body for PostCustomerOrganizationsByIdMembers for application/json ContentType.

type PostCustomerOrganizationsByIdMembersParams

type PostCustomerOrganizationsByIdMembersParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomerOrganizationsByIdMembersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomerOrganizationsByIdMembersParams defines parameters for PostCustomerOrganizationsByIdMembers.

type PostCustomerOrganizationsByIdMembersParamsSequenceVersion

type PostCustomerOrganizationsByIdMembersParamsSequenceVersion string

PostCustomerOrganizationsByIdMembersParamsSequenceVersion defines parameters for PostCustomerOrganizationsByIdMembers.

const (
	PostCustomerOrganizationsByIdMembersParamsSequenceVersionN20240730 PostCustomerOrganizationsByIdMembersParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomerOrganizationsByIdMembersParamsSequenceVersion.

type PostCustomerOrganizationsByIdMembersResponse

type PostCustomerOrganizationsByIdMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomerOrganization
}

func ParsePostCustomerOrganizationsByIdMembersResponse

func ParsePostCustomerOrganizationsByIdMembersResponse(rsp *http.Response) (*PostCustomerOrganizationsByIdMembersResponse, error)

ParsePostCustomerOrganizationsByIdMembersResponse parses an HTTP response from a PostCustomerOrganizationsByIdMembersWithResponse call

func (PostCustomerOrganizationsByIdMembersResponse) Status

Status returns HTTPResponse.Status

func (PostCustomerOrganizationsByIdMembersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCustomerOrganizationsJSONRequestBody

type PostCustomerOrganizationsJSONRequestBody = CustomerOrganizationRequest

PostCustomerOrganizationsJSONRequestBody defines body for PostCustomerOrganizations for application/json ContentType.

type PostCustomerOrganizationsParams

type PostCustomerOrganizationsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomerOrganizationsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomerOrganizationsParams defines parameters for PostCustomerOrganizations.

type PostCustomerOrganizationsParamsSequenceVersion

type PostCustomerOrganizationsParamsSequenceVersion string

PostCustomerOrganizationsParamsSequenceVersion defines parameters for PostCustomerOrganizations.

const (
	PostCustomerOrganizationsParamsSequenceVersionN20240730 PostCustomerOrganizationsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomerOrganizationsParamsSequenceVersion.

type PostCustomerOrganizationsResponse

type PostCustomerOrganizationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CustomerOrganization
}

func ParsePostCustomerOrganizationsResponse

func ParsePostCustomerOrganizationsResponse(rsp *http.Response) (*PostCustomerOrganizationsResponse, error)

ParsePostCustomerOrganizationsResponse parses an HTTP response from a PostCustomerOrganizationsWithResponse call

func (PostCustomerOrganizationsResponse) Status

Status returns HTTPResponse.Status

func (PostCustomerOrganizationsResponse) StatusCode

func (r PostCustomerOrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCustomersByCustomerContactsByIdArchiveParams

type PostCustomersByCustomerContactsByIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomersByCustomerContactsByIdArchiveParams defines parameters for PostCustomersByCustomerContactsByIdArchive.

type PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion

type PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion string

PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion defines parameters for PostCustomersByCustomerContactsByIdArchive.

const (
	PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersionN20240730 PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomersByCustomerContactsByIdArchiveParamsSequenceVersion.

type PostCustomersByCustomerContactsByIdArchiveResponse

type PostCustomersByCustomerContactsByIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Contact
}

func ParsePostCustomersByCustomerContactsByIdArchiveResponse

func ParsePostCustomersByCustomerContactsByIdArchiveResponse(rsp *http.Response) (*PostCustomersByCustomerContactsByIdArchiveResponse, error)

ParsePostCustomersByCustomerContactsByIdArchiveResponse parses an HTTP response from a PostCustomersByCustomerContactsByIdArchiveWithResponse call

func (PostCustomersByCustomerContactsByIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostCustomersByCustomerContactsByIdArchiveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCustomersByCustomerContactsJSONRequestBody

type PostCustomersByCustomerContactsJSONRequestBody = ContactRequestModel

PostCustomersByCustomerContactsJSONRequestBody defines body for PostCustomersByCustomerContacts for application/json ContentType.

type PostCustomersByCustomerContactsParams

type PostCustomersByCustomerContactsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomersByCustomerContactsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomersByCustomerContactsParams defines parameters for PostCustomersByCustomerContacts.

type PostCustomersByCustomerContactsParamsSequenceVersion

type PostCustomersByCustomerContactsParamsSequenceVersion string

PostCustomersByCustomerContactsParamsSequenceVersion defines parameters for PostCustomersByCustomerContacts.

const (
	PostCustomersByCustomerContactsParamsSequenceVersionN20240730 PostCustomersByCustomerContactsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomersByCustomerContactsParamsSequenceVersion.

type PostCustomersByCustomerContactsResponse

type PostCustomersByCustomerContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Contact
}

func ParsePostCustomersByCustomerContactsResponse

func ParsePostCustomersByCustomerContactsResponse(rsp *http.Response) (*PostCustomersByCustomerContactsResponse, error)

ParsePostCustomersByCustomerContactsResponse parses an HTTP response from a PostCustomersByCustomerContactsWithResponse call

func (PostCustomersByCustomerContactsResponse) Status

Status returns HTTPResponse.Status

func (PostCustomersByCustomerContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCustomersByIdArchiveParams

type PostCustomersByIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomersByIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomersByIdArchiveParams defines parameters for PostCustomersByIdArchive.

type PostCustomersByIdArchiveParamsSequenceVersion

type PostCustomersByIdArchiveParamsSequenceVersion string

PostCustomersByIdArchiveParamsSequenceVersion defines parameters for PostCustomersByIdArchive.

const (
	PostCustomersByIdArchiveParamsSequenceVersionN20240730 PostCustomersByIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomersByIdArchiveParamsSequenceVersion.

type PostCustomersByIdArchiveResponse

type PostCustomersByIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Customer
}

func ParsePostCustomersByIdArchiveResponse

func ParsePostCustomersByIdArchiveResponse(rsp *http.Response) (*PostCustomersByIdArchiveResponse, error)

ParsePostCustomersByIdArchiveResponse parses an HTTP response from a PostCustomersByIdArchiveWithResponse call

func (PostCustomersByIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostCustomersByIdArchiveResponse) StatusCode

func (r PostCustomersByIdArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCustomersJSONRequestBody

type PostCustomersJSONRequestBody = CreateOrUpdateCustomerRequest

PostCustomersJSONRequestBody defines body for PostCustomers for application/json ContentType.

type PostCustomersParams

type PostCustomersParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostCustomersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostCustomersParams defines parameters for PostCustomers.

type PostCustomersParamsSequenceVersion

type PostCustomersParamsSequenceVersion string

PostCustomersParamsSequenceVersion defines parameters for PostCustomers.

const (
	PostCustomersParamsSequenceVersionN20240730 PostCustomersParamsSequenceVersion = "2024-07-30"
)

Defines values for PostCustomersParamsSequenceVersion.

type PostCustomersResponse

type PostCustomersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Customer
}

func ParsePostCustomersResponse

func ParsePostCustomersResponse(rsp *http.Response) (*PostCustomersResponse, error)

ParsePostCustomersResponse parses an HTTP response from a PostCustomersWithResponse call

func (PostCustomersResponse) Status

func (r PostCustomersResponse) Status() string

Status returns HTTPResponse.Status

func (PostCustomersResponse) StatusCode

func (r PostCustomersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdDraftParams

type PostInvoicesByIdDraftParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdDraftParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdDraftParams defines parameters for PostInvoicesByIdDraft.

type PostInvoicesByIdDraftParamsSequenceVersion

type PostInvoicesByIdDraftParamsSequenceVersion string

PostInvoicesByIdDraftParamsSequenceVersion defines parameters for PostInvoicesByIdDraft.

const (
	PostInvoicesByIdDraftParamsSequenceVersionN20240730 PostInvoicesByIdDraftParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdDraftParamsSequenceVersion.

type PostInvoicesByIdDraftResponse

type PostInvoicesByIdDraftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdDraftResponse

func ParsePostInvoicesByIdDraftResponse(rsp *http.Response) (*PostInvoicesByIdDraftResponse, error)

ParsePostInvoicesByIdDraftResponse parses an HTTP response from a PostInvoicesByIdDraftWithResponse call

func (PostInvoicesByIdDraftResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdDraftResponse) StatusCode

func (r PostInvoicesByIdDraftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdFinalizeAndSendParams

type PostInvoicesByIdFinalizeAndSendParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdFinalizeAndSendParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdFinalizeAndSendParams defines parameters for PostInvoicesByIdFinalizeAndSend.

type PostInvoicesByIdFinalizeAndSendParamsSequenceVersion

type PostInvoicesByIdFinalizeAndSendParamsSequenceVersion string

PostInvoicesByIdFinalizeAndSendParamsSequenceVersion defines parameters for PostInvoicesByIdFinalizeAndSend.

const (
	PostInvoicesByIdFinalizeAndSendParamsSequenceVersionN20240730 PostInvoicesByIdFinalizeAndSendParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdFinalizeAndSendParamsSequenceVersion.

type PostInvoicesByIdFinalizeAndSendResponse

type PostInvoicesByIdFinalizeAndSendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdFinalizeAndSendResponse

func ParsePostInvoicesByIdFinalizeAndSendResponse(rsp *http.Response) (*PostInvoicesByIdFinalizeAndSendResponse, error)

ParsePostInvoicesByIdFinalizeAndSendResponse parses an HTTP response from a PostInvoicesByIdFinalizeAndSendWithResponse call

func (PostInvoicesByIdFinalizeAndSendResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdFinalizeAndSendResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdFinalizeParams

type PostInvoicesByIdFinalizeParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdFinalizeParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdFinalizeParams defines parameters for PostInvoicesByIdFinalize.

type PostInvoicesByIdFinalizeParamsSequenceVersion

type PostInvoicesByIdFinalizeParamsSequenceVersion string

PostInvoicesByIdFinalizeParamsSequenceVersion defines parameters for PostInvoicesByIdFinalize.

const (
	PostInvoicesByIdFinalizeParamsSequenceVersionN20240730 PostInvoicesByIdFinalizeParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdFinalizeParamsSequenceVersion.

type PostInvoicesByIdFinalizeResponse

type PostInvoicesByIdFinalizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdFinalizeResponse

func ParsePostInvoicesByIdFinalizeResponse(rsp *http.Response) (*PostInvoicesByIdFinalizeResponse, error)

ParsePostInvoicesByIdFinalizeResponse parses an HTTP response from a PostInvoicesByIdFinalizeWithResponse call

func (PostInvoicesByIdFinalizeResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdFinalizeResponse) StatusCode

func (r PostInvoicesByIdFinalizeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdSendParams

type PostInvoicesByIdSendParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdSendParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdSendParams defines parameters for PostInvoicesByIdSend.

type PostInvoicesByIdSendParamsSequenceVersion

type PostInvoicesByIdSendParamsSequenceVersion string

PostInvoicesByIdSendParamsSequenceVersion defines parameters for PostInvoicesByIdSend.

const (
	PostInvoicesByIdSendParamsSequenceVersionN20240730 PostInvoicesByIdSendParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdSendParamsSequenceVersion.

type PostInvoicesByIdSendPaymentReminderParams

type PostInvoicesByIdSendPaymentReminderParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdSendPaymentReminderParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdSendPaymentReminderParams defines parameters for PostInvoicesByIdSendPaymentReminder.

type PostInvoicesByIdSendPaymentReminderParamsSequenceVersion

type PostInvoicesByIdSendPaymentReminderParamsSequenceVersion string

PostInvoicesByIdSendPaymentReminderParamsSequenceVersion defines parameters for PostInvoicesByIdSendPaymentReminder.

const (
	PostInvoicesByIdSendPaymentReminderParamsSequenceVersionN20240730 PostInvoicesByIdSendPaymentReminderParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdSendPaymentReminderParamsSequenceVersion.

type PostInvoicesByIdSendPaymentReminderResponse

type PostInvoicesByIdSendPaymentReminderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdSendPaymentReminderResponse

func ParsePostInvoicesByIdSendPaymentReminderResponse(rsp *http.Response) (*PostInvoicesByIdSendPaymentReminderResponse, error)

ParsePostInvoicesByIdSendPaymentReminderResponse parses an HTTP response from a PostInvoicesByIdSendPaymentReminderWithResponse call

func (PostInvoicesByIdSendPaymentReminderResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdSendPaymentReminderResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdSendResponse

type PostInvoicesByIdSendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdSendResponse

func ParsePostInvoicesByIdSendResponse(rsp *http.Response) (*PostInvoicesByIdSendResponse, error)

ParsePostInvoicesByIdSendResponse parses an HTTP response from a PostInvoicesByIdSendWithResponse call

func (PostInvoicesByIdSendResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdSendResponse) StatusCode

func (r PostInvoicesByIdSendResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByIdVoidParams

type PostInvoicesByIdVoidParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByIdVoidParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByIdVoidParams defines parameters for PostInvoicesByIdVoid.

type PostInvoicesByIdVoidParamsSequenceVersion

type PostInvoicesByIdVoidParamsSequenceVersion string

PostInvoicesByIdVoidParamsSequenceVersion defines parameters for PostInvoicesByIdVoid.

const (
	PostInvoicesByIdVoidParamsSequenceVersionN20240730 PostInvoicesByIdVoidParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByIdVoidParamsSequenceVersion.

type PostInvoicesByIdVoidResponse

type PostInvoicesByIdVoidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePostInvoicesByIdVoidResponse

func ParsePostInvoicesByIdVoidResponse(rsp *http.Response) (*PostInvoicesByIdVoidResponse, error)

ParsePostInvoicesByIdVoidResponse parses an HTTP response from a PostInvoicesByIdVoidWithResponse call

func (PostInvoicesByIdVoidResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByIdVoidResponse) StatusCode

func (r PostInvoicesByIdVoidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByInvoiceLineItemGroupsJSONRequestBody

type PostInvoicesByInvoiceLineItemGroupsJSONRequestBody = CreateLineItemGroupRequestModel

PostInvoicesByInvoiceLineItemGroupsJSONRequestBody defines body for PostInvoicesByInvoiceLineItemGroups for application/json ContentType.

type PostInvoicesByInvoiceLineItemGroupsParams

type PostInvoicesByInvoiceLineItemGroupsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByInvoiceLineItemGroupsParams defines parameters for PostInvoicesByInvoiceLineItemGroups.

type PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion

type PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion string

PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion defines parameters for PostInvoicesByInvoiceLineItemGroups.

const (
	PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersionN20240730 PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByInvoiceLineItemGroupsParamsSequenceVersion.

type PostInvoicesByInvoiceLineItemGroupsResponse

type PostInvoicesByInvoiceLineItemGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *LineItemGroupResponseModel
}

func ParsePostInvoicesByInvoiceLineItemGroupsResponse

func ParsePostInvoicesByInvoiceLineItemGroupsResponse(rsp *http.Response) (*PostInvoicesByInvoiceLineItemGroupsResponse, error)

ParsePostInvoicesByInvoiceLineItemGroupsResponse parses an HTTP response from a PostInvoicesByInvoiceLineItemGroupsWithResponse call

func (PostInvoicesByInvoiceLineItemGroupsResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByInvoiceLineItemGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesByInvoiceLineItemsJSONRequestBody

type PostInvoicesByInvoiceLineItemsJSONRequestBody = Stable20240101CreateOrUpdateLineItem

PostInvoicesByInvoiceLineItemsJSONRequestBody defines body for PostInvoicesByInvoiceLineItems for application/json ContentType.

type PostInvoicesByInvoiceLineItemsParams

type PostInvoicesByInvoiceLineItemsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesByInvoiceLineItemsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesByInvoiceLineItemsParams defines parameters for PostInvoicesByInvoiceLineItems.

type PostInvoicesByInvoiceLineItemsParamsSequenceVersion

type PostInvoicesByInvoiceLineItemsParamsSequenceVersion string

PostInvoicesByInvoiceLineItemsParamsSequenceVersion defines parameters for PostInvoicesByInvoiceLineItems.

const (
	PostInvoicesByInvoiceLineItemsParamsSequenceVersionN20240730 PostInvoicesByInvoiceLineItemsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesByInvoiceLineItemsParamsSequenceVersion.

type PostInvoicesByInvoiceLineItemsResponse

type PostInvoicesByInvoiceLineItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Stable20240101LineItemResponse
}

func ParsePostInvoicesByInvoiceLineItemsResponse

func ParsePostInvoicesByInvoiceLineItemsResponse(rsp *http.Response) (*PostInvoicesByInvoiceLineItemsResponse, error)

ParsePostInvoicesByInvoiceLineItemsResponse parses an HTTP response from a PostInvoicesByInvoiceLineItemsWithResponse call

func (PostInvoicesByInvoiceLineItemsResponse) Status

Status returns HTTPResponse.Status

func (PostInvoicesByInvoiceLineItemsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInvoicesJSONRequestBody

type PostInvoicesJSONRequestBody = Stable20240101CreateInvoiceRequest

PostInvoicesJSONRequestBody defines body for PostInvoices for application/json ContentType.

type PostInvoicesParams

type PostInvoicesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostInvoicesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostInvoicesParams defines parameters for PostInvoices.

type PostInvoicesParamsSequenceVersion

type PostInvoicesParamsSequenceVersion string

PostInvoicesParamsSequenceVersion defines parameters for PostInvoices.

const (
	PostInvoicesParamsSequenceVersionN20240730 PostInvoicesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostInvoicesParamsSequenceVersion.

type PostInvoicesResponse

type PostInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Invoice
}

func ParsePostInvoicesResponse

func ParsePostInvoicesResponse(rsp *http.Response) (*PostInvoicesResponse, error)

ParsePostInvoicesResponse parses an HTTP response from a PostInvoicesWithResponse call

func (PostInvoicesResponse) Status

func (r PostInvoicesResponse) Status() string

Status returns HTTPResponse.Status

func (PostInvoicesResponse) StatusCode

func (r PostInvoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostListPricesByIdArchiveParams

type PostListPricesByIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostListPricesByIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostListPricesByIdArchiveParams defines parameters for PostListPricesByIdArchive.

type PostListPricesByIdArchiveParamsSequenceVersion

type PostListPricesByIdArchiveParamsSequenceVersion string

PostListPricesByIdArchiveParamsSequenceVersion defines parameters for PostListPricesByIdArchive.

const (
	PostListPricesByIdArchiveParamsSequenceVersionN20240730 PostListPricesByIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostListPricesByIdArchiveParamsSequenceVersion.

type PostListPricesByIdArchiveResponse

type PostListPricesByIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParsePostListPricesByIdArchiveResponse

func ParsePostListPricesByIdArchiveResponse(rsp *http.Response) (*PostListPricesByIdArchiveResponse, error)

ParsePostListPricesByIdArchiveResponse parses an HTTP response from a PostListPricesByIdArchiveWithResponse call

func (PostListPricesByIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostListPricesByIdArchiveResponse) StatusCode

func (r PostListPricesByIdArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostListPricesJSONBody

type PostListPricesJSONBody struct {
	// contains filtered or unexported fields
}

PostListPricesJSONBody defines parameters for PostListPrices.

type PostListPricesJSONRequestBody

type PostListPricesJSONRequestBody PostListPricesJSONBody

PostListPricesJSONRequestBody defines body for PostListPrices for application/json ContentType.

type PostListPricesParams

type PostListPricesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostListPricesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostListPricesParams defines parameters for PostListPrices.

type PostListPricesParamsSequenceVersion

type PostListPricesParamsSequenceVersion string

PostListPricesParamsSequenceVersion defines parameters for PostListPrices.

const (
	PostListPricesParamsSequenceVersionN20240730 PostListPricesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostListPricesParamsSequenceVersion.

type PostListPricesResponse

type PostListPricesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		// contains filtered or unexported fields
	}
}

func ParsePostListPricesResponse

func ParsePostListPricesResponse(rsp *http.Response) (*PostListPricesResponse, error)

ParsePostListPricesResponse parses an HTTP response from a PostListPricesWithResponse call

func (PostListPricesResponse) Status

func (r PostListPricesResponse) Status() string

Status returns HTTPResponse.Status

func (PostListPricesResponse) StatusCode

func (r PostListPricesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody

type PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody = AddNotificationTypesToPolicyRequest

PostNotificationsPoliciesByIdNotificationTypesJSONRequestBody defines body for PostNotificationsPoliciesByIdNotificationTypes for application/json ContentType.

type PostNotificationsPoliciesByIdNotificationTypesParams

type PostNotificationsPoliciesByIdNotificationTypesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostNotificationsPoliciesByIdNotificationTypesParams defines parameters for PostNotificationsPoliciesByIdNotificationTypes.

type PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion

type PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion string

PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion defines parameters for PostNotificationsPoliciesByIdNotificationTypes.

const (
	PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersionN20240730 PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostNotificationsPoliciesByIdNotificationTypesParamsSequenceVersion.

type PostNotificationsPoliciesByIdNotificationTypesResponse

type PostNotificationsPoliciesByIdNotificationTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *DatabaseErrors
}

func ParsePostNotificationsPoliciesByIdNotificationTypesResponse

func ParsePostNotificationsPoliciesByIdNotificationTypesResponse(rsp *http.Response) (*PostNotificationsPoliciesByIdNotificationTypesResponse, error)

ParsePostNotificationsPoliciesByIdNotificationTypesResponse parses an HTTP response from a PostNotificationsPoliciesByIdNotificationTypesWithResponse call

func (PostNotificationsPoliciesByIdNotificationTypesResponse) Status

Status returns HTTPResponse.Status

func (PostNotificationsPoliciesByIdNotificationTypesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostNotificationsPoliciesByIdRecipientsJSONRequestBody

type PostNotificationsPoliciesByIdRecipientsJSONRequestBody = AddRecipientsToPolicyRequest

PostNotificationsPoliciesByIdRecipientsJSONRequestBody defines body for PostNotificationsPoliciesByIdRecipients for application/json ContentType.

type PostNotificationsPoliciesByIdRecipientsParams

type PostNotificationsPoliciesByIdRecipientsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostNotificationsPoliciesByIdRecipientsParams defines parameters for PostNotificationsPoliciesByIdRecipients.

type PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion

type PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion string

PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion defines parameters for PostNotificationsPoliciesByIdRecipients.

const (
	PostNotificationsPoliciesByIdRecipientsParamsSequenceVersionN20240730 PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostNotificationsPoliciesByIdRecipientsParamsSequenceVersion.

type PostNotificationsPoliciesByIdRecipientsResponse

type PostNotificationsPoliciesByIdRecipientsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *DatabaseErrors
}

func ParsePostNotificationsPoliciesByIdRecipientsResponse

func ParsePostNotificationsPoliciesByIdRecipientsResponse(rsp *http.Response) (*PostNotificationsPoliciesByIdRecipientsResponse, error)

ParsePostNotificationsPoliciesByIdRecipientsResponse parses an HTTP response from a PostNotificationsPoliciesByIdRecipientsWithResponse call

func (PostNotificationsPoliciesByIdRecipientsResponse) Status

Status returns HTTPResponse.Status

func (PostNotificationsPoliciesByIdRecipientsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostNotificationsPoliciesJSONRequestBody

type PostNotificationsPoliciesJSONRequestBody = CreateNotificationPolicyRequest

PostNotificationsPoliciesJSONRequestBody defines body for PostNotificationsPolicies for application/json ContentType.

type PostNotificationsPoliciesParams

type PostNotificationsPoliciesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostNotificationsPoliciesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostNotificationsPoliciesParams defines parameters for PostNotificationsPolicies.

type PostNotificationsPoliciesParamsSequenceVersion

type PostNotificationsPoliciesParamsSequenceVersion string

PostNotificationsPoliciesParamsSequenceVersion defines parameters for PostNotificationsPolicies.

const (
	PostNotificationsPoliciesParamsSequenceVersionN20240730 PostNotificationsPoliciesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostNotificationsPoliciesParamsSequenceVersion.

type PostNotificationsPoliciesResponse

type PostNotificationsPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *NotificationPolicy
	JSON400      *DatabaseErrors
}

func ParsePostNotificationsPoliciesResponse

func ParsePostNotificationsPoliciesResponse(rsp *http.Response) (*PostNotificationsPoliciesResponse, error)

ParsePostNotificationsPoliciesResponse parses an HTTP response from a PostNotificationsPoliciesWithResponse call

func (PostNotificationsPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PostNotificationsPoliciesResponse) StatusCode

func (r PostNotificationsPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostPaymentsSettingsBillingSchedulesJSONRequestBody

type PostPaymentsSettingsBillingSchedulesJSONRequestBody = CreateBillingScheduleSettingsEndpointCreateBillingScheduleSettingsRequestModel

PostPaymentsSettingsBillingSchedulesJSONRequestBody defines body for PostPaymentsSettingsBillingSchedules for application/json ContentType.

type PostPaymentsSettingsBillingSchedulesParams

type PostPaymentsSettingsBillingSchedulesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostPaymentsSettingsBillingSchedulesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostPaymentsSettingsBillingSchedulesParams defines parameters for PostPaymentsSettingsBillingSchedules.

type PostPaymentsSettingsBillingSchedulesParamsSequenceVersion

type PostPaymentsSettingsBillingSchedulesParamsSequenceVersion string

PostPaymentsSettingsBillingSchedulesParamsSequenceVersion defines parameters for PostPaymentsSettingsBillingSchedules.

const (
	PostPaymentsSettingsBillingSchedulesParamsSequenceVersionN20240730 PostPaymentsSettingsBillingSchedulesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostPaymentsSettingsBillingSchedulesParamsSequenceVersion.

type PostPaymentsSettingsBillingSchedulesResponse

type PostPaymentsSettingsBillingSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BillingScheduleSettings
}

func ParsePostPaymentsSettingsBillingSchedulesResponse

func ParsePostPaymentsSettingsBillingSchedulesResponse(rsp *http.Response) (*PostPaymentsSettingsBillingSchedulesResponse, error)

ParsePostPaymentsSettingsBillingSchedulesResponse parses an HTTP response from a PostPaymentsSettingsBillingSchedulesWithResponse call

func (PostPaymentsSettingsBillingSchedulesResponse) Status

Status returns HTTPResponse.Status

func (PostPaymentsSettingsBillingSchedulesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostPaymentsSettingsCustomersJSONRequestBody

type PostPaymentsSettingsCustomersJSONRequestBody = CreateCustomerSettingsEndpointCreateCustomerSettingsRequestModel

PostPaymentsSettingsCustomersJSONRequestBody defines body for PostPaymentsSettingsCustomers for application/json ContentType.

type PostPaymentsSettingsCustomersParams

type PostPaymentsSettingsCustomersParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostPaymentsSettingsCustomersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostPaymentsSettingsCustomersParams defines parameters for PostPaymentsSettingsCustomers.

type PostPaymentsSettingsCustomersParamsSequenceVersion

type PostPaymentsSettingsCustomersParamsSequenceVersion string

PostPaymentsSettingsCustomersParamsSequenceVersion defines parameters for PostPaymentsSettingsCustomers.

const (
	PostPaymentsSettingsCustomersParamsSequenceVersionN20240730 PostPaymentsSettingsCustomersParamsSequenceVersion = "2024-07-30"
)

Defines values for PostPaymentsSettingsCustomersParamsSequenceVersion.

type PostPaymentsSettingsCustomersResponse

type PostPaymentsSettingsCustomersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateCustomerSettingsEndpointProductCreateCustomerSettingsResponseModel
}

func ParsePostPaymentsSettingsCustomersResponse

func ParsePostPaymentsSettingsCustomersResponse(rsp *http.Response) (*PostPaymentsSettingsCustomersResponse, error)

ParsePostPaymentsSettingsCustomersResponse parses an HTTP response from a PostPaymentsSettingsCustomersWithResponse call

func (PostPaymentsSettingsCustomersResponse) Status

Status returns HTTPResponse.Status

func (PostPaymentsSettingsCustomersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostPaymentsSettingsInvoicesJSONRequestBody

type PostPaymentsSettingsInvoicesJSONRequestBody = CreateInvoiceSettingsEndpointCreateInvoiceSettingsRequestModel

PostPaymentsSettingsInvoicesJSONRequestBody defines body for PostPaymentsSettingsInvoices for application/json ContentType.

type PostPaymentsSettingsInvoicesParams

type PostPaymentsSettingsInvoicesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostPaymentsSettingsInvoicesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostPaymentsSettingsInvoicesParams defines parameters for PostPaymentsSettingsInvoices.

type PostPaymentsSettingsInvoicesParamsSequenceVersion

type PostPaymentsSettingsInvoicesParamsSequenceVersion string

PostPaymentsSettingsInvoicesParamsSequenceVersion defines parameters for PostPaymentsSettingsInvoices.

const (
	PostPaymentsSettingsInvoicesParamsSequenceVersionN20240730 PostPaymentsSettingsInvoicesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostPaymentsSettingsInvoicesParamsSequenceVersion.

type PostPaymentsSettingsInvoicesResponse

type PostPaymentsSettingsInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateInvoiceSettingsEndpointProductCreateInvoiceSettingsResponseModel
}

func ParsePostPaymentsSettingsInvoicesResponse

func ParsePostPaymentsSettingsInvoicesResponse(rsp *http.Response) (*PostPaymentsSettingsInvoicesResponse, error)

ParsePostPaymentsSettingsInvoicesResponse parses an HTTP response from a PostPaymentsSettingsInvoicesWithResponse call

func (PostPaymentsSettingsInvoicesResponse) Status

Status returns HTTPResponse.Status

func (PostPaymentsSettingsInvoicesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostPricesJSONBody

type PostPricesJSONBody struct {
	// contains filtered or unexported fields
}

PostPricesJSONBody defines parameters for PostPrices.

type PostPricesJSONRequestBody

type PostPricesJSONRequestBody PostPricesJSONBody

PostPricesJSONRequestBody defines body for PostPrices for application/json ContentType.

type PostPricesParams

type PostPricesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostPricesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostPricesParams defines parameters for PostPrices.

type PostPricesParamsSequenceVersion

type PostPricesParamsSequenceVersion string

PostPricesParamsSequenceVersion defines parameters for PostPrices.

const (
	PostPricesParamsSequenceVersionN20240730 PostPricesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostPricesParamsSequenceVersion.

type PostPricesResponse

type PostPricesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		// contains filtered or unexported fields
	}
}

func ParsePostPricesResponse

func ParsePostPricesResponse(rsp *http.Response) (*PostPricesResponse, error)

ParsePostPricesResponse parses an HTTP response from a PostPricesWithResponse call

func (PostPricesResponse) Status

func (r PostPricesResponse) Status() string

Status returns HTTPResponse.Status

func (PostPricesResponse) StatusCode

func (r PostPricesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostProductsByIdArchiveParams

type PostProductsByIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostProductsByIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostProductsByIdArchiveParams defines parameters for PostProductsByIdArchive.

type PostProductsByIdArchiveParamsSequenceVersion

type PostProductsByIdArchiveParamsSequenceVersion string

PostProductsByIdArchiveParamsSequenceVersion defines parameters for PostProductsByIdArchive.

const (
	PostProductsByIdArchiveParamsSequenceVersionN20240730 PostProductsByIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostProductsByIdArchiveParamsSequenceVersion.

type PostProductsByIdArchiveResponse

type PostProductsByIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240509ProductResponse
}

func ParsePostProductsByIdArchiveResponse

func ParsePostProductsByIdArchiveResponse(rsp *http.Response) (*PostProductsByIdArchiveResponse, error)

ParsePostProductsByIdArchiveResponse parses an HTTP response from a PostProductsByIdArchiveWithResponse call

func (PostProductsByIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostProductsByIdArchiveResponse) StatusCode

func (r PostProductsByIdArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostProductsJSONRequestBody

type PostProductsJSONRequestBody = Stable20240509ProductRequest

PostProductsJSONRequestBody defines body for PostProducts for application/json ContentType.

type PostProductsParams

type PostProductsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostProductsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostProductsParams defines parameters for PostProducts.

type PostProductsParamsSequenceVersion

type PostProductsParamsSequenceVersion string

PostProductsParamsSequenceVersion defines parameters for PostProducts.

const (
	PostProductsParamsSequenceVersionN20240730 PostProductsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostProductsParamsSequenceVersion.

type PostProductsResponse

type PostProductsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Stable20240509ProductResponse
}

func ParsePostProductsResponse

func ParsePostProductsResponse(rsp *http.Response) (*PostProductsResponse, error)

ParsePostProductsResponse parses an HTTP response from a PostProductsWithResponse call

func (PostProductsResponse) Status

func (r PostProductsResponse) Status() string

Status returns HTTPResponse.Status

func (PostProductsResponse) StatusCode

func (r PostProductsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSeatEventsJSONRequestBody

type PostSeatEventsJSONRequestBody = CreateSeatEventEndpointCreateSeatEventRequestModel

PostSeatEventsJSONRequestBody defines body for PostSeatEvents for application/json ContentType.

type PostSeatEventsParams

type PostSeatEventsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostSeatEventsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostSeatEventsParams defines parameters for PostSeatEvents.

type PostSeatEventsParamsSequenceVersion

type PostSeatEventsParamsSequenceVersion string

PostSeatEventsParamsSequenceVersion defines parameters for PostSeatEvents.

const (
	PostSeatEventsParamsSequenceVersionN20240730 PostSeatEventsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostSeatEventsParamsSequenceVersion.

type PostSeatEventsResponse

type PostSeatEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateSeatEventEndpointProductCreateSeatEventResponseModel
}

func ParsePostSeatEventsResponse

func ParsePostSeatEventsResponse(rsp *http.Response) (*PostSeatEventsResponse, error)

ParsePostSeatEventsResponse parses an HTTP response from a PostSeatEventsWithResponse call

func (PostSeatEventsResponse) Status

func (r PostSeatEventsResponse) Status() string

Status returns HTTPResponse.Status

func (PostSeatEventsResponse) StatusCode

func (r PostSeatEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSeatMetricsJSONRequestBody

type PostSeatMetricsJSONRequestBody = CreateSeatMetricRequest

PostSeatMetricsJSONRequestBody defines body for PostSeatMetrics for application/json ContentType.

type PostSeatMetricsParams

type PostSeatMetricsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostSeatMetricsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostSeatMetricsParams defines parameters for PostSeatMetrics.

type PostSeatMetricsParamsSequenceVersion

type PostSeatMetricsParamsSequenceVersion string

PostSeatMetricsParamsSequenceVersion defines parameters for PostSeatMetrics.

const (
	PostSeatMetricsParamsSequenceVersionN20240730 PostSeatMetricsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostSeatMetricsParamsSequenceVersion.

type PostSeatMetricsResponse

type PostSeatMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SeatMetric
}

func ParsePostSeatMetricsResponse

func ParsePostSeatMetricsResponse(rsp *http.Response) (*PostSeatMetricsResponse, error)

ParsePostSeatMetricsResponse parses an HTTP response from a PostSeatMetricsWithResponse call

func (PostSeatMetricsResponse) Status

func (r PostSeatMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (PostSeatMetricsResponse) StatusCode

func (r PostSeatMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTaxRatesByIdArchiveParams

type PostTaxRatesByIdArchiveParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostTaxRatesByIdArchiveParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostTaxRatesByIdArchiveParams defines parameters for PostTaxRatesByIdArchive.

type PostTaxRatesByIdArchiveParamsSequenceVersion

type PostTaxRatesByIdArchiveParamsSequenceVersion string

PostTaxRatesByIdArchiveParamsSequenceVersion defines parameters for PostTaxRatesByIdArchive.

const (
	PostTaxRatesByIdArchiveParamsSequenceVersionN20240730 PostTaxRatesByIdArchiveParamsSequenceVersion = "2024-07-30"
)

Defines values for PostTaxRatesByIdArchiveParamsSequenceVersion.

type PostTaxRatesByIdArchiveResponse

type PostTaxRatesByIdArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArchiveTaxRateEndpointProductArchiveTaxRateResponseModel
}

func ParsePostTaxRatesByIdArchiveResponse

func ParsePostTaxRatesByIdArchiveResponse(rsp *http.Response) (*PostTaxRatesByIdArchiveResponse, error)

ParsePostTaxRatesByIdArchiveResponse parses an HTTP response from a PostTaxRatesByIdArchiveWithResponse call

func (PostTaxRatesByIdArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostTaxRatesByIdArchiveResponse) StatusCode

func (r PostTaxRatesByIdArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTaxRatesJSONRequestBody

type PostTaxRatesJSONRequestBody = CreateTaxRateRequest

PostTaxRatesJSONRequestBody defines body for PostTaxRates for application/json ContentType.

type PostTaxRatesParams

type PostTaxRatesParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostTaxRatesParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostTaxRatesParams defines parameters for PostTaxRates.

type PostTaxRatesParamsSequenceVersion

type PostTaxRatesParamsSequenceVersion string

PostTaxRatesParamsSequenceVersion defines parameters for PostTaxRates.

const (
	PostTaxRatesParamsSequenceVersionN20240730 PostTaxRatesParamsSequenceVersion = "2024-07-30"
)

Defines values for PostTaxRatesParamsSequenceVersion.

type PostTaxRatesResponse

type PostTaxRatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TaxRateResponse
}

func ParsePostTaxRatesResponse

func ParsePostTaxRatesResponse(rsp *http.Response) (*PostTaxRatesResponse, error)

ParsePostTaxRatesResponse parses an HTTP response from a PostTaxRatesWithResponse call

func (PostTaxRatesResponse) Status

func (r PostTaxRatesResponse) Status() string

Status returns HTTPResponse.Status

func (PostTaxRatesResponse) StatusCode

func (r PostTaxRatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTaxRegistrationsJSONRequestBody

type PostTaxRegistrationsJSONRequestBody = CreateTaxRegistrationEndpointCreateTaxRegistrationRequestModel

PostTaxRegistrationsJSONRequestBody defines body for PostTaxRegistrations for application/json ContentType.

type PostTaxRegistrationsParams

type PostTaxRegistrationsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostTaxRegistrationsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostTaxRegistrationsParams defines parameters for PostTaxRegistrations.

type PostTaxRegistrationsParamsSequenceVersion

type PostTaxRegistrationsParamsSequenceVersion string

PostTaxRegistrationsParamsSequenceVersion defines parameters for PostTaxRegistrations.

const (
	PostTaxRegistrationsParamsSequenceVersionN20240730 PostTaxRegistrationsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostTaxRegistrationsParamsSequenceVersion.

type PostTaxRegistrationsResponse

type PostTaxRegistrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateTaxRegistrationEndpointProductCreateTaxRegistrationResponseModel
}

func ParsePostTaxRegistrationsResponse

func ParsePostTaxRegistrationsResponse(rsp *http.Response) (*PostTaxRegistrationsResponse, error)

ParsePostTaxRegistrationsResponse parses an HTTP response from a PostTaxRegistrationsWithResponse call

func (PostTaxRegistrationsResponse) Status

Status returns HTTPResponse.Status

func (PostTaxRegistrationsResponse) StatusCode

func (r PostTaxRegistrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsageEventsJSONRequestBody

type PostUsageEventsJSONRequestBody = CreateUsageEventEndpointCreateUsageEventRequestModel

PostUsageEventsJSONRequestBody defines body for PostUsageEvents for application/json ContentType.

type PostUsageEventsParams

type PostUsageEventsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostUsageEventsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostUsageEventsParams defines parameters for PostUsageEvents.

type PostUsageEventsParamsSequenceVersion

type PostUsageEventsParamsSequenceVersion string

PostUsageEventsParamsSequenceVersion defines parameters for PostUsageEvents.

const (
	PostUsageEventsParamsSequenceVersionN20240730 PostUsageEventsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostUsageEventsParamsSequenceVersion.

type PostUsageEventsResponse

type PostUsageEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateUsageEventEndpointProductCreateUsageEventResponseModel
}

func ParsePostUsageEventsResponse

func ParsePostUsageEventsResponse(rsp *http.Response) (*PostUsageEventsResponse, error)

ParsePostUsageEventsResponse parses an HTTP response from a PostUsageEventsWithResponse call

func (PostUsageEventsResponse) Status

func (r PostUsageEventsResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsageEventsResponse) StatusCode

func (r PostUsageEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsageMetricsJSONRequestBody

type PostUsageMetricsJSONRequestBody = CreateUsageMetricEndpointCreateUsageMetricRequestModel

PostUsageMetricsJSONRequestBody defines body for PostUsageMetrics for application/json ContentType.

type PostUsageMetricsParams

type PostUsageMetricsParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PostUsageMetricsParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PostUsageMetricsParams defines parameters for PostUsageMetrics.

type PostUsageMetricsParamsSequenceVersion

type PostUsageMetricsParamsSequenceVersion string

PostUsageMetricsParamsSequenceVersion defines parameters for PostUsageMetrics.

const (
	PostUsageMetricsParamsSequenceVersionN20240730 PostUsageMetricsParamsSequenceVersion = "2024-07-30"
)

Defines values for PostUsageMetricsParamsSequenceVersion.

type PostUsageMetricsResponse

type PostUsageMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateUsageMetricEndpointProductCreateUsageMetricResponseModel
}

func ParsePostUsageMetricsResponse

func ParsePostUsageMetricsResponse(rsp *http.Response) (*PostUsageMetricsResponse, error)

ParsePostUsageMetricsResponse parses an HTTP response from a PostUsageMetricsWithResponse call

func (PostUsageMetricsResponse) Status

func (r PostUsageMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsageMetricsResponse) StatusCode

func (r PostUsageMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PriceParameter

type PriceParameter struct {
	// ParameterId Custom metric parameter ID
	ParameterId string `json:"parameterId"`

	// Value Parameter value
	Value string `json:"value"`
}

PriceParameter defines model for PriceParameter.

type PriceResponse

type PriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string                  `json:"productId"`
	Structure PriceResponse_Structure `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UsageCalculationPeriod The period over which usage is aggregated.
	UsageCalculationPeriod *UsageCalculationPeriod1 `json:"usageCalculationPeriod,omitempty"`
}

PriceResponse defines model for PriceResponse.

type PriceResponsePaginatedPriceResponseModel

type PriceResponsePaginatedPriceResponseModel struct {
	// Items Prices
	Items []PriceResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

PriceResponsePaginatedPriceResponseModel defines model for PriceResponsePaginatedPriceResponseModel.

type PriceResponse_Structure

type PriceResponse_Structure struct {
	// contains filtered or unexported fields
}

PriceResponse_Structure defines model for PriceResponse.Structure.

func (PriceResponse_Structure) AsFixedPricingStructure1

func (t PriceResponse_Structure) AsFixedPricingStructure1() (FixedPricingStructure1, error)

AsFixedPricingStructure1 returns the union data inside the PriceResponse_Structure as a FixedPricingStructure1

func (PriceResponse_Structure) AsGraduatedPricingStructure1

func (t PriceResponse_Structure) AsGraduatedPricingStructure1() (GraduatedPricingStructure1, error)

AsGraduatedPricingStructure1 returns the union data inside the PriceResponse_Structure as a GraduatedPricingStructure1

func (PriceResponse_Structure) AsLinearPricingStructure1

func (t PriceResponse_Structure) AsLinearPricingStructure1() (LinearPricingStructure1, error)

AsLinearPricingStructure1 returns the union data inside the PriceResponse_Structure as a LinearPricingStructure1

func (PriceResponse_Structure) AsOneTimePricingStructure1

func (t PriceResponse_Structure) AsOneTimePricingStructure1() (OneTimePricingStructure1, error)

AsOneTimePricingStructure1 returns the union data inside the PriceResponse_Structure as a OneTimePricingStructure1

func (PriceResponse_Structure) AsPackagePricingStructure1

func (t PriceResponse_Structure) AsPackagePricingStructure1() (PackagePricingStructure1, error)

AsPackagePricingStructure1 returns the union data inside the PriceResponse_Structure as a PackagePricingStructure1

func (PriceResponse_Structure) AsSeatBasedPricingStructure1

func (t PriceResponse_Structure) AsSeatBasedPricingStructure1() (SeatBasedPricingStructure1, error)

AsSeatBasedPricingStructure1 returns the union data inside the PriceResponse_Structure as a SeatBasedPricingStructure1

func (PriceResponse_Structure) AsVolumePricingStructure1

func (t PriceResponse_Structure) AsVolumePricingStructure1() (VolumePricingStructure1, error)

AsVolumePricingStructure1 returns the union data inside the PriceResponse_Structure as a VolumePricingStructure1

func (*PriceResponse_Structure) FromFixedPricingStructure1

func (t *PriceResponse_Structure) FromFixedPricingStructure1(v FixedPricingStructure1) error

FromFixedPricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided FixedPricingStructure1

func (*PriceResponse_Structure) FromGraduatedPricingStructure1

func (t *PriceResponse_Structure) FromGraduatedPricingStructure1(v GraduatedPricingStructure1) error

FromGraduatedPricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided GraduatedPricingStructure1

func (*PriceResponse_Structure) FromLinearPricingStructure1

func (t *PriceResponse_Structure) FromLinearPricingStructure1(v LinearPricingStructure1) error

FromLinearPricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided LinearPricingStructure1

func (*PriceResponse_Structure) FromOneTimePricingStructure1

func (t *PriceResponse_Structure) FromOneTimePricingStructure1(v OneTimePricingStructure1) error

FromOneTimePricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided OneTimePricingStructure1

func (*PriceResponse_Structure) FromPackagePricingStructure1

func (t *PriceResponse_Structure) FromPackagePricingStructure1(v PackagePricingStructure1) error

FromPackagePricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided PackagePricingStructure1

func (*PriceResponse_Structure) FromSeatBasedPricingStructure1

func (t *PriceResponse_Structure) FromSeatBasedPricingStructure1(v SeatBasedPricingStructure1) error

FromSeatBasedPricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided SeatBasedPricingStructure1

func (*PriceResponse_Structure) FromVolumePricingStructure1

func (t *PriceResponse_Structure) FromVolumePricingStructure1(v VolumePricingStructure1) error

FromVolumePricingStructure1 overwrites any union data inside the PriceResponse_Structure as the provided VolumePricingStructure1

func (PriceResponse_Structure) MarshalJSON

func (t PriceResponse_Structure) MarshalJSON() ([]byte, error)

func (*PriceResponse_Structure) MergeFixedPricingStructure1

func (t *PriceResponse_Structure) MergeFixedPricingStructure1(v FixedPricingStructure1) error

MergeFixedPricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided FixedPricingStructure1

func (*PriceResponse_Structure) MergeGraduatedPricingStructure1

func (t *PriceResponse_Structure) MergeGraduatedPricingStructure1(v GraduatedPricingStructure1) error

MergeGraduatedPricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided GraduatedPricingStructure1

func (*PriceResponse_Structure) MergeLinearPricingStructure1

func (t *PriceResponse_Structure) MergeLinearPricingStructure1(v LinearPricingStructure1) error

MergeLinearPricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided LinearPricingStructure1

func (*PriceResponse_Structure) MergeOneTimePricingStructure1

func (t *PriceResponse_Structure) MergeOneTimePricingStructure1(v OneTimePricingStructure1) error

MergeOneTimePricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided OneTimePricingStructure1

func (*PriceResponse_Structure) MergePackagePricingStructure1

func (t *PriceResponse_Structure) MergePackagePricingStructure1(v PackagePricingStructure1) error

MergePackagePricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided PackagePricingStructure1

func (*PriceResponse_Structure) MergeSeatBasedPricingStructure1

func (t *PriceResponse_Structure) MergeSeatBasedPricingStructure1(v SeatBasedPricingStructure1) error

MergeSeatBasedPricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided SeatBasedPricingStructure1

func (*PriceResponse_Structure) MergeVolumePricingStructure1

func (t *PriceResponse_Structure) MergeVolumePricingStructure1(v VolumePricingStructure1) error

MergeVolumePricingStructure1 performs a merge with any union data inside the PriceResponse_Structure, using the provided VolumePricingStructure1

func (*PriceResponse_Structure) UnmarshalJSON

func (t *PriceResponse_Structure) UnmarshalJSON(b []byte) error

type ProductTaxRateRepresentation

type ProductTaxRateRepresentation struct {
	// PriceId ID of the Price
	PriceId string `json:"priceId"`

	// TaxRateId ID of the Tax Rate
	TaxRateId string `json:"taxRateId"`
}

ProductTaxRateRepresentation defines model for ProductTaxRateRepresentation.

type PutBillingSchedulesByBillingScheduleIdActivateParams

type PutBillingSchedulesByBillingScheduleIdActivateParams struct {
	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutBillingSchedulesByBillingScheduleIdActivateParams defines parameters for PutBillingSchedulesByBillingScheduleIdActivate.

type PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion

type PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion string

PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion defines parameters for PutBillingSchedulesByBillingScheduleIdActivate.

const (
	PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersionN20240730 PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion = "2024-07-30"
)

Defines values for PutBillingSchedulesByBillingScheduleIdActivateParamsSequenceVersion.

type PutBillingSchedulesByBillingScheduleIdActivateResponse

type PutBillingSchedulesByBillingScheduleIdActivateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleResponse
}

func ParsePutBillingSchedulesByBillingScheduleIdActivateResponse

func ParsePutBillingSchedulesByBillingScheduleIdActivateResponse(rsp *http.Response) (*PutBillingSchedulesByBillingScheduleIdActivateResponse, error)

ParsePutBillingSchedulesByBillingScheduleIdActivateResponse parses an HTTP response from a PutBillingSchedulesByBillingScheduleIdActivateWithResponse call

func (PutBillingSchedulesByBillingScheduleIdActivateResponse) Status

Status returns HTTPResponse.Status

func (PutBillingSchedulesByBillingScheduleIdActivateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutBillingSchedulesByBillingScheduleIdJSONRequestBody

type PutBillingSchedulesByBillingScheduleIdJSONRequestBody = UpdateBillingScheduleRequest

PutBillingSchedulesByBillingScheduleIdJSONRequestBody defines body for PutBillingSchedulesByBillingScheduleId for application/json ContentType.

type PutBillingSchedulesByBillingScheduleIdParams

type PutBillingSchedulesByBillingScheduleIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutBillingSchedulesByBillingScheduleIdParams defines parameters for PutBillingSchedulesByBillingScheduleId.

type PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion

type PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion string

PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion defines parameters for PutBillingSchedulesByBillingScheduleId.

const (
	PutBillingSchedulesByBillingScheduleIdParamsSequenceVersionN20240730 PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutBillingSchedulesByBillingScheduleIdParamsSequenceVersion.

type PutBillingSchedulesByBillingScheduleIdResponse

type PutBillingSchedulesByBillingScheduleIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleResponse
}

func ParsePutBillingSchedulesByBillingScheduleIdResponse

func ParsePutBillingSchedulesByBillingScheduleIdResponse(rsp *http.Response) (*PutBillingSchedulesByBillingScheduleIdResponse, error)

ParsePutBillingSchedulesByBillingScheduleIdResponse parses an HTTP response from a PutBillingSchedulesByBillingScheduleIdWithResponse call

func (PutBillingSchedulesByBillingScheduleIdResponse) Status

Status returns HTTPResponse.Status

func (PutBillingSchedulesByBillingScheduleIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody

type PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody = UpdateCreditNoteLineItemGroupEndpointUpdateCreditNoteLineItemGroupRequestModel

PutCreditNotesByCreditnoteLineItemGroupsByIdJSONRequestBody defines body for PutCreditNotesByCreditnoteLineItemGroupsById for application/json ContentType.

type PutCreditNotesByCreditnoteLineItemGroupsByIdParams

type PutCreditNotesByCreditnoteLineItemGroupsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCreditNotesByCreditnoteLineItemGroupsByIdParams defines parameters for PutCreditNotesByCreditnoteLineItemGroupsById.

type PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion

type PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion string

PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion defines parameters for PutCreditNotesByCreditnoteLineItemGroupsById.

const (
	PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersionN20240730 PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCreditNotesByCreditnoteLineItemGroupsByIdParamsSequenceVersion.

type PutCreditNotesByCreditnoteLineItemGroupsByIdResponse

type PutCreditNotesByCreditnoteLineItemGroupsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCreditNoteLineItemGroupEndpointProductUpdateCreditNoteLineItemGroupResponseModel
}

func ParsePutCreditNotesByCreditnoteLineItemGroupsByIdResponse

func ParsePutCreditNotesByCreditnoteLineItemGroupsByIdResponse(rsp *http.Response) (*PutCreditNotesByCreditnoteLineItemGroupsByIdResponse, error)

ParsePutCreditNotesByCreditnoteLineItemGroupsByIdResponse parses an HTTP response from a PutCreditNotesByCreditnoteLineItemGroupsByIdWithResponse call

func (PutCreditNotesByCreditnoteLineItemGroupsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutCreditNotesByCreditnoteLineItemGroupsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody

type PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody = UpdateCreditNoteLineItemEndpointUpdateCreditNoteLineItemRequestModel

PutCreditNotesByCreditnoteLineItemsByIdJSONRequestBody defines body for PutCreditNotesByCreditnoteLineItemsById for application/json ContentType.

type PutCreditNotesByCreditnoteLineItemsByIdParams

type PutCreditNotesByCreditnoteLineItemsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCreditNotesByCreditnoteLineItemsByIdParams defines parameters for PutCreditNotesByCreditnoteLineItemsById.

type PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion

type PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion string

PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion defines parameters for PutCreditNotesByCreditnoteLineItemsById.

const (
	PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersionN20240730 PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCreditNotesByCreditnoteLineItemsByIdParamsSequenceVersion.

type PutCreditNotesByCreditnoteLineItemsByIdResponse

type PutCreditNotesByCreditnoteLineItemsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCreditNoteLineItemEndpointProductUpdateCreditNoteLineItemResponseModel
}

func ParsePutCreditNotesByCreditnoteLineItemsByIdResponse

func ParsePutCreditNotesByCreditnoteLineItemsByIdResponse(rsp *http.Response) (*PutCreditNotesByCreditnoteLineItemsByIdResponse, error)

ParsePutCreditNotesByCreditnoteLineItemsByIdResponse parses an HTTP response from a PutCreditNotesByCreditnoteLineItemsByIdWithResponse call

func (PutCreditNotesByCreditnoteLineItemsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutCreditNotesByCreditnoteLineItemsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutCreditNotesByIdJSONRequestBody

type PutCreditNotesByIdJSONRequestBody = UpdateCreditNoteEndpointUpdateCreditNoteRequestModel

PutCreditNotesByIdJSONRequestBody defines body for PutCreditNotesById for application/json ContentType.

type PutCreditNotesByIdParams

type PutCreditNotesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCreditNotesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCreditNotesByIdParams defines parameters for PutCreditNotesById.

type PutCreditNotesByIdParamsSequenceVersion

type PutCreditNotesByIdParamsSequenceVersion string

PutCreditNotesByIdParamsSequenceVersion defines parameters for PutCreditNotesById.

const (
	PutCreditNotesByIdParamsSequenceVersionN20240730 PutCreditNotesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCreditNotesByIdParamsSequenceVersion.

type PutCreditNotesByIdResponse

type PutCreditNotesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditNote
}

func ParsePutCreditNotesByIdResponse

func ParsePutCreditNotesByIdResponse(rsp *http.Response) (*PutCreditNotesByIdResponse, error)

ParsePutCreditNotesByIdResponse parses an HTTP response from a PutCreditNotesByIdWithResponse call

func (PutCreditNotesByIdResponse) Status

Status returns HTTPResponse.Status

func (PutCreditNotesByIdResponse) StatusCode

func (r PutCreditNotesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutCustomerAliasesByIdJSONRequestBody

type PutCustomerAliasesByIdJSONRequestBody = UpdateCustomerAliasEndpointUpdateCustomerAliasRequestModel

PutCustomerAliasesByIdJSONRequestBody defines body for PutCustomerAliasesById for application/json ContentType.

type PutCustomerAliasesByIdParams

type PutCustomerAliasesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCustomerAliasesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCustomerAliasesByIdParams defines parameters for PutCustomerAliasesById.

type PutCustomerAliasesByIdParamsSequenceVersion

type PutCustomerAliasesByIdParamsSequenceVersion string

PutCustomerAliasesByIdParamsSequenceVersion defines parameters for PutCustomerAliasesById.

const (
	PutCustomerAliasesByIdParamsSequenceVersionN20240730 PutCustomerAliasesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCustomerAliasesByIdParamsSequenceVersion.

type PutCustomerAliasesByIdResponse

type PutCustomerAliasesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCustomerAliasEndpointProductUpdateCustomerAliasResponseModel
}

func ParsePutCustomerAliasesByIdResponse

func ParsePutCustomerAliasesByIdResponse(rsp *http.Response) (*PutCustomerAliasesByIdResponse, error)

ParsePutCustomerAliasesByIdResponse parses an HTTP response from a PutCustomerAliasesByIdWithResponse call

func (PutCustomerAliasesByIdResponse) Status

Status returns HTTPResponse.Status

func (PutCustomerAliasesByIdResponse) StatusCode

func (r PutCustomerAliasesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutCustomerOrganizationsByIdMembersJSONRequestBody

type PutCustomerOrganizationsByIdMembersJSONRequestBody = CustomerOrganizationMembers

PutCustomerOrganizationsByIdMembersJSONRequestBody defines body for PutCustomerOrganizationsByIdMembers for application/json ContentType.

type PutCustomerOrganizationsByIdMembersParams

type PutCustomerOrganizationsByIdMembersParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCustomerOrganizationsByIdMembersParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCustomerOrganizationsByIdMembersParams defines parameters for PutCustomerOrganizationsByIdMembers.

type PutCustomerOrganizationsByIdMembersParamsSequenceVersion

type PutCustomerOrganizationsByIdMembersParamsSequenceVersion string

PutCustomerOrganizationsByIdMembersParamsSequenceVersion defines parameters for PutCustomerOrganizationsByIdMembers.

const (
	PutCustomerOrganizationsByIdMembersParamsSequenceVersionN20240730 PutCustomerOrganizationsByIdMembersParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCustomerOrganizationsByIdMembersParamsSequenceVersion.

type PutCustomerOrganizationsByIdMembersResponse

type PutCustomerOrganizationsByIdMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomerOrganization
}

func ParsePutCustomerOrganizationsByIdMembersResponse

func ParsePutCustomerOrganizationsByIdMembersResponse(rsp *http.Response) (*PutCustomerOrganizationsByIdMembersResponse, error)

ParsePutCustomerOrganizationsByIdMembersResponse parses an HTTP response from a PutCustomerOrganizationsByIdMembersWithResponse call

func (PutCustomerOrganizationsByIdMembersResponse) Status

Status returns HTTPResponse.Status

func (PutCustomerOrganizationsByIdMembersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutCustomersByCustomerContactsByIdJSONRequestBody

type PutCustomersByCustomerContactsByIdJSONRequestBody = ContactRequestModel

PutCustomersByCustomerContactsByIdJSONRequestBody defines body for PutCustomersByCustomerContactsById for application/json ContentType.

type PutCustomersByCustomerContactsByIdParams

type PutCustomersByCustomerContactsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCustomersByCustomerContactsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCustomersByCustomerContactsByIdParams defines parameters for PutCustomersByCustomerContactsById.

type PutCustomersByCustomerContactsByIdParamsSequenceVersion

type PutCustomersByCustomerContactsByIdParamsSequenceVersion string

PutCustomersByCustomerContactsByIdParamsSequenceVersion defines parameters for PutCustomersByCustomerContactsById.

const (
	PutCustomersByCustomerContactsByIdParamsSequenceVersionN20240730 PutCustomersByCustomerContactsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCustomersByCustomerContactsByIdParamsSequenceVersion.

type PutCustomersByCustomerContactsByIdResponse

type PutCustomersByCustomerContactsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Contact
}

func ParsePutCustomersByCustomerContactsByIdResponse

func ParsePutCustomersByCustomerContactsByIdResponse(rsp *http.Response) (*PutCustomersByCustomerContactsByIdResponse, error)

ParsePutCustomersByCustomerContactsByIdResponse parses an HTTP response from a PutCustomersByCustomerContactsByIdWithResponse call

func (PutCustomersByCustomerContactsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutCustomersByCustomerContactsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutCustomersByIdJSONRequestBody

type PutCustomersByIdJSONRequestBody = CreateOrUpdateCustomerRequest

PutCustomersByIdJSONRequestBody defines body for PutCustomersById for application/json ContentType.

type PutCustomersByIdParams

type PutCustomersByIdParams struct {
	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutCustomersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutCustomersByIdParams defines parameters for PutCustomersById.

type PutCustomersByIdParamsSequenceVersion

type PutCustomersByIdParamsSequenceVersion string

PutCustomersByIdParamsSequenceVersion defines parameters for PutCustomersById.

const (
	PutCustomersByIdParamsSequenceVersionN20240730 PutCustomersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutCustomersByIdParamsSequenceVersion.

type PutCustomersByIdResponse

type PutCustomersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Customer
}

func ParsePutCustomersByIdResponse

func ParsePutCustomersByIdResponse(rsp *http.Response) (*PutCustomersByIdResponse, error)

ParsePutCustomersByIdResponse parses an HTTP response from a PutCustomersByIdWithResponse call

func (PutCustomersByIdResponse) Status

func (r PutCustomersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutCustomersByIdResponse) StatusCode

func (r PutCustomersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutDiscountsByIdJSONRequestBody

type PutDiscountsByIdJSONRequestBody = UpdateDiscountEndpointUpdateDiscountRequestModel

PutDiscountsByIdJSONRequestBody defines body for PutDiscountsById for application/json ContentType.

type PutDiscountsByIdParams

type PutDiscountsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutDiscountsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutDiscountsByIdParams defines parameters for PutDiscountsById.

type PutDiscountsByIdParamsSequenceVersion

type PutDiscountsByIdParamsSequenceVersion string

PutDiscountsByIdParamsSequenceVersion defines parameters for PutDiscountsById.

const (
	PutDiscountsByIdParamsSequenceVersionN20240730 PutDiscountsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutDiscountsByIdParamsSequenceVersion.

type PutDiscountsByIdResponse

type PutDiscountsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateDiscountEndpointProductUpdateDiscountResponseModel
}

func ParsePutDiscountsByIdResponse

func ParsePutDiscountsByIdResponse(rsp *http.Response) (*PutDiscountsByIdResponse, error)

ParsePutDiscountsByIdResponse parses an HTTP response from a PutDiscountsByIdWithResponse call

func (PutDiscountsByIdResponse) Status

func (r PutDiscountsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutDiscountsByIdResponse) StatusCode

func (r PutDiscountsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutInvoicesByIdJSONRequestBody

type PutInvoicesByIdJSONRequestBody = Stable20240101UpdateInvoiceRequest

PutInvoicesByIdJSONRequestBody defines body for PutInvoicesById for application/json ContentType.

type PutInvoicesByIdParams

type PutInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutInvoicesByIdParams defines parameters for PutInvoicesById.

type PutInvoicesByIdParamsSequenceVersion

type PutInvoicesByIdParamsSequenceVersion string

PutInvoicesByIdParamsSequenceVersion defines parameters for PutInvoicesById.

const (
	PutInvoicesByIdParamsSequenceVersionN20240730 PutInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutInvoicesByIdParamsSequenceVersion.

type PutInvoicesByIdPaymentStatusJSONRequestBody

type PutInvoicesByIdPaymentStatusJSONRequestBody = UpdateInvoicePaymentStatusEndpointRequestModel

PutInvoicesByIdPaymentStatusJSONRequestBody defines body for PutInvoicesByIdPaymentStatus for application/json ContentType.

type PutInvoicesByIdPaymentStatusParams

type PutInvoicesByIdPaymentStatusParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutInvoicesByIdPaymentStatusParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutInvoicesByIdPaymentStatusParams defines parameters for PutInvoicesByIdPaymentStatus.

type PutInvoicesByIdPaymentStatusParamsSequenceVersion

type PutInvoicesByIdPaymentStatusParamsSequenceVersion string

PutInvoicesByIdPaymentStatusParamsSequenceVersion defines parameters for PutInvoicesByIdPaymentStatus.

const (
	PutInvoicesByIdPaymentStatusParamsSequenceVersionN20240730 PutInvoicesByIdPaymentStatusParamsSequenceVersion = "2024-07-30"
)

Defines values for PutInvoicesByIdPaymentStatusParamsSequenceVersion.

type PutInvoicesByIdPaymentStatusResponse

type PutInvoicesByIdPaymentStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePutInvoicesByIdPaymentStatusResponse

func ParsePutInvoicesByIdPaymentStatusResponse(rsp *http.Response) (*PutInvoicesByIdPaymentStatusResponse, error)

ParsePutInvoicesByIdPaymentStatusResponse parses an HTTP response from a PutInvoicesByIdPaymentStatusWithResponse call

func (PutInvoicesByIdPaymentStatusResponse) Status

Status returns HTTPResponse.Status

func (PutInvoicesByIdPaymentStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutInvoicesByIdResponse

type PutInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invoice
}

func ParsePutInvoicesByIdResponse

func ParsePutInvoicesByIdResponse(rsp *http.Response) (*PutInvoicesByIdResponse, error)

ParsePutInvoicesByIdResponse parses an HTTP response from a PutInvoicesByIdWithResponse call

func (PutInvoicesByIdResponse) Status

func (r PutInvoicesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutInvoicesByIdResponse) StatusCode

func (r PutInvoicesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody

type PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody = UpdateLineItemGroupRequestModel

PutInvoicesByInvoiceLineItemGroupsByIdJSONRequestBody defines body for PutInvoicesByInvoiceLineItemGroupsById for application/json ContentType.

type PutInvoicesByInvoiceLineItemGroupsByIdParams

type PutInvoicesByInvoiceLineItemGroupsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutInvoicesByInvoiceLineItemGroupsByIdParams defines parameters for PutInvoicesByInvoiceLineItemGroupsById.

type PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion

type PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion string

PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion defines parameters for PutInvoicesByInvoiceLineItemGroupsById.

const (
	PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersionN20240730 PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutInvoicesByInvoiceLineItemGroupsByIdParamsSequenceVersion.

type PutInvoicesByInvoiceLineItemGroupsByIdResponse

type PutInvoicesByInvoiceLineItemGroupsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LineItemGroupResponseModel
}

func ParsePutInvoicesByInvoiceLineItemGroupsByIdResponse

func ParsePutInvoicesByInvoiceLineItemGroupsByIdResponse(rsp *http.Response) (*PutInvoicesByInvoiceLineItemGroupsByIdResponse, error)

ParsePutInvoicesByInvoiceLineItemGroupsByIdResponse parses an HTTP response from a PutInvoicesByInvoiceLineItemGroupsByIdWithResponse call

func (PutInvoicesByInvoiceLineItemGroupsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutInvoicesByInvoiceLineItemGroupsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutInvoicesByInvoiceLineItemsByIdJSONRequestBody

type PutInvoicesByInvoiceLineItemsByIdJSONRequestBody = Stable20240101CreateOrUpdateLineItem

PutInvoicesByInvoiceLineItemsByIdJSONRequestBody defines body for PutInvoicesByInvoiceLineItemsById for application/json ContentType.

type PutInvoicesByInvoiceLineItemsByIdParams

type PutInvoicesByInvoiceLineItemsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutInvoicesByInvoiceLineItemsByIdParams defines parameters for PutInvoicesByInvoiceLineItemsById.

type PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion

type PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion string

PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion defines parameters for PutInvoicesByInvoiceLineItemsById.

const (
	PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersionN20240730 PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutInvoicesByInvoiceLineItemsByIdParamsSequenceVersion.

type PutInvoicesByInvoiceLineItemsByIdResponse

type PutInvoicesByInvoiceLineItemsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240101LineItemResponse
}

func ParsePutInvoicesByInvoiceLineItemsByIdResponse

func ParsePutInvoicesByInvoiceLineItemsByIdResponse(rsp *http.Response) (*PutInvoicesByInvoiceLineItemsByIdResponse, error)

ParsePutInvoicesByInvoiceLineItemsByIdResponse parses an HTTP response from a PutInvoicesByInvoiceLineItemsByIdWithResponse call

func (PutInvoicesByInvoiceLineItemsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutInvoicesByInvoiceLineItemsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutInvoicesRenderSettingsByIdJSONRequestBody

type PutInvoicesRenderSettingsByIdJSONRequestBody = UpdateInvoiceRenderSettingsEndpointUpdateInvoiceRenderSettingsRequestModel

PutInvoicesRenderSettingsByIdJSONRequestBody defines body for PutInvoicesRenderSettingsById for application/json ContentType.

type PutInvoicesRenderSettingsByIdParams

type PutInvoicesRenderSettingsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutInvoicesRenderSettingsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutInvoicesRenderSettingsByIdParams defines parameters for PutInvoicesRenderSettingsById.

type PutInvoicesRenderSettingsByIdParamsSequenceVersion

type PutInvoicesRenderSettingsByIdParamsSequenceVersion string

PutInvoicesRenderSettingsByIdParamsSequenceVersion defines parameters for PutInvoicesRenderSettingsById.

const (
	PutInvoicesRenderSettingsByIdParamsSequenceVersionN20240730 PutInvoicesRenderSettingsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutInvoicesRenderSettingsByIdParamsSequenceVersion.

type PutInvoicesRenderSettingsByIdResponse

type PutInvoicesRenderSettingsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateInvoiceRenderSettingsEndpointProductUpdateInvoiceRenderSettingsResponseModel
}

func ParsePutInvoicesRenderSettingsByIdResponse

func ParsePutInvoicesRenderSettingsByIdResponse(rsp *http.Response) (*PutInvoicesRenderSettingsByIdResponse, error)

ParsePutInvoicesRenderSettingsByIdResponse parses an HTTP response from a PutInvoicesRenderSettingsByIdWithResponse call

func (PutInvoicesRenderSettingsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutInvoicesRenderSettingsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutListPricesByIdJSONBody

type PutListPricesByIdJSONBody struct {
	// contains filtered or unexported fields
}

PutListPricesByIdJSONBody defines parameters for PutListPricesById.

type PutListPricesByIdJSONRequestBody

type PutListPricesByIdJSONRequestBody PutListPricesByIdJSONBody

PutListPricesByIdJSONRequestBody defines body for PutListPricesById for application/json ContentType.

type PutListPricesByIdParams

type PutListPricesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutListPricesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutListPricesByIdParams defines parameters for PutListPricesById.

type PutListPricesByIdParamsSequenceVersion

type PutListPricesByIdParamsSequenceVersion string

PutListPricesByIdParamsSequenceVersion defines parameters for PutListPricesById.

const (
	PutListPricesByIdParamsSequenceVersionN20240730 PutListPricesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutListPricesByIdParamsSequenceVersion.

type PutListPricesByIdResponse

type PutListPricesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParsePutListPricesByIdResponse

func ParsePutListPricesByIdResponse(rsp *http.Response) (*PutListPricesByIdResponse, error)

ParsePutListPricesByIdResponse parses an HTTP response from a PutListPricesByIdWithResponse call

func (PutListPricesByIdResponse) Status

func (r PutListPricesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutListPricesByIdResponse) StatusCode

func (r PutListPricesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody

type PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody = UpdateBillingScheduleSettingsEndpointUpdateBillingScheduleSettingsRequestModel

PutPaymentsSettingsBillingSchedulesByIdJSONRequestBody defines body for PutPaymentsSettingsBillingSchedulesById for application/json ContentType.

type PutPaymentsSettingsBillingSchedulesByIdParams

type PutPaymentsSettingsBillingSchedulesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutPaymentsSettingsBillingSchedulesByIdParams defines parameters for PutPaymentsSettingsBillingSchedulesById.

type PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion

type PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion string

PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion defines parameters for PutPaymentsSettingsBillingSchedulesById.

const (
	PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersionN20240730 PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutPaymentsSettingsBillingSchedulesByIdParamsSequenceVersion.

type PutPaymentsSettingsBillingSchedulesByIdResponse

type PutPaymentsSettingsBillingSchedulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BillingScheduleSettings
}

func ParsePutPaymentsSettingsBillingSchedulesByIdResponse

func ParsePutPaymentsSettingsBillingSchedulesByIdResponse(rsp *http.Response) (*PutPaymentsSettingsBillingSchedulesByIdResponse, error)

ParsePutPaymentsSettingsBillingSchedulesByIdResponse parses an HTTP response from a PutPaymentsSettingsBillingSchedulesByIdWithResponse call

func (PutPaymentsSettingsBillingSchedulesByIdResponse) Status

Status returns HTTPResponse.Status

func (PutPaymentsSettingsBillingSchedulesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutPaymentsSettingsByIdJSONRequestBody

type PutPaymentsSettingsByIdJSONRequestBody = UpdateAccountPaymentSettingsEndpointUpdateAccountPaymentSettingsRequest

PutPaymentsSettingsByIdJSONRequestBody defines body for PutPaymentsSettingsById for application/json ContentType.

type PutPaymentsSettingsByIdParams

type PutPaymentsSettingsByIdParams struct {
	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutPaymentsSettingsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutPaymentsSettingsByIdParams defines parameters for PutPaymentsSettingsById.

type PutPaymentsSettingsByIdParamsSequenceVersion

type PutPaymentsSettingsByIdParamsSequenceVersion string

PutPaymentsSettingsByIdParamsSequenceVersion defines parameters for PutPaymentsSettingsById.

const (
	PutPaymentsSettingsByIdParamsSequenceVersionN20240730 PutPaymentsSettingsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutPaymentsSettingsByIdParamsSequenceVersion.

type PutPaymentsSettingsByIdResponse

type PutPaymentsSettingsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountPaymentSettings
}

func ParsePutPaymentsSettingsByIdResponse

func ParsePutPaymentsSettingsByIdResponse(rsp *http.Response) (*PutPaymentsSettingsByIdResponse, error)

ParsePutPaymentsSettingsByIdResponse parses an HTTP response from a PutPaymentsSettingsByIdWithResponse call

func (PutPaymentsSettingsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutPaymentsSettingsByIdResponse) StatusCode

func (r PutPaymentsSettingsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutPaymentsSettingsCustomersByIdJSONRequestBody

type PutPaymentsSettingsCustomersByIdJSONRequestBody = UpdateCustomerSettingsEndpointUpdateCustomerSettingsRequestModel

PutPaymentsSettingsCustomersByIdJSONRequestBody defines body for PutPaymentsSettingsCustomersById for application/json ContentType.

type PutPaymentsSettingsCustomersByIdParams

type PutPaymentsSettingsCustomersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutPaymentsSettingsCustomersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutPaymentsSettingsCustomersByIdParams defines parameters for PutPaymentsSettingsCustomersById.

type PutPaymentsSettingsCustomersByIdParamsSequenceVersion

type PutPaymentsSettingsCustomersByIdParamsSequenceVersion string

PutPaymentsSettingsCustomersByIdParamsSequenceVersion defines parameters for PutPaymentsSettingsCustomersById.

const (
	PutPaymentsSettingsCustomersByIdParamsSequenceVersionN20240730 PutPaymentsSettingsCustomersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutPaymentsSettingsCustomersByIdParamsSequenceVersion.

type PutPaymentsSettingsCustomersByIdResponse

type PutPaymentsSettingsCustomersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCustomerSettingsEndpointProductUpdateCustomerSettingsResponseModel
}

func ParsePutPaymentsSettingsCustomersByIdResponse

func ParsePutPaymentsSettingsCustomersByIdResponse(rsp *http.Response) (*PutPaymentsSettingsCustomersByIdResponse, error)

ParsePutPaymentsSettingsCustomersByIdResponse parses an HTTP response from a PutPaymentsSettingsCustomersByIdWithResponse call

func (PutPaymentsSettingsCustomersByIdResponse) Status

Status returns HTTPResponse.Status

func (PutPaymentsSettingsCustomersByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutPaymentsSettingsInvoicesByIdJSONRequestBody

type PutPaymentsSettingsInvoicesByIdJSONRequestBody = UpdateInvoiceSettingsEndpointUpdateInvoiceSettingsRequestModel

PutPaymentsSettingsInvoicesByIdJSONRequestBody defines body for PutPaymentsSettingsInvoicesById for application/json ContentType.

type PutPaymentsSettingsInvoicesByIdParams

type PutPaymentsSettingsInvoicesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutPaymentsSettingsInvoicesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutPaymentsSettingsInvoicesByIdParams defines parameters for PutPaymentsSettingsInvoicesById.

type PutPaymentsSettingsInvoicesByIdParamsSequenceVersion

type PutPaymentsSettingsInvoicesByIdParamsSequenceVersion string

PutPaymentsSettingsInvoicesByIdParamsSequenceVersion defines parameters for PutPaymentsSettingsInvoicesById.

const (
	PutPaymentsSettingsInvoicesByIdParamsSequenceVersionN20240730 PutPaymentsSettingsInvoicesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutPaymentsSettingsInvoicesByIdParamsSequenceVersion.

type PutPaymentsSettingsInvoicesByIdResponse

type PutPaymentsSettingsInvoicesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateInvoiceSettingsEndpointProductUpdateInvoiceSettingsResponseModel
}

func ParsePutPaymentsSettingsInvoicesByIdResponse

func ParsePutPaymentsSettingsInvoicesByIdResponse(rsp *http.Response) (*PutPaymentsSettingsInvoicesByIdResponse, error)

ParsePutPaymentsSettingsInvoicesByIdResponse parses an HTTP response from a PutPaymentsSettingsInvoicesByIdWithResponse call

func (PutPaymentsSettingsInvoicesByIdResponse) Status

Status returns HTTPResponse.Status

func (PutPaymentsSettingsInvoicesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutPricesByIdJSONRequestBody

type PutPricesByIdJSONRequestBody = UpdatePriceEndpointUpdatePriceRequestModel

PutPricesByIdJSONRequestBody defines body for PutPricesById for application/json ContentType.

type PutPricesByIdParams

type PutPricesByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutPricesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutPricesByIdParams defines parameters for PutPricesById.

type PutPricesByIdParamsSequenceVersion

type PutPricesByIdParamsSequenceVersion string

PutPricesByIdParamsSequenceVersion defines parameters for PutPricesById.

const (
	PutPricesByIdParamsSequenceVersionN20240730 PutPricesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutPricesByIdParamsSequenceVersion.

type PutPricesByIdResponse

type PutPricesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParsePutPricesByIdResponse

func ParsePutPricesByIdResponse(rsp *http.Response) (*PutPricesByIdResponse, error)

ParsePutPricesByIdResponse parses an HTTP response from a PutPricesByIdWithResponse call

func (PutPricesByIdResponse) Status

func (r PutPricesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutPricesByIdResponse) StatusCode

func (r PutPricesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutProductsByIdJSONRequestBody

type PutProductsByIdJSONRequestBody = Stable20240509ProductRequest

PutProductsByIdJSONRequestBody defines body for PutProductsById for application/json ContentType.

type PutProductsByIdParams

type PutProductsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutProductsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutProductsByIdParams defines parameters for PutProductsById.

type PutProductsByIdParamsSequenceVersion

type PutProductsByIdParamsSequenceVersion string

PutProductsByIdParamsSequenceVersion defines parameters for PutProductsById.

const (
	PutProductsByIdParamsSequenceVersionN20240730 PutProductsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutProductsByIdParamsSequenceVersion.

type PutProductsByIdResponse

type PutProductsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Stable20240509ProductResponse
}

func ParsePutProductsByIdResponse

func ParsePutProductsByIdResponse(rsp *http.Response) (*PutProductsByIdResponse, error)

ParsePutProductsByIdResponse parses an HTTP response from a PutProductsByIdWithResponse call

func (PutProductsByIdResponse) Status

func (r PutProductsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutProductsByIdResponse) StatusCode

func (r PutProductsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutSeatMetricsByIdJSONRequestBody

type PutSeatMetricsByIdJSONRequestBody = UpdateSeatMetricRequest

PutSeatMetricsByIdJSONRequestBody defines body for PutSeatMetricsById for application/json ContentType.

type PutSeatMetricsByIdParams

type PutSeatMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutSeatMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutSeatMetricsByIdParams defines parameters for PutSeatMetricsById.

type PutSeatMetricsByIdParamsSequenceVersion

type PutSeatMetricsByIdParamsSequenceVersion string

PutSeatMetricsByIdParamsSequenceVersion defines parameters for PutSeatMetricsById.

const (
	PutSeatMetricsByIdParamsSequenceVersionN20240730 PutSeatMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutSeatMetricsByIdParamsSequenceVersion.

type PutSeatMetricsByIdResponse

type PutSeatMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeatMetric
}

func ParsePutSeatMetricsByIdResponse

func ParsePutSeatMetricsByIdResponse(rsp *http.Response) (*PutSeatMetricsByIdResponse, error)

ParsePutSeatMetricsByIdResponse parses an HTTP response from a PutSeatMetricsByIdWithResponse call

func (PutSeatMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutSeatMetricsByIdResponse) StatusCode

func (r PutSeatMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutSequenceAccountsByIdJSONRequestBody

type PutSequenceAccountsByIdJSONRequestBody = UpdateSequenceAccountProductEndpointUpdateSequenceAccountRequest

PutSequenceAccountsByIdJSONRequestBody defines body for PutSequenceAccountsById for application/json ContentType.

type PutSequenceAccountsByIdParams

type PutSequenceAccountsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutSequenceAccountsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutSequenceAccountsByIdParams defines parameters for PutSequenceAccountsById.

type PutSequenceAccountsByIdParamsSequenceVersion

type PutSequenceAccountsByIdParamsSequenceVersion string

PutSequenceAccountsByIdParamsSequenceVersion defines parameters for PutSequenceAccountsById.

const (
	PutSequenceAccountsByIdParamsSequenceVersionN20240730 PutSequenceAccountsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutSequenceAccountsByIdParamsSequenceVersion.

type PutSequenceAccountsByIdResponse

type PutSequenceAccountsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SequenceAccount
}

func ParsePutSequenceAccountsByIdResponse

func ParsePutSequenceAccountsByIdResponse(rsp *http.Response) (*PutSequenceAccountsByIdResponse, error)

ParsePutSequenceAccountsByIdResponse parses an HTTP response from a PutSequenceAccountsByIdWithResponse call

func (PutSequenceAccountsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutSequenceAccountsByIdResponse) StatusCode

func (r PutSequenceAccountsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTaxRatesByIdJSONRequestBody

type PutTaxRatesByIdJSONRequestBody = UpdateTaxRateRequest

PutTaxRatesByIdJSONRequestBody defines body for PutTaxRatesById for application/json ContentType.

type PutTaxRatesByIdParams

type PutTaxRatesByIdParams struct {
	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutTaxRatesByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutTaxRatesByIdParams defines parameters for PutTaxRatesById.

type PutTaxRatesByIdParamsSequenceVersion

type PutTaxRatesByIdParamsSequenceVersion string

PutTaxRatesByIdParamsSequenceVersion defines parameters for PutTaxRatesById.

const (
	PutTaxRatesByIdParamsSequenceVersionN20240730 PutTaxRatesByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutTaxRatesByIdParamsSequenceVersion.

type PutTaxRatesByIdResponse

type PutTaxRatesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxRateResponse
}

func ParsePutTaxRatesByIdResponse

func ParsePutTaxRatesByIdResponse(rsp *http.Response) (*PutTaxRatesByIdResponse, error)

ParsePutTaxRatesByIdResponse parses an HTTP response from a PutTaxRatesByIdWithResponse call

func (PutTaxRatesByIdResponse) Status

func (r PutTaxRatesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutTaxRatesByIdResponse) StatusCode

func (r PutTaxRatesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTaxRegistrationsByIdJSONRequestBody

type PutTaxRegistrationsByIdJSONRequestBody = UpdateTaxRegistrationEndpointUpdateTaxRegistrationRequestModel

PutTaxRegistrationsByIdJSONRequestBody defines body for PutTaxRegistrationsById for application/json ContentType.

type PutTaxRegistrationsByIdParams

type PutTaxRegistrationsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutTaxRegistrationsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutTaxRegistrationsByIdParams defines parameters for PutTaxRegistrationsById.

type PutTaxRegistrationsByIdParamsSequenceVersion

type PutTaxRegistrationsByIdParamsSequenceVersion string

PutTaxRegistrationsByIdParamsSequenceVersion defines parameters for PutTaxRegistrationsById.

const (
	PutTaxRegistrationsByIdParamsSequenceVersionN20240730 PutTaxRegistrationsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutTaxRegistrationsByIdParamsSequenceVersion.

type PutTaxRegistrationsByIdResponse

type PutTaxRegistrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateTaxRegistrationEndpointProductUpdateTaxRegistrationResponseModel
}

func ParsePutTaxRegistrationsByIdResponse

func ParsePutTaxRegistrationsByIdResponse(rsp *http.Response) (*PutTaxRegistrationsByIdResponse, error)

ParsePutTaxRegistrationsByIdResponse parses an HTTP response from a PutTaxRegistrationsByIdWithResponse call

func (PutTaxRegistrationsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutTaxRegistrationsByIdResponse) StatusCode

func (r PutTaxRegistrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUsageMetricsByIdJSONRequestBody

type PutUsageMetricsByIdJSONRequestBody = UpdateUsageMetricEndpointUpdateUsageMetricRequestModel

PutUsageMetricsByIdJSONRequestBody defines body for PutUsageMetricsById for application/json ContentType.

type PutUsageMetricsByIdParams

type PutUsageMetricsByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutUsageMetricsByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutUsageMetricsByIdParams defines parameters for PutUsageMetricsById.

type PutUsageMetricsByIdParamsSequenceVersion

type PutUsageMetricsByIdParamsSequenceVersion string

PutUsageMetricsByIdParamsSequenceVersion defines parameters for PutUsageMetricsById.

const (
	PutUsageMetricsByIdParamsSequenceVersionN20240730 PutUsageMetricsByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutUsageMetricsByIdParamsSequenceVersion.

type PutUsageMetricsByIdResponse

type PutUsageMetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateUsageMetricEndpointProductUpdateUsageMetricResponseModel
}

func ParsePutUsageMetricsByIdResponse

func ParsePutUsageMetricsByIdResponse(rsp *http.Response) (*PutUsageMetricsByIdResponse, error)

ParsePutUsageMetricsByIdResponse parses an HTTP response from a PutUsageMetricsByIdWithResponse call

func (PutUsageMetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (PutUsageMetricsByIdResponse) StatusCode

func (r PutUsageMetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUsersByIdJSONRequestBody

type PutUsersByIdJSONRequestBody = UpdateSequenceUserRequest

PutUsersByIdJSONRequestBody defines body for PutUsersById for application/json ContentType.

type PutUsersByIdParams

type PutUsersByIdParams struct {
	// Authorization Your [API credentials](/reference/authentication). Eg. `Basic {credentials}`.
	Authorization string `json:"Authorization"`

	// SequenceVersion Use this header to select an API version
	SequenceVersion *PutUsersByIdParamsSequenceVersion `json:"Sequence-Version,omitempty"`
}

PutUsersByIdParams defines parameters for PutUsersById.

type PutUsersByIdParamsSequenceVersion

type PutUsersByIdParamsSequenceVersion string

PutUsersByIdParamsSequenceVersion defines parameters for PutUsersById.

const (
	N20240730 PutUsersByIdParamsSequenceVersion = "2024-07-30"
)

Defines values for PutUsersByIdParamsSequenceVersion.

type PutUsersByIdResponse

type PutUsersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *UpdateSequenceUserResponse
}

func ParsePutUsersByIdResponse

func ParsePutUsersByIdResponse(rsp *http.Response) (*PutUsersByIdResponse, error)

ParsePutUsersByIdResponse parses an HTTP response from a PutUsersByIdWithResponse call

func (PutUsersByIdResponse) Status

func (r PutUsersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutUsersByIdResponse) StatusCode

func (r PutUsersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RateDisplay

type RateDisplay string

RateDisplay defines model for RateDisplay.

const (
	RateDisplayABSOLUTE   RateDisplay = "ABSOLUTE"
	RateDisplayPERCENTAGE RateDisplay = "PERCENTAGE"
)

Defines values for RateDisplay.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RevenueClassification

type RevenueClassification string

RevenueClassification defines model for RevenueClassification.

const (
	BURNDOWN   RevenueClassification = "BURNDOWN"
	EARNED     RevenueClassification = "EARNED"
	PREPAYMENT RevenueClassification = "PREPAYMENT"
)

Defines values for RevenueClassification.

type RevenueRecognitionMethod

type RevenueRecognitionMethod string

RevenueRecognitionMethod defines model for RevenueRecognitionMethod.

const (
	RevenueRecognitionMethodMILESTONE    RevenueRecognitionMethod = "MILESTONE"
	RevenueRecognitionMethodSTRAIGHTLINE RevenueRecognitionMethod = "STRAIGHT_LINE"
	RevenueRecognitionMethodUSAGE        RevenueRecognitionMethod = "USAGE"
)

Defines values for RevenueRecognitionMethod.

type SeatBalance

type SeatBalance struct {
	// ChangeTimestamp Timestamp of change
	ChangeTimestamp string `json:"changeTimestamp"`

	// SeatType Seat type
	SeatType string `json:"seatType"`

	// Total Total seats for this seat type
	Total int `json:"total"`
}

SeatBalance defines model for SeatBalance.

type SeatBasedListPriceRequest

type SeatBasedListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure SeatBasedPricingStructure `json:"structure"`
}

SeatBasedListPriceRequest defines model for SeatBasedListPriceRequest.

type SeatBasedListPriceResponse

type SeatBasedListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure SeatBasedPricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

SeatBasedListPriceResponse defines model for SeatBasedListPriceResponse.

type SeatBasedPriceRequest

type SeatBasedPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure SeatBasedPricingStructure1 `json:"structure"`
}

SeatBasedPriceRequest defines model for SeatBasedPriceRequest.

type SeatBasedPriceResponse

type SeatBasedPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure SeatBasedPricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

SeatBasedPriceResponse defines model for SeatBasedPriceResponse.

type SeatBasedPricingStructure

type SeatBasedPricingStructure struct {
	// ContractedMinimumSeats The number of contractually agreed minimum seats
	ContractedMinimumSeats   int               `json:"contractedMinimumSeats"`
	OveragesBillingFrequency *BillingFrequency `json:"overagesBillingFrequency,omitempty"`

	// PricePerSeat Price charged per seat per full billing period
	PricePerSeat      string                `json:"pricePerSeat"`
	PricingType       SeatBasedPricingType  `json:"pricingType"`
	ProrationStrategy SeatProrationStrategy `json:"prorationStrategy"`

	// SeatMetricId Seat metric associated to this pricing structure
	SeatMetricId string `json:"seatMetricId"`

	// Tiers A list of contiguous pricing tiers
	Tiers []SeatUsageTier `json:"tiers"`
}

SeatBasedPricingStructure The pricing structure

type SeatBasedPricingStructure1

type SeatBasedPricingStructure1 struct {
	// ContractedMinimumSeats The number of contractually agreed minimum seats
	ContractedMinimumSeats   int               `json:"contractedMinimumSeats"`
	OveragesBillingFrequency *BillingFrequency `json:"overagesBillingFrequency,omitempty"`

	// PricePerSeat Price charged per seat per full billing period
	PricePerSeat      string                `json:"pricePerSeat"`
	PricingType       SeatBasedPricingType  `json:"pricingType"`
	ProrationStrategy SeatProrationStrategy `json:"prorationStrategy"`

	// SeatMetricId Seat metric associated to this pricing structure
	SeatMetricId string `json:"seatMetricId"`

	// Tiers A list of contiguous pricing tiers
	Tiers []SeatUsageTier `json:"tiers"`
}

SeatBasedPricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type SeatBasedPricingType

type SeatBasedPricingType string

SeatBasedPricingType defines model for SeatBasedPricingType.

const (
	SEATBASED SeatBasedPricingType = "SEAT_BASED"
)

Defines values for SeatBasedPricingType.

type SeatEvent

type SeatEvent struct {
	// CustomerAlias End-customer alias or ID. This is a unique value provided by you and is an identifier to your customer who consumed the seats.
	CustomerAlias string `json:"customerAlias"`

	// CustomerEventId Unique ID provided by you. Another event with the same customer event ID will supersede this one. This ID usually corresponds to the event ID you use internally.
	CustomerEventId string `json:"customerEventId"`

	// EventTimestamp Event timestamp, in ISO 8601 format.
	EventTimestamp string `json:"eventTimestamp"`

	// Id Unique ID for this seat event.
	Id string `json:"id"`

	// SeatType Seat type. This can be referenced from a seat metric.
	SeatType string `json:"seatType"`

	// SequenceAccountId Unique Sequence account ID.
	SequenceAccountId string `json:"sequenceAccountId"`

	// Total Total seats consumed for this seat type.
	Total int `json:"total"`
}

SeatEvent defines model for SeatEvent.

type SeatMetric

type SeatMetric struct {
	// CreatedAt The time at which this seat metric was created. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// CreatedBy The ID of the Sequence user who created this seat metric.
	CreatedBy *string `json:"createdBy,omitempty"`

	// Description Optional description for this seat metric.
	Description *string `json:"description,omitempty"`

	// Id Unique ID for this seat metric.
	Id string `json:"id"`

	// Label Friendly, customer-facing name for this seat metric.
	Label string `json:"label"`

	// SeatType Immutable, unique value used to identify and refer to this seat type when submitting events.
	SeatType string `json:"seatType"`

	// UpdatedAt The time at which this seat metric was updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

SeatMetric defines model for SeatMetric.

type SeatProrationStrategy

type SeatProrationStrategy string

SeatProrationStrategy defines model for SeatProrationStrategy.

const (
	PRORATEALLCHANGES SeatProrationStrategy = "PRORATE_ALL_CHANGES"
	PRORATEINCREMENTS SeatProrationStrategy = "PRORATE_INCREMENTS"
	USEMAXIMUM        SeatProrationStrategy = "USE_MAXIMUM"
)

Defines values for SeatProrationStrategy.

type SeatUsageTier

type SeatUsageTier struct {
	// Fee The nominal fee associated with usage at this tier
	Fee *string `json:"fee,omitempty"`

	// Price The rate to apply to usage for this product in this tier. In the case of percentage pricing where `isPricePercentage` is set to `true`, a value of 1 represents 100%.
	Price string `json:"price"`

	// UpperBound The upper bound of usage for this tier. Set to null to if this is a final tier and is unbounded. The lower bound is set by the previous tier or 0 if it's the first one.
	UpperBound *string `json:"upperBound,omitempty"`
}

SeatUsageTier defines model for SeatUsageTier.

type SequenceAccount

type SequenceAccount struct {
	// AlertEmailAddresses List of email addresses to which alert notifications will be sent.
	AlertEmailAddresses []string `json:"alertEmailAddresses"`

	// CompanyName The company name of the company that owns this Sequence account.
	CompanyName string `json:"companyName"`

	// CompanyNumber The company number of the company that owns this Sequence account.
	CompanyNumber string      `json:"companyNumber"`
	Country       CountryCode `json:"country"`

	// CreatedAt The time at which the account was created. Formatted as an ISO 8601 timestamp.
	CreatedAt string `json:"createdAt"`

	// Id Unique identifier for the Sequence account.
	Id string `json:"id"`

	// SendCustomerNotifications True if Sequence should send customer notifications on your behalf.
	SendCustomerNotifications bool `json:"sendCustomerNotifications"`

	// SequenceOrganisationId The Sequence organisation ID that this account belongs to.
	SequenceOrganisationId string `json:"sequenceOrganisationId"`
}

SequenceAccount defines model for SequenceAccount.

type SequenceUserResponse

type SequenceUserResponse struct {
	// Email The email address of this user.
	Email string `json:"email"`

	// Id The unique ID of this user.
	Id string `json:"id"`

	// SequenceAccountIds A list of Sequence account IDs. These account IDs represent the accounts this user has access to.
	SequenceAccountIds []string `json:"sequenceAccountIds"`

	// State The state of this user.
	State string `json:"state"`
}

SequenceUserResponse defines model for SequenceUserResponse.

type SettingPreference

type SettingPreference string

SettingPreference defines model for SettingPreference.

const (
	DISABLED SettingPreference = "DISABLED"
	ENABLED  SettingPreference = "ENABLED"
)

Defines values for SettingPreference.

type SortCodeAccountNumber

type SortCodeAccountNumber struct {
	// AccountNumber UK account number. 8 digits.
	AccountNumber string `json:"accountNumber"`

	// SortCode UK sort code. 6 digits.
	SortCode string `json:"sortCode"`
}

SortCodeAccountNumber Merchant's UK bank account details, for receiving payment by UK bank transfer

type Stable20240101CreateInvoiceRequest

type Stable20240101CreateInvoiceRequest struct {
	// AccountingDate Accounting date
	AccountingDate *openapi_types.Date `json:"accountingDate,omitempty"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingRunId Billing Run ID
	BillingRunId *string `json:"billingRunId,omitempty"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId *string `json:"billingScheduleId,omitempty"`

	// CreditBalances Credit balances
	CreditBalances *string  `json:"creditBalances,omitempty"`
	Currency       Currency `json:"currency"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress *Address1 `json:"customerBillingAddress,omitempty"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails *[]string `json:"customerEmails,omitempty"`

	// CustomerId The ID of the Customer this invoice is linked to
	CustomerId string `json:"customerId"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName *string `json:"customerLegalCompanyName,omitempty"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress *Address1 `json:"customerShippingAddress,omitempty"`

	// DueDate Due date
	DueDate *openapi_types.Date `json:"dueDate,omitempty"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata *[]KeyValuePair `json:"metadata,omitempty"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`
}

Stable20240101CreateInvoiceRequest defines model for Stable20240101CreateInvoiceRequest.

type Stable20240101CreateOrUpdateLineItem

type Stable20240101CreateOrUpdateLineItem struct {
	// CreditGrantId Credit Grant ID
	CreditGrantId *string `json:"creditGrantId,omitempty"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GroupId Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Price per Item
	Rate                  string                 `json:"rate"`
	RateDisplay           *RateDisplay           `json:"rateDisplay,omitempty"`
	RevenueClassification *RevenueClassification `json:"revenueClassification,omitempty"`

	// ServicePeriod Service Period
	ServicePeriod *DateRange `json:"servicePeriod,omitempty"`

	// ServicePeriodEnd End of the service period (the time period in which the service was provided)
	ServicePeriodEnd *string `json:"servicePeriodEnd,omitempty"`

	// ServicePeriodStart Start of the service period (the time period in which the service was provided)
	ServicePeriodStart *string `json:"servicePeriodStart,omitempty"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`
}

Stable20240101CreateOrUpdateLineItem defines model for Stable20240101CreateOrUpdateLineItem.

type Stable20240101LineItemResponse

type Stable20240101LineItemResponse struct {
	// CreditGrantId Credit Grant ID
	CreditGrantId *string `json:"creditGrantId,omitempty"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GrossTotal Gross total, in decimal format of the Invoice's currency
	GrossTotal string `json:"grossTotal"`

	// GroupId Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// Id Line Item ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// InvoiceId Invoice ID
	InvoiceId string `json:"invoiceId"`

	// NetTotal Net total, in decimal format of the Invoice's currency
	NetTotal string `json:"netTotal"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Price per Item
	Rate                  string                 `json:"rate"`
	RateDisplay           RateDisplay            `json:"rateDisplay"`
	RevenueClassification *RevenueClassification `json:"revenueClassification,omitempty"`

	// ServicePeriod Service Period
	ServicePeriod *DateRange `json:"servicePeriod,omitempty"`

	// ServicePeriodEnd End of the service period (the time period in which the service was provided)
	ServicePeriodEnd *string `json:"servicePeriodEnd,omitempty"`

	// ServicePeriodStart Start of the service period (the time period in which the service was provided)
	ServicePeriodStart *string `json:"servicePeriodStart,omitempty"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`

	// TotalTax Total tax, in decimal format of the Invoice's currency
	TotalTax string `json:"totalTax"`
}

Stable20240101LineItemResponse defines model for Stable20240101LineItemResponse.

type Stable20240101PatchInvoiceRequest

type Stable20240101PatchInvoiceRequest struct {
	// AccountingDate Accounting date
	AccountingDate *openapi_types.Date `json:"accountingDate,omitempty"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingRunId Billing Run ID
	BillingRunId *string `json:"billingRunId,omitempty"`

	// CreditBalances Credit balances
	CreditBalances *string `json:"creditBalances,omitempty"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress *Address1 `json:"customerBillingAddress,omitempty"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails *[]string `json:"customerEmails,omitempty"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName *string `json:"customerLegalCompanyName,omitempty"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress *Address1 `json:"customerShippingAddress,omitempty"`

	// DueDate Due date
	DueDate *openapi_types.Date `json:"dueDate,omitempty"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata *[]KeyValuePair `json:"metadata,omitempty"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`
}

Stable20240101PatchInvoiceRequest defines model for Stable20240101PatchInvoiceRequest.

type Stable20240101UpdateInvoiceRequest

type Stable20240101UpdateInvoiceRequest struct {
	// AccountingDate Accounting date
	AccountingDate *openapi_types.Date `json:"accountingDate,omitempty"`

	// BillingPeriod Billing period
	BillingPeriod *InclusiveDateRange `json:"billingPeriod,omitempty"`

	// BillingRunId Billing Run ID
	BillingRunId *string `json:"billingRunId,omitempty"`

	// CreditBalances Credit balances
	CreditBalances *string `json:"creditBalances,omitempty"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress *Address1 `json:"customerBillingAddress,omitempty"`

	// CustomerEmails Customer email addresses, used for sending the Invoice if provided
	CustomerEmails *[]string `json:"customerEmails,omitempty"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName *string `json:"customerLegalCompanyName,omitempty"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress *Address1 `json:"customerShippingAddress,omitempty"`

	// DueDate Due date
	DueDate *openapi_types.Date `json:"dueDate,omitempty"`

	// Memo Invoice memo
	Memo *string `json:"memo,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Invoice. These are not interpreted by Sequence; they are present for your use alone.
	Metadata *[]KeyValuePair `json:"metadata,omitempty"`

	// PaymentOptions Invoice payment options
	PaymentOptions *[]InvoicePaymentOption `json:"paymentOptions,omitempty"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Reference Reference
	Reference *string `json:"reference,omitempty"`
}

Stable20240101UpdateInvoiceRequest defines model for Stable20240101UpdateInvoiceRequest.

type Stable20240509ListResponseModel

type Stable20240509ListResponseModel struct {
	// Items Products
	Items []Stable20240509ProductResponse `json:"items"`

	// Pagination Results pagination
	Pagination PaginationMeta `json:"pagination"`
}

Stable20240509ListResponseModel defines model for Stable20240509ListResponseModel.

type Stable20240509ProductRequest

type Stable20240509ProductRequest struct {
	// Label The internal description of the product. This can be used to maintain some explanation or comments regarding the product.
	Label *string `json:"label,omitempty"`

	// Name Name of the Product, this appears within Sequence's dashboard.
	Name string `json:"name"`
}

Stable20240509ProductRequest defines model for Stable20240509ProductRequest.

type Stable20240509ProductResponse

type Stable20240509ProductResponse struct {
	// CreatedAt Time at which the Product was first created, in ISO 8601 format (UTC). This is set by the server and cannot be changed. Expect millisecond precision.
	CreatedAt string `json:"createdAt"`

	// Id Product ID
	Id string `json:"id"`

	// Label The internal description of the product. This can be used to maintain some explanation or comments regarding the product.
	Label *string `json:"label,omitempty"`

	// Name Name of the Product, this appears within Sequence's dashboard.
	Name string `json:"name"`

	// UpdatedAt Time at which the Product was last updated, in ISO 8601 format (UTC). Expect millisecond precision.
	UpdatedAt string `json:"updatedAt"`
}

Stable20240509ProductResponse defines model for Stable20240509ProductResponse.

type State

type State string

State defines model for State.

const (
	StateAB State = "AB"
	StateAK State = "AK"
	StateAL State = "AL"
	StateAR State = "AR"
	StateAZ State = "AZ"
	StateBC State = "BC"
	StateCA State = "CA"
	StateCO State = "CO"
	StateCT State = "CT"
	StateDC State = "DC"
	StateDE State = "DE"
	StateFL State = "FL"
	StateGA State = "GA"
	StateHI State = "HI"
	StateIA State = "IA"
	StateID State = "ID"
	StateIL State = "IL"
	StateIN State = "IN"
	StateKS State = "KS"
	StateKY State = "KY"
	StateLA State = "LA"
	StateMA State = "MA"
	StateMB State = "MB"
	StateMD State = "MD"
	StateME State = "ME"
	StateMI State = "MI"
	StateMN State = "MN"
	StateMO State = "MO"
	StateMS State = "MS"
	StateMT State = "MT"
	StateNB State = "NB"
	StateNC State = "NC"
	StateND State = "ND"
	StateNE State = "NE"
	StateNH State = "NH"
	StateNJ State = "NJ"
	StateNL State = "NL"
	StateNM State = "NM"
	StateNS State = "NS"
	StateNT State = "NT"
	StateNU State = "NU"
	StateNV State = "NV"
	StateNY State = "NY"
	StateOH State = "OH"
	StateOK State = "OK"
	StateON State = "ON"
	StateOR State = "OR"
	StatePA State = "PA"
	StatePE State = "PE"
	StateQC State = "QC"
	StateRI State = "RI"
	StateSC State = "SC"
	StateSD State = "SD"
	StateSK State = "SK"
	StateTN State = "TN"
	StateTX State = "TX"
	StateUT State = "UT"
	StateVA State = "VA"
	StateVT State = "VT"
	StateWA State = "WA"
	StateWI State = "WI"
	StateWV State = "WV"
	StateWY State = "WY"
	StateYT State = "YT"
)

Defines values for State.

type State1

type State1 string

State1 defines model for State1.

const (
	State1AB State1 = "AB"
	State1AK State1 = "AK"
	State1AL State1 = "AL"
	State1AR State1 = "AR"
	State1AZ State1 = "AZ"
	State1BC State1 = "BC"
	State1CA State1 = "CA"
	State1CO State1 = "CO"
	State1CT State1 = "CT"
	State1DC State1 = "DC"
	State1DE State1 = "DE"
	State1FL State1 = "FL"
	State1GA State1 = "GA"
	State1HI State1 = "HI"
	State1IA State1 = "IA"
	State1ID State1 = "ID"
	State1IL State1 = "IL"
	State1IN State1 = "IN"
	State1KS State1 = "KS"
	State1KY State1 = "KY"
	State1LA State1 = "LA"
	State1MA State1 = "MA"
	State1MB State1 = "MB"
	State1MD State1 = "MD"
	State1ME State1 = "ME"
	State1MI State1 = "MI"
	State1MN State1 = "MN"
	State1MO State1 = "MO"
	State1MS State1 = "MS"
	State1MT State1 = "MT"
	State1NB State1 = "NB"
	State1NC State1 = "NC"
	State1ND State1 = "ND"
	State1NE State1 = "NE"
	State1NH State1 = "NH"
	State1NJ State1 = "NJ"
	State1NL State1 = "NL"
	State1NM State1 = "NM"
	State1NS State1 = "NS"
	State1NT State1 = "NT"
	State1NU State1 = "NU"
	State1NV State1 = "NV"
	State1NY State1 = "NY"
	State1OH State1 = "OH"
	State1OK State1 = "OK"
	State1ON State1 = "ON"
	State1OR State1 = "OR"
	State1PA State1 = "PA"
	State1PE State1 = "PE"
	State1QC State1 = "QC"
	State1RI State1 = "RI"
	State1SC State1 = "SC"
	State1SD State1 = "SD"
	State1SK State1 = "SK"
	State1TN State1 = "TN"
	State1TX State1 = "TX"
	State1UT State1 = "UT"
	State1VA State1 = "VA"
	State1VT State1 = "VT"
	State1WA State1 = "WA"
	State1WI State1 = "WI"
	State1WV State1 = "WV"
	State1WY State1 = "WY"
	State1YT State1 = "YT"
)

Defines values for State1.

type State2

type State2 string

State2 defines model for State2.

const (
	State2AB State2 = "AB"
	State2AK State2 = "AK"
	State2AL State2 = "AL"
	State2AR State2 = "AR"
	State2AZ State2 = "AZ"
	State2BC State2 = "BC"
	State2CA State2 = "CA"
	State2CO State2 = "CO"
	State2CT State2 = "CT"
	State2DC State2 = "DC"
	State2DE State2 = "DE"
	State2FL State2 = "FL"
	State2GA State2 = "GA"
	State2HI State2 = "HI"
	State2IA State2 = "IA"
	State2ID State2 = "ID"
	State2IL State2 = "IL"
	State2IN State2 = "IN"
	State2KS State2 = "KS"
	State2KY State2 = "KY"
	State2LA State2 = "LA"
	State2MA State2 = "MA"
	State2MB State2 = "MB"
	State2MD State2 = "MD"
	State2ME State2 = "ME"
	State2MI State2 = "MI"
	State2MN State2 = "MN"
	State2MO State2 = "MO"
	State2MS State2 = "MS"
	State2MT State2 = "MT"
	State2NB State2 = "NB"
	State2NC State2 = "NC"
	State2ND State2 = "ND"
	State2NE State2 = "NE"
	State2NH State2 = "NH"
	State2NJ State2 = "NJ"
	State2NL State2 = "NL"
	State2NM State2 = "NM"
	State2NS State2 = "NS"
	State2NT State2 = "NT"
	State2NU State2 = "NU"
	State2NV State2 = "NV"
	State2NY State2 = "NY"
	State2OH State2 = "OH"
	State2OK State2 = "OK"
	State2ON State2 = "ON"
	State2OR State2 = "OR"
	State2PA State2 = "PA"
	State2PE State2 = "PE"
	State2QC State2 = "QC"
	State2RI State2 = "RI"
	State2SC State2 = "SC"
	State2SD State2 = "SD"
	State2SK State2 = "SK"
	State2TN State2 = "TN"
	State2TX State2 = "TX"
	State2UT State2 = "UT"
	State2VA State2 = "VA"
	State2VT State2 = "VT"
	State2WA State2 = "WA"
	State2WI State2 = "WI"
	State2WV State2 = "WV"
	State2WY State2 = "WY"
	State2YT State2 = "YT"
)

Defines values for State2.

type TaxCategoryResponse

type TaxCategoryResponse struct {
	// Id Tax Category ID
	Id string `json:"id"`

	// Name Tax Category name
	Name string `json:"name"`
}

TaxCategoryResponse The tax category for all line items in this line item group

type TaxRateResponse

type TaxRateResponse struct {
	// Amount The tax rate. Must be between 0 and 100.
	Amount  string      `json:"amount"`
	Country CountryCode `json:"country"`

	// Description The description of the tax rate
	Description *string `json:"description,omitempty"`

	// Id Tax Rate ID
	Id string `json:"id"`

	// InvoiceName The long name used on the invoice, e.g. "Value Added Tax"
	InvoiceName string `json:"invoiceName"`

	// InvoiceShortName The short name used on the invoice, e.g. "VAT"
	InvoiceShortName string `json:"invoiceShortName"`

	// IsArchived Whether this tax rate is archived
	IsArchived bool `json:"isArchived"`

	// IsPublished Tax Rate status
	IsPublished bool `json:"isPublished"`

	// Name The full name of the tax rate, e.g. "Sales tax"
	Name string `json:"name"`

	// Region The region that this tax rate applies to
	Region *string `json:"region,omitempty"`

	// TaxCategoryId The Tax Category ID that this Tax Rate is part of
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`

	// UpdatedAt The last time this tax rate was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// Version Tax Rate version
	Version int64 `json:"version"`

	// VersionId Tax Rate Version ID
	VersionId string `json:"versionId"`
}

TaxRateResponse defines model for TaxRateResponse.

type TaxStatus

type TaxStatus string

TaxStatus defines model for TaxStatus.

const (
	REVERSECHARGED TaxStatus = "REVERSE_CHARGED"
	TAXED          TaxStatus = "TAXED"
	TAXEXEMPT      TaxStatus = "TAX_EXEMPT"
)

Defines values for TaxStatus.

type UpdateAccountPaymentSettingsEndpointUpdateAccountPaymentSettingsRequest

type UpdateAccountPaymentSettingsEndpointUpdateAccountPaymentSettingsRequest struct {
	// FailureNotifications The failure notification settings for the account
	FailureNotifications PaymentFailureNotifications `json:"failureNotifications"`
}

UpdateAccountPaymentSettingsEndpointUpdateAccountPaymentSettingsRequest defines model for UpdateAccountPaymentSettingsEndpointUpdateAccountPaymentSettingsRequest.

type UpdateBillingScheduleRequest

type UpdateBillingScheduleRequest struct {
	// AttachmentAssetIds IDs of assets that are attached to this schedule
	AttachmentAssetIds *[]string `json:"attachmentAssetIds,omitempty"`

	// AutoIssueInvoices Auto-issue invoices for this billing schedule
	AutoIssueInvoices bool `json:"autoIssueInvoices"`

	// EndDate End date
	EndDate *openapi_types.Date `json:"endDate,omitempty"`

	// Phases Phases
	Phases []PhaseRequest `json:"phases"`

	// PurchaseOrderNumber Optional purchase order number to be added to invoices
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// RecurrenceDayOfMonth Recurrence day of month
	RecurrenceDayOfMonth *int32 `json:"recurrenceDayOfMonth,omitempty"`

	// RollUpBilling Toggles Roll-up billing
	RollUpBilling bool `json:"rollUpBilling"`

	// StartDate Start date
	StartDate openapi_types.Date `json:"startDate"`

	// TaxRates Tax Rate for each Product
	TaxRates []ProductTaxRateRepresentation `json:"taxRates"`
}

UpdateBillingScheduleRequest defines model for UpdateBillingScheduleRequest.

type UpdateBillingScheduleSettingsEndpointUpdateBillingScheduleSettingsRequestModel

type UpdateBillingScheduleSettingsEndpointUpdateBillingScheduleSettingsRequestModel struct {
	// AutoCharge Automatically collect this payment if payment details are available
	AutoCharge      *bool           `json:"autoCharge,omitempty"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`
}

UpdateBillingScheduleSettingsEndpointUpdateBillingScheduleSettingsRequestModel defines model for UpdateBillingScheduleSettingsEndpointUpdateBillingScheduleSettingsRequestModel.

type UpdateCreditNoteEndpointUpdateCreditNoteRequestModel

type UpdateCreditNoteEndpointUpdateCreditNoteRequestModel struct {
	// BillingPeriodEnd Billing period end
	BillingPeriodEnd *string `json:"billingPeriodEnd,omitempty"`

	// BillingPeriodStart Billing period start
	BillingPeriodStart *string `json:"billingPeriodStart,omitempty"`

	// CustomerBillingAddress Customer's billing address
	CustomerBillingAddress *Address1 `json:"customerBillingAddress,omitempty"`

	// CustomerEmails Customer's email addresses, used for sending the Credit Note if provided
	CustomerEmails *[]string `json:"customerEmails,omitempty"`

	// CustomerLegalCompanyName Customer's legal company name
	CustomerLegalCompanyName *string `json:"customerLegalCompanyName,omitempty"`

	// CustomerShippingAddress Customer's billing address
	CustomerShippingAddress *Address1 `json:"customerShippingAddress,omitempty"`

	// CustomerTaxId Customer's tax ID
	CustomerTaxId *string `json:"customerTaxId,omitempty"`

	// Memo Credit Note memo
	Memo *string `json:"memo,omitempty"`

	// Metadata Mapping of key-value pairs to attach to the Credit Note. These are not interpreted by Sequence; they are present for your use alone.
	Metadata *[]KeyValuePair `json:"metadata,omitempty"`

	// PurchaseOrderNumber Purchase order number
	PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"`

	// Settings Credit note settings
	Settings *CreditNoteSettings `json:"settings,omitempty"`
}

UpdateCreditNoteEndpointUpdateCreditNoteRequestModel defines model for UpdateCreditNoteEndpointUpdateCreditNoteRequestModel.

type UpdateCreditNoteLineItemEndpointProductUpdateCreditNoteLineItemResponseModel

type UpdateCreditNoteLineItemEndpointProductUpdateCreditNoteLineItemResponseModel struct {
	// CreditNoteId Credit Note Line Item ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// GrossTotal Gross Total
	GrossTotal string `json:"grossTotal"`

	// GroupId Credit Note Line Item Group ID
	GroupId *string `json:"groupId,omitempty"`

	// Id Credit Note Line Item ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemId Line Item ID
	LineItemId *string `json:"lineItemId,omitempty"`

	// NetTotal Net Total
	NetTotal string `json:"netTotal"`

	// PriceId Price ID
	PriceId *string `json:"priceId,omitempty"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string      `json:"rate"`
	RateDisplay RateDisplay `json:"rateDisplay"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`

	// TotalTax Total Tax
	TotalTax string `json:"totalTax"`
}

UpdateCreditNoteLineItemEndpointProductUpdateCreditNoteLineItemResponseModel defines model for UpdateCreditNoteLineItemEndpointProductUpdateCreditNoteLineItemResponseModel.

type UpdateCreditNoteLineItemEndpointUpdateCreditNoteLineItemRequestModel

type UpdateCreditNoteLineItemEndpointUpdateCreditNoteLineItemRequestModel struct {
	// Description Item Description
	Description *string `json:"description,omitempty"`

	// ExternalIds IDs in external integrations
	ExternalIds []IntegrationExternalIdentifier `json:"externalIds"`

	// Quantity Quantity
	Quantity string `json:"quantity"`

	// Rate Rate per Item
	Rate        string       `json:"rate"`
	RateDisplay *RateDisplay `json:"rateDisplay,omitempty"`

	// TaxRate Tax Rate
	TaxRate string `json:"taxRate"`

	// Title Item Title
	Title string `json:"title"`
}

UpdateCreditNoteLineItemEndpointUpdateCreditNoteLineItemRequestModel defines model for UpdateCreditNoteLineItemEndpointUpdateCreditNoteLineItemRequestModel.

type UpdateCreditNoteLineItemGroupEndpointProductUpdateCreditNoteLineItemGroupResponseModel

type UpdateCreditNoteLineItemGroupEndpointProductUpdateCreditNoteLineItemGroupResponseModel struct {
	// CreditNoteId Credit Note ID
	CreditNoteId string `json:"creditNoteId"`

	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// GrossTotal Gross total
	GrossTotal string `json:"grossTotal"`

	// Id Credit Note Line Item Group ID
	Id string `json:"id"`

	// Index Index (for maintaining order)
	Index int `json:"index"`

	// LineItemGroupId Line Item Group ID
	LineItemGroupId *string `json:"lineItemGroupId,omitempty"`

	// NetTotal Net total
	NetTotal string `json:"netTotal"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`

	// TotalTax Total tax
	TotalTax string `json:"totalTax"`
}

UpdateCreditNoteLineItemGroupEndpointProductUpdateCreditNoteLineItemGroupResponseModel defines model for UpdateCreditNoteLineItemGroupEndpointProductUpdateCreditNoteLineItemGroupResponseModel.

type UpdateCreditNoteLineItemGroupEndpointUpdateCreditNoteLineItemGroupRequestModel

type UpdateCreditNoteLineItemGroupEndpointUpdateCreditNoteLineItemGroupRequestModel struct {
	// Description Credit Note Line Item Group Description
	Description *string `json:"description,omitempty"`

	// Title Credit Note Line Item Group Title
	Title string `json:"title"`
}

UpdateCreditNoteLineItemGroupEndpointUpdateCreditNoteLineItemGroupRequestModel defines model for UpdateCreditNoteLineItemGroupEndpointUpdateCreditNoteLineItemGroupRequestModel.

type UpdateCustomerAliasEndpointProductUpdateCustomerAliasResponseModel

type UpdateCustomerAliasEndpointProductUpdateCustomerAliasResponseModel struct {
	// ArchivedAt Archived At
	ArchivedAt *string `json:"archivedAt,omitempty"`

	// CreatedAt Created At
	CreatedAt string `json:"createdAt"`

	// CustomerId Customer ID
	CustomerId string `json:"customerId"`

	// DeletedAt Deleted At
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Id Unique ID
	Id string `json:"id"`

	// Label Alias label
	Label *string `json:"label,omitempty"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Value Alias value
	Value string `json:"value"`
}

UpdateCustomerAliasEndpointProductUpdateCustomerAliasResponseModel defines model for UpdateCustomerAliasEndpointProductUpdateCustomerAliasResponseModel.

type UpdateCustomerAliasEndpointUpdateCustomerAliasRequestModel

type UpdateCustomerAliasEndpointUpdateCustomerAliasRequestModel struct {
	// Label Alias label
	Label *string `json:"label,omitempty"`
}

UpdateCustomerAliasEndpointUpdateCustomerAliasRequestModel defines model for UpdateCustomerAliasEndpointUpdateCustomerAliasRequestModel.

type UpdateCustomerSettingsEndpointProductUpdateCustomerSettingsResponseModel

type UpdateCustomerSettingsEndpointProductUpdateCustomerSettingsResponseModel struct {
	// CustomerId Customer Account ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id              string          `json:"id"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

UpdateCustomerSettingsEndpointProductUpdateCustomerSettingsResponseModel defines model for UpdateCustomerSettingsEndpointProductUpdateCustomerSettingsResponseModel.

type UpdateCustomerSettingsEndpointUpdateCustomerSettingsRequestModel

type UpdateCustomerSettingsEndpointUpdateCustomerSettingsRequestModel struct {
	PaymentProvider PaymentProvider `json:"paymentProvider"`
}

UpdateCustomerSettingsEndpointUpdateCustomerSettingsRequestModel defines model for UpdateCustomerSettingsEndpointUpdateCustomerSettingsRequestModel.

type UpdateDiscountEndpointProductUpdateDiscountResponseModel

type UpdateDiscountEndpointProductUpdateDiscountResponseModel struct {
	// Amount Amount to be reduced
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId string `json:"billingScheduleId"`

	// CreatedAt Created at
	CreatedAt               string                  `json:"createdAt"`
	DiscountCalculationType DiscountCalculationType `json:"discountCalculationType"`

	// Id Discount ID
	Id string `json:"id"`

	// Message Message to appear on the Invoice
	Message string `json:"message"`

	// PhaseId Phase ID
	PhaseId *string `json:"phaseId,omitempty"`

	// PriceIds Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
	PriceIds []string `json:"priceIds"`

	// SeparateLineItem Indicates whether the discount should appear as a separate line item in the invoice
	SeparateLineItem bool `json:"separateLineItem"`

	// SequenceAccountId The Sequence Account to which this Discount belongs
	SequenceAccountId string `json:"sequenceAccountId"`

	// UpdatedAt Updated At
	UpdatedAt string `json:"updatedAt"`

	// ValidFrom First Day Discount is Valid
	ValidFrom *openapi_types.Date `json:"validFrom,omitempty"`

	// ValidTo Last Day Discount is Valid
	ValidTo *openapi_types.Date `json:"validTo,omitempty"`
}

UpdateDiscountEndpointProductUpdateDiscountResponseModel defines model for UpdateDiscountEndpointProductUpdateDiscountResponseModel.

type UpdateDiscountEndpointUpdateDiscountRequestModel

type UpdateDiscountEndpointUpdateDiscountRequestModel struct {
	// Amount Amount to be reduced
	Amount float32 `json:"amount"`

	// BillingScheduleId Billing Schedule ID
	BillingScheduleId       string                  `json:"billingScheduleId"`
	DiscountCalculationType DiscountCalculationType `json:"discountCalculationType"`

	// Message Message to appear on the Invoice
	Message string `json:"message"`

	// PriceIds Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
	PriceIds []string `json:"priceIds"`

	// SeparateLineItem Indicates whether the discount should appear as a separate line item in the invoice
	SeparateLineItem bool `json:"separateLineItem"`

	// ValidFrom First Day Discount is Valid
	ValidFrom *openapi_types.Date `json:"validFrom,omitempty"`

	// ValidTo Last Day Discount is Valid
	ValidTo *openapi_types.Date `json:"validTo,omitempty"`
}

UpdateDiscountEndpointUpdateDiscountRequestModel defines model for UpdateDiscountEndpointUpdateDiscountRequestModel.

type UpdateInvoicePaymentStatusEndpointRequestModel

type UpdateInvoicePaymentStatusEndpointRequestModel struct {
	PaymentStatus InvoicePaymentStatus `json:"paymentStatus"`
}

UpdateInvoicePaymentStatusEndpointRequestModel defines model for UpdateInvoicePaymentStatusEndpointRequestModel.

type UpdateInvoiceRenderSettingsEndpointProductUpdateInvoiceRenderSettingsResponseModel

type UpdateInvoiceRenderSettingsEndpointProductUpdateInvoiceRenderSettingsResponseModel struct {
	// Id Invoice settings ID
	Id                 string                   `json:"id"`
	PaymentLinkDisplay PaymentLinkDisplayOption `json:"paymentLinkDisplay"`
}

UpdateInvoiceRenderSettingsEndpointProductUpdateInvoiceRenderSettingsResponseModel defines model for UpdateInvoiceRenderSettingsEndpointProductUpdateInvoiceRenderSettingsResponseModel.

type UpdateInvoiceRenderSettingsEndpointUpdateInvoiceRenderSettingsRequestModel

type UpdateInvoiceRenderSettingsEndpointUpdateInvoiceRenderSettingsRequestModel struct {
	PaymentLinkDisplay PaymentLinkDisplayOption `json:"paymentLinkDisplay"`
}

UpdateInvoiceRenderSettingsEndpointUpdateInvoiceRenderSettingsRequestModel defines model for UpdateInvoiceRenderSettingsEndpointUpdateInvoiceRenderSettingsRequestModel.

type UpdateInvoiceSettingsEndpointProductUpdateInvoiceSettingsResponseModel

type UpdateInvoiceSettingsEndpointProductUpdateInvoiceSettingsResponseModel struct {
	// CustomerId Customer ID.
	CustomerId string `json:"customerId"`

	// Id Unique payment provider id.
	Id string `json:"id"`

	// InvoiceId Invoice ID.
	InvoiceId       string          `json:"invoiceId"`
	PaymentProvider PaymentProvider `json:"paymentProvider"`

	// SequenceAccountId Sequence Account ID.
	SequenceAccountId string `json:"sequenceAccountId"`
}

UpdateInvoiceSettingsEndpointProductUpdateInvoiceSettingsResponseModel defines model for UpdateInvoiceSettingsEndpointProductUpdateInvoiceSettingsResponseModel.

type UpdateInvoiceSettingsEndpointUpdateInvoiceSettingsRequestModel

type UpdateInvoiceSettingsEndpointUpdateInvoiceSettingsRequestModel struct {
	PaymentProvider PaymentProvider `json:"paymentProvider"`
}

UpdateInvoiceSettingsEndpointUpdateInvoiceSettingsRequestModel defines model for UpdateInvoiceSettingsEndpointUpdateInvoiceSettingsRequestModel.

type UpdateLineItemGroupRequestModel

type UpdateLineItemGroupRequestModel struct {
	// Description Line Item Group Description
	Description *string `json:"description,omitempty"`

	// TaxCategoryId The tax category for all line items in this line item group
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`

	// Title Line Item Group Title
	Title string `json:"title"`
}

UpdateLineItemGroupRequestModel defines model for UpdateLineItemGroupRequestModel.

type UpdatePriceEndpointUpdatePriceRequestModel

type UpdatePriceEndpointUpdatePriceRequestModel struct {
	// Name The customer-facing name of this Price
	Name string `json:"name"`
}

UpdatePriceEndpointUpdatePriceRequestModel defines model for UpdatePriceEndpointUpdatePriceRequestModel.

type UpdateSeatMetricRequest

type UpdateSeatMetricRequest struct {
	// Description Optional description
	Description *string `json:"description,omitempty"`

	// Label Friendly, customer-facing name for this seat metric.
	Label string `json:"label"`
}

UpdateSeatMetricRequest defines model for UpdateSeatMetricRequest.

type UpdateSequenceAccountProductEndpointUpdateSequenceAccountRequest

type UpdateSequenceAccountProductEndpointUpdateSequenceAccountRequest struct {
	// AlertEmailAddresses Email address to which alert notifications will be sent
	AlertEmailAddresses []string `json:"alertEmailAddresses"`
}

UpdateSequenceAccountProductEndpointUpdateSequenceAccountRequest defines model for UpdateSequenceAccountProductEndpointUpdateSequenceAccountRequest.

type UpdateSequenceUserRequest

type UpdateSequenceUserRequest struct {
	// SequenceAccountIds A list of Sequence account IDs. These account IDs represent the accounts this user has access to.
	SequenceAccountIds []string `json:"sequenceAccountIds"`
}

UpdateSequenceUserRequest defines model for UpdateSequenceUserRequest.

type UpdateSequenceUserResponse

type UpdateSequenceUserResponse struct {
	// Id Unique user ID
	Id string `json:"id"`

	// SequenceAccountIds A list of Sequence account IDs. These account IDs represent the accounts this user has access to.
	SequenceAccountIds []string `json:"sequenceAccountIds"`
}

UpdateSequenceUserResponse defines model for UpdateSequenceUserResponse.

type UpdateTaxRateRequest

type UpdateTaxRateRequest struct {
	// Amount The tax rate. Must be between 0 and 100.
	Amount  string      `json:"amount"`
	Country CountryCode `json:"country"`

	// Description The description of the tax rate
	Description *string `json:"description,omitempty"`

	// Id Tax Rate ID
	Id string `json:"id"`

	// InvoiceName The long name used on the invoice, e.g. "Value Added Tax"
	InvoiceName string `json:"invoiceName"`

	// InvoiceShortName The short name used on the invoice, e.g. "VAT"
	InvoiceShortName string `json:"invoiceShortName"`

	// IsPublished Tax Rate status
	IsPublished bool `json:"isPublished"`

	// Name The full name of the tax rate, e.g. "Sales tax"
	Name string `json:"name"`

	// Region The region that this tax rate applies to
	Region *string `json:"region,omitempty"`

	// TaxCategoryId The Tax Category Version ID that this Tax Rate is part of
	TaxCategoryId *string `json:"taxCategoryId,omitempty"`
}

UpdateTaxRateRequest defines model for UpdateTaxRateRequest.

type UpdateTaxRegistrationEndpointProductUpdateTaxRegistrationResponseModel

type UpdateTaxRegistrationEndpointProductUpdateTaxRegistrationResponseModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// Id Tax registration ID
	Id string `json:"id"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`

	// SequenceAccountId Sequence account ID
	SequenceAccountId string  `json:"sequenceAccountId"`
	State             *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

UpdateTaxRegistrationEndpointProductUpdateTaxRegistrationResponseModel defines model for UpdateTaxRegistrationEndpointProductUpdateTaxRegistrationResponseModel.

type UpdateTaxRegistrationEndpointUpdateTaxRegistrationRequestModel

type UpdateTaxRegistrationEndpointUpdateTaxRegistrationRequestModel struct {
	Country CountryCode `json:"country"`

	// CustomerId The customer that this tax registration belongs to
	CustomerId *string `json:"customerId,omitempty"`

	// MerchantId The merchant that this tax registration belongs to
	MerchantId *string `json:"merchantId,omitempty"`
	State      *State1 `json:"state,omitempty"`

	// TaxIdentifier The unique identifier for this tax registration
	TaxIdentifier string `json:"taxIdentifier"`
}

UpdateTaxRegistrationEndpointUpdateTaxRegistrationRequestModel defines model for UpdateTaxRegistrationEndpointUpdateTaxRegistrationRequestModel.

type UpdateUsageMetricEndpointProductUpdateUsageMetricResponseModel

type UpdateUsageMetricEndpointProductUpdateUsageMetricResponseModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// CreatedAt Created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string `json:"groupingProperty,omitempty"`

	// Id Unique ID
	Id         string     `json:"id"`
	MetricType MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// Parameters Required parameters
	Parameters []CustomMetricParameter `json:"parameters"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters map[string]map[string]interface{} `json:"propertyFilters"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

UpdateUsageMetricEndpointProductUpdateUsageMetricResponseModel defines model for UpdateUsageMetricEndpointProductUpdateUsageMetricResponseModel.

type UpdateUsageMetricEndpointUpdateUsageMetricRequestModel

type UpdateUsageMetricEndpointUpdateUsageMetricRequestModel struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`

	// CaseSensitive caseSensitive
	CaseSensitive *bool `json:"caseSensitive,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string    `json:"groupingProperty,omitempty"`
	MetricType       MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// PropertiesToNegate propertiesToNegate
	PropertiesToNegate *[]string `json:"propertiesToNegate,omitempty"`

	// PropertyFilters propertyFilters
	PropertyFilters *map[string]map[string]interface{} `json:"propertyFilters,omitempty"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

UpdateUsageMetricEndpointUpdateUsageMetricRequestModel defines model for UpdateUsageMetricEndpointUpdateUsageMetricRequestModel.

type UsAchDestination

type UsAchDestination struct {
	AccountName       string `json:"accountName"`
	AccountNumber     string `json:"accountNumber"`
	BankName          string `json:"bankName"`
	BankRoutingNumber string `json:"bankRoutingNumber"`
}

UsAchDestination Merchant's US account details, for receiving payment by ACH

type UsWireDestination

type UsWireDestination struct {
	AccountName   string `json:"accountName"`
	AccountNumber string `json:"accountNumber"`

	// BankAddress Customer's billing address
	BankAddress       Address1 `json:"bankAddress"`
	BankName          string   `json:"bankName"`
	BankRoutingNumber string   `json:"bankRoutingNumber"`
	SwiftCode         string   `json:"swiftCode"`
}

UsWireDestination Merchant's US account details, for receiving payment by wire transfer

type UsageCalculationFrequency

type UsageCalculationFrequency string

UsageCalculationFrequency defines model for UsageCalculationFrequency.

const (
	UsageCalculationFrequencyHALFYEARLY UsageCalculationFrequency = "HALF_YEARLY"
	UsageCalculationFrequencyMONTHLY    UsageCalculationFrequency = "MONTHLY"
	UsageCalculationFrequencyQUARTERLY  UsageCalculationFrequency = "QUARTERLY"
	UsageCalculationFrequencyYEARLY     UsageCalculationFrequency = "YEARLY"
)

Defines values for UsageCalculationFrequency.

type UsageCalculationFrequency1

type UsageCalculationFrequency1 string

UsageCalculationFrequency1 defines model for UsageCalculationFrequency1.

const (
	UsageCalculationFrequency1HALFYEARLY UsageCalculationFrequency1 = "HALF_YEARLY"
	UsageCalculationFrequency1MONTHLY    UsageCalculationFrequency1 = "MONTHLY"
	UsageCalculationFrequency1QUARTERLY  UsageCalculationFrequency1 = "QUARTERLY"
	UsageCalculationFrequency1YEARLY     UsageCalculationFrequency1 = "YEARLY"
)

Defines values for UsageCalculationFrequency1.

type UsageCalculationMode

type UsageCalculationMode string

UsageCalculationMode defines model for UsageCalculationMode.

const (
	BILLINGPERIOD UsageCalculationMode = "BILLING_PERIOD"
	CUMULATIVE    UsageCalculationMode = "CUMULATIVE"
	PERIODIC      UsageCalculationMode = "PERIODIC"
)

Defines values for UsageCalculationMode.

type UsageCalculationPeriod

type UsageCalculationPeriod struct {
	Frequency UsageCalculationFrequency `json:"frequency"`

	// Interval Interval determines the time period over which usage is aggregated. For example, if the frequency is MONTHLY and the interval is 3, the usage is aggregated over 3 months before starting at 0 again.
	Interval int32 `json:"interval"`
}

UsageCalculationPeriod The period over which usage is aggregated. This value is only taken into consideration and required with graduated pricing structures with a usage calculation mode of 'PERIOD'. It will be ignored for all non-graduated prices.

type UsageCalculationPeriod1

type UsageCalculationPeriod1 struct {
	Frequency UsageCalculationFrequency1 `json:"frequency"`

	// Interval Interval determines the time period over which usage is aggregated. For example, if the frequency is MONTHLY and the interval is 3, the usage is aggregated over 3 months before starting at 0 again.
	Interval int32 `json:"interval"`
}

UsageCalculationPeriod1 The period over which usage is aggregated.

type UsageMetric

type UsageMetric struct {
	// AggregationProperty Property within the event to aggregate
	AggregationProperty *string         `json:"aggregationProperty,omitempty"`
	AggregationType     AggregationType `json:"aggregationType"`
	CaseSensitive       *bool           `json:"caseSensitive,omitempty"`

	// CreatedAt Created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// DeletedAt Created at
	DeletedAt *string `json:"deletedAt,omitempty"`

	// Description Description for this metric
	Description *string `json:"description,omitempty"`

	// EventType The `eventType` of the Usage Event to be aggregated
	EventType string `json:"eventType"`

	// GroupingProperty Property within the event to group results by
	GroupingProperty *string `json:"groupingProperty,omitempty"`

	// Id Unique ID
	Id         string     `json:"id"`
	MetricType MetricType `json:"metricType"`

	// Name Human-readable name for this metric, which should be unique
	Name string `json:"name"`

	// Parameters Required parameters
	Parameters         []CustomMetricParameter           `json:"parameters"`
	PropertiesToNegate *[]string                         `json:"propertiesToNegate,omitempty"`
	PropertyFilters    map[string]map[string]interface{} `json:"propertyFilters"`

	// SequenceAccountId Sequence Account ID
	SequenceAccountId string `json:"sequenceAccountId"`

	// Unit Human-readable unit of the aggregated metric, eg. API calls)
	Unit *string `json:"unit,omitempty"`
}

UsageMetric defines model for UsageMetric.

type UsageMetricCalculationResponse

type UsageMetricCalculationResponse struct {
	AggregationType AggregationType `json:"aggregationType"`
	EventCount      int             `json:"eventCount"`
	EventType       string          `json:"eventType"`
	MaxEventId      *string         `json:"maxEventId,omitempty"`
	MetricType      MetricType      `json:"metricType"`
	MinEventId      *string         `json:"minEventId,omitempty"`
	Name            string          `json:"name"`
	Unit            *string         `json:"unit,omitempty"`
	Value           float32         `json:"value"`
}

UsageMetricCalculationResponse defines model for UsageMetricCalculationResponse.

type VolumeListPriceRequest

type VolumeListPriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []GenerateIntegrationIdRequest1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure VolumePricingStructure `json:"structure"`
}

VolumeListPriceRequest defines model for VolumeListPriceRequest.

type VolumeListPriceResponse

type VolumeListPriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Creation timestamp. Formatted as an ISO 8601 timestamp.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this price, and are only required when using a custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique ID
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this price in third-party integration systems
	IntegrationIds []IntegrationId1 `json:"integrationIds"`

	// Name The customer-facing name of this list price
	Name string `json:"name"`

	// ProductId The related product ID
	ProductId string `json:"productId"`

	// Structure The pricing structure
	Structure VolumePricingStructure `json:"structure"`

	// UpdatedAt Timestamp when price was last updated. Formatted as an ISO 8601 timestamp.
	UpdatedAt string `json:"updatedAt"`
}

VolumeListPriceResponse defines model for VolumeListPriceResponse.

type VolumePriceRequest

type VolumePriceRequest struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`
	Currency         Currency         `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters *[]PriceParameter `json:"customMetricParameters,omitempty"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds *[]GenerateIntegrationIdRequest2 `json:"integrationIds,omitempty"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure VolumePricingStructure1 `json:"structure"`
}

VolumePriceRequest defines model for VolumePriceRequest.

type VolumePriceResponse

type VolumePriceResponse struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	BillingType      BillingType      `json:"billingType"`

	// CreatedAt Time at which the Price was initially created, in ISO 8601 format.
	CreatedAt string   `json:"createdAt"`
	Currency  Currency `json:"currency"`

	// CustomMetricParameters Specific parameters to influence usage calculation for this Price, and are only required when using custom metric. Please speak to your Sequence contacts for further information prior to usage.
	CustomMetricParameters []PriceParameter `json:"customMetricParameters"`

	// Id Unique Price ID, generated by Sequence on creation.
	Id string `json:"id"`

	// IntegrationIds Alternate IDs for this Price in third-party integration systems
	IntegrationIds []IntegrationId2 `json:"integrationIds"`

	// ListPriceId The list price ID, if this price variant was created from a list price
	ListPriceId *string `json:"listPriceId,omitempty"`

	// Name A short form description of the price, which appears as the title of line items on invoices.
	Name string `json:"name"`

	// ProductId The ID of the Product that this Price is associated with.
	ProductId string `json:"productId"`

	// Structure The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.
	Structure VolumePricingStructure1 `json:"structure"`

	// UpdatedAt Time at which the Price was last updated, in ISO 8601 format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

VolumePriceResponse defines model for VolumePriceResponse.

type VolumePricingStructure

type VolumePricingStructure struct {
	PricingType VolumePricingType `json:"pricingType"`

	// Tiers A list of contiguous pricing tiers
	Tiers []VolumeUsageTier `json:"tiers"`

	// UsageMetricId The usage metric associated to this tier
	UsageMetricId string `json:"usageMetricId"`
}

VolumePricingStructure The pricing structure

type VolumePricingStructure1

type VolumePricingStructure1 struct {
	PricingType VolumePricingType `json:"pricingType"`

	// Tiers A list of contiguous pricing tiers
	Tiers []VolumeUsageTier `json:"tiers"`

	// UsageMetricId The usage metric associated to this tier
	UsageMetricId string `json:"usageMetricId"`
}

VolumePricingStructure1 The pricing structure for this price. This can be a simple fixed price, or a more complex structure that varies based on usage.

type VolumePricingType

type VolumePricingType string

VolumePricingType defines model for VolumePricingType.

const (
	VOLUME VolumePricingType = "VOLUME"
)

Defines values for VolumePricingType.

type VolumeUsageTier

type VolumeUsageTier struct {
	// Fee The nominal fee associated with usage at this tier
	Fee *string `json:"fee,omitempty"`

	// IsPricePercentage Indicate whether the price attribute is to be considered as a percentage or an absolute value.
	IsPricePercentage bool `json:"isPricePercentage"`

	// MaxPrice Maximum Price to Charge for each Unit if Price is Percentage Based
	MaxPrice *string `json:"maxPrice,omitempty"`

	// MinPrice Minimum Price to Charge for each Unit if Price is Percentage Based
	MinPrice *string `json:"minPrice,omitempty"`

	// Price The rate to apply to usage for this product in this tier. In the case of percentage pricing where `isPricePercentage` is set to `true`, a value of 1 represents 100%.
	Price string `json:"price"`

	// UpperBound The upper bound of usage for this tier. Set to null to if this is a final tier and is unbounded. The lower bound is set by the previous tier or 0 if it's the first one.
	UpperBound *string `json:"upperBound,omitempty"`
}

VolumeUsageTier defines model for VolumeUsageTier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL