Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccountingAppSettings
- func (o *AccountingAppSettings) GetAppId() int32
- func (o *AccountingAppSettings) GetAppIdOk() (*int32, bool)
- func (o *AccountingAppSettings) GetFeatures() AccountingFeatures
- func (o *AccountingAppSettings) GetFeaturesOk() (*AccountingFeatures, bool)
- func (o *AccountingAppSettings) GetUrls() AccountingAppUrls
- func (o *AccountingAppSettings) GetUrlsOk() (*AccountingAppUrls, bool)
- func (o *AccountingAppSettings) HasFeatures() bool
- func (o AccountingAppSettings) MarshalJSON() ([]byte, error)
- func (o *AccountingAppSettings) SetAppId(v int32)
- func (o *AccountingAppSettings) SetFeatures(v AccountingFeatures)
- func (o *AccountingAppSettings) SetUrls(v AccountingAppUrls)
- type AccountingAppUrls
- func (o *AccountingAppUrls) GetCreateCustomerUrl() string
- func (o *AccountingAppUrls) GetCreateCustomerUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetCreateInvoiceUrl() string
- func (o *AccountingAppUrls) GetCreateInvoiceUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetCustomerUrlTemplate() string
- func (o *AccountingAppUrls) GetCustomerUrlTemplateOk() (*string, bool)
- func (o *AccountingAppUrls) GetExchangeRateUrl() string
- func (o *AccountingAppUrls) GetExchangeRateUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetGetInvoicePdfUrl() string
- func (o *AccountingAppUrls) GetGetInvoicePdfUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetGetInvoiceUrl() string
- func (o *AccountingAppUrls) GetGetInvoiceUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetGetTermsUrl() string
- func (o *AccountingAppUrls) GetGetTermsUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetInvoiceUrlTemplate() string
- func (o *AccountingAppUrls) GetInvoiceUrlTemplateOk() (*string, bool)
- func (o *AccountingAppUrls) GetProductUrlTemplate() string
- func (o *AccountingAppUrls) GetProductUrlTemplateOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchCountUrl() string
- func (o *AccountingAppUrls) GetSearchCountUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchCustomerUrl() string
- func (o *AccountingAppUrls) GetSearchCustomerUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchInvoiceUrl() string
- func (o *AccountingAppUrls) GetSearchInvoiceUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchProductUrl() string
- func (o *AccountingAppUrls) GetSearchProductUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchTaxUrl() string
- func (o *AccountingAppUrls) GetSearchTaxUrlOk() (*string, bool)
- func (o *AccountingAppUrls) GetSearchUrl() string
- func (o *AccountingAppUrls) GetSearchUrlOk() (*string, bool)
- func (o *AccountingAppUrls) HasCreateCustomerUrl() bool
- func (o *AccountingAppUrls) HasCreateInvoiceUrl() bool
- func (o *AccountingAppUrls) HasExchangeRateUrl() bool
- func (o *AccountingAppUrls) HasGetTermsUrl() bool
- func (o *AccountingAppUrls) HasSearchCountUrl() bool
- func (o *AccountingAppUrls) HasSearchInvoiceUrl() bool
- func (o *AccountingAppUrls) HasSearchProductUrl() bool
- func (o *AccountingAppUrls) HasSearchTaxUrl() bool
- func (o *AccountingAppUrls) HasSearchUrl() bool
- func (o AccountingAppUrls) MarshalJSON() ([]byte, error)
- func (o *AccountingAppUrls) SetCreateCustomerUrl(v string)
- func (o *AccountingAppUrls) SetCreateInvoiceUrl(v string)
- func (o *AccountingAppUrls) SetCustomerUrlTemplate(v string)
- func (o *AccountingAppUrls) SetExchangeRateUrl(v string)
- func (o *AccountingAppUrls) SetGetInvoicePdfUrl(v string)
- func (o *AccountingAppUrls) SetGetInvoiceUrl(v string)
- func (o *AccountingAppUrls) SetGetTermsUrl(v string)
- func (o *AccountingAppUrls) SetInvoiceUrlTemplate(v string)
- func (o *AccountingAppUrls) SetProductUrlTemplate(v string)
- func (o *AccountingAppUrls) SetSearchCountUrl(v string)
- func (o *AccountingAppUrls) SetSearchCustomerUrl(v string)
- func (o *AccountingAppUrls) SetSearchInvoiceUrl(v string)
- func (o *AccountingAppUrls) SetSearchProductUrl(v string)
- func (o *AccountingAppUrls) SetSearchTaxUrl(v string)
- func (o *AccountingAppUrls) SetSearchUrl(v string)
- type AccountingExtensionCustomer
- func (o *AccountingExtensionCustomer) GetBillingAddress() Address
- func (o *AccountingExtensionCustomer) GetBillingAddressOk() (*Address, bool)
- func (o *AccountingExtensionCustomer) GetCurrencyCode() string
- func (o *AccountingExtensionCustomer) GetCurrencyCodeOk() (*string, bool)
- func (o *AccountingExtensionCustomer) GetEmailAddress() string
- func (o *AccountingExtensionCustomer) GetEmailAddressOk() (*string, bool)
- func (o *AccountingExtensionCustomer) GetId() string
- func (o *AccountingExtensionCustomer) GetIdOk() (*string, bool)
- func (o *AccountingExtensionCustomer) GetName() string
- func (o *AccountingExtensionCustomer) GetNameOk() (*string, bool)
- func (o *AccountingExtensionCustomer) HasBillingAddress() bool
- func (o *AccountingExtensionCustomer) HasCurrencyCode() bool
- func (o *AccountingExtensionCustomer) HasEmailAddress() bool
- func (o AccountingExtensionCustomer) MarshalJSON() ([]byte, error)
- func (o *AccountingExtensionCustomer) SetBillingAddress(v Address)
- func (o *AccountingExtensionCustomer) SetCurrencyCode(v string)
- func (o *AccountingExtensionCustomer) SetEmailAddress(v string)
- func (o *AccountingExtensionCustomer) SetId(v string)
- func (o *AccountingExtensionCustomer) SetName(v string)
- type AccountingExtensionInvoice
- func (o *AccountingExtensionInvoice) GetAmountDue() float32
- func (o *AccountingExtensionInvoice) GetAmountDueOk() (*float32, bool)
- func (o *AccountingExtensionInvoice) GetBalance() float32
- func (o *AccountingExtensionInvoice) GetBalanceOk() (*float32, bool)
- func (o *AccountingExtensionInvoice) GetCurrency() string
- func (o *AccountingExtensionInvoice) GetCurrencyOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetCustomerId() string
- func (o *AccountingExtensionInvoice) GetCustomerIdOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetCustomerName() string
- func (o *AccountingExtensionInvoice) GetCustomerNameOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetDueDate() string
- func (o *AccountingExtensionInvoice) GetDueDateOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetInvoiceLink() string
- func (o *AccountingExtensionInvoice) GetInvoiceLinkOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetInvoiceNumber() string
- func (o *AccountingExtensionInvoice) GetInvoiceNumberOk() (*string, bool)
- func (o *AccountingExtensionInvoice) GetStatus() string
- func (o *AccountingExtensionInvoice) GetStatusOk() (*string, bool)
- func (o *AccountingExtensionInvoice) HasBalance() bool
- func (o *AccountingExtensionInvoice) HasCustomerId() bool
- func (o *AccountingExtensionInvoice) HasInvoiceNumber() bool
- func (o AccountingExtensionInvoice) MarshalJSON() ([]byte, error)
- func (o *AccountingExtensionInvoice) SetAmountDue(v float32)
- func (o *AccountingExtensionInvoice) SetBalance(v float32)
- func (o *AccountingExtensionInvoice) SetCurrency(v string)
- func (o *AccountingExtensionInvoice) SetCustomerId(v string)
- func (o *AccountingExtensionInvoice) SetCustomerName(v string)
- func (o *AccountingExtensionInvoice) SetDueDate(v string)
- func (o *AccountingExtensionInvoice) SetInvoiceLink(v string)
- func (o *AccountingExtensionInvoice) SetInvoiceNumber(v string)
- func (o *AccountingExtensionInvoice) SetStatus(v string)
- type AccountingExtensionTerm
- func (o *AccountingExtensionTerm) GetDueDate() string
- func (o *AccountingExtensionTerm) GetDueDateOk() (*string, bool)
- func (o *AccountingExtensionTerm) GetDueDays() int32
- func (o *AccountingExtensionTerm) GetDueDaysOk() (*int32, bool)
- func (o *AccountingExtensionTerm) GetId() string
- func (o *AccountingExtensionTerm) GetIdOk() (*string, bool)
- func (o *AccountingExtensionTerm) GetName() string
- func (o *AccountingExtensionTerm) GetNameOk() (*string, bool)
- func (o *AccountingExtensionTerm) HasDueDate() bool
- func (o *AccountingExtensionTerm) HasDueDays() bool
- func (o AccountingExtensionTerm) MarshalJSON() ([]byte, error)
- func (o *AccountingExtensionTerm) SetDueDate(v string)
- func (o *AccountingExtensionTerm) SetDueDays(v int32)
- func (o *AccountingExtensionTerm) SetId(v string)
- func (o *AccountingExtensionTerm) SetName(v string)
- type AccountingFeatures
- func (o *AccountingFeatures) GetCreateInvoice() CreateInvoiceFeature
- func (o *AccountingFeatures) GetCreateInvoiceOk() (*CreateInvoiceFeature, bool)
- func (o *AccountingFeatures) GetImportInvoice() ImportInvoiceFeature
- func (o *AccountingFeatures) GetImportInvoiceOk() (*ImportInvoiceFeature, bool)
- func (o *AccountingFeatures) GetSync() map[string]ObjectSyncFeature
- func (o *AccountingFeatures) GetSyncOk() (*map[string]ObjectSyncFeature, bool)
- func (o AccountingFeatures) MarshalJSON() ([]byte, error)
- func (o *AccountingFeatures) SetCreateInvoice(v CreateInvoiceFeature)
- func (o *AccountingFeatures) SetImportInvoice(v ImportInvoiceFeature)
- func (o *AccountingFeatures) SetSync(v map[string]ObjectSyncFeature)
- type ActionResponse
- func (o *ActionResponse) GetCompletedAt() time.Time
- func (o *ActionResponse) GetCompletedAtOk() (*time.Time, bool)
- func (o *ActionResponse) GetLinks() map[string]string
- func (o *ActionResponse) GetLinksOk() (*map[string]string, bool)
- func (o *ActionResponse) GetRequestedAt() time.Time
- func (o *ActionResponse) GetRequestedAtOk() (*time.Time, bool)
- func (o *ActionResponse) GetStartedAt() time.Time
- func (o *ActionResponse) GetStartedAtOk() (*time.Time, bool)
- func (o *ActionResponse) GetStatus() string
- func (o *ActionResponse) GetStatusOk() (*string, bool)
- func (o *ActionResponse) HasLinks() bool
- func (o *ActionResponse) HasRequestedAt() bool
- func (o ActionResponse) MarshalJSON() ([]byte, error)
- func (o *ActionResponse) SetCompletedAt(v time.Time)
- func (o *ActionResponse) SetLinks(v map[string]string)
- func (o *ActionResponse) SetRequestedAt(v time.Time)
- func (o *ActionResponse) SetStartedAt(v time.Time)
- func (o *ActionResponse) SetStatus(v string)
- type Address
- func (o *Address) GetCity() string
- func (o *Address) GetCityOk() (*string, bool)
- func (o *Address) GetCountry() string
- func (o *Address) GetCountryOk() (*string, bool)
- func (o *Address) GetCountrySubDivisionCode() string
- func (o *Address) GetCountrySubDivisionCodeOk() (*string, bool)
- func (o *Address) GetLineOne() string
- func (o *Address) GetLineOneOk() (*string, bool)
- func (o *Address) GetPostalCode() string
- func (o *Address) GetPostalCodeOk() (*string, bool)
- func (o *Address) HasCity() bool
- func (o *Address) HasCountry() bool
- func (o *Address) HasCountrySubDivisionCode() bool
- func (o *Address) HasLineOne() bool
- func (o *Address) HasPostalCode() bool
- func (o Address) MarshalJSON() ([]byte, error)
- func (o *Address) SetCity(v string)
- func (o *Address) SetCountry(v string)
- func (o *Address) SetCountrySubDivisionCode(v string)
- func (o *Address) SetLineOne(v string)
- func (o *Address) SetPostalCode(v string)
- type ApiCallbackCreateCustomerRequest
- type ApiCallbackCreateExchangeRateRequest
- type ApiCallbackCreateInvoiceRequest
- type ApiCallbackCreateTermRequest
- type ApiCallbackDoInvoiceSearchRequest
- type ApiCallbackDoProductSearchRequest
- type ApiCallbackDoSearchCustomerRequest
- type ApiCallbackDoTaxSearchRequest
- type ApiCallbackGetByIDRequest
- type ApiCallbackInvoicePDFRequest
- type ApiInvoiceCreatePaymentRequest
- func (r ApiInvoiceCreatePaymentRequest) AccountId(accountId string) ApiInvoiceCreatePaymentRequest
- func (r ApiInvoiceCreatePaymentRequest) Execute() (*InvoiceUpdateResponse, *http.Response, error)
- func (r ApiInvoiceCreatePaymentRequest) InvoiceCreatePaymentRequest(invoiceCreatePaymentRequest InvoiceCreatePaymentRequest) ApiInvoiceCreatePaymentRequest
- type ApiInvoiceGetByIDRequest
- type ApiInvoiceUpdateRequest
- type ApiSettingsGetByIDRequest
- type ApiSettingsReplaceRequest
- type ApiSyncCreateContactRequest
- type ApiSyncCreateProductRequest
- type ApiUserAccountsArchiveRequest
- type ApiUserAccountsReplaceRequest
- type BasicAuth
- type CallbacksApiService
- func (a *CallbacksApiService) CallbackCreateCustomer(ctx context.Context, requestId string) ApiCallbackCreateCustomerRequest
- func (a *CallbacksApiService) CallbackCreateCustomerExecute(r ApiCallbackCreateCustomerRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackCreateExchangeRate(ctx context.Context, requestId string) ApiCallbackCreateExchangeRateRequest
- func (a *CallbacksApiService) CallbackCreateExchangeRateExecute(r ApiCallbackCreateExchangeRateRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackCreateInvoice(ctx context.Context, requestId string) ApiCallbackCreateInvoiceRequest
- func (a *CallbacksApiService) CallbackCreateInvoiceExecute(r ApiCallbackCreateInvoiceRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackCreateTerm(ctx context.Context, requestId string) ApiCallbackCreateTermRequest
- func (a *CallbacksApiService) CallbackCreateTermExecute(r ApiCallbackCreateTermRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackDoInvoiceSearch(ctx context.Context, requestId string) ApiCallbackDoInvoiceSearchRequest
- func (a *CallbacksApiService) CallbackDoInvoiceSearchExecute(r ApiCallbackDoInvoiceSearchRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackDoProductSearch(ctx context.Context, requestId string) ApiCallbackDoProductSearchRequest
- func (a *CallbacksApiService) CallbackDoProductSearchExecute(r ApiCallbackDoProductSearchRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackDoSearchCustomer(ctx context.Context, requestId string) ApiCallbackDoSearchCustomerRequest
- func (a *CallbacksApiService) CallbackDoSearchCustomerExecute(r ApiCallbackDoSearchCustomerRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackDoTaxSearch(ctx context.Context, requestId string) ApiCallbackDoTaxSearchRequest
- func (a *CallbacksApiService) CallbackDoTaxSearchExecute(r ApiCallbackDoTaxSearchRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackGetByID(ctx context.Context, requestId string) ApiCallbackGetByIDRequest
- func (a *CallbacksApiService) CallbackGetByIDExecute(r ApiCallbackGetByIDRequest) (*http.Response, error)
- func (a *CallbacksApiService) CallbackInvoicePDF(ctx context.Context, requestId string) ApiCallbackInvoicePDFRequest
- func (a *CallbacksApiService) CallbackInvoicePDFExecute(r ApiCallbackInvoicePDFRequest) (*http.Response, error)
- type Configuration
- type CreateInvoiceFeature
- func (o *CreateInvoiceFeature) GetEnabled() bool
- func (o *CreateInvoiceFeature) GetEnabledOk() (*bool, bool)
- func (o *CreateInvoiceFeature) GetSubFeatures() CreateInvoiceSubFeatures
- func (o *CreateInvoiceFeature) GetSubFeaturesOk() (*CreateInvoiceSubFeatures, bool)
- func (o CreateInvoiceFeature) MarshalJSON() ([]byte, error)
- func (o *CreateInvoiceFeature) SetEnabled(v bool)
- func (o *CreateInvoiceFeature) SetSubFeatures(v CreateInvoiceSubFeatures)
- type CreateInvoiceSubFeatures
- func (o *CreateInvoiceSubFeatures) GetCreateCustomer() bool
- func (o *CreateInvoiceSubFeatures) GetCreateCustomerOk() (*bool, bool)
- func (o *CreateInvoiceSubFeatures) GetExchangeRates() bool
- func (o *CreateInvoiceSubFeatures) GetExchangeRatesOk() (*bool, bool)
- func (o *CreateInvoiceSubFeatures) GetInvoiceComments() bool
- func (o *CreateInvoiceSubFeatures) GetInvoiceCommentsOk() (*bool, bool)
- func (o *CreateInvoiceSubFeatures) GetInvoiceDiscounts() bool
- func (o *CreateInvoiceSubFeatures) GetInvoiceDiscountsOk() (*bool, bool)
- func (o *CreateInvoiceSubFeatures) GetTaxes() bool
- func (o *CreateInvoiceSubFeatures) GetTaxesOk() (*bool, bool)
- func (o *CreateInvoiceSubFeatures) GetTerms() bool
- func (o *CreateInvoiceSubFeatures) GetTermsOk() (*bool, bool)
- func (o CreateInvoiceSubFeatures) MarshalJSON() ([]byte, error)
- func (o *CreateInvoiceSubFeatures) SetCreateCustomer(v bool)
- func (o *CreateInvoiceSubFeatures) SetExchangeRates(v bool)
- func (o *CreateInvoiceSubFeatures) SetInvoiceComments(v bool)
- func (o *CreateInvoiceSubFeatures) SetInvoiceDiscounts(v bool)
- func (o *CreateInvoiceSubFeatures) SetTaxes(v bool)
- func (o *CreateInvoiceSubFeatures) SetTerms(v bool)
- type CreateUserAccountRequestExternal
- func (o *CreateUserAccountRequestExternal) GetAccountId() string
- func (o *CreateUserAccountRequestExternal) GetAccountIdOk() (*string, bool)
- func (o *CreateUserAccountRequestExternal) GetAccountName() string
- func (o *CreateUserAccountRequestExternal) GetAccountNameOk() (*string, bool)
- func (o *CreateUserAccountRequestExternal) GetCurrencyCode() string
- func (o *CreateUserAccountRequestExternal) GetCurrencyCodeOk() (*string, bool)
- func (o CreateUserAccountRequestExternal) MarshalJSON() ([]byte, error)
- func (o *CreateUserAccountRequestExternal) SetAccountId(v string)
- func (o *CreateUserAccountRequestExternal) SetAccountName(v string)
- func (o *CreateUserAccountRequestExternal) SetCurrencyCode(v string)
- type CustomerSearchResponseExternal
- func (o *CustomerSearchResponseExternal) GetCustomers() []AccountingExtensionCustomer
- func (o *CustomerSearchResponseExternal) GetCustomersOk() ([]AccountingExtensionCustomer, bool)
- func (o *CustomerSearchResponseExternal) GetResult() string
- func (o *CustomerSearchResponseExternal) GetResultOk() (*string, bool)
- func (o CustomerSearchResponseExternal) MarshalJSON() ([]byte, error)
- func (o *CustomerSearchResponseExternal) SetCustomers(v []AccountingExtensionCustomer)
- func (o *CustomerSearchResponseExternal) SetResult(v string)
- type Error
- func (o *Error) GetCategory() string
- func (o *Error) GetCategoryOk() (*string, bool)
- func (o *Error) GetContext() map[string][]string
- func (o *Error) GetContextOk() (*map[string][]string, bool)
- func (o *Error) GetCorrelationId() string
- func (o *Error) GetCorrelationIdOk() (*string, bool)
- func (o *Error) GetErrors() []ErrorDetail
- func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)
- func (o *Error) GetLinks() map[string]string
- func (o *Error) GetLinksOk() (*map[string]string, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetSubCategory() string
- func (o *Error) GetSubCategoryOk() (*string, bool)
- func (o *Error) HasContext() bool
- func (o *Error) HasErrors() bool
- func (o *Error) HasLinks() bool
- func (o *Error) HasSubCategory() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCategory(v string)
- func (o *Error) SetContext(v map[string][]string)
- func (o *Error) SetCorrelationId(v string)
- func (o *Error) SetErrors(v []ErrorDetail)
- func (o *Error) SetLinks(v map[string]string)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetSubCategory(v string)
- type ErrorDetail
- func (o *ErrorDetail) GetCode() string
- func (o *ErrorDetail) GetCodeOk() (*string, bool)
- func (o *ErrorDetail) GetContext() map[string][]string
- func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)
- func (o *ErrorDetail) GetIn() string
- func (o *ErrorDetail) GetInOk() (*string, bool)
- func (o *ErrorDetail) GetMessage() string
- func (o *ErrorDetail) GetMessageOk() (*string, bool)
- func (o *ErrorDetail) GetSubCategory() string
- func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)
- func (o *ErrorDetail) HasCode() bool
- func (o *ErrorDetail) HasContext() bool
- func (o *ErrorDetail) HasIn() bool
- func (o *ErrorDetail) HasSubCategory() bool
- func (o ErrorDetail) MarshalJSON() ([]byte, error)
- func (o *ErrorDetail) SetCode(v string)
- func (o *ErrorDetail) SetContext(v map[string][]string)
- func (o *ErrorDetail) SetIn(v string)
- func (o *ErrorDetail) SetMessage(v string)
- func (o *ErrorDetail) SetSubCategory(v string)
- type ExchangeRateResponse
- func (o *ExchangeRateResponse) GetExchangeRate() float32
- func (o *ExchangeRateResponse) GetExchangeRateOk() (*float32, bool)
- func (o *ExchangeRateResponse) GetResult() string
- func (o *ExchangeRateResponse) GetResultOk() (*string, bool)
- func (o *ExchangeRateResponse) GetSourceCurrencyCode() string
- func (o *ExchangeRateResponse) GetSourceCurrencyCodeOk() (*string, bool)
- func (o *ExchangeRateResponse) GetTargetCurrencyCode() string
- func (o *ExchangeRateResponse) GetTargetCurrencyCodeOk() (*string, bool)
- func (o ExchangeRateResponse) MarshalJSON() ([]byte, error)
- func (o *ExchangeRateResponse) SetExchangeRate(v float32)
- func (o *ExchangeRateResponse) SetResult(v string)
- func (o *ExchangeRateResponse) SetSourceCurrencyCode(v string)
- func (o *ExchangeRateResponse) SetTargetCurrencyCode(v string)
- type GenericOpenAPIError
- type ImportInvoiceFeature
- type InvoiceApiService
- func (a *InvoiceApiService) InvoiceCreatePayment(ctx context.Context, invoiceId string) ApiInvoiceCreatePaymentRequest
- func (a *InvoiceApiService) InvoiceCreatePaymentExecute(r ApiInvoiceCreatePaymentRequest) (*InvoiceUpdateResponse, *http.Response, error)
- func (a *InvoiceApiService) InvoiceGetByID(ctx context.Context, invoiceId string) ApiInvoiceGetByIDRequest
- func (a *InvoiceApiService) InvoiceGetByIDExecute(r ApiInvoiceGetByIDRequest) (*InvoiceReadResponse, *http.Response, error)
- func (a *InvoiceApiService) InvoiceUpdate(ctx context.Context, invoiceId string) ApiInvoiceUpdateRequest
- func (a *InvoiceApiService) InvoiceUpdateExecute(r ApiInvoiceUpdateRequest) (*InvoiceUpdateResponse, *http.Response, error)
- type InvoiceCreatePaymentRequest
- func (o *InvoiceCreatePaymentRequest) GetAmountPaid() float32
- func (o *InvoiceCreatePaymentRequest) GetAmountPaidOk() (*float32, bool)
- func (o *InvoiceCreatePaymentRequest) GetCurrencyCode() string
- func (o *InvoiceCreatePaymentRequest) GetCurrencyCodeOk() (*string, bool)
- func (o *InvoiceCreatePaymentRequest) GetExternalPaymentId() string
- func (o *InvoiceCreatePaymentRequest) GetExternalPaymentIdOk() (*string, bool)
- func (o *InvoiceCreatePaymentRequest) GetPaymentDateTime() time.Time
- func (o *InvoiceCreatePaymentRequest) GetPaymentDateTimeOk() (*time.Time, bool)
- func (o InvoiceCreatePaymentRequest) MarshalJSON() ([]byte, error)
- func (o *InvoiceCreatePaymentRequest) SetAmountPaid(v float32)
- func (o *InvoiceCreatePaymentRequest) SetCurrencyCode(v string)
- func (o *InvoiceCreatePaymentRequest) SetExternalPaymentId(v string)
- func (o *InvoiceCreatePaymentRequest) SetPaymentDateTime(v time.Time)
- type InvoicePdfResponse
- func (o *InvoicePdfResponse) GetInvoice() string
- func (o *InvoicePdfResponse) GetInvoiceOk() (*string, bool)
- func (o *InvoicePdfResponse) GetResult() string
- func (o *InvoicePdfResponse) GetResultOk() (*string, bool)
- func (o *InvoicePdfResponse) HasResult() bool
- func (o InvoicePdfResponse) MarshalJSON() ([]byte, error)
- func (o *InvoicePdfResponse) SetInvoice(v string)
- func (o *InvoicePdfResponse) SetResult(v string)
- type InvoiceReadResponse
- func (o *InvoiceReadResponse) GetArchived() bool
- func (o *InvoiceReadResponse) GetArchivedAt() time.Time
- func (o *InvoiceReadResponse) GetArchivedAtOk() (*time.Time, bool)
- func (o *InvoiceReadResponse) GetArchivedOk() (*bool, bool)
- func (o *InvoiceReadResponse) GetBalanceDue() float32
- func (o *InvoiceReadResponse) GetBalanceDueOk() (*float32, bool)
- func (o *InvoiceReadResponse) GetCreatedAt() time.Time
- func (o *InvoiceReadResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *InvoiceReadResponse) GetCurrencyCode() string
- func (o *InvoiceReadResponse) GetCurrencyCodeOk() (*string, bool)
- func (o *InvoiceReadResponse) GetDueDate() string
- func (o *InvoiceReadResponse) GetDueDateOk() (*string, bool)
- func (o *InvoiceReadResponse) GetExternalAccountId() string
- func (o *InvoiceReadResponse) GetExternalAccountIdOk() (*string, bool)
- func (o *InvoiceReadResponse) GetExternalCreateDateTime() int64
- func (o *InvoiceReadResponse) GetExternalCreateDateTimeOk() (*int64, bool)
- func (o *InvoiceReadResponse) GetExternalInvoiceNumber() string
- func (o *InvoiceReadResponse) GetExternalInvoiceNumberOk() (*string, bool)
- func (o *InvoiceReadResponse) GetExternalRecipientId() string
- func (o *InvoiceReadResponse) GetExternalRecipientIdOk() (*string, bool)
- func (o *InvoiceReadResponse) GetId() string
- func (o *InvoiceReadResponse) GetIdOk() (*string, bool)
- func (o *InvoiceReadResponse) GetInvoiceStatus() string
- func (o *InvoiceReadResponse) GetInvoiceStatusOk() (*string, bool)
- func (o *InvoiceReadResponse) GetIsVoided() bool
- func (o *InvoiceReadResponse) GetIsVoidedOk() (*bool, bool)
- func (o *InvoiceReadResponse) GetReceivedByRecipientDate() int64
- func (o *InvoiceReadResponse) GetReceivedByRecipientDateOk() (*int64, bool)
- func (o *InvoiceReadResponse) GetTotalAmountBilled() float32
- func (o *InvoiceReadResponse) GetTotalAmountBilledOk() (*float32, bool)
- func (o *InvoiceReadResponse) GetUpdatedAt() time.Time
- func (o *InvoiceReadResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *InvoiceReadResponse) HasArchivedAt() bool
- func (o *InvoiceReadResponse) HasExternalCreateDateTime() bool
- func (o *InvoiceReadResponse) HasExternalInvoiceNumber() bool
- func (o *InvoiceReadResponse) HasReceivedByRecipientDate() bool
- func (o InvoiceReadResponse) MarshalJSON() ([]byte, error)
- func (o *InvoiceReadResponse) SetArchived(v bool)
- func (o *InvoiceReadResponse) SetArchivedAt(v time.Time)
- func (o *InvoiceReadResponse) SetBalanceDue(v float32)
- func (o *InvoiceReadResponse) SetCreatedAt(v time.Time)
- func (o *InvoiceReadResponse) SetCurrencyCode(v string)
- func (o *InvoiceReadResponse) SetDueDate(v string)
- func (o *InvoiceReadResponse) SetExternalAccountId(v string)
- func (o *InvoiceReadResponse) SetExternalCreateDateTime(v int64)
- func (o *InvoiceReadResponse) SetExternalInvoiceNumber(v string)
- func (o *InvoiceReadResponse) SetExternalRecipientId(v string)
- func (o *InvoiceReadResponse) SetId(v string)
- func (o *InvoiceReadResponse) SetInvoiceStatus(v string)
- func (o *InvoiceReadResponse) SetIsVoided(v bool)
- func (o *InvoiceReadResponse) SetReceivedByRecipientDate(v int64)
- func (o *InvoiceReadResponse) SetTotalAmountBilled(v float32)
- func (o *InvoiceReadResponse) SetUpdatedAt(v time.Time)
- type InvoiceSearchResponse
- func (o *InvoiceSearchResponse) GetInvoices() []AccountingExtensionInvoice
- func (o *InvoiceSearchResponse) GetInvoicesOk() ([]AccountingExtensionInvoice, bool)
- func (o *InvoiceSearchResponse) GetResult() string
- func (o *InvoiceSearchResponse) GetResultOk() (*string, bool)
- func (o *InvoiceSearchResponse) HasResult() bool
- func (o InvoiceSearchResponse) MarshalJSON() ([]byte, error)
- func (o *InvoiceSearchResponse) SetInvoices(v []AccountingExtensionInvoice)
- func (o *InvoiceSearchResponse) SetResult(v string)
- type InvoiceUpdateRequest
- func (o *InvoiceUpdateRequest) GetCurrencyCode() string
- func (o *InvoiceUpdateRequest) GetCurrencyCodeOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetDueDate() string
- func (o *InvoiceUpdateRequest) GetDueDateOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetExternalInvoiceNumber() string
- func (o *InvoiceUpdateRequest) GetExternalInvoiceNumberOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetExternalRecipientId() string
- func (o *InvoiceUpdateRequest) GetExternalRecipientIdOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetInvoiceNumber() string
- func (o *InvoiceUpdateRequest) GetInvoiceNumberOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetIsVoided() bool
- func (o *InvoiceUpdateRequest) GetIsVoidedOk() (*bool, bool)
- func (o *InvoiceUpdateRequest) GetReceivedByCustomerDate() string
- func (o *InvoiceUpdateRequest) GetReceivedByCustomerDateOk() (*string, bool)
- func (o *InvoiceUpdateRequest) GetReceivedByRecipientDate() int64
- func (o *InvoiceUpdateRequest) GetReceivedByRecipientDateOk() (*int64, bool)
- func (o *InvoiceUpdateRequest) HasCurrencyCode() bool
- func (o *InvoiceUpdateRequest) HasDueDate() bool
- func (o *InvoiceUpdateRequest) HasExternalInvoiceNumber() bool
- func (o *InvoiceUpdateRequest) HasExternalRecipientId() bool
- func (o *InvoiceUpdateRequest) HasInvoiceNumber() bool
- func (o *InvoiceUpdateRequest) HasIsVoided() bool
- func (o *InvoiceUpdateRequest) HasReceivedByCustomerDate() bool
- func (o *InvoiceUpdateRequest) HasReceivedByRecipientDate() bool
- func (o InvoiceUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *InvoiceUpdateRequest) SetCurrencyCode(v string)
- func (o *InvoiceUpdateRequest) SetDueDate(v string)
- func (o *InvoiceUpdateRequest) SetExternalInvoiceNumber(v string)
- func (o *InvoiceUpdateRequest) SetExternalRecipientId(v string)
- func (o *InvoiceUpdateRequest) SetInvoiceNumber(v string)
- func (o *InvoiceUpdateRequest) SetIsVoided(v bool)
- func (o *InvoiceUpdateRequest) SetReceivedByCustomerDate(v string)
- func (o *InvoiceUpdateRequest) SetReceivedByRecipientDate(v int64)
- type InvoiceUpdateResponse
- func (o *InvoiceUpdateResponse) GetArchived() bool
- func (o *InvoiceUpdateResponse) GetArchivedAt() time.Time
- func (o *InvoiceUpdateResponse) GetArchivedAtOk() (*time.Time, bool)
- func (o *InvoiceUpdateResponse) GetArchivedOk() (*bool, bool)
- func (o *InvoiceUpdateResponse) GetBalanceDue() float32
- func (o *InvoiceUpdateResponse) GetBalanceDueOk() (*float32, bool)
- func (o *InvoiceUpdateResponse) GetCreatedAt() time.Time
- func (o *InvoiceUpdateResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *InvoiceUpdateResponse) GetCurrencyCode() string
- func (o *InvoiceUpdateResponse) GetCurrencyCodeOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetDueDate() string
- func (o *InvoiceUpdateResponse) GetDueDateOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetExternalAccountId() string
- func (o *InvoiceUpdateResponse) GetExternalAccountIdOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetExternalCreateDateTime() int64
- func (o *InvoiceUpdateResponse) GetExternalCreateDateTimeOk() (*int64, bool)
- func (o *InvoiceUpdateResponse) GetExternalInvoiceNumber() string
- func (o *InvoiceUpdateResponse) GetExternalInvoiceNumberOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetExternalRecipientId() string
- func (o *InvoiceUpdateResponse) GetExternalRecipientIdOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetId() string
- func (o *InvoiceUpdateResponse) GetIdOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetInvoiceStatus() string
- func (o *InvoiceUpdateResponse) GetInvoiceStatusOk() (*string, bool)
- func (o *InvoiceUpdateResponse) GetIsVoided() bool
- func (o *InvoiceUpdateResponse) GetIsVoidedOk() (*bool, bool)
- func (o *InvoiceUpdateResponse) GetReceivedByRecipientDate() int64
- func (o *InvoiceUpdateResponse) GetReceivedByRecipientDateOk() (*int64, bool)
- func (o *InvoiceUpdateResponse) GetTotalAmountBilled() float32
- func (o *InvoiceUpdateResponse) GetTotalAmountBilledOk() (*float32, bool)
- func (o *InvoiceUpdateResponse) GetUpdatedAt() time.Time
- func (o *InvoiceUpdateResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *InvoiceUpdateResponse) HasArchivedAt() bool
- func (o *InvoiceUpdateResponse) HasExternalCreateDateTime() bool
- func (o *InvoiceUpdateResponse) HasExternalInvoiceNumber() bool
- func (o *InvoiceUpdateResponse) HasReceivedByRecipientDate() bool
- func (o InvoiceUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *InvoiceUpdateResponse) SetArchived(v bool)
- func (o *InvoiceUpdateResponse) SetArchivedAt(v time.Time)
- func (o *InvoiceUpdateResponse) SetBalanceDue(v float32)
- func (o *InvoiceUpdateResponse) SetCreatedAt(v time.Time)
- func (o *InvoiceUpdateResponse) SetCurrencyCode(v string)
- func (o *InvoiceUpdateResponse) SetDueDate(v string)
- func (o *InvoiceUpdateResponse) SetExternalAccountId(v string)
- func (o *InvoiceUpdateResponse) SetExternalCreateDateTime(v int64)
- func (o *InvoiceUpdateResponse) SetExternalInvoiceNumber(v string)
- func (o *InvoiceUpdateResponse) SetExternalRecipientId(v string)
- func (o *InvoiceUpdateResponse) SetId(v string)
- func (o *InvoiceUpdateResponse) SetInvoiceStatus(v string)
- func (o *InvoiceUpdateResponse) SetIsVoided(v bool)
- func (o *InvoiceUpdateResponse) SetReceivedByRecipientDate(v int64)
- func (o *InvoiceUpdateResponse) SetTotalAmountBilled(v float32)
- func (o *InvoiceUpdateResponse) SetUpdatedAt(v time.Time)
- type InvoicesResponseExternal
- func (o *InvoicesResponseExternal) GetInvoices() []AccountingExtensionInvoice
- func (o *InvoicesResponseExternal) GetInvoicesOk() ([]AccountingExtensionInvoice, bool)
- func (o *InvoicesResponseExternal) GetResult() string
- func (o *InvoicesResponseExternal) GetResultOk() (*string, bool)
- func (o *InvoicesResponseExternal) HasResult() bool
- func (o InvoicesResponseExternal) MarshalJSON() ([]byte, error)
- func (o *InvoicesResponseExternal) SetInvoices(v []AccountingExtensionInvoice)
- func (o *InvoicesResponseExternal) SetResult(v string)
- type NullableAccountingAppSettings
- func (v NullableAccountingAppSettings) Get() *AccountingAppSettings
- func (v NullableAccountingAppSettings) IsSet() bool
- func (v NullableAccountingAppSettings) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingAppSettings) Set(val *AccountingAppSettings)
- func (v *NullableAccountingAppSettings) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingAppSettings) Unset()
- type NullableAccountingAppUrls
- func (v NullableAccountingAppUrls) Get() *AccountingAppUrls
- func (v NullableAccountingAppUrls) IsSet() bool
- func (v NullableAccountingAppUrls) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingAppUrls) Set(val *AccountingAppUrls)
- func (v *NullableAccountingAppUrls) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingAppUrls) Unset()
- type NullableAccountingExtensionCustomer
- func (v NullableAccountingExtensionCustomer) Get() *AccountingExtensionCustomer
- func (v NullableAccountingExtensionCustomer) IsSet() bool
- func (v NullableAccountingExtensionCustomer) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingExtensionCustomer) Set(val *AccountingExtensionCustomer)
- func (v *NullableAccountingExtensionCustomer) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingExtensionCustomer) Unset()
- type NullableAccountingExtensionInvoice
- func (v NullableAccountingExtensionInvoice) Get() *AccountingExtensionInvoice
- func (v NullableAccountingExtensionInvoice) IsSet() bool
- func (v NullableAccountingExtensionInvoice) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingExtensionInvoice) Set(val *AccountingExtensionInvoice)
- func (v *NullableAccountingExtensionInvoice) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingExtensionInvoice) Unset()
- type NullableAccountingExtensionTerm
- func (v NullableAccountingExtensionTerm) Get() *AccountingExtensionTerm
- func (v NullableAccountingExtensionTerm) IsSet() bool
- func (v NullableAccountingExtensionTerm) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingExtensionTerm) Set(val *AccountingExtensionTerm)
- func (v *NullableAccountingExtensionTerm) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingExtensionTerm) Unset()
- type NullableAccountingFeatures
- func (v NullableAccountingFeatures) Get() *AccountingFeatures
- func (v NullableAccountingFeatures) IsSet() bool
- func (v NullableAccountingFeatures) MarshalJSON() ([]byte, error)
- func (v *NullableAccountingFeatures) Set(val *AccountingFeatures)
- func (v *NullableAccountingFeatures) UnmarshalJSON(src []byte) error
- func (v *NullableAccountingFeatures) Unset()
- type NullableActionResponse
- func (v NullableActionResponse) Get() *ActionResponse
- func (v NullableActionResponse) IsSet() bool
- func (v NullableActionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableActionResponse) Set(val *ActionResponse)
- func (v *NullableActionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableActionResponse) Unset()
- type NullableAddress
- type NullableBool
- type NullableCreateInvoiceFeature
- func (v NullableCreateInvoiceFeature) Get() *CreateInvoiceFeature
- func (v NullableCreateInvoiceFeature) IsSet() bool
- func (v NullableCreateInvoiceFeature) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInvoiceFeature) Set(val *CreateInvoiceFeature)
- func (v *NullableCreateInvoiceFeature) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInvoiceFeature) Unset()
- type NullableCreateInvoiceSubFeatures
- func (v NullableCreateInvoiceSubFeatures) Get() *CreateInvoiceSubFeatures
- func (v NullableCreateInvoiceSubFeatures) IsSet() bool
- func (v NullableCreateInvoiceSubFeatures) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInvoiceSubFeatures) Set(val *CreateInvoiceSubFeatures)
- func (v *NullableCreateInvoiceSubFeatures) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInvoiceSubFeatures) Unset()
- type NullableCreateUserAccountRequestExternal
- func (v NullableCreateUserAccountRequestExternal) Get() *CreateUserAccountRequestExternal
- func (v NullableCreateUserAccountRequestExternal) IsSet() bool
- func (v NullableCreateUserAccountRequestExternal) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserAccountRequestExternal) Set(val *CreateUserAccountRequestExternal)
- func (v *NullableCreateUserAccountRequestExternal) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserAccountRequestExternal) Unset()
- type NullableCustomerSearchResponseExternal
- func (v NullableCustomerSearchResponseExternal) Get() *CustomerSearchResponseExternal
- func (v NullableCustomerSearchResponseExternal) IsSet() bool
- func (v NullableCustomerSearchResponseExternal) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerSearchResponseExternal) Set(val *CustomerSearchResponseExternal)
- func (v *NullableCustomerSearchResponseExternal) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerSearchResponseExternal) Unset()
- type NullableError
- type NullableErrorDetail
- func (v NullableErrorDetail) Get() *ErrorDetail
- func (v NullableErrorDetail) IsSet() bool
- func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDetail) Set(val *ErrorDetail)
- func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDetail) Unset()
- type NullableExchangeRateResponse
- func (v NullableExchangeRateResponse) Get() *ExchangeRateResponse
- func (v NullableExchangeRateResponse) IsSet() bool
- func (v NullableExchangeRateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExchangeRateResponse) Set(val *ExchangeRateResponse)
- func (v *NullableExchangeRateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExchangeRateResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableImportInvoiceFeature
- func (v NullableImportInvoiceFeature) Get() *ImportInvoiceFeature
- func (v NullableImportInvoiceFeature) IsSet() bool
- func (v NullableImportInvoiceFeature) MarshalJSON() ([]byte, error)
- func (v *NullableImportInvoiceFeature) Set(val *ImportInvoiceFeature)
- func (v *NullableImportInvoiceFeature) UnmarshalJSON(src []byte) error
- func (v *NullableImportInvoiceFeature) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInvoiceCreatePaymentRequest
- func (v NullableInvoiceCreatePaymentRequest) Get() *InvoiceCreatePaymentRequest
- func (v NullableInvoiceCreatePaymentRequest) IsSet() bool
- func (v NullableInvoiceCreatePaymentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceCreatePaymentRequest) Set(val *InvoiceCreatePaymentRequest)
- func (v *NullableInvoiceCreatePaymentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceCreatePaymentRequest) Unset()
- type NullableInvoicePdfResponse
- func (v NullableInvoicePdfResponse) Get() *InvoicePdfResponse
- func (v NullableInvoicePdfResponse) IsSet() bool
- func (v NullableInvoicePdfResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInvoicePdfResponse) Set(val *InvoicePdfResponse)
- func (v *NullableInvoicePdfResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvoicePdfResponse) Unset()
- type NullableInvoiceReadResponse
- func (v NullableInvoiceReadResponse) Get() *InvoiceReadResponse
- func (v NullableInvoiceReadResponse) IsSet() bool
- func (v NullableInvoiceReadResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceReadResponse) Set(val *InvoiceReadResponse)
- func (v *NullableInvoiceReadResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceReadResponse) Unset()
- type NullableInvoiceSearchResponse
- func (v NullableInvoiceSearchResponse) Get() *InvoiceSearchResponse
- func (v NullableInvoiceSearchResponse) IsSet() bool
- func (v NullableInvoiceSearchResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceSearchResponse) Set(val *InvoiceSearchResponse)
- func (v *NullableInvoiceSearchResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceSearchResponse) Unset()
- type NullableInvoiceUpdateRequest
- func (v NullableInvoiceUpdateRequest) Get() *InvoiceUpdateRequest
- func (v NullableInvoiceUpdateRequest) IsSet() bool
- func (v NullableInvoiceUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceUpdateRequest) Set(val *InvoiceUpdateRequest)
- func (v *NullableInvoiceUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceUpdateRequest) Unset()
- type NullableInvoiceUpdateResponse
- func (v NullableInvoiceUpdateResponse) Get() *InvoiceUpdateResponse
- func (v NullableInvoiceUpdateResponse) IsSet() bool
- func (v NullableInvoiceUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceUpdateResponse) Set(val *InvoiceUpdateResponse)
- func (v *NullableInvoiceUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceUpdateResponse) Unset()
- type NullableInvoicesResponseExternal
- func (v NullableInvoicesResponseExternal) Get() *InvoicesResponseExternal
- func (v NullableInvoicesResponseExternal) IsSet() bool
- func (v NullableInvoicesResponseExternal) MarshalJSON() ([]byte, error)
- func (v *NullableInvoicesResponseExternal) Set(val *InvoicesResponseExternal)
- func (v *NullableInvoicesResponseExternal) UnmarshalJSON(src []byte) error
- func (v *NullableInvoicesResponseExternal) Unset()
- type NullableObjectSyncFeature
- func (v NullableObjectSyncFeature) Get() *ObjectSyncFeature
- func (v NullableObjectSyncFeature) IsSet() bool
- func (v NullableObjectSyncFeature) MarshalJSON() ([]byte, error)
- func (v *NullableObjectSyncFeature) Set(val *ObjectSyncFeature)
- func (v *NullableObjectSyncFeature) UnmarshalJSON(src []byte) error
- func (v *NullableObjectSyncFeature) Unset()
- type NullableProduct
- type NullableProductSearchResponse
- func (v NullableProductSearchResponse) Get() *ProductSearchResponse
- func (v NullableProductSearchResponse) IsSet() bool
- func (v NullableProductSearchResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProductSearchResponse) Set(val *ProductSearchResponse)
- func (v *NullableProductSearchResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProductSearchResponse) Unset()
- type NullableResultIdAccountingResponse
- func (v NullableResultIdAccountingResponse) Get() *ResultIdAccountingResponse
- func (v NullableResultIdAccountingResponse) IsSet() bool
- func (v NullableResultIdAccountingResponse) MarshalJSON() ([]byte, error)
- func (v *NullableResultIdAccountingResponse) Set(val *ResultIdAccountingResponse)
- func (v *NullableResultIdAccountingResponse) UnmarshalJSON(src []byte) error
- func (v *NullableResultIdAccountingResponse) Unset()
- type NullableString
- type NullableSyncContactsRequest
- func (v NullableSyncContactsRequest) Get() *SyncContactsRequest
- func (v NullableSyncContactsRequest) IsSet() bool
- func (v NullableSyncContactsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSyncContactsRequest) Set(val *SyncContactsRequest)
- func (v *NullableSyncContactsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSyncContactsRequest) Unset()
- type NullableSyncProductsRequest
- func (v NullableSyncProductsRequest) Get() *SyncProductsRequest
- func (v NullableSyncProductsRequest) IsSet() bool
- func (v NullableSyncProductsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSyncProductsRequest) Set(val *SyncProductsRequest)
- func (v *NullableSyncProductsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSyncProductsRequest) Unset()
- type NullableTax
- type NullableTaxSearchResponse
- func (v NullableTaxSearchResponse) Get() *TaxSearchResponse
- func (v NullableTaxSearchResponse) IsSet() bool
- func (v NullableTaxSearchResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTaxSearchResponse) Set(val *TaxSearchResponse)
- func (v *NullableTaxSearchResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTaxSearchResponse) Unset()
- type NullableTaxType
- type NullableTermsResponse
- func (v NullableTermsResponse) Get() *TermsResponse
- func (v NullableTermsResponse) IsSet() bool
- func (v NullableTermsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTermsResponse) Set(val *TermsResponse)
- func (v *NullableTermsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTermsResponse) Unset()
- type NullableTime
- type NullableUnitPrice
- type NullableUpdatedContact
- func (v NullableUpdatedContact) Get() *UpdatedContact
- func (v NullableUpdatedContact) IsSet() bool
- func (v NullableUpdatedContact) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatedContact) Set(val *UpdatedContact)
- func (v *NullableUpdatedContact) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatedContact) Unset()
- type NullableUpdatedProduct
- func (v NullableUpdatedProduct) Get() *UpdatedProduct
- func (v NullableUpdatedProduct) IsSet() bool
- func (v NullableUpdatedProduct) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatedProduct) Set(val *UpdatedProduct)
- func (v *NullableUpdatedProduct) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatedProduct) Unset()
- type ObjectSyncFeature
- type Product
- func (o *Product) GetDescription() string
- func (o *Product) GetDescriptionOk() (*string, bool)
- func (o *Product) GetId() string
- func (o *Product) GetIdOk() (*string, bool)
- func (o *Product) GetName() string
- func (o *Product) GetNameOk() (*string, bool)
- func (o *Product) GetSalesTaxType() TaxType
- func (o *Product) GetSalesTaxTypeOk() (*TaxType, bool)
- func (o *Product) GetTaxExempt() bool
- func (o *Product) GetTaxExemptOk() (*bool, bool)
- func (o *Product) GetUnitPrice() UnitPrice
- func (o *Product) GetUnitPriceOk() (*UnitPrice, bool)
- func (o *Product) HasDescription() bool
- func (o *Product) HasSalesTaxType() bool
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetDescription(v string)
- func (o *Product) SetId(v string)
- func (o *Product) SetName(v string)
- func (o *Product) SetSalesTaxType(v TaxType)
- func (o *Product) SetTaxExempt(v bool)
- func (o *Product) SetUnitPrice(v UnitPrice)
- type ProductSearchResponse
- func (o *ProductSearchResponse) GetProducts() []Product
- func (o *ProductSearchResponse) GetProductsOk() ([]Product, bool)
- func (o *ProductSearchResponse) GetResult() string
- func (o *ProductSearchResponse) GetResultOk() (*string, bool)
- func (o *ProductSearchResponse) HasResult() bool
- func (o ProductSearchResponse) MarshalJSON() ([]byte, error)
- func (o *ProductSearchResponse) SetProducts(v []Product)
- func (o *ProductSearchResponse) SetResult(v string)
- type ResultIdAccountingResponse
- func (o *ResultIdAccountingResponse) GetId() string
- func (o *ResultIdAccountingResponse) GetIdOk() (*string, bool)
- func (o *ResultIdAccountingResponse) GetResult() string
- func (o *ResultIdAccountingResponse) GetResultOk() (*string, bool)
- func (o ResultIdAccountingResponse) MarshalJSON() ([]byte, error)
- func (o *ResultIdAccountingResponse) SetId(v string)
- func (o *ResultIdAccountingResponse) SetResult(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SettingsApiService
- func (a *SettingsApiService) SettingsGetByID(ctx context.Context, appId int32) ApiSettingsGetByIDRequest
- func (a *SettingsApiService) SettingsGetByIDExecute(r ApiSettingsGetByIDRequest) (*AccountingAppSettings, *http.Response, error)
- func (a *SettingsApiService) SettingsReplace(ctx context.Context, appId int32) ApiSettingsReplaceRequest
- func (a *SettingsApiService) SettingsReplaceExecute(r ApiSettingsReplaceRequest) (*http.Response, error)
- type SyncApiService
- func (a *SyncApiService) SyncCreateContact(ctx context.Context, appId int32) ApiSyncCreateContactRequest
- func (a *SyncApiService) SyncCreateContactExecute(r ApiSyncCreateContactRequest) (*ActionResponse, *http.Response, error)
- func (a *SyncApiService) SyncCreateProduct(ctx context.Context, appId int32) ApiSyncCreateProductRequest
- func (a *SyncApiService) SyncCreateProductExecute(r ApiSyncCreateProductRequest) (*ActionResponse, *http.Response, error)
- type SyncContactsRequest
- func (o *SyncContactsRequest) GetAccountId() string
- func (o *SyncContactsRequest) GetAccountIdOk() (*string, bool)
- func (o *SyncContactsRequest) GetContacts() []UpdatedContact
- func (o *SyncContactsRequest) GetContactsOk() ([]UpdatedContact, bool)
- func (o SyncContactsRequest) MarshalJSON() ([]byte, error)
- func (o *SyncContactsRequest) SetAccountId(v string)
- func (o *SyncContactsRequest) SetContacts(v []UpdatedContact)
- type SyncProductsRequest
- func (o *SyncProductsRequest) GetAccountId() string
- func (o *SyncProductsRequest) GetAccountIdOk() (*string, bool)
- func (o *SyncProductsRequest) GetProducts() []UpdatedProduct
- func (o *SyncProductsRequest) GetProductsOk() ([]UpdatedProduct, bool)
- func (o SyncProductsRequest) MarshalJSON() ([]byte, error)
- func (o *SyncProductsRequest) SetAccountId(v string)
- func (o *SyncProductsRequest) SetProducts(v []UpdatedProduct)
- type Tax
- func (o *Tax) GetCode() string
- func (o *Tax) GetCodeOk() (*string, bool)
- func (o *Tax) GetName() string
- func (o *Tax) GetNameOk() (*string, bool)
- func (o *Tax) GetPercentage() float32
- func (o *Tax) GetPercentageOk() (*float32, bool)
- func (o Tax) MarshalJSON() ([]byte, error)
- func (o *Tax) SetCode(v string)
- func (o *Tax) SetName(v string)
- func (o *Tax) SetPercentage(v float32)
- type TaxSearchResponse
- func (o *TaxSearchResponse) GetResult() string
- func (o *TaxSearchResponse) GetResultOk() (*string, bool)
- func (o *TaxSearchResponse) GetTaxes() []Tax
- func (o *TaxSearchResponse) GetTaxesOk() ([]Tax, bool)
- func (o *TaxSearchResponse) HasResult() bool
- func (o TaxSearchResponse) MarshalJSON() ([]byte, error)
- func (o *TaxSearchResponse) SetResult(v string)
- func (o *TaxSearchResponse) SetTaxes(v []Tax)
- type TaxType
- func (o *TaxType) GetCode() string
- func (o *TaxType) GetCodeOk() (*string, bool)
- func (o *TaxType) GetName() string
- func (o *TaxType) GetNameOk() (*string, bool)
- func (o *TaxType) HasName() bool
- func (o TaxType) MarshalJSON() ([]byte, error)
- func (o *TaxType) SetCode(v string)
- func (o *TaxType) SetName(v string)
- type TermsResponse
- func (o *TermsResponse) GetResult() string
- func (o *TermsResponse) GetResultOk() (*string, bool)
- func (o *TermsResponse) GetTerms() []AccountingExtensionTerm
- func (o *TermsResponse) GetTermsOk() ([]AccountingExtensionTerm, bool)
- func (o *TermsResponse) HasResult() bool
- func (o TermsResponse) MarshalJSON() ([]byte, error)
- func (o *TermsResponse) SetResult(v string)
- func (o *TermsResponse) SetTerms(v []AccountingExtensionTerm)
- type UnitPrice
- func (o *UnitPrice) GetAmount() float32
- func (o *UnitPrice) GetAmountOk() (*float32, bool)
- func (o *UnitPrice) GetTaxIncluded() bool
- func (o *UnitPrice) GetTaxIncludedOk() (*bool, bool)
- func (o *UnitPrice) HasAmount() bool
- func (o UnitPrice) MarshalJSON() ([]byte, error)
- func (o *UnitPrice) SetAmount(v float32)
- func (o *UnitPrice) SetTaxIncluded(v bool)
- type UpdatedContact
- func (o *UpdatedContact) GetCustomerType() string
- func (o *UpdatedContact) GetCustomerTypeOk() (*string, bool)
- func (o *UpdatedContact) GetEmailAddress() string
- func (o *UpdatedContact) GetEmailAddressOk() (*string, bool)
- func (o *UpdatedContact) GetId() string
- func (o *UpdatedContact) GetIdOk() (*string, bool)
- func (o *UpdatedContact) GetSyncAction() string
- func (o *UpdatedContact) GetSyncActionOk() (*string, bool)
- func (o *UpdatedContact) GetUpdatedAt() time.Time
- func (o *UpdatedContact) GetUpdatedAtOk() (*time.Time, bool)
- func (o *UpdatedContact) HasCustomerType() bool
- func (o UpdatedContact) MarshalJSON() ([]byte, error)
- func (o *UpdatedContact) SetCustomerType(v string)
- func (o *UpdatedContact) SetEmailAddress(v string)
- func (o *UpdatedContact) SetId(v string)
- func (o *UpdatedContact) SetSyncAction(v string)
- func (o *UpdatedContact) SetUpdatedAt(v time.Time)
- type UpdatedProduct
- func (o *UpdatedProduct) GetCurrencyCode() string
- func (o *UpdatedProduct) GetCurrencyCodeOk() (*string, bool)
- func (o *UpdatedProduct) GetId() string
- func (o *UpdatedProduct) GetIdOk() (*string, bool)
- func (o *UpdatedProduct) GetPrice() float32
- func (o *UpdatedProduct) GetPriceOk() (*float32, bool)
- func (o *UpdatedProduct) GetProperties() map[string]string
- func (o *UpdatedProduct) GetPropertiesOk() (*map[string]string, bool)
- func (o *UpdatedProduct) GetSyncAction() string
- func (o *UpdatedProduct) GetSyncActionOk() (*string, bool)
- func (o *UpdatedProduct) GetUpdatedAt() time.Time
- func (o *UpdatedProduct) GetUpdatedAtOk() (*time.Time, bool)
- func (o *UpdatedProduct) HasCurrencyCode() bool
- func (o UpdatedProduct) MarshalJSON() ([]byte, error)
- func (o *UpdatedProduct) SetCurrencyCode(v string)
- func (o *UpdatedProduct) SetId(v string)
- func (o *UpdatedProduct) SetPrice(v float32)
- func (o *UpdatedProduct) SetProperties(v map[string]string)
- func (o *UpdatedProduct) SetSyncAction(v string)
- func (o *UpdatedProduct) SetUpdatedAt(v time.Time)
- type UserAccountsApiService
- func (a *UserAccountsApiService) UserAccountsArchive(ctx context.Context, accountId string) ApiUserAccountsArchiveRequest
- func (a *UserAccountsApiService) UserAccountsArchiveExecute(r ApiUserAccountsArchiveRequest) (*http.Response, error)
- func (a *UserAccountsApiService) UserAccountsReplace(ctx context.Context) ApiUserAccountsReplaceRequest
- func (a *UserAccountsApiService) UserAccountsReplaceExecute(r ApiUserAccountsReplaceRequest) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { CallbacksApi *CallbacksApiService InvoiceApi *InvoiceApiService SettingsApi *SettingsApiService SyncApi *SyncApiService UserAccountsApi *UserAccountsApiService // contains filtered or unexported fields }
APIClient manages communication with the Accounting Extension API vv3 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccountingAppSettings ¶
type AccountingAppSettings struct { // The ID of the accounting app. This is the identifier of the application created in your HubSpot developer portal. AppId int32 `json:"appId"` Urls AccountingAppUrls `json:"urls"` Features *AccountingFeatures `json:"features,omitempty"` }
AccountingAppSettings The URL Settings, which defines the URL endpoints that HubSpot will send requests to an external accounting application for certain actions.
func NewAccountingAppSettings ¶
func NewAccountingAppSettings(appId int32, urls AccountingAppUrls) *AccountingAppSettings
NewAccountingAppSettings instantiates a new AccountingAppSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingAppSettingsWithDefaults ¶
func NewAccountingAppSettingsWithDefaults() *AccountingAppSettings
NewAccountingAppSettingsWithDefaults instantiates a new AccountingAppSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingAppSettings) GetAppId ¶
func (o *AccountingAppSettings) GetAppId() int32
GetAppId returns the AppId field value
func (*AccountingAppSettings) GetAppIdOk ¶
func (o *AccountingAppSettings) GetAppIdOk() (*int32, bool)
GetAppIdOk returns a tuple with the AppId field value and a boolean to check if the value has been set.
func (*AccountingAppSettings) GetFeatures ¶
func (o *AccountingAppSettings) GetFeatures() AccountingFeatures
GetFeatures returns the Features field value if set, zero value otherwise.
func (*AccountingAppSettings) GetFeaturesOk ¶
func (o *AccountingAppSettings) GetFeaturesOk() (*AccountingFeatures, bool)
GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppSettings) GetUrls ¶
func (o *AccountingAppSettings) GetUrls() AccountingAppUrls
GetUrls returns the Urls field value
func (*AccountingAppSettings) GetUrlsOk ¶
func (o *AccountingAppSettings) GetUrlsOk() (*AccountingAppUrls, bool)
GetUrlsOk returns a tuple with the Urls field value and a boolean to check if the value has been set.
func (*AccountingAppSettings) HasFeatures ¶
func (o *AccountingAppSettings) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (AccountingAppSettings) MarshalJSON ¶
func (o AccountingAppSettings) MarshalJSON() ([]byte, error)
func (*AccountingAppSettings) SetAppId ¶
func (o *AccountingAppSettings) SetAppId(v int32)
SetAppId sets field value
func (*AccountingAppSettings) SetFeatures ¶
func (o *AccountingAppSettings) SetFeatures(v AccountingFeatures)
SetFeatures gets a reference to the given AccountingFeatures and assigns it to the Features field.
func (*AccountingAppSettings) SetUrls ¶
func (o *AccountingAppSettings) SetUrls(v AccountingAppUrls)
SetUrls sets field value
type AccountingAppUrls ¶
type AccountingAppUrls struct { // A URL that specifies the endpoint where invoices can be retrieved. GetInvoiceUrl string `json:"getInvoiceUrl"` // A URL that specifies the endpoint where a customer search can be performed. SearchCustomerUrl string `json:"searchCustomerUrl"` // A URL that specifies the endpoint where an invoice PDF can be retrieved. GetInvoicePdfUrl string `json:"getInvoicePdfUrl"` // A template URL that indicates the endpoint where a customer can be fetched by ID. Note that ${CUSTOMER_ID} in this URL will be replaced by the actual customer ID. For example: https://myapp.com/api/customers/${CUSTOMER_ID} CustomerUrlTemplate string `json:"customerUrlTemplate"` // A template URL that indicates the endpoint where a product can be fetched by ID. Note that ${PRODUCT_ID} in this URL will be replaced by the actual product ID. For example: https://myapp.com/api/products/${PRODUCT_ID} ProductUrlTemplate string `json:"productUrlTemplate"` // A template URL that indicates the endpoint where an invoice can be fetched by ID. Note that ${INVOICE_ID} in this URL will be replaced by the actual invoice ID. For example: https://myapp.com/api/invoices/${INVOICE_ID} InvoiceUrlTemplate string `json:"invoiceUrlTemplate"` // A URL that specifies the endpoint where an invoices can be created. CreateInvoiceUrl *string `json:"createInvoiceUrl,omitempty"` // A URL that specifies the endpoint where an invoice search can be performed. SearchInvoiceUrl *string `json:"searchInvoiceUrl,omitempty"` // A URL that specifies the endpoint where a product search can be performed. SearchProductUrl *string `json:"searchProductUrl,omitempty"` // A URL that specifies the endpoint where payment terms can be retrieved. GetTermsUrl *string `json:"getTermsUrl,omitempty"` // A URL that specifies the endpoint where a new customer can be created. CreateCustomerUrl *string `json:"createCustomerUrl,omitempty"` // A URL that specifies the endpoint where a tax search can be performed. SearchTaxUrl *string `json:"searchTaxUrl,omitempty"` // A URL that specifies the endpoint where exchange rates can be queried. ExchangeRateUrl *string `json:"exchangeRateUrl,omitempty"` SearchUrl *string `json:"searchUrl,omitempty"` SearchCountUrl *string `json:"searchCountUrl,omitempty"` }
AccountingAppUrls The URL endpoints that HubSpot will send requests to an external accounting system for certain actions.
func NewAccountingAppUrls ¶
func NewAccountingAppUrls(getInvoiceUrl string, searchCustomerUrl string, getInvoicePdfUrl string, customerUrlTemplate string, productUrlTemplate string, invoiceUrlTemplate string) *AccountingAppUrls
NewAccountingAppUrls instantiates a new AccountingAppUrls object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingAppUrlsWithDefaults ¶
func NewAccountingAppUrlsWithDefaults() *AccountingAppUrls
NewAccountingAppUrlsWithDefaults instantiates a new AccountingAppUrls object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingAppUrls) GetCreateCustomerUrl ¶
func (o *AccountingAppUrls) GetCreateCustomerUrl() string
GetCreateCustomerUrl returns the CreateCustomerUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetCreateCustomerUrlOk ¶
func (o *AccountingAppUrls) GetCreateCustomerUrlOk() (*string, bool)
GetCreateCustomerUrlOk returns a tuple with the CreateCustomerUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetCreateInvoiceUrl ¶
func (o *AccountingAppUrls) GetCreateInvoiceUrl() string
GetCreateInvoiceUrl returns the CreateInvoiceUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetCreateInvoiceUrlOk ¶
func (o *AccountingAppUrls) GetCreateInvoiceUrlOk() (*string, bool)
GetCreateInvoiceUrlOk returns a tuple with the CreateInvoiceUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetCustomerUrlTemplate ¶
func (o *AccountingAppUrls) GetCustomerUrlTemplate() string
GetCustomerUrlTemplate returns the CustomerUrlTemplate field value
func (*AccountingAppUrls) GetCustomerUrlTemplateOk ¶
func (o *AccountingAppUrls) GetCustomerUrlTemplateOk() (*string, bool)
GetCustomerUrlTemplateOk returns a tuple with the CustomerUrlTemplate field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetExchangeRateUrl ¶
func (o *AccountingAppUrls) GetExchangeRateUrl() string
GetExchangeRateUrl returns the ExchangeRateUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetExchangeRateUrlOk ¶
func (o *AccountingAppUrls) GetExchangeRateUrlOk() (*string, bool)
GetExchangeRateUrlOk returns a tuple with the ExchangeRateUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetGetInvoicePdfUrl ¶
func (o *AccountingAppUrls) GetGetInvoicePdfUrl() string
GetGetInvoicePdfUrl returns the GetInvoicePdfUrl field value
func (*AccountingAppUrls) GetGetInvoicePdfUrlOk ¶
func (o *AccountingAppUrls) GetGetInvoicePdfUrlOk() (*string, bool)
GetGetInvoicePdfUrlOk returns a tuple with the GetInvoicePdfUrl field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetGetInvoiceUrl ¶
func (o *AccountingAppUrls) GetGetInvoiceUrl() string
GetGetInvoiceUrl returns the GetInvoiceUrl field value
func (*AccountingAppUrls) GetGetInvoiceUrlOk ¶
func (o *AccountingAppUrls) GetGetInvoiceUrlOk() (*string, bool)
GetGetInvoiceUrlOk returns a tuple with the GetInvoiceUrl field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetGetTermsUrl ¶
func (o *AccountingAppUrls) GetGetTermsUrl() string
GetGetTermsUrl returns the GetTermsUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetGetTermsUrlOk ¶
func (o *AccountingAppUrls) GetGetTermsUrlOk() (*string, bool)
GetGetTermsUrlOk returns a tuple with the GetTermsUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetInvoiceUrlTemplate ¶
func (o *AccountingAppUrls) GetInvoiceUrlTemplate() string
GetInvoiceUrlTemplate returns the InvoiceUrlTemplate field value
func (*AccountingAppUrls) GetInvoiceUrlTemplateOk ¶
func (o *AccountingAppUrls) GetInvoiceUrlTemplateOk() (*string, bool)
GetInvoiceUrlTemplateOk returns a tuple with the InvoiceUrlTemplate field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetProductUrlTemplate ¶
func (o *AccountingAppUrls) GetProductUrlTemplate() string
GetProductUrlTemplate returns the ProductUrlTemplate field value
func (*AccountingAppUrls) GetProductUrlTemplateOk ¶
func (o *AccountingAppUrls) GetProductUrlTemplateOk() (*string, bool)
GetProductUrlTemplateOk returns a tuple with the ProductUrlTemplate field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchCountUrl ¶
func (o *AccountingAppUrls) GetSearchCountUrl() string
GetSearchCountUrl returns the SearchCountUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetSearchCountUrlOk ¶
func (o *AccountingAppUrls) GetSearchCountUrlOk() (*string, bool)
GetSearchCountUrlOk returns a tuple with the SearchCountUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchCustomerUrl ¶
func (o *AccountingAppUrls) GetSearchCustomerUrl() string
GetSearchCustomerUrl returns the SearchCustomerUrl field value
func (*AccountingAppUrls) GetSearchCustomerUrlOk ¶
func (o *AccountingAppUrls) GetSearchCustomerUrlOk() (*string, bool)
GetSearchCustomerUrlOk returns a tuple with the SearchCustomerUrl field value and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchInvoiceUrl ¶
func (o *AccountingAppUrls) GetSearchInvoiceUrl() string
GetSearchInvoiceUrl returns the SearchInvoiceUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetSearchInvoiceUrlOk ¶
func (o *AccountingAppUrls) GetSearchInvoiceUrlOk() (*string, bool)
GetSearchInvoiceUrlOk returns a tuple with the SearchInvoiceUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchProductUrl ¶
func (o *AccountingAppUrls) GetSearchProductUrl() string
GetSearchProductUrl returns the SearchProductUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetSearchProductUrlOk ¶
func (o *AccountingAppUrls) GetSearchProductUrlOk() (*string, bool)
GetSearchProductUrlOk returns a tuple with the SearchProductUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchTaxUrl ¶
func (o *AccountingAppUrls) GetSearchTaxUrl() string
GetSearchTaxUrl returns the SearchTaxUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetSearchTaxUrlOk ¶
func (o *AccountingAppUrls) GetSearchTaxUrlOk() (*string, bool)
GetSearchTaxUrlOk returns a tuple with the SearchTaxUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) GetSearchUrl ¶
func (o *AccountingAppUrls) GetSearchUrl() string
GetSearchUrl returns the SearchUrl field value if set, zero value otherwise.
func (*AccountingAppUrls) GetSearchUrlOk ¶
func (o *AccountingAppUrls) GetSearchUrlOk() (*string, bool)
GetSearchUrlOk returns a tuple with the SearchUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingAppUrls) HasCreateCustomerUrl ¶
func (o *AccountingAppUrls) HasCreateCustomerUrl() bool
HasCreateCustomerUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasCreateInvoiceUrl ¶
func (o *AccountingAppUrls) HasCreateInvoiceUrl() bool
HasCreateInvoiceUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasExchangeRateUrl ¶
func (o *AccountingAppUrls) HasExchangeRateUrl() bool
HasExchangeRateUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasGetTermsUrl ¶
func (o *AccountingAppUrls) HasGetTermsUrl() bool
HasGetTermsUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasSearchCountUrl ¶
func (o *AccountingAppUrls) HasSearchCountUrl() bool
HasSearchCountUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasSearchInvoiceUrl ¶
func (o *AccountingAppUrls) HasSearchInvoiceUrl() bool
HasSearchInvoiceUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasSearchProductUrl ¶
func (o *AccountingAppUrls) HasSearchProductUrl() bool
HasSearchProductUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasSearchTaxUrl ¶
func (o *AccountingAppUrls) HasSearchTaxUrl() bool
HasSearchTaxUrl returns a boolean if a field has been set.
func (*AccountingAppUrls) HasSearchUrl ¶
func (o *AccountingAppUrls) HasSearchUrl() bool
HasSearchUrl returns a boolean if a field has been set.
func (AccountingAppUrls) MarshalJSON ¶
func (o AccountingAppUrls) MarshalJSON() ([]byte, error)
func (*AccountingAppUrls) SetCreateCustomerUrl ¶
func (o *AccountingAppUrls) SetCreateCustomerUrl(v string)
SetCreateCustomerUrl gets a reference to the given string and assigns it to the CreateCustomerUrl field.
func (*AccountingAppUrls) SetCreateInvoiceUrl ¶
func (o *AccountingAppUrls) SetCreateInvoiceUrl(v string)
SetCreateInvoiceUrl gets a reference to the given string and assigns it to the CreateInvoiceUrl field.
func (*AccountingAppUrls) SetCustomerUrlTemplate ¶
func (o *AccountingAppUrls) SetCustomerUrlTemplate(v string)
SetCustomerUrlTemplate sets field value
func (*AccountingAppUrls) SetExchangeRateUrl ¶
func (o *AccountingAppUrls) SetExchangeRateUrl(v string)
SetExchangeRateUrl gets a reference to the given string and assigns it to the ExchangeRateUrl field.
func (*AccountingAppUrls) SetGetInvoicePdfUrl ¶
func (o *AccountingAppUrls) SetGetInvoicePdfUrl(v string)
SetGetInvoicePdfUrl sets field value
func (*AccountingAppUrls) SetGetInvoiceUrl ¶
func (o *AccountingAppUrls) SetGetInvoiceUrl(v string)
SetGetInvoiceUrl sets field value
func (*AccountingAppUrls) SetGetTermsUrl ¶
func (o *AccountingAppUrls) SetGetTermsUrl(v string)
SetGetTermsUrl gets a reference to the given string and assigns it to the GetTermsUrl field.
func (*AccountingAppUrls) SetInvoiceUrlTemplate ¶
func (o *AccountingAppUrls) SetInvoiceUrlTemplate(v string)
SetInvoiceUrlTemplate sets field value
func (*AccountingAppUrls) SetProductUrlTemplate ¶
func (o *AccountingAppUrls) SetProductUrlTemplate(v string)
SetProductUrlTemplate sets field value
func (*AccountingAppUrls) SetSearchCountUrl ¶
func (o *AccountingAppUrls) SetSearchCountUrl(v string)
SetSearchCountUrl gets a reference to the given string and assigns it to the SearchCountUrl field.
func (*AccountingAppUrls) SetSearchCustomerUrl ¶
func (o *AccountingAppUrls) SetSearchCustomerUrl(v string)
SetSearchCustomerUrl sets field value
func (*AccountingAppUrls) SetSearchInvoiceUrl ¶
func (o *AccountingAppUrls) SetSearchInvoiceUrl(v string)
SetSearchInvoiceUrl gets a reference to the given string and assigns it to the SearchInvoiceUrl field.
func (*AccountingAppUrls) SetSearchProductUrl ¶
func (o *AccountingAppUrls) SetSearchProductUrl(v string)
SetSearchProductUrl gets a reference to the given string and assigns it to the SearchProductUrl field.
func (*AccountingAppUrls) SetSearchTaxUrl ¶
func (o *AccountingAppUrls) SetSearchTaxUrl(v string)
SetSearchTaxUrl gets a reference to the given string and assigns it to the SearchTaxUrl field.
func (*AccountingAppUrls) SetSearchUrl ¶
func (o *AccountingAppUrls) SetSearchUrl(v string)
SetSearchUrl gets a reference to the given string and assigns it to the SearchUrl field.
type AccountingExtensionCustomer ¶
type AccountingExtensionCustomer struct { // The customer's email address EmailAddress *string `json:"emailAddress,omitempty"` // The customer's full name Name string `json:"name"` // The ID of the customer in the external accounting system. Id string `json:"id"` BillingAddress *Address `json:"billingAddress,omitempty"` // The ISO 4217 currency code that represents the currency the customer should be billed in. CurrencyCode *string `json:"currencyCode,omitempty"` }
AccountingExtensionCustomer Representation of a customer in the external accounting system.
func NewAccountingExtensionCustomer ¶
func NewAccountingExtensionCustomer(name string, id string) *AccountingExtensionCustomer
NewAccountingExtensionCustomer instantiates a new AccountingExtensionCustomer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingExtensionCustomerWithDefaults ¶
func NewAccountingExtensionCustomerWithDefaults() *AccountingExtensionCustomer
NewAccountingExtensionCustomerWithDefaults instantiates a new AccountingExtensionCustomer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingExtensionCustomer) GetBillingAddress ¶
func (o *AccountingExtensionCustomer) GetBillingAddress() Address
GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.
func (*AccountingExtensionCustomer) GetBillingAddressOk ¶
func (o *AccountingExtensionCustomer) GetBillingAddressOk() (*Address, bool)
GetBillingAddressOk returns a tuple with the BillingAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionCustomer) GetCurrencyCode ¶
func (o *AccountingExtensionCustomer) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*AccountingExtensionCustomer) GetCurrencyCodeOk ¶
func (o *AccountingExtensionCustomer) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionCustomer) GetEmailAddress ¶
func (o *AccountingExtensionCustomer) GetEmailAddress() string
GetEmailAddress returns the EmailAddress field value if set, zero value otherwise.
func (*AccountingExtensionCustomer) GetEmailAddressOk ¶
func (o *AccountingExtensionCustomer) GetEmailAddressOk() (*string, bool)
GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionCustomer) GetId ¶
func (o *AccountingExtensionCustomer) GetId() string
GetId returns the Id field value
func (*AccountingExtensionCustomer) GetIdOk ¶
func (o *AccountingExtensionCustomer) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountingExtensionCustomer) GetName ¶
func (o *AccountingExtensionCustomer) GetName() string
GetName returns the Name field value
func (*AccountingExtensionCustomer) GetNameOk ¶
func (o *AccountingExtensionCustomer) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AccountingExtensionCustomer) HasBillingAddress ¶
func (o *AccountingExtensionCustomer) HasBillingAddress() bool
HasBillingAddress returns a boolean if a field has been set.
func (*AccountingExtensionCustomer) HasCurrencyCode ¶
func (o *AccountingExtensionCustomer) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (*AccountingExtensionCustomer) HasEmailAddress ¶
func (o *AccountingExtensionCustomer) HasEmailAddress() bool
HasEmailAddress returns a boolean if a field has been set.
func (AccountingExtensionCustomer) MarshalJSON ¶
func (o AccountingExtensionCustomer) MarshalJSON() ([]byte, error)
func (*AccountingExtensionCustomer) SetBillingAddress ¶
func (o *AccountingExtensionCustomer) SetBillingAddress(v Address)
SetBillingAddress gets a reference to the given Address and assigns it to the BillingAddress field.
func (*AccountingExtensionCustomer) SetCurrencyCode ¶
func (o *AccountingExtensionCustomer) SetCurrencyCode(v string)
SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.
func (*AccountingExtensionCustomer) SetEmailAddress ¶
func (o *AccountingExtensionCustomer) SetEmailAddress(v string)
SetEmailAddress gets a reference to the given string and assigns it to the EmailAddress field.
func (*AccountingExtensionCustomer) SetId ¶
func (o *AccountingExtensionCustomer) SetId(v string)
SetId sets field value
func (*AccountingExtensionCustomer) SetName ¶
func (o *AccountingExtensionCustomer) SetName(v string)
SetName sets field value
type AccountingExtensionInvoice ¶
type AccountingExtensionInvoice struct { // The total amount due. AmountDue float32 `json:"amountDue"` // The remaining outstanding balance due. Balance *float32 `json:"balance,omitempty"` // The due date for payment of the invoice, in ISO-8601 date format (yyyy-MM-dd) DueDate string `json:"dueDate"` // The invoice number InvoiceNumber *string `json:"invoiceNumber,omitempty"` // The ID of the customer that this invoice is for. CustomerId *string `json:"customerId,omitempty"` // The ISO 4217 currency code that represents the currency of this invoice. Currency string `json:"currency"` // A link to the invoice in the external accounting system. InvoiceLink string `json:"invoiceLink"` // The name of the customer that this invoice is for. CustomerName string `json:"customerName"` // The currency status of the invoice. Status string `json:"status"` }
AccountingExtensionInvoice Representation of an invoice in the external accounting system.
func NewAccountingExtensionInvoice ¶
func NewAccountingExtensionInvoice(amountDue float32, dueDate string, currency string, invoiceLink string, customerName string, status string) *AccountingExtensionInvoice
NewAccountingExtensionInvoice instantiates a new AccountingExtensionInvoice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingExtensionInvoiceWithDefaults ¶
func NewAccountingExtensionInvoiceWithDefaults() *AccountingExtensionInvoice
NewAccountingExtensionInvoiceWithDefaults instantiates a new AccountingExtensionInvoice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingExtensionInvoice) GetAmountDue ¶
func (o *AccountingExtensionInvoice) GetAmountDue() float32
GetAmountDue returns the AmountDue field value
func (*AccountingExtensionInvoice) GetAmountDueOk ¶
func (o *AccountingExtensionInvoice) GetAmountDueOk() (*float32, bool)
GetAmountDueOk returns a tuple with the AmountDue field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetBalance ¶
func (o *AccountingExtensionInvoice) GetBalance() float32
GetBalance returns the Balance field value if set, zero value otherwise.
func (*AccountingExtensionInvoice) GetBalanceOk ¶
func (o *AccountingExtensionInvoice) GetBalanceOk() (*float32, bool)
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetCurrency ¶
func (o *AccountingExtensionInvoice) GetCurrency() string
GetCurrency returns the Currency field value
func (*AccountingExtensionInvoice) GetCurrencyOk ¶
func (o *AccountingExtensionInvoice) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetCustomerId ¶
func (o *AccountingExtensionInvoice) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*AccountingExtensionInvoice) GetCustomerIdOk ¶
func (o *AccountingExtensionInvoice) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetCustomerName ¶
func (o *AccountingExtensionInvoice) GetCustomerName() string
GetCustomerName returns the CustomerName field value
func (*AccountingExtensionInvoice) GetCustomerNameOk ¶
func (o *AccountingExtensionInvoice) GetCustomerNameOk() (*string, bool)
GetCustomerNameOk returns a tuple with the CustomerName field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetDueDate ¶
func (o *AccountingExtensionInvoice) GetDueDate() string
GetDueDate returns the DueDate field value
func (*AccountingExtensionInvoice) GetDueDateOk ¶
func (o *AccountingExtensionInvoice) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetInvoiceLink ¶
func (o *AccountingExtensionInvoice) GetInvoiceLink() string
GetInvoiceLink returns the InvoiceLink field value
func (*AccountingExtensionInvoice) GetInvoiceLinkOk ¶
func (o *AccountingExtensionInvoice) GetInvoiceLinkOk() (*string, bool)
GetInvoiceLinkOk returns a tuple with the InvoiceLink field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetInvoiceNumber ¶
func (o *AccountingExtensionInvoice) GetInvoiceNumber() string
GetInvoiceNumber returns the InvoiceNumber field value if set, zero value otherwise.
func (*AccountingExtensionInvoice) GetInvoiceNumberOk ¶
func (o *AccountingExtensionInvoice) GetInvoiceNumberOk() (*string, bool)
GetInvoiceNumberOk returns a tuple with the InvoiceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) GetStatus ¶
func (o *AccountingExtensionInvoice) GetStatus() string
GetStatus returns the Status field value
func (*AccountingExtensionInvoice) GetStatusOk ¶
func (o *AccountingExtensionInvoice) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*AccountingExtensionInvoice) HasBalance ¶
func (o *AccountingExtensionInvoice) HasBalance() bool
HasBalance returns a boolean if a field has been set.
func (*AccountingExtensionInvoice) HasCustomerId ¶
func (o *AccountingExtensionInvoice) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*AccountingExtensionInvoice) HasInvoiceNumber ¶
func (o *AccountingExtensionInvoice) HasInvoiceNumber() bool
HasInvoiceNumber returns a boolean if a field has been set.
func (AccountingExtensionInvoice) MarshalJSON ¶
func (o AccountingExtensionInvoice) MarshalJSON() ([]byte, error)
func (*AccountingExtensionInvoice) SetAmountDue ¶
func (o *AccountingExtensionInvoice) SetAmountDue(v float32)
SetAmountDue sets field value
func (*AccountingExtensionInvoice) SetBalance ¶
func (o *AccountingExtensionInvoice) SetBalance(v float32)
SetBalance gets a reference to the given float32 and assigns it to the Balance field.
func (*AccountingExtensionInvoice) SetCurrency ¶
func (o *AccountingExtensionInvoice) SetCurrency(v string)
SetCurrency sets field value
func (*AccountingExtensionInvoice) SetCustomerId ¶
func (o *AccountingExtensionInvoice) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (*AccountingExtensionInvoice) SetCustomerName ¶
func (o *AccountingExtensionInvoice) SetCustomerName(v string)
SetCustomerName sets field value
func (*AccountingExtensionInvoice) SetDueDate ¶
func (o *AccountingExtensionInvoice) SetDueDate(v string)
SetDueDate sets field value
func (*AccountingExtensionInvoice) SetInvoiceLink ¶
func (o *AccountingExtensionInvoice) SetInvoiceLink(v string)
SetInvoiceLink sets field value
func (*AccountingExtensionInvoice) SetInvoiceNumber ¶
func (o *AccountingExtensionInvoice) SetInvoiceNumber(v string)
SetInvoiceNumber gets a reference to the given string and assigns it to the InvoiceNumber field.
func (*AccountingExtensionInvoice) SetStatus ¶
func (o *AccountingExtensionInvoice) SetStatus(v string)
SetStatus sets field value
type AccountingExtensionTerm ¶
type AccountingExtensionTerm struct { // The due date for payment of the invoice, in ISO-8601 date format (yyyy-MM-dd) DueDate *string `json:"dueDate,omitempty"` // The display name of the payment terms. Name string `json:"name"` // The ID of the payment terms in the external accounting system. Id string `json:"id"` // The number of days that these payment terms represent. DueDays *int32 `json:"dueDays,omitempty"` }
AccountingExtensionTerm Representation of payment terms that are defined in the external accounting system. One of 'dueDays' or 'dueDate' is required.
func NewAccountingExtensionTerm ¶
func NewAccountingExtensionTerm(name string, id string) *AccountingExtensionTerm
NewAccountingExtensionTerm instantiates a new AccountingExtensionTerm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingExtensionTermWithDefaults ¶
func NewAccountingExtensionTermWithDefaults() *AccountingExtensionTerm
NewAccountingExtensionTermWithDefaults instantiates a new AccountingExtensionTerm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingExtensionTerm) GetDueDate ¶
func (o *AccountingExtensionTerm) GetDueDate() string
GetDueDate returns the DueDate field value if set, zero value otherwise.
func (*AccountingExtensionTerm) GetDueDateOk ¶
func (o *AccountingExtensionTerm) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionTerm) GetDueDays ¶
func (o *AccountingExtensionTerm) GetDueDays() int32
GetDueDays returns the DueDays field value if set, zero value otherwise.
func (*AccountingExtensionTerm) GetDueDaysOk ¶
func (o *AccountingExtensionTerm) GetDueDaysOk() (*int32, bool)
GetDueDaysOk returns a tuple with the DueDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountingExtensionTerm) GetId ¶
func (o *AccountingExtensionTerm) GetId() string
GetId returns the Id field value
func (*AccountingExtensionTerm) GetIdOk ¶
func (o *AccountingExtensionTerm) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountingExtensionTerm) GetName ¶
func (o *AccountingExtensionTerm) GetName() string
GetName returns the Name field value
func (*AccountingExtensionTerm) GetNameOk ¶
func (o *AccountingExtensionTerm) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AccountingExtensionTerm) HasDueDate ¶
func (o *AccountingExtensionTerm) HasDueDate() bool
HasDueDate returns a boolean if a field has been set.
func (*AccountingExtensionTerm) HasDueDays ¶
func (o *AccountingExtensionTerm) HasDueDays() bool
HasDueDays returns a boolean if a field has been set.
func (AccountingExtensionTerm) MarshalJSON ¶
func (o AccountingExtensionTerm) MarshalJSON() ([]byte, error)
func (*AccountingExtensionTerm) SetDueDate ¶
func (o *AccountingExtensionTerm) SetDueDate(v string)
SetDueDate gets a reference to the given string and assigns it to the DueDate field.
func (*AccountingExtensionTerm) SetDueDays ¶
func (o *AccountingExtensionTerm) SetDueDays(v int32)
SetDueDays gets a reference to the given int32 and assigns it to the DueDays field.
func (*AccountingExtensionTerm) SetId ¶
func (o *AccountingExtensionTerm) SetId(v string)
SetId sets field value
func (*AccountingExtensionTerm) SetName ¶
func (o *AccountingExtensionTerm) SetName(v string)
SetName sets field value
type AccountingFeatures ¶
type AccountingFeatures struct { CreateInvoice CreateInvoiceFeature `json:"createInvoice"` ImportInvoice ImportInvoiceFeature `json:"importInvoice"` // Indicates if syncing objects from the external account system into HubSpot is supported for the integration. This is a map, where the key is one of `CONTACT` or `PRODUCT`, to indicate which type of object you do or don't support syncing. For example: “` \"sync\": { \"CONTACT\": { \"toHubSpot\": true }, \"PRODUCT\": { \"toHubSpot\": true } } “` Sync map[string]ObjectSyncFeature `json:"sync"` }
AccountingFeatures Outlines the features that are supported by the external accounting system.
func NewAccountingFeatures ¶
func NewAccountingFeatures(createInvoice CreateInvoiceFeature, importInvoice ImportInvoiceFeature, sync map[string]ObjectSyncFeature) *AccountingFeatures
NewAccountingFeatures instantiates a new AccountingFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountingFeaturesWithDefaults ¶
func NewAccountingFeaturesWithDefaults() *AccountingFeatures
NewAccountingFeaturesWithDefaults instantiates a new AccountingFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountingFeatures) GetCreateInvoice ¶
func (o *AccountingFeatures) GetCreateInvoice() CreateInvoiceFeature
GetCreateInvoice returns the CreateInvoice field value
func (*AccountingFeatures) GetCreateInvoiceOk ¶
func (o *AccountingFeatures) GetCreateInvoiceOk() (*CreateInvoiceFeature, bool)
GetCreateInvoiceOk returns a tuple with the CreateInvoice field value and a boolean to check if the value has been set.
func (*AccountingFeatures) GetImportInvoice ¶
func (o *AccountingFeatures) GetImportInvoice() ImportInvoiceFeature
GetImportInvoice returns the ImportInvoice field value
func (*AccountingFeatures) GetImportInvoiceOk ¶
func (o *AccountingFeatures) GetImportInvoiceOk() (*ImportInvoiceFeature, bool)
GetImportInvoiceOk returns a tuple with the ImportInvoice field value and a boolean to check if the value has been set.
func (*AccountingFeatures) GetSync ¶
func (o *AccountingFeatures) GetSync() map[string]ObjectSyncFeature
GetSync returns the Sync field value
func (*AccountingFeatures) GetSyncOk ¶
func (o *AccountingFeatures) GetSyncOk() (*map[string]ObjectSyncFeature, bool)
GetSyncOk returns a tuple with the Sync field value and a boolean to check if the value has been set.
func (AccountingFeatures) MarshalJSON ¶
func (o AccountingFeatures) MarshalJSON() ([]byte, error)
func (*AccountingFeatures) SetCreateInvoice ¶
func (o *AccountingFeatures) SetCreateInvoice(v CreateInvoiceFeature)
SetCreateInvoice sets field value
func (*AccountingFeatures) SetImportInvoice ¶
func (o *AccountingFeatures) SetImportInvoice(v ImportInvoiceFeature)
SetImportInvoice sets field value
func (*AccountingFeatures) SetSync ¶
func (o *AccountingFeatures) SetSync(v map[string]ObjectSyncFeature)
SetSync sets field value
type ActionResponse ¶
type ActionResponse struct { Status string `json:"status"` RequestedAt *time.Time `json:"requestedAt,omitempty"` StartedAt time.Time `json:"startedAt"` CompletedAt time.Time `json:"completedAt"` Links *map[string]string `json:"links,omitempty"` }
ActionResponse struct for ActionResponse
func NewActionResponse ¶
NewActionResponse instantiates a new ActionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionResponseWithDefaults ¶
func NewActionResponseWithDefaults() *ActionResponse
NewActionResponseWithDefaults instantiates a new ActionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionResponse) GetCompletedAt ¶
func (o *ActionResponse) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value
func (*ActionResponse) GetCompletedAtOk ¶
func (o *ActionResponse) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field value and a boolean to check if the value has been set.
func (*ActionResponse) GetLinks ¶
func (o *ActionResponse) GetLinks() map[string]string
GetLinks returns the Links field value if set, zero value otherwise.
func (*ActionResponse) GetLinksOk ¶
func (o *ActionResponse) GetLinksOk() (*map[string]string, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionResponse) GetRequestedAt ¶
func (o *ActionResponse) GetRequestedAt() time.Time
GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.
func (*ActionResponse) GetRequestedAtOk ¶
func (o *ActionResponse) GetRequestedAtOk() (*time.Time, bool)
GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionResponse) GetStartedAt ¶
func (o *ActionResponse) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field value
func (*ActionResponse) GetStartedAtOk ¶
func (o *ActionResponse) GetStartedAtOk() (*time.Time, bool)
GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.
func (*ActionResponse) GetStatus ¶
func (o *ActionResponse) GetStatus() string
GetStatus returns the Status field value
func (*ActionResponse) GetStatusOk ¶
func (o *ActionResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ActionResponse) HasLinks ¶
func (o *ActionResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ActionResponse) HasRequestedAt ¶
func (o *ActionResponse) HasRequestedAt() bool
HasRequestedAt returns a boolean if a field has been set.
func (ActionResponse) MarshalJSON ¶
func (o ActionResponse) MarshalJSON() ([]byte, error)
func (*ActionResponse) SetCompletedAt ¶
func (o *ActionResponse) SetCompletedAt(v time.Time)
SetCompletedAt sets field value
func (*ActionResponse) SetLinks ¶
func (o *ActionResponse) SetLinks(v map[string]string)
SetLinks gets a reference to the given map[string]string and assigns it to the Links field.
func (*ActionResponse) SetRequestedAt ¶
func (o *ActionResponse) SetRequestedAt(v time.Time)
SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.
func (*ActionResponse) SetStartedAt ¶
func (o *ActionResponse) SetStartedAt(v time.Time)
SetStartedAt sets field value
func (*ActionResponse) SetStatus ¶
func (o *ActionResponse) SetStatus(v string)
SetStatus sets field value
type Address ¶
type Address struct { // The country of the address. Country *string `json:"country,omitempty"` // A region of the county of the address. May represent county, state etc. CountrySubDivisionCode *string `json:"countrySubDivisionCode,omitempty"` // The city of the address. City *string `json:"city,omitempty"` // The postcode/zipcode of the address. PostalCode *string `json:"postalCode,omitempty"` // The first line of the address. LineOne *string `json:"lineOne,omitempty"` }
Address Represents an address of a customer
func NewAddress ¶
func NewAddress() *Address
NewAddress instantiates a new Address object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddressWithDefaults ¶
func NewAddressWithDefaults() *Address
NewAddressWithDefaults instantiates a new Address object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Address) GetCityOk ¶
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCountry ¶
GetCountry returns the Country field value if set, zero value otherwise.
func (*Address) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCountrySubDivisionCode ¶
GetCountrySubDivisionCode returns the CountrySubDivisionCode field value if set, zero value otherwise.
func (*Address) GetCountrySubDivisionCodeOk ¶
GetCountrySubDivisionCodeOk returns a tuple with the CountrySubDivisionCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetLineOne ¶
GetLineOne returns the LineOne field value if set, zero value otherwise.
func (*Address) GetLineOneOk ¶
GetLineOneOk returns a tuple with the LineOne field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetPostalCode ¶
GetPostalCode returns the PostalCode field value if set, zero value otherwise.
func (*Address) GetPostalCodeOk ¶
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*Address) HasCountrySubDivisionCode ¶
HasCountrySubDivisionCode returns a boolean if a field has been set.
func (*Address) HasLineOne ¶
HasLineOne returns a boolean if a field has been set.
func (*Address) HasPostalCode ¶
HasPostalCode returns a boolean if a field has been set.
func (Address) MarshalJSON ¶
func (*Address) SetCity ¶
SetCity gets a reference to the given string and assigns it to the City field.
func (*Address) SetCountry ¶
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*Address) SetCountrySubDivisionCode ¶
SetCountrySubDivisionCode gets a reference to the given string and assigns it to the CountrySubDivisionCode field.
func (*Address) SetLineOne ¶
SetLineOne gets a reference to the given string and assigns it to the LineOne field.
func (*Address) SetPostalCode ¶
SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.
type ApiCallbackCreateCustomerRequest ¶
type ApiCallbackCreateCustomerRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackCreateCustomerRequest) Execute ¶
func (r ApiCallbackCreateCustomerRequest) Execute() (*http.Response, error)
func (ApiCallbackCreateCustomerRequest) ResultIdAccountingResponse ¶
func (r ApiCallbackCreateCustomerRequest) ResultIdAccountingResponse(resultIdAccountingResponse ResultIdAccountingResponse) ApiCallbackCreateCustomerRequest
The ID of the created customer.
type ApiCallbackCreateExchangeRateRequest ¶
type ApiCallbackCreateExchangeRateRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackCreateExchangeRateRequest) ExchangeRateResponse ¶
func (r ApiCallbackCreateExchangeRateRequest) ExchangeRateResponse(exchangeRateResponse ExchangeRateResponse) ApiCallbackCreateExchangeRateRequest
The result of the exchange rate request.
type ApiCallbackCreateInvoiceRequest ¶
type ApiCallbackCreateInvoiceRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackCreateInvoiceRequest) Execute ¶
func (r ApiCallbackCreateInvoiceRequest) Execute() (*http.Response, error)
func (ApiCallbackCreateInvoiceRequest) ResultIdAccountingResponse ¶
func (r ApiCallbackCreateInvoiceRequest) ResultIdAccountingResponse(resultIdAccountingResponse ResultIdAccountingResponse) ApiCallbackCreateInvoiceRequest
The ID of the created invoice.
type ApiCallbackCreateTermRequest ¶
type ApiCallbackCreateTermRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackCreateTermRequest) Execute ¶
func (r ApiCallbackCreateTermRequest) Execute() (*http.Response, error)
func (ApiCallbackCreateTermRequest) TermsResponse ¶
func (r ApiCallbackCreateTermRequest) TermsResponse(termsResponse TermsResponse) ApiCallbackCreateTermRequest
The result of the terms search
type ApiCallbackDoInvoiceSearchRequest ¶
type ApiCallbackDoInvoiceSearchRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackDoInvoiceSearchRequest) Execute ¶
func (r ApiCallbackDoInvoiceSearchRequest) Execute() (*http.Response, error)
func (ApiCallbackDoInvoiceSearchRequest) InvoiceSearchResponse ¶
func (r ApiCallbackDoInvoiceSearchRequest) InvoiceSearchResponse(invoiceSearchResponse InvoiceSearchResponse) ApiCallbackDoInvoiceSearchRequest
The result of the invoice search request.
type ApiCallbackDoProductSearchRequest ¶
type ApiCallbackDoProductSearchRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackDoProductSearchRequest) Execute ¶
func (r ApiCallbackDoProductSearchRequest) Execute() (*http.Response, error)
func (ApiCallbackDoProductSearchRequest) ProductSearchResponse ¶
func (r ApiCallbackDoProductSearchRequest) ProductSearchResponse(productSearchResponse ProductSearchResponse) ApiCallbackDoProductSearchRequest
The result of the product search request.
type ApiCallbackDoSearchCustomerRequest ¶
type ApiCallbackDoSearchCustomerRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackDoSearchCustomerRequest) CustomerSearchResponseExternal ¶
func (r ApiCallbackDoSearchCustomerRequest) CustomerSearchResponseExternal(customerSearchResponseExternal CustomerSearchResponseExternal) ApiCallbackDoSearchCustomerRequest
The result of the customer search request.
type ApiCallbackDoTaxSearchRequest ¶
type ApiCallbackDoTaxSearchRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackDoTaxSearchRequest) Execute ¶
func (r ApiCallbackDoTaxSearchRequest) Execute() (*http.Response, error)
func (ApiCallbackDoTaxSearchRequest) TaxSearchResponse ¶
func (r ApiCallbackDoTaxSearchRequest) TaxSearchResponse(taxSearchResponse TaxSearchResponse) ApiCallbackDoTaxSearchRequest
The result of the taxes search request.
type ApiCallbackGetByIDRequest ¶
type ApiCallbackGetByIDRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackGetByIDRequest) Execute ¶
func (r ApiCallbackGetByIDRequest) Execute() (*http.Response, error)
func (ApiCallbackGetByIDRequest) InvoicesResponseExternal ¶
func (r ApiCallbackGetByIDRequest) InvoicesResponseExternal(invoicesResponseExternal InvoicesResponseExternal) ApiCallbackGetByIDRequest
The result of the invoice request.
type ApiCallbackInvoicePDFRequest ¶
type ApiCallbackInvoicePDFRequest struct { ApiService *CallbacksApiService // contains filtered or unexported fields }
func (ApiCallbackInvoicePDFRequest) Execute ¶
func (r ApiCallbackInvoicePDFRequest) Execute() (*http.Response, error)
func (ApiCallbackInvoicePDFRequest) InvoicePdfResponse ¶
func (r ApiCallbackInvoicePDFRequest) InvoicePdfResponse(invoicePdfResponse InvoicePdfResponse) ApiCallbackInvoicePDFRequest
The bytes of the invoice PDF.
type ApiInvoiceCreatePaymentRequest ¶
type ApiInvoiceCreatePaymentRequest struct { ApiService *InvoiceApiService // contains filtered or unexported fields }
func (ApiInvoiceCreatePaymentRequest) AccountId ¶
func (r ApiInvoiceCreatePaymentRequest) AccountId(accountId string) ApiInvoiceCreatePaymentRequest
The ID of the account that the invoice belongs to. This is the account ID from the external accounting system.
func (ApiInvoiceCreatePaymentRequest) Execute ¶
func (r ApiInvoiceCreatePaymentRequest) Execute() (*InvoiceUpdateResponse, *http.Response, error)
func (ApiInvoiceCreatePaymentRequest) InvoiceCreatePaymentRequest ¶
func (r ApiInvoiceCreatePaymentRequest) InvoiceCreatePaymentRequest(invoiceCreatePaymentRequest InvoiceCreatePaymentRequest) ApiInvoiceCreatePaymentRequest
The payment information
type ApiInvoiceGetByIDRequest ¶
type ApiInvoiceGetByIDRequest struct { ApiService *InvoiceApiService // contains filtered or unexported fields }
func (ApiInvoiceGetByIDRequest) AccountId ¶
func (r ApiInvoiceGetByIDRequest) AccountId(accountId string) ApiInvoiceGetByIDRequest
The ID of the account that the invoice belongs to. This is the account ID from the external accounting system.
func (ApiInvoiceGetByIDRequest) Execute ¶
func (r ApiInvoiceGetByIDRequest) Execute() (*InvoiceReadResponse, *http.Response, error)
type ApiInvoiceUpdateRequest ¶
type ApiInvoiceUpdateRequest struct { ApiService *InvoiceApiService // contains filtered or unexported fields }
func (ApiInvoiceUpdateRequest) AccountId ¶
func (r ApiInvoiceUpdateRequest) AccountId(accountId string) ApiInvoiceUpdateRequest
The ID of the account that the invoice belongs to. This is the account ID from the external accounting system.
func (ApiInvoiceUpdateRequest) Execute ¶
func (r ApiInvoiceUpdateRequest) Execute() (*InvoiceUpdateResponse, *http.Response, error)
func (ApiInvoiceUpdateRequest) InvoiceUpdateRequest ¶
func (r ApiInvoiceUpdateRequest) InvoiceUpdateRequest(invoiceUpdateRequest InvoiceUpdateRequest) ApiInvoiceUpdateRequest
The invoice data to update
type ApiSettingsGetByIDRequest ¶
type ApiSettingsGetByIDRequest struct { ApiService *SettingsApiService // contains filtered or unexported fields }
func (ApiSettingsGetByIDRequest) Execute ¶
func (r ApiSettingsGetByIDRequest) Execute() (*AccountingAppSettings, *http.Response, error)
type ApiSettingsReplaceRequest ¶
type ApiSettingsReplaceRequest struct { ApiService *SettingsApiService // contains filtered or unexported fields }
func (ApiSettingsReplaceRequest) AccountingAppSettings ¶
func (r ApiSettingsReplaceRequest) AccountingAppSettings(accountingAppSettings AccountingAppSettings) ApiSettingsReplaceRequest
type ApiSyncCreateContactRequest ¶
type ApiSyncCreateContactRequest struct { ApiService *SyncApiService // contains filtered or unexported fields }
func (ApiSyncCreateContactRequest) Execute ¶
func (r ApiSyncCreateContactRequest) Execute() (*ActionResponse, *http.Response, error)
func (ApiSyncCreateContactRequest) SyncContactsRequest ¶
func (r ApiSyncCreateContactRequest) SyncContactsRequest(syncContactsRequest SyncContactsRequest) ApiSyncCreateContactRequest
type ApiSyncCreateProductRequest ¶
type ApiSyncCreateProductRequest struct { ApiService *SyncApiService // contains filtered or unexported fields }
func (ApiSyncCreateProductRequest) Execute ¶
func (r ApiSyncCreateProductRequest) Execute() (*ActionResponse, *http.Response, error)
func (ApiSyncCreateProductRequest) SyncProductsRequest ¶
func (r ApiSyncCreateProductRequest) SyncProductsRequest(syncProductsRequest SyncProductsRequest) ApiSyncCreateProductRequest
type ApiUserAccountsArchiveRequest ¶
type ApiUserAccountsArchiveRequest struct { ApiService *UserAccountsApiService // contains filtered or unexported fields }
type ApiUserAccountsReplaceRequest ¶
type ApiUserAccountsReplaceRequest struct { ApiService *UserAccountsApiService // contains filtered or unexported fields }
func (ApiUserAccountsReplaceRequest) CreateUserAccountRequestExternal ¶
func (r ApiUserAccountsReplaceRequest) CreateUserAccountRequestExternal(createUserAccountRequestExternal CreateUserAccountRequestExternal) ApiUserAccountsReplaceRequest
The external accounting system user account information.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CallbacksApiService ¶
type CallbacksApiService service
CallbacksApiService CallbacksApi service
func (*CallbacksApiService) CallbackCreateCustomer ¶
func (a *CallbacksApiService) CallbackCreateCustomer(ctx context.Context, requestId string) ApiCallbackCreateCustomerRequest
CallbackCreateCustomer Endpoint for customer creation response
Call this endpoint with the response to a customer creation request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackCreateCustomerRequest
func (*CallbacksApiService) CallbackCreateCustomerExecute ¶
func (a *CallbacksApiService) CallbackCreateCustomerExecute(r ApiCallbackCreateCustomerRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackCreateExchangeRate ¶
func (a *CallbacksApiService) CallbackCreateExchangeRate(ctx context.Context, requestId string) ApiCallbackCreateExchangeRateRequest
CallbackCreateExchangeRate Endpoint for exchange rate response
Call this endpoint with the response to an exchange rate request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackCreateExchangeRateRequest
func (*CallbacksApiService) CallbackCreateExchangeRateExecute ¶
func (a *CallbacksApiService) CallbackCreateExchangeRateExecute(r ApiCallbackCreateExchangeRateRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackCreateInvoice ¶
func (a *CallbacksApiService) CallbackCreateInvoice(ctx context.Context, requestId string) ApiCallbackCreateInvoiceRequest
CallbackCreateInvoice Endpoint for invoice creation response
Call this endpoint with the response to a invoice creation request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackCreateInvoiceRequest
func (*CallbacksApiService) CallbackCreateInvoiceExecute ¶
func (a *CallbacksApiService) CallbackCreateInvoiceExecute(r ApiCallbackCreateInvoiceRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackCreateTerm ¶
func (a *CallbacksApiService) CallbackCreateTerm(ctx context.Context, requestId string) ApiCallbackCreateTermRequest
CallbackCreateTerm Endpoint for terms search response
Call this endpoint with the response to a terms search request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackCreateTermRequest
func (*CallbacksApiService) CallbackCreateTermExecute ¶
func (a *CallbacksApiService) CallbackCreateTermExecute(r ApiCallbackCreateTermRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackDoInvoiceSearch ¶
func (a *CallbacksApiService) CallbackDoInvoiceSearch(ctx context.Context, requestId string) ApiCallbackDoInvoiceSearchRequest
CallbackDoInvoiceSearch Endpoint for invoice search response
Call this endpoint with the response to a invoice search request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackDoInvoiceSearchRequest
func (*CallbacksApiService) CallbackDoInvoiceSearchExecute ¶
func (a *CallbacksApiService) CallbackDoInvoiceSearchExecute(r ApiCallbackDoInvoiceSearchRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackDoProductSearch ¶
func (a *CallbacksApiService) CallbackDoProductSearch(ctx context.Context, requestId string) ApiCallbackDoProductSearchRequest
CallbackDoProductSearch Endpoint for product search response
Call this endpoint with the response to a product search request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackDoProductSearchRequest
func (*CallbacksApiService) CallbackDoProductSearchExecute ¶
func (a *CallbacksApiService) CallbackDoProductSearchExecute(r ApiCallbackDoProductSearchRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackDoSearchCustomer ¶
func (a *CallbacksApiService) CallbackDoSearchCustomer(ctx context.Context, requestId string) ApiCallbackDoSearchCustomerRequest
CallbackDoSearchCustomer Endpoint for customer search response
Call this endpoint with the response to a customer search request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackDoSearchCustomerRequest
func (*CallbacksApiService) CallbackDoSearchCustomerExecute ¶
func (a *CallbacksApiService) CallbackDoSearchCustomerExecute(r ApiCallbackDoSearchCustomerRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackDoTaxSearch ¶
func (a *CallbacksApiService) CallbackDoTaxSearch(ctx context.Context, requestId string) ApiCallbackDoTaxSearchRequest
CallbackDoTaxSearch Endpoint for taxes search response
Call this endpoint with the response to a taxes search request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackDoTaxSearchRequest
func (*CallbacksApiService) CallbackDoTaxSearchExecute ¶
func (a *CallbacksApiService) CallbackDoTaxSearchExecute(r ApiCallbackDoTaxSearchRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackGetByID ¶
func (a *CallbacksApiService) CallbackGetByID(ctx context.Context, requestId string) ApiCallbackGetByIDRequest
CallbackGetByID Endpoint for invoice get-by-id response
Call this endpoint with the response to a invoice get-by-id request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackGetByIDRequest
func (*CallbacksApiService) CallbackGetByIDExecute ¶
func (a *CallbacksApiService) CallbackGetByIDExecute(r ApiCallbackGetByIDRequest) (*http.Response, error)
Execute executes the request
func (*CallbacksApiService) CallbackInvoicePDF ¶
func (a *CallbacksApiService) CallbackInvoicePDF(ctx context.Context, requestId string) ApiCallbackInvoicePDFRequest
CallbackInvoicePDF Endpoint for PDF content of invoice
Call this endpoint with the PDF content of a requested invoice.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param requestId The ID of the request that this response is for @return ApiCallbackInvoicePDFRequest
func (*CallbacksApiService) CallbackInvoicePDFExecute ¶
func (a *CallbacksApiService) CallbackInvoicePDFExecute(r ApiCallbackInvoicePDFRequest) (*http.Response, error)
Execute executes the request
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateInvoiceFeature ¶
type CreateInvoiceFeature struct { // Indicates if creating invoices in HubSpot is supported for the integration. Enabled bool `json:"enabled"` SubFeatures CreateInvoiceSubFeatures `json:"subFeatures"` }
CreateInvoiceFeature Indicates what elements of creating invoices in HubSpot is supported for the integration.
func NewCreateInvoiceFeature ¶
func NewCreateInvoiceFeature(enabled bool, subFeatures CreateInvoiceSubFeatures) *CreateInvoiceFeature
NewCreateInvoiceFeature instantiates a new CreateInvoiceFeature object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInvoiceFeatureWithDefaults ¶
func NewCreateInvoiceFeatureWithDefaults() *CreateInvoiceFeature
NewCreateInvoiceFeatureWithDefaults instantiates a new CreateInvoiceFeature object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInvoiceFeature) GetEnabled ¶
func (o *CreateInvoiceFeature) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*CreateInvoiceFeature) GetEnabledOk ¶
func (o *CreateInvoiceFeature) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*CreateInvoiceFeature) GetSubFeatures ¶
func (o *CreateInvoiceFeature) GetSubFeatures() CreateInvoiceSubFeatures
GetSubFeatures returns the SubFeatures field value
func (*CreateInvoiceFeature) GetSubFeaturesOk ¶
func (o *CreateInvoiceFeature) GetSubFeaturesOk() (*CreateInvoiceSubFeatures, bool)
GetSubFeaturesOk returns a tuple with the SubFeatures field value and a boolean to check if the value has been set.
func (CreateInvoiceFeature) MarshalJSON ¶
func (o CreateInvoiceFeature) MarshalJSON() ([]byte, error)
func (*CreateInvoiceFeature) SetEnabled ¶
func (o *CreateInvoiceFeature) SetEnabled(v bool)
SetEnabled sets field value
func (*CreateInvoiceFeature) SetSubFeatures ¶
func (o *CreateInvoiceFeature) SetSubFeatures(v CreateInvoiceSubFeatures)
SetSubFeatures sets field value
type CreateInvoiceSubFeatures ¶
type CreateInvoiceSubFeatures struct { // Indicates if a new customer can be created in the external accounting system. CreateCustomer bool `json:"createCustomer"` // Indicates if taxes can be specified by the HubSpot user for line items. Taxes bool `json:"taxes"` // Indicates if the external accounting system supports fetching exchange rates when create an invoice in HubSpot for a customer billed in a different currency. ExchangeRates bool `json:"exchangeRates"` // Indicates if the external accounting system supports fetching payment terms. Terms bool `json:"terms"` // Indicates if a visible comment can be added to invoices. InvoiceComments bool `json:"invoiceComments"` // Indicates if invoice-level discounts can be added to invoices. InvoiceDiscounts bool `json:"invoiceDiscounts"` }
CreateInvoiceSubFeatures Lists the individual aspects of creating invoices that are enabled for the integration, as part of the create invoice flow in HubSpot.
func NewCreateInvoiceSubFeatures ¶
func NewCreateInvoiceSubFeatures(createCustomer bool, taxes bool, exchangeRates bool, terms bool, invoiceComments bool, invoiceDiscounts bool) *CreateInvoiceSubFeatures
NewCreateInvoiceSubFeatures instantiates a new CreateInvoiceSubFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInvoiceSubFeaturesWithDefaults ¶
func NewCreateInvoiceSubFeaturesWithDefaults() *CreateInvoiceSubFeatures
NewCreateInvoiceSubFeaturesWithDefaults instantiates a new CreateInvoiceSubFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInvoiceSubFeatures) GetCreateCustomer ¶
func (o *CreateInvoiceSubFeatures) GetCreateCustomer() bool
GetCreateCustomer returns the CreateCustomer field value
func (*CreateInvoiceSubFeatures) GetCreateCustomerOk ¶
func (o *CreateInvoiceSubFeatures) GetCreateCustomerOk() (*bool, bool)
GetCreateCustomerOk returns a tuple with the CreateCustomer field value and a boolean to check if the value has been set.
func (*CreateInvoiceSubFeatures) GetExchangeRates ¶
func (o *CreateInvoiceSubFeatures) GetExchangeRates() bool
GetExchangeRates returns the ExchangeRates field value
func (*CreateInvoiceSubFeatures) GetExchangeRatesOk ¶
func (o *CreateInvoiceSubFeatures) GetExchangeRatesOk() (*bool, bool)
GetExchangeRatesOk returns a tuple with the ExchangeRates field value and a boolean to check if the value has been set.
func (*CreateInvoiceSubFeatures) GetInvoiceComments ¶
func (o *CreateInvoiceSubFeatures) GetInvoiceComments() bool
GetInvoiceComments returns the InvoiceComments field value
func (*CreateInvoiceSubFeatures) GetInvoiceCommentsOk ¶
func (o *CreateInvoiceSubFeatures) GetInvoiceCommentsOk() (*bool, bool)
GetInvoiceCommentsOk returns a tuple with the InvoiceComments field value and a boolean to check if the value has been set.
func (*CreateInvoiceSubFeatures) GetInvoiceDiscounts ¶
func (o *CreateInvoiceSubFeatures) GetInvoiceDiscounts() bool
GetInvoiceDiscounts returns the InvoiceDiscounts field value
func (*CreateInvoiceSubFeatures) GetInvoiceDiscountsOk ¶
func (o *CreateInvoiceSubFeatures) GetInvoiceDiscountsOk() (*bool, bool)
GetInvoiceDiscountsOk returns a tuple with the InvoiceDiscounts field value and a boolean to check if the value has been set.
func (*CreateInvoiceSubFeatures) GetTaxes ¶
func (o *CreateInvoiceSubFeatures) GetTaxes() bool
GetTaxes returns the Taxes field value
func (*CreateInvoiceSubFeatures) GetTaxesOk ¶
func (o *CreateInvoiceSubFeatures) GetTaxesOk() (*bool, bool)
GetTaxesOk returns a tuple with the Taxes field value and a boolean to check if the value has been set.
func (*CreateInvoiceSubFeatures) GetTerms ¶
func (o *CreateInvoiceSubFeatures) GetTerms() bool
GetTerms returns the Terms field value
func (*CreateInvoiceSubFeatures) GetTermsOk ¶
func (o *CreateInvoiceSubFeatures) GetTermsOk() (*bool, bool)
GetTermsOk returns a tuple with the Terms field value and a boolean to check if the value has been set.
func (CreateInvoiceSubFeatures) MarshalJSON ¶
func (o CreateInvoiceSubFeatures) MarshalJSON() ([]byte, error)
func (*CreateInvoiceSubFeatures) SetCreateCustomer ¶
func (o *CreateInvoiceSubFeatures) SetCreateCustomer(v bool)
SetCreateCustomer sets field value
func (*CreateInvoiceSubFeatures) SetExchangeRates ¶
func (o *CreateInvoiceSubFeatures) SetExchangeRates(v bool)
SetExchangeRates sets field value
func (*CreateInvoiceSubFeatures) SetInvoiceComments ¶
func (o *CreateInvoiceSubFeatures) SetInvoiceComments(v bool)
SetInvoiceComments sets field value
func (*CreateInvoiceSubFeatures) SetInvoiceDiscounts ¶
func (o *CreateInvoiceSubFeatures) SetInvoiceDiscounts(v bool)
SetInvoiceDiscounts sets field value
func (*CreateInvoiceSubFeatures) SetTaxes ¶
func (o *CreateInvoiceSubFeatures) SetTaxes(v bool)
SetTaxes sets field value
func (*CreateInvoiceSubFeatures) SetTerms ¶
func (o *CreateInvoiceSubFeatures) SetTerms(v bool)
SetTerms sets field value
type CreateUserAccountRequestExternal ¶
type CreateUserAccountRequestExternal struct { // The id of the account in your system. AccountId string `json:"accountId"` // The name of the account in your system. This is normally the name visible to your users. AccountName string `json:"accountName"` // The default currency that this account uses. CurrencyCode string `json:"currencyCode"` }
CreateUserAccountRequestExternal Information about the account in your external account system.
func NewCreateUserAccountRequestExternal ¶
func NewCreateUserAccountRequestExternal(accountId string, accountName string, currencyCode string) *CreateUserAccountRequestExternal
NewCreateUserAccountRequestExternal instantiates a new CreateUserAccountRequestExternal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserAccountRequestExternalWithDefaults ¶
func NewCreateUserAccountRequestExternalWithDefaults() *CreateUserAccountRequestExternal
NewCreateUserAccountRequestExternalWithDefaults instantiates a new CreateUserAccountRequestExternal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserAccountRequestExternal) GetAccountId ¶
func (o *CreateUserAccountRequestExternal) GetAccountId() string
GetAccountId returns the AccountId field value
func (*CreateUserAccountRequestExternal) GetAccountIdOk ¶
func (o *CreateUserAccountRequestExternal) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*CreateUserAccountRequestExternal) GetAccountName ¶
func (o *CreateUserAccountRequestExternal) GetAccountName() string
GetAccountName returns the AccountName field value
func (*CreateUserAccountRequestExternal) GetAccountNameOk ¶
func (o *CreateUserAccountRequestExternal) GetAccountNameOk() (*string, bool)
GetAccountNameOk returns a tuple with the AccountName field value and a boolean to check if the value has been set.
func (*CreateUserAccountRequestExternal) GetCurrencyCode ¶
func (o *CreateUserAccountRequestExternal) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*CreateUserAccountRequestExternal) GetCurrencyCodeOk ¶
func (o *CreateUserAccountRequestExternal) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (CreateUserAccountRequestExternal) MarshalJSON ¶
func (o CreateUserAccountRequestExternal) MarshalJSON() ([]byte, error)
func (*CreateUserAccountRequestExternal) SetAccountId ¶
func (o *CreateUserAccountRequestExternal) SetAccountId(v string)
SetAccountId sets field value
func (*CreateUserAccountRequestExternal) SetAccountName ¶
func (o *CreateUserAccountRequestExternal) SetAccountName(v string)
SetAccountName sets field value
func (*CreateUserAccountRequestExternal) SetCurrencyCode ¶
func (o *CreateUserAccountRequestExternal) SetCurrencyCode(v string)
SetCurrencyCode sets field value
type CustomerSearchResponseExternal ¶
type CustomerSearchResponseExternal struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result string `json:"@result"` // The list of customers that matched the search criteria. Customers []AccountingExtensionCustomer `json:"customers"` }
CustomerSearchResponseExternal A response to a search for customers.
func NewCustomerSearchResponseExternal ¶
func NewCustomerSearchResponseExternal(result string, customers []AccountingExtensionCustomer) *CustomerSearchResponseExternal
NewCustomerSearchResponseExternal instantiates a new CustomerSearchResponseExternal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCustomerSearchResponseExternalWithDefaults ¶
func NewCustomerSearchResponseExternalWithDefaults() *CustomerSearchResponseExternal
NewCustomerSearchResponseExternalWithDefaults instantiates a new CustomerSearchResponseExternal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CustomerSearchResponseExternal) GetCustomers ¶
func (o *CustomerSearchResponseExternal) GetCustomers() []AccountingExtensionCustomer
GetCustomers returns the Customers field value
func (*CustomerSearchResponseExternal) GetCustomersOk ¶
func (o *CustomerSearchResponseExternal) GetCustomersOk() ([]AccountingExtensionCustomer, bool)
GetCustomersOk returns a tuple with the Customers field value and a boolean to check if the value has been set.
func (*CustomerSearchResponseExternal) GetResult ¶
func (o *CustomerSearchResponseExternal) GetResult() string
GetResult returns the Result field value
func (*CustomerSearchResponseExternal) GetResultOk ¶
func (o *CustomerSearchResponseExternal) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (CustomerSearchResponseExternal) MarshalJSON ¶
func (o CustomerSearchResponseExternal) MarshalJSON() ([]byte, error)
func (*CustomerSearchResponseExternal) SetCustomers ¶
func (o *CustomerSearchResponseExternal) SetCustomers(v []AccountingExtensionCustomer)
SetCustomers sets field value
func (*CustomerSearchResponseExternal) SetResult ¶
func (o *CustomerSearchResponseExternal) SetResult(v string)
SetResult sets field value
type Error ¶
type Error struct { // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` // A unique identifier for the request. Include this value with any error reports or support tickets CorrelationId string `json:"correlationId"` // The error category Category string `json:"category"` // A specific category that contains more specific detail about the error SubCategory *string `json:"subCategory,omitempty"` // further information about the error Errors []ErrorDetail `json:"errors,omitempty"` // Context about the error condition Context *map[string][]string `json:"context,omitempty"` // A map of link names to associated URIs containing documentation about the error or recommended remediation steps Links *map[string]string `json:"links,omitempty"` }
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCategory ¶
GetCategory returns the Category field value
func (*Error) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*Error) GetContext ¶
GetContext returns the Context field value if set, zero value otherwise.
func (*Error) GetContextOk ¶
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetCorrelationId ¶
GetCorrelationId returns the CorrelationId field value
func (*Error) GetCorrelationIdOk ¶
GetCorrelationIdOk returns a tuple with the CorrelationId field value and a boolean to check if the value has been set.
func (*Error) GetErrors ¶
func (o *Error) GetErrors() []ErrorDetail
GetErrors returns the Errors field value if set, zero value otherwise.
func (*Error) GetErrorsOk ¶
func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetLinksOk ¶
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetSubCategory ¶
GetSubCategory returns the SubCategory field value if set, zero value otherwise.
func (*Error) GetSubCategoryOk ¶
GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasContext ¶
HasContext returns a boolean if a field has been set.
func (*Error) HasSubCategory ¶
HasSubCategory returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetContext ¶
SetContext gets a reference to the given map[string][]string and assigns it to the Context field.
func (*Error) SetCorrelationId ¶
SetCorrelationId sets field value
func (*Error) SetErrors ¶
func (o *Error) SetErrors(v []ErrorDetail)
SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.
func (*Error) SetLinks ¶
SetLinks gets a reference to the given map[string]string and assigns it to the Links field.
func (*Error) SetSubCategory ¶
SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.
type ErrorDetail ¶
type ErrorDetail struct { // A human readable message describing the error along with remediation steps where appropriate Message string `json:"message"` // The name of the field or parameter in which the error was found. In *string `json:"in,omitempty"` // The status code associated with the error detail Code *string `json:"code,omitempty"` // A specific category that contains more specific detail about the error SubCategory *string `json:"subCategory,omitempty"` // Context about the error condition Context *map[string][]string `json:"context,omitempty"` }
ErrorDetail struct for ErrorDetail
func NewErrorDetail ¶
func NewErrorDetail(message string) *ErrorDetail
NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorDetailWithDefaults ¶
func NewErrorDetailWithDefaults() *ErrorDetail
NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorDetail) GetCode ¶
func (o *ErrorDetail) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorDetail) GetCodeOk ¶
func (o *ErrorDetail) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetContext ¶
func (o *ErrorDetail) GetContext() map[string][]string
GetContext returns the Context field value if set, zero value otherwise.
func (*ErrorDetail) GetContextOk ¶
func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetIn ¶
func (o *ErrorDetail) GetIn() string
GetIn returns the In field value if set, zero value otherwise.
func (*ErrorDetail) GetInOk ¶
func (o *ErrorDetail) GetInOk() (*string, bool)
GetInOk returns a tuple with the In field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetMessage ¶
func (o *ErrorDetail) GetMessage() string
GetMessage returns the Message field value
func (*ErrorDetail) GetMessageOk ¶
func (o *ErrorDetail) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorDetail) GetSubCategory ¶
func (o *ErrorDetail) GetSubCategory() string
GetSubCategory returns the SubCategory field value if set, zero value otherwise.
func (*ErrorDetail) GetSubCategoryOk ¶
func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)
GetSubCategoryOk returns a tuple with the SubCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) HasCode ¶
func (o *ErrorDetail) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorDetail) HasContext ¶
func (o *ErrorDetail) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*ErrorDetail) HasIn ¶
func (o *ErrorDetail) HasIn() bool
HasIn returns a boolean if a field has been set.
func (*ErrorDetail) HasSubCategory ¶
func (o *ErrorDetail) HasSubCategory() bool
HasSubCategory returns a boolean if a field has been set.
func (ErrorDetail) MarshalJSON ¶
func (o ErrorDetail) MarshalJSON() ([]byte, error)
func (*ErrorDetail) SetCode ¶
func (o *ErrorDetail) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ErrorDetail) SetContext ¶
func (o *ErrorDetail) SetContext(v map[string][]string)
SetContext gets a reference to the given map[string][]string and assigns it to the Context field.
func (*ErrorDetail) SetIn ¶
func (o *ErrorDetail) SetIn(v string)
SetIn gets a reference to the given string and assigns it to the In field.
func (*ErrorDetail) SetMessage ¶
func (o *ErrorDetail) SetMessage(v string)
SetMessage sets field value
func (*ErrorDetail) SetSubCategory ¶
func (o *ErrorDetail) SetSubCategory(v string)
SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.
type ExchangeRateResponse ¶
type ExchangeRateResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result string `json:"@result"` // The exchange rate between the 2 currencies ExchangeRate float32 `json:"exchangeRate"` // The ISO 4217 currency code that represents the source currency of the exchange rate. SourceCurrencyCode string `json:"sourceCurrencyCode"` // The ISO 4217 currency code that represents the target currency of the exchange rate. TargetCurrencyCode string `json:"targetCurrencyCode"` }
ExchangeRateResponse A response to the request for an exchange rate value. It represents the exchange rate from the source currency to the target currency.
func NewExchangeRateResponse ¶
func NewExchangeRateResponse(result string, exchangeRate float32, sourceCurrencyCode string, targetCurrencyCode string) *ExchangeRateResponse
NewExchangeRateResponse instantiates a new ExchangeRateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExchangeRateResponseWithDefaults ¶
func NewExchangeRateResponseWithDefaults() *ExchangeRateResponse
NewExchangeRateResponseWithDefaults instantiates a new ExchangeRateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExchangeRateResponse) GetExchangeRate ¶
func (o *ExchangeRateResponse) GetExchangeRate() float32
GetExchangeRate returns the ExchangeRate field value
func (*ExchangeRateResponse) GetExchangeRateOk ¶
func (o *ExchangeRateResponse) GetExchangeRateOk() (*float32, bool)
GetExchangeRateOk returns a tuple with the ExchangeRate field value and a boolean to check if the value has been set.
func (*ExchangeRateResponse) GetResult ¶
func (o *ExchangeRateResponse) GetResult() string
GetResult returns the Result field value
func (*ExchangeRateResponse) GetResultOk ¶
func (o *ExchangeRateResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*ExchangeRateResponse) GetSourceCurrencyCode ¶
func (o *ExchangeRateResponse) GetSourceCurrencyCode() string
GetSourceCurrencyCode returns the SourceCurrencyCode field value
func (*ExchangeRateResponse) GetSourceCurrencyCodeOk ¶
func (o *ExchangeRateResponse) GetSourceCurrencyCodeOk() (*string, bool)
GetSourceCurrencyCodeOk returns a tuple with the SourceCurrencyCode field value and a boolean to check if the value has been set.
func (*ExchangeRateResponse) GetTargetCurrencyCode ¶
func (o *ExchangeRateResponse) GetTargetCurrencyCode() string
GetTargetCurrencyCode returns the TargetCurrencyCode field value
func (*ExchangeRateResponse) GetTargetCurrencyCodeOk ¶
func (o *ExchangeRateResponse) GetTargetCurrencyCodeOk() (*string, bool)
GetTargetCurrencyCodeOk returns a tuple with the TargetCurrencyCode field value and a boolean to check if the value has been set.
func (ExchangeRateResponse) MarshalJSON ¶
func (o ExchangeRateResponse) MarshalJSON() ([]byte, error)
func (*ExchangeRateResponse) SetExchangeRate ¶
func (o *ExchangeRateResponse) SetExchangeRate(v float32)
SetExchangeRate sets field value
func (*ExchangeRateResponse) SetResult ¶
func (o *ExchangeRateResponse) SetResult(v string)
SetResult sets field value
func (*ExchangeRateResponse) SetSourceCurrencyCode ¶
func (o *ExchangeRateResponse) SetSourceCurrencyCode(v string)
SetSourceCurrencyCode sets field value
func (*ExchangeRateResponse) SetTargetCurrencyCode ¶
func (o *ExchangeRateResponse) SetTargetCurrencyCode(v string)
SetTargetCurrencyCode sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type ImportInvoiceFeature ¶
type ImportInvoiceFeature struct { // Indicates if importing invoices from the external account system into HubSpot. Enabled bool `json:"enabled"` }
ImportInvoiceFeature Indicates if importing invoices from the external account system into HubSpot is supported for the integration.
func NewImportInvoiceFeature ¶
func NewImportInvoiceFeature(enabled bool) *ImportInvoiceFeature
NewImportInvoiceFeature instantiates a new ImportInvoiceFeature object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImportInvoiceFeatureWithDefaults ¶
func NewImportInvoiceFeatureWithDefaults() *ImportInvoiceFeature
NewImportInvoiceFeatureWithDefaults instantiates a new ImportInvoiceFeature object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImportInvoiceFeature) GetEnabled ¶
func (o *ImportInvoiceFeature) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*ImportInvoiceFeature) GetEnabledOk ¶
func (o *ImportInvoiceFeature) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (ImportInvoiceFeature) MarshalJSON ¶
func (o ImportInvoiceFeature) MarshalJSON() ([]byte, error)
func (*ImportInvoiceFeature) SetEnabled ¶
func (o *ImportInvoiceFeature) SetEnabled(v bool)
SetEnabled sets field value
type InvoiceApiService ¶
type InvoiceApiService service
InvoiceApiService InvoiceApi service
func (*InvoiceApiService) InvoiceCreatePayment ¶
func (a *InvoiceApiService) InvoiceCreatePayment(ctx context.Context, invoiceId string) ApiInvoiceCreatePaymentRequest
InvoiceCreatePayment Records an invoice payment
Records an payment against an invoice.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId The ID of the invoice. This is the invoice ID from the external accounting system. @return ApiInvoiceCreatePaymentRequest
func (*InvoiceApiService) InvoiceCreatePaymentExecute ¶
func (a *InvoiceApiService) InvoiceCreatePaymentExecute(r ApiInvoiceCreatePaymentRequest) (*InvoiceUpdateResponse, *http.Response, error)
Execute executes the request
@return InvoiceUpdateResponse
func (*InvoiceApiService) InvoiceGetByID ¶
func (a *InvoiceApiService) InvoiceGetByID(ctx context.Context, invoiceId string) ApiInvoiceGetByIDRequest
InvoiceGetByID Get invoice data
Returns invoice data for an Accounting account from the specified ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId The ID of the invoice. This is the invoice ID from the external accounting system. @return ApiInvoiceGetByIDRequest
func (*InvoiceApiService) InvoiceGetByIDExecute ¶
func (a *InvoiceApiService) InvoiceGetByIDExecute(r ApiInvoiceGetByIDRequest) (*InvoiceReadResponse, *http.Response, error)
Execute executes the request
@return InvoiceReadResponse
func (*InvoiceApiService) InvoiceUpdate ¶
func (a *InvoiceApiService) InvoiceUpdate(ctx context.Context, invoiceId string) ApiInvoiceUpdateRequest
InvoiceUpdate Update an invoice
Updates an Invoice by the given ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId The ID of the invoice. This is the invoice ID from the external accounting system. @return ApiInvoiceUpdateRequest
func (*InvoiceApiService) InvoiceUpdateExecute ¶
func (a *InvoiceApiService) InvoiceUpdateExecute(r ApiInvoiceUpdateRequest) (*InvoiceUpdateResponse, *http.Response, error)
Execute executes the request
@return InvoiceUpdateResponse
type InvoiceCreatePaymentRequest ¶
type InvoiceCreatePaymentRequest struct { // The amount that this payment is for. AmountPaid float32 `json:"amountPaid"` // The ISO 4217 currency code that represents the currency of the payment. CurrencyCode string `json:"currencyCode"` // The datetime that this payment was received. PaymentDateTime time.Time `json:"paymentDateTime"` // The id of this payment in the external accounting system. ExternalPaymentId string `json:"externalPaymentId"` }
InvoiceCreatePaymentRequest struct for InvoiceCreatePaymentRequest
func NewInvoiceCreatePaymentRequest ¶
func NewInvoiceCreatePaymentRequest(amountPaid float32, currencyCode string, paymentDateTime time.Time, externalPaymentId string) *InvoiceCreatePaymentRequest
NewInvoiceCreatePaymentRequest instantiates a new InvoiceCreatePaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceCreatePaymentRequestWithDefaults ¶
func NewInvoiceCreatePaymentRequestWithDefaults() *InvoiceCreatePaymentRequest
NewInvoiceCreatePaymentRequestWithDefaults instantiates a new InvoiceCreatePaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceCreatePaymentRequest) GetAmountPaid ¶
func (o *InvoiceCreatePaymentRequest) GetAmountPaid() float32
GetAmountPaid returns the AmountPaid field value
func (*InvoiceCreatePaymentRequest) GetAmountPaidOk ¶
func (o *InvoiceCreatePaymentRequest) GetAmountPaidOk() (*float32, bool)
GetAmountPaidOk returns a tuple with the AmountPaid field value and a boolean to check if the value has been set.
func (*InvoiceCreatePaymentRequest) GetCurrencyCode ¶
func (o *InvoiceCreatePaymentRequest) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*InvoiceCreatePaymentRequest) GetCurrencyCodeOk ¶
func (o *InvoiceCreatePaymentRequest) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (*InvoiceCreatePaymentRequest) GetExternalPaymentId ¶
func (o *InvoiceCreatePaymentRequest) GetExternalPaymentId() string
GetExternalPaymentId returns the ExternalPaymentId field value
func (*InvoiceCreatePaymentRequest) GetExternalPaymentIdOk ¶
func (o *InvoiceCreatePaymentRequest) GetExternalPaymentIdOk() (*string, bool)
GetExternalPaymentIdOk returns a tuple with the ExternalPaymentId field value and a boolean to check if the value has been set.
func (*InvoiceCreatePaymentRequest) GetPaymentDateTime ¶
func (o *InvoiceCreatePaymentRequest) GetPaymentDateTime() time.Time
GetPaymentDateTime returns the PaymentDateTime field value
func (*InvoiceCreatePaymentRequest) GetPaymentDateTimeOk ¶
func (o *InvoiceCreatePaymentRequest) GetPaymentDateTimeOk() (*time.Time, bool)
GetPaymentDateTimeOk returns a tuple with the PaymentDateTime field value and a boolean to check if the value has been set.
func (InvoiceCreatePaymentRequest) MarshalJSON ¶
func (o InvoiceCreatePaymentRequest) MarshalJSON() ([]byte, error)
func (*InvoiceCreatePaymentRequest) SetAmountPaid ¶
func (o *InvoiceCreatePaymentRequest) SetAmountPaid(v float32)
SetAmountPaid sets field value
func (*InvoiceCreatePaymentRequest) SetCurrencyCode ¶
func (o *InvoiceCreatePaymentRequest) SetCurrencyCode(v string)
SetCurrencyCode sets field value
func (*InvoiceCreatePaymentRequest) SetExternalPaymentId ¶
func (o *InvoiceCreatePaymentRequest) SetExternalPaymentId(v string)
SetExternalPaymentId sets field value
func (*InvoiceCreatePaymentRequest) SetPaymentDateTime ¶
func (o *InvoiceCreatePaymentRequest) SetPaymentDateTime(v time.Time)
SetPaymentDateTime sets field value
type InvoicePdfResponse ¶
type InvoicePdfResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The bytes of the invoice PDF. Invoice string `json:"invoice"` }
InvoicePdfResponse A response that contains the PDF of an invoice
func NewInvoicePdfResponse ¶
func NewInvoicePdfResponse(invoice string) *InvoicePdfResponse
NewInvoicePdfResponse instantiates a new InvoicePdfResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoicePdfResponseWithDefaults ¶
func NewInvoicePdfResponseWithDefaults() *InvoicePdfResponse
NewInvoicePdfResponseWithDefaults instantiates a new InvoicePdfResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoicePdfResponse) GetInvoice ¶
func (o *InvoicePdfResponse) GetInvoice() string
GetInvoice returns the Invoice field value
func (*InvoicePdfResponse) GetInvoiceOk ¶
func (o *InvoicePdfResponse) GetInvoiceOk() (*string, bool)
GetInvoiceOk returns a tuple with the Invoice field value and a boolean to check if the value has been set.
func (*InvoicePdfResponse) GetResult ¶
func (o *InvoicePdfResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*InvoicePdfResponse) GetResultOk ¶
func (o *InvoicePdfResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoicePdfResponse) HasResult ¶
func (o *InvoicePdfResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (InvoicePdfResponse) MarshalJSON ¶
func (o InvoicePdfResponse) MarshalJSON() ([]byte, error)
func (*InvoicePdfResponse) SetInvoice ¶
func (o *InvoicePdfResponse) SetInvoice(v string)
SetInvoice sets field value
func (*InvoicePdfResponse) SetResult ¶
func (o *InvoicePdfResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
type InvoiceReadResponse ¶
type InvoiceReadResponse struct { // The invoice number. Note that this is _not_ the ID of the invoice, but the number that the billed customer will see. ExternalInvoiceNumber *string `json:"externalInvoiceNumber,omitempty"` // The total amount that this invoice is for. TotalAmountBilled float32 `json:"totalAmountBilled"` // The remaining balance due for the invoice. BalanceDue float32 `json:"balanceDue"` // The ISO 4217 currency code that represents the currency of the invoice. CurrencyCode string `json:"currencyCode"` // The due date of the invoice DueDate string `json:"dueDate"` // The id of the customer in the external accounting system that the invoice was sent to. ExternalRecipientId string `json:"externalRecipientId"` // The datetime that that invoice was sent to the customer. ReceivedByRecipientDate *int64 `json:"receivedByRecipientDate,omitempty"` // The datetime that the invoice was created in the external accounting system. ExternalCreateDateTime *int64 `json:"externalCreateDateTime,omitempty"` // Indicated is the invoice has been voided or not. IsVoided bool `json:"isVoided"` // The datetime that the invoice was created in HubSpot. CreatedAt time.Time `json:"createdAt"` // The datetime that the invoice was last updated in HubSpot. UpdatedAt time.Time `json:"updatedAt"` ArchivedAt *time.Time `json:"archivedAt,omitempty"` Archived bool `json:"archived"` // The id of the account in the external accounting system that this invoice is related to. ExternalAccountId string `json:"externalAccountId"` // The status of the invoice InvoiceStatus string `json:"invoiceStatus"` // The id of this invoice in the external accounting system. Id string `json:"id"` }
InvoiceReadResponse The invoice data stored in HubSpot
func NewInvoiceReadResponse ¶
func NewInvoiceReadResponse(totalAmountBilled float32, balanceDue float32, currencyCode string, dueDate string, externalRecipientId string, isVoided bool, createdAt time.Time, updatedAt time.Time, archived bool, externalAccountId string, invoiceStatus string, id string) *InvoiceReadResponse
NewInvoiceReadResponse instantiates a new InvoiceReadResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceReadResponseWithDefaults ¶
func NewInvoiceReadResponseWithDefaults() *InvoiceReadResponse
NewInvoiceReadResponseWithDefaults instantiates a new InvoiceReadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceReadResponse) GetArchived ¶
func (o *InvoiceReadResponse) GetArchived() bool
GetArchived returns the Archived field value
func (*InvoiceReadResponse) GetArchivedAt ¶
func (o *InvoiceReadResponse) GetArchivedAt() time.Time
GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.
func (*InvoiceReadResponse) GetArchivedAtOk ¶
func (o *InvoiceReadResponse) GetArchivedAtOk() (*time.Time, bool)
GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetArchivedOk ¶
func (o *InvoiceReadResponse) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetBalanceDue ¶
func (o *InvoiceReadResponse) GetBalanceDue() float32
GetBalanceDue returns the BalanceDue field value
func (*InvoiceReadResponse) GetBalanceDueOk ¶
func (o *InvoiceReadResponse) GetBalanceDueOk() (*float32, bool)
GetBalanceDueOk returns a tuple with the BalanceDue field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetCreatedAt ¶
func (o *InvoiceReadResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*InvoiceReadResponse) GetCreatedAtOk ¶
func (o *InvoiceReadResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetCurrencyCode ¶
func (o *InvoiceReadResponse) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*InvoiceReadResponse) GetCurrencyCodeOk ¶
func (o *InvoiceReadResponse) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetDueDate ¶
func (o *InvoiceReadResponse) GetDueDate() string
GetDueDate returns the DueDate field value
func (*InvoiceReadResponse) GetDueDateOk ¶
func (o *InvoiceReadResponse) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetExternalAccountId ¶
func (o *InvoiceReadResponse) GetExternalAccountId() string
GetExternalAccountId returns the ExternalAccountId field value
func (*InvoiceReadResponse) GetExternalAccountIdOk ¶
func (o *InvoiceReadResponse) GetExternalAccountIdOk() (*string, bool)
GetExternalAccountIdOk returns a tuple with the ExternalAccountId field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetExternalCreateDateTime ¶
func (o *InvoiceReadResponse) GetExternalCreateDateTime() int64
GetExternalCreateDateTime returns the ExternalCreateDateTime field value if set, zero value otherwise.
func (*InvoiceReadResponse) GetExternalCreateDateTimeOk ¶
func (o *InvoiceReadResponse) GetExternalCreateDateTimeOk() (*int64, bool)
GetExternalCreateDateTimeOk returns a tuple with the ExternalCreateDateTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetExternalInvoiceNumber ¶
func (o *InvoiceReadResponse) GetExternalInvoiceNumber() string
GetExternalInvoiceNumber returns the ExternalInvoiceNumber field value if set, zero value otherwise.
func (*InvoiceReadResponse) GetExternalInvoiceNumberOk ¶
func (o *InvoiceReadResponse) GetExternalInvoiceNumberOk() (*string, bool)
GetExternalInvoiceNumberOk returns a tuple with the ExternalInvoiceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetExternalRecipientId ¶
func (o *InvoiceReadResponse) GetExternalRecipientId() string
GetExternalRecipientId returns the ExternalRecipientId field value
func (*InvoiceReadResponse) GetExternalRecipientIdOk ¶
func (o *InvoiceReadResponse) GetExternalRecipientIdOk() (*string, bool)
GetExternalRecipientIdOk returns a tuple with the ExternalRecipientId field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetId ¶
func (o *InvoiceReadResponse) GetId() string
GetId returns the Id field value
func (*InvoiceReadResponse) GetIdOk ¶
func (o *InvoiceReadResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetInvoiceStatus ¶
func (o *InvoiceReadResponse) GetInvoiceStatus() string
GetInvoiceStatus returns the InvoiceStatus field value
func (*InvoiceReadResponse) GetInvoiceStatusOk ¶
func (o *InvoiceReadResponse) GetInvoiceStatusOk() (*string, bool)
GetInvoiceStatusOk returns a tuple with the InvoiceStatus field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetIsVoided ¶
func (o *InvoiceReadResponse) GetIsVoided() bool
GetIsVoided returns the IsVoided field value
func (*InvoiceReadResponse) GetIsVoidedOk ¶
func (o *InvoiceReadResponse) GetIsVoidedOk() (*bool, bool)
GetIsVoidedOk returns a tuple with the IsVoided field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetReceivedByRecipientDate ¶
func (o *InvoiceReadResponse) GetReceivedByRecipientDate() int64
GetReceivedByRecipientDate returns the ReceivedByRecipientDate field value if set, zero value otherwise.
func (*InvoiceReadResponse) GetReceivedByRecipientDateOk ¶
func (o *InvoiceReadResponse) GetReceivedByRecipientDateOk() (*int64, bool)
GetReceivedByRecipientDateOk returns a tuple with the ReceivedByRecipientDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetTotalAmountBilled ¶
func (o *InvoiceReadResponse) GetTotalAmountBilled() float32
GetTotalAmountBilled returns the TotalAmountBilled field value
func (*InvoiceReadResponse) GetTotalAmountBilledOk ¶
func (o *InvoiceReadResponse) GetTotalAmountBilledOk() (*float32, bool)
GetTotalAmountBilledOk returns a tuple with the TotalAmountBilled field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) GetUpdatedAt ¶
func (o *InvoiceReadResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*InvoiceReadResponse) GetUpdatedAtOk ¶
func (o *InvoiceReadResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*InvoiceReadResponse) HasArchivedAt ¶
func (o *InvoiceReadResponse) HasArchivedAt() bool
HasArchivedAt returns a boolean if a field has been set.
func (*InvoiceReadResponse) HasExternalCreateDateTime ¶
func (o *InvoiceReadResponse) HasExternalCreateDateTime() bool
HasExternalCreateDateTime returns a boolean if a field has been set.
func (*InvoiceReadResponse) HasExternalInvoiceNumber ¶
func (o *InvoiceReadResponse) HasExternalInvoiceNumber() bool
HasExternalInvoiceNumber returns a boolean if a field has been set.
func (*InvoiceReadResponse) HasReceivedByRecipientDate ¶
func (o *InvoiceReadResponse) HasReceivedByRecipientDate() bool
HasReceivedByRecipientDate returns a boolean if a field has been set.
func (InvoiceReadResponse) MarshalJSON ¶
func (o InvoiceReadResponse) MarshalJSON() ([]byte, error)
func (*InvoiceReadResponse) SetArchived ¶
func (o *InvoiceReadResponse) SetArchived(v bool)
SetArchived sets field value
func (*InvoiceReadResponse) SetArchivedAt ¶
func (o *InvoiceReadResponse) SetArchivedAt(v time.Time)
SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.
func (*InvoiceReadResponse) SetBalanceDue ¶
func (o *InvoiceReadResponse) SetBalanceDue(v float32)
SetBalanceDue sets field value
func (*InvoiceReadResponse) SetCreatedAt ¶
func (o *InvoiceReadResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*InvoiceReadResponse) SetCurrencyCode ¶
func (o *InvoiceReadResponse) SetCurrencyCode(v string)
SetCurrencyCode sets field value
func (*InvoiceReadResponse) SetDueDate ¶
func (o *InvoiceReadResponse) SetDueDate(v string)
SetDueDate sets field value
func (*InvoiceReadResponse) SetExternalAccountId ¶
func (o *InvoiceReadResponse) SetExternalAccountId(v string)
SetExternalAccountId sets field value
func (*InvoiceReadResponse) SetExternalCreateDateTime ¶
func (o *InvoiceReadResponse) SetExternalCreateDateTime(v int64)
SetExternalCreateDateTime gets a reference to the given int64 and assigns it to the ExternalCreateDateTime field.
func (*InvoiceReadResponse) SetExternalInvoiceNumber ¶
func (o *InvoiceReadResponse) SetExternalInvoiceNumber(v string)
SetExternalInvoiceNumber gets a reference to the given string and assigns it to the ExternalInvoiceNumber field.
func (*InvoiceReadResponse) SetExternalRecipientId ¶
func (o *InvoiceReadResponse) SetExternalRecipientId(v string)
SetExternalRecipientId sets field value
func (*InvoiceReadResponse) SetId ¶
func (o *InvoiceReadResponse) SetId(v string)
SetId sets field value
func (*InvoiceReadResponse) SetInvoiceStatus ¶
func (o *InvoiceReadResponse) SetInvoiceStatus(v string)
SetInvoiceStatus sets field value
func (*InvoiceReadResponse) SetIsVoided ¶
func (o *InvoiceReadResponse) SetIsVoided(v bool)
SetIsVoided sets field value
func (*InvoiceReadResponse) SetReceivedByRecipientDate ¶
func (o *InvoiceReadResponse) SetReceivedByRecipientDate(v int64)
SetReceivedByRecipientDate gets a reference to the given int64 and assigns it to the ReceivedByRecipientDate field.
func (*InvoiceReadResponse) SetTotalAmountBilled ¶
func (o *InvoiceReadResponse) SetTotalAmountBilled(v float32)
SetTotalAmountBilled sets field value
func (*InvoiceReadResponse) SetUpdatedAt ¶
func (o *InvoiceReadResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type InvoiceSearchResponse ¶
type InvoiceSearchResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The list of invoices that matched the search criteria. Invoices []AccountingExtensionInvoice `json:"invoices"` }
InvoiceSearchResponse A response to a search for invoices.
func NewInvoiceSearchResponse ¶
func NewInvoiceSearchResponse(invoices []AccountingExtensionInvoice) *InvoiceSearchResponse
NewInvoiceSearchResponse instantiates a new InvoiceSearchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceSearchResponseWithDefaults ¶
func NewInvoiceSearchResponseWithDefaults() *InvoiceSearchResponse
NewInvoiceSearchResponseWithDefaults instantiates a new InvoiceSearchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceSearchResponse) GetInvoices ¶
func (o *InvoiceSearchResponse) GetInvoices() []AccountingExtensionInvoice
GetInvoices returns the Invoices field value
func (*InvoiceSearchResponse) GetInvoicesOk ¶
func (o *InvoiceSearchResponse) GetInvoicesOk() ([]AccountingExtensionInvoice, bool)
GetInvoicesOk returns a tuple with the Invoices field value and a boolean to check if the value has been set.
func (*InvoiceSearchResponse) GetResult ¶
func (o *InvoiceSearchResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*InvoiceSearchResponse) GetResultOk ¶
func (o *InvoiceSearchResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceSearchResponse) HasResult ¶
func (o *InvoiceSearchResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (InvoiceSearchResponse) MarshalJSON ¶
func (o InvoiceSearchResponse) MarshalJSON() ([]byte, error)
func (*InvoiceSearchResponse) SetInvoices ¶
func (o *InvoiceSearchResponse) SetInvoices(v []AccountingExtensionInvoice)
SetInvoices sets field value
func (*InvoiceSearchResponse) SetResult ¶
func (o *InvoiceSearchResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
type InvoiceUpdateRequest ¶
type InvoiceUpdateRequest struct { ExternalInvoiceNumber *string `json:"externalInvoiceNumber,omitempty"` // The ISO 4217 currency code that represents the currency used in the invoice to bill the recipient CurrencyCode *string `json:"currencyCode,omitempty"` // The ISO-8601 due date of the invoice. DueDate *string `json:"dueDate,omitempty"` // The ID of the invoice recipient. This is the recipient ID from the external accounting system. ExternalRecipientId *string `json:"externalRecipientId,omitempty"` ReceivedByRecipientDate *int64 `json:"receivedByRecipientDate,omitempty"` // States if the invoice is voided or not. IsVoided *bool `json:"isVoided,omitempty"` // The ISO-8601 datetime of when the customer received the invoice. ReceivedByCustomerDate *string `json:"receivedByCustomerDate,omitempty"` // The number / name of the invoice. InvoiceNumber *string `json:"invoiceNumber,omitempty"` }
InvoiceUpdateRequest The invoice data to update in HubSpot
func NewInvoiceUpdateRequest ¶
func NewInvoiceUpdateRequest() *InvoiceUpdateRequest
NewInvoiceUpdateRequest instantiates a new InvoiceUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceUpdateRequestWithDefaults ¶
func NewInvoiceUpdateRequestWithDefaults() *InvoiceUpdateRequest
NewInvoiceUpdateRequestWithDefaults instantiates a new InvoiceUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceUpdateRequest) GetCurrencyCode ¶
func (o *InvoiceUpdateRequest) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetCurrencyCodeOk ¶
func (o *InvoiceUpdateRequest) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetDueDate ¶
func (o *InvoiceUpdateRequest) GetDueDate() string
GetDueDate returns the DueDate field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetDueDateOk ¶
func (o *InvoiceUpdateRequest) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetExternalInvoiceNumber ¶
func (o *InvoiceUpdateRequest) GetExternalInvoiceNumber() string
GetExternalInvoiceNumber returns the ExternalInvoiceNumber field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetExternalInvoiceNumberOk ¶
func (o *InvoiceUpdateRequest) GetExternalInvoiceNumberOk() (*string, bool)
GetExternalInvoiceNumberOk returns a tuple with the ExternalInvoiceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetExternalRecipientId ¶
func (o *InvoiceUpdateRequest) GetExternalRecipientId() string
GetExternalRecipientId returns the ExternalRecipientId field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetExternalRecipientIdOk ¶
func (o *InvoiceUpdateRequest) GetExternalRecipientIdOk() (*string, bool)
GetExternalRecipientIdOk returns a tuple with the ExternalRecipientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetInvoiceNumber ¶
func (o *InvoiceUpdateRequest) GetInvoiceNumber() string
GetInvoiceNumber returns the InvoiceNumber field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetInvoiceNumberOk ¶
func (o *InvoiceUpdateRequest) GetInvoiceNumberOk() (*string, bool)
GetInvoiceNumberOk returns a tuple with the InvoiceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetIsVoided ¶
func (o *InvoiceUpdateRequest) GetIsVoided() bool
GetIsVoided returns the IsVoided field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetIsVoidedOk ¶
func (o *InvoiceUpdateRequest) GetIsVoidedOk() (*bool, bool)
GetIsVoidedOk returns a tuple with the IsVoided field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetReceivedByCustomerDate ¶
func (o *InvoiceUpdateRequest) GetReceivedByCustomerDate() string
GetReceivedByCustomerDate returns the ReceivedByCustomerDate field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetReceivedByCustomerDateOk ¶
func (o *InvoiceUpdateRequest) GetReceivedByCustomerDateOk() (*string, bool)
GetReceivedByCustomerDateOk returns a tuple with the ReceivedByCustomerDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) GetReceivedByRecipientDate ¶
func (o *InvoiceUpdateRequest) GetReceivedByRecipientDate() int64
GetReceivedByRecipientDate returns the ReceivedByRecipientDate field value if set, zero value otherwise.
func (*InvoiceUpdateRequest) GetReceivedByRecipientDateOk ¶
func (o *InvoiceUpdateRequest) GetReceivedByRecipientDateOk() (*int64, bool)
GetReceivedByRecipientDateOk returns a tuple with the ReceivedByRecipientDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateRequest) HasCurrencyCode ¶
func (o *InvoiceUpdateRequest) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasDueDate ¶
func (o *InvoiceUpdateRequest) HasDueDate() bool
HasDueDate returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasExternalInvoiceNumber ¶
func (o *InvoiceUpdateRequest) HasExternalInvoiceNumber() bool
HasExternalInvoiceNumber returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasExternalRecipientId ¶
func (o *InvoiceUpdateRequest) HasExternalRecipientId() bool
HasExternalRecipientId returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasInvoiceNumber ¶
func (o *InvoiceUpdateRequest) HasInvoiceNumber() bool
HasInvoiceNumber returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasIsVoided ¶
func (o *InvoiceUpdateRequest) HasIsVoided() bool
HasIsVoided returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasReceivedByCustomerDate ¶
func (o *InvoiceUpdateRequest) HasReceivedByCustomerDate() bool
HasReceivedByCustomerDate returns a boolean if a field has been set.
func (*InvoiceUpdateRequest) HasReceivedByRecipientDate ¶
func (o *InvoiceUpdateRequest) HasReceivedByRecipientDate() bool
HasReceivedByRecipientDate returns a boolean if a field has been set.
func (InvoiceUpdateRequest) MarshalJSON ¶
func (o InvoiceUpdateRequest) MarshalJSON() ([]byte, error)
func (*InvoiceUpdateRequest) SetCurrencyCode ¶
func (o *InvoiceUpdateRequest) SetCurrencyCode(v string)
SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.
func (*InvoiceUpdateRequest) SetDueDate ¶
func (o *InvoiceUpdateRequest) SetDueDate(v string)
SetDueDate gets a reference to the given string and assigns it to the DueDate field.
func (*InvoiceUpdateRequest) SetExternalInvoiceNumber ¶
func (o *InvoiceUpdateRequest) SetExternalInvoiceNumber(v string)
SetExternalInvoiceNumber gets a reference to the given string and assigns it to the ExternalInvoiceNumber field.
func (*InvoiceUpdateRequest) SetExternalRecipientId ¶
func (o *InvoiceUpdateRequest) SetExternalRecipientId(v string)
SetExternalRecipientId gets a reference to the given string and assigns it to the ExternalRecipientId field.
func (*InvoiceUpdateRequest) SetInvoiceNumber ¶
func (o *InvoiceUpdateRequest) SetInvoiceNumber(v string)
SetInvoiceNumber gets a reference to the given string and assigns it to the InvoiceNumber field.
func (*InvoiceUpdateRequest) SetIsVoided ¶
func (o *InvoiceUpdateRequest) SetIsVoided(v bool)
SetIsVoided gets a reference to the given bool and assigns it to the IsVoided field.
func (*InvoiceUpdateRequest) SetReceivedByCustomerDate ¶
func (o *InvoiceUpdateRequest) SetReceivedByCustomerDate(v string)
SetReceivedByCustomerDate gets a reference to the given string and assigns it to the ReceivedByCustomerDate field.
func (*InvoiceUpdateRequest) SetReceivedByRecipientDate ¶
func (o *InvoiceUpdateRequest) SetReceivedByRecipientDate(v int64)
SetReceivedByRecipientDate gets a reference to the given int64 and assigns it to the ReceivedByRecipientDate field.
type InvoiceUpdateResponse ¶
type InvoiceUpdateResponse struct { ExternalInvoiceNumber *string `json:"externalInvoiceNumber,omitempty"` TotalAmountBilled float32 `json:"totalAmountBilled"` BalanceDue float32 `json:"balanceDue"` CurrencyCode string `json:"currencyCode"` DueDate string `json:"dueDate"` ExternalRecipientId string `json:"externalRecipientId"` ReceivedByRecipientDate *int64 `json:"receivedByRecipientDate,omitempty"` ExternalCreateDateTime *int64 `json:"externalCreateDateTime,omitempty"` IsVoided bool `json:"isVoided"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` ArchivedAt *time.Time `json:"archivedAt,omitempty"` Archived bool `json:"archived"` ExternalAccountId string `json:"externalAccountId"` InvoiceStatus string `json:"invoiceStatus"` Id string `json:"id"` }
InvoiceUpdateResponse struct for InvoiceUpdateResponse
func NewInvoiceUpdateResponse ¶
func NewInvoiceUpdateResponse(totalAmountBilled float32, balanceDue float32, currencyCode string, dueDate string, externalRecipientId string, isVoided bool, createdAt time.Time, updatedAt time.Time, archived bool, externalAccountId string, invoiceStatus string, id string) *InvoiceUpdateResponse
NewInvoiceUpdateResponse instantiates a new InvoiceUpdateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceUpdateResponseWithDefaults ¶
func NewInvoiceUpdateResponseWithDefaults() *InvoiceUpdateResponse
NewInvoiceUpdateResponseWithDefaults instantiates a new InvoiceUpdateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceUpdateResponse) GetArchived ¶
func (o *InvoiceUpdateResponse) GetArchived() bool
GetArchived returns the Archived field value
func (*InvoiceUpdateResponse) GetArchivedAt ¶
func (o *InvoiceUpdateResponse) GetArchivedAt() time.Time
GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.
func (*InvoiceUpdateResponse) GetArchivedAtOk ¶
func (o *InvoiceUpdateResponse) GetArchivedAtOk() (*time.Time, bool)
GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetArchivedOk ¶
func (o *InvoiceUpdateResponse) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetBalanceDue ¶
func (o *InvoiceUpdateResponse) GetBalanceDue() float32
GetBalanceDue returns the BalanceDue field value
func (*InvoiceUpdateResponse) GetBalanceDueOk ¶
func (o *InvoiceUpdateResponse) GetBalanceDueOk() (*float32, bool)
GetBalanceDueOk returns a tuple with the BalanceDue field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetCreatedAt ¶
func (o *InvoiceUpdateResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*InvoiceUpdateResponse) GetCreatedAtOk ¶
func (o *InvoiceUpdateResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetCurrencyCode ¶
func (o *InvoiceUpdateResponse) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*InvoiceUpdateResponse) GetCurrencyCodeOk ¶
func (o *InvoiceUpdateResponse) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetDueDate ¶
func (o *InvoiceUpdateResponse) GetDueDate() string
GetDueDate returns the DueDate field value
func (*InvoiceUpdateResponse) GetDueDateOk ¶
func (o *InvoiceUpdateResponse) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetExternalAccountId ¶
func (o *InvoiceUpdateResponse) GetExternalAccountId() string
GetExternalAccountId returns the ExternalAccountId field value
func (*InvoiceUpdateResponse) GetExternalAccountIdOk ¶
func (o *InvoiceUpdateResponse) GetExternalAccountIdOk() (*string, bool)
GetExternalAccountIdOk returns a tuple with the ExternalAccountId field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetExternalCreateDateTime ¶
func (o *InvoiceUpdateResponse) GetExternalCreateDateTime() int64
GetExternalCreateDateTime returns the ExternalCreateDateTime field value if set, zero value otherwise.
func (*InvoiceUpdateResponse) GetExternalCreateDateTimeOk ¶
func (o *InvoiceUpdateResponse) GetExternalCreateDateTimeOk() (*int64, bool)
GetExternalCreateDateTimeOk returns a tuple with the ExternalCreateDateTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetExternalInvoiceNumber ¶
func (o *InvoiceUpdateResponse) GetExternalInvoiceNumber() string
GetExternalInvoiceNumber returns the ExternalInvoiceNumber field value if set, zero value otherwise.
func (*InvoiceUpdateResponse) GetExternalInvoiceNumberOk ¶
func (o *InvoiceUpdateResponse) GetExternalInvoiceNumberOk() (*string, bool)
GetExternalInvoiceNumberOk returns a tuple with the ExternalInvoiceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetExternalRecipientId ¶
func (o *InvoiceUpdateResponse) GetExternalRecipientId() string
GetExternalRecipientId returns the ExternalRecipientId field value
func (*InvoiceUpdateResponse) GetExternalRecipientIdOk ¶
func (o *InvoiceUpdateResponse) GetExternalRecipientIdOk() (*string, bool)
GetExternalRecipientIdOk returns a tuple with the ExternalRecipientId field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetId ¶
func (o *InvoiceUpdateResponse) GetId() string
GetId returns the Id field value
func (*InvoiceUpdateResponse) GetIdOk ¶
func (o *InvoiceUpdateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetInvoiceStatus ¶
func (o *InvoiceUpdateResponse) GetInvoiceStatus() string
GetInvoiceStatus returns the InvoiceStatus field value
func (*InvoiceUpdateResponse) GetInvoiceStatusOk ¶
func (o *InvoiceUpdateResponse) GetInvoiceStatusOk() (*string, bool)
GetInvoiceStatusOk returns a tuple with the InvoiceStatus field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetIsVoided ¶
func (o *InvoiceUpdateResponse) GetIsVoided() bool
GetIsVoided returns the IsVoided field value
func (*InvoiceUpdateResponse) GetIsVoidedOk ¶
func (o *InvoiceUpdateResponse) GetIsVoidedOk() (*bool, bool)
GetIsVoidedOk returns a tuple with the IsVoided field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetReceivedByRecipientDate ¶
func (o *InvoiceUpdateResponse) GetReceivedByRecipientDate() int64
GetReceivedByRecipientDate returns the ReceivedByRecipientDate field value if set, zero value otherwise.
func (*InvoiceUpdateResponse) GetReceivedByRecipientDateOk ¶
func (o *InvoiceUpdateResponse) GetReceivedByRecipientDateOk() (*int64, bool)
GetReceivedByRecipientDateOk returns a tuple with the ReceivedByRecipientDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetTotalAmountBilled ¶
func (o *InvoiceUpdateResponse) GetTotalAmountBilled() float32
GetTotalAmountBilled returns the TotalAmountBilled field value
func (*InvoiceUpdateResponse) GetTotalAmountBilledOk ¶
func (o *InvoiceUpdateResponse) GetTotalAmountBilledOk() (*float32, bool)
GetTotalAmountBilledOk returns a tuple with the TotalAmountBilled field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) GetUpdatedAt ¶
func (o *InvoiceUpdateResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*InvoiceUpdateResponse) GetUpdatedAtOk ¶
func (o *InvoiceUpdateResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*InvoiceUpdateResponse) HasArchivedAt ¶
func (o *InvoiceUpdateResponse) HasArchivedAt() bool
HasArchivedAt returns a boolean if a field has been set.
func (*InvoiceUpdateResponse) HasExternalCreateDateTime ¶
func (o *InvoiceUpdateResponse) HasExternalCreateDateTime() bool
HasExternalCreateDateTime returns a boolean if a field has been set.
func (*InvoiceUpdateResponse) HasExternalInvoiceNumber ¶
func (o *InvoiceUpdateResponse) HasExternalInvoiceNumber() bool
HasExternalInvoiceNumber returns a boolean if a field has been set.
func (*InvoiceUpdateResponse) HasReceivedByRecipientDate ¶
func (o *InvoiceUpdateResponse) HasReceivedByRecipientDate() bool
HasReceivedByRecipientDate returns a boolean if a field has been set.
func (InvoiceUpdateResponse) MarshalJSON ¶
func (o InvoiceUpdateResponse) MarshalJSON() ([]byte, error)
func (*InvoiceUpdateResponse) SetArchived ¶
func (o *InvoiceUpdateResponse) SetArchived(v bool)
SetArchived sets field value
func (*InvoiceUpdateResponse) SetArchivedAt ¶
func (o *InvoiceUpdateResponse) SetArchivedAt(v time.Time)
SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.
func (*InvoiceUpdateResponse) SetBalanceDue ¶
func (o *InvoiceUpdateResponse) SetBalanceDue(v float32)
SetBalanceDue sets field value
func (*InvoiceUpdateResponse) SetCreatedAt ¶
func (o *InvoiceUpdateResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*InvoiceUpdateResponse) SetCurrencyCode ¶
func (o *InvoiceUpdateResponse) SetCurrencyCode(v string)
SetCurrencyCode sets field value
func (*InvoiceUpdateResponse) SetDueDate ¶
func (o *InvoiceUpdateResponse) SetDueDate(v string)
SetDueDate sets field value
func (*InvoiceUpdateResponse) SetExternalAccountId ¶
func (o *InvoiceUpdateResponse) SetExternalAccountId(v string)
SetExternalAccountId sets field value
func (*InvoiceUpdateResponse) SetExternalCreateDateTime ¶
func (o *InvoiceUpdateResponse) SetExternalCreateDateTime(v int64)
SetExternalCreateDateTime gets a reference to the given int64 and assigns it to the ExternalCreateDateTime field.
func (*InvoiceUpdateResponse) SetExternalInvoiceNumber ¶
func (o *InvoiceUpdateResponse) SetExternalInvoiceNumber(v string)
SetExternalInvoiceNumber gets a reference to the given string and assigns it to the ExternalInvoiceNumber field.
func (*InvoiceUpdateResponse) SetExternalRecipientId ¶
func (o *InvoiceUpdateResponse) SetExternalRecipientId(v string)
SetExternalRecipientId sets field value
func (*InvoiceUpdateResponse) SetId ¶
func (o *InvoiceUpdateResponse) SetId(v string)
SetId sets field value
func (*InvoiceUpdateResponse) SetInvoiceStatus ¶
func (o *InvoiceUpdateResponse) SetInvoiceStatus(v string)
SetInvoiceStatus sets field value
func (*InvoiceUpdateResponse) SetIsVoided ¶
func (o *InvoiceUpdateResponse) SetIsVoided(v bool)
SetIsVoided sets field value
func (*InvoiceUpdateResponse) SetReceivedByRecipientDate ¶
func (o *InvoiceUpdateResponse) SetReceivedByRecipientDate(v int64)
SetReceivedByRecipientDate gets a reference to the given int64 and assigns it to the ReceivedByRecipientDate field.
func (*InvoiceUpdateResponse) SetTotalAmountBilled ¶
func (o *InvoiceUpdateResponse) SetTotalAmountBilled(v float32)
SetTotalAmountBilled sets field value
func (*InvoiceUpdateResponse) SetUpdatedAt ¶
func (o *InvoiceUpdateResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type InvoicesResponseExternal ¶
type InvoicesResponseExternal struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The list of invoices that were found for the request. Invoices []AccountingExtensionInvoice `json:"invoices"` }
InvoicesResponseExternal A response to a request for invoices.
func NewInvoicesResponseExternal ¶
func NewInvoicesResponseExternal(invoices []AccountingExtensionInvoice) *InvoicesResponseExternal
NewInvoicesResponseExternal instantiates a new InvoicesResponseExternal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoicesResponseExternalWithDefaults ¶
func NewInvoicesResponseExternalWithDefaults() *InvoicesResponseExternal
NewInvoicesResponseExternalWithDefaults instantiates a new InvoicesResponseExternal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoicesResponseExternal) GetInvoices ¶
func (o *InvoicesResponseExternal) GetInvoices() []AccountingExtensionInvoice
GetInvoices returns the Invoices field value
func (*InvoicesResponseExternal) GetInvoicesOk ¶
func (o *InvoicesResponseExternal) GetInvoicesOk() ([]AccountingExtensionInvoice, bool)
GetInvoicesOk returns a tuple with the Invoices field value and a boolean to check if the value has been set.
func (*InvoicesResponseExternal) GetResult ¶
func (o *InvoicesResponseExternal) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*InvoicesResponseExternal) GetResultOk ¶
func (o *InvoicesResponseExternal) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoicesResponseExternal) HasResult ¶
func (o *InvoicesResponseExternal) HasResult() bool
HasResult returns a boolean if a field has been set.
func (InvoicesResponseExternal) MarshalJSON ¶
func (o InvoicesResponseExternal) MarshalJSON() ([]byte, error)
func (*InvoicesResponseExternal) SetInvoices ¶
func (o *InvoicesResponseExternal) SetInvoices(v []AccountingExtensionInvoice)
SetInvoices sets field value
func (*InvoicesResponseExternal) SetResult ¶
func (o *InvoicesResponseExternal) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
type NullableAccountingAppSettings ¶
type NullableAccountingAppSettings struct {
// contains filtered or unexported fields
}
func NewNullableAccountingAppSettings ¶
func NewNullableAccountingAppSettings(val *AccountingAppSettings) *NullableAccountingAppSettings
func (NullableAccountingAppSettings) Get ¶
func (v NullableAccountingAppSettings) Get() *AccountingAppSettings
func (NullableAccountingAppSettings) IsSet ¶
func (v NullableAccountingAppSettings) IsSet() bool
func (NullableAccountingAppSettings) MarshalJSON ¶
func (v NullableAccountingAppSettings) MarshalJSON() ([]byte, error)
func (*NullableAccountingAppSettings) Set ¶
func (v *NullableAccountingAppSettings) Set(val *AccountingAppSettings)
func (*NullableAccountingAppSettings) UnmarshalJSON ¶
func (v *NullableAccountingAppSettings) UnmarshalJSON(src []byte) error
func (*NullableAccountingAppSettings) Unset ¶
func (v *NullableAccountingAppSettings) Unset()
type NullableAccountingAppUrls ¶
type NullableAccountingAppUrls struct {
// contains filtered or unexported fields
}
func NewNullableAccountingAppUrls ¶
func NewNullableAccountingAppUrls(val *AccountingAppUrls) *NullableAccountingAppUrls
func (NullableAccountingAppUrls) Get ¶
func (v NullableAccountingAppUrls) Get() *AccountingAppUrls
func (NullableAccountingAppUrls) IsSet ¶
func (v NullableAccountingAppUrls) IsSet() bool
func (NullableAccountingAppUrls) MarshalJSON ¶
func (v NullableAccountingAppUrls) MarshalJSON() ([]byte, error)
func (*NullableAccountingAppUrls) Set ¶
func (v *NullableAccountingAppUrls) Set(val *AccountingAppUrls)
func (*NullableAccountingAppUrls) UnmarshalJSON ¶
func (v *NullableAccountingAppUrls) UnmarshalJSON(src []byte) error
func (*NullableAccountingAppUrls) Unset ¶
func (v *NullableAccountingAppUrls) Unset()
type NullableAccountingExtensionCustomer ¶
type NullableAccountingExtensionCustomer struct {
// contains filtered or unexported fields
}
func NewNullableAccountingExtensionCustomer ¶
func NewNullableAccountingExtensionCustomer(val *AccountingExtensionCustomer) *NullableAccountingExtensionCustomer
func (NullableAccountingExtensionCustomer) Get ¶
func (v NullableAccountingExtensionCustomer) Get() *AccountingExtensionCustomer
func (NullableAccountingExtensionCustomer) IsSet ¶
func (v NullableAccountingExtensionCustomer) IsSet() bool
func (NullableAccountingExtensionCustomer) MarshalJSON ¶
func (v NullableAccountingExtensionCustomer) MarshalJSON() ([]byte, error)
func (*NullableAccountingExtensionCustomer) Set ¶
func (v *NullableAccountingExtensionCustomer) Set(val *AccountingExtensionCustomer)
func (*NullableAccountingExtensionCustomer) UnmarshalJSON ¶
func (v *NullableAccountingExtensionCustomer) UnmarshalJSON(src []byte) error
func (*NullableAccountingExtensionCustomer) Unset ¶
func (v *NullableAccountingExtensionCustomer) Unset()
type NullableAccountingExtensionInvoice ¶
type NullableAccountingExtensionInvoice struct {
// contains filtered or unexported fields
}
func NewNullableAccountingExtensionInvoice ¶
func NewNullableAccountingExtensionInvoice(val *AccountingExtensionInvoice) *NullableAccountingExtensionInvoice
func (NullableAccountingExtensionInvoice) Get ¶
func (v NullableAccountingExtensionInvoice) Get() *AccountingExtensionInvoice
func (NullableAccountingExtensionInvoice) IsSet ¶
func (v NullableAccountingExtensionInvoice) IsSet() bool
func (NullableAccountingExtensionInvoice) MarshalJSON ¶
func (v NullableAccountingExtensionInvoice) MarshalJSON() ([]byte, error)
func (*NullableAccountingExtensionInvoice) Set ¶
func (v *NullableAccountingExtensionInvoice) Set(val *AccountingExtensionInvoice)
func (*NullableAccountingExtensionInvoice) UnmarshalJSON ¶
func (v *NullableAccountingExtensionInvoice) UnmarshalJSON(src []byte) error
func (*NullableAccountingExtensionInvoice) Unset ¶
func (v *NullableAccountingExtensionInvoice) Unset()
type NullableAccountingExtensionTerm ¶
type NullableAccountingExtensionTerm struct {
// contains filtered or unexported fields
}
func NewNullableAccountingExtensionTerm ¶
func NewNullableAccountingExtensionTerm(val *AccountingExtensionTerm) *NullableAccountingExtensionTerm
func (NullableAccountingExtensionTerm) Get ¶
func (v NullableAccountingExtensionTerm) Get() *AccountingExtensionTerm
func (NullableAccountingExtensionTerm) IsSet ¶
func (v NullableAccountingExtensionTerm) IsSet() bool
func (NullableAccountingExtensionTerm) MarshalJSON ¶
func (v NullableAccountingExtensionTerm) MarshalJSON() ([]byte, error)
func (*NullableAccountingExtensionTerm) Set ¶
func (v *NullableAccountingExtensionTerm) Set(val *AccountingExtensionTerm)
func (*NullableAccountingExtensionTerm) UnmarshalJSON ¶
func (v *NullableAccountingExtensionTerm) UnmarshalJSON(src []byte) error
func (*NullableAccountingExtensionTerm) Unset ¶
func (v *NullableAccountingExtensionTerm) Unset()
type NullableAccountingFeatures ¶
type NullableAccountingFeatures struct {
// contains filtered or unexported fields
}
func NewNullableAccountingFeatures ¶
func NewNullableAccountingFeatures(val *AccountingFeatures) *NullableAccountingFeatures
func (NullableAccountingFeatures) Get ¶
func (v NullableAccountingFeatures) Get() *AccountingFeatures
func (NullableAccountingFeatures) IsSet ¶
func (v NullableAccountingFeatures) IsSet() bool
func (NullableAccountingFeatures) MarshalJSON ¶
func (v NullableAccountingFeatures) MarshalJSON() ([]byte, error)
func (*NullableAccountingFeatures) Set ¶
func (v *NullableAccountingFeatures) Set(val *AccountingFeatures)
func (*NullableAccountingFeatures) UnmarshalJSON ¶
func (v *NullableAccountingFeatures) UnmarshalJSON(src []byte) error
func (*NullableAccountingFeatures) Unset ¶
func (v *NullableAccountingFeatures) Unset()
type NullableActionResponse ¶
type NullableActionResponse struct {
// contains filtered or unexported fields
}
func NewNullableActionResponse ¶
func NewNullableActionResponse(val *ActionResponse) *NullableActionResponse
func (NullableActionResponse) Get ¶
func (v NullableActionResponse) Get() *ActionResponse
func (NullableActionResponse) IsSet ¶
func (v NullableActionResponse) IsSet() bool
func (NullableActionResponse) MarshalJSON ¶
func (v NullableActionResponse) MarshalJSON() ([]byte, error)
func (*NullableActionResponse) Set ¶
func (v *NullableActionResponse) Set(val *ActionResponse)
func (*NullableActionResponse) UnmarshalJSON ¶
func (v *NullableActionResponse) UnmarshalJSON(src []byte) error
func (*NullableActionResponse) Unset ¶
func (v *NullableActionResponse) Unset()
type NullableAddress ¶
type NullableAddress struct {
// contains filtered or unexported fields
}
func NewNullableAddress ¶
func NewNullableAddress(val *Address) *NullableAddress
func (NullableAddress) Get ¶
func (v NullableAddress) Get() *Address
func (NullableAddress) IsSet ¶
func (v NullableAddress) IsSet() bool
func (NullableAddress) MarshalJSON ¶
func (v NullableAddress) MarshalJSON() ([]byte, error)
func (*NullableAddress) Set ¶
func (v *NullableAddress) Set(val *Address)
func (*NullableAddress) UnmarshalJSON ¶
func (v *NullableAddress) UnmarshalJSON(src []byte) error
func (*NullableAddress) Unset ¶
func (v *NullableAddress) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateInvoiceFeature ¶
type NullableCreateInvoiceFeature struct {
// contains filtered or unexported fields
}
func NewNullableCreateInvoiceFeature ¶
func NewNullableCreateInvoiceFeature(val *CreateInvoiceFeature) *NullableCreateInvoiceFeature
func (NullableCreateInvoiceFeature) Get ¶
func (v NullableCreateInvoiceFeature) Get() *CreateInvoiceFeature
func (NullableCreateInvoiceFeature) IsSet ¶
func (v NullableCreateInvoiceFeature) IsSet() bool
func (NullableCreateInvoiceFeature) MarshalJSON ¶
func (v NullableCreateInvoiceFeature) MarshalJSON() ([]byte, error)
func (*NullableCreateInvoiceFeature) Set ¶
func (v *NullableCreateInvoiceFeature) Set(val *CreateInvoiceFeature)
func (*NullableCreateInvoiceFeature) UnmarshalJSON ¶
func (v *NullableCreateInvoiceFeature) UnmarshalJSON(src []byte) error
func (*NullableCreateInvoiceFeature) Unset ¶
func (v *NullableCreateInvoiceFeature) Unset()
type NullableCreateInvoiceSubFeatures ¶
type NullableCreateInvoiceSubFeatures struct {
// contains filtered or unexported fields
}
func NewNullableCreateInvoiceSubFeatures ¶
func NewNullableCreateInvoiceSubFeatures(val *CreateInvoiceSubFeatures) *NullableCreateInvoiceSubFeatures
func (NullableCreateInvoiceSubFeatures) Get ¶
func (v NullableCreateInvoiceSubFeatures) Get() *CreateInvoiceSubFeatures
func (NullableCreateInvoiceSubFeatures) IsSet ¶
func (v NullableCreateInvoiceSubFeatures) IsSet() bool
func (NullableCreateInvoiceSubFeatures) MarshalJSON ¶
func (v NullableCreateInvoiceSubFeatures) MarshalJSON() ([]byte, error)
func (*NullableCreateInvoiceSubFeatures) Set ¶
func (v *NullableCreateInvoiceSubFeatures) Set(val *CreateInvoiceSubFeatures)
func (*NullableCreateInvoiceSubFeatures) UnmarshalJSON ¶
func (v *NullableCreateInvoiceSubFeatures) UnmarshalJSON(src []byte) error
func (*NullableCreateInvoiceSubFeatures) Unset ¶
func (v *NullableCreateInvoiceSubFeatures) Unset()
type NullableCreateUserAccountRequestExternal ¶
type NullableCreateUserAccountRequestExternal struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserAccountRequestExternal ¶
func NewNullableCreateUserAccountRequestExternal(val *CreateUserAccountRequestExternal) *NullableCreateUserAccountRequestExternal
func (NullableCreateUserAccountRequestExternal) IsSet ¶
func (v NullableCreateUserAccountRequestExternal) IsSet() bool
func (NullableCreateUserAccountRequestExternal) MarshalJSON ¶
func (v NullableCreateUserAccountRequestExternal) MarshalJSON() ([]byte, error)
func (*NullableCreateUserAccountRequestExternal) Set ¶
func (v *NullableCreateUserAccountRequestExternal) Set(val *CreateUserAccountRequestExternal)
func (*NullableCreateUserAccountRequestExternal) UnmarshalJSON ¶
func (v *NullableCreateUserAccountRequestExternal) UnmarshalJSON(src []byte) error
func (*NullableCreateUserAccountRequestExternal) Unset ¶
func (v *NullableCreateUserAccountRequestExternal) Unset()
type NullableCustomerSearchResponseExternal ¶
type NullableCustomerSearchResponseExternal struct {
// contains filtered or unexported fields
}
func NewNullableCustomerSearchResponseExternal ¶
func NewNullableCustomerSearchResponseExternal(val *CustomerSearchResponseExternal) *NullableCustomerSearchResponseExternal
func (NullableCustomerSearchResponseExternal) Get ¶
func (v NullableCustomerSearchResponseExternal) Get() *CustomerSearchResponseExternal
func (NullableCustomerSearchResponseExternal) IsSet ¶
func (v NullableCustomerSearchResponseExternal) IsSet() bool
func (NullableCustomerSearchResponseExternal) MarshalJSON ¶
func (v NullableCustomerSearchResponseExternal) MarshalJSON() ([]byte, error)
func (*NullableCustomerSearchResponseExternal) Set ¶
func (v *NullableCustomerSearchResponseExternal) Set(val *CustomerSearchResponseExternal)
func (*NullableCustomerSearchResponseExternal) UnmarshalJSON ¶
func (v *NullableCustomerSearchResponseExternal) UnmarshalJSON(src []byte) error
func (*NullableCustomerSearchResponseExternal) Unset ¶
func (v *NullableCustomerSearchResponseExternal) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorDetail ¶
type NullableErrorDetail struct {
// contains filtered or unexported fields
}
func NewNullableErrorDetail ¶
func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail
func (NullableErrorDetail) Get ¶
func (v NullableErrorDetail) Get() *ErrorDetail
func (NullableErrorDetail) IsSet ¶
func (v NullableErrorDetail) IsSet() bool
func (NullableErrorDetail) MarshalJSON ¶
func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
func (*NullableErrorDetail) Set ¶
func (v *NullableErrorDetail) Set(val *ErrorDetail)
func (*NullableErrorDetail) UnmarshalJSON ¶
func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
func (*NullableErrorDetail) Unset ¶
func (v *NullableErrorDetail) Unset()
type NullableExchangeRateResponse ¶
type NullableExchangeRateResponse struct {
// contains filtered or unexported fields
}
func NewNullableExchangeRateResponse ¶
func NewNullableExchangeRateResponse(val *ExchangeRateResponse) *NullableExchangeRateResponse
func (NullableExchangeRateResponse) Get ¶
func (v NullableExchangeRateResponse) Get() *ExchangeRateResponse
func (NullableExchangeRateResponse) IsSet ¶
func (v NullableExchangeRateResponse) IsSet() bool
func (NullableExchangeRateResponse) MarshalJSON ¶
func (v NullableExchangeRateResponse) MarshalJSON() ([]byte, error)
func (*NullableExchangeRateResponse) Set ¶
func (v *NullableExchangeRateResponse) Set(val *ExchangeRateResponse)
func (*NullableExchangeRateResponse) UnmarshalJSON ¶
func (v *NullableExchangeRateResponse) UnmarshalJSON(src []byte) error
func (*NullableExchangeRateResponse) Unset ¶
func (v *NullableExchangeRateResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableImportInvoiceFeature ¶
type NullableImportInvoiceFeature struct {
// contains filtered or unexported fields
}
func NewNullableImportInvoiceFeature ¶
func NewNullableImportInvoiceFeature(val *ImportInvoiceFeature) *NullableImportInvoiceFeature
func (NullableImportInvoiceFeature) Get ¶
func (v NullableImportInvoiceFeature) Get() *ImportInvoiceFeature
func (NullableImportInvoiceFeature) IsSet ¶
func (v NullableImportInvoiceFeature) IsSet() bool
func (NullableImportInvoiceFeature) MarshalJSON ¶
func (v NullableImportInvoiceFeature) MarshalJSON() ([]byte, error)
func (*NullableImportInvoiceFeature) Set ¶
func (v *NullableImportInvoiceFeature) Set(val *ImportInvoiceFeature)
func (*NullableImportInvoiceFeature) UnmarshalJSON ¶
func (v *NullableImportInvoiceFeature) UnmarshalJSON(src []byte) error
func (*NullableImportInvoiceFeature) Unset ¶
func (v *NullableImportInvoiceFeature) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableInvoiceCreatePaymentRequest ¶
type NullableInvoiceCreatePaymentRequest struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceCreatePaymentRequest ¶
func NewNullableInvoiceCreatePaymentRequest(val *InvoiceCreatePaymentRequest) *NullableInvoiceCreatePaymentRequest
func (NullableInvoiceCreatePaymentRequest) Get ¶
func (v NullableInvoiceCreatePaymentRequest) Get() *InvoiceCreatePaymentRequest
func (NullableInvoiceCreatePaymentRequest) IsSet ¶
func (v NullableInvoiceCreatePaymentRequest) IsSet() bool
func (NullableInvoiceCreatePaymentRequest) MarshalJSON ¶
func (v NullableInvoiceCreatePaymentRequest) MarshalJSON() ([]byte, error)
func (*NullableInvoiceCreatePaymentRequest) Set ¶
func (v *NullableInvoiceCreatePaymentRequest) Set(val *InvoiceCreatePaymentRequest)
func (*NullableInvoiceCreatePaymentRequest) UnmarshalJSON ¶
func (v *NullableInvoiceCreatePaymentRequest) UnmarshalJSON(src []byte) error
func (*NullableInvoiceCreatePaymentRequest) Unset ¶
func (v *NullableInvoiceCreatePaymentRequest) Unset()
type NullableInvoicePdfResponse ¶
type NullableInvoicePdfResponse struct {
// contains filtered or unexported fields
}
func NewNullableInvoicePdfResponse ¶
func NewNullableInvoicePdfResponse(val *InvoicePdfResponse) *NullableInvoicePdfResponse
func (NullableInvoicePdfResponse) Get ¶
func (v NullableInvoicePdfResponse) Get() *InvoicePdfResponse
func (NullableInvoicePdfResponse) IsSet ¶
func (v NullableInvoicePdfResponse) IsSet() bool
func (NullableInvoicePdfResponse) MarshalJSON ¶
func (v NullableInvoicePdfResponse) MarshalJSON() ([]byte, error)
func (*NullableInvoicePdfResponse) Set ¶
func (v *NullableInvoicePdfResponse) Set(val *InvoicePdfResponse)
func (*NullableInvoicePdfResponse) UnmarshalJSON ¶
func (v *NullableInvoicePdfResponse) UnmarshalJSON(src []byte) error
func (*NullableInvoicePdfResponse) Unset ¶
func (v *NullableInvoicePdfResponse) Unset()
type NullableInvoiceReadResponse ¶
type NullableInvoiceReadResponse struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceReadResponse ¶
func NewNullableInvoiceReadResponse(val *InvoiceReadResponse) *NullableInvoiceReadResponse
func (NullableInvoiceReadResponse) Get ¶
func (v NullableInvoiceReadResponse) Get() *InvoiceReadResponse
func (NullableInvoiceReadResponse) IsSet ¶
func (v NullableInvoiceReadResponse) IsSet() bool
func (NullableInvoiceReadResponse) MarshalJSON ¶
func (v NullableInvoiceReadResponse) MarshalJSON() ([]byte, error)
func (*NullableInvoiceReadResponse) Set ¶
func (v *NullableInvoiceReadResponse) Set(val *InvoiceReadResponse)
func (*NullableInvoiceReadResponse) UnmarshalJSON ¶
func (v *NullableInvoiceReadResponse) UnmarshalJSON(src []byte) error
func (*NullableInvoiceReadResponse) Unset ¶
func (v *NullableInvoiceReadResponse) Unset()
type NullableInvoiceSearchResponse ¶
type NullableInvoiceSearchResponse struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceSearchResponse ¶
func NewNullableInvoiceSearchResponse(val *InvoiceSearchResponse) *NullableInvoiceSearchResponse
func (NullableInvoiceSearchResponse) Get ¶
func (v NullableInvoiceSearchResponse) Get() *InvoiceSearchResponse
func (NullableInvoiceSearchResponse) IsSet ¶
func (v NullableInvoiceSearchResponse) IsSet() bool
func (NullableInvoiceSearchResponse) MarshalJSON ¶
func (v NullableInvoiceSearchResponse) MarshalJSON() ([]byte, error)
func (*NullableInvoiceSearchResponse) Set ¶
func (v *NullableInvoiceSearchResponse) Set(val *InvoiceSearchResponse)
func (*NullableInvoiceSearchResponse) UnmarshalJSON ¶
func (v *NullableInvoiceSearchResponse) UnmarshalJSON(src []byte) error
func (*NullableInvoiceSearchResponse) Unset ¶
func (v *NullableInvoiceSearchResponse) Unset()
type NullableInvoiceUpdateRequest ¶
type NullableInvoiceUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceUpdateRequest ¶
func NewNullableInvoiceUpdateRequest(val *InvoiceUpdateRequest) *NullableInvoiceUpdateRequest
func (NullableInvoiceUpdateRequest) Get ¶
func (v NullableInvoiceUpdateRequest) Get() *InvoiceUpdateRequest
func (NullableInvoiceUpdateRequest) IsSet ¶
func (v NullableInvoiceUpdateRequest) IsSet() bool
func (NullableInvoiceUpdateRequest) MarshalJSON ¶
func (v NullableInvoiceUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableInvoiceUpdateRequest) Set ¶
func (v *NullableInvoiceUpdateRequest) Set(val *InvoiceUpdateRequest)
func (*NullableInvoiceUpdateRequest) UnmarshalJSON ¶
func (v *NullableInvoiceUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableInvoiceUpdateRequest) Unset ¶
func (v *NullableInvoiceUpdateRequest) Unset()
type NullableInvoiceUpdateResponse ¶
type NullableInvoiceUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceUpdateResponse ¶
func NewNullableInvoiceUpdateResponse(val *InvoiceUpdateResponse) *NullableInvoiceUpdateResponse
func (NullableInvoiceUpdateResponse) Get ¶
func (v NullableInvoiceUpdateResponse) Get() *InvoiceUpdateResponse
func (NullableInvoiceUpdateResponse) IsSet ¶
func (v NullableInvoiceUpdateResponse) IsSet() bool
func (NullableInvoiceUpdateResponse) MarshalJSON ¶
func (v NullableInvoiceUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableInvoiceUpdateResponse) Set ¶
func (v *NullableInvoiceUpdateResponse) Set(val *InvoiceUpdateResponse)
func (*NullableInvoiceUpdateResponse) UnmarshalJSON ¶
func (v *NullableInvoiceUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableInvoiceUpdateResponse) Unset ¶
func (v *NullableInvoiceUpdateResponse) Unset()
type NullableInvoicesResponseExternal ¶
type NullableInvoicesResponseExternal struct {
// contains filtered or unexported fields
}
func NewNullableInvoicesResponseExternal ¶
func NewNullableInvoicesResponseExternal(val *InvoicesResponseExternal) *NullableInvoicesResponseExternal
func (NullableInvoicesResponseExternal) Get ¶
func (v NullableInvoicesResponseExternal) Get() *InvoicesResponseExternal
func (NullableInvoicesResponseExternal) IsSet ¶
func (v NullableInvoicesResponseExternal) IsSet() bool
func (NullableInvoicesResponseExternal) MarshalJSON ¶
func (v NullableInvoicesResponseExternal) MarshalJSON() ([]byte, error)
func (*NullableInvoicesResponseExternal) Set ¶
func (v *NullableInvoicesResponseExternal) Set(val *InvoicesResponseExternal)
func (*NullableInvoicesResponseExternal) UnmarshalJSON ¶
func (v *NullableInvoicesResponseExternal) UnmarshalJSON(src []byte) error
func (*NullableInvoicesResponseExternal) Unset ¶
func (v *NullableInvoicesResponseExternal) Unset()
type NullableObjectSyncFeature ¶
type NullableObjectSyncFeature struct {
// contains filtered or unexported fields
}
func NewNullableObjectSyncFeature ¶
func NewNullableObjectSyncFeature(val *ObjectSyncFeature) *NullableObjectSyncFeature
func (NullableObjectSyncFeature) Get ¶
func (v NullableObjectSyncFeature) Get() *ObjectSyncFeature
func (NullableObjectSyncFeature) IsSet ¶
func (v NullableObjectSyncFeature) IsSet() bool
func (NullableObjectSyncFeature) MarshalJSON ¶
func (v NullableObjectSyncFeature) MarshalJSON() ([]byte, error)
func (*NullableObjectSyncFeature) Set ¶
func (v *NullableObjectSyncFeature) Set(val *ObjectSyncFeature)
func (*NullableObjectSyncFeature) UnmarshalJSON ¶
func (v *NullableObjectSyncFeature) UnmarshalJSON(src []byte) error
func (*NullableObjectSyncFeature) Unset ¶
func (v *NullableObjectSyncFeature) Unset()
type NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableProductSearchResponse ¶
type NullableProductSearchResponse struct {
// contains filtered or unexported fields
}
func NewNullableProductSearchResponse ¶
func NewNullableProductSearchResponse(val *ProductSearchResponse) *NullableProductSearchResponse
func (NullableProductSearchResponse) Get ¶
func (v NullableProductSearchResponse) Get() *ProductSearchResponse
func (NullableProductSearchResponse) IsSet ¶
func (v NullableProductSearchResponse) IsSet() bool
func (NullableProductSearchResponse) MarshalJSON ¶
func (v NullableProductSearchResponse) MarshalJSON() ([]byte, error)
func (*NullableProductSearchResponse) Set ¶
func (v *NullableProductSearchResponse) Set(val *ProductSearchResponse)
func (*NullableProductSearchResponse) UnmarshalJSON ¶
func (v *NullableProductSearchResponse) UnmarshalJSON(src []byte) error
func (*NullableProductSearchResponse) Unset ¶
func (v *NullableProductSearchResponse) Unset()
type NullableResultIdAccountingResponse ¶
type NullableResultIdAccountingResponse struct {
// contains filtered or unexported fields
}
func NewNullableResultIdAccountingResponse ¶
func NewNullableResultIdAccountingResponse(val *ResultIdAccountingResponse) *NullableResultIdAccountingResponse
func (NullableResultIdAccountingResponse) Get ¶
func (v NullableResultIdAccountingResponse) Get() *ResultIdAccountingResponse
func (NullableResultIdAccountingResponse) IsSet ¶
func (v NullableResultIdAccountingResponse) IsSet() bool
func (NullableResultIdAccountingResponse) MarshalJSON ¶
func (v NullableResultIdAccountingResponse) MarshalJSON() ([]byte, error)
func (*NullableResultIdAccountingResponse) Set ¶
func (v *NullableResultIdAccountingResponse) Set(val *ResultIdAccountingResponse)
func (*NullableResultIdAccountingResponse) UnmarshalJSON ¶
func (v *NullableResultIdAccountingResponse) UnmarshalJSON(src []byte) error
func (*NullableResultIdAccountingResponse) Unset ¶
func (v *NullableResultIdAccountingResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSyncContactsRequest ¶
type NullableSyncContactsRequest struct {
// contains filtered or unexported fields
}
func NewNullableSyncContactsRequest ¶
func NewNullableSyncContactsRequest(val *SyncContactsRequest) *NullableSyncContactsRequest
func (NullableSyncContactsRequest) Get ¶
func (v NullableSyncContactsRequest) Get() *SyncContactsRequest
func (NullableSyncContactsRequest) IsSet ¶
func (v NullableSyncContactsRequest) IsSet() bool
func (NullableSyncContactsRequest) MarshalJSON ¶
func (v NullableSyncContactsRequest) MarshalJSON() ([]byte, error)
func (*NullableSyncContactsRequest) Set ¶
func (v *NullableSyncContactsRequest) Set(val *SyncContactsRequest)
func (*NullableSyncContactsRequest) UnmarshalJSON ¶
func (v *NullableSyncContactsRequest) UnmarshalJSON(src []byte) error
func (*NullableSyncContactsRequest) Unset ¶
func (v *NullableSyncContactsRequest) Unset()
type NullableSyncProductsRequest ¶
type NullableSyncProductsRequest struct {
// contains filtered or unexported fields
}
func NewNullableSyncProductsRequest ¶
func NewNullableSyncProductsRequest(val *SyncProductsRequest) *NullableSyncProductsRequest
func (NullableSyncProductsRequest) Get ¶
func (v NullableSyncProductsRequest) Get() *SyncProductsRequest
func (NullableSyncProductsRequest) IsSet ¶
func (v NullableSyncProductsRequest) IsSet() bool
func (NullableSyncProductsRequest) MarshalJSON ¶
func (v NullableSyncProductsRequest) MarshalJSON() ([]byte, error)
func (*NullableSyncProductsRequest) Set ¶
func (v *NullableSyncProductsRequest) Set(val *SyncProductsRequest)
func (*NullableSyncProductsRequest) UnmarshalJSON ¶
func (v *NullableSyncProductsRequest) UnmarshalJSON(src []byte) error
func (*NullableSyncProductsRequest) Unset ¶
func (v *NullableSyncProductsRequest) Unset()
type NullableTax ¶
type NullableTax struct {
// contains filtered or unexported fields
}
func NewNullableTax ¶
func NewNullableTax(val *Tax) *NullableTax
func (NullableTax) Get ¶
func (v NullableTax) Get() *Tax
func (NullableTax) IsSet ¶
func (v NullableTax) IsSet() bool
func (NullableTax) MarshalJSON ¶
func (v NullableTax) MarshalJSON() ([]byte, error)
func (*NullableTax) Set ¶
func (v *NullableTax) Set(val *Tax)
func (*NullableTax) UnmarshalJSON ¶
func (v *NullableTax) UnmarshalJSON(src []byte) error
func (*NullableTax) Unset ¶
func (v *NullableTax) Unset()
type NullableTaxSearchResponse ¶
type NullableTaxSearchResponse struct {
// contains filtered or unexported fields
}
func NewNullableTaxSearchResponse ¶
func NewNullableTaxSearchResponse(val *TaxSearchResponse) *NullableTaxSearchResponse
func (NullableTaxSearchResponse) Get ¶
func (v NullableTaxSearchResponse) Get() *TaxSearchResponse
func (NullableTaxSearchResponse) IsSet ¶
func (v NullableTaxSearchResponse) IsSet() bool
func (NullableTaxSearchResponse) MarshalJSON ¶
func (v NullableTaxSearchResponse) MarshalJSON() ([]byte, error)
func (*NullableTaxSearchResponse) Set ¶
func (v *NullableTaxSearchResponse) Set(val *TaxSearchResponse)
func (*NullableTaxSearchResponse) UnmarshalJSON ¶
func (v *NullableTaxSearchResponse) UnmarshalJSON(src []byte) error
func (*NullableTaxSearchResponse) Unset ¶
func (v *NullableTaxSearchResponse) Unset()
type NullableTaxType ¶
type NullableTaxType struct {
// contains filtered or unexported fields
}
func NewNullableTaxType ¶
func NewNullableTaxType(val *TaxType) *NullableTaxType
func (NullableTaxType) Get ¶
func (v NullableTaxType) Get() *TaxType
func (NullableTaxType) IsSet ¶
func (v NullableTaxType) IsSet() bool
func (NullableTaxType) MarshalJSON ¶
func (v NullableTaxType) MarshalJSON() ([]byte, error)
func (*NullableTaxType) Set ¶
func (v *NullableTaxType) Set(val *TaxType)
func (*NullableTaxType) UnmarshalJSON ¶
func (v *NullableTaxType) UnmarshalJSON(src []byte) error
func (*NullableTaxType) Unset ¶
func (v *NullableTaxType) Unset()
type NullableTermsResponse ¶
type NullableTermsResponse struct {
// contains filtered or unexported fields
}
func NewNullableTermsResponse ¶
func NewNullableTermsResponse(val *TermsResponse) *NullableTermsResponse
func (NullableTermsResponse) Get ¶
func (v NullableTermsResponse) Get() *TermsResponse
func (NullableTermsResponse) IsSet ¶
func (v NullableTermsResponse) IsSet() bool
func (NullableTermsResponse) MarshalJSON ¶
func (v NullableTermsResponse) MarshalJSON() ([]byte, error)
func (*NullableTermsResponse) Set ¶
func (v *NullableTermsResponse) Set(val *TermsResponse)
func (*NullableTermsResponse) UnmarshalJSON ¶
func (v *NullableTermsResponse) UnmarshalJSON(src []byte) error
func (*NullableTermsResponse) Unset ¶
func (v *NullableTermsResponse) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUnitPrice ¶
type NullableUnitPrice struct {
// contains filtered or unexported fields
}
func NewNullableUnitPrice ¶
func NewNullableUnitPrice(val *UnitPrice) *NullableUnitPrice
func (NullableUnitPrice) Get ¶
func (v NullableUnitPrice) Get() *UnitPrice
func (NullableUnitPrice) IsSet ¶
func (v NullableUnitPrice) IsSet() bool
func (NullableUnitPrice) MarshalJSON ¶
func (v NullableUnitPrice) MarshalJSON() ([]byte, error)
func (*NullableUnitPrice) Set ¶
func (v *NullableUnitPrice) Set(val *UnitPrice)
func (*NullableUnitPrice) UnmarshalJSON ¶
func (v *NullableUnitPrice) UnmarshalJSON(src []byte) error
func (*NullableUnitPrice) Unset ¶
func (v *NullableUnitPrice) Unset()
type NullableUpdatedContact ¶
type NullableUpdatedContact struct {
// contains filtered or unexported fields
}
func NewNullableUpdatedContact ¶
func NewNullableUpdatedContact(val *UpdatedContact) *NullableUpdatedContact
func (NullableUpdatedContact) Get ¶
func (v NullableUpdatedContact) Get() *UpdatedContact
func (NullableUpdatedContact) IsSet ¶
func (v NullableUpdatedContact) IsSet() bool
func (NullableUpdatedContact) MarshalJSON ¶
func (v NullableUpdatedContact) MarshalJSON() ([]byte, error)
func (*NullableUpdatedContact) Set ¶
func (v *NullableUpdatedContact) Set(val *UpdatedContact)
func (*NullableUpdatedContact) UnmarshalJSON ¶
func (v *NullableUpdatedContact) UnmarshalJSON(src []byte) error
func (*NullableUpdatedContact) Unset ¶
func (v *NullableUpdatedContact) Unset()
type NullableUpdatedProduct ¶
type NullableUpdatedProduct struct {
// contains filtered or unexported fields
}
func NewNullableUpdatedProduct ¶
func NewNullableUpdatedProduct(val *UpdatedProduct) *NullableUpdatedProduct
func (NullableUpdatedProduct) Get ¶
func (v NullableUpdatedProduct) Get() *UpdatedProduct
func (NullableUpdatedProduct) IsSet ¶
func (v NullableUpdatedProduct) IsSet() bool
func (NullableUpdatedProduct) MarshalJSON ¶
func (v NullableUpdatedProduct) MarshalJSON() ([]byte, error)
func (*NullableUpdatedProduct) Set ¶
func (v *NullableUpdatedProduct) Set(val *UpdatedProduct)
func (*NullableUpdatedProduct) UnmarshalJSON ¶
func (v *NullableUpdatedProduct) UnmarshalJSON(src []byte) error
func (*NullableUpdatedProduct) Unset ¶
func (v *NullableUpdatedProduct) Unset()
type ObjectSyncFeature ¶
type ObjectSyncFeature struct { // Indicates if syncing the object type from the external accounting system into HubSpot is supported. ToHubSpot bool `json:"toHubSpot"` }
ObjectSyncFeature struct for ObjectSyncFeature
func NewObjectSyncFeature ¶
func NewObjectSyncFeature(toHubSpot bool) *ObjectSyncFeature
NewObjectSyncFeature instantiates a new ObjectSyncFeature object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectSyncFeatureWithDefaults ¶
func NewObjectSyncFeatureWithDefaults() *ObjectSyncFeature
NewObjectSyncFeatureWithDefaults instantiates a new ObjectSyncFeature object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectSyncFeature) GetToHubSpot ¶
func (o *ObjectSyncFeature) GetToHubSpot() bool
GetToHubSpot returns the ToHubSpot field value
func (*ObjectSyncFeature) GetToHubSpotOk ¶
func (o *ObjectSyncFeature) GetToHubSpotOk() (*bool, bool)
GetToHubSpotOk returns a tuple with the ToHubSpot field value and a boolean to check if the value has been set.
func (ObjectSyncFeature) MarshalJSON ¶
func (o ObjectSyncFeature) MarshalJSON() ([]byte, error)
func (*ObjectSyncFeature) SetToHubSpot ¶
func (o *ObjectSyncFeature) SetToHubSpot(v bool)
SetToHubSpot sets field value
type Product ¶
type Product struct { UnitPrice UnitPrice `json:"unitPrice"` // Identifies if the product is tax exempt or not. TaxExempt bool `json:"taxExempt"` SalesTaxType *TaxType `json:"salesTaxType,omitempty"` // The display name of the product. Name string `json:"name"` // The description of the product. Description *string `json:"description,omitempty"` // The ID of the product in the external accounting system. Id string `json:"id"` }
Product Representation of a product in the external accounting system.
func NewProduct ¶
NewProduct instantiates a new Product object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Product) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Product) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Product) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Product) GetSalesTaxType ¶
GetSalesTaxType returns the SalesTaxType field value if set, zero value otherwise.
func (*Product) GetSalesTaxTypeOk ¶
GetSalesTaxTypeOk returns a tuple with the SalesTaxType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetTaxExempt ¶
GetTaxExempt returns the TaxExempt field value
func (*Product) GetTaxExemptOk ¶
GetTaxExemptOk returns a tuple with the TaxExempt field value and a boolean to check if the value has been set.
func (*Product) GetUnitPrice ¶
GetUnitPrice returns the UnitPrice field value
func (*Product) GetUnitPriceOk ¶
GetUnitPriceOk returns a tuple with the UnitPrice field value and a boolean to check if the value has been set.
func (*Product) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Product) HasSalesTaxType ¶
HasSalesTaxType returns a boolean if a field has been set.
func (Product) MarshalJSON ¶
func (*Product) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Product) SetSalesTaxType ¶
SetSalesTaxType gets a reference to the given TaxType and assigns it to the SalesTaxType field.
func (*Product) SetUnitPrice ¶
SetUnitPrice sets field value
type ProductSearchResponse ¶
type ProductSearchResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The list of products that matched the search criteria. Products []Product `json:"products"` }
ProductSearchResponse A response to a search for products.
func NewProductSearchResponse ¶
func NewProductSearchResponse(products []Product) *ProductSearchResponse
NewProductSearchResponse instantiates a new ProductSearchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductSearchResponseWithDefaults ¶
func NewProductSearchResponseWithDefaults() *ProductSearchResponse
NewProductSearchResponseWithDefaults instantiates a new ProductSearchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductSearchResponse) GetProducts ¶
func (o *ProductSearchResponse) GetProducts() []Product
GetProducts returns the Products field value
func (*ProductSearchResponse) GetProductsOk ¶
func (o *ProductSearchResponse) GetProductsOk() ([]Product, bool)
GetProductsOk returns a tuple with the Products field value and a boolean to check if the value has been set.
func (*ProductSearchResponse) GetResult ¶
func (o *ProductSearchResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*ProductSearchResponse) GetResultOk ¶
func (o *ProductSearchResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSearchResponse) HasResult ¶
func (o *ProductSearchResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (ProductSearchResponse) MarshalJSON ¶
func (o ProductSearchResponse) MarshalJSON() ([]byte, error)
func (*ProductSearchResponse) SetProducts ¶
func (o *ProductSearchResponse) SetProducts(v []Product)
SetProducts sets field value
func (*ProductSearchResponse) SetResult ¶
func (o *ProductSearchResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
type ResultIdAccountingResponse ¶
type ResultIdAccountingResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result string `json:"@result"` // The ID of created entity. Id string `json:"id"` }
ResultIdAccountingResponse A response to the creation of an entity (eg. invoice, customer).
func NewResultIdAccountingResponse ¶
func NewResultIdAccountingResponse(result string, id string) *ResultIdAccountingResponse
NewResultIdAccountingResponse instantiates a new ResultIdAccountingResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResultIdAccountingResponseWithDefaults ¶
func NewResultIdAccountingResponseWithDefaults() *ResultIdAccountingResponse
NewResultIdAccountingResponseWithDefaults instantiates a new ResultIdAccountingResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResultIdAccountingResponse) GetId ¶
func (o *ResultIdAccountingResponse) GetId() string
GetId returns the Id field value
func (*ResultIdAccountingResponse) GetIdOk ¶
func (o *ResultIdAccountingResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ResultIdAccountingResponse) GetResult ¶
func (o *ResultIdAccountingResponse) GetResult() string
GetResult returns the Result field value
func (*ResultIdAccountingResponse) GetResultOk ¶
func (o *ResultIdAccountingResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (ResultIdAccountingResponse) MarshalJSON ¶
func (o ResultIdAccountingResponse) MarshalJSON() ([]byte, error)
func (*ResultIdAccountingResponse) SetId ¶
func (o *ResultIdAccountingResponse) SetId(v string)
SetId sets field value
func (*ResultIdAccountingResponse) SetResult ¶
func (o *ResultIdAccountingResponse) SetResult(v string)
SetResult sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SettingsApiService ¶
type SettingsApiService service
SettingsApiService SettingsApi service
func (*SettingsApiService) SettingsGetByID ¶
func (a *SettingsApiService) SettingsGetByID(ctx context.Context, appId int32) ApiSettingsGetByIDRequest
SettingsGetByID Get URL settings
Returns the URL settings for an accounting app with the specified ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appId The ID of the accounting app. This is the identifier of the application created in your HubSpot developer portal. @return ApiSettingsGetByIDRequest
func (*SettingsApiService) SettingsGetByIDExecute ¶
func (a *SettingsApiService) SettingsGetByIDExecute(r ApiSettingsGetByIDRequest) (*AccountingAppSettings, *http.Response, error)
Execute executes the request
@return AccountingAppSettings
func (*SettingsApiService) SettingsReplace ¶
func (a *SettingsApiService) SettingsReplace(ctx context.Context, appId int32) ApiSettingsReplaceRequest
SettingsReplace Add/Update URL Settings
Add/Update the URL settings for an accounting app with the specified ID. All URLs must use the `https` protocol.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appId The ID of the accounting app. This is the identifier of the application created in your HubSpot developer portal. @return ApiSettingsReplaceRequest
func (*SettingsApiService) SettingsReplaceExecute ¶
func (a *SettingsApiService) SettingsReplaceExecute(r ApiSettingsReplaceRequest) (*http.Response, error)
Execute executes the request
type SyncApiService ¶
type SyncApiService service
SyncApiService SyncApi service
func (*SyncApiService) SyncCreateContact ¶
func (a *SyncApiService) SyncCreateContact(ctx context.Context, appId int32) ApiSyncCreateContactRequest
SyncCreateContact Import contacts
Imports contacts' properties from an external accounting system to HubSpot. Import details, including property mappings, must be configured previously in HubSpot infrastructure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appId The ID of the accounting app. This is the identifier of the application created in your HubSpot developer portal. @return ApiSyncCreateContactRequest
func (*SyncApiService) SyncCreateContactExecute ¶
func (a *SyncApiService) SyncCreateContactExecute(r ApiSyncCreateContactRequest) (*ActionResponse, *http.Response, error)
Execute executes the request
@return ActionResponse
func (*SyncApiService) SyncCreateProduct ¶
func (a *SyncApiService) SyncCreateProduct(ctx context.Context, appId int32) ApiSyncCreateProductRequest
SyncCreateProduct Import products
Imports products' properties from an external accounting system to HubSpot. Import details, including property mappings, must be configured previously in HubSpot infrastructure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appId The ID of the accounting app. This is the identifier of the application created in your HubSpot developer portal. @return ApiSyncCreateProductRequest
func (*SyncApiService) SyncCreateProductExecute ¶
func (a *SyncApiService) SyncCreateProductExecute(r ApiSyncCreateProductRequest) (*ActionResponse, *http.Response, error)
Execute executes the request
@return ActionResponse
type SyncContactsRequest ¶
type SyncContactsRequest struct { // The ID of the account in the external accounting system. This is the value that will be passed as `accountId` for all outbound calls for the user from HubSpot to the external accounting system. AccountId string `json:"accountId"` // A list of contacts to be imported. Contacts []UpdatedContact `json:"contacts"` }
SyncContactsRequest A request to import external accounting contact properties in HubSpot
func NewSyncContactsRequest ¶
func NewSyncContactsRequest(accountId string, contacts []UpdatedContact) *SyncContactsRequest
NewSyncContactsRequest instantiates a new SyncContactsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSyncContactsRequestWithDefaults ¶
func NewSyncContactsRequestWithDefaults() *SyncContactsRequest
NewSyncContactsRequestWithDefaults instantiates a new SyncContactsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SyncContactsRequest) GetAccountId ¶
func (o *SyncContactsRequest) GetAccountId() string
GetAccountId returns the AccountId field value
func (*SyncContactsRequest) GetAccountIdOk ¶
func (o *SyncContactsRequest) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*SyncContactsRequest) GetContacts ¶
func (o *SyncContactsRequest) GetContacts() []UpdatedContact
GetContacts returns the Contacts field value
func (*SyncContactsRequest) GetContactsOk ¶
func (o *SyncContactsRequest) GetContactsOk() ([]UpdatedContact, bool)
GetContactsOk returns a tuple with the Contacts field value and a boolean to check if the value has been set.
func (SyncContactsRequest) MarshalJSON ¶
func (o SyncContactsRequest) MarshalJSON() ([]byte, error)
func (*SyncContactsRequest) SetAccountId ¶
func (o *SyncContactsRequest) SetAccountId(v string)
SetAccountId sets field value
func (*SyncContactsRequest) SetContacts ¶
func (o *SyncContactsRequest) SetContacts(v []UpdatedContact)
SetContacts sets field value
type SyncProductsRequest ¶
type SyncProductsRequest struct { // The ID of the account in the external accounting system. This is the value that will be passed as `accountId` for all outbound calls for the user from HubSpot to the external accounting system. AccountId string `json:"accountId"` // A list of products to be imported. Products []UpdatedProduct `json:"products"` }
SyncProductsRequest A request to import external accounting product properties in HubSpot
func NewSyncProductsRequest ¶
func NewSyncProductsRequest(accountId string, products []UpdatedProduct) *SyncProductsRequest
NewSyncProductsRequest instantiates a new SyncProductsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSyncProductsRequestWithDefaults ¶
func NewSyncProductsRequestWithDefaults() *SyncProductsRequest
NewSyncProductsRequestWithDefaults instantiates a new SyncProductsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SyncProductsRequest) GetAccountId ¶
func (o *SyncProductsRequest) GetAccountId() string
GetAccountId returns the AccountId field value
func (*SyncProductsRequest) GetAccountIdOk ¶
func (o *SyncProductsRequest) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*SyncProductsRequest) GetProducts ¶
func (o *SyncProductsRequest) GetProducts() []UpdatedProduct
GetProducts returns the Products field value
func (*SyncProductsRequest) GetProductsOk ¶
func (o *SyncProductsRequest) GetProductsOk() ([]UpdatedProduct, bool)
GetProductsOk returns a tuple with the Products field value and a boolean to check if the value has been set.
func (SyncProductsRequest) MarshalJSON ¶
func (o SyncProductsRequest) MarshalJSON() ([]byte, error)
func (*SyncProductsRequest) SetAccountId ¶
func (o *SyncProductsRequest) SetAccountId(v string)
SetAccountId sets field value
func (*SyncProductsRequest) SetProducts ¶
func (o *SyncProductsRequest) SetProducts(v []UpdatedProduct)
SetProducts sets field value
type Tax ¶
type Tax struct { // The code/ID of the tax in the external accounting system. Code string `json:"code"` // The tax percentage. For example, 8.05 represents a 8.05% tax rate. Percentage float32 `json:"percentage"` // The display name of the tax. Name string `json:"name"` }
Tax Representation of a tax defined in the external accounting system.
func NewTax ¶
NewTax instantiates a new Tax object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaxWithDefaults ¶
func NewTaxWithDefaults() *Tax
NewTaxWithDefaults instantiates a new Tax object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Tax) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Tax) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Tax) GetPercentage ¶
GetPercentage returns the Percentage field value
func (*Tax) GetPercentageOk ¶
GetPercentageOk returns a tuple with the Percentage field value and a boolean to check if the value has been set.
func (Tax) MarshalJSON ¶
type TaxSearchResponse ¶
type TaxSearchResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The list of taxes that matched the search criteria Taxes []Tax `json:"taxes"` }
TaxSearchResponse A response to a search for taxes.
func NewTaxSearchResponse ¶
func NewTaxSearchResponse(taxes []Tax) *TaxSearchResponse
NewTaxSearchResponse instantiates a new TaxSearchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaxSearchResponseWithDefaults ¶
func NewTaxSearchResponseWithDefaults() *TaxSearchResponse
NewTaxSearchResponseWithDefaults instantiates a new TaxSearchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaxSearchResponse) GetResult ¶
func (o *TaxSearchResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*TaxSearchResponse) GetResultOk ¶
func (o *TaxSearchResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxSearchResponse) GetTaxes ¶
func (o *TaxSearchResponse) GetTaxes() []Tax
GetTaxes returns the Taxes field value
func (*TaxSearchResponse) GetTaxesOk ¶
func (o *TaxSearchResponse) GetTaxesOk() ([]Tax, bool)
GetTaxesOk returns a tuple with the Taxes field value and a boolean to check if the value has been set.
func (*TaxSearchResponse) HasResult ¶
func (o *TaxSearchResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (TaxSearchResponse) MarshalJSON ¶
func (o TaxSearchResponse) MarshalJSON() ([]byte, error)
func (*TaxSearchResponse) SetResult ¶
func (o *TaxSearchResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (*TaxSearchResponse) SetTaxes ¶
func (o *TaxSearchResponse) SetTaxes(v []Tax)
SetTaxes sets field value
type TaxType ¶
type TaxType struct { // The code/ID of the tax in the external accounting system. Code string `json:"code"` // The display name of the tax. Name *string `json:"name,omitempty"` }
TaxType Represents a tax in the external accounting system.
func NewTaxType ¶
NewTaxType instantiates a new TaxType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaxTypeWithDefaults ¶
func NewTaxTypeWithDefaults() *TaxType
NewTaxTypeWithDefaults instantiates a new TaxType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaxType) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*TaxType) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (TaxType) MarshalJSON ¶
type TermsResponse ¶
type TermsResponse struct { // Designates if the response is a success ('OK') or failure ('ERR'). Result *string `json:"@result,omitempty"` // The list of payment terms that matched the search criteria. Terms []AccountingExtensionTerm `json:"terms"` }
TermsResponse A response to a search for payment terms.
func NewTermsResponse ¶
func NewTermsResponse(terms []AccountingExtensionTerm) *TermsResponse
NewTermsResponse instantiates a new TermsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTermsResponseWithDefaults ¶
func NewTermsResponseWithDefaults() *TermsResponse
NewTermsResponseWithDefaults instantiates a new TermsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TermsResponse) GetResult ¶
func (o *TermsResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*TermsResponse) GetResultOk ¶
func (o *TermsResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TermsResponse) GetTerms ¶
func (o *TermsResponse) GetTerms() []AccountingExtensionTerm
GetTerms returns the Terms field value
func (*TermsResponse) GetTermsOk ¶
func (o *TermsResponse) GetTermsOk() ([]AccountingExtensionTerm, bool)
GetTermsOk returns a tuple with the Terms field value and a boolean to check if the value has been set.
func (*TermsResponse) HasResult ¶
func (o *TermsResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (TermsResponse) MarshalJSON ¶
func (o TermsResponse) MarshalJSON() ([]byte, error)
func (*TermsResponse) SetResult ¶
func (o *TermsResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (*TermsResponse) SetTerms ¶
func (o *TermsResponse) SetTerms(v []AccountingExtensionTerm)
SetTerms sets field value
type UnitPrice ¶
type UnitPrice struct { // The actual unit price amount. Amount *float32 `json:"amount,omitempty"` // Indicates if the unit price amount already includes taxes. TaxIncluded bool `json:"taxIncluded"` }
UnitPrice Represents a unit price
func NewUnitPrice ¶
NewUnitPrice instantiates a new UnitPrice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUnitPriceWithDefaults ¶
func NewUnitPriceWithDefaults() *UnitPrice
NewUnitPriceWithDefaults instantiates a new UnitPrice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UnitPrice) GetAmount ¶
GetAmount returns the Amount field value if set, zero value otherwise.
func (*UnitPrice) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnitPrice) GetTaxIncluded ¶
GetTaxIncluded returns the TaxIncluded field value
func (*UnitPrice) GetTaxIncludedOk ¶
GetTaxIncludedOk returns a tuple with the TaxIncluded field value and a boolean to check if the value has been set.
func (UnitPrice) MarshalJSON ¶
func (*UnitPrice) SetAmount ¶
SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (*UnitPrice) SetTaxIncluded ¶
SetTaxIncluded sets field value
type UpdatedContact ¶
type UpdatedContact struct { // The operation to be performed. SyncAction string `json:"syncAction"` // The timestamp (ISO8601 format) when the customer was updated in the external accounting system. UpdatedAt time.Time `json:"updatedAt"` // The customer's email address EmailAddress string `json:"emailAddress"` // The ID of the customer in the external accounting system. Id string `json:"id"` // Designates the type of the customer object. CustomerType *string `json:"customerType,omitempty"` }
UpdatedContact A request to import external accounting contact properties in HubSpot
func NewUpdatedContact ¶
func NewUpdatedContact(syncAction string, updatedAt time.Time, emailAddress string, id string) *UpdatedContact
NewUpdatedContact instantiates a new UpdatedContact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdatedContactWithDefaults ¶
func NewUpdatedContactWithDefaults() *UpdatedContact
NewUpdatedContactWithDefaults instantiates a new UpdatedContact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdatedContact) GetCustomerType ¶
func (o *UpdatedContact) GetCustomerType() string
GetCustomerType returns the CustomerType field value if set, zero value otherwise.
func (*UpdatedContact) GetCustomerTypeOk ¶
func (o *UpdatedContact) GetCustomerTypeOk() (*string, bool)
GetCustomerTypeOk returns a tuple with the CustomerType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatedContact) GetEmailAddress ¶
func (o *UpdatedContact) GetEmailAddress() string
GetEmailAddress returns the EmailAddress field value
func (*UpdatedContact) GetEmailAddressOk ¶
func (o *UpdatedContact) GetEmailAddressOk() (*string, bool)
GetEmailAddressOk returns a tuple with the EmailAddress field value and a boolean to check if the value has been set.
func (*UpdatedContact) GetId ¶
func (o *UpdatedContact) GetId() string
GetId returns the Id field value
func (*UpdatedContact) GetIdOk ¶
func (o *UpdatedContact) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdatedContact) GetSyncAction ¶
func (o *UpdatedContact) GetSyncAction() string
GetSyncAction returns the SyncAction field value
func (*UpdatedContact) GetSyncActionOk ¶
func (o *UpdatedContact) GetSyncActionOk() (*string, bool)
GetSyncActionOk returns a tuple with the SyncAction field value and a boolean to check if the value has been set.
func (*UpdatedContact) GetUpdatedAt ¶
func (o *UpdatedContact) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*UpdatedContact) GetUpdatedAtOk ¶
func (o *UpdatedContact) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*UpdatedContact) HasCustomerType ¶
func (o *UpdatedContact) HasCustomerType() bool
HasCustomerType returns a boolean if a field has been set.
func (UpdatedContact) MarshalJSON ¶
func (o UpdatedContact) MarshalJSON() ([]byte, error)
func (*UpdatedContact) SetCustomerType ¶
func (o *UpdatedContact) SetCustomerType(v string)
SetCustomerType gets a reference to the given string and assigns it to the CustomerType field.
func (*UpdatedContact) SetEmailAddress ¶
func (o *UpdatedContact) SetEmailAddress(v string)
SetEmailAddress sets field value
func (*UpdatedContact) SetSyncAction ¶
func (o *UpdatedContact) SetSyncAction(v string)
SetSyncAction sets field value
func (*UpdatedContact) SetUpdatedAt ¶
func (o *UpdatedContact) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type UpdatedProduct ¶
type UpdatedProduct struct { // The operation to be performed. SyncAction string `json:"syncAction"` // The timestamp (ISO8601 format) when the product was updated in the external accounting system. UpdatedAt time.Time `json:"updatedAt"` // The price of the product. Price float32 `json:"price"` // The ISO 4217 currency code that represents the currency of the product price. CurrencyCode *string `json:"currencyCode,omitempty"` // The ID of the product in the external accounting system. Id string `json:"id"` // A map of key-value product properties to be imported. Properties map[string]string `json:"properties"` }
UpdatedProduct A request to import external accounting product properties in HubSpot
func NewUpdatedProduct ¶
func NewUpdatedProduct(syncAction string, updatedAt time.Time, price float32, id string, properties map[string]string) *UpdatedProduct
NewUpdatedProduct instantiates a new UpdatedProduct object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdatedProductWithDefaults ¶
func NewUpdatedProductWithDefaults() *UpdatedProduct
NewUpdatedProductWithDefaults instantiates a new UpdatedProduct object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdatedProduct) GetCurrencyCode ¶
func (o *UpdatedProduct) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*UpdatedProduct) GetCurrencyCodeOk ¶
func (o *UpdatedProduct) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatedProduct) GetId ¶
func (o *UpdatedProduct) GetId() string
GetId returns the Id field value
func (*UpdatedProduct) GetIdOk ¶
func (o *UpdatedProduct) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdatedProduct) GetPrice ¶
func (o *UpdatedProduct) GetPrice() float32
GetPrice returns the Price field value
func (*UpdatedProduct) GetPriceOk ¶
func (o *UpdatedProduct) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*UpdatedProduct) GetProperties ¶
func (o *UpdatedProduct) GetProperties() map[string]string
GetProperties returns the Properties field value
func (*UpdatedProduct) GetPropertiesOk ¶
func (o *UpdatedProduct) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*UpdatedProduct) GetSyncAction ¶
func (o *UpdatedProduct) GetSyncAction() string
GetSyncAction returns the SyncAction field value
func (*UpdatedProduct) GetSyncActionOk ¶
func (o *UpdatedProduct) GetSyncActionOk() (*string, bool)
GetSyncActionOk returns a tuple with the SyncAction field value and a boolean to check if the value has been set.
func (*UpdatedProduct) GetUpdatedAt ¶
func (o *UpdatedProduct) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*UpdatedProduct) GetUpdatedAtOk ¶
func (o *UpdatedProduct) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*UpdatedProduct) HasCurrencyCode ¶
func (o *UpdatedProduct) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (UpdatedProduct) MarshalJSON ¶
func (o UpdatedProduct) MarshalJSON() ([]byte, error)
func (*UpdatedProduct) SetCurrencyCode ¶
func (o *UpdatedProduct) SetCurrencyCode(v string)
SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.
func (*UpdatedProduct) SetPrice ¶
func (o *UpdatedProduct) SetPrice(v float32)
SetPrice sets field value
func (*UpdatedProduct) SetProperties ¶
func (o *UpdatedProduct) SetProperties(v map[string]string)
SetProperties sets field value
func (*UpdatedProduct) SetSyncAction ¶
func (o *UpdatedProduct) SetSyncAction(v string)
SetSyncAction sets field value
func (*UpdatedProduct) SetUpdatedAt ¶
func (o *UpdatedProduct) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type UserAccountsApiService ¶
type UserAccountsApiService service
UserAccountsApiService UserAccountsApi service
func (*UserAccountsApiService) UserAccountsArchive ¶
func (a *UserAccountsApiService) UserAccountsArchive(ctx context.Context, accountId string) ApiUserAccountsArchiveRequest
UserAccountsArchive Delete user account
Deletes a user account from HubSpot, meaning that HubSpot will no longer send requests to the external accounting system for this user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountId The ID of the user account to delete. @return ApiUserAccountsArchiveRequest
func (*UserAccountsApiService) UserAccountsArchiveExecute ¶
func (a *UserAccountsApiService) UserAccountsArchiveExecute(r ApiUserAccountsArchiveRequest) (*http.Response, error)
Execute executes the request
func (*UserAccountsApiService) UserAccountsReplace ¶
func (a *UserAccountsApiService) UserAccountsReplace(ctx context.Context) ApiUserAccountsReplaceRequest
UserAccountsReplace Create a user account
Creates an account which contains the information about the account in the external accounting system. This *must* be called after a user connects their HubSpot account to the external accounting system, as there is no other way for HubSpot to obtain the external account details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserAccountsReplaceRequest
func (*UserAccountsApiService) UserAccountsReplaceExecute ¶
func (a *UserAccountsApiService) UserAccountsReplaceExecute(r ApiUserAccountsReplaceRequest) (*http.Response, error)
Execute executes the request
Source Files ¶
- api_callbacks.go
- api_invoice.go
- api_settings.go
- api_sync.go
- api_user_accounts.go
- client.go
- configuration.go
- model_accounting_app_settings.go
- model_accounting_app_urls.go
- model_accounting_extension_customer.go
- model_accounting_extension_invoice.go
- model_accounting_extension_term.go
- model_accounting_features.go
- model_action_response.go
- model_address.go
- model_create_invoice_feature.go
- model_create_invoice_sub_features.go
- model_create_user_account_request_external.go
- model_customer_search_response_external.go
- model_error.go
- model_error_detail.go
- model_exchange_rate_response.go
- model_import_invoice_feature.go
- model_invoice_create_payment_request.go
- model_invoice_pdf_response.go
- model_invoice_read_response.go
- model_invoice_search_response.go
- model_invoice_update_request.go
- model_invoice_update_response.go
- model_invoices_response_external.go
- model_object_sync_feature.go
- model_product.go
- model_product_search_response.go
- model_result_id_accounting_response.go
- model_sync_contacts_request.go
- model_sync_products_request.go
- model_tax.go
- model_tax_search_response.go
- model_tax_type.go
- model_terms_response.go
- model_unit_price.go
- model_updated_contact.go
- model_updated_product.go
- response.go
- utils.go