Documentation ¶
Overview ¶
Package ramp provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewDeleteAccountingConnectionResouceRequest(server string) (*http.Request, error)
- func NewDeleteCustomFieldOptionResourceRequest(server string, fieldOptionId string) (*http.Request, error)
- func NewDeleteCustomFieldResourceRequest(server string, fieldId string) (*http.Request, error)
- func NewDeleteGlAccountResourceRequest(server string, glAccountId string) (*http.Request, error)
- func NewDeleteReceiptIntegrationOptedOutEmailsDeleteResourceRequest(server string, mailboxOptedOutEmailUuid string) (*http.Request, error)
- func NewDeleteSubsidiaryResourceRequest(server string, subsidiaryId string) (*http.Request, error)
- func NewDeleteUserResourceRequest(server string, userId string) (*http.Request, error)
- func NewDeleteVendorResourceRequest(server string, vendorId string) (*http.Request, error)
- func NewGetAccountingConnectionResouceRequest(server string) (*http.Request, error)
- func NewGetBusinessBalanceResourceRequest(server string) (*http.Request, error)
- func NewGetBusinessResourceRequest(server string) (*http.Request, error)
- func NewGetCardDeferredTaskResourceRequest(server string, taskUuid string) (*http.Request, error)
- func NewGetCardListWithPaginationRequest(server string, params *GetCardListWithPaginationParams) (*http.Request, error)
- func NewGetCardProgramListDeprecatedRequest(server string, params *GetCardProgramListDeprecatedParams) (*http.Request, error)
- func NewGetCardProgramResourceDeprecatedRequest(server string, cardProgramId string) (*http.Request, error)
- func NewGetCardResourceRequest(server string, cardId string) (*http.Request, error)
- func NewGetCashbackListWithPaginationRequest(server string, params *GetCashbackListWithPaginationParams) (*http.Request, error)
- func NewGetCashbackResourceRequest(server string, cashbackId string) (*http.Request, error)
- func NewGetCustomFieldListResourceRequest(server string, params *GetCustomFieldListResourceParams) (*http.Request, error)
- func NewGetCustomFieldOptionListResourceRequest(server string, params *GetCustomFieldOptionListResourceParams) (*http.Request, error)
- func NewGetCustomFieldOptionResourceRequest(server string, fieldOptionId string) (*http.Request, error)
- func NewGetCustomFieldResourceRequest(server string, fieldId string) (*http.Request, error)
- func NewGetDepartmentListWithPaginationRequest(server string, params *GetDepartmentListWithPaginationParams) (*http.Request, error)
- func NewGetDepartmentResourceRequest(server string, departmentUuid string) (*http.Request, error)
- func NewGetGlAccountListResourceRequest(server string, params *GetGlAccountListResourceParams) (*http.Request, error)
- func NewGetGlAccountResourceRequest(server string, glAccountId string) (*http.Request, error)
- func NewGetLocationListResourceRequest(server string, params *GetLocationListResourceParams) (*http.Request, error)
- func NewGetLocationSingleResourceRequest(server string, locationUuid string) (*http.Request, error)
- func NewGetMemoListWithPaginationRequest(server string, params *GetMemoListWithPaginationParams) (*http.Request, error)
- func NewGetMemoSingleResourceRequest(server string, transactionId string) (*http.Request, error)
- func NewGetMerchantListWithPaginationRequest(server string, params *GetMerchantListWithPaginationParams) (*http.Request, error)
- func NewGetReceiptIntegrationOptedOutEmailsListResourceRequest(server string, ...) (*http.Request, error)
- func NewGetReceiptIntegrationOptedOutEmailsListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetReceiptListWithPaginationRequest(server string, params *GetReceiptListWithPaginationParams) (*http.Request, error)
- func NewGetReceiptSingleResourceRequest(server string, receiptId string) (*http.Request, error)
- func NewGetReimbursementListWithPaginationRequest(server string, params *GetReimbursementListWithPaginationParams) (*http.Request, error)
- func NewGetReimbursementResourceRequest(server string, reimbursementId string) (*http.Request, error)
- func NewGetSalesLeadResourceRequest(server string, salesLeadId string) (*http.Request, error)
- func NewGetSpendLimitDeferredTaskStatusRequest(server string, taskUuid string) (*http.Request, error)
- func NewGetSpendLimitListWithPaginationRequest(server string, params *GetSpendLimitListWithPaginationParams) (*http.Request, error)
- func NewGetSpendLimitResourceRequest(server string, spendLimitId string) (*http.Request, error)
- func NewGetSpendProgramResourceRequest(server string, params *GetSpendProgramResourceParams) (*http.Request, error)
- func NewGetSpendProgramSingleResourceRequest(server string, spendProgramId string) (*http.Request, error)
- func NewGetStatementListWithPaginationRequest(server string, params *GetStatementListWithPaginationParams) (*http.Request, error)
- func NewGetStatementResourceRequest(server string, statementId string) (*http.Request, error)
- func NewGetSubsidiaryListResourceRequest(server string, params *GetSubsidiaryListResourceParams) (*http.Request, error)
- func NewGetSubsidiaryResourceRequest(server string, subsidiaryId string) (*http.Request, error)
- func NewGetSyncResourceRequest(server string, syncId string) (*http.Request, error)
- func NewGetTransactionCanonicalResourceRequest(server string, transactionId string) (*http.Request, error)
- func NewGetTransactionsCanonicalListWithPaginationRequest(server string, params *GetTransactionsCanonicalListWithPaginationParams) (*http.Request, error)
- func NewGetTransferListWithPaginationRequest(server string, params *GetTransferListWithPaginationParams) (*http.Request, error)
- func NewGetTransferResourceRequest(server string, transferId string) (*http.Request, error)
- func NewGetUserDeferredTaskResourceRequest(server string, taskUuid string) (*http.Request, error)
- func NewGetUserListWithPaginationRequest(server string, params *GetUserListWithPaginationParams) (*http.Request, error)
- func NewGetUserResourceRequest(server string, userId string) (*http.Request, error)
- func NewGetVendorListResourceRequest(server string, params *GetVendorListResourceParams) (*http.Request, error)
- func NewGetVendorResourceRequest(server string, vendorId string) (*http.Request, error)
- func NewPatchCardResourceRequest(server string, cardId string, body PatchCardResourceJSONRequestBody) (*http.Request, error)
- func NewPatchCardResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchCustomFieldOptionResourceRequest(server string, fieldOptionId string, ...) (*http.Request, error)
- func NewPatchCustomFieldOptionResourceRequestWithBody(server string, fieldOptionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchCustomFieldResourceRequest(server string, fieldId string, body PatchCustomFieldResourceJSONRequestBody) (*http.Request, error)
- func NewPatchCustomFieldResourceRequestWithBody(server string, fieldId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchDepartmentResourceRequest(server string, departmentUuid string, ...) (*http.Request, error)
- func NewPatchDepartmentResourceRequestWithBody(server string, departmentUuid string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchGlAccountResourceRequest(server string, glAccountId string, body PatchGlAccountResourceJSONRequestBody) (*http.Request, error)
- func NewPatchGlAccountResourceRequestWithBody(server string, glAccountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchLocationSingleResourceRequest(server string, locationUuid string, ...) (*http.Request, error)
- func NewPatchLocationSingleResourceRequestWithBody(server string, locationUuid string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchSpendLimitResourceRequest(server string, spendLimitId string) (*http.Request, error)
- func NewPatchSubsidiaryResourceRequest(server string, subsidiaryId string, ...) (*http.Request, error)
- func NewPatchSubsidiaryResourceRequestWithBody(server string, subsidiaryId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchUserResourceRequest(server string, userId string, body PatchUserResourceJSONRequestBody) (*http.Request, error)
- func NewPatchUserResourceRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchVendorResourceRequest(server string, vendorId string, body PatchVendorResourceJSONRequestBody) (*http.Request, error)
- func NewPatchVendorResourceRequestWithBody(server string, vendorId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAccountingConnectionResouceRequest(server string, body PostAccountingConnectionResouceJSONRequestBody) (*http.Request, error)
- func NewPostAccountingConnectionResouceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCardProgramListDeprecatedRequest(server string, body PostCardProgramListDeprecatedJSONRequestBody) (*http.Request, error)
- func NewPostCardProgramListDeprecatedRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCardSuspensionResourceRequest(server string, cardId string, body PostCardSuspensionResourceJSONRequestBody) (*http.Request, error)
- func NewPostCardSuspensionResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCardTerminationResourceRequest(server string, cardId string, body PostCardTerminationResourceJSONRequestBody) (*http.Request, error)
- func NewPostCardTerminationResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCardUnsuspensionResourceRequest(server string, cardId string, body PostCardUnsuspensionResourceJSONRequestBody) (*http.Request, error)
- func NewPostCardUnsuspensionResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCustomFieldListResourceRequest(server string, body PostCustomFieldListResourceJSONRequestBody) (*http.Request, error)
- func NewPostCustomFieldListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCustomFieldOptionListResourceRequest(server string, body PostCustomFieldOptionListResourceJSONRequestBody) (*http.Request, error)
- func NewPostCustomFieldOptionListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostDepartmentListWithPaginationRequest(server string, body PostDepartmentListWithPaginationJSONRequestBody) (*http.Request, error)
- func NewPostDepartmentListWithPaginationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostGlAccountListResourceRequest(server string, body PostGlAccountListResourceJSONRequestBody) (*http.Request, error)
- func NewPostGlAccountListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostLocationListResourceRequest(server string, body PostLocationListResourceJSONRequestBody) (*http.Request, error)
- func NewPostLocationListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostPhysicalCardRequest(server string, body PostPhysicalCardJSONRequestBody) (*http.Request, error)
- func NewPostPhysicalCardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostReceiptIntegrationOptedOutEmailsListResourceRequest(server string, ...) (*http.Request, error)
- func NewPostReceiptIntegrationOptedOutEmailsListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSalesLeadCreationRequest(server string, body PostSalesLeadCreationJSONRequestBody) (*http.Request, error)
- func NewPostSalesLeadCreationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSalesLeadDocumentUploadRequest(server string, salesLeadId string) (*http.Request, error)
- func NewPostSpendLimitCreationRequest(server string, body PostSpendLimitCreationJSONRequestBody) (*http.Request, error)
- func NewPostSpendLimitCreationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSpendLimitSuspensionResourceRequest(server string, spendLimitId string) (*http.Request, error)
- func NewPostSpendLimitTerminationResourceRequest(server string, spendLimitId string, ...) (*http.Request, error)
- func NewPostSpendLimitTerminationResourceRequestWithBody(server string, spendLimitId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSpendLimitUnsuspensionResourceRequest(server string, spendLimitId string) (*http.Request, error)
- func NewPostSpendProgramResourceRequest(server string, body PostSpendProgramResourceJSONRequestBody) (*http.Request, error)
- func NewPostSpendProgramResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSubsidiaryListResourceRequest(server string, body PostSubsidiaryListResourceJSONRequestBody) (*http.Request, error)
- func NewPostSubsidiaryListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSyncListResourceRequest(server string, body PostSyncListResourceJSONRequestBody) (*http.Request, error)
- func NewPostSyncListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostUserCreationDeferredTaskRequest(server string, body PostUserCreationDeferredTaskJSONRequestBody) (*http.Request, error)
- func NewPostUserCreationDeferredTaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVendorListResourceRequest(server string, body PostVendorListResourceJSONRequestBody) (*http.Request, error)
- func NewPostVendorListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVirtualCardRequest(server string, body PostVirtualCardJSONRequestBody) (*http.Request, error)
- func NewPostVirtualCardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AccountingProvider
- type ApiAccountingCategory
- type ApiAccountingCustomFieldCreateRequestBody
- type ApiAccountingCustomFieldCreateRequestBodyInputType
- type ApiAccountingCustomFieldOptionUpdateRequestBody
- type ApiAccountingCustomFieldOptionUploadRequestBody
- type ApiAccountingCustomFieldResource
- type ApiAccountingCustomFieldResourceInputType
- type ApiAccountingCustomFieldUpdateRequestBody
- type ApiAccountingFailedSyncRequestBody
- type ApiAccountingGLAccountUpdateRequestBody
- type ApiAccountingGLAccountUploadRequestBody
- type ApiAccountingProviderAccessCreateRequestBody
- type ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName
- type ApiAccountingSubsidiaryCreateRequestBody
- type ApiAccountingSubsidiaryUpdateRequestBody
- type ApiAccountingSubsidiaryUploadRequestBody
- type ApiAccountingSuccessfulSyncRequestBody
- type ApiAccountingSyncCreateRequestBody
- type ApiAccountingSyncCreateRequestBodySyncType
- type ApiAccountingSyncErrorRequestBody
- type ApiAccountingTrackingCategoryUploadResponse
- type ApiAccountingVendorUpdateRequestBody
- type ApiAccountingVendorUploadRequestBody
- type ApiCardAccountingRulesDataRequestBody
- type ApiCardDeferredTaskData
- type ApiCardDeferredUpdateRequestBody
- type ApiCardFulfillment
- type ApiCardFulfillmentFulfillmentStatus
- type ApiCardProgramCreateRequestBody
- type ApiCardProgramCreateRequestBodyIcon
- type ApiCardProgramResource
- type ApiCardProgramResourceIcon
- type ApiCardProgramSpendingRestrictions
- type ApiCardProgramSpendingRestrictionsInterval
- type ApiCardRequestBody
- type ApiCardSpendingRestrictionsDump
- type ApiCardSpendingRestrictionsDumpInterval
- type ApiCardSpendingRestrictionsRequestBody
- type ApiCardSpendingRestrictionsRequestBodyAmount0
- type ApiCardSpendingRestrictionsRequestBodyAmount1
- type ApiCardSpendingRestrictionsRequestBodyInterval
- type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0
- type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1
- type ApiCardSpendingRestrictionsRequestBody_Amount
- func (t ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount0() (ApiCardSpendingRestrictionsRequestBodyAmount0, error)
- func (t ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount1() (ApiCardSpendingRestrictionsRequestBodyAmount1, error)
- func (t *ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount0(v ApiCardSpendingRestrictionsRequestBodyAmount0) error
- func (t *ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount1(v ApiCardSpendingRestrictionsRequestBodyAmount1) error
- func (t ApiCardSpendingRestrictionsRequestBody_Amount) MarshalJSON() ([]byte, error)
- func (t *ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount0(v ApiCardSpendingRestrictionsRequestBodyAmount0) error
- func (t *ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount1(v ApiCardSpendingRestrictionsRequestBodyAmount1) error
- func (t *ApiCardSpendingRestrictionsRequestBody_Amount) UnmarshalJSON(b []byte) error
- type ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit
- func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0() (ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0, error)
- func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1() (ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1, error)
- func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0) error
- func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1) error
- func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MarshalJSON() ([]byte, error)
- func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0) error
- func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1) error
- func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) UnmarshalJSON(b []byte) error
- type ApiCardSpendingRestrictionsUpdateRequestBody
- type ApiCardSpendingRestrictionsUpdateRequestBodyAmount0
- type ApiCardSpendingRestrictionsUpdateRequestBodyAmount1
- type ApiCardSpendingRestrictionsUpdateRequestBodyInterval
- type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0
- type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1
- type ApiCardSpendingRestrictionsUpdateRequestBody_Amount
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount0() (ApiCardSpendingRestrictionsUpdateRequestBodyAmount0, error)
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount1() (ApiCardSpendingRestrictionsUpdateRequestBodyAmount1, error)
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount0(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount0) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount1(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount1) error
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MarshalJSON() ([]byte, error)
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount0(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount0) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount1(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount1) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) UnmarshalJSON(b []byte) error
- type ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0() (ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0, error)
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1() (ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1, error)
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1) error
- func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MarshalJSON() ([]byte, error)
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1) error
- func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) UnmarshalJSON(b []byte) error
- type ApiCardUpdateRequestBody
- type ApiDepartmentCreateRequestBody
- type ApiDepartmentUpdateRequestBody
- type ApiLocationCreateRequestBody
- type ApiLocationUpdateRequestBody
- type ApiPermittedSpendTypesDump
- type ApiPermittedSpendTypesRequestBody
- type ApiReceiptIntegrationOptedOutEmailCreateRequestBody
- type ApiReceiptIntegrationOptedOutEmailResource
- type ApiReceiptIntegrationOptedOutEmailResourceRequestBody
- type ApiReimbursementAccountingCategoryInfo
- type ApiReimbursementAccountingCategoryInfoType
- type ApiReimbursementAccountingFieldSelection
- type ApiReimbursementAccountingFieldSelectionType
- type ApiReimbursementLineItem
- type ApiSalesLeadBusinessDump
- type ApiSalesLeadBusinessDumpEntityType
- type ApiSalesLeadBusinessRequestBody
- type ApiSalesLeadBusinessRequestBodyEntityType
- type ApiSalesLeadCreateRequestBody
- type ApiSalesLeadCreateRequestBodySource
- type ApiSalesLeadOfficeAddress
- type ApiSalesLeadOfficeAddressRequestBody
- type ApiSpendAllocationBalance
- type ApiSpendLimitCardResource
- type ApiSpendLimitCreateRequestBody
- type ApiSpendLimitDeferredTaskData
- type ApiSpendLimitDeferredUpdateRequestBody
- type ApiSpendLimitMember
- type ApiSpendProgramCreateIssuanceRulesRequestBody
- type ApiSpendProgramCreateRequestBody
- type ApiSpendProgramCreateRequestBodyIcon
- type ApiSpendProgramIssuanceRulesRequestBody
- type ApiSpendProgramResource
- type ApiSpendProgramResourceIcon
- type ApiSpendingRestrictionsDump
- type ApiSpendingRestrictionsDumpInterval
- type ApiSpendingRestrictionsRequestBody
- type ApiSpendingRestrictionsRequestBodyInterval
- type ApiStatementItem
- type ApiStatementItemType
- type ApiSuspensionDump
- type ApiTransactionAccountingCategoryInfo
- type ApiTransactionAccountingCategoryInfoType
- type ApiTransactionAccountingFieldSelection
- type ApiTransactionAccountingFieldSelectionType
- type ApiTransactionCardHolder
- type ApiTransactionDeclineDetails
- type ApiTransactionDeclineDetailsReason
- type ApiTransactionDispute
- type ApiTransactionLineItem
- type ApiTransactionPolicyViolation
- type ApiUserCreateRequestBody
- type ApiUserCreateRequestBodyRole
- type ApiUserDeferredTaskData
- type ApiUserUpdateRequestBody
- type ApiUserUpdateRequestBodyRole
- type Business
- type BusinessBalance
- type Card
- type CardDeferredTask
- type CardFulfillmentRequestBody
- type CardPersonalization
- type CardPersonalizationNameLine
- type CardPersonalizationNameLineRequestBody
- type CardPersonalizationRequestBody
- type CardPersonalizationText
- type CardPersonalizationTextRequestBody
- type CardShipping
- type CardShippingAddress
- type CardShippingAddressRequestBody
- type CardShippingRecipientAddressVerificationState
- type CardShippingRequestBody
- type CardShippingRequestBodyRecipientAddressVerificationState
- type CardState
- type Cashback
- type Client
- func (c *Client) DeleteAccountingConnectionResouce(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomFieldOptionResource(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomFieldResource(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteGlAccountResource(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteReceiptIntegrationOptedOutEmailsDeleteResource(ctx context.Context, mailboxOptedOutEmailUuid string, ...) (*http.Response, error)
- func (c *Client) DeleteSubsidiaryResource(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUserResource(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteVendorResource(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountingConnectionResouce(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBusinessBalanceResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBusinessResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCardDeferredTaskResource(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCardListWithPagination(ctx context.Context, params *GetCardListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetCardProgramListDeprecated(ctx context.Context, params *GetCardProgramListDeprecatedParams, ...) (*http.Response, error)
- func (c *Client) GetCardProgramResourceDeprecated(ctx context.Context, cardProgramId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCardResource(ctx context.Context, cardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCashbackListWithPagination(ctx context.Context, params *GetCashbackListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetCashbackResource(ctx context.Context, cashbackId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomFieldListResource(ctx context.Context, params *GetCustomFieldListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetCustomFieldOptionListResource(ctx context.Context, params *GetCustomFieldOptionListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetCustomFieldOptionResource(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomFieldResource(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDepartmentListWithPagination(ctx context.Context, params *GetDepartmentListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetDepartmentResource(ctx context.Context, departmentUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGlAccountListResource(ctx context.Context, params *GetGlAccountListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetGlAccountResource(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLocationListResource(ctx context.Context, params *GetLocationListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetLocationSingleResource(ctx context.Context, locationUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMemoListWithPagination(ctx context.Context, params *GetMemoListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetMemoSingleResource(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMerchantListWithPagination(ctx context.Context, params *GetMerchantListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetReceiptIntegrationOptedOutEmailsListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetReceiptListWithPagination(ctx context.Context, params *GetReceiptListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetReceiptSingleResource(ctx context.Context, receiptId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReimbursementListWithPagination(ctx context.Context, params *GetReimbursementListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetReimbursementResource(ctx context.Context, reimbursementId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSalesLeadResource(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSpendLimitDeferredTaskStatus(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSpendLimitListWithPagination(ctx context.Context, params *GetSpendLimitListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetSpendLimitResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSpendProgramResource(ctx context.Context, params *GetSpendProgramResourceParams, ...) (*http.Response, error)
- func (c *Client) GetSpendProgramSingleResource(ctx context.Context, spendProgramId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatementListWithPagination(ctx context.Context, params *GetStatementListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetStatementResource(ctx context.Context, statementId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSubsidiaryListResource(ctx context.Context, params *GetSubsidiaryListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetSubsidiaryResource(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSyncResource(ctx context.Context, syncId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTransactionCanonicalResource(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTransactionsCanonicalListWithPagination(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetTransferListWithPagination(ctx context.Context, params *GetTransferListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetTransferResource(ctx context.Context, transferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserDeferredTaskResource(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserListWithPagination(ctx context.Context, params *GetUserListWithPaginationParams, ...) (*http.Response, error)
- func (c *Client) GetUserResource(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVendorListResource(ctx context.Context, params *GetVendorListResourceParams, ...) (*http.Response, error)
- func (c *Client) GetVendorResource(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchCardResource(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchCardResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchCustomFieldOptionResource(ctx context.Context, fieldOptionId string, ...) (*http.Response, error)
- func (c *Client) PatchCustomFieldOptionResourceWithBody(ctx context.Context, fieldOptionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchCustomFieldResource(ctx context.Context, fieldId string, ...) (*http.Response, error)
- func (c *Client) PatchCustomFieldResourceWithBody(ctx context.Context, fieldId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchDepartmentResource(ctx context.Context, departmentUuid string, ...) (*http.Response, error)
- func (c *Client) PatchDepartmentResourceWithBody(ctx context.Context, departmentUuid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchGlAccountResource(ctx context.Context, glAccountId string, ...) (*http.Response, error)
- func (c *Client) PatchGlAccountResourceWithBody(ctx context.Context, glAccountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchLocationSingleResource(ctx context.Context, locationUuid string, ...) (*http.Response, error)
- func (c *Client) PatchLocationSingleResourceWithBody(ctx context.Context, locationUuid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchSpendLimitResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchSubsidiaryResource(ctx context.Context, subsidiaryId string, ...) (*http.Response, error)
- func (c *Client) PatchSubsidiaryResourceWithBody(ctx context.Context, subsidiaryId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchUserResource(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchUserResourceWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchVendorResource(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchVendorResourceWithBody(ctx context.Context, vendorId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAccountingConnectionResouce(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAccountingConnectionResouceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCardProgramListDeprecated(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostCardProgramListDeprecatedWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCardSuspensionResource(ctx context.Context, cardId string, ...) (*http.Response, error)
- func (c *Client) PostCardSuspensionResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCardTerminationResource(ctx context.Context, cardId string, ...) (*http.Response, error)
- func (c *Client) PostCardTerminationResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCardUnsuspensionResource(ctx context.Context, cardId string, ...) (*http.Response, error)
- func (c *Client) PostCardUnsuspensionResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCustomFieldListResource(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostCustomFieldListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCustomFieldOptionListResource(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostCustomFieldOptionListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostDepartmentListWithPagination(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostDepartmentListWithPaginationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostGlAccountListResource(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostGlAccountListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostLocationListResource(ctx context.Context, body PostLocationListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostLocationListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostPhysicalCard(ctx context.Context, body PostPhysicalCardJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostPhysicalCardWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) PostReceiptIntegrationOptedOutEmailsListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSalesLeadCreation(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSalesLeadCreationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSalesLeadDocumentUpload(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostSpendLimitCreation(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSpendLimitCreationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSpendLimitSuspensionResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostSpendLimitTerminationResource(ctx context.Context, spendLimitId string, ...) (*http.Response, error)
- func (c *Client) PostSpendLimitTerminationResourceWithBody(ctx context.Context, spendLimitId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSpendLimitUnsuspensionResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostSpendProgramResource(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSpendProgramResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSubsidiaryListResource(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSubsidiaryListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSyncListResource(ctx context.Context, body PostSyncListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSyncListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostUserCreationDeferredTask(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostUserCreationDeferredTaskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVendorListResource(ctx context.Context, body PostVendorListResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostVendorListResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVirtualCard(ctx context.Context, body PostVirtualCardJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostVirtualCardWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountingConnectionResouceResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResourceResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResourceResponse, error)
- func (c *ClientWithResponses) DeleteGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*DeleteGlAccountResourceResponse, error)
- func (c *ClientWithResponses) DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse(ctx context.Context, mailboxOptedOutEmailUuid string, ...) (*DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse, error)
- func (c *ClientWithResponses) DeleteSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*DeleteSubsidiaryResourceResponse, error)
- func (c *ClientWithResponses) DeleteUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResourceResponse, error)
- func (c *ClientWithResponses) DeleteVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*DeleteVendorResourceResponse, error)
- func (c *ClientWithResponses) GetAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountingConnectionResouceResponse, error)
- func (c *ClientWithResponses) GetBusinessBalanceResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessBalanceResourceResponse, error)
- func (c *ClientWithResponses) GetBusinessResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessResourceResponse, error)
- func (c *ClientWithResponses) GetCardDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetCardDeferredTaskResourceResponse, error)
- func (c *ClientWithResponses) GetCardListWithPaginationWithResponse(ctx context.Context, params *GetCardListWithPaginationParams, ...) (*GetCardListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetCardProgramListDeprecatedWithResponse(ctx context.Context, params *GetCardProgramListDeprecatedParams, ...) (*GetCardProgramListDeprecatedResponse, error)
- func (c *ClientWithResponses) GetCardProgramResourceDeprecatedWithResponse(ctx context.Context, cardProgramId string, reqEditors ...RequestEditorFn) (*GetCardProgramResourceDeprecatedResponse, error)
- func (c *ClientWithResponses) GetCardResourceWithResponse(ctx context.Context, cardId string, reqEditors ...RequestEditorFn) (*GetCardResourceResponse, error)
- func (c *ClientWithResponses) GetCashbackListWithPaginationWithResponse(ctx context.Context, params *GetCashbackListWithPaginationParams, ...) (*GetCashbackListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetCashbackResourceWithResponse(ctx context.Context, cashbackId string, reqEditors ...RequestEditorFn) (*GetCashbackResourceResponse, error)
- func (c *ClientWithResponses) GetCustomFieldListResourceWithResponse(ctx context.Context, params *GetCustomFieldListResourceParams, ...) (*GetCustomFieldListResourceResponse, error)
- func (c *ClientWithResponses) GetCustomFieldOptionListResourceWithResponse(ctx context.Context, params *GetCustomFieldOptionListResourceParams, ...) (*GetCustomFieldOptionListResourceResponse, error)
- func (c *ClientWithResponses) GetCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResourceResponse, error)
- func (c *ClientWithResponses) GetCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*GetCustomFieldResourceResponse, error)
- func (c *ClientWithResponses) GetDepartmentListWithPaginationWithResponse(ctx context.Context, params *GetDepartmentListWithPaginationParams, ...) (*GetDepartmentListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, reqEditors ...RequestEditorFn) (*GetDepartmentResourceResponse, error)
- func (c *ClientWithResponses) GetGlAccountListResourceWithResponse(ctx context.Context, params *GetGlAccountListResourceParams, ...) (*GetGlAccountListResourceResponse, error)
- func (c *ClientWithResponses) GetGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*GetGlAccountResourceResponse, error)
- func (c *ClientWithResponses) GetLocationListResourceWithResponse(ctx context.Context, params *GetLocationListResourceParams, ...) (*GetLocationListResourceResponse, error)
- func (c *ClientWithResponses) GetLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, reqEditors ...RequestEditorFn) (*GetLocationSingleResourceResponse, error)
- func (c *ClientWithResponses) GetMemoListWithPaginationWithResponse(ctx context.Context, params *GetMemoListWithPaginationParams, ...) (*GetMemoListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetMemoSingleResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetMemoSingleResourceResponse, error)
- func (c *ClientWithResponses) GetMerchantListWithPaginationWithResponse(ctx context.Context, params *GetMerchantListWithPaginationParams, ...) (*GetMerchantListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error)
- func (c *ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, ...) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error)
- func (c *ClientWithResponses) GetReceiptListWithPaginationWithResponse(ctx context.Context, params *GetReceiptListWithPaginationParams, ...) (*GetReceiptListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetReceiptSingleResourceWithResponse(ctx context.Context, receiptId string, reqEditors ...RequestEditorFn) (*GetReceiptSingleResourceResponse, error)
- func (c *ClientWithResponses) GetReimbursementListWithPaginationWithResponse(ctx context.Context, params *GetReimbursementListWithPaginationParams, ...) (*GetReimbursementListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetReimbursementResourceWithResponse(ctx context.Context, reimbursementId string, reqEditors ...RequestEditorFn) (*GetReimbursementResourceResponse, error)
- func (c *ClientWithResponses) GetSalesLeadResourceWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*GetSalesLeadResourceResponse, error)
- func (c *ClientWithResponses) GetSpendLimitDeferredTaskStatusWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetSpendLimitDeferredTaskStatusResponse, error)
- func (c *ClientWithResponses) GetSpendLimitListWithPaginationWithResponse(ctx context.Context, params *GetSpendLimitListWithPaginationParams, ...) (*GetSpendLimitListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*GetSpendLimitResourceResponse, error)
- func (c *ClientWithResponses) GetSpendProgramResourceWithResponse(ctx context.Context, params *GetSpendProgramResourceParams, ...) (*GetSpendProgramResourceResponse, error)
- func (c *ClientWithResponses) GetSpendProgramSingleResourceWithResponse(ctx context.Context, spendProgramId string, reqEditors ...RequestEditorFn) (*GetSpendProgramSingleResourceResponse, error)
- func (c *ClientWithResponses) GetStatementListWithPaginationWithResponse(ctx context.Context, params *GetStatementListWithPaginationParams, ...) (*GetStatementListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetStatementResourceWithResponse(ctx context.Context, statementId string, reqEditors ...RequestEditorFn) (*GetStatementResourceResponse, error)
- func (c *ClientWithResponses) GetSubsidiaryListResourceWithResponse(ctx context.Context, params *GetSubsidiaryListResourceParams, ...) (*GetSubsidiaryListResourceResponse, error)
- func (c *ClientWithResponses) GetSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*GetSubsidiaryResourceResponse, error)
- func (c *ClientWithResponses) GetSyncResourceWithResponse(ctx context.Context, syncId string, reqEditors ...RequestEditorFn) (*GetSyncResourceResponse, error)
- func (c *ClientWithResponses) GetTransactionCanonicalResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetTransactionCanonicalResourceResponse, error)
- func (c *ClientWithResponses) GetTransactionsCanonicalListWithPaginationWithResponse(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, ...) (*GetTransactionsCanonicalListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetTransferListWithPaginationWithResponse(ctx context.Context, params *GetTransferListWithPaginationParams, ...) (*GetTransferListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetTransferResourceWithResponse(ctx context.Context, transferId string, reqEditors ...RequestEditorFn) (*GetTransferResourceResponse, error)
- func (c *ClientWithResponses) GetUserDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetUserDeferredTaskResourceResponse, error)
- func (c *ClientWithResponses) GetUserListWithPaginationWithResponse(ctx context.Context, params *GetUserListWithPaginationParams, ...) (*GetUserListWithPaginationResponse, error)
- func (c *ClientWithResponses) GetUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResourceResponse, error)
- func (c *ClientWithResponses) GetVendorListResourceWithResponse(ctx context.Context, params *GetVendorListResourceParams, ...) (*GetVendorListResourceResponse, error)
- func (c *ClientWithResponses) GetVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*GetVendorResourceResponse, error)
- func (c *ClientWithResponses) PatchCardResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*PatchCardResourceResponse, error)
- func (c *ClientWithResponses) PatchCardResourceWithResponse(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, ...) (*PatchCardResourceResponse, error)
- func (c *ClientWithResponses) PatchCustomFieldOptionResourceWithBodyWithResponse(ctx context.Context, fieldOptionId string, contentType string, body io.Reader, ...) (*PatchCustomFieldOptionResourceResponse, error)
- func (c *ClientWithResponses) PatchCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, ...) (*PatchCustomFieldOptionResourceResponse, error)
- func (c *ClientWithResponses) PatchCustomFieldResourceWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, ...) (*PatchCustomFieldResourceResponse, error)
- func (c *ClientWithResponses) PatchCustomFieldResourceWithResponse(ctx context.Context, fieldId string, ...) (*PatchCustomFieldResourceResponse, error)
- func (c *ClientWithResponses) PatchDepartmentResourceWithBodyWithResponse(ctx context.Context, departmentUuid string, contentType string, body io.Reader, ...) (*PatchDepartmentResourceResponse, error)
- func (c *ClientWithResponses) PatchDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, ...) (*PatchDepartmentResourceResponse, error)
- func (c *ClientWithResponses) PatchGlAccountResourceWithBodyWithResponse(ctx context.Context, glAccountId string, contentType string, body io.Reader, ...) (*PatchGlAccountResourceResponse, error)
- func (c *ClientWithResponses) PatchGlAccountResourceWithResponse(ctx context.Context, glAccountId string, ...) (*PatchGlAccountResourceResponse, error)
- func (c *ClientWithResponses) PatchLocationSingleResourceWithBodyWithResponse(ctx context.Context, locationUuid string, contentType string, body io.Reader, ...) (*PatchLocationSingleResourceResponse, error)
- func (c *ClientWithResponses) PatchLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, ...) (*PatchLocationSingleResourceResponse, error)
- func (c *ClientWithResponses) PatchSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PatchSpendLimitResourceResponse, error)
- func (c *ClientWithResponses) PatchSubsidiaryResourceWithBodyWithResponse(ctx context.Context, subsidiaryId string, contentType string, body io.Reader, ...) (*PatchSubsidiaryResourceResponse, error)
- func (c *ClientWithResponses) PatchSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, ...) (*PatchSubsidiaryResourceResponse, error)
- func (c *ClientWithResponses) PatchUserResourceWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*PatchUserResourceResponse, error)
- func (c *ClientWithResponses) PatchUserResourceWithResponse(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, ...) (*PatchUserResourceResponse, error)
- func (c *ClientWithResponses) PatchVendorResourceWithBodyWithResponse(ctx context.Context, vendorId string, contentType string, body io.Reader, ...) (*PatchVendorResourceResponse, error)
- func (c *ClientWithResponses) PatchVendorResourceWithResponse(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, ...) (*PatchVendorResourceResponse, error)
- func (c *ClientWithResponses) PostAccountingConnectionResouceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAccountingConnectionResouceResponse, error)
- func (c *ClientWithResponses) PostAccountingConnectionResouceWithResponse(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, ...) (*PostAccountingConnectionResouceResponse, error)
- func (c *ClientWithResponses) PostCardProgramListDeprecatedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCardProgramListDeprecatedResponse, error)
- func (c *ClientWithResponses) PostCardProgramListDeprecatedWithResponse(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, ...) (*PostCardProgramListDeprecatedResponse, error)
- func (c *ClientWithResponses) PostCardSuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*PostCardSuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostCardSuspensionResourceWithResponse(ctx context.Context, cardId string, ...) (*PostCardSuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostCardTerminationResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*PostCardTerminationResourceResponse, error)
- func (c *ClientWithResponses) PostCardTerminationResourceWithResponse(ctx context.Context, cardId string, ...) (*PostCardTerminationResourceResponse, error)
- func (c *ClientWithResponses) PostCardUnsuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, ...) (*PostCardUnsuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostCardUnsuspensionResourceWithResponse(ctx context.Context, cardId string, ...) (*PostCardUnsuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostCustomFieldListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCustomFieldListResourceResponse, error)
- func (c *ClientWithResponses) PostCustomFieldListResourceWithResponse(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, ...) (*PostCustomFieldListResourceResponse, error)
- func (c *ClientWithResponses) PostCustomFieldOptionListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCustomFieldOptionListResourceResponse, error)
- func (c *ClientWithResponses) PostCustomFieldOptionListResourceWithResponse(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, ...) (*PostCustomFieldOptionListResourceResponse, error)
- func (c *ClientWithResponses) PostDepartmentListWithPaginationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostDepartmentListWithPaginationResponse, error)
- func (c *ClientWithResponses) PostDepartmentListWithPaginationWithResponse(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, ...) (*PostDepartmentListWithPaginationResponse, error)
- func (c *ClientWithResponses) PostGlAccountListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostGlAccountListResourceResponse, error)
- func (c *ClientWithResponses) PostGlAccountListResourceWithResponse(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, ...) (*PostGlAccountListResourceResponse, error)
- func (c *ClientWithResponses) PostLocationListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostLocationListResourceResponse, error)
- func (c *ClientWithResponses) PostLocationListResourceWithResponse(ctx context.Context, body PostLocationListResourceJSONRequestBody, ...) (*PostLocationListResourceResponse, error)
- func (c *ClientWithResponses) PostPhysicalCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostPhysicalCardResponse, error)
- func (c *ClientWithResponses) PostPhysicalCardWithResponse(ctx context.Context, body PostPhysicalCardJSONRequestBody, ...) (*PostPhysicalCardResponse, error)
- func (c *ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error)
- func (c *ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, ...) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error)
- func (c *ClientWithResponses) PostSalesLeadCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSalesLeadCreationResponse, error)
- func (c *ClientWithResponses) PostSalesLeadCreationWithResponse(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, ...) (*PostSalesLeadCreationResponse, error)
- func (c *ClientWithResponses) PostSalesLeadDocumentUploadWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*PostSalesLeadDocumentUploadResponse, error)
- func (c *ClientWithResponses) PostSpendLimitCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSpendLimitCreationResponse, error)
- func (c *ClientWithResponses) PostSpendLimitCreationWithResponse(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, ...) (*PostSpendLimitCreationResponse, error)
- func (c *ClientWithResponses) PostSpendLimitSuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitSuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostSpendLimitTerminationResourceWithBodyWithResponse(ctx context.Context, spendLimitId string, contentType string, body io.Reader, ...) (*PostSpendLimitTerminationResourceResponse, error)
- func (c *ClientWithResponses) PostSpendLimitTerminationResourceWithResponse(ctx context.Context, spendLimitId string, ...) (*PostSpendLimitTerminationResourceResponse, error)
- func (c *ClientWithResponses) PostSpendLimitUnsuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitUnsuspensionResourceResponse, error)
- func (c *ClientWithResponses) PostSpendProgramResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSpendProgramResourceResponse, error)
- func (c *ClientWithResponses) PostSpendProgramResourceWithResponse(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, ...) (*PostSpendProgramResourceResponse, error)
- func (c *ClientWithResponses) PostSubsidiaryListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSubsidiaryListResourceResponse, error)
- func (c *ClientWithResponses) PostSubsidiaryListResourceWithResponse(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, ...) (*PostSubsidiaryListResourceResponse, error)
- func (c *ClientWithResponses) PostSyncListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSyncListResourceResponse, error)
- func (c *ClientWithResponses) PostSyncListResourceWithResponse(ctx context.Context, body PostSyncListResourceJSONRequestBody, ...) (*PostSyncListResourceResponse, error)
- func (c *ClientWithResponses) PostUserCreationDeferredTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostUserCreationDeferredTaskResponse, error)
- func (c *ClientWithResponses) PostUserCreationDeferredTaskWithResponse(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, ...) (*PostUserCreationDeferredTaskResponse, error)
- func (c *ClientWithResponses) PostVendorListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVendorListResourceResponse, error)
- func (c *ClientWithResponses) PostVendorListResourceWithResponse(ctx context.Context, body PostVendorListResourceJSONRequestBody, ...) (*PostVendorListResourceResponse, error)
- func (c *ClientWithResponses) PostVirtualCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVirtualCardResponse, error)
- func (c *ClientWithResponses) PostVirtualCardWithResponse(ctx context.Context, body PostVirtualCardJSONRequestBody, ...) (*PostVirtualCardResponse, error)
- type ClientWithResponsesInterface
- type CurrencyAmount
- type CurrencyAmountRequestBody
- type CustomFieldOption
- type DeferredTaskUUID
- type DeleteAccountingConnectionResouceResponse
- type DeleteCustomFieldOptionResourceResponse
- type DeleteCustomFieldResourceResponse
- type DeleteGlAccountResourceResponse
- type DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse
- type DeleteSubsidiaryResourceResponse
- type DeleteUserResourceResponse
- type DeleteVendorResourceResponse
- type Department
- type DeveloperAPINestedPage
- type FieldOption
- type GLAccount
- type GLAccountClassification
- type GeneralLedgerAccount
- type GeneralLedgerAccountClassification
- type GetAccountingConnectionResouceResponse
- type GetBusinessBalanceResourceResponse
- type GetBusinessResourceResponse
- type GetCardDeferredTaskResourceResponse
- type GetCardListWithPaginationParams
- type GetCardListWithPaginationResponse
- type GetCardProgramListDeprecatedParams
- type GetCardProgramListDeprecatedResponse
- type GetCardProgramResourceDeprecatedResponse
- type GetCardResourceResponse
- type GetCashbackListWithPaginationParams
- type GetCashbackListWithPaginationResponse
- type GetCashbackResourceResponse
- type GetCustomFieldListResourceParams
- type GetCustomFieldListResourceResponse
- type GetCustomFieldOptionListResourceParams
- type GetCustomFieldOptionListResourceResponse
- type GetCustomFieldOptionResourceResponse
- type GetCustomFieldResourceResponse
- type GetDepartmentListWithPaginationParams
- type GetDepartmentListWithPaginationResponse
- type GetDepartmentResourceResponse
- type GetGlAccountListResourceParams
- type GetGlAccountListResourceResponse
- type GetGlAccountResourceResponse
- type GetLocationListResourceParams
- type GetLocationListResourceResponse
- type GetLocationSingleResourceResponse
- type GetMemoListWithPaginationParams
- type GetMemoListWithPaginationResponse
- type GetMemoSingleResourceResponse
- type GetMerchantListWithPaginationParams
- type GetMerchantListWithPaginationResponse
- type GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody
- type GetReceiptIntegrationOptedOutEmailsListResourceResponse
- type GetReceiptListWithPaginationParams
- type GetReceiptListWithPaginationResponse
- type GetReceiptSingleResourceResponse
- type GetReimbursementListWithPaginationParams
- type GetReimbursementListWithPaginationResponse
- type GetReimbursementResourceResponse
- type GetSalesLeadResourceResponse
- type GetSpendLimitDeferredTaskStatusResponse
- type GetSpendLimitListWithPaginationParams
- type GetSpendLimitListWithPaginationResponse
- type GetSpendLimitResourceResponse
- type GetSpendProgramResourceParams
- type GetSpendProgramResourceResponse
- type GetSpendProgramSingleResourceResponse
- type GetStatementListWithPaginationParams
- type GetStatementListWithPaginationResponse
- type GetStatementResourceResponse
- type GetSubsidiaryListResourceParams
- type GetSubsidiaryListResourceResponse
- type GetSubsidiaryResourceResponse
- type GetSyncResourceResponse
- type GetTransactionCanonicalResourceResponse
- type GetTransactionsCanonicalListWithPaginationParams
- type GetTransactionsCanonicalListWithPaginationParamsMaxAmount0
- type GetTransactionsCanonicalListWithPaginationParamsMaxAmount1
- type GetTransactionsCanonicalListWithPaginationParamsMinAmount0
- type GetTransactionsCanonicalListWithPaginationParamsMinAmount1
- type GetTransactionsCanonicalListWithPaginationParamsState
- type GetTransactionsCanonicalListWithPaginationResponse
- type GetTransferListWithPaginationParams
- type GetTransferListWithPaginationResponse
- type GetTransferResourceResponse
- type GetUserDeferredTaskResourceResponse
- type GetUserListWithPaginationParams
- type GetUserListWithPaginationResponse
- type GetUserResourceResponse
- type GetVendorListResourceParams
- type GetVendorListResourceResponse
- type GetVendorResourceResponse
- type HttpRequestDoer
- type Lead
- type LeadFinancingApplicationStatus
- type LeadSource
- type Limit
- type LimitState
- type Location
- type Memo
- type Merchant
- type PaginatedResponseApiAccountingCustomFieldOptionResourceSchema
- type PaginatedResponseApiAccountingCustomFieldResourceSchema
- type PaginatedResponseApiAccountingGLAccountResourceSchema
- type PaginatedResponseApiAccountingSubsidiaryResourceSchema
- type PaginatedResponseApiAccountingVendorResourceSchema
- type PaginatedResponseApiCardProgramResourceSchema
- type PaginatedResponseApiCardResourceSchema
- type PaginatedResponseApiCashbackResourceSchema
- type PaginatedResponseApiDepartmentResourceSchema
- type PaginatedResponseApiLocationResourceSchema
- type PaginatedResponseApiMemoResourceSchema
- type PaginatedResponseApiMerchantResourceSchema
- type PaginatedResponseApiReceiptResourceSchema
- type PaginatedResponseApiReimbursementResourceSchema
- type PaginatedResponseApiSpendLimitResourceSchema
- type PaginatedResponseApiSpendProgramResourceSchema
- type PaginatedResponseApiStatementResourceSchema
- type PaginatedResponseApiTransactionCanonicalSchema
- type PaginatedResponseApiTransferResourceSchema
- type PaginatedResponseApiUserResourceSchema
- type PatchCardResourceJSONRequestBody
- type PatchCardResourceResponse
- type PatchCustomFieldOptionResourceJSONRequestBody
- type PatchCustomFieldOptionResourceResponse
- type PatchCustomFieldResourceJSONRequestBody
- type PatchCustomFieldResourceResponse
- type PatchDepartmentResourceJSONRequestBody
- type PatchDepartmentResourceResponse
- type PatchGlAccountResourceJSONRequestBody
- type PatchGlAccountResourceResponse
- type PatchLocationSingleResourceJSONRequestBody
- type PatchLocationSingleResourceResponse
- type PatchSpendLimitResourceResponse
- type PatchSubsidiaryResourceJSONRequestBody
- type PatchSubsidiaryResourceResponse
- type PatchUserResourceJSONRequestBody
- type PatchUserResourceResponse
- type PatchVendorResourceJSONRequestBody
- type PatchVendorResourceResponse
- type PostAccountingConnectionResouceJSONRequestBody
- type PostAccountingConnectionResouceResponse
- type PostCardProgramListDeprecatedJSONRequestBody
- type PostCardProgramListDeprecatedResponse
- type PostCardSuspensionResourceJSONRequestBody
- type PostCardSuspensionResourceResponse
- type PostCardTerminationResourceJSONRequestBody
- type PostCardTerminationResourceResponse
- type PostCardUnsuspensionResourceJSONRequestBody
- type PostCardUnsuspensionResourceResponse
- type PostCustomFieldListResourceJSONRequestBody
- type PostCustomFieldListResourceResponse
- type PostCustomFieldOptionListResourceJSONRequestBody
- type PostCustomFieldOptionListResourceResponse
- type PostDepartmentListWithPaginationJSONRequestBody
- type PostDepartmentListWithPaginationResponse
- type PostGlAccountListResourceJSONRequestBody
- type PostGlAccountListResourceResponse
- type PostLocationListResourceJSONRequestBody
- type PostLocationListResourceResponse
- type PostPhysicalCardJSONRequestBody
- type PostPhysicalCardResponse
- type PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody
- type PostReceiptIntegrationOptedOutEmailsListResourceResponse
- type PostSalesLeadCreationJSONRequestBody
- type PostSalesLeadCreationResponse
- type PostSalesLeadDocumentUploadResponse
- type PostSpendLimitCreationJSONRequestBody
- type PostSpendLimitCreationResponse
- type PostSpendLimitSuspensionResourceResponse
- type PostSpendLimitTerminationResourceJSONRequestBody
- type PostSpendLimitTerminationResourceResponse
- type PostSpendLimitUnsuspensionResourceResponse
- type PostSpendProgramResourceJSONRequestBody
- type PostSpendProgramResourceResponse
- type PostSubsidiaryListResourceJSONRequestBody
- type PostSubsidiaryListResourceResponse
- type PostSyncListResourceJSONRequestBody
- type PostSyncListResourceResponse
- type PostUserCreationDeferredTaskJSONRequestBody
- type PostUserCreationDeferredTaskResponse
- type PostVendorListResourceJSONRequestBody
- type PostVendorListResourceResponse
- type PostVirtualCardJSONRequestBody
- type PostVirtualCardResponse
- type Receipt
- type Reimbursement
- type ReimbursementDirection
- type ReimbursementType
- type RequestEditorFn
- type SpendLimitDeferredTask
- type Statement
- type Subsidiary
- type Sync
- type SyncStatus
- type Transaction
- type TransactionState
- type Transfer
- type TransferStatus
- type Upload
- type User
- type UserDeferredTask
- type UserStatus
- type Vendor
- type VendorAccount
Constants ¶
const (
Oauth2Scopes = "oauth2.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewDeleteAccountingConnectionResouceRequest ¶
NewDeleteAccountingConnectionResouceRequest generates requests for DeleteAccountingConnectionResouce
func NewDeleteCustomFieldOptionResourceRequest ¶
func NewDeleteCustomFieldOptionResourceRequest(server string, fieldOptionId string) (*http.Request, error)
NewDeleteCustomFieldOptionResourceRequest generates requests for DeleteCustomFieldOptionResource
func NewDeleteCustomFieldResourceRequest ¶
NewDeleteCustomFieldResourceRequest generates requests for DeleteCustomFieldResource
func NewDeleteGlAccountResourceRequest ¶
NewDeleteGlAccountResourceRequest generates requests for DeleteGlAccountResource
func NewDeleteReceiptIntegrationOptedOutEmailsDeleteResourceRequest ¶
func NewDeleteReceiptIntegrationOptedOutEmailsDeleteResourceRequest(server string, mailboxOptedOutEmailUuid string) (*http.Request, error)
NewDeleteReceiptIntegrationOptedOutEmailsDeleteResourceRequest generates requests for DeleteReceiptIntegrationOptedOutEmailsDeleteResource
func NewDeleteSubsidiaryResourceRequest ¶
NewDeleteSubsidiaryResourceRequest generates requests for DeleteSubsidiaryResource
func NewDeleteUserResourceRequest ¶
NewDeleteUserResourceRequest generates requests for DeleteUserResource
func NewDeleteVendorResourceRequest ¶
NewDeleteVendorResourceRequest generates requests for DeleteVendorResource
func NewGetAccountingConnectionResouceRequest ¶
NewGetAccountingConnectionResouceRequest generates requests for GetAccountingConnectionResouce
func NewGetBusinessBalanceResourceRequest ¶
NewGetBusinessBalanceResourceRequest generates requests for GetBusinessBalanceResource
func NewGetBusinessResourceRequest ¶
NewGetBusinessResourceRequest generates requests for GetBusinessResource
func NewGetCardDeferredTaskResourceRequest ¶
NewGetCardDeferredTaskResourceRequest generates requests for GetCardDeferredTaskResource
func NewGetCardListWithPaginationRequest ¶
func NewGetCardListWithPaginationRequest(server string, params *GetCardListWithPaginationParams) (*http.Request, error)
NewGetCardListWithPaginationRequest generates requests for GetCardListWithPagination
func NewGetCardProgramListDeprecatedRequest ¶
func NewGetCardProgramListDeprecatedRequest(server string, params *GetCardProgramListDeprecatedParams) (*http.Request, error)
NewGetCardProgramListDeprecatedRequest generates requests for GetCardProgramListDeprecated
func NewGetCardProgramResourceDeprecatedRequest ¶
func NewGetCardProgramResourceDeprecatedRequest(server string, cardProgramId string) (*http.Request, error)
NewGetCardProgramResourceDeprecatedRequest generates requests for GetCardProgramResourceDeprecated
func NewGetCardResourceRequest ¶
NewGetCardResourceRequest generates requests for GetCardResource
func NewGetCashbackListWithPaginationRequest ¶
func NewGetCashbackListWithPaginationRequest(server string, params *GetCashbackListWithPaginationParams) (*http.Request, error)
NewGetCashbackListWithPaginationRequest generates requests for GetCashbackListWithPagination
func NewGetCashbackResourceRequest ¶
NewGetCashbackResourceRequest generates requests for GetCashbackResource
func NewGetCustomFieldListResourceRequest ¶
func NewGetCustomFieldListResourceRequest(server string, params *GetCustomFieldListResourceParams) (*http.Request, error)
NewGetCustomFieldListResourceRequest generates requests for GetCustomFieldListResource
func NewGetCustomFieldOptionListResourceRequest ¶
func NewGetCustomFieldOptionListResourceRequest(server string, params *GetCustomFieldOptionListResourceParams) (*http.Request, error)
NewGetCustomFieldOptionListResourceRequest generates requests for GetCustomFieldOptionListResource
func NewGetCustomFieldOptionResourceRequest ¶
func NewGetCustomFieldOptionResourceRequest(server string, fieldOptionId string) (*http.Request, error)
NewGetCustomFieldOptionResourceRequest generates requests for GetCustomFieldOptionResource
func NewGetCustomFieldResourceRequest ¶
NewGetCustomFieldResourceRequest generates requests for GetCustomFieldResource
func NewGetDepartmentListWithPaginationRequest ¶
func NewGetDepartmentListWithPaginationRequest(server string, params *GetDepartmentListWithPaginationParams) (*http.Request, error)
NewGetDepartmentListWithPaginationRequest generates requests for GetDepartmentListWithPagination
func NewGetDepartmentResourceRequest ¶
NewGetDepartmentResourceRequest generates requests for GetDepartmentResource
func NewGetGlAccountListResourceRequest ¶
func NewGetGlAccountListResourceRequest(server string, params *GetGlAccountListResourceParams) (*http.Request, error)
NewGetGlAccountListResourceRequest generates requests for GetGlAccountListResource
func NewGetGlAccountResourceRequest ¶
NewGetGlAccountResourceRequest generates requests for GetGlAccountResource
func NewGetLocationListResourceRequest ¶
func NewGetLocationListResourceRequest(server string, params *GetLocationListResourceParams) (*http.Request, error)
NewGetLocationListResourceRequest generates requests for GetLocationListResource
func NewGetLocationSingleResourceRequest ¶
NewGetLocationSingleResourceRequest generates requests for GetLocationSingleResource
func NewGetMemoListWithPaginationRequest ¶
func NewGetMemoListWithPaginationRequest(server string, params *GetMemoListWithPaginationParams) (*http.Request, error)
NewGetMemoListWithPaginationRequest generates requests for GetMemoListWithPagination
func NewGetMemoSingleResourceRequest ¶
NewGetMemoSingleResourceRequest generates requests for GetMemoSingleResource
func NewGetMerchantListWithPaginationRequest ¶
func NewGetMerchantListWithPaginationRequest(server string, params *GetMerchantListWithPaginationParams) (*http.Request, error)
NewGetMerchantListWithPaginationRequest generates requests for GetMerchantListWithPagination
func NewGetReceiptIntegrationOptedOutEmailsListResourceRequest ¶
func NewGetReceiptIntegrationOptedOutEmailsListResourceRequest(server string, body GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody) (*http.Request, error)
NewGetReceiptIntegrationOptedOutEmailsListResourceRequest calls the generic GetReceiptIntegrationOptedOutEmailsListResource builder with application/json body
func NewGetReceiptIntegrationOptedOutEmailsListResourceRequestWithBody ¶
func NewGetReceiptIntegrationOptedOutEmailsListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetReceiptIntegrationOptedOutEmailsListResourceRequestWithBody generates requests for GetReceiptIntegrationOptedOutEmailsListResource with any type of body
func NewGetReceiptListWithPaginationRequest ¶
func NewGetReceiptListWithPaginationRequest(server string, params *GetReceiptListWithPaginationParams) (*http.Request, error)
NewGetReceiptListWithPaginationRequest generates requests for GetReceiptListWithPagination
func NewGetReceiptSingleResourceRequest ¶
NewGetReceiptSingleResourceRequest generates requests for GetReceiptSingleResource
func NewGetReimbursementListWithPaginationRequest ¶
func NewGetReimbursementListWithPaginationRequest(server string, params *GetReimbursementListWithPaginationParams) (*http.Request, error)
NewGetReimbursementListWithPaginationRequest generates requests for GetReimbursementListWithPagination
func NewGetReimbursementResourceRequest ¶
func NewGetReimbursementResourceRequest(server string, reimbursementId string) (*http.Request, error)
NewGetReimbursementResourceRequest generates requests for GetReimbursementResource
func NewGetSalesLeadResourceRequest ¶
NewGetSalesLeadResourceRequest generates requests for GetSalesLeadResource
func NewGetSpendLimitDeferredTaskStatusRequest ¶
func NewGetSpendLimitDeferredTaskStatusRequest(server string, taskUuid string) (*http.Request, error)
NewGetSpendLimitDeferredTaskStatusRequest generates requests for GetSpendLimitDeferredTaskStatus
func NewGetSpendLimitListWithPaginationRequest ¶
func NewGetSpendLimitListWithPaginationRequest(server string, params *GetSpendLimitListWithPaginationParams) (*http.Request, error)
NewGetSpendLimitListWithPaginationRequest generates requests for GetSpendLimitListWithPagination
func NewGetSpendLimitResourceRequest ¶
NewGetSpendLimitResourceRequest generates requests for GetSpendLimitResource
func NewGetSpendProgramResourceRequest ¶
func NewGetSpendProgramResourceRequest(server string, params *GetSpendProgramResourceParams) (*http.Request, error)
NewGetSpendProgramResourceRequest generates requests for GetSpendProgramResource
func NewGetSpendProgramSingleResourceRequest ¶
func NewGetSpendProgramSingleResourceRequest(server string, spendProgramId string) (*http.Request, error)
NewGetSpendProgramSingleResourceRequest generates requests for GetSpendProgramSingleResource
func NewGetStatementListWithPaginationRequest ¶
func NewGetStatementListWithPaginationRequest(server string, params *GetStatementListWithPaginationParams) (*http.Request, error)
NewGetStatementListWithPaginationRequest generates requests for GetStatementListWithPagination
func NewGetStatementResourceRequest ¶
NewGetStatementResourceRequest generates requests for GetStatementResource
func NewGetSubsidiaryListResourceRequest ¶
func NewGetSubsidiaryListResourceRequest(server string, params *GetSubsidiaryListResourceParams) (*http.Request, error)
NewGetSubsidiaryListResourceRequest generates requests for GetSubsidiaryListResource
func NewGetSubsidiaryResourceRequest ¶
NewGetSubsidiaryResourceRequest generates requests for GetSubsidiaryResource
func NewGetSyncResourceRequest ¶
NewGetSyncResourceRequest generates requests for GetSyncResource
func NewGetTransactionCanonicalResourceRequest ¶
func NewGetTransactionCanonicalResourceRequest(server string, transactionId string) (*http.Request, error)
NewGetTransactionCanonicalResourceRequest generates requests for GetTransactionCanonicalResource
func NewGetTransactionsCanonicalListWithPaginationRequest ¶
func NewGetTransactionsCanonicalListWithPaginationRequest(server string, params *GetTransactionsCanonicalListWithPaginationParams) (*http.Request, error)
NewGetTransactionsCanonicalListWithPaginationRequest generates requests for GetTransactionsCanonicalListWithPagination
func NewGetTransferListWithPaginationRequest ¶
func NewGetTransferListWithPaginationRequest(server string, params *GetTransferListWithPaginationParams) (*http.Request, error)
NewGetTransferListWithPaginationRequest generates requests for GetTransferListWithPagination
func NewGetTransferResourceRequest ¶
NewGetTransferResourceRequest generates requests for GetTransferResource
func NewGetUserDeferredTaskResourceRequest ¶
NewGetUserDeferredTaskResourceRequest generates requests for GetUserDeferredTaskResource
func NewGetUserListWithPaginationRequest ¶
func NewGetUserListWithPaginationRequest(server string, params *GetUserListWithPaginationParams) (*http.Request, error)
NewGetUserListWithPaginationRequest generates requests for GetUserListWithPagination
func NewGetUserResourceRequest ¶
NewGetUserResourceRequest generates requests for GetUserResource
func NewGetVendorListResourceRequest ¶
func NewGetVendorListResourceRequest(server string, params *GetVendorListResourceParams) (*http.Request, error)
NewGetVendorListResourceRequest generates requests for GetVendorListResource
func NewGetVendorResourceRequest ¶
NewGetVendorResourceRequest generates requests for GetVendorResource
func NewPatchCardResourceRequest ¶
func NewPatchCardResourceRequest(server string, cardId string, body PatchCardResourceJSONRequestBody) (*http.Request, error)
NewPatchCardResourceRequest calls the generic PatchCardResource builder with application/json body
func NewPatchCardResourceRequestWithBody ¶
func NewPatchCardResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchCardResourceRequestWithBody generates requests for PatchCardResource with any type of body
func NewPatchCustomFieldOptionResourceRequest ¶
func NewPatchCustomFieldOptionResourceRequest(server string, fieldOptionId string, body PatchCustomFieldOptionResourceJSONRequestBody) (*http.Request, error)
NewPatchCustomFieldOptionResourceRequest calls the generic PatchCustomFieldOptionResource builder with application/json body
func NewPatchCustomFieldOptionResourceRequestWithBody ¶
func NewPatchCustomFieldOptionResourceRequestWithBody(server string, fieldOptionId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchCustomFieldOptionResourceRequestWithBody generates requests for PatchCustomFieldOptionResource with any type of body
func NewPatchCustomFieldResourceRequest ¶
func NewPatchCustomFieldResourceRequest(server string, fieldId string, body PatchCustomFieldResourceJSONRequestBody) (*http.Request, error)
NewPatchCustomFieldResourceRequest calls the generic PatchCustomFieldResource builder with application/json body
func NewPatchCustomFieldResourceRequestWithBody ¶
func NewPatchCustomFieldResourceRequestWithBody(server string, fieldId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchCustomFieldResourceRequestWithBody generates requests for PatchCustomFieldResource with any type of body
func NewPatchDepartmentResourceRequest ¶
func NewPatchDepartmentResourceRequest(server string, departmentUuid string, body PatchDepartmentResourceJSONRequestBody) (*http.Request, error)
NewPatchDepartmentResourceRequest calls the generic PatchDepartmentResource builder with application/json body
func NewPatchDepartmentResourceRequestWithBody ¶
func NewPatchDepartmentResourceRequestWithBody(server string, departmentUuid string, contentType string, body io.Reader) (*http.Request, error)
NewPatchDepartmentResourceRequestWithBody generates requests for PatchDepartmentResource with any type of body
func NewPatchGlAccountResourceRequest ¶
func NewPatchGlAccountResourceRequest(server string, glAccountId string, body PatchGlAccountResourceJSONRequestBody) (*http.Request, error)
NewPatchGlAccountResourceRequest calls the generic PatchGlAccountResource builder with application/json body
func NewPatchGlAccountResourceRequestWithBody ¶
func NewPatchGlAccountResourceRequestWithBody(server string, glAccountId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchGlAccountResourceRequestWithBody generates requests for PatchGlAccountResource with any type of body
func NewPatchLocationSingleResourceRequest ¶
func NewPatchLocationSingleResourceRequest(server string, locationUuid string, body PatchLocationSingleResourceJSONRequestBody) (*http.Request, error)
NewPatchLocationSingleResourceRequest calls the generic PatchLocationSingleResource builder with application/json body
func NewPatchLocationSingleResourceRequestWithBody ¶
func NewPatchLocationSingleResourceRequestWithBody(server string, locationUuid string, contentType string, body io.Reader) (*http.Request, error)
NewPatchLocationSingleResourceRequestWithBody generates requests for PatchLocationSingleResource with any type of body
func NewPatchSpendLimitResourceRequest ¶
NewPatchSpendLimitResourceRequest generates requests for PatchSpendLimitResource
func NewPatchSubsidiaryResourceRequest ¶
func NewPatchSubsidiaryResourceRequest(server string, subsidiaryId string, body PatchSubsidiaryResourceJSONRequestBody) (*http.Request, error)
NewPatchSubsidiaryResourceRequest calls the generic PatchSubsidiaryResource builder with application/json body
func NewPatchSubsidiaryResourceRequestWithBody ¶
func NewPatchSubsidiaryResourceRequestWithBody(server string, subsidiaryId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchSubsidiaryResourceRequestWithBody generates requests for PatchSubsidiaryResource with any type of body
func NewPatchUserResourceRequest ¶
func NewPatchUserResourceRequest(server string, userId string, body PatchUserResourceJSONRequestBody) (*http.Request, error)
NewPatchUserResourceRequest calls the generic PatchUserResource builder with application/json body
func NewPatchUserResourceRequestWithBody ¶
func NewPatchUserResourceRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchUserResourceRequestWithBody generates requests for PatchUserResource with any type of body
func NewPatchVendorResourceRequest ¶
func NewPatchVendorResourceRequest(server string, vendorId string, body PatchVendorResourceJSONRequestBody) (*http.Request, error)
NewPatchVendorResourceRequest calls the generic PatchVendorResource builder with application/json body
func NewPatchVendorResourceRequestWithBody ¶
func NewPatchVendorResourceRequestWithBody(server string, vendorId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchVendorResourceRequestWithBody generates requests for PatchVendorResource with any type of body
func NewPostAccountingConnectionResouceRequest ¶
func NewPostAccountingConnectionResouceRequest(server string, body PostAccountingConnectionResouceJSONRequestBody) (*http.Request, error)
NewPostAccountingConnectionResouceRequest calls the generic PostAccountingConnectionResouce builder with application/json body
func NewPostAccountingConnectionResouceRequestWithBody ¶
func NewPostAccountingConnectionResouceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAccountingConnectionResouceRequestWithBody generates requests for PostAccountingConnectionResouce with any type of body
func NewPostCardProgramListDeprecatedRequest ¶
func NewPostCardProgramListDeprecatedRequest(server string, body PostCardProgramListDeprecatedJSONRequestBody) (*http.Request, error)
NewPostCardProgramListDeprecatedRequest calls the generic PostCardProgramListDeprecated builder with application/json body
func NewPostCardProgramListDeprecatedRequestWithBody ¶
func NewPostCardProgramListDeprecatedRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostCardProgramListDeprecatedRequestWithBody generates requests for PostCardProgramListDeprecated with any type of body
func NewPostCardSuspensionResourceRequest ¶
func NewPostCardSuspensionResourceRequest(server string, cardId string, body PostCardSuspensionResourceJSONRequestBody) (*http.Request, error)
NewPostCardSuspensionResourceRequest calls the generic PostCardSuspensionResource builder with application/json body
func NewPostCardSuspensionResourceRequestWithBody ¶
func NewPostCardSuspensionResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
NewPostCardSuspensionResourceRequestWithBody generates requests for PostCardSuspensionResource with any type of body
func NewPostCardTerminationResourceRequest ¶
func NewPostCardTerminationResourceRequest(server string, cardId string, body PostCardTerminationResourceJSONRequestBody) (*http.Request, error)
NewPostCardTerminationResourceRequest calls the generic PostCardTerminationResource builder with application/json body
func NewPostCardTerminationResourceRequestWithBody ¶
func NewPostCardTerminationResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
NewPostCardTerminationResourceRequestWithBody generates requests for PostCardTerminationResource with any type of body
func NewPostCardUnsuspensionResourceRequest ¶
func NewPostCardUnsuspensionResourceRequest(server string, cardId string, body PostCardUnsuspensionResourceJSONRequestBody) (*http.Request, error)
NewPostCardUnsuspensionResourceRequest calls the generic PostCardUnsuspensionResource builder with application/json body
func NewPostCardUnsuspensionResourceRequestWithBody ¶
func NewPostCardUnsuspensionResourceRequestWithBody(server string, cardId string, contentType string, body io.Reader) (*http.Request, error)
NewPostCardUnsuspensionResourceRequestWithBody generates requests for PostCardUnsuspensionResource with any type of body
func NewPostCustomFieldListResourceRequest ¶
func NewPostCustomFieldListResourceRequest(server string, body PostCustomFieldListResourceJSONRequestBody) (*http.Request, error)
NewPostCustomFieldListResourceRequest calls the generic PostCustomFieldListResource builder with application/json body
func NewPostCustomFieldListResourceRequestWithBody ¶
func NewPostCustomFieldListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostCustomFieldListResourceRequestWithBody generates requests for PostCustomFieldListResource with any type of body
func NewPostCustomFieldOptionListResourceRequest ¶
func NewPostCustomFieldOptionListResourceRequest(server string, body PostCustomFieldOptionListResourceJSONRequestBody) (*http.Request, error)
NewPostCustomFieldOptionListResourceRequest calls the generic PostCustomFieldOptionListResource builder with application/json body
func NewPostCustomFieldOptionListResourceRequestWithBody ¶
func NewPostCustomFieldOptionListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostCustomFieldOptionListResourceRequestWithBody generates requests for PostCustomFieldOptionListResource with any type of body
func NewPostDepartmentListWithPaginationRequest ¶
func NewPostDepartmentListWithPaginationRequest(server string, body PostDepartmentListWithPaginationJSONRequestBody) (*http.Request, error)
NewPostDepartmentListWithPaginationRequest calls the generic PostDepartmentListWithPagination builder with application/json body
func NewPostDepartmentListWithPaginationRequestWithBody ¶
func NewPostDepartmentListWithPaginationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostDepartmentListWithPaginationRequestWithBody generates requests for PostDepartmentListWithPagination with any type of body
func NewPostGlAccountListResourceRequest ¶
func NewPostGlAccountListResourceRequest(server string, body PostGlAccountListResourceJSONRequestBody) (*http.Request, error)
NewPostGlAccountListResourceRequest calls the generic PostGlAccountListResource builder with application/json body
func NewPostGlAccountListResourceRequestWithBody ¶
func NewPostGlAccountListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostGlAccountListResourceRequestWithBody generates requests for PostGlAccountListResource with any type of body
func NewPostLocationListResourceRequest ¶
func NewPostLocationListResourceRequest(server string, body PostLocationListResourceJSONRequestBody) (*http.Request, error)
NewPostLocationListResourceRequest calls the generic PostLocationListResource builder with application/json body
func NewPostLocationListResourceRequestWithBody ¶
func NewPostLocationListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostLocationListResourceRequestWithBody generates requests for PostLocationListResource with any type of body
func NewPostPhysicalCardRequest ¶
func NewPostPhysicalCardRequest(server string, body PostPhysicalCardJSONRequestBody) (*http.Request, error)
NewPostPhysicalCardRequest calls the generic PostPhysicalCard builder with application/json body
func NewPostPhysicalCardRequestWithBody ¶
func NewPostPhysicalCardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostPhysicalCardRequestWithBody generates requests for PostPhysicalCard with any type of body
func NewPostReceiptIntegrationOptedOutEmailsListResourceRequest ¶
func NewPostReceiptIntegrationOptedOutEmailsListResourceRequest(server string, body PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody) (*http.Request, error)
NewPostReceiptIntegrationOptedOutEmailsListResourceRequest calls the generic PostReceiptIntegrationOptedOutEmailsListResource builder with application/json body
func NewPostReceiptIntegrationOptedOutEmailsListResourceRequestWithBody ¶
func NewPostReceiptIntegrationOptedOutEmailsListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostReceiptIntegrationOptedOutEmailsListResourceRequestWithBody generates requests for PostReceiptIntegrationOptedOutEmailsListResource with any type of body
func NewPostSalesLeadCreationRequest ¶
func NewPostSalesLeadCreationRequest(server string, body PostSalesLeadCreationJSONRequestBody) (*http.Request, error)
NewPostSalesLeadCreationRequest calls the generic PostSalesLeadCreation builder with application/json body
func NewPostSalesLeadCreationRequestWithBody ¶
func NewPostSalesLeadCreationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSalesLeadCreationRequestWithBody generates requests for PostSalesLeadCreation with any type of body
func NewPostSalesLeadDocumentUploadRequest ¶
func NewPostSalesLeadDocumentUploadRequest(server string, salesLeadId string) (*http.Request, error)
NewPostSalesLeadDocumentUploadRequest generates requests for PostSalesLeadDocumentUpload
func NewPostSpendLimitCreationRequest ¶
func NewPostSpendLimitCreationRequest(server string, body PostSpendLimitCreationJSONRequestBody) (*http.Request, error)
NewPostSpendLimitCreationRequest calls the generic PostSpendLimitCreation builder with application/json body
func NewPostSpendLimitCreationRequestWithBody ¶
func NewPostSpendLimitCreationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSpendLimitCreationRequestWithBody generates requests for PostSpendLimitCreation with any type of body
func NewPostSpendLimitSuspensionResourceRequest ¶
func NewPostSpendLimitSuspensionResourceRequest(server string, spendLimitId string) (*http.Request, error)
NewPostSpendLimitSuspensionResourceRequest generates requests for PostSpendLimitSuspensionResource
func NewPostSpendLimitTerminationResourceRequest ¶
func NewPostSpendLimitTerminationResourceRequest(server string, spendLimitId string, body PostSpendLimitTerminationResourceJSONRequestBody) (*http.Request, error)
NewPostSpendLimitTerminationResourceRequest calls the generic PostSpendLimitTerminationResource builder with application/json body
func NewPostSpendLimitTerminationResourceRequestWithBody ¶
func NewPostSpendLimitTerminationResourceRequestWithBody(server string, spendLimitId string, contentType string, body io.Reader) (*http.Request, error)
NewPostSpendLimitTerminationResourceRequestWithBody generates requests for PostSpendLimitTerminationResource with any type of body
func NewPostSpendLimitUnsuspensionResourceRequest ¶
func NewPostSpendLimitUnsuspensionResourceRequest(server string, spendLimitId string) (*http.Request, error)
NewPostSpendLimitUnsuspensionResourceRequest generates requests for PostSpendLimitUnsuspensionResource
func NewPostSpendProgramResourceRequest ¶
func NewPostSpendProgramResourceRequest(server string, body PostSpendProgramResourceJSONRequestBody) (*http.Request, error)
NewPostSpendProgramResourceRequest calls the generic PostSpendProgramResource builder with application/json body
func NewPostSpendProgramResourceRequestWithBody ¶
func NewPostSpendProgramResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSpendProgramResourceRequestWithBody generates requests for PostSpendProgramResource with any type of body
func NewPostSubsidiaryListResourceRequest ¶
func NewPostSubsidiaryListResourceRequest(server string, body PostSubsidiaryListResourceJSONRequestBody) (*http.Request, error)
NewPostSubsidiaryListResourceRequest calls the generic PostSubsidiaryListResource builder with application/json body
func NewPostSubsidiaryListResourceRequestWithBody ¶
func NewPostSubsidiaryListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSubsidiaryListResourceRequestWithBody generates requests for PostSubsidiaryListResource with any type of body
func NewPostSyncListResourceRequest ¶
func NewPostSyncListResourceRequest(server string, body PostSyncListResourceJSONRequestBody) (*http.Request, error)
NewPostSyncListResourceRequest calls the generic PostSyncListResource builder with application/json body
func NewPostSyncListResourceRequestWithBody ¶
func NewPostSyncListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostSyncListResourceRequestWithBody generates requests for PostSyncListResource with any type of body
func NewPostUserCreationDeferredTaskRequest ¶
func NewPostUserCreationDeferredTaskRequest(server string, body PostUserCreationDeferredTaskJSONRequestBody) (*http.Request, error)
NewPostUserCreationDeferredTaskRequest calls the generic PostUserCreationDeferredTask builder with application/json body
func NewPostUserCreationDeferredTaskRequestWithBody ¶
func NewPostUserCreationDeferredTaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostUserCreationDeferredTaskRequestWithBody generates requests for PostUserCreationDeferredTask with any type of body
func NewPostVendorListResourceRequest ¶
func NewPostVendorListResourceRequest(server string, body PostVendorListResourceJSONRequestBody) (*http.Request, error)
NewPostVendorListResourceRequest calls the generic PostVendorListResource builder with application/json body
func NewPostVendorListResourceRequestWithBody ¶
func NewPostVendorListResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostVendorListResourceRequestWithBody generates requests for PostVendorListResource with any type of body
func NewPostVirtualCardRequest ¶
func NewPostVirtualCardRequest(server string, body PostVirtualCardJSONRequestBody) (*http.Request, error)
NewPostVirtualCardRequest calls the generic PostVirtualCard builder with application/json body
Types ¶
type AccountingProvider ¶
type AccountingProvider struct { CreatedAt *time.Time `json:"created_at,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` RemoteProviderName *interface{} `json:"remote_provider_name,omitempty"` }
AccountingProvider defines model for AccountingProvider.
type ApiAccountingCategory ¶
type ApiAccountingCategory struct { // CategoryId User-selected category id for transaction. CategoryId *string `json:"category_id,omitempty"` // CategoryName User-selected category name for transaction. CategoryName *string `json:"category_name,omitempty"` TrackingCategoryRemoteId *string `json:"tracking_category_remote_id,omitempty"` TrackingCategoryRemoteName *string `json:"tracking_category_remote_name,omitempty"` TrackingCategoryRemoteType *string `json:"tracking_category_remote_type,omitempty"` }
ApiAccountingCategory defines model for ApiAccountingCategory.
type ApiAccountingCustomFieldCreateRequestBody ¶
type ApiAccountingCustomFieldCreateRequestBody struct { // Id id of the custom accounting field. Id string `json:"id"` // InputType The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT. InputType ApiAccountingCustomFieldCreateRequestBodyInputType `json:"input_type"` // IsSplittable If set to True, the accounting field can be used to annotate split line items. IsSplittable *bool `json:"is_splittable,omitempty"` // Name name of the custom accounting field. Name string `json:"name"` }
ApiAccountingCustomFieldCreateRequestBody defines model for ApiAccountingCustomFieldCreateRequestBody.
type ApiAccountingCustomFieldCreateRequestBodyInputType ¶
type ApiAccountingCustomFieldCreateRequestBodyInputType string
ApiAccountingCustomFieldCreateRequestBodyInputType The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.
const ( ApiAccountingCustomFieldCreateRequestBodyInputTypeBOOLEAN ApiAccountingCustomFieldCreateRequestBodyInputType = "BOOLEAN" ApiAccountingCustomFieldCreateRequestBodyInputTypeFREEFORMTEXT ApiAccountingCustomFieldCreateRequestBodyInputType = "FREE_FORM_TEXT" ApiAccountingCustomFieldCreateRequestBodyInputTypeSINGLECHOICE ApiAccountingCustomFieldCreateRequestBodyInputType = "SINGLE_CHOICE" )
Defines values for ApiAccountingCustomFieldCreateRequestBodyInputType.
type ApiAccountingCustomFieldOptionUpdateRequestBody ¶
type ApiAccountingCustomFieldOptionUpdateRequestBody struct {
Value *string `json:"value,omitempty"`
}
ApiAccountingCustomFieldOptionUpdateRequestBody defines model for ApiAccountingCustomFieldOptionUpdateRequestBody.
type ApiAccountingCustomFieldOptionUploadRequestBody ¶
type ApiAccountingCustomFieldOptionUploadRequestBody struct { // FieldId id to uniquely identify a custom accounting field within Ramp system FieldId openapi_types.UUID `json:"field_id"` // Options A list of field options for a given custom accounting field. Options []FieldOption `json:"options"` }
ApiAccountingCustomFieldOptionUploadRequestBody defines model for ApiAccountingCustomFieldOptionUploadRequestBody.
type ApiAccountingCustomFieldResource ¶
type ApiAccountingCustomFieldResource struct { CreatedAt *time.Time `json:"created_at,omitempty"` Id *string `json:"id,omitempty"` // InputType The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT. InputType ApiAccountingCustomFieldResourceInputType `json:"input_type"` IsActive *bool `json:"is_active,omitempty"` IsSplittable *bool `json:"is_splittable,omitempty"` // Name name of the custom accounting field. Name *string `json:"name,omitempty"` // RampId id to uniquely identify a custom accounting field within Ramp system RampId *openapi_types.UUID `json:"ramp_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
ApiAccountingCustomFieldResource defines model for ApiAccountingCustomFieldResource.
type ApiAccountingCustomFieldResourceInputType ¶
type ApiAccountingCustomFieldResourceInputType string
ApiAccountingCustomFieldResourceInputType The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.
const ( ApiAccountingCustomFieldResourceInputTypeBOOLEAN ApiAccountingCustomFieldResourceInputType = "BOOLEAN" ApiAccountingCustomFieldResourceInputTypeFREEFORMTEXT ApiAccountingCustomFieldResourceInputType = "FREE_FORM_TEXT" ApiAccountingCustomFieldResourceInputTypeSINGLECHOICE ApiAccountingCustomFieldResourceInputType = "SINGLE_CHOICE" )
Defines values for ApiAccountingCustomFieldResourceInputType.
type ApiAccountingCustomFieldUpdateRequestBody ¶
type ApiAccountingCustomFieldUpdateRequestBody struct { // IsSplittable If set to True, the accounting field can be used to annotate split line items. IsSplittable *bool `json:"is_splittable,omitempty"` // Name name of the custom accounting field. Name *string `json:"name,omitempty"` }
ApiAccountingCustomFieldUpdateRequestBody defines model for ApiAccountingCustomFieldUpdateRequestBody.
type ApiAccountingFailedSyncRequestBody ¶
type ApiAccountingFailedSyncRequestBody struct { // Error describes the reason why the sync object failed to sync. Error ApiAccountingSyncErrorRequestBody `json:"error"` // Id ID that uniquely identifies a transaction/reimbursement in Ramp systems. Id openapi_types.UUID `json:"id"` }
ApiAccountingFailedSyncRequestBody defines model for ApiAccountingFailedSyncRequestBody.
type ApiAccountingGLAccountUpdateRequestBody ¶
type ApiAccountingGLAccountUpdateRequestBody struct { // Code code of the general ledger account; you could provide an empty string if you want to reset the remote code. Code *string `json:"code,omitempty"` // Name name of the general ledger account Name *string `json:"name,omitempty"` // Subsidiaries IDs of a list of subsidiaries which a general ledger account can be used with. The Ramp-assigned IDs should be used here. you could provide an empty list if you want to reset the subsidiaries list for this general ledger account. Subsidiaries *[]string `json:"subsidiaries,omitempty"` }
ApiAccountingGLAccountUpdateRequestBody defines model for ApiAccountingGLAccountUpdateRequestBody.
type ApiAccountingGLAccountUploadRequestBody ¶
type ApiAccountingGLAccountUploadRequestBody struct { // GlAccounts A list of general ledger accounts that you want to use to classify your Ramp transactions. GlAccounts *[]GLAccount `json:"gl_accounts,omitempty"` }
ApiAccountingGLAccountUploadRequestBody defines model for ApiAccountingGLAccountUploadRequestBody.
type ApiAccountingProviderAccessCreateRequestBody ¶
type ApiAccountingProviderAccessCreateRequestBody struct { // Reactivate Set reactivate=True to try to find an existing deleted accounting connection instead of creating a new one. Reactivate *bool `json:"reactivate,omitempty"` RemoteProviderName *ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName `json:"remote_provider_name"` }
ApiAccountingProviderAccessCreateRequestBody defines model for ApiAccountingProviderAccessCreateRequestBody.
type ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName ¶
type ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName string
ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName defines model for ApiAccountingProviderAccessCreateRequestBody.RemoteProviderName.
const ( ACCOUNTINGSEED ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ACCOUNTING_SEED" ACS ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ACS" ACUMATICA ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ACUMATICA" BENCH ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "BENCH" BLACKBAUDFINANCIALEDGE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "BLACKBAUD_FINANCIAL_EDGE" BLACKLINE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "BLACKLINE" BQE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "BQE" CMIC ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "CMIC" COMPUTEREASE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "COMPUTEREASE" DEALERTRACK ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "DEALERTRACK" DELTEK ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "DELTEK" EPICOR ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "EPICOR" FINANCIALFORCE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "FINANCIALFORCE" FISERVPROLOGUE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "FISERV_PROLOGUE" FOUNDATION ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "FOUNDATION" FRESHBOOKS ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "FRESHBOOKS" FUNDEZ ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "FUNDEZ" LIGHTSPEEDEVO ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "LIGHTSPEEDEVO" MICROSOFTDYNAMICS ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "MICROSOFT_DYNAMICS" MRI ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "MRI" ODOO ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ODOO" ORACLEERP ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ORACLE_ERP" PILOT ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "PILOT" POWERCHURCH ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "POWERCHURCH" PUZZLEFINANCIAL ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "PUZZLE_FINANCIAL" QUICKBOOKSDESKTOP ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "QUICKBOOKS_DESKTOP" RENTMANAGER ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "RENT_MANAGER" RILLET ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "RILLET" SAGE ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SAGE" SAP ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SAP" SGA ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SGA" SOFTLEDGER ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SOFTLEDGER" SQUAVA ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SQUAVA" SYSPRO ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "SYSPRO" TALLY ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "TALLY" VIEWPOINT ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "VIEWPOINT" WAVEAPPS ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "WAVEAPPS" WORKDAY ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "WORKDAY" ZOHOBOOKS ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName = "ZOHO_BOOKS" )
Defines values for ApiAccountingProviderAccessCreateRequestBodyRemoteProviderName.
type ApiAccountingSubsidiaryCreateRequestBody ¶
type ApiAccountingSubsidiaryCreateRequestBody struct { // Id id of the subsidiary. Id string `json:"id"` // Name name of the subsidiary company; e.g. Ramp LP. In the corporate world, a subsidiary is a company that belongs to another company, which is usually referred to as the parent company or the holding company. Name string `json:"name"` }
ApiAccountingSubsidiaryCreateRequestBody defines model for ApiAccountingSubsidiaryCreateRequestBody.
type ApiAccountingSubsidiaryUpdateRequestBody ¶
type ApiAccountingSubsidiaryUpdateRequestBody struct { // Name Name of a subsidiary Name string `json:"name"` }
ApiAccountingSubsidiaryUpdateRequestBody defines model for ApiAccountingSubsidiaryUpdateRequestBody.
type ApiAccountingSubsidiaryUploadRequestBody ¶
type ApiAccountingSubsidiaryUploadRequestBody struct { // Subsidiaries A list of subsidiaries that you want to use to classify your Ramp transactions. Subsidiaries *[]ApiAccountingSubsidiaryCreateRequestBody `json:"subsidiaries,omitempty"` }
ApiAccountingSubsidiaryUploadRequestBody defines model for ApiAccountingSubsidiaryUploadRequestBody.
type ApiAccountingSuccessfulSyncRequestBody ¶
type ApiAccountingSuccessfulSyncRequestBody struct { // Id ID that uniquely identifies the object to sync in Ramp systems. Id openapi_types.UUID `json:"id"` // ReferenceId ID that uniquely identifies the object to sync in remote ERP systems. ReferenceId string `json:"reference_id"` }
ApiAccountingSuccessfulSyncRequestBody defines model for ApiAccountingSuccessfulSyncRequestBody.
type ApiAccountingSyncCreateRequestBody ¶
type ApiAccountingSyncCreateRequestBody struct { // FailedSyncs A list of objects that failed to be synced. FailedSyncs *[]ApiAccountingFailedSyncRequestBody `json:"failed_syncs,omitempty"` // IdempotencyKey An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey string `json:"idempotency_key"` // SuccessfulSyncs A list of successfully synced objects. SuccessfulSyncs *[]ApiAccountingSuccessfulSyncRequestBody `json:"successful_syncs,omitempty"` // SyncType The type of object to sync. SyncType ApiAccountingSyncCreateRequestBodySyncType `json:"sync_type"` }
ApiAccountingSyncCreateRequestBody defines model for ApiAccountingSyncCreateRequestBody.
type ApiAccountingSyncCreateRequestBodySyncType ¶
type ApiAccountingSyncCreateRequestBodySyncType string
ApiAccountingSyncCreateRequestBodySyncType The type of object to sync.
const ( REIMBURSEMENTSYNC ApiAccountingSyncCreateRequestBodySyncType = "REIMBURSEMENT_SYNC" STATEMENTCREDITSYNC ApiAccountingSyncCreateRequestBodySyncType = "STATEMENT_CREDIT_SYNC" TRANSACTIONSYNC ApiAccountingSyncCreateRequestBodySyncType = "TRANSACTION_SYNC" TRANSFERSYNC ApiAccountingSyncCreateRequestBodySyncType = "TRANSFER_SYNC" )
Defines values for ApiAccountingSyncCreateRequestBodySyncType.
type ApiAccountingSyncErrorRequestBody ¶
type ApiAccountingSyncErrorRequestBody struct { // Message an error message that explains the reason of the sync failure. Message string `json:"message"` }
ApiAccountingSyncErrorRequestBody defines model for ApiAccountingSyncErrorRequestBody.
type ApiAccountingTrackingCategoryUploadResponse ¶
type ApiAccountingTrackingCategoryUploadResponse struct { // Uploaded A list of uuids from the uploaded objects. Uploaded *[]openapi_types.UUID `json:"uploaded,omitempty"` }
ApiAccountingTrackingCategoryUploadResponse defines model for ApiAccountingTrackingCategoryUploadResponse.
type ApiAccountingVendorUpdateRequestBody ¶
type ApiAccountingVendorUpdateRequestBody struct { // Code Code of the vendor; you could provide an empty string to reset the remote code. Code *string `json:"code,omitempty"` // Name Name of a vendor Name *string `json:"name,omitempty"` // Subsidiaries IDs of a list of subsidiaries associated with the vendor. The Ramp-assigned IDs should be used here. You could provide an empty list to reset the subsidiaries list. Subsidiaries *[]string `json:"subsidiaries,omitempty"` }
ApiAccountingVendorUpdateRequestBody defines model for ApiAccountingVendorUpdateRequestBody.
type ApiAccountingVendorUploadRequestBody ¶
type ApiAccountingVendorUploadRequestBody struct { // Vendors A list of vendors that you want to use to classify your Ramp transactions. Vendors *[]Vendor `json:"vendors,omitempty"` }
ApiAccountingVendorUploadRequestBody defines model for ApiAccountingVendorUploadRequestBody.
type ApiCardAccountingRulesDataRequestBody ¶
type ApiCardAccountingRulesDataRequestBody struct { AccountingProviderAccessUuid *string `json:"accounting_provider_access_uuid,omitempty"` TrackingCategoryId int `json:"tracking_category_id"` TrackingCategoryOptionId int `json:"tracking_category_option_id"` TrackingCategoryOptionRemoteName string `json:"tracking_category_option_remote_name"` }
ApiCardAccountingRulesDataRequestBody defines model for ApiCardAccountingRulesDataRequestBody.
type ApiCardDeferredTaskData ¶
type ApiCardDeferredTaskData struct { // CardId Unique identifier of the subject card in the deferred task. CardId *openapi_types.UUID `json:"card_id,omitempty"` // Error An error message if the deferred task fails. Error *string `json:"error,omitempty"` }
ApiCardDeferredTaskData defines model for ApiCardDeferredTaskData.
type ApiCardDeferredUpdateRequestBody ¶
type ApiCardDeferredUpdateRequestBody struct { // IdempotencyKey An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey string `json:"idempotency_key"` }
ApiCardDeferredUpdateRequestBody defines model for ApiCardDeferredUpdateRequestBody.
type ApiCardFulfillment ¶
type ApiCardFulfillment struct { CardPersonalization *CardPersonalization `json:"card_personalization,omitempty"` // FulfillmentStatus Fulfillment status of the card FulfillmentStatus *ApiCardFulfillmentFulfillmentStatus `json:"fulfillment_status,omitempty"` Shipping *CardShipping `json:"shipping,omitempty"` // ShippingDate Date on which the card is shipped out, presented in ISO8601 format ShippingDate *time.Time `json:"shipping_date,omitempty"` // ShippingEta Estimated arrival time, presented in ISO8601 format ShippingEta *time.Time `json:"shipping_eta,omitempty"` // ShippingTrackingUrl Tracking url ShippingTrackingUrl *string `json:"shipping_tracking_url,omitempty"` }
ApiCardFulfillment defines model for ApiCardFulfillment.
type ApiCardFulfillmentFulfillmentStatus ¶
type ApiCardFulfillmentFulfillmentStatus string
ApiCardFulfillmentFulfillmentStatus Fulfillment status of the card
const ( DELIVERED ApiCardFulfillmentFulfillmentStatus = "DELIVERED" DIGITALLYPRESENTED ApiCardFulfillmentFulfillmentStatus = "DIGITALLY_PRESENTED" ISSUED ApiCardFulfillmentFulfillmentStatus = "ISSUED" ORDERED ApiCardFulfillmentFulfillmentStatus = "ORDERED" REJECTED ApiCardFulfillmentFulfillmentStatus = "REJECTED" SHIPPED ApiCardFulfillmentFulfillmentStatus = "SHIPPED" )
Defines values for ApiCardFulfillmentFulfillmentStatus.
type ApiCardProgramCreateRequestBody ¶
type ApiCardProgramCreateRequestBody struct { ActingUserId int `json:"acting_user_id"` BusinessId int `json:"business_id"` // Description Description of the card program. Description string `json:"description"` // DisplayName Display name of the card program. DisplayName string `json:"display_name"` Icon *ApiCardProgramCreateRequestBodyIcon `json:"icon,omitempty"` // IsDefault Whether this card program is used as default card program. IsDefault bool `json:"is_default"` // IsPhysical Whether this card program is used for physical cards. IsPhysical bool `json:"is_physical"` PolicyId int `json:"policy_id"` // SpendingRestrictions Spending restrictions associated with the card program. SpendingRestrictions ApiCardSpendingRestrictionsRequestBody `json:"spending_restrictions"` }
ApiCardProgramCreateRequestBody defines model for ApiCardProgramCreateRequestBody.
type ApiCardProgramCreateRequestBodyIcon ¶
type ApiCardProgramCreateRequestBodyIcon string
ApiCardProgramCreateRequestBodyIcon defines model for ApiCardProgramCreateRequestBody.Icon.
const ( ApiCardProgramCreateRequestBodyIconAdvertisingIcon ApiCardProgramCreateRequestBodyIcon = "AdvertisingIcon" ApiCardProgramCreateRequestBodyIconCardIcon ApiCardProgramCreateRequestBodyIcon = "CardIcon" ApiCardProgramCreateRequestBodyIconEducationStipendIcon ApiCardProgramCreateRequestBodyIcon = "EducationStipendIcon" ApiCardProgramCreateRequestBodyIconLunchOrderingIcon ApiCardProgramCreateRequestBodyIcon = "LunchOrderingIcon" ApiCardProgramCreateRequestBodyIconOnboardingIcon ApiCardProgramCreateRequestBodyIcon = "OnboardingIcon" ApiCardProgramCreateRequestBodyIconPerDiemCardIcon ApiCardProgramCreateRequestBodyIcon = "PerDiemCardIcon" ApiCardProgramCreateRequestBodyIconSaasSubscriptionIcon ApiCardProgramCreateRequestBodyIcon = "SaasSubscriptionIcon" ApiCardProgramCreateRequestBodyIconSoftwareTrialIcon ApiCardProgramCreateRequestBodyIcon = "SoftwareTrialIcon" ApiCardProgramCreateRequestBodyIconTravelExpensesIcon ApiCardProgramCreateRequestBodyIcon = "TravelExpensesIcon" ApiCardProgramCreateRequestBodyIconWellnessIcon ApiCardProgramCreateRequestBodyIcon = "WellnessIcon" )
Defines values for ApiCardProgramCreateRequestBodyIcon.
type ApiCardProgramResource ¶
type ApiCardProgramResource struct { // Description Card program description. Description *string `json:"description,omitempty"` // DisplayName Display name of the card program. DisplayName *string `json:"display_name,omitempty"` Icon ApiCardProgramResourceIcon `json:"icon"` // Id Unique identifer of the card program. Id *openapi_types.UUID `json:"id,omitempty"` // IsDefault Whether this card program is used as default card program. IsDefault *bool `json:"is_default,omitempty"` // IsPhysical Whether this card program is used for physical cards. IsPhysical *bool `json:"is_physical,omitempty"` // SpendingRestrictions Spending restrictions associated with the card program. SpendingRestrictions *ApiCardProgramSpendingRestrictions `json:"spending_restrictions,omitempty"` }
ApiCardProgramResource defines model for ApiCardProgramResource.
type ApiCardProgramResourceIcon ¶
type ApiCardProgramResourceIcon string
ApiCardProgramResourceIcon defines model for ApiCardProgramResource.Icon.
const ( ApiCardProgramResourceIconAdvertisingIcon ApiCardProgramResourceIcon = "AdvertisingIcon" ApiCardProgramResourceIconCardIcon ApiCardProgramResourceIcon = "CardIcon" ApiCardProgramResourceIconEducationStipendIcon ApiCardProgramResourceIcon = "EducationStipendIcon" ApiCardProgramResourceIconLunchOrderingIcon ApiCardProgramResourceIcon = "LunchOrderingIcon" ApiCardProgramResourceIconOnboardingIcon ApiCardProgramResourceIcon = "OnboardingIcon" ApiCardProgramResourceIconPerDiemCardIcon ApiCardProgramResourceIcon = "PerDiemCardIcon" ApiCardProgramResourceIconSaasSubscriptionIcon ApiCardProgramResourceIcon = "SaasSubscriptionIcon" ApiCardProgramResourceIconSoftwareTrialIcon ApiCardProgramResourceIcon = "SoftwareTrialIcon" ApiCardProgramResourceIconTravelExpensesIcon ApiCardProgramResourceIcon = "TravelExpensesIcon" ApiCardProgramResourceIconWellnessIcon ApiCardProgramResourceIcon = "WellnessIcon" )
Defines values for ApiCardProgramResourceIcon.
type ApiCardProgramSpendingRestrictions ¶
type ApiCardProgramSpendingRestrictions struct { // Amount Amount limit total per interval. Amount *float32 `json:"amount,omitempty"` // Categories List of Ramp Category Codes this card is restricted to. Categories *[]int `json:"categories,omitempty"` // Interval Time interval to apply limit to. Interval *ApiCardProgramSpendingRestrictionsInterval `json:"interval,omitempty"` // LockDate Date to automatically lock the card. LockDate *time.Time `json:"lock_date,omitempty"` // TransactionAmountLimit Max amount limit per transaction. TransactionAmountLimit *float32 `json:"transaction_amount_limit,omitempty"` }
ApiCardProgramSpendingRestrictions defines model for ApiCardProgramSpendingRestrictions.
type ApiCardProgramSpendingRestrictionsInterval ¶
type ApiCardProgramSpendingRestrictionsInterval string
ApiCardProgramSpendingRestrictionsInterval Time interval to apply limit to.
const ( ApiCardProgramSpendingRestrictionsIntervalANNUAL ApiCardProgramSpendingRestrictionsInterval = "ANNUAL" ApiCardProgramSpendingRestrictionsIntervalDAILY ApiCardProgramSpendingRestrictionsInterval = "DAILY" ApiCardProgramSpendingRestrictionsIntervalMONTHLY ApiCardProgramSpendingRestrictionsInterval = "MONTHLY" ApiCardProgramSpendingRestrictionsIntervalQUARTERLY ApiCardProgramSpendingRestrictionsInterval = "QUARTERLY" ApiCardProgramSpendingRestrictionsIntervalTERTIARY ApiCardProgramSpendingRestrictionsInterval = "TERTIARY" ApiCardProgramSpendingRestrictionsIntervalTOTAL ApiCardProgramSpendingRestrictionsInterval = "TOTAL" ApiCardProgramSpendingRestrictionsIntervalWEEKLY ApiCardProgramSpendingRestrictionsInterval = "WEEKLY" ApiCardProgramSpendingRestrictionsIntervalYEARLY ApiCardProgramSpendingRestrictionsInterval = "YEARLY" )
Defines values for ApiCardProgramSpendingRestrictionsInterval.
type ApiCardRequestBody ¶
type ApiCardRequestBody struct { // CardProgramId Alternative method to create a card using a card program. If this value is given, no other attributes (other than idempotency_key) may be given. CardProgramId *openapi_types.UUID `json:"card_program_id,omitempty"` // DisplayName Cosmetic display name of the card. DisplayName *string `json:"display_name,omitempty"` // Fulfillment Details for shipping physical cards. Fulfillment *CardFulfillmentRequestBody `json:"fulfillment,omitempty"` // IdempotencyKey An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey string `json:"idempotency_key"` // IsPhysical Set to true to create a physical card IsPhysical *bool `json:"is_physical,omitempty"` // IsTemporary Set to true to create a temporary card IsTemporary *bool `json:"is_temporary,omitempty"` // SpendingRestrictions Specifies the spend restrictions on a Ramp card. SpendingRestrictions *ApiCardSpendingRestrictionsRequestBody `json:"spending_restrictions,omitempty"` // UserId Unique identifier of the card owner. UserId openapi_types.UUID `json:"user_id"` }
ApiCardRequestBody defines model for ApiCardRequestBody.
type ApiCardSpendingRestrictionsDump ¶
type ApiCardSpendingRestrictionsDump struct { // Amount Amount limit total per interval. Amount *float32 `json:"amount,omitempty"` // AutoLockDate Date to automatically lock the card. AutoLockDate *time.Time `json:"auto_lock_date,omitempty"` // BlockedCategories List of Ramp Category Codes blocked for this card. BlockedCategories *[]int `json:"blocked_categories,omitempty"` // Categories List of Ramp Category Codes this card is restricted to. Categories *[]int `json:"categories,omitempty"` // Interval Time interval to apply limit to. Interval *ApiCardSpendingRestrictionsDumpInterval `json:"interval,omitempty"` Suspended *bool `json:"suspended,omitempty"` // TransactionAmountLimit Max amount limit per transaction. TransactionAmountLimit *float32 `json:"transaction_amount_limit,omitempty"` }
ApiCardSpendingRestrictionsDump defines model for ApiCardSpendingRestrictionsDump.
type ApiCardSpendingRestrictionsDumpInterval ¶
type ApiCardSpendingRestrictionsDumpInterval string
ApiCardSpendingRestrictionsDumpInterval Time interval to apply limit to.
const ( ApiCardSpendingRestrictionsDumpIntervalANNUAL ApiCardSpendingRestrictionsDumpInterval = "ANNUAL" ApiCardSpendingRestrictionsDumpIntervalDAILY ApiCardSpendingRestrictionsDumpInterval = "DAILY" ApiCardSpendingRestrictionsDumpIntervalMONTHLY ApiCardSpendingRestrictionsDumpInterval = "MONTHLY" ApiCardSpendingRestrictionsDumpIntervalQUARTERLY ApiCardSpendingRestrictionsDumpInterval = "QUARTERLY" ApiCardSpendingRestrictionsDumpIntervalTERTIARY ApiCardSpendingRestrictionsDumpInterval = "TERTIARY" ApiCardSpendingRestrictionsDumpIntervalTOTAL ApiCardSpendingRestrictionsDumpInterval = "TOTAL" ApiCardSpendingRestrictionsDumpIntervalWEEKLY ApiCardSpendingRestrictionsDumpInterval = "WEEKLY" ApiCardSpendingRestrictionsDumpIntervalYEARLY ApiCardSpendingRestrictionsDumpInterval = "YEARLY" )
Defines values for ApiCardSpendingRestrictionsDumpInterval.
type ApiCardSpendingRestrictionsRequestBody ¶
type ApiCardSpendingRestrictionsRequestBody struct { // Amount Amount limit total per interval. Amount ApiCardSpendingRestrictionsRequestBody_Amount `json:"amount"` BlockedMccCodes *[]string `json:"blocked_mcc_codes,omitempty"` CardAccountingRules *[]ApiCardAccountingRulesDataRequestBody `json:"card_accounting_rules,omitempty"` // Categories List of Ramp Category Codes this card is restricted to. Categories *[]int `json:"categories,omitempty"` CategoriesBlacklist *[]int `json:"categories_blacklist,omitempty"` CategoriesWhitelist *[]int `json:"categories_whitelist,omitempty"` // Currency Currency in which the amount is specified. Currency *string `json:"currency,omitempty"` // Interval Time interval to apply limit to. Interval ApiCardSpendingRestrictionsRequestBodyInterval `json:"interval"` // LockDate Date to automatically lock the card. If lock date has passed, set to a future date or to null to unlock the card. LockDate *time.Time `json:"lock_date,omitempty"` PolicyId *string `json:"policy_id,omitempty"` // TransactionAmountLimit Max amount limit per transaction. TransactionAmountLimit *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit `json:"transaction_amount_limit,omitempty"` VendorBlacklist *[]openapi_types.UUID `json:"vendor_blacklist,omitempty"` VendorWhitelist *[]openapi_types.UUID `json:"vendor_whitelist,omitempty"` }
ApiCardSpendingRestrictionsRequestBody defines model for ApiCardSpendingRestrictionsRequestBody.
type ApiCardSpendingRestrictionsRequestBodyAmount0 ¶
type ApiCardSpendingRestrictionsRequestBodyAmount0 = string
ApiCardSpendingRestrictionsRequestBodyAmount0 defines model for .
type ApiCardSpendingRestrictionsRequestBodyAmount1 ¶
type ApiCardSpendingRestrictionsRequestBodyAmount1 = float32
ApiCardSpendingRestrictionsRequestBodyAmount1 defines model for .
type ApiCardSpendingRestrictionsRequestBodyInterval ¶
type ApiCardSpendingRestrictionsRequestBodyInterval string
ApiCardSpendingRestrictionsRequestBodyInterval Time interval to apply limit to.
const ( ApiCardSpendingRestrictionsRequestBodyIntervalANNUAL ApiCardSpendingRestrictionsRequestBodyInterval = "ANNUAL" ApiCardSpendingRestrictionsRequestBodyIntervalDAILY ApiCardSpendingRestrictionsRequestBodyInterval = "DAILY" ApiCardSpendingRestrictionsRequestBodyIntervalMONTHLY ApiCardSpendingRestrictionsRequestBodyInterval = "MONTHLY" ApiCardSpendingRestrictionsRequestBodyIntervalQUARTERLY ApiCardSpendingRestrictionsRequestBodyInterval = "QUARTERLY" ApiCardSpendingRestrictionsRequestBodyIntervalTERTIARY ApiCardSpendingRestrictionsRequestBodyInterval = "TERTIARY" ApiCardSpendingRestrictionsRequestBodyIntervalTOTAL ApiCardSpendingRestrictionsRequestBodyInterval = "TOTAL" ApiCardSpendingRestrictionsRequestBodyIntervalWEEKLY ApiCardSpendingRestrictionsRequestBodyInterval = "WEEKLY" ApiCardSpendingRestrictionsRequestBodyIntervalYEARLY ApiCardSpendingRestrictionsRequestBodyInterval = "YEARLY" )
Defines values for ApiCardSpendingRestrictionsRequestBodyInterval.
type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 ¶
type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 = string
ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 defines model for .
type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 ¶
type ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 = float32
ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 defines model for .
type ApiCardSpendingRestrictionsRequestBody_Amount ¶
type ApiCardSpendingRestrictionsRequestBody_Amount struct {
// contains filtered or unexported fields
}
ApiCardSpendingRestrictionsRequestBody_Amount Amount limit total per interval.
func (ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount0 ¶
func (t ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount0() (ApiCardSpendingRestrictionsRequestBodyAmount0, error)
AsApiCardSpendingRestrictionsRequestBodyAmount0 returns the union data inside the ApiCardSpendingRestrictionsRequestBody_Amount as a ApiCardSpendingRestrictionsRequestBodyAmount0
func (ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount1 ¶
func (t ApiCardSpendingRestrictionsRequestBody_Amount) AsApiCardSpendingRestrictionsRequestBodyAmount1() (ApiCardSpendingRestrictionsRequestBodyAmount1, error)
AsApiCardSpendingRestrictionsRequestBodyAmount1 returns the union data inside the ApiCardSpendingRestrictionsRequestBody_Amount as a ApiCardSpendingRestrictionsRequestBodyAmount1
func (*ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount0 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount0(v ApiCardSpendingRestrictionsRequestBodyAmount0) error
FromApiCardSpendingRestrictionsRequestBodyAmount0 overwrites any union data inside the ApiCardSpendingRestrictionsRequestBody_Amount as the provided ApiCardSpendingRestrictionsRequestBodyAmount0
func (*ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount1 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_Amount) FromApiCardSpendingRestrictionsRequestBodyAmount1(v ApiCardSpendingRestrictionsRequestBodyAmount1) error
FromApiCardSpendingRestrictionsRequestBodyAmount1 overwrites any union data inside the ApiCardSpendingRestrictionsRequestBody_Amount as the provided ApiCardSpendingRestrictionsRequestBodyAmount1
func (ApiCardSpendingRestrictionsRequestBody_Amount) MarshalJSON ¶
func (t ApiCardSpendingRestrictionsRequestBody_Amount) MarshalJSON() ([]byte, error)
func (*ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount0 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount0(v ApiCardSpendingRestrictionsRequestBodyAmount0) error
MergeApiCardSpendingRestrictionsRequestBodyAmount0 performs a merge with any union data inside the ApiCardSpendingRestrictionsRequestBody_Amount, using the provided ApiCardSpendingRestrictionsRequestBodyAmount0
func (*ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount1 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_Amount) MergeApiCardSpendingRestrictionsRequestBodyAmount1(v ApiCardSpendingRestrictionsRequestBodyAmount1) error
MergeApiCardSpendingRestrictionsRequestBodyAmount1 performs a merge with any union data inside the ApiCardSpendingRestrictionsRequestBody_Amount, using the provided ApiCardSpendingRestrictionsRequestBodyAmount1
func (*ApiCardSpendingRestrictionsRequestBody_Amount) UnmarshalJSON ¶
func (t *ApiCardSpendingRestrictionsRequestBody_Amount) UnmarshalJSON(b []byte) error
type ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit ¶
type ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit struct {
// contains filtered or unexported fields
}
ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit Max amount limit per transaction.
func (ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 ¶
func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0() (ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0, error)
AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 returns the union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit as a ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0
func (ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 ¶
func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1() (ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1, error)
AsApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 returns the union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit as a ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1
func (*ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0) error
FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 overwrites any union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit as the provided ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0
func (*ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1) error
FromApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 overwrites any union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit as the provided ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1
func (ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MarshalJSON ¶
func (t ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MarshalJSON() ([]byte, error)
func (*ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0) error
MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0 performs a merge with any union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit, using the provided ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit0
func (*ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 ¶
func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1) error
MergeApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1 performs a merge with any union data inside the ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit, using the provided ApiCardSpendingRestrictionsRequestBodyTransactionAmountLimit1
func (*ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) UnmarshalJSON ¶
func (t *ApiCardSpendingRestrictionsRequestBody_TransactionAmountLimit) UnmarshalJSON(b []byte) error
type ApiCardSpendingRestrictionsUpdateRequestBody ¶
type ApiCardSpendingRestrictionsUpdateRequestBody struct { // Amount Amount limit total per interval. Amount *ApiCardSpendingRestrictionsUpdateRequestBody_Amount `json:"amount,omitempty"` BlockedMccCodes *[]string `json:"blocked_mcc_codes,omitempty"` CardAccountingRules *[]ApiCardAccountingRulesDataRequestBody `json:"card_accounting_rules,omitempty"` // Categories List of Ramp Category Codes this card is restricted to. Categories *[]int `json:"categories,omitempty"` CategoriesBlacklist *[]int `json:"categories_blacklist,omitempty"` CategoriesWhitelist *[]int `json:"categories_whitelist,omitempty"` // Currency Currency in which the amount is specified. Currency *string `json:"currency,omitempty"` // Interval Time interval to apply limit to. Interval *ApiCardSpendingRestrictionsUpdateRequestBodyInterval `json:"interval,omitempty"` // LockDate Date to automatically lock the card. If lock date has passed, set to a future date or to null to unlock the card. LockDate *time.Time `json:"lock_date"` PolicyId *string `json:"policy_id,omitempty"` // TransactionAmountLimit Max amount limit per transaction. TransactionAmountLimit *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit `json:"transaction_amount_limit,omitempty"` VendorBlacklist *[]openapi_types.UUID `json:"vendor_blacklist,omitempty"` VendorWhitelist *[]openapi_types.UUID `json:"vendor_whitelist,omitempty"` }
ApiCardSpendingRestrictionsUpdateRequestBody defines model for ApiCardSpendingRestrictionsUpdateRequestBody.
type ApiCardSpendingRestrictionsUpdateRequestBodyAmount0 ¶
type ApiCardSpendingRestrictionsUpdateRequestBodyAmount0 = string
ApiCardSpendingRestrictionsUpdateRequestBodyAmount0 defines model for .
type ApiCardSpendingRestrictionsUpdateRequestBodyAmount1 ¶
type ApiCardSpendingRestrictionsUpdateRequestBodyAmount1 = float32
ApiCardSpendingRestrictionsUpdateRequestBodyAmount1 defines model for .
type ApiCardSpendingRestrictionsUpdateRequestBodyInterval ¶
type ApiCardSpendingRestrictionsUpdateRequestBodyInterval string
ApiCardSpendingRestrictionsUpdateRequestBodyInterval Time interval to apply limit to.
const ( ApiCardSpendingRestrictionsUpdateRequestBodyIntervalANNUAL ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "ANNUAL" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalDAILY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "DAILY" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalMONTHLY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "MONTHLY" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalQUARTERLY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "QUARTERLY" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalTERTIARY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "TERTIARY" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalTOTAL ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "TOTAL" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalWEEKLY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "WEEKLY" ApiCardSpendingRestrictionsUpdateRequestBodyIntervalYEARLY ApiCardSpendingRestrictionsUpdateRequestBodyInterval = "YEARLY" )
Defines values for ApiCardSpendingRestrictionsUpdateRequestBodyInterval.
type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 ¶
type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 = string
ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 defines model for .
type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 ¶
type ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 = float32
ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 defines model for .
type ApiCardSpendingRestrictionsUpdateRequestBody_Amount ¶
type ApiCardSpendingRestrictionsUpdateRequestBody_Amount struct {
// contains filtered or unexported fields
}
ApiCardSpendingRestrictionsUpdateRequestBody_Amount Amount limit total per interval.
func (ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount0 ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount0() (ApiCardSpendingRestrictionsUpdateRequestBodyAmount0, error)
AsApiCardSpendingRestrictionsUpdateRequestBodyAmount0 returns the union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount as a ApiCardSpendingRestrictionsUpdateRequestBodyAmount0
func (ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount1 ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) AsApiCardSpendingRestrictionsUpdateRequestBodyAmount1() (ApiCardSpendingRestrictionsUpdateRequestBodyAmount1, error)
AsApiCardSpendingRestrictionsUpdateRequestBodyAmount1 returns the union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount as a ApiCardSpendingRestrictionsUpdateRequestBodyAmount1
func (*ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount0 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount0(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount0) error
FromApiCardSpendingRestrictionsUpdateRequestBodyAmount0 overwrites any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount as the provided ApiCardSpendingRestrictionsUpdateRequestBodyAmount0
func (*ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount1 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) FromApiCardSpendingRestrictionsUpdateRequestBodyAmount1(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount1) error
FromApiCardSpendingRestrictionsUpdateRequestBodyAmount1 overwrites any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount as the provided ApiCardSpendingRestrictionsUpdateRequestBodyAmount1
func (ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MarshalJSON ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MarshalJSON() ([]byte, error)
func (*ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount0 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount0(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount0) error
MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount0 performs a merge with any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount, using the provided ApiCardSpendingRestrictionsUpdateRequestBodyAmount0
func (*ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount1 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount1(v ApiCardSpendingRestrictionsUpdateRequestBodyAmount1) error
MergeApiCardSpendingRestrictionsUpdateRequestBodyAmount1 performs a merge with any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_Amount, using the provided ApiCardSpendingRestrictionsUpdateRequestBodyAmount1
func (*ApiCardSpendingRestrictionsUpdateRequestBody_Amount) UnmarshalJSON ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_Amount) UnmarshalJSON(b []byte) error
type ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit ¶
type ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit struct {
// contains filtered or unexported fields
}
ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit Max amount limit per transaction.
func (ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0() (ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0, error)
AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 returns the union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit as a ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0
func (ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1() (ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1, error)
AsApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 returns the union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit as a ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1
func (*ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0) error
FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 overwrites any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit as the provided ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0
func (*ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1) error
FromApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 overwrites any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit as the provided ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1
func (ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MarshalJSON ¶
func (t ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MarshalJSON() ([]byte, error)
func (*ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0) error
MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0 performs a merge with any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit, using the provided ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit0
func (*ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1(v ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1) error
MergeApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1 performs a merge with any union data inside the ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit, using the provided ApiCardSpendingRestrictionsUpdateRequestBodyTransactionAmountLimit1
func (*ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) UnmarshalJSON ¶
func (t *ApiCardSpendingRestrictionsUpdateRequestBody_TransactionAmountLimit) UnmarshalJSON(b []byte) error
type ApiCardUpdateRequestBody ¶
type ApiCardUpdateRequestBody struct { // CardProgramId Specify a card program to link with. // This will override the card's spending restrictions with those of the card program. // Pass card_program_id = None to detach the card's current card program. // // If the card_program_id field is specified, then the card program's changes will override any other changes. // For example, if both spending_restrictions and card_program_id are passed, then the new spending restrictions // will match those of the card program (not the passed spending restrictions). // CardProgramId *openapi_types.UUID `json:"card_program_id"` // DisplayName Cosmetic display name of the card. DisplayName *string `json:"display_name,omitempty"` // HasNotificationsEnabled Flag to set to enable or disable notifications. HasNotificationsEnabled *bool `json:"has_notifications_enabled,omitempty"` // NewUserId Specify id for new card owner. NewUserId *openapi_types.UUID `json:"new_user_id"` // SpendingRestrictions Modify spending restrictions. Only the fields to be modified need to be passed (so fields that will stay the same do not have to be passed). SpendingRestrictions *ApiCardSpendingRestrictionsUpdateRequestBody `json:"spending_restrictions,omitempty"` }
ApiCardUpdateRequestBody defines model for ApiCardUpdateRequestBody.
type ApiDepartmentCreateRequestBody ¶
type ApiDepartmentCreateRequestBody struct {
Name string `json:"name"`
}
ApiDepartmentCreateRequestBody defines model for ApiDepartmentCreateRequestBody.
type ApiDepartmentUpdateRequestBody ¶
type ApiDepartmentUpdateRequestBody struct { Id openapi_types.UUID `json:"id"` Name string `json:"name"` }
ApiDepartmentUpdateRequestBody defines model for ApiDepartmentUpdateRequestBody.
type ApiLocationCreateRequestBody ¶
type ApiLocationCreateRequestBody struct {
Name string `json:"name"`
}
ApiLocationCreateRequestBody defines model for ApiLocationCreateRequestBody.
type ApiLocationUpdateRequestBody ¶
type ApiLocationUpdateRequestBody struct {
Name string `json:"name"`
}
ApiLocationUpdateRequestBody defines model for ApiLocationUpdateRequestBody.
type ApiPermittedSpendTypesDump ¶
type ApiPermittedSpendTypesDump struct { // PrimaryCardEnabled Indicates whether the user's physical card can be linked to this limit. PrimaryCardEnabled bool `json:"primary_card_enabled"` // ReimbursementsEnabled Indicates whether reimbursements can be submitted against this limit. ReimbursementsEnabled bool `json:"reimbursements_enabled"` }
ApiPermittedSpendTypesDump defines model for ApiPermittedSpendTypesDump.
type ApiPermittedSpendTypesRequestBody ¶
type ApiPermittedSpendTypesRequestBody struct { // PrimaryCardEnabled Dictates whether the user's physical card can be linked to this limit. PrimaryCardEnabled bool `json:"primary_card_enabled"` // ReimbursementsEnabled Dictates whether reimbursements can be submitted against this limit. ReimbursementsEnabled bool `json:"reimbursements_enabled"` }
ApiPermittedSpendTypesRequestBody defines model for ApiPermittedSpendTypesRequestBody.
type ApiReceiptIntegrationOptedOutEmailCreateRequestBody ¶
type ApiReceiptIntegrationOptedOutEmailCreateRequestBody struct { BusinessId int `json:"business_id"` Email string `json:"email"` }
ApiReceiptIntegrationOptedOutEmailCreateRequestBody defines model for ApiReceiptIntegrationOptedOutEmailCreateRequestBody.
type ApiReceiptIntegrationOptedOutEmailResource ¶
type ApiReceiptIntegrationOptedOutEmailResource struct { Email *openapi_types.Email `json:"email,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` }
ApiReceiptIntegrationOptedOutEmailResource defines model for ApiReceiptIntegrationOptedOutEmailResource.
type ApiReceiptIntegrationOptedOutEmailResourceRequestBody ¶
type ApiReceiptIntegrationOptedOutEmailResourceRequestBody struct { Email *openapi_types.Email `json:"email,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` }
ApiReceiptIntegrationOptedOutEmailResourceRequestBody defines model for ApiReceiptIntegrationOptedOutEmailResourceRequestBody.
type ApiReimbursementAccountingCategoryInfo ¶
type ApiReimbursementAccountingCategoryInfo struct { // ExternalId external id of accounting field; It should uniquely identify an accounting field on the client end. ExternalId *string `json:"external_id,omitempty"` // Id ID that uniquely identifies an accounting field within Ramp Id *string `json:"id,omitempty"` // Name name of accounting field Name *string `json:"name,omitempty"` // Type accounting field type Type *ApiReimbursementAccountingCategoryInfoType `json:"type,omitempty"` }
ApiReimbursementAccountingCategoryInfo defines model for ApiReimbursementAccountingCategoryInfo.
type ApiReimbursementAccountingCategoryInfoType ¶
type ApiReimbursementAccountingCategoryInfoType string
ApiReimbursementAccountingCategoryInfoType accounting field type
const ( ApiReimbursementAccountingCategoryInfoTypeAMORTIZATIONTEMPLATE ApiReimbursementAccountingCategoryInfoType = "AMORTIZATION_TEMPLATE" ApiReimbursementAccountingCategoryInfoTypeBILLABLE ApiReimbursementAccountingCategoryInfoType = "BILLABLE" ApiReimbursementAccountingCategoryInfoTypeCUSTOMERSJOBS ApiReimbursementAccountingCategoryInfoType = "CUSTOMERS_JOBS" ApiReimbursementAccountingCategoryInfoTypeGLACCOUNT ApiReimbursementAccountingCategoryInfoType = "GL_ACCOUNT" ApiReimbursementAccountingCategoryInfoTypeINVENTORYITEM ApiReimbursementAccountingCategoryInfoType = "INVENTORY_ITEM" ApiReimbursementAccountingCategoryInfoTypeMERCHANT ApiReimbursementAccountingCategoryInfoType = "MERCHANT" ApiReimbursementAccountingCategoryInfoTypeOTHER ApiReimbursementAccountingCategoryInfoType = "OTHER" ApiReimbursementAccountingCategoryInfoTypeSUBSIDIARY ApiReimbursementAccountingCategoryInfoType = "SUBSIDIARY" ApiReimbursementAccountingCategoryInfoTypeTAXCODE ApiReimbursementAccountingCategoryInfoType = "TAX_CODE" )
Defines values for ApiReimbursementAccountingCategoryInfoType.
type ApiReimbursementAccountingFieldSelection ¶
type ApiReimbursementAccountingFieldSelection struct { // CategoryInfo information about the accounting category (or accounting field). CategoryInfo *ApiReimbursementAccountingCategoryInfo `json:"category_info,omitempty"` // ExternalId external id of accounting field option; It should uniquely identify an accounting field option on the client end. ExternalId *string `json:"external_id,omitempty"` // Id ID that uniquely identifies an accounting field option within Ramp Id *string `json:"id,omitempty"` // Name name of accounting field option Name *string `json:"name,omitempty"` // Type Accounting field type Type *ApiReimbursementAccountingFieldSelectionType `json:"type,omitempty"` }
ApiReimbursementAccountingFieldSelection defines model for ApiReimbursementAccountingFieldSelection.
type ApiReimbursementAccountingFieldSelectionType ¶
type ApiReimbursementAccountingFieldSelectionType string
ApiReimbursementAccountingFieldSelectionType Accounting field type
const ( ApiReimbursementAccountingFieldSelectionTypeAMORTIZATIONTEMPLATE ApiReimbursementAccountingFieldSelectionType = "AMORTIZATION_TEMPLATE" ApiReimbursementAccountingFieldSelectionTypeBILLABLE ApiReimbursementAccountingFieldSelectionType = "BILLABLE" ApiReimbursementAccountingFieldSelectionTypeCUSTOMERSJOBS ApiReimbursementAccountingFieldSelectionType = "CUSTOMERS_JOBS" ApiReimbursementAccountingFieldSelectionTypeGLACCOUNT ApiReimbursementAccountingFieldSelectionType = "GL_ACCOUNT" ApiReimbursementAccountingFieldSelectionTypeINVENTORYITEM ApiReimbursementAccountingFieldSelectionType = "INVENTORY_ITEM" ApiReimbursementAccountingFieldSelectionTypeMERCHANT ApiReimbursementAccountingFieldSelectionType = "MERCHANT" ApiReimbursementAccountingFieldSelectionTypeOTHER ApiReimbursementAccountingFieldSelectionType = "OTHER" ApiReimbursementAccountingFieldSelectionTypeSUBSIDIARY ApiReimbursementAccountingFieldSelectionType = "SUBSIDIARY" ApiReimbursementAccountingFieldSelectionTypeTAXCODE ApiReimbursementAccountingFieldSelectionType = "TAX_CODE" )
Defines values for ApiReimbursementAccountingFieldSelectionType.
type ApiReimbursementLineItem ¶
type ApiReimbursementLineItem struct { // AccountingFieldSelections List of accounting field options selected to code the line item. AccountingFieldSelections *[]ApiReimbursementAccountingFieldSelection `json:"accounting_field_selections,omitempty"` // Amount Amount of the line item Amount *CurrencyAmount `json:"amount"` }
ApiReimbursementLineItem defines model for ApiReimbursementLineItem.
type ApiSalesLeadBusinessDump ¶
type ApiSalesLeadBusinessDump struct { // BusinessDescription A short description of the business. BusinessDescription *string `json:"business_description,omitempty"` // BusinessNameDba Doing business as (DBA) BusinessNameDba *string `json:"business_name_dba,omitempty"` // BusinessNameLegal Legal name of the business. BusinessNameLegal *string `json:"business_name_legal,omitempty"` // BusinessNameWebsite Business's website. BusinessNameWebsite *string `json:"business_name_website,omitempty"` // DateOfIncorporation Business's incorporation date. DateOfIncorporation *openapi_types.Date `json:"date_of_incorporation,omitempty"` // EinNumber Employer Identification Number (EIN). EinNumber *string `json:"ein_number,omitempty"` // EntityType Type of incorporation. EntityType *ApiSalesLeadBusinessDumpEntityType `json:"entity_type,omitempty"` // EstimatedMonthlySpend Estimated monthly spend. EstimatedMonthlySpend *string `json:"estimated_monthly_spend,omitempty"` // Industry Business's industry Industry *string `json:"industry,omitempty"` // IndustryGroup Business's industry group IndustryGroup *string `json:"industry_group,omitempty"` // OfficeAddress Office's address. OfficeAddress *ApiSalesLeadOfficeAddress `json:"office_address,omitempty"` // OfficePhoneNumber Office phone number. Must include country code. OfficePhoneNumber *string `json:"office_phone_number,omitempty"` // Sector Business's sector Sector *string `json:"sector,omitempty"` // StateOfIncorporation The state in which the business is incorporated. StateOfIncorporation *string `json:"state_of_incorporation,omitempty"` SubIndustry *string `json:"sub_industry,omitempty"` }
ApiSalesLeadBusinessDump defines model for ApiSalesLeadBusinessDump.
type ApiSalesLeadBusinessDumpEntityType ¶
type ApiSalesLeadBusinessDumpEntityType string
ApiSalesLeadBusinessDumpEntityType Type of incorporation.
const ( ApiSalesLeadBusinessDumpEntityTypeCOOPERATIVE ApiSalesLeadBusinessDumpEntityType = "COOPERATIVE" ApiSalesLeadBusinessDumpEntityTypeCORPORATION ApiSalesLeadBusinessDumpEntityType = "CORPORATION" ApiSalesLeadBusinessDumpEntityTypeLLC ApiSalesLeadBusinessDumpEntityType = "LLC" ApiSalesLeadBusinessDumpEntityTypeOTHER ApiSalesLeadBusinessDumpEntityType = "OTHER" ApiSalesLeadBusinessDumpEntityTypePARTNERSHIP ApiSalesLeadBusinessDumpEntityType = "PARTNERSHIP" ApiSalesLeadBusinessDumpEntityTypeSOLEPROPRIETORSHIP ApiSalesLeadBusinessDumpEntityType = "SOLE_PROPRIETORSHIP" )
Defines values for ApiSalesLeadBusinessDumpEntityType.
type ApiSalesLeadBusinessRequestBody ¶
type ApiSalesLeadBusinessRequestBody struct { // BusinessDescription A short description of the business. BusinessDescription *string `json:"business_description,omitempty"` // BusinessNameDba Doing business as (DBA) BusinessNameDba string `json:"business_name_dba"` // BusinessNameLegal Legal name of the business. BusinessNameLegal string `json:"business_name_legal"` // BusinessNameWebsite Business's website. BusinessNameWebsite *string `json:"business_name_website,omitempty"` // DateOfIncorporation Business's incorporation date. DateOfIncorporation *openapi_types.Date `json:"date_of_incorporation,omitempty"` // EinNumber Employer Identification Number (EIN). EinNumber *string `json:"ein_number,omitempty"` // EntityType Type of incorporation. EntityType *ApiSalesLeadBusinessRequestBodyEntityType `json:"entity_type,omitempty"` // EstimatedMonthlySpend Estimated monthly spend. EstimatedMonthlySpend *string `json:"estimated_monthly_spend,omitempty"` // Industry Business's industry Industry *string `json:"industry,omitempty"` // IndustryGroup Business's industry group IndustryGroup *string `json:"industry_group,omitempty"` // OfficeAddress Office's address. OfficeAddress *ApiSalesLeadOfficeAddressRequestBody `json:"office_address,omitempty"` // OfficePhoneNumber Office phone number. Must include country code. OfficePhoneNumber *string `json:"office_phone_number,omitempty"` // Sector Business's sector Sector *string `json:"sector,omitempty"` // StateOfIncorporation The state in which the business is incorporated. StateOfIncorporation *string `json:"state_of_incorporation,omitempty"` // SubIndustry Business's subindustry SubIndustry *string `json:"sub_industry,omitempty"` }
ApiSalesLeadBusinessRequestBody defines model for ApiSalesLeadBusinessRequestBody.
type ApiSalesLeadBusinessRequestBodyEntityType ¶
type ApiSalesLeadBusinessRequestBodyEntityType string
ApiSalesLeadBusinessRequestBodyEntityType Type of incorporation.
const ( ApiSalesLeadBusinessRequestBodyEntityTypeCOOPERATIVE ApiSalesLeadBusinessRequestBodyEntityType = "COOPERATIVE" ApiSalesLeadBusinessRequestBodyEntityTypeCORPORATION ApiSalesLeadBusinessRequestBodyEntityType = "CORPORATION" ApiSalesLeadBusinessRequestBodyEntityTypeLLC ApiSalesLeadBusinessRequestBodyEntityType = "LLC" ApiSalesLeadBusinessRequestBodyEntityTypeOTHER ApiSalesLeadBusinessRequestBodyEntityType = "OTHER" ApiSalesLeadBusinessRequestBodyEntityTypePARTNERSHIP ApiSalesLeadBusinessRequestBodyEntityType = "PARTNERSHIP" ApiSalesLeadBusinessRequestBodyEntityTypeSOLEPROPRIETORSHIP ApiSalesLeadBusinessRequestBodyEntityType = "SOLE_PROPRIETORSHIP" )
Defines values for ApiSalesLeadBusinessRequestBodyEntityType.
type ApiSalesLeadCreateRequestBody ¶
type ApiSalesLeadCreateRequestBody struct { BusinessInfo *ApiSalesLeadBusinessRequestBody `json:"business_info,omitempty"` Email string `json:"email"` ExternalId string `json:"external_id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Phone *string `json:"phone,omitempty"` RedirectUri string `json:"redirect_uri"` Source ApiSalesLeadCreateRequestBodySource `json:"source"` State string `json:"state"` }
ApiSalesLeadCreateRequestBody defines model for ApiSalesLeadCreateRequestBody.
type ApiSalesLeadCreateRequestBodySource ¶
type ApiSalesLeadCreateRequestBodySource string
ApiSalesLeadCreateRequestBodySource defines model for ApiSalesLeadCreateRequestBody.Source.
const (
ApiSalesLeadCreateRequestBodySourceAngelList ApiSalesLeadCreateRequestBodySource = "AngelList"
)
Defines values for ApiSalesLeadCreateRequestBodySource.
type ApiSalesLeadOfficeAddress ¶
type ApiSalesLeadOfficeAddress struct { OfficeAptSuite *string `json:"office_apt_suite,omitempty"` OfficeCity *string `json:"office_city,omitempty"` OfficeCountry *string `json:"office_country,omitempty"` OfficePostalCode *string `json:"office_postal_code,omitempty"` OfficeState *string `json:"office_state,omitempty"` OfficeStreetAddress *string `json:"office_street_address,omitempty"` }
ApiSalesLeadOfficeAddress defines model for ApiSalesLeadOfficeAddress.
type ApiSalesLeadOfficeAddressRequestBody ¶
type ApiSalesLeadOfficeAddressRequestBody struct { OfficeAptSuite *string `json:"office_apt_suite,omitempty"` OfficeCity *string `json:"office_city,omitempty"` OfficeCountry *string `json:"office_country,omitempty"` OfficePostalCode *string `json:"office_postal_code,omitempty"` OfficeState *string `json:"office_state,omitempty"` OfficeStreetAddress *string `json:"office_street_address,omitempty"` }
ApiSalesLeadOfficeAddressRequestBody defines model for ApiSalesLeadOfficeAddressRequestBody.
type ApiSpendAllocationBalance ¶
type ApiSpendAllocationBalance struct { // Cleared Cleared amount on this limit. Cleared *CurrencyAmount `json:"cleared,omitempty"` // Pending Pending amount towards this limit. Pending *CurrencyAmount `json:"pending,omitempty"` // Total Total amount spent on this limit. Total *CurrencyAmount `json:"total,omitempty"` }
ApiSpendAllocationBalance defines model for ApiSpendAllocationBalance.
type ApiSpendLimitCardResource ¶
type ApiSpendLimitCardResource struct { // CardId Unique identifier of the card. CardId *openapi_types.UUID `json:"card_id,omitempty"` // IsApCard Card created manually by Ramp for high velocity spend IsApCard bool `json:"is_ap_card"` // ViaNewProductOrService Card created by 'New Product or Service' option ViaNewProductOrService bool `json:"via_new_product_or_service"` }
ApiSpendLimitCardResource defines model for ApiSpendLimitCardResource.
type ApiSpendLimitCreateRequestBody ¶
type ApiSpendLimitCreateRequestBody struct { // DisplayName Cosmetic display name of the limit. DisplayName *string `json:"display_name,omitempty"` // Fulfillment Fulfillment details of the limit's card. Fulfillment *CardFulfillmentRequestBody `json:"fulfillment,omitempty"` // IdempotencyKey An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey string `json:"idempotency_key"` // PermittedSpendTypes Specifies the permitted spend types. PermittedSpendTypes *ApiPermittedSpendTypesRequestBody `json:"permitted_spend_types,omitempty"` // SpendProgramId The id of the associated spend program. SpendProgramId *openapi_types.UUID `json:"spend_program_id,omitempty"` // SpendingRestrictions Specifies the spending restrictions. SpendingRestrictions *ApiSpendingRestrictionsRequestBody `json:"spending_restrictions,omitempty"` // UserId Unique identifier of the limit owner. UserId openapi_types.UUID `json:"user_id"` }
ApiSpendLimitCreateRequestBody defines model for ApiSpendLimitCreateRequestBody.
type ApiSpendLimitDeferredTaskData ¶
type ApiSpendLimitDeferredTaskData struct { // Error An error message if the deferred task fails. Error *string `json:"error,omitempty"` // SpendLimitId Unique identifier of the subject limit in the deferred task. SpendLimitId *openapi_types.UUID `json:"spend_limit_id,omitempty"` }
ApiSpendLimitDeferredTaskData defines model for ApiSpendLimitDeferredTaskData.
type ApiSpendLimitDeferredUpdateRequestBody ¶
type ApiSpendLimitDeferredUpdateRequestBody struct { // IdempotencyKey An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey string `json:"idempotency_key"` }
ApiSpendLimitDeferredUpdateRequestBody defines model for ApiSpendLimitDeferredUpdateRequestBody.
type ApiSpendLimitMember ¶
type ApiSpendLimitMember struct { // UserId The unique identifier of the limit owner. UserId *openapi_types.UUID `json:"user_id,omitempty"` }
ApiSpendLimitMember defines model for ApiSpendLimitMember.
type ApiSpendProgramCreateIssuanceRulesRequestBody ¶
type ApiSpendProgramCreateIssuanceRulesRequestBody struct { // Automatic Set of rules for having spend programs issued by default to users Automatic *ApiSpendProgramIssuanceRulesRequestBody `json:"automatic"` // Requestable Set of rules for users requesting spend programs. Requestable *ApiSpendProgramIssuanceRulesRequestBody `json:"requestable"` }
ApiSpendProgramCreateIssuanceRulesRequestBody defines model for ApiSpendProgramCreateIssuanceRulesRequestBody.
type ApiSpendProgramCreateRequestBody ¶
type ApiSpendProgramCreateRequestBody struct { // Description Description of the spend program. Description string `json:"description"` // DisplayName Display name of the spend program. DisplayName string `json:"display_name"` // Icon The template icon for the spend program. Icon ApiSpendProgramCreateRequestBodyIcon `json:"icon"` // IssuanceRules Spend Program Issuance Rules can be set for requests or default issuance of Limits from a program. Set whether a program is requestable or issued by default for a given set of users and their attributes (department, locations, and custom fields). If you'd like to give these permissions to all employees, you can set `applies_to_all` to `True`. Feel free to ignore this if you don't want any custom requestability or issuance logic. Spend Program Issuance Rules can be set for requests or default issuance of Limits from a program. Set whether a program is requestable or issued by default for a given set of users and their attributes (department, locations, and custom fields). If you'd like to give these permissions to all employees, you can set `applies_to_all` to `True`. Feel free to ignore this if you don't want any custom requestability or issuance logic. IssuanceRules *ApiSpendProgramCreateIssuanceRulesRequestBody `json:"issuance_rules"` // IssuePhysicalCardIfNeeded Dictates whether the spend program should issue a physical card if the user does not have one. IssuePhysicalCardIfNeeded *bool `json:"issue_physical_card_if_needed,omitempty"` // PermittedSpendTypes Specifies the permitted spend types for the spend program. PermittedSpendTypes ApiPermittedSpendTypesRequestBody `json:"permitted_spend_types"` // SpendingRestrictions A set of restrictions imposed on the spend program. SpendingRestrictions ApiSpendingRestrictionsRequestBody `json:"spending_restrictions"` }
ApiSpendProgramCreateRequestBody defines model for ApiSpendProgramCreateRequestBody.
type ApiSpendProgramCreateRequestBodyIcon ¶
type ApiSpendProgramCreateRequestBodyIcon string
ApiSpendProgramCreateRequestBodyIcon The template icon for the spend program.
const ( ApiSpendProgramCreateRequestBodyIconAdvertisingIcon ApiSpendProgramCreateRequestBodyIcon = "AdvertisingIcon" ApiSpendProgramCreateRequestBodyIconCardIcon ApiSpendProgramCreateRequestBodyIcon = "CardIcon" ApiSpendProgramCreateRequestBodyIconEducationStipendIcon ApiSpendProgramCreateRequestBodyIcon = "EducationStipendIcon" ApiSpendProgramCreateRequestBodyIconLunchOrderingIcon ApiSpendProgramCreateRequestBodyIcon = "LunchOrderingIcon" ApiSpendProgramCreateRequestBodyIconOnboardingIcon ApiSpendProgramCreateRequestBodyIcon = "OnboardingIcon" ApiSpendProgramCreateRequestBodyIconPerDiemCardIcon ApiSpendProgramCreateRequestBodyIcon = "PerDiemCardIcon" ApiSpendProgramCreateRequestBodyIconSaasSubscriptionIcon ApiSpendProgramCreateRequestBodyIcon = "SaasSubscriptionIcon" ApiSpendProgramCreateRequestBodyIconSoftwareTrialIcon ApiSpendProgramCreateRequestBodyIcon = "SoftwareTrialIcon" ApiSpendProgramCreateRequestBodyIconTravelExpensesIcon ApiSpendProgramCreateRequestBodyIcon = "TravelExpensesIcon" ApiSpendProgramCreateRequestBodyIconWellnessIcon ApiSpendProgramCreateRequestBodyIcon = "WellnessIcon" )
Defines values for ApiSpendProgramCreateRequestBodyIcon.
type ApiSpendProgramIssuanceRulesRequestBody ¶
type ApiSpendProgramIssuanceRulesRequestBody struct { // AppliesToAll Dictates whether this rule should apply to all employees or not (if True, location_ids, department_ids, and user_custom_field_ids should be null). AppliesToAll *bool `json:"applies_to_all,omitempty"` // DepartmentIds List of departments whose users are able to request or be issued this spend program. DepartmentIds *[]openapi_types.UUID `json:"department_ids,omitempty"` // LocationIds List of locations whose users are able to request or be issued this spend program. LocationIds *[]openapi_types.UUID `json:"location_ids,omitempty"` UserCustomFieldIds *[]openapi_types.UUID `json:"user_custom_field_ids,omitempty"` }
ApiSpendProgramIssuanceRulesRequestBody defines model for ApiSpendProgramIssuanceRulesRequestBody.
type ApiSpendProgramResource ¶
type ApiSpendProgramResource struct { // Description Description of the spend program. Description *string `json:"description,omitempty"` // DisplayName Display name of the spend program. DisplayName *string `json:"display_name,omitempty"` // Icon The template icon for the spend program. Icon *ApiSpendProgramResourceIcon `json:"icon,omitempty"` // Id Unique identifier of the spend program. Id openapi_types.UUID `json:"id"` // IssuePhysicalCardIfNeeded Indicates whether the spend program should issue a physical card if the user does not have one. IssuePhysicalCardIfNeeded *bool `json:"issue_physical_card_if_needed,omitempty"` // PermittedSpendTypes Permitted spend types for the spend program. PermittedSpendTypes *ApiPermittedSpendTypesDump `json:"permitted_spend_types,omitempty"` // Restrictions A set of restrictions imposed on the spend program. Restrictions *ApiSpendingRestrictionsDump `json:"restrictions,omitempty"` }
ApiSpendProgramResource defines model for ApiSpendProgramResource.
type ApiSpendProgramResourceIcon ¶
type ApiSpendProgramResourceIcon string
ApiSpendProgramResourceIcon The template icon for the spend program.
const ( ApiSpendProgramResourceIconAdvertisingIcon ApiSpendProgramResourceIcon = "AdvertisingIcon" ApiSpendProgramResourceIconCardIcon ApiSpendProgramResourceIcon = "CardIcon" ApiSpendProgramResourceIconEducationStipendIcon ApiSpendProgramResourceIcon = "EducationStipendIcon" ApiSpendProgramResourceIconLunchOrderingIcon ApiSpendProgramResourceIcon = "LunchOrderingIcon" ApiSpendProgramResourceIconOnboardingIcon ApiSpendProgramResourceIcon = "OnboardingIcon" ApiSpendProgramResourceIconPerDiemCardIcon ApiSpendProgramResourceIcon = "PerDiemCardIcon" ApiSpendProgramResourceIconSaasSubscriptionIcon ApiSpendProgramResourceIcon = "SaasSubscriptionIcon" ApiSpendProgramResourceIconSoftwareTrialIcon ApiSpendProgramResourceIcon = "SoftwareTrialIcon" ApiSpendProgramResourceIconTravelExpensesIcon ApiSpendProgramResourceIcon = "TravelExpensesIcon" ApiSpendProgramResourceIconWellnessIcon ApiSpendProgramResourceIcon = "WellnessIcon" )
Defines values for ApiSpendProgramResourceIcon.
type ApiSpendingRestrictionsDump ¶
type ApiSpendingRestrictionsDump struct { // AllowedCategories List of Ramp category codes allowed for the limit. AllowedCategories *[]int `json:"allowed_categories,omitempty"` // AllowedVendors List of merchants allowed for the limit. AllowedVendors *[]openapi_types.UUID `json:"allowed_vendors,omitempty"` // AutoLockDate Date to automatically to lock the limit. AutoLockDate *time.Time `json:"auto_lock_date,omitempty"` // BlockedCategories List of Ramp category codes blocked for the limit. BlockedCategories *[]int `json:"blocked_categories,omitempty"` // BlockedVendors List of merchants blocked for the limit. BlockedVendors *[]openapi_types.UUID `json:"blocked_vendors,omitempty"` // Interval Time interval the limit is applied on. Interval *ApiSpendingRestrictionsDumpInterval `json:"interval,omitempty"` // Limit Amount limit total per interval denominated in cents. Currency is USD. Limit *CurrencyAmount `json:"limit,omitempty"` // NextIntervalReset Date and time for the next interval reset. NextIntervalReset *time.Time `json:"next_interval_reset,omitempty"` // StartOfInterval Date and time for the start of the current interval. StartOfInterval *time.Time `json:"start_of_interval,omitempty"` // TemporaryLimit Temporary limit total per interval. TemporaryLimit *CurrencyAmount `json:"temporary_limit,omitempty"` // TransactionAmountLimit Max amount allowed on a single transaction. TransactionAmountLimit *CurrencyAmount `json:"transaction_amount_limit,omitempty"` }
ApiSpendingRestrictionsDump defines model for ApiSpendingRestrictionsDump.
type ApiSpendingRestrictionsDumpInterval ¶
type ApiSpendingRestrictionsDumpInterval string
ApiSpendingRestrictionsDumpInterval Time interval the limit is applied on.
const ( ApiSpendingRestrictionsDumpIntervalANNUAL ApiSpendingRestrictionsDumpInterval = "ANNUAL" ApiSpendingRestrictionsDumpIntervalDAILY ApiSpendingRestrictionsDumpInterval = "DAILY" ApiSpendingRestrictionsDumpIntervalMONTHLY ApiSpendingRestrictionsDumpInterval = "MONTHLY" ApiSpendingRestrictionsDumpIntervalQUARTERLY ApiSpendingRestrictionsDumpInterval = "QUARTERLY" ApiSpendingRestrictionsDumpIntervalTERTIARY ApiSpendingRestrictionsDumpInterval = "TERTIARY" ApiSpendingRestrictionsDumpIntervalTOTAL ApiSpendingRestrictionsDumpInterval = "TOTAL" ApiSpendingRestrictionsDumpIntervalWEEKLY ApiSpendingRestrictionsDumpInterval = "WEEKLY" ApiSpendingRestrictionsDumpIntervalYEARLY ApiSpendingRestrictionsDumpInterval = "YEARLY" )
Defines values for ApiSpendingRestrictionsDumpInterval.
type ApiSpendingRestrictionsRequestBody ¶
type ApiSpendingRestrictionsRequestBody struct { // AllowedCategories List of Ramp category codes allowed for the limit. AllowedCategories *[]int `json:"allowed_categories,omitempty"` // AllowedVendors List of merchants allowed for the limit. AllowedVendors *[]openapi_types.UUID `json:"allowed_vendors,omitempty"` // BlockedCategories List of Ramp category codes blocked for the limit. BlockedCategories *[]int `json:"blocked_categories,omitempty"` BlockedMccCodes *[]string `json:"blocked_mcc_codes,omitempty"` // BlockedVendors List of merchants blocked for the limit. BlockedVendors *[]openapi_types.UUID `json:"blocked_vendors,omitempty"` // Interval Time interval to apply limit to. Interval ApiSpendingRestrictionsRequestBodyInterval `json:"interval"` // Limit Total amount limit per interval. Currently we expect the currency to be USD and the amount need to be denominated in cents. Limit CurrencyAmountRequestBody `json:"limit"` // LockDate Date to automatically lock the card. If lock date has passed, set to a future date or to null to unlock the card. LockDate *time.Time `json:"lock_date,omitempty"` // TransactionAmountLimit Max amount per transaction. Currently we expect the currency to be USD and the amount need to be denominated in cents. TransactionAmountLimit *CurrencyAmountRequestBody `json:"transaction_amount_limit,omitempty"` }
ApiSpendingRestrictionsRequestBody defines model for ApiSpendingRestrictionsRequestBody.
type ApiSpendingRestrictionsRequestBodyInterval ¶
type ApiSpendingRestrictionsRequestBodyInterval string
ApiSpendingRestrictionsRequestBodyInterval Time interval to apply limit to.
const ( ApiSpendingRestrictionsRequestBodyIntervalANNUAL ApiSpendingRestrictionsRequestBodyInterval = "ANNUAL" ApiSpendingRestrictionsRequestBodyIntervalDAILY ApiSpendingRestrictionsRequestBodyInterval = "DAILY" ApiSpendingRestrictionsRequestBodyIntervalMONTHLY ApiSpendingRestrictionsRequestBodyInterval = "MONTHLY" ApiSpendingRestrictionsRequestBodyIntervalQUARTERLY ApiSpendingRestrictionsRequestBodyInterval = "QUARTERLY" ApiSpendingRestrictionsRequestBodyIntervalTERTIARY ApiSpendingRestrictionsRequestBodyInterval = "TERTIARY" ApiSpendingRestrictionsRequestBodyIntervalTOTAL ApiSpendingRestrictionsRequestBodyInterval = "TOTAL" ApiSpendingRestrictionsRequestBodyIntervalWEEKLY ApiSpendingRestrictionsRequestBodyInterval = "WEEKLY" ApiSpendingRestrictionsRequestBodyIntervalYEARLY ApiSpendingRestrictionsRequestBodyInterval = "YEARLY" )
Defines values for ApiSpendingRestrictionsRequestBodyInterval.
type ApiStatementItem ¶
type ApiStatementItem struct { Id *openapi_types.UUID `json:"id,omitempty"` Type *ApiStatementItemType `json:"type,omitempty"` }
ApiStatementItem defines model for ApiStatementItem.
type ApiStatementItemType ¶
type ApiStatementItemType string
ApiStatementItemType defines model for ApiStatementItem.Type.
const ( CARDTRANSACTION ApiStatementItemType = "CARD_TRANSACTION" CASHBACK ApiStatementItemType = "CASHBACK" TRANSFERPAYMENT ApiStatementItemType = "TRANSFER_PAYMENT" )
Defines values for ApiStatementItemType.
type ApiSuspensionDump ¶
type ApiSuspensionDump struct { // ActingUserId Unique identifier of the user who placed the suspension. ActingUserId *openapi_types.UUID `json:"acting_user_id,omitempty"` // InsertedAt Date and time at which suspension was placed. InsertedAt *time.Time `json:"inserted_at,omitempty"` // SuspendedByRamp Whether the suspension is placed by Ramp. SuspendedByRamp *bool `json:"suspended_by_ramp,omitempty"` }
ApiSuspensionDump defines model for ApiSuspensionDump.
type ApiTransactionAccountingCategoryInfo ¶
type ApiTransactionAccountingCategoryInfo struct { // ExternalId external id of accounting field; It should uniquely identify an accounting field on the client end. ExternalId *string `json:"external_id,omitempty"` // Id ID that uniquely identifies an accounting field within Ramp Id *string `json:"id,omitempty"` // Name name of accounting field Name *string `json:"name,omitempty"` // Type accounting field type Type *ApiTransactionAccountingCategoryInfoType `json:"type,omitempty"` }
ApiTransactionAccountingCategoryInfo defines model for ApiTransactionAccountingCategoryInfo.
type ApiTransactionAccountingCategoryInfoType ¶
type ApiTransactionAccountingCategoryInfoType string
ApiTransactionAccountingCategoryInfoType accounting field type
const ( ApiTransactionAccountingCategoryInfoTypeAMORTIZATIONTEMPLATE ApiTransactionAccountingCategoryInfoType = "AMORTIZATION_TEMPLATE" ApiTransactionAccountingCategoryInfoTypeBILLABLE ApiTransactionAccountingCategoryInfoType = "BILLABLE" ApiTransactionAccountingCategoryInfoTypeCUSTOMERSJOBS ApiTransactionAccountingCategoryInfoType = "CUSTOMERS_JOBS" ApiTransactionAccountingCategoryInfoTypeGLACCOUNT ApiTransactionAccountingCategoryInfoType = "GL_ACCOUNT" ApiTransactionAccountingCategoryInfoTypeINVENTORYITEM ApiTransactionAccountingCategoryInfoType = "INVENTORY_ITEM" ApiTransactionAccountingCategoryInfoTypeMERCHANT ApiTransactionAccountingCategoryInfoType = "MERCHANT" ApiTransactionAccountingCategoryInfoTypeOTHER ApiTransactionAccountingCategoryInfoType = "OTHER" ApiTransactionAccountingCategoryInfoTypeSUBSIDIARY ApiTransactionAccountingCategoryInfoType = "SUBSIDIARY" ApiTransactionAccountingCategoryInfoTypeTAXCODE ApiTransactionAccountingCategoryInfoType = "TAX_CODE" )
Defines values for ApiTransactionAccountingCategoryInfoType.
type ApiTransactionAccountingFieldSelection ¶
type ApiTransactionAccountingFieldSelection struct { // CategoryInfo information about the accounting category (or accounting field). CategoryInfo *ApiTransactionAccountingCategoryInfo `json:"category_info,omitempty"` // ExternalId external id of accounting field option; It should uniquely identify an accounting field option on the client end. ExternalId *string `json:"external_id,omitempty"` // Id ID that uniquely identifies an accounting field option within Ramp Id *string `json:"id,omitempty"` // Name name of accounting field option Name *string `json:"name,omitempty"` // Type Accounting field type Type *ApiTransactionAccountingFieldSelectionType `json:"type,omitempty"` }
ApiTransactionAccountingFieldSelection defines model for ApiTransactionAccountingFieldSelection.
type ApiTransactionAccountingFieldSelectionType ¶
type ApiTransactionAccountingFieldSelectionType string
ApiTransactionAccountingFieldSelectionType Accounting field type
const ( ApiTransactionAccountingFieldSelectionTypeAMORTIZATIONTEMPLATE ApiTransactionAccountingFieldSelectionType = "AMORTIZATION_TEMPLATE" ApiTransactionAccountingFieldSelectionTypeBILLABLE ApiTransactionAccountingFieldSelectionType = "BILLABLE" ApiTransactionAccountingFieldSelectionTypeCUSTOMERSJOBS ApiTransactionAccountingFieldSelectionType = "CUSTOMERS_JOBS" ApiTransactionAccountingFieldSelectionTypeGLACCOUNT ApiTransactionAccountingFieldSelectionType = "GL_ACCOUNT" ApiTransactionAccountingFieldSelectionTypeINVENTORYITEM ApiTransactionAccountingFieldSelectionType = "INVENTORY_ITEM" ApiTransactionAccountingFieldSelectionTypeMERCHANT ApiTransactionAccountingFieldSelectionType = "MERCHANT" ApiTransactionAccountingFieldSelectionTypeOTHER ApiTransactionAccountingFieldSelectionType = "OTHER" ApiTransactionAccountingFieldSelectionTypeSUBSIDIARY ApiTransactionAccountingFieldSelectionType = "SUBSIDIARY" ApiTransactionAccountingFieldSelectionTypeTAXCODE ApiTransactionAccountingFieldSelectionType = "TAX_CODE" )
Defines values for ApiTransactionAccountingFieldSelectionType.
type ApiTransactionCardHolder ¶
type ApiTransactionCardHolder struct { // DepartmentId ID of the card holder's department. DepartmentId *string `json:"department_id,omitempty"` // DepartmentName Name of the card holder's deparment. DepartmentName *string `json:"department_name,omitempty"` // FirstName Card holder's first name. FirstName *string `json:"first_name,omitempty"` // LastName Card holder's last name. LastName *string `json:"last_name,omitempty"` // LocationId ID of the card holder's location. LocationId *string `json:"location_id,omitempty"` // LocationName Name of the card holder's location. LocationName *string `json:"location_name,omitempty"` // UserId Card holder's ID. UserId *string `json:"user_id,omitempty"` }
ApiTransactionCardHolder defines model for ApiTransactionCardHolder.
type ApiTransactionDeclineDetails ¶
type ApiTransactionDeclineDetails struct { Amount *float32 `json:"amount,omitempty"` Reason *ApiTransactionDeclineDetailsReason `json:"reason,omitempty"` }
ApiTransactionDeclineDetails defines model for ApiTransactionDeclineDetails.
type ApiTransactionDeclineDetailsReason ¶
type ApiTransactionDeclineDetailsReason string
ApiTransactionDeclineDetailsReason defines model for ApiTransactionDeclineDetails.Reason.
const ( AUTHORIZER ApiTransactionDeclineDetailsReason = "AUTHORIZER" AUTHORIZERAPCARDVELOCITYLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_AP_CARD_VELOCITY_LIMIT" AUTHORIZERBUSINESSLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_BUSINESS_LIMIT" AUTHORIZERBUSINESSVENDORBLACKLIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_BUSINESS_VENDOR_BLACKLIST" AUTHORIZERCARDAUTOLOCKDATE ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_AUTO_LOCK_DATE" AUTHORIZERCARDCATEGORYBLACKLIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_CATEGORY_BLACKLIST" AUTHORIZERCARDCATEGORYWHITELIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_CATEGORY_WHITELIST" AUTHORIZERCARDLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_LIMIT" AUTHORIZERCARDMCCBLACKLIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_MCC_BLACKLIST" AUTHORIZERCARDMISSINGPOLICYITEMS ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_MISSING_POLICY_ITEMS" AUTHORIZERCARDNOTACTIVATED ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_NOT_ACTIVATED" AUTHORIZERCARDSUSPENDED ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_SUSPENDED" AUTHORIZERCARDVENDORBLACKLIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_VENDOR_BLACKLIST" AUTHORIZERCARDVENDORWHITELIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_CARD_VENDOR_WHITELIST" AUTHORIZERCOMMANDOMODE ApiTransactionDeclineDetailsReason = "AUTHORIZER_COMMANDO_MODE" AUTHORIZERFRAUD ApiTransactionDeclineDetailsReason = "AUTHORIZER_FRAUD" AUTHORIZERGLOBALMCCBLACKLIST ApiTransactionDeclineDetailsReason = "AUTHORIZER_GLOBAL_MCC_BLACKLIST" AUTHORIZERNONAPCARDVELOCITYLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_NON_AP_CARD_VELOCITY_LIMIT" AUTHORIZEROOBBLOCKEDMERCHANT ApiTransactionDeclineDetailsReason = "AUTHORIZER_OOB_BLOCKED_MERCHANT" AUTHORIZEROOBDAILYBUSINESSBALANCE ApiTransactionDeclineDetailsReason = "AUTHORIZER_OOB_DAILY_BUSINESS_BALANCE" AUTHORIZEROOBDAILYCARDSPEND ApiTransactionDeclineDetailsReason = "AUTHORIZER_OOB_DAILY_CARD_SPEND" AUTHORIZERTRANSACTIONAMOUNTLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_TRANSACTION_AMOUNT_LIMIT" AUTHORIZERUSERLIMIT ApiTransactionDeclineDetailsReason = "AUTHORIZER_USER_LIMIT" AUTHORIZERUSERSUSPENDED ApiTransactionDeclineDetailsReason = "AUTHORIZER_USER_SUSPENDED" BLOCKEDCOUNTRY ApiTransactionDeclineDetailsReason = "BLOCKED_COUNTRY" CARDTERMINATED ApiTransactionDeclineDetailsReason = "CARD_TERMINATED" CHIPFAILLURE ApiTransactionDeclineDetailsReason = "CHIP_FAILLURE" FORBIDDENCATEGORY ApiTransactionDeclineDetailsReason = "FORBIDDEN_CATEGORY" MOBILEWALLETFAILURE ApiTransactionDeclineDetailsReason = "MOBILE_WALLET_FAILURE" NOLINKEDSPENDALLOCATION ApiTransactionDeclineDetailsReason = "NO_LINKED_SPEND_ALLOCATION" NOTACTIVE ApiTransactionDeclineDetailsReason = "NOT_ACTIVE" NOTALLOWED ApiTransactionDeclineDetailsReason = "NOT_ALLOWED" OFACVERIFICATIONNEEDED ApiTransactionDeclineDetailsReason = "OFAC_VERIFICATION_NEEDED" OTHER ApiTransactionDeclineDetailsReason = "OTHER" PROCESSORCAP ApiTransactionDeclineDetailsReason = "PROCESSOR_CAP" QUASICASH ApiTransactionDeclineDetailsReason = "QUASI_CASH" STRIPEWEBHOOKTIMEOUT ApiTransactionDeclineDetailsReason = "STRIPE_WEBHOOK_TIMEOUT" SUSPECTEDBINATTACK ApiTransactionDeclineDetailsReason = "SUSPECTED_BIN_ATTACK" SUSPECTEDFRAUD ApiTransactionDeclineDetailsReason = "SUSPECTED_FRAUD" USERTERMINATED ApiTransactionDeclineDetailsReason = "USER_TERMINATED" WRONGADDRESS ApiTransactionDeclineDetailsReason = "WRONG_ADDRESS" WRONGCVV ApiTransactionDeclineDetailsReason = "WRONG_CVV" WRONGEXPIRATION ApiTransactionDeclineDetailsReason = "WRONG_EXPIRATION" WRONGPOSTALCODE ApiTransactionDeclineDetailsReason = "WRONG_POSTAL_CODE" )
Defines values for ApiTransactionDeclineDetailsReason.
type ApiTransactionDispute ¶
type ApiTransactionDispute struct { // CreatedAt Time at which the dispute is created, presented in ISO8601 format. CreatedAt *time.Time `json:"created_at,omitempty"` // Id Uniquely identifies a transaction dispute. Id *openapi_types.UUID `json:"id,omitempty"` // Memo Free form text regarding the dispute. Memo *string `json:"memo,omitempty"` // Type The dispute type; It could be one of the following values: RESOLVED_BY_RAMP, CANCELLED_BY_CUSTOMER, CREATED_MERCHANT_ERROR and CREATED_UNRECOGNIZED_CHARGE. Type *string `json:"type,omitempty"` }
ApiTransactionDispute defines model for ApiTransactionDispute.
type ApiTransactionLineItem ¶
type ApiTransactionLineItem struct { // AccountingFieldSelections List of accounting field options selected to code the line item. AccountingFieldSelections *[]ApiTransactionAccountingFieldSelection `json:"accounting_field_selections,omitempty"` // Amount Amount of the line item, denominated in the currency that the transaction was settled in. Amount *CurrencyAmount `json:"amount"` }
ApiTransactionLineItem defines model for ApiTransactionLineItem.
type ApiTransactionPolicyViolation ¶
type ApiTransactionPolicyViolation struct { // CreatedAt Time at which the policy violation is created, presented in ISO8601 format. CreatedAt *time.Time `json:"created_at,omitempty"` // Id Uniquely identifies a policy violation. Id *openapi_types.UUID `json:"id,omitempty"` // Memo Free form text regarding the policy violation. Memo *string `json:"memo,omitempty"` // Type Type of the policy violation. Type *string `json:"type,omitempty"` }
ApiTransactionPolicyViolation defines model for ApiTransactionPolicyViolation.
type ApiUserCreateRequestBody ¶
type ApiUserCreateRequestBody struct { // DepartmentId Unique identifier of the employee's department DepartmentId *openapi_types.UUID `json:"department_id,omitempty"` // DirectManagerId Unique identifier of the employee's direct manager DirectManagerId *openapi_types.UUID `json:"direct_manager_id,omitempty"` // Email The employee's email address Email openapi_types.Email `json:"email"` // FirstName First name of the employee FirstName string `json:"first_name"` // IdempotencyKey an idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs. IdempotencyKey *string `json:"idempotency_key,omitempty"` // LastName Last name of the employee LastName string `json:"last_name"` // LocationId Unique identifier of the employee's location LocationId *openapi_types.UUID `json:"location_id,omitempty"` // Role The employee's role; It could be one of the following values: Admin, Cardholder, Bookkeeper; Note that Owner is not a invitable role. Role ApiUserCreateRequestBodyRole `json:"role"` }
ApiUserCreateRequestBody defines model for ApiUserCreateRequestBody.
type ApiUserCreateRequestBodyRole ¶
type ApiUserCreateRequestBodyRole string
ApiUserCreateRequestBodyRole The employee's role; It could be one of the following values: Admin, Cardholder, Bookkeeper; Note that Owner is not a invitable role.
const ( ApiUserCreateRequestBodyRoleBUSINESSADMIN ApiUserCreateRequestBodyRole = "BUSINESS_ADMIN" ApiUserCreateRequestBodyRoleBUSINESSBOOKKEEPER ApiUserCreateRequestBodyRole = "BUSINESS_BOOKKEEPER" ApiUserCreateRequestBodyRoleBUSINESSUSER ApiUserCreateRequestBodyRole = "BUSINESS_USER" ApiUserCreateRequestBodyRoleGUESTUSER ApiUserCreateRequestBodyRole = "GUEST_USER" )
Defines values for ApiUserCreateRequestBodyRole.
type ApiUserDeferredTaskData ¶
type ApiUserDeferredTaskData struct { // Error An error message if the deferred task fails Error *string `json:"error,omitempty"` // UserId The subject employee's ID of the deferred task. UserId *openapi_types.UUID `json:"user_id,omitempty"` }
ApiUserDeferredTaskData defines model for ApiUserDeferredTaskData.
type ApiUserUpdateRequestBody ¶
type ApiUserUpdateRequestBody struct { // DepartmentId Unique identifier of the employee's department DepartmentId *openapi_types.UUID `json:"department_id,omitempty"` // DirectManagerId Unique identifier of the employee's direct manager DirectManagerId *openapi_types.UUID `json:"direct_manager_id,omitempty"` // LocationId Unique identifier of the employee's location LocationId *openapi_types.UUID `json:"location_id,omitempty"` // Role The employee's role; It could be one of the following values: Admin, Cardholder, Bookkeeper; Note that Owner is not a permissible value. Role *ApiUserUpdateRequestBodyRole `json:"role,omitempty"` }
ApiUserUpdateRequestBody defines model for ApiUserUpdateRequestBody.
type ApiUserUpdateRequestBodyRole ¶
type ApiUserUpdateRequestBodyRole string
ApiUserUpdateRequestBodyRole The employee's role; It could be one of the following values: Admin, Cardholder, Bookkeeper; Note that Owner is not a permissible value.
const ( ApiUserUpdateRequestBodyRoleBUSINESSADMIN ApiUserUpdateRequestBodyRole = "BUSINESS_ADMIN" ApiUserUpdateRequestBodyRoleBUSINESSBOOKKEEPER ApiUserUpdateRequestBodyRole = "BUSINESS_BOOKKEEPER" ApiUserUpdateRequestBodyRoleBUSINESSUSER ApiUserUpdateRequestBodyRole = "BUSINESS_USER" ApiUserUpdateRequestBodyRoleGUESTUSER ApiUserUpdateRequestBodyRole = "GUEST_USER" )
Defines values for ApiUserUpdateRequestBodyRole.
type Business ¶
type Business struct { Active *bool `json:"active,omitempty"` BillingAddress *map[string]interface{} `json:"billing_address,omitempty"` BusinessNameLegal *string `json:"business_name_legal,omitempty"` BusinessNameOnCard *string `json:"business_name_on_card,omitempty"` CreatedTime *time.Time `json:"created_time,omitempty"` EnforceSso *bool `json:"enforce_sso,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` InitialApprovedLimit *int `json:"initial_approved_limit,omitempty"` IsIntegratedWithSlack *bool `json:"is_integrated_with_slack,omitempty"` IsReimbursementsEnabled *bool `json:"is_reimbursements_enabled,omitempty"` LimitLocked *bool `json:"limit_locked,omitempty"` Phone *string `json:"phone,omitempty"` Website *string `json:"website,omitempty"` }
Business defines model for Business.
type BusinessBalance ¶
type BusinessBalance struct { AvailableCardLimit *float32 `json:"available_card_limit,omitempty"` AvailableFlexLimit *float32 `json:"available_flex_limit,omitempty"` BalanceIncludingPending *float32 `json:"balance_including_pending,omitempty"` CardBalanceExcludingPending *float32 `json:"card_balance_excluding_pending,omitempty"` CardBalanceIncludingPending *float32 `json:"card_balance_including_pending,omitempty"` CardLimit *float32 `json:"card_limit,omitempty"` FlexBalance *float32 `json:"flex_balance,omitempty"` FlexLimit *float32 `json:"flex_limit,omitempty"` FloatBalanceExcludingPending *float32 `json:"float_balance_excluding_pending,omitempty"` GlobalLimit *float32 `json:"global_limit,omitempty"` MaxBalance *float32 `json:"max_balance,omitempty"` NextBillingDate *string `json:"next_billing_date,omitempty"` PrevBillingDate *string `json:"prev_billing_date,omitempty"` StatementBalance *float32 `json:"statement_balance,omitempty"` }
BusinessBalance defines model for BusinessBalance.
type Card ¶
type Card struct { // CardProgramId Unique identifier of the card program. CardProgramId *openapi_types.UUID `json:"card_program_id"` // CardholderId Unique identifier of the card holder. CardholderId *openapi_types.UUID `json:"cardholder_id,omitempty"` // CardholderName Card holder's full name. CardholderName *openapi_types.UUID `json:"cardholder_name,omitempty"` DisplayName *string `json:"display_name,omitempty"` // Fulfillment Fulfillment details of a physical Ramp card. Fulfillment *ApiCardFulfillment `json:"fulfillment,omitempty"` // HasProgramOverridden Whether the card has overridden the default settings from its card program. HasProgramOverridden *bool `json:"has_program_overridden,omitempty"` // Id Unique identifier of the card. Id *openapi_types.UUID `json:"id,omitempty"` IsPhysical *bool `json:"is_physical,omitempty"` LastFour string `json:"last_four"` // SpendingRestrictions Specifies the spend restrictions on a Ramp card. SpendingRestrictions *ApiCardSpendingRestrictionsDump `json:"spending_restrictions,omitempty"` // State State of the card State *CardState `json:"state,omitempty"` }
Card defines model for Card.
type CardDeferredTask ¶
type CardDeferredTask struct { // Data Detailed data of the deferred task. Data *ApiCardDeferredTaskData `json:"data,omitempty"` // Id Unique identifier of the deferred task. Id *openapi_types.UUID `json:"id,omitempty"` // Status Status of the deferred task. It could be one of the following values: STARTED, IN_PROGRESS, ERROR, SUCCESS Status *string `json:"status,omitempty"` }
CardDeferredTask defines model for CardDeferredTask.
type CardFulfillmentRequestBody ¶
type CardFulfillmentRequestBody struct { CardPersonalization *CardPersonalizationRequestBody `json:"card_personalization,omitempty"` Shipping *CardShippingRequestBody `json:"shipping,omitempty"` }
CardFulfillmentRequestBody defines model for CardFulfillmentRequestBody.
type CardPersonalization ¶
type CardPersonalization struct {
Text *CardPersonalizationText `json:"text,omitempty"`
}
CardPersonalization defines model for CardPersonalization.
type CardPersonalizationNameLine ¶
type CardPersonalizationNameLine struct {
Value *string `json:"value,omitempty"`
}
CardPersonalizationNameLine defines model for CardPersonalizationNameLine.
type CardPersonalizationNameLineRequestBody ¶
type CardPersonalizationNameLineRequestBody struct {
Value *string `json:"value,omitempty"`
}
CardPersonalizationNameLineRequestBody defines model for CardPersonalizationNameLineRequestBody.
type CardPersonalizationRequestBody ¶
type CardPersonalizationRequestBody struct {
Text *CardPersonalizationTextRequestBody `json:"text,omitempty"`
}
CardPersonalizationRequestBody defines model for CardPersonalizationRequestBody.
type CardPersonalizationText ¶
type CardPersonalizationText struct { NameLine1 *CardPersonalizationNameLine `json:"name_line_1,omitempty"` NameLine2 *CardPersonalizationNameLine `json:"name_line_2,omitempty"` }
CardPersonalizationText defines model for CardPersonalizationText.
type CardPersonalizationTextRequestBody ¶
type CardPersonalizationTextRequestBody struct { NameLine1 *CardPersonalizationNameLineRequestBody `json:"name_line_1,omitempty"` NameLine2 *CardPersonalizationNameLineRequestBody `json:"name_line_2,omitempty"` }
CardPersonalizationTextRequestBody defines model for CardPersonalizationTextRequestBody.
type CardShipping ¶
type CardShipping struct { Method *string `json:"method,omitempty"` RecipientAddress *CardShippingAddress `json:"recipient_address,omitempty"` RecipientAddressVerificationState *CardShippingRecipientAddressVerificationState `json:"recipient_address_verification_state,omitempty"` ReturnAddress *CardShippingAddress `json:"return_address,omitempty"` }
CardShipping defines model for CardShipping.
type CardShippingAddress ¶
type CardShippingAddress struct { Address1 string `json:"address1"` Address2 *string `json:"address2,omitempty"` City string `json:"city"` Country string `json:"country"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Phone *string `json:"phone,omitempty"` PostalCode string `json:"postal_code"` State *string `json:"state,omitempty"` }
CardShippingAddress defines model for CardShippingAddress.
type CardShippingAddressRequestBody ¶
type CardShippingAddressRequestBody struct { Address1 string `json:"address1"` Address2 *string `json:"address2,omitempty"` City string `json:"city"` Country string `json:"country"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Phone *string `json:"phone,omitempty"` PostalCode string `json:"postal_code"` State *string `json:"state,omitempty"` }
CardShippingAddressRequestBody defines model for CardShippingAddressRequestBody.
type CardShippingRecipientAddressVerificationState ¶
type CardShippingRecipientAddressVerificationState string
CardShippingRecipientAddressVerificationState defines model for CardShipping.RecipientAddressVerificationState.
const ( CardShippingRecipientAddressVerificationStateNOTVERIFIED CardShippingRecipientAddressVerificationState = "NOT_VERIFIED" CardShippingRecipientAddressVerificationStateOVERRIDEN CardShippingRecipientAddressVerificationState = "OVERRIDEN" CardShippingRecipientAddressVerificationStateVERIFIED CardShippingRecipientAddressVerificationState = "VERIFIED" )
Defines values for CardShippingRecipientAddressVerificationState.
type CardShippingRequestBody ¶
type CardShippingRequestBody struct { Method *string `json:"method,omitempty"` RecipientAddress *CardShippingAddressRequestBody `json:"recipient_address,omitempty"` RecipientAddressVerificationState *CardShippingRequestBodyRecipientAddressVerificationState `json:"recipient_address_verification_state,omitempty"` ReturnAddress *CardShippingAddressRequestBody `json:"return_address,omitempty"` }
CardShippingRequestBody defines model for CardShippingRequestBody.
type CardShippingRequestBodyRecipientAddressVerificationState ¶
type CardShippingRequestBodyRecipientAddressVerificationState string
CardShippingRequestBodyRecipientAddressVerificationState defines model for CardShippingRequestBody.RecipientAddressVerificationState.
const ( CardShippingRequestBodyRecipientAddressVerificationStateNOTVERIFIED CardShippingRequestBodyRecipientAddressVerificationState = "NOT_VERIFIED" CardShippingRequestBodyRecipientAddressVerificationStateOVERRIDEN CardShippingRequestBodyRecipientAddressVerificationState = "OVERRIDEN" CardShippingRequestBodyRecipientAddressVerificationStateVERIFIED CardShippingRequestBodyRecipientAddressVerificationState = "VERIFIED" )
Defines values for CardShippingRequestBodyRecipientAddressVerificationState.
type Cashback ¶
type Cashback struct { // Amount Dollar amount of the cashback payment. Amount *CurrencyAmount `json:"amount,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` }
Cashback defines model for Cashback.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteAccountingConnectionResouce ¶
func (*Client) DeleteCustomFieldOptionResource ¶
func (*Client) DeleteCustomFieldResource ¶
func (*Client) DeleteGlAccountResource ¶
func (*Client) DeleteReceiptIntegrationOptedOutEmailsDeleteResource ¶
func (*Client) DeleteSubsidiaryResource ¶
func (*Client) DeleteUserResource ¶
func (*Client) DeleteVendorResource ¶
func (*Client) GetAccountingConnectionResouce ¶
func (*Client) GetBusinessBalanceResource ¶
func (*Client) GetBusinessResource ¶
func (*Client) GetCardDeferredTaskResource ¶
func (*Client) GetCardListWithPagination ¶
func (c *Client) GetCardListWithPagination(ctx context.Context, params *GetCardListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCardProgramListDeprecated ¶
func (c *Client) GetCardProgramListDeprecated(ctx context.Context, params *GetCardProgramListDeprecatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCardProgramResourceDeprecated ¶
func (*Client) GetCardResource ¶
func (*Client) GetCashbackListWithPagination ¶
func (c *Client) GetCashbackListWithPagination(ctx context.Context, params *GetCashbackListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCashbackResource ¶
func (*Client) GetCustomFieldListResource ¶
func (c *Client) GetCustomFieldListResource(ctx context.Context, params *GetCustomFieldListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCustomFieldOptionListResource ¶
func (c *Client) GetCustomFieldOptionListResource(ctx context.Context, params *GetCustomFieldOptionListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCustomFieldOptionResource ¶
func (*Client) GetCustomFieldResource ¶
func (*Client) GetDepartmentListWithPagination ¶
func (c *Client) GetDepartmentListWithPagination(ctx context.Context, params *GetDepartmentListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDepartmentResource ¶
func (*Client) GetGlAccountListResource ¶
func (c *Client) GetGlAccountListResource(ctx context.Context, params *GetGlAccountListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGlAccountResource ¶
func (*Client) GetLocationListResource ¶
func (c *Client) GetLocationListResource(ctx context.Context, params *GetLocationListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLocationSingleResource ¶
func (*Client) GetMemoListWithPagination ¶
func (c *Client) GetMemoListWithPagination(ctx context.Context, params *GetMemoListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMemoSingleResource ¶
func (*Client) GetMerchantListWithPagination ¶
func (c *Client) GetMerchantListWithPagination(ctx context.Context, params *GetMerchantListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReceiptIntegrationOptedOutEmailsListResource ¶
func (c *Client) GetReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, body GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReceiptIntegrationOptedOutEmailsListResourceWithBody ¶
func (*Client) GetReceiptListWithPagination ¶
func (c *Client) GetReceiptListWithPagination(ctx context.Context, params *GetReceiptListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReceiptSingleResource ¶
func (*Client) GetReimbursementListWithPagination ¶
func (c *Client) GetReimbursementListWithPagination(ctx context.Context, params *GetReimbursementListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReimbursementResource ¶
func (*Client) GetSalesLeadResource ¶
func (*Client) GetSpendLimitDeferredTaskStatus ¶
func (*Client) GetSpendLimitListWithPagination ¶
func (c *Client) GetSpendLimitListWithPagination(ctx context.Context, params *GetSpendLimitListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSpendLimitResource ¶
func (*Client) GetSpendProgramResource ¶
func (c *Client) GetSpendProgramResource(ctx context.Context, params *GetSpendProgramResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSpendProgramSingleResource ¶
func (*Client) GetStatementListWithPagination ¶
func (c *Client) GetStatementListWithPagination(ctx context.Context, params *GetStatementListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatementResource ¶
func (*Client) GetSubsidiaryListResource ¶
func (c *Client) GetSubsidiaryListResource(ctx context.Context, params *GetSubsidiaryListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSubsidiaryResource ¶
func (*Client) GetSyncResource ¶
func (*Client) GetTransactionCanonicalResource ¶
func (*Client) GetTransactionsCanonicalListWithPagination ¶
func (c *Client) GetTransactionsCanonicalListWithPagination(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTransferListWithPagination ¶
func (c *Client) GetTransferListWithPagination(ctx context.Context, params *GetTransferListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTransferResource ¶
func (*Client) GetUserDeferredTaskResource ¶
func (*Client) GetUserListWithPagination ¶
func (c *Client) GetUserListWithPagination(ctx context.Context, params *GetUserListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUserResource ¶
func (*Client) GetVendorListResource ¶
func (c *Client) GetVendorListResource(ctx context.Context, params *GetVendorListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVendorResource ¶
func (*Client) PatchCardResource ¶
func (c *Client) PatchCardResource(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchCardResourceWithBody ¶
func (*Client) PatchCustomFieldOptionResource ¶
func (c *Client) PatchCustomFieldOptionResource(ctx context.Context, fieldOptionId string, body PatchCustomFieldOptionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchCustomFieldOptionResourceWithBody ¶
func (*Client) PatchCustomFieldResource ¶
func (c *Client) PatchCustomFieldResource(ctx context.Context, fieldId string, body PatchCustomFieldResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchCustomFieldResourceWithBody ¶
func (*Client) PatchDepartmentResource ¶
func (c *Client) PatchDepartmentResource(ctx context.Context, departmentUuid string, body PatchDepartmentResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchDepartmentResourceWithBody ¶
func (*Client) PatchGlAccountResource ¶
func (c *Client) PatchGlAccountResource(ctx context.Context, glAccountId string, body PatchGlAccountResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchGlAccountResourceWithBody ¶
func (*Client) PatchLocationSingleResource ¶
func (c *Client) PatchLocationSingleResource(ctx context.Context, locationUuid string, body PatchLocationSingleResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchLocationSingleResourceWithBody ¶
func (*Client) PatchSpendLimitResource ¶
func (*Client) PatchSubsidiaryResource ¶
func (c *Client) PatchSubsidiaryResource(ctx context.Context, subsidiaryId string, body PatchSubsidiaryResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchSubsidiaryResourceWithBody ¶
func (*Client) PatchUserResource ¶
func (c *Client) PatchUserResource(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchUserResourceWithBody ¶
func (*Client) PatchVendorResource ¶
func (c *Client) PatchVendorResource(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchVendorResourceWithBody ¶
func (*Client) PostAccountingConnectionResouce ¶
func (c *Client) PostAccountingConnectionResouce(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAccountingConnectionResouceWithBody ¶
func (*Client) PostCardProgramListDeprecated ¶
func (c *Client) PostCardProgramListDeprecated(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCardProgramListDeprecatedWithBody ¶
func (*Client) PostCardSuspensionResource ¶
func (c *Client) PostCardSuspensionResource(ctx context.Context, cardId string, body PostCardSuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCardSuspensionResourceWithBody ¶
func (*Client) PostCardTerminationResource ¶
func (c *Client) PostCardTerminationResource(ctx context.Context, cardId string, body PostCardTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCardTerminationResourceWithBody ¶
func (*Client) PostCardUnsuspensionResource ¶
func (c *Client) PostCardUnsuspensionResource(ctx context.Context, cardId string, body PostCardUnsuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCardUnsuspensionResourceWithBody ¶
func (*Client) PostCustomFieldListResource ¶
func (c *Client) PostCustomFieldListResource(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCustomFieldListResourceWithBody ¶
func (*Client) PostCustomFieldOptionListResource ¶
func (c *Client) PostCustomFieldOptionListResource(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCustomFieldOptionListResourceWithBody ¶
func (*Client) PostDepartmentListWithPagination ¶
func (c *Client) PostDepartmentListWithPagination(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostDepartmentListWithPaginationWithBody ¶
func (*Client) PostGlAccountListResource ¶
func (c *Client) PostGlAccountListResource(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostGlAccountListResourceWithBody ¶
func (*Client) PostLocationListResource ¶
func (c *Client) PostLocationListResource(ctx context.Context, body PostLocationListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostLocationListResourceWithBody ¶
func (*Client) PostPhysicalCard ¶
func (c *Client) PostPhysicalCard(ctx context.Context, body PostPhysicalCardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostPhysicalCardWithBody ¶
func (*Client) PostReceiptIntegrationOptedOutEmailsListResource ¶
func (c *Client) PostReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, body PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostReceiptIntegrationOptedOutEmailsListResourceWithBody ¶
func (*Client) PostSalesLeadCreation ¶
func (c *Client) PostSalesLeadCreation(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSalesLeadCreationWithBody ¶
func (*Client) PostSalesLeadDocumentUpload ¶
func (*Client) PostSpendLimitCreation ¶
func (c *Client) PostSpendLimitCreation(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSpendLimitCreationWithBody ¶
func (*Client) PostSpendLimitSuspensionResource ¶
func (*Client) PostSpendLimitTerminationResource ¶
func (c *Client) PostSpendLimitTerminationResource(ctx context.Context, spendLimitId string, body PostSpendLimitTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSpendLimitTerminationResourceWithBody ¶
func (*Client) PostSpendLimitUnsuspensionResource ¶
func (*Client) PostSpendProgramResource ¶
func (c *Client) PostSpendProgramResource(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSpendProgramResourceWithBody ¶
func (*Client) PostSubsidiaryListResource ¶
func (c *Client) PostSubsidiaryListResource(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSubsidiaryListResourceWithBody ¶
func (*Client) PostSyncListResource ¶
func (c *Client) PostSyncListResource(ctx context.Context, body PostSyncListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostSyncListResourceWithBody ¶
func (*Client) PostUserCreationDeferredTask ¶
func (c *Client) PostUserCreationDeferredTask(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostUserCreationDeferredTaskWithBody ¶
func (*Client) PostVendorListResource ¶
func (c *Client) PostVendorListResource(ctx context.Context, body PostVendorListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostVendorListResourceWithBody ¶
func (*Client) PostVirtualCard ¶
func (c *Client) PostVirtualCard(ctx context.Context, body PostVirtualCardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetGlAccountListResource request GetGlAccountListResource(ctx context.Context, params *GetGlAccountListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostGlAccountListResource request with any body PostGlAccountListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostGlAccountListResource(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteGlAccountResource request DeleteGlAccountResource(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGlAccountResource request GetGlAccountResource(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchGlAccountResource request with any body PatchGlAccountResourceWithBody(ctx context.Context, glAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchGlAccountResource(ctx context.Context, glAccountId string, body PatchGlAccountResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAccountingConnectionResouce request DeleteAccountingConnectionResouce(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAccountingConnectionResouce request GetAccountingConnectionResouce(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostAccountingConnectionResouce request with any body PostAccountingConnectionResouceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostAccountingConnectionResouce(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomFieldOptionListResource request GetCustomFieldOptionListResource(ctx context.Context, params *GetCustomFieldOptionListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCustomFieldOptionListResource request with any body PostCustomFieldOptionListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCustomFieldOptionListResource(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteCustomFieldOptionResource request DeleteCustomFieldOptionResource(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomFieldOptionResource request GetCustomFieldOptionResource(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchCustomFieldOptionResource request with any body PatchCustomFieldOptionResourceWithBody(ctx context.Context, fieldOptionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchCustomFieldOptionResource(ctx context.Context, fieldOptionId string, body PatchCustomFieldOptionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomFieldListResource request GetCustomFieldListResource(ctx context.Context, params *GetCustomFieldListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCustomFieldListResource request with any body PostCustomFieldListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCustomFieldListResource(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteCustomFieldResource request DeleteCustomFieldResource(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomFieldResource request GetCustomFieldResource(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchCustomFieldResource request with any body PatchCustomFieldResourceWithBody(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchCustomFieldResource(ctx context.Context, fieldId string, body PatchCustomFieldResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSubsidiaryListResource request GetSubsidiaryListResource(ctx context.Context, params *GetSubsidiaryListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSubsidiaryListResource request with any body PostSubsidiaryListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSubsidiaryListResource(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSubsidiaryResource request DeleteSubsidiaryResource(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSubsidiaryResource request GetSubsidiaryResource(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchSubsidiaryResource request with any body PatchSubsidiaryResourceWithBody(ctx context.Context, subsidiaryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchSubsidiaryResource(ctx context.Context, subsidiaryId string, body PatchSubsidiaryResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSyncListResource request with any body PostSyncListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSyncListResource(ctx context.Context, body PostSyncListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSyncResource request GetSyncResource(ctx context.Context, syncId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVendorListResource request GetVendorListResource(ctx context.Context, params *GetVendorListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostVendorListResource request with any body PostVendorListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostVendorListResource(ctx context.Context, body PostVendorListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteVendorResource request DeleteVendorResource(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVendorResource request GetVendorResource(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchVendorResource request with any body PatchVendorResourceWithBody(ctx context.Context, vendorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchVendorResource(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBusinessResource request GetBusinessResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBusinessBalanceResource request GetBusinessBalanceResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCardProgramListDeprecated request GetCardProgramListDeprecated(ctx context.Context, params *GetCardProgramListDeprecatedParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCardProgramListDeprecated request with any body PostCardProgramListDeprecatedWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCardProgramListDeprecated(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCardProgramResourceDeprecated request GetCardProgramResourceDeprecated(ctx context.Context, cardProgramId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCardListWithPagination request GetCardListWithPagination(ctx context.Context, params *GetCardListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostPhysicalCard request with any body PostPhysicalCardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostPhysicalCard(ctx context.Context, body PostPhysicalCardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCardDeferredTaskResource request GetCardDeferredTaskResource(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostVirtualCard request with any body PostVirtualCardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostVirtualCard(ctx context.Context, body PostVirtualCardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCardResource request GetCardResource(ctx context.Context, cardId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchCardResource request with any body PatchCardResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchCardResource(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCardSuspensionResource request with any body PostCardSuspensionResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCardSuspensionResource(ctx context.Context, cardId string, body PostCardSuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCardTerminationResource request with any body PostCardTerminationResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCardTerminationResource(ctx context.Context, cardId string, body PostCardTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCardUnsuspensionResource request with any body PostCardUnsuspensionResourceWithBody(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCardUnsuspensionResource(ctx context.Context, cardId string, body PostCardUnsuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCashbackListWithPagination request GetCashbackListWithPagination(ctx context.Context, params *GetCashbackListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCashbackResource request GetCashbackResource(ctx context.Context, cashbackId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDepartmentListWithPagination request GetDepartmentListWithPagination(ctx context.Context, params *GetDepartmentListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostDepartmentListWithPagination request with any body PostDepartmentListWithPaginationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostDepartmentListWithPagination(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDepartmentResource request GetDepartmentResource(ctx context.Context, departmentUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchDepartmentResource request with any body PatchDepartmentResourceWithBody(ctx context.Context, departmentUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchDepartmentResource(ctx context.Context, departmentUuid string, body PatchDepartmentResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSalesLeadCreation request with any body PostSalesLeadCreationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSalesLeadCreation(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSalesLeadResource request GetSalesLeadResource(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSalesLeadDocumentUpload request PostSalesLeadDocumentUpload(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSpendLimitListWithPagination request GetSpendLimitListWithPagination(ctx context.Context, params *GetSpendLimitListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSpendLimitCreation request with any body PostSpendLimitCreationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSpendLimitCreation(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSpendLimitDeferredTaskStatus request GetSpendLimitDeferredTaskStatus(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSpendLimitResource request GetSpendLimitResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchSpendLimitResource request PatchSpendLimitResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSpendLimitTerminationResource request with any body PostSpendLimitTerminationResourceWithBody(ctx context.Context, spendLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSpendLimitTerminationResource(ctx context.Context, spendLimitId string, body PostSpendLimitTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSpendLimitSuspensionResource request PostSpendLimitSuspensionResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSpendLimitUnsuspensionResource request PostSpendLimitUnsuspensionResource(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLocationListResource request GetLocationListResource(ctx context.Context, params *GetLocationListResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostLocationListResource request with any body PostLocationListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostLocationListResource(ctx context.Context, body PostLocationListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLocationSingleResource request GetLocationSingleResource(ctx context.Context, locationUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchLocationSingleResource request with any body PatchLocationSingleResourceWithBody(ctx context.Context, locationUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchLocationSingleResource(ctx context.Context, locationUuid string, body PatchLocationSingleResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMemoListWithPagination request GetMemoListWithPagination(ctx context.Context, params *GetMemoListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMemoSingleResource request GetMemoSingleResource(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMerchantListWithPagination request GetMerchantListWithPagination(ctx context.Context, params *GetMerchantListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReceiptIntegrationOptedOutEmailsListResource request with any body GetReceiptIntegrationOptedOutEmailsListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, body GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostReceiptIntegrationOptedOutEmailsListResource request with any body PostReceiptIntegrationOptedOutEmailsListResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostReceiptIntegrationOptedOutEmailsListResource(ctx context.Context, body PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteReceiptIntegrationOptedOutEmailsDeleteResource request DeleteReceiptIntegrationOptedOutEmailsDeleteResource(ctx context.Context, mailboxOptedOutEmailUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReceiptListWithPagination request GetReceiptListWithPagination(ctx context.Context, params *GetReceiptListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReceiptSingleResource request GetReceiptSingleResource(ctx context.Context, receiptId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReimbursementListWithPagination request GetReimbursementListWithPagination(ctx context.Context, params *GetReimbursementListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReimbursementResource request GetReimbursementResource(ctx context.Context, reimbursementId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSpendProgramResource request GetSpendProgramResource(ctx context.Context, params *GetSpendProgramResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSpendProgramResource request with any body PostSpendProgramResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostSpendProgramResource(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSpendProgramSingleResource request GetSpendProgramSingleResource(ctx context.Context, spendProgramId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatementListWithPagination request GetStatementListWithPagination(ctx context.Context, params *GetStatementListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatementResource request GetStatementResource(ctx context.Context, statementId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTransactionsCanonicalListWithPagination request GetTransactionsCanonicalListWithPagination(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTransactionCanonicalResource request GetTransactionCanonicalResource(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTransferListWithPagination request GetTransferListWithPagination(ctx context.Context, params *GetTransferListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTransferResource request GetTransferResource(ctx context.Context, transferId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUserListWithPagination request GetUserListWithPagination(ctx context.Context, params *GetUserListWithPaginationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostUserCreationDeferredTask request with any body PostUserCreationDeferredTaskWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostUserCreationDeferredTask(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUserDeferredTaskResource request GetUserDeferredTaskResource(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteUserResource request DeleteUserResource(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUserResource request GetUserResource(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchUserResource request with any body PatchUserResourceWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchUserResource(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteAccountingConnectionResouceWithResponse ¶
func (c *ClientWithResponses) DeleteAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountingConnectionResouceResponse, error)
DeleteAccountingConnectionResouceWithResponse request returning *DeleteAccountingConnectionResouceResponse
func (*ClientWithResponses) DeleteCustomFieldOptionResourceWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResourceResponse, error)
DeleteCustomFieldOptionResourceWithResponse request returning *DeleteCustomFieldOptionResourceResponse
func (*ClientWithResponses) DeleteCustomFieldResourceWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResourceResponse, error)
DeleteCustomFieldResourceWithResponse request returning *DeleteCustomFieldResourceResponse
func (*ClientWithResponses) DeleteGlAccountResourceWithResponse ¶
func (c *ClientWithResponses) DeleteGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*DeleteGlAccountResourceResponse, error)
DeleteGlAccountResourceWithResponse request returning *DeleteGlAccountResourceResponse
func (*ClientWithResponses) DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse ¶
func (c *ClientWithResponses) DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse(ctx context.Context, mailboxOptedOutEmailUuid string, reqEditors ...RequestEditorFn) (*DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse, error)
DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse request returning *DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse
func (*ClientWithResponses) DeleteSubsidiaryResourceWithResponse ¶
func (c *ClientWithResponses) DeleteSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*DeleteSubsidiaryResourceResponse, error)
DeleteSubsidiaryResourceWithResponse request returning *DeleteSubsidiaryResourceResponse
func (*ClientWithResponses) DeleteUserResourceWithResponse ¶
func (c *ClientWithResponses) DeleteUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResourceResponse, error)
DeleteUserResourceWithResponse request returning *DeleteUserResourceResponse
func (*ClientWithResponses) DeleteVendorResourceWithResponse ¶
func (c *ClientWithResponses) DeleteVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*DeleteVendorResourceResponse, error)
DeleteVendorResourceWithResponse request returning *DeleteVendorResourceResponse
func (*ClientWithResponses) GetAccountingConnectionResouceWithResponse ¶
func (c *ClientWithResponses) GetAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountingConnectionResouceResponse, error)
GetAccountingConnectionResouceWithResponse request returning *GetAccountingConnectionResouceResponse
func (*ClientWithResponses) GetBusinessBalanceResourceWithResponse ¶
func (c *ClientWithResponses) GetBusinessBalanceResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessBalanceResourceResponse, error)
GetBusinessBalanceResourceWithResponse request returning *GetBusinessBalanceResourceResponse
func (*ClientWithResponses) GetBusinessResourceWithResponse ¶
func (c *ClientWithResponses) GetBusinessResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessResourceResponse, error)
GetBusinessResourceWithResponse request returning *GetBusinessResourceResponse
func (*ClientWithResponses) GetCardDeferredTaskResourceWithResponse ¶
func (c *ClientWithResponses) GetCardDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetCardDeferredTaskResourceResponse, error)
GetCardDeferredTaskResourceWithResponse request returning *GetCardDeferredTaskResourceResponse
func (*ClientWithResponses) GetCardListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetCardListWithPaginationWithResponse(ctx context.Context, params *GetCardListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetCardListWithPaginationResponse, error)
GetCardListWithPaginationWithResponse request returning *GetCardListWithPaginationResponse
func (*ClientWithResponses) GetCardProgramListDeprecatedWithResponse ¶
func (c *ClientWithResponses) GetCardProgramListDeprecatedWithResponse(ctx context.Context, params *GetCardProgramListDeprecatedParams, reqEditors ...RequestEditorFn) (*GetCardProgramListDeprecatedResponse, error)
GetCardProgramListDeprecatedWithResponse request returning *GetCardProgramListDeprecatedResponse
func (*ClientWithResponses) GetCardProgramResourceDeprecatedWithResponse ¶
func (c *ClientWithResponses) GetCardProgramResourceDeprecatedWithResponse(ctx context.Context, cardProgramId string, reqEditors ...RequestEditorFn) (*GetCardProgramResourceDeprecatedResponse, error)
GetCardProgramResourceDeprecatedWithResponse request returning *GetCardProgramResourceDeprecatedResponse
func (*ClientWithResponses) GetCardResourceWithResponse ¶
func (c *ClientWithResponses) GetCardResourceWithResponse(ctx context.Context, cardId string, reqEditors ...RequestEditorFn) (*GetCardResourceResponse, error)
GetCardResourceWithResponse request returning *GetCardResourceResponse
func (*ClientWithResponses) GetCashbackListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetCashbackListWithPaginationWithResponse(ctx context.Context, params *GetCashbackListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetCashbackListWithPaginationResponse, error)
GetCashbackListWithPaginationWithResponse request returning *GetCashbackListWithPaginationResponse
func (*ClientWithResponses) GetCashbackResourceWithResponse ¶
func (c *ClientWithResponses) GetCashbackResourceWithResponse(ctx context.Context, cashbackId string, reqEditors ...RequestEditorFn) (*GetCashbackResourceResponse, error)
GetCashbackResourceWithResponse request returning *GetCashbackResourceResponse
func (*ClientWithResponses) GetCustomFieldListResourceWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldListResourceWithResponse(ctx context.Context, params *GetCustomFieldListResourceParams, reqEditors ...RequestEditorFn) (*GetCustomFieldListResourceResponse, error)
GetCustomFieldListResourceWithResponse request returning *GetCustomFieldListResourceResponse
func (*ClientWithResponses) GetCustomFieldOptionListResourceWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldOptionListResourceWithResponse(ctx context.Context, params *GetCustomFieldOptionListResourceParams, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionListResourceResponse, error)
GetCustomFieldOptionListResourceWithResponse request returning *GetCustomFieldOptionListResourceResponse
func (*ClientWithResponses) GetCustomFieldOptionResourceWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResourceResponse, error)
GetCustomFieldOptionResourceWithResponse request returning *GetCustomFieldOptionResourceResponse
func (*ClientWithResponses) GetCustomFieldResourceWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*GetCustomFieldResourceResponse, error)
GetCustomFieldResourceWithResponse request returning *GetCustomFieldResourceResponse
func (*ClientWithResponses) GetDepartmentListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetDepartmentListWithPaginationWithResponse(ctx context.Context, params *GetDepartmentListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetDepartmentListWithPaginationResponse, error)
GetDepartmentListWithPaginationWithResponse request returning *GetDepartmentListWithPaginationResponse
func (*ClientWithResponses) GetDepartmentResourceWithResponse ¶
func (c *ClientWithResponses) GetDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, reqEditors ...RequestEditorFn) (*GetDepartmentResourceResponse, error)
GetDepartmentResourceWithResponse request returning *GetDepartmentResourceResponse
func (*ClientWithResponses) GetGlAccountListResourceWithResponse ¶
func (c *ClientWithResponses) GetGlAccountListResourceWithResponse(ctx context.Context, params *GetGlAccountListResourceParams, reqEditors ...RequestEditorFn) (*GetGlAccountListResourceResponse, error)
GetGlAccountListResourceWithResponse request returning *GetGlAccountListResourceResponse
func (*ClientWithResponses) GetGlAccountResourceWithResponse ¶
func (c *ClientWithResponses) GetGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*GetGlAccountResourceResponse, error)
GetGlAccountResourceWithResponse request returning *GetGlAccountResourceResponse
func (*ClientWithResponses) GetLocationListResourceWithResponse ¶
func (c *ClientWithResponses) GetLocationListResourceWithResponse(ctx context.Context, params *GetLocationListResourceParams, reqEditors ...RequestEditorFn) (*GetLocationListResourceResponse, error)
GetLocationListResourceWithResponse request returning *GetLocationListResourceResponse
func (*ClientWithResponses) GetLocationSingleResourceWithResponse ¶
func (c *ClientWithResponses) GetLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, reqEditors ...RequestEditorFn) (*GetLocationSingleResourceResponse, error)
GetLocationSingleResourceWithResponse request returning *GetLocationSingleResourceResponse
func (*ClientWithResponses) GetMemoListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetMemoListWithPaginationWithResponse(ctx context.Context, params *GetMemoListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetMemoListWithPaginationResponse, error)
GetMemoListWithPaginationWithResponse request returning *GetMemoListWithPaginationResponse
func (*ClientWithResponses) GetMemoSingleResourceWithResponse ¶
func (c *ClientWithResponses) GetMemoSingleResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetMemoSingleResourceResponse, error)
GetMemoSingleResourceWithResponse request returning *GetMemoSingleResourceResponse
func (*ClientWithResponses) GetMerchantListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetMerchantListWithPaginationWithResponse(ctx context.Context, params *GetMerchantListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetMerchantListWithPaginationResponse, error)
GetMerchantListWithPaginationWithResponse request returning *GetMerchantListWithPaginationResponse
func (*ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error)
GetReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse request with arbitrary body returning *GetReceiptIntegrationOptedOutEmailsListResourceResponse
func (*ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithResponse ¶
func (c *ClientWithResponses) GetReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, body GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error)
func (*ClientWithResponses) GetReceiptListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetReceiptListWithPaginationWithResponse(ctx context.Context, params *GetReceiptListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetReceiptListWithPaginationResponse, error)
GetReceiptListWithPaginationWithResponse request returning *GetReceiptListWithPaginationResponse
func (*ClientWithResponses) GetReceiptSingleResourceWithResponse ¶
func (c *ClientWithResponses) GetReceiptSingleResourceWithResponse(ctx context.Context, receiptId string, reqEditors ...RequestEditorFn) (*GetReceiptSingleResourceResponse, error)
GetReceiptSingleResourceWithResponse request returning *GetReceiptSingleResourceResponse
func (*ClientWithResponses) GetReimbursementListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetReimbursementListWithPaginationWithResponse(ctx context.Context, params *GetReimbursementListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetReimbursementListWithPaginationResponse, error)
GetReimbursementListWithPaginationWithResponse request returning *GetReimbursementListWithPaginationResponse
func (*ClientWithResponses) GetReimbursementResourceWithResponse ¶
func (c *ClientWithResponses) GetReimbursementResourceWithResponse(ctx context.Context, reimbursementId string, reqEditors ...RequestEditorFn) (*GetReimbursementResourceResponse, error)
GetReimbursementResourceWithResponse request returning *GetReimbursementResourceResponse
func (*ClientWithResponses) GetSalesLeadResourceWithResponse ¶
func (c *ClientWithResponses) GetSalesLeadResourceWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*GetSalesLeadResourceResponse, error)
GetSalesLeadResourceWithResponse request returning *GetSalesLeadResourceResponse
func (*ClientWithResponses) GetSpendLimitDeferredTaskStatusWithResponse ¶
func (c *ClientWithResponses) GetSpendLimitDeferredTaskStatusWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetSpendLimitDeferredTaskStatusResponse, error)
GetSpendLimitDeferredTaskStatusWithResponse request returning *GetSpendLimitDeferredTaskStatusResponse
func (*ClientWithResponses) GetSpendLimitListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetSpendLimitListWithPaginationWithResponse(ctx context.Context, params *GetSpendLimitListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetSpendLimitListWithPaginationResponse, error)
GetSpendLimitListWithPaginationWithResponse request returning *GetSpendLimitListWithPaginationResponse
func (*ClientWithResponses) GetSpendLimitResourceWithResponse ¶
func (c *ClientWithResponses) GetSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*GetSpendLimitResourceResponse, error)
GetSpendLimitResourceWithResponse request returning *GetSpendLimitResourceResponse
func (*ClientWithResponses) GetSpendProgramResourceWithResponse ¶
func (c *ClientWithResponses) GetSpendProgramResourceWithResponse(ctx context.Context, params *GetSpendProgramResourceParams, reqEditors ...RequestEditorFn) (*GetSpendProgramResourceResponse, error)
GetSpendProgramResourceWithResponse request returning *GetSpendProgramResourceResponse
func (*ClientWithResponses) GetSpendProgramSingleResourceWithResponse ¶
func (c *ClientWithResponses) GetSpendProgramSingleResourceWithResponse(ctx context.Context, spendProgramId string, reqEditors ...RequestEditorFn) (*GetSpendProgramSingleResourceResponse, error)
GetSpendProgramSingleResourceWithResponse request returning *GetSpendProgramSingleResourceResponse
func (*ClientWithResponses) GetStatementListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetStatementListWithPaginationWithResponse(ctx context.Context, params *GetStatementListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetStatementListWithPaginationResponse, error)
GetStatementListWithPaginationWithResponse request returning *GetStatementListWithPaginationResponse
func (*ClientWithResponses) GetStatementResourceWithResponse ¶
func (c *ClientWithResponses) GetStatementResourceWithResponse(ctx context.Context, statementId string, reqEditors ...RequestEditorFn) (*GetStatementResourceResponse, error)
GetStatementResourceWithResponse request returning *GetStatementResourceResponse
func (*ClientWithResponses) GetSubsidiaryListResourceWithResponse ¶
func (c *ClientWithResponses) GetSubsidiaryListResourceWithResponse(ctx context.Context, params *GetSubsidiaryListResourceParams, reqEditors ...RequestEditorFn) (*GetSubsidiaryListResourceResponse, error)
GetSubsidiaryListResourceWithResponse request returning *GetSubsidiaryListResourceResponse
func (*ClientWithResponses) GetSubsidiaryResourceWithResponse ¶
func (c *ClientWithResponses) GetSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*GetSubsidiaryResourceResponse, error)
GetSubsidiaryResourceWithResponse request returning *GetSubsidiaryResourceResponse
func (*ClientWithResponses) GetSyncResourceWithResponse ¶
func (c *ClientWithResponses) GetSyncResourceWithResponse(ctx context.Context, syncId string, reqEditors ...RequestEditorFn) (*GetSyncResourceResponse, error)
GetSyncResourceWithResponse request returning *GetSyncResourceResponse
func (*ClientWithResponses) GetTransactionCanonicalResourceWithResponse ¶
func (c *ClientWithResponses) GetTransactionCanonicalResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetTransactionCanonicalResourceResponse, error)
GetTransactionCanonicalResourceWithResponse request returning *GetTransactionCanonicalResourceResponse
func (*ClientWithResponses) GetTransactionsCanonicalListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetTransactionsCanonicalListWithPaginationWithResponse(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetTransactionsCanonicalListWithPaginationResponse, error)
GetTransactionsCanonicalListWithPaginationWithResponse request returning *GetTransactionsCanonicalListWithPaginationResponse
func (*ClientWithResponses) GetTransferListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetTransferListWithPaginationWithResponse(ctx context.Context, params *GetTransferListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetTransferListWithPaginationResponse, error)
GetTransferListWithPaginationWithResponse request returning *GetTransferListWithPaginationResponse
func (*ClientWithResponses) GetTransferResourceWithResponse ¶
func (c *ClientWithResponses) GetTransferResourceWithResponse(ctx context.Context, transferId string, reqEditors ...RequestEditorFn) (*GetTransferResourceResponse, error)
GetTransferResourceWithResponse request returning *GetTransferResourceResponse
func (*ClientWithResponses) GetUserDeferredTaskResourceWithResponse ¶
func (c *ClientWithResponses) GetUserDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetUserDeferredTaskResourceResponse, error)
GetUserDeferredTaskResourceWithResponse request returning *GetUserDeferredTaskResourceResponse
func (*ClientWithResponses) GetUserListWithPaginationWithResponse ¶
func (c *ClientWithResponses) GetUserListWithPaginationWithResponse(ctx context.Context, params *GetUserListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetUserListWithPaginationResponse, error)
GetUserListWithPaginationWithResponse request returning *GetUserListWithPaginationResponse
func (*ClientWithResponses) GetUserResourceWithResponse ¶
func (c *ClientWithResponses) GetUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResourceResponse, error)
GetUserResourceWithResponse request returning *GetUserResourceResponse
func (*ClientWithResponses) GetVendorListResourceWithResponse ¶
func (c *ClientWithResponses) GetVendorListResourceWithResponse(ctx context.Context, params *GetVendorListResourceParams, reqEditors ...RequestEditorFn) (*GetVendorListResourceResponse, error)
GetVendorListResourceWithResponse request returning *GetVendorListResourceResponse
func (*ClientWithResponses) GetVendorResourceWithResponse ¶
func (c *ClientWithResponses) GetVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*GetVendorResourceResponse, error)
GetVendorResourceWithResponse request returning *GetVendorResourceResponse
func (*ClientWithResponses) PatchCardResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchCardResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCardResourceResponse, error)
PatchCardResourceWithBodyWithResponse request with arbitrary body returning *PatchCardResourceResponse
func (*ClientWithResponses) PatchCardResourceWithResponse ¶
func (c *ClientWithResponses) PatchCardResourceWithResponse(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCardResourceResponse, error)
func (*ClientWithResponses) PatchCustomFieldOptionResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchCustomFieldOptionResourceWithBodyWithResponse(ctx context.Context, fieldOptionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldOptionResourceResponse, error)
PatchCustomFieldOptionResourceWithBodyWithResponse request with arbitrary body returning *PatchCustomFieldOptionResourceResponse
func (*ClientWithResponses) PatchCustomFieldOptionResourceWithResponse ¶
func (c *ClientWithResponses) PatchCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, body PatchCustomFieldOptionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldOptionResourceResponse, error)
func (*ClientWithResponses) PatchCustomFieldResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchCustomFieldResourceWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldResourceResponse, error)
PatchCustomFieldResourceWithBodyWithResponse request with arbitrary body returning *PatchCustomFieldResourceResponse
func (*ClientWithResponses) PatchCustomFieldResourceWithResponse ¶
func (c *ClientWithResponses) PatchCustomFieldResourceWithResponse(ctx context.Context, fieldId string, body PatchCustomFieldResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldResourceResponse, error)
func (*ClientWithResponses) PatchDepartmentResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchDepartmentResourceWithBodyWithResponse(ctx context.Context, departmentUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDepartmentResourceResponse, error)
PatchDepartmentResourceWithBodyWithResponse request with arbitrary body returning *PatchDepartmentResourceResponse
func (*ClientWithResponses) PatchDepartmentResourceWithResponse ¶
func (c *ClientWithResponses) PatchDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, body PatchDepartmentResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDepartmentResourceResponse, error)
func (*ClientWithResponses) PatchGlAccountResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchGlAccountResourceWithBodyWithResponse(ctx context.Context, glAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchGlAccountResourceResponse, error)
PatchGlAccountResourceWithBodyWithResponse request with arbitrary body returning *PatchGlAccountResourceResponse
func (*ClientWithResponses) PatchGlAccountResourceWithResponse ¶
func (c *ClientWithResponses) PatchGlAccountResourceWithResponse(ctx context.Context, glAccountId string, body PatchGlAccountResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchGlAccountResourceResponse, error)
func (*ClientWithResponses) PatchLocationSingleResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchLocationSingleResourceWithBodyWithResponse(ctx context.Context, locationUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLocationSingleResourceResponse, error)
PatchLocationSingleResourceWithBodyWithResponse request with arbitrary body returning *PatchLocationSingleResourceResponse
func (*ClientWithResponses) PatchLocationSingleResourceWithResponse ¶
func (c *ClientWithResponses) PatchLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, body PatchLocationSingleResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLocationSingleResourceResponse, error)
func (*ClientWithResponses) PatchSpendLimitResourceWithResponse ¶
func (c *ClientWithResponses) PatchSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PatchSpendLimitResourceResponse, error)
PatchSpendLimitResourceWithResponse request returning *PatchSpendLimitResourceResponse
func (*ClientWithResponses) PatchSubsidiaryResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchSubsidiaryResourceWithBodyWithResponse(ctx context.Context, subsidiaryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSubsidiaryResourceResponse, error)
PatchSubsidiaryResourceWithBodyWithResponse request with arbitrary body returning *PatchSubsidiaryResourceResponse
func (*ClientWithResponses) PatchSubsidiaryResourceWithResponse ¶
func (c *ClientWithResponses) PatchSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, body PatchSubsidiaryResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSubsidiaryResourceResponse, error)
func (*ClientWithResponses) PatchUserResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchUserResourceWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUserResourceResponse, error)
PatchUserResourceWithBodyWithResponse request with arbitrary body returning *PatchUserResourceResponse
func (*ClientWithResponses) PatchUserResourceWithResponse ¶
func (c *ClientWithResponses) PatchUserResourceWithResponse(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUserResourceResponse, error)
func (*ClientWithResponses) PatchVendorResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchVendorResourceWithBodyWithResponse(ctx context.Context, vendorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchVendorResourceResponse, error)
PatchVendorResourceWithBodyWithResponse request with arbitrary body returning *PatchVendorResourceResponse
func (*ClientWithResponses) PatchVendorResourceWithResponse ¶
func (c *ClientWithResponses) PatchVendorResourceWithResponse(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchVendorResourceResponse, error)
func (*ClientWithResponses) PostAccountingConnectionResouceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAccountingConnectionResouceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountingConnectionResouceResponse, error)
PostAccountingConnectionResouceWithBodyWithResponse request with arbitrary body returning *PostAccountingConnectionResouceResponse
func (*ClientWithResponses) PostAccountingConnectionResouceWithResponse ¶
func (c *ClientWithResponses) PostAccountingConnectionResouceWithResponse(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountingConnectionResouceResponse, error)
func (*ClientWithResponses) PostCardProgramListDeprecatedWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCardProgramListDeprecatedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardProgramListDeprecatedResponse, error)
PostCardProgramListDeprecatedWithBodyWithResponse request with arbitrary body returning *PostCardProgramListDeprecatedResponse
func (*ClientWithResponses) PostCardProgramListDeprecatedWithResponse ¶
func (c *ClientWithResponses) PostCardProgramListDeprecatedWithResponse(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardProgramListDeprecatedResponse, error)
func (*ClientWithResponses) PostCardSuspensionResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCardSuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardSuspensionResourceResponse, error)
PostCardSuspensionResourceWithBodyWithResponse request with arbitrary body returning *PostCardSuspensionResourceResponse
func (*ClientWithResponses) PostCardSuspensionResourceWithResponse ¶
func (c *ClientWithResponses) PostCardSuspensionResourceWithResponse(ctx context.Context, cardId string, body PostCardSuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardSuspensionResourceResponse, error)
func (*ClientWithResponses) PostCardTerminationResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCardTerminationResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardTerminationResourceResponse, error)
PostCardTerminationResourceWithBodyWithResponse request with arbitrary body returning *PostCardTerminationResourceResponse
func (*ClientWithResponses) PostCardTerminationResourceWithResponse ¶
func (c *ClientWithResponses) PostCardTerminationResourceWithResponse(ctx context.Context, cardId string, body PostCardTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardTerminationResourceResponse, error)
func (*ClientWithResponses) PostCardUnsuspensionResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCardUnsuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardUnsuspensionResourceResponse, error)
PostCardUnsuspensionResourceWithBodyWithResponse request with arbitrary body returning *PostCardUnsuspensionResourceResponse
func (*ClientWithResponses) PostCardUnsuspensionResourceWithResponse ¶
func (c *ClientWithResponses) PostCardUnsuspensionResourceWithResponse(ctx context.Context, cardId string, body PostCardUnsuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardUnsuspensionResourceResponse, error)
func (*ClientWithResponses) PostCustomFieldListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCustomFieldListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomFieldListResourceResponse, error)
PostCustomFieldListResourceWithBodyWithResponse request with arbitrary body returning *PostCustomFieldListResourceResponse
func (*ClientWithResponses) PostCustomFieldListResourceWithResponse ¶
func (c *ClientWithResponses) PostCustomFieldListResourceWithResponse(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomFieldListResourceResponse, error)
func (*ClientWithResponses) PostCustomFieldOptionListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCustomFieldOptionListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomFieldOptionListResourceResponse, error)
PostCustomFieldOptionListResourceWithBodyWithResponse request with arbitrary body returning *PostCustomFieldOptionListResourceResponse
func (*ClientWithResponses) PostCustomFieldOptionListResourceWithResponse ¶
func (c *ClientWithResponses) PostCustomFieldOptionListResourceWithResponse(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomFieldOptionListResourceResponse, error)
func (*ClientWithResponses) PostDepartmentListWithPaginationWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDepartmentListWithPaginationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDepartmentListWithPaginationResponse, error)
PostDepartmentListWithPaginationWithBodyWithResponse request with arbitrary body returning *PostDepartmentListWithPaginationResponse
func (*ClientWithResponses) PostDepartmentListWithPaginationWithResponse ¶
func (c *ClientWithResponses) PostDepartmentListWithPaginationWithResponse(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDepartmentListWithPaginationResponse, error)
func (*ClientWithResponses) PostGlAccountListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostGlAccountListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGlAccountListResourceResponse, error)
PostGlAccountListResourceWithBodyWithResponse request with arbitrary body returning *PostGlAccountListResourceResponse
func (*ClientWithResponses) PostGlAccountListResourceWithResponse ¶
func (c *ClientWithResponses) PostGlAccountListResourceWithResponse(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGlAccountListResourceResponse, error)
func (*ClientWithResponses) PostLocationListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostLocationListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLocationListResourceResponse, error)
PostLocationListResourceWithBodyWithResponse request with arbitrary body returning *PostLocationListResourceResponse
func (*ClientWithResponses) PostLocationListResourceWithResponse ¶
func (c *ClientWithResponses) PostLocationListResourceWithResponse(ctx context.Context, body PostLocationListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLocationListResourceResponse, error)
func (*ClientWithResponses) PostPhysicalCardWithBodyWithResponse ¶
func (c *ClientWithResponses) PostPhysicalCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPhysicalCardResponse, error)
PostPhysicalCardWithBodyWithResponse request with arbitrary body returning *PostPhysicalCardResponse
func (*ClientWithResponses) PostPhysicalCardWithResponse ¶
func (c *ClientWithResponses) PostPhysicalCardWithResponse(ctx context.Context, body PostPhysicalCardJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPhysicalCardResponse, error)
func (*ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error)
PostReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse request with arbitrary body returning *PostReceiptIntegrationOptedOutEmailsListResourceResponse
func (*ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithResponse ¶
func (c *ClientWithResponses) PostReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, body PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error)
func (*ClientWithResponses) PostSalesLeadCreationWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSalesLeadCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSalesLeadCreationResponse, error)
PostSalesLeadCreationWithBodyWithResponse request with arbitrary body returning *PostSalesLeadCreationResponse
func (*ClientWithResponses) PostSalesLeadCreationWithResponse ¶
func (c *ClientWithResponses) PostSalesLeadCreationWithResponse(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSalesLeadCreationResponse, error)
func (*ClientWithResponses) PostSalesLeadDocumentUploadWithResponse ¶
func (c *ClientWithResponses) PostSalesLeadDocumentUploadWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*PostSalesLeadDocumentUploadResponse, error)
PostSalesLeadDocumentUploadWithResponse request returning *PostSalesLeadDocumentUploadResponse
func (*ClientWithResponses) PostSpendLimitCreationWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendLimitCreationResponse, error)
PostSpendLimitCreationWithBodyWithResponse request with arbitrary body returning *PostSpendLimitCreationResponse
func (*ClientWithResponses) PostSpendLimitCreationWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitCreationWithResponse(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendLimitCreationResponse, error)
func (*ClientWithResponses) PostSpendLimitSuspensionResourceWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitSuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitSuspensionResourceResponse, error)
PostSpendLimitSuspensionResourceWithResponse request returning *PostSpendLimitSuspensionResourceResponse
func (*ClientWithResponses) PostSpendLimitTerminationResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitTerminationResourceWithBodyWithResponse(ctx context.Context, spendLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendLimitTerminationResourceResponse, error)
PostSpendLimitTerminationResourceWithBodyWithResponse request with arbitrary body returning *PostSpendLimitTerminationResourceResponse
func (*ClientWithResponses) PostSpendLimitTerminationResourceWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitTerminationResourceWithResponse(ctx context.Context, spendLimitId string, body PostSpendLimitTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendLimitTerminationResourceResponse, error)
func (*ClientWithResponses) PostSpendLimitUnsuspensionResourceWithResponse ¶
func (c *ClientWithResponses) PostSpendLimitUnsuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitUnsuspensionResourceResponse, error)
PostSpendLimitUnsuspensionResourceWithResponse request returning *PostSpendLimitUnsuspensionResourceResponse
func (*ClientWithResponses) PostSpendProgramResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSpendProgramResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendProgramResourceResponse, error)
PostSpendProgramResourceWithBodyWithResponse request with arbitrary body returning *PostSpendProgramResourceResponse
func (*ClientWithResponses) PostSpendProgramResourceWithResponse ¶
func (c *ClientWithResponses) PostSpendProgramResourceWithResponse(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendProgramResourceResponse, error)
func (*ClientWithResponses) PostSubsidiaryListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSubsidiaryListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSubsidiaryListResourceResponse, error)
PostSubsidiaryListResourceWithBodyWithResponse request with arbitrary body returning *PostSubsidiaryListResourceResponse
func (*ClientWithResponses) PostSubsidiaryListResourceWithResponse ¶
func (c *ClientWithResponses) PostSubsidiaryListResourceWithResponse(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSubsidiaryListResourceResponse, error)
func (*ClientWithResponses) PostSyncListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostSyncListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSyncListResourceResponse, error)
PostSyncListResourceWithBodyWithResponse request with arbitrary body returning *PostSyncListResourceResponse
func (*ClientWithResponses) PostSyncListResourceWithResponse ¶
func (c *ClientWithResponses) PostSyncListResourceWithResponse(ctx context.Context, body PostSyncListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSyncListResourceResponse, error)
func (*ClientWithResponses) PostUserCreationDeferredTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) PostUserCreationDeferredTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserCreationDeferredTaskResponse, error)
PostUserCreationDeferredTaskWithBodyWithResponse request with arbitrary body returning *PostUserCreationDeferredTaskResponse
func (*ClientWithResponses) PostUserCreationDeferredTaskWithResponse ¶
func (c *ClientWithResponses) PostUserCreationDeferredTaskWithResponse(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserCreationDeferredTaskResponse, error)
func (*ClientWithResponses) PostVendorListResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostVendorListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVendorListResourceResponse, error)
PostVendorListResourceWithBodyWithResponse request with arbitrary body returning *PostVendorListResourceResponse
func (*ClientWithResponses) PostVendorListResourceWithResponse ¶
func (c *ClientWithResponses) PostVendorListResourceWithResponse(ctx context.Context, body PostVendorListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVendorListResourceResponse, error)
func (*ClientWithResponses) PostVirtualCardWithBodyWithResponse ¶
func (c *ClientWithResponses) PostVirtualCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVirtualCardResponse, error)
PostVirtualCardWithBodyWithResponse request with arbitrary body returning *PostVirtualCardResponse
func (*ClientWithResponses) PostVirtualCardWithResponse ¶
func (c *ClientWithResponses) PostVirtualCardWithResponse(ctx context.Context, body PostVirtualCardJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVirtualCardResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetGlAccountListResource request GetGlAccountListResourceWithResponse(ctx context.Context, params *GetGlAccountListResourceParams, reqEditors ...RequestEditorFn) (*GetGlAccountListResourceResponse, error) // PostGlAccountListResource request with any body PostGlAccountListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGlAccountListResourceResponse, error) PostGlAccountListResourceWithResponse(ctx context.Context, body PostGlAccountListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGlAccountListResourceResponse, error) // DeleteGlAccountResource request DeleteGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*DeleteGlAccountResourceResponse, error) // GetGlAccountResource request GetGlAccountResourceWithResponse(ctx context.Context, glAccountId string, reqEditors ...RequestEditorFn) (*GetGlAccountResourceResponse, error) // PatchGlAccountResource request with any body PatchGlAccountResourceWithBodyWithResponse(ctx context.Context, glAccountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchGlAccountResourceResponse, error) PatchGlAccountResourceWithResponse(ctx context.Context, glAccountId string, body PatchGlAccountResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchGlAccountResourceResponse, error) // DeleteAccountingConnectionResouce request DeleteAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountingConnectionResouceResponse, error) // GetAccountingConnectionResouce request GetAccountingConnectionResouceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountingConnectionResouceResponse, error) // PostAccountingConnectionResouce request with any body PostAccountingConnectionResouceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountingConnectionResouceResponse, error) PostAccountingConnectionResouceWithResponse(ctx context.Context, body PostAccountingConnectionResouceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountingConnectionResouceResponse, error) // GetCustomFieldOptionListResource request GetCustomFieldOptionListResourceWithResponse(ctx context.Context, params *GetCustomFieldOptionListResourceParams, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionListResourceResponse, error) // PostCustomFieldOptionListResource request with any body PostCustomFieldOptionListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomFieldOptionListResourceResponse, error) PostCustomFieldOptionListResourceWithResponse(ctx context.Context, body PostCustomFieldOptionListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomFieldOptionListResourceResponse, error) // DeleteCustomFieldOptionResource request DeleteCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResourceResponse, error) // GetCustomFieldOptionResource request GetCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResourceResponse, error) // PatchCustomFieldOptionResource request with any body PatchCustomFieldOptionResourceWithBodyWithResponse(ctx context.Context, fieldOptionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldOptionResourceResponse, error) PatchCustomFieldOptionResourceWithResponse(ctx context.Context, fieldOptionId string, body PatchCustomFieldOptionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldOptionResourceResponse, error) // GetCustomFieldListResource request GetCustomFieldListResourceWithResponse(ctx context.Context, params *GetCustomFieldListResourceParams, reqEditors ...RequestEditorFn) (*GetCustomFieldListResourceResponse, error) // PostCustomFieldListResource request with any body PostCustomFieldListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCustomFieldListResourceResponse, error) PostCustomFieldListResourceWithResponse(ctx context.Context, body PostCustomFieldListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCustomFieldListResourceResponse, error) // DeleteCustomFieldResource request DeleteCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResourceResponse, error) // GetCustomFieldResource request GetCustomFieldResourceWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*GetCustomFieldResourceResponse, error) // PatchCustomFieldResource request with any body PatchCustomFieldResourceWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldResourceResponse, error) PatchCustomFieldResourceWithResponse(ctx context.Context, fieldId string, body PatchCustomFieldResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldResourceResponse, error) // GetSubsidiaryListResource request GetSubsidiaryListResourceWithResponse(ctx context.Context, params *GetSubsidiaryListResourceParams, reqEditors ...RequestEditorFn) (*GetSubsidiaryListResourceResponse, error) // PostSubsidiaryListResource request with any body PostSubsidiaryListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSubsidiaryListResourceResponse, error) PostSubsidiaryListResourceWithResponse(ctx context.Context, body PostSubsidiaryListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSubsidiaryListResourceResponse, error) // DeleteSubsidiaryResource request DeleteSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*DeleteSubsidiaryResourceResponse, error) // GetSubsidiaryResource request GetSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, reqEditors ...RequestEditorFn) (*GetSubsidiaryResourceResponse, error) // PatchSubsidiaryResource request with any body PatchSubsidiaryResourceWithBodyWithResponse(ctx context.Context, subsidiaryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSubsidiaryResourceResponse, error) PatchSubsidiaryResourceWithResponse(ctx context.Context, subsidiaryId string, body PatchSubsidiaryResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSubsidiaryResourceResponse, error) // PostSyncListResource request with any body PostSyncListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSyncListResourceResponse, error) PostSyncListResourceWithResponse(ctx context.Context, body PostSyncListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSyncListResourceResponse, error) // GetSyncResource request GetSyncResourceWithResponse(ctx context.Context, syncId string, reqEditors ...RequestEditorFn) (*GetSyncResourceResponse, error) // GetVendorListResource request GetVendorListResourceWithResponse(ctx context.Context, params *GetVendorListResourceParams, reqEditors ...RequestEditorFn) (*GetVendorListResourceResponse, error) // PostVendorListResource request with any body PostVendorListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVendorListResourceResponse, error) PostVendorListResourceWithResponse(ctx context.Context, body PostVendorListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVendorListResourceResponse, error) // DeleteVendorResource request DeleteVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*DeleteVendorResourceResponse, error) // GetVendorResource request GetVendorResourceWithResponse(ctx context.Context, vendorId string, reqEditors ...RequestEditorFn) (*GetVendorResourceResponse, error) // PatchVendorResource request with any body PatchVendorResourceWithBodyWithResponse(ctx context.Context, vendorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchVendorResourceResponse, error) PatchVendorResourceWithResponse(ctx context.Context, vendorId string, body PatchVendorResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchVendorResourceResponse, error) // GetBusinessResource request GetBusinessResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessResourceResponse, error) // GetBusinessBalanceResource request GetBusinessBalanceResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBusinessBalanceResourceResponse, error) // GetCardProgramListDeprecated request GetCardProgramListDeprecatedWithResponse(ctx context.Context, params *GetCardProgramListDeprecatedParams, reqEditors ...RequestEditorFn) (*GetCardProgramListDeprecatedResponse, error) // PostCardProgramListDeprecated request with any body PostCardProgramListDeprecatedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardProgramListDeprecatedResponse, error) PostCardProgramListDeprecatedWithResponse(ctx context.Context, body PostCardProgramListDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardProgramListDeprecatedResponse, error) // GetCardProgramResourceDeprecated request GetCardProgramResourceDeprecatedWithResponse(ctx context.Context, cardProgramId string, reqEditors ...RequestEditorFn) (*GetCardProgramResourceDeprecatedResponse, error) // GetCardListWithPagination request GetCardListWithPaginationWithResponse(ctx context.Context, params *GetCardListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetCardListWithPaginationResponse, error) // PostPhysicalCard request with any body PostPhysicalCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPhysicalCardResponse, error) PostPhysicalCardWithResponse(ctx context.Context, body PostPhysicalCardJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPhysicalCardResponse, error) // GetCardDeferredTaskResource request GetCardDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetCardDeferredTaskResourceResponse, error) // PostVirtualCard request with any body PostVirtualCardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVirtualCardResponse, error) PostVirtualCardWithResponse(ctx context.Context, body PostVirtualCardJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVirtualCardResponse, error) // GetCardResource request GetCardResourceWithResponse(ctx context.Context, cardId string, reqEditors ...RequestEditorFn) (*GetCardResourceResponse, error) // PatchCardResource request with any body PatchCardResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCardResourceResponse, error) PatchCardResourceWithResponse(ctx context.Context, cardId string, body PatchCardResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCardResourceResponse, error) // PostCardSuspensionResource request with any body PostCardSuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardSuspensionResourceResponse, error) PostCardSuspensionResourceWithResponse(ctx context.Context, cardId string, body PostCardSuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardSuspensionResourceResponse, error) // PostCardTerminationResource request with any body PostCardTerminationResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardTerminationResourceResponse, error) PostCardTerminationResourceWithResponse(ctx context.Context, cardId string, body PostCardTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardTerminationResourceResponse, error) // PostCardUnsuspensionResource request with any body PostCardUnsuspensionResourceWithBodyWithResponse(ctx context.Context, cardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCardUnsuspensionResourceResponse, error) PostCardUnsuspensionResourceWithResponse(ctx context.Context, cardId string, body PostCardUnsuspensionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCardUnsuspensionResourceResponse, error) // GetCashbackListWithPagination request GetCashbackListWithPaginationWithResponse(ctx context.Context, params *GetCashbackListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetCashbackListWithPaginationResponse, error) // GetCashbackResource request GetCashbackResourceWithResponse(ctx context.Context, cashbackId string, reqEditors ...RequestEditorFn) (*GetCashbackResourceResponse, error) // GetDepartmentListWithPagination request GetDepartmentListWithPaginationWithResponse(ctx context.Context, params *GetDepartmentListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetDepartmentListWithPaginationResponse, error) // PostDepartmentListWithPagination request with any body PostDepartmentListWithPaginationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDepartmentListWithPaginationResponse, error) PostDepartmentListWithPaginationWithResponse(ctx context.Context, body PostDepartmentListWithPaginationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDepartmentListWithPaginationResponse, error) // GetDepartmentResource request GetDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, reqEditors ...RequestEditorFn) (*GetDepartmentResourceResponse, error) // PatchDepartmentResource request with any body PatchDepartmentResourceWithBodyWithResponse(ctx context.Context, departmentUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDepartmentResourceResponse, error) PatchDepartmentResourceWithResponse(ctx context.Context, departmentUuid string, body PatchDepartmentResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDepartmentResourceResponse, error) // PostSalesLeadCreation request with any body PostSalesLeadCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSalesLeadCreationResponse, error) PostSalesLeadCreationWithResponse(ctx context.Context, body PostSalesLeadCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSalesLeadCreationResponse, error) // GetSalesLeadResource request GetSalesLeadResourceWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*GetSalesLeadResourceResponse, error) // PostSalesLeadDocumentUpload request PostSalesLeadDocumentUploadWithResponse(ctx context.Context, salesLeadId string, reqEditors ...RequestEditorFn) (*PostSalesLeadDocumentUploadResponse, error) // GetSpendLimitListWithPagination request GetSpendLimitListWithPaginationWithResponse(ctx context.Context, params *GetSpendLimitListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetSpendLimitListWithPaginationResponse, error) // PostSpendLimitCreation request with any body PostSpendLimitCreationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendLimitCreationResponse, error) PostSpendLimitCreationWithResponse(ctx context.Context, body PostSpendLimitCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendLimitCreationResponse, error) // GetSpendLimitDeferredTaskStatus request GetSpendLimitDeferredTaskStatusWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetSpendLimitDeferredTaskStatusResponse, error) // GetSpendLimitResource request GetSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*GetSpendLimitResourceResponse, error) // PatchSpendLimitResource request PatchSpendLimitResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PatchSpendLimitResourceResponse, error) // PostSpendLimitTerminationResource request with any body PostSpendLimitTerminationResourceWithBodyWithResponse(ctx context.Context, spendLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendLimitTerminationResourceResponse, error) PostSpendLimitTerminationResourceWithResponse(ctx context.Context, spendLimitId string, body PostSpendLimitTerminationResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendLimitTerminationResourceResponse, error) // PostSpendLimitSuspensionResource request PostSpendLimitSuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitSuspensionResourceResponse, error) // PostSpendLimitUnsuspensionResource request PostSpendLimitUnsuspensionResourceWithResponse(ctx context.Context, spendLimitId string, reqEditors ...RequestEditorFn) (*PostSpendLimitUnsuspensionResourceResponse, error) // GetLocationListResource request GetLocationListResourceWithResponse(ctx context.Context, params *GetLocationListResourceParams, reqEditors ...RequestEditorFn) (*GetLocationListResourceResponse, error) // PostLocationListResource request with any body PostLocationListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLocationListResourceResponse, error) PostLocationListResourceWithResponse(ctx context.Context, body PostLocationListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLocationListResourceResponse, error) // GetLocationSingleResource request GetLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, reqEditors ...RequestEditorFn) (*GetLocationSingleResourceResponse, error) // PatchLocationSingleResource request with any body PatchLocationSingleResourceWithBodyWithResponse(ctx context.Context, locationUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLocationSingleResourceResponse, error) PatchLocationSingleResourceWithResponse(ctx context.Context, locationUuid string, body PatchLocationSingleResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLocationSingleResourceResponse, error) // GetMemoListWithPagination request GetMemoListWithPaginationWithResponse(ctx context.Context, params *GetMemoListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetMemoListWithPaginationResponse, error) // GetMemoSingleResource request GetMemoSingleResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetMemoSingleResourceResponse, error) // GetMerchantListWithPagination request GetMerchantListWithPaginationWithResponse(ctx context.Context, params *GetMerchantListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetMerchantListWithPaginationResponse, error) // GetReceiptIntegrationOptedOutEmailsListResource request with any body GetReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error) GetReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, body GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error) // PostReceiptIntegrationOptedOutEmailsListResource request with any body PostReceiptIntegrationOptedOutEmailsListResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error) PostReceiptIntegrationOptedOutEmailsListResourceWithResponse(ctx context.Context, body PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error) // DeleteReceiptIntegrationOptedOutEmailsDeleteResource request DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse(ctx context.Context, mailboxOptedOutEmailUuid string, reqEditors ...RequestEditorFn) (*DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse, error) // GetReceiptListWithPagination request GetReceiptListWithPaginationWithResponse(ctx context.Context, params *GetReceiptListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetReceiptListWithPaginationResponse, error) // GetReceiptSingleResource request GetReceiptSingleResourceWithResponse(ctx context.Context, receiptId string, reqEditors ...RequestEditorFn) (*GetReceiptSingleResourceResponse, error) // GetReimbursementListWithPagination request GetReimbursementListWithPaginationWithResponse(ctx context.Context, params *GetReimbursementListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetReimbursementListWithPaginationResponse, error) // GetReimbursementResource request GetReimbursementResourceWithResponse(ctx context.Context, reimbursementId string, reqEditors ...RequestEditorFn) (*GetReimbursementResourceResponse, error) // GetSpendProgramResource request GetSpendProgramResourceWithResponse(ctx context.Context, params *GetSpendProgramResourceParams, reqEditors ...RequestEditorFn) (*GetSpendProgramResourceResponse, error) // PostSpendProgramResource request with any body PostSpendProgramResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSpendProgramResourceResponse, error) PostSpendProgramResourceWithResponse(ctx context.Context, body PostSpendProgramResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSpendProgramResourceResponse, error) // GetSpendProgramSingleResource request GetSpendProgramSingleResourceWithResponse(ctx context.Context, spendProgramId string, reqEditors ...RequestEditorFn) (*GetSpendProgramSingleResourceResponse, error) // GetStatementListWithPagination request GetStatementListWithPaginationWithResponse(ctx context.Context, params *GetStatementListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetStatementListWithPaginationResponse, error) // GetStatementResource request GetStatementResourceWithResponse(ctx context.Context, statementId string, reqEditors ...RequestEditorFn) (*GetStatementResourceResponse, error) // GetTransactionsCanonicalListWithPagination request GetTransactionsCanonicalListWithPaginationWithResponse(ctx context.Context, params *GetTransactionsCanonicalListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetTransactionsCanonicalListWithPaginationResponse, error) // GetTransactionCanonicalResource request GetTransactionCanonicalResourceWithResponse(ctx context.Context, transactionId string, reqEditors ...RequestEditorFn) (*GetTransactionCanonicalResourceResponse, error) // GetTransferListWithPagination request GetTransferListWithPaginationWithResponse(ctx context.Context, params *GetTransferListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetTransferListWithPaginationResponse, error) // GetTransferResource request GetTransferResourceWithResponse(ctx context.Context, transferId string, reqEditors ...RequestEditorFn) (*GetTransferResourceResponse, error) // GetUserListWithPagination request GetUserListWithPaginationWithResponse(ctx context.Context, params *GetUserListWithPaginationParams, reqEditors ...RequestEditorFn) (*GetUserListWithPaginationResponse, error) // PostUserCreationDeferredTask request with any body PostUserCreationDeferredTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserCreationDeferredTaskResponse, error) PostUserCreationDeferredTaskWithResponse(ctx context.Context, body PostUserCreationDeferredTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserCreationDeferredTaskResponse, error) // GetUserDeferredTaskResource request GetUserDeferredTaskResourceWithResponse(ctx context.Context, taskUuid string, reqEditors ...RequestEditorFn) (*GetUserDeferredTaskResourceResponse, error) // DeleteUserResource request DeleteUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResourceResponse, error) // GetUserResource request GetUserResourceWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResourceResponse, error) // PatchUserResource request with any body PatchUserResourceWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUserResourceResponse, error) PatchUserResourceWithResponse(ctx context.Context, userId string, body PatchUserResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUserResourceResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CurrencyAmount ¶
type CurrencyAmount struct { // Amount the amount of money represented in the smallest denomination of the currency. For example, when the currency is USD, then the amount is expressed in cents. Amount int `json:"amount"` // CurrencyCode The type of currency, in ISO 4217 format. e.g. USD for US dollars CurrencyCode string `json:"currency_code"` }
CurrencyAmount defines model for CurrencyAmount.
type CurrencyAmountRequestBody ¶
type CurrencyAmountRequestBody struct { // Amount the amount of money represented in the smallest denomination of the currency. For example, when the currency is USD, then the amount is expressed in cents. Amount int `json:"amount"` // CurrencyCode The type of currency, in ISO 4217 format. e.g. USD for US dollars CurrencyCode *string `json:"currency_code,omitempty"` }
CurrencyAmountRequestBody defines model for CurrencyAmountRequestBody.
type CustomFieldOption ¶
type CustomFieldOption struct { CreatedAt *time.Time `json:"created_at,omitempty"` Id *string `json:"id,omitempty"` IsActive *bool `json:"is_active,omitempty"` // RampId id to uniquely identify a custom field option within Ramp system RampId *openapi_types.UUID `json:"ramp_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` // Value A vendor is a person or business that provides goods or services Value *string `json:"value,omitempty"` }
CustomFieldOption defines model for CustomFieldOption.
type DeferredTaskUUID ¶
type DeferredTaskUUID struct { // Id ID of the deferred task. Id openapi_types.UUID `json:"id"` }
DeferredTaskUUID defines model for DeferredTaskUUID.
type DeleteAccountingConnectionResouceResponse ¶
func ParseDeleteAccountingConnectionResouceResponse ¶
func ParseDeleteAccountingConnectionResouceResponse(rsp *http.Response) (*DeleteAccountingConnectionResouceResponse, error)
ParseDeleteAccountingConnectionResouceResponse parses an HTTP response from a DeleteAccountingConnectionResouceWithResponse call
func (DeleteAccountingConnectionResouceResponse) Status ¶
func (r DeleteAccountingConnectionResouceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountingConnectionResouceResponse) StatusCode ¶
func (r DeleteAccountingConnectionResouceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldOptionResourceResponse ¶
func ParseDeleteCustomFieldOptionResourceResponse ¶
func ParseDeleteCustomFieldOptionResourceResponse(rsp *http.Response) (*DeleteCustomFieldOptionResourceResponse, error)
ParseDeleteCustomFieldOptionResourceResponse parses an HTTP response from a DeleteCustomFieldOptionResourceWithResponse call
func (DeleteCustomFieldOptionResourceResponse) Status ¶
func (r DeleteCustomFieldOptionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldOptionResourceResponse) StatusCode ¶
func (r DeleteCustomFieldOptionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldResourceResponse ¶
func ParseDeleteCustomFieldResourceResponse ¶
func ParseDeleteCustomFieldResourceResponse(rsp *http.Response) (*DeleteCustomFieldResourceResponse, error)
ParseDeleteCustomFieldResourceResponse parses an HTTP response from a DeleteCustomFieldResourceWithResponse call
func (DeleteCustomFieldResourceResponse) Status ¶
func (r DeleteCustomFieldResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldResourceResponse) StatusCode ¶
func (r DeleteCustomFieldResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGlAccountResourceResponse ¶
func ParseDeleteGlAccountResourceResponse ¶
func ParseDeleteGlAccountResourceResponse(rsp *http.Response) (*DeleteGlAccountResourceResponse, error)
ParseDeleteGlAccountResourceResponse parses an HTTP response from a DeleteGlAccountResourceWithResponse call
func (DeleteGlAccountResourceResponse) Status ¶
func (r DeleteGlAccountResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGlAccountResourceResponse) StatusCode ¶
func (r DeleteGlAccountResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse ¶
type DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse struct { Body []byte HTTPResponse *http.Response }
func ParseDeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse ¶
func ParseDeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse(rsp *http.Response) (*DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse, error)
ParseDeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse parses an HTTP response from a DeleteReceiptIntegrationOptedOutEmailsDeleteResourceWithResponse call
func (DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse) Status ¶
func (r DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse) StatusCode ¶
func (r DeleteReceiptIntegrationOptedOutEmailsDeleteResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSubsidiaryResourceResponse ¶
func ParseDeleteSubsidiaryResourceResponse ¶
func ParseDeleteSubsidiaryResourceResponse(rsp *http.Response) (*DeleteSubsidiaryResourceResponse, error)
ParseDeleteSubsidiaryResourceResponse parses an HTTP response from a DeleteSubsidiaryResourceWithResponse call
func (DeleteSubsidiaryResourceResponse) Status ¶
func (r DeleteSubsidiaryResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSubsidiaryResourceResponse) StatusCode ¶
func (r DeleteSubsidiaryResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserResourceResponse ¶
func ParseDeleteUserResourceResponse ¶
func ParseDeleteUserResourceResponse(rsp *http.Response) (*DeleteUserResourceResponse, error)
ParseDeleteUserResourceResponse parses an HTTP response from a DeleteUserResourceWithResponse call
func (DeleteUserResourceResponse) Status ¶
func (r DeleteUserResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserResourceResponse) StatusCode ¶
func (r DeleteUserResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVendorResourceResponse ¶
func ParseDeleteVendorResourceResponse ¶
func ParseDeleteVendorResourceResponse(rsp *http.Response) (*DeleteVendorResourceResponse, error)
ParseDeleteVendorResourceResponse parses an HTTP response from a DeleteVendorResourceWithResponse call
func (DeleteVendorResourceResponse) Status ¶
func (r DeleteVendorResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVendorResourceResponse) StatusCode ¶
func (r DeleteVendorResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Department ¶
type Department struct { Id openapi_types.UUID `json:"id"` Name string `json:"name"` }
Department defines model for Department.
type DeveloperAPINestedPage ¶
type DeveloperAPINestedPage struct { // Next the query to get to the next page; it is in the format of <BASE_URL>?<new_params> Next *string `json:"next"` }
DeveloperAPINestedPage defines model for DeveloperAPINestedPage.
type FieldOption ¶
type FieldOption struct { Id string `json:"id"` // Value e.g. Employees:Salaries & Wages Value string `json:"value"` }
FieldOption defines model for FieldOption.
type GLAccount ¶
type GLAccount struct { Classification GLAccountClassification `json:"classification"` // Code e.g. 400-100. Code *string `json:"code,omitempty"` Id string `json:"id"` // Name e.g. Travel : Travel - Lodging. Name string `json:"name"` }
GLAccount defines model for GLAccount.
type GLAccountClassification ¶
type GLAccountClassification string
GLAccountClassification defines model for GLAccount.Classification.
const ( GLAccountClassificationASSET GLAccountClassification = "ASSET" GLAccountClassificationCREDCARD GLAccountClassification = "CREDCARD" GLAccountClassificationEQUITY GLAccountClassification = "EQUITY" GLAccountClassificationEXPENSE GLAccountClassification = "EXPENSE" GLAccountClassificationLIABILITY GLAccountClassification = "LIABILITY" GLAccountClassificationREVENUE GLAccountClassification = "REVENUE" GLAccountClassificationUNKNOWN GLAccountClassification = "UNKNOWN" )
Defines values for GLAccountClassification.
type GeneralLedgerAccount ¶
type GeneralLedgerAccount struct { Classification *GeneralLedgerAccountClassification `json:"classification,omitempty"` // Code e.g. 400-100. Code *string `json:"code,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Id *string `json:"id,omitempty"` IsActive *bool `json:"is_active,omitempty"` // Name e.g. Travel : Travel - Lodging. Name *string `json:"name,omitempty"` // RampId id to uniquely identify a general ledger account within Ramp system RampId *openapi_types.UUID `json:"ramp_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
GeneralLedgerAccount defines model for GeneralLedgerAccount.
type GeneralLedgerAccountClassification ¶
type GeneralLedgerAccountClassification string
GeneralLedgerAccountClassification defines model for GeneralLedgerAccount.Classification.
const ( GeneralLedgerAccountClassificationASSET GeneralLedgerAccountClassification = "ASSET" GeneralLedgerAccountClassificationCREDCARD GeneralLedgerAccountClassification = "CREDCARD" GeneralLedgerAccountClassificationEQUITY GeneralLedgerAccountClassification = "EQUITY" GeneralLedgerAccountClassificationEXPENSE GeneralLedgerAccountClassification = "EXPENSE" GeneralLedgerAccountClassificationLIABILITY GeneralLedgerAccountClassification = "LIABILITY" GeneralLedgerAccountClassificationREVENUE GeneralLedgerAccountClassification = "REVENUE" GeneralLedgerAccountClassificationUNKNOWN GeneralLedgerAccountClassification = "UNKNOWN" )
Defines values for GeneralLedgerAccountClassification.
type GetAccountingConnectionResouceResponse ¶
type GetAccountingConnectionResouceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AccountingProvider }
func ParseGetAccountingConnectionResouceResponse ¶
func ParseGetAccountingConnectionResouceResponse(rsp *http.Response) (*GetAccountingConnectionResouceResponse, error)
ParseGetAccountingConnectionResouceResponse parses an HTTP response from a GetAccountingConnectionResouceWithResponse call
func (GetAccountingConnectionResouceResponse) Status ¶
func (r GetAccountingConnectionResouceResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountingConnectionResouceResponse) StatusCode ¶
func (r GetAccountingConnectionResouceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBusinessBalanceResourceResponse ¶
type GetBusinessBalanceResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BusinessBalance }
func ParseGetBusinessBalanceResourceResponse ¶
func ParseGetBusinessBalanceResourceResponse(rsp *http.Response) (*GetBusinessBalanceResourceResponse, error)
ParseGetBusinessBalanceResourceResponse parses an HTTP response from a GetBusinessBalanceResourceWithResponse call
func (GetBusinessBalanceResourceResponse) Status ¶
func (r GetBusinessBalanceResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetBusinessBalanceResourceResponse) StatusCode ¶
func (r GetBusinessBalanceResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBusinessResourceResponse ¶
type GetBusinessResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Business }
func ParseGetBusinessResourceResponse ¶
func ParseGetBusinessResourceResponse(rsp *http.Response) (*GetBusinessResourceResponse, error)
ParseGetBusinessResourceResponse parses an HTTP response from a GetBusinessResourceWithResponse call
func (GetBusinessResourceResponse) Status ¶
func (r GetBusinessResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetBusinessResourceResponse) StatusCode ¶
func (r GetBusinessResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardDeferredTaskResourceResponse ¶
type GetCardDeferredTaskResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CardDeferredTask }
func ParseGetCardDeferredTaskResourceResponse ¶
func ParseGetCardDeferredTaskResourceResponse(rsp *http.Response) (*GetCardDeferredTaskResourceResponse, error)
ParseGetCardDeferredTaskResourceResponse parses an HTTP response from a GetCardDeferredTaskResourceWithResponse call
func (GetCardDeferredTaskResourceResponse) Status ¶
func (r GetCardDeferredTaskResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardDeferredTaskResourceResponse) StatusCode ¶
func (r GetCardDeferredTaskResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardListWithPaginationParams ¶
type GetCardListWithPaginationParams struct { // UserId Filter by card owner. UserId *openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"` // CardProgramId Filter by card program. CardProgramId *openapi_types.UUID `form:"card_program_id,omitempty" json:"card_program_id,omitempty"` // IsActivated Filter only for activated cards. Defaults to True if not specified IsActivated *bool `form:"is_activated,omitempty" json:"is_activated,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetCardListWithPaginationParams defines parameters for GetCardListWithPagination.
type GetCardListWithPaginationResponse ¶
type GetCardListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiCardResourceSchema }
func ParseGetCardListWithPaginationResponse ¶
func ParseGetCardListWithPaginationResponse(rsp *http.Response) (*GetCardListWithPaginationResponse, error)
ParseGetCardListWithPaginationResponse parses an HTTP response from a GetCardListWithPaginationWithResponse call
func (GetCardListWithPaginationResponse) Status ¶
func (r GetCardListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardListWithPaginationResponse) StatusCode ¶
func (r GetCardListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardProgramListDeprecatedParams ¶
type GetCardProgramListDeprecatedParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetCardProgramListDeprecatedParams defines parameters for GetCardProgramListDeprecated.
type GetCardProgramListDeprecatedResponse ¶
type GetCardProgramListDeprecatedResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiCardProgramResourceSchema }
func ParseGetCardProgramListDeprecatedResponse ¶
func ParseGetCardProgramListDeprecatedResponse(rsp *http.Response) (*GetCardProgramListDeprecatedResponse, error)
ParseGetCardProgramListDeprecatedResponse parses an HTTP response from a GetCardProgramListDeprecatedWithResponse call
func (GetCardProgramListDeprecatedResponse) Status ¶
func (r GetCardProgramListDeprecatedResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardProgramListDeprecatedResponse) StatusCode ¶
func (r GetCardProgramListDeprecatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardProgramResourceDeprecatedResponse ¶
type GetCardProgramResourceDeprecatedResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiCardProgramResource }
func ParseGetCardProgramResourceDeprecatedResponse ¶
func ParseGetCardProgramResourceDeprecatedResponse(rsp *http.Response) (*GetCardProgramResourceDeprecatedResponse, error)
ParseGetCardProgramResourceDeprecatedResponse parses an HTTP response from a GetCardProgramResourceDeprecatedWithResponse call
func (GetCardProgramResourceDeprecatedResponse) Status ¶
func (r GetCardProgramResourceDeprecatedResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardProgramResourceDeprecatedResponse) StatusCode ¶
func (r GetCardProgramResourceDeprecatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardResourceResponse ¶
func ParseGetCardResourceResponse ¶
func ParseGetCardResourceResponse(rsp *http.Response) (*GetCardResourceResponse, error)
ParseGetCardResourceResponse parses an HTTP response from a GetCardResourceWithResponse call
func (GetCardResourceResponse) Status ¶
func (r GetCardResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardResourceResponse) StatusCode ¶
func (r GetCardResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCashbackListWithPaginationParams ¶
type GetCashbackListWithPaginationParams struct { // FromDate Filter for cashback payments that occurred after the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` // ToDate Filter for cashback payments that occurred before the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetCashbackListWithPaginationParams defines parameters for GetCashbackListWithPagination.
type GetCashbackListWithPaginationResponse ¶
type GetCashbackListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiCashbackResourceSchema }
func ParseGetCashbackListWithPaginationResponse ¶
func ParseGetCashbackListWithPaginationResponse(rsp *http.Response) (*GetCashbackListWithPaginationResponse, error)
ParseGetCashbackListWithPaginationResponse parses an HTTP response from a GetCashbackListWithPaginationWithResponse call
func (GetCashbackListWithPaginationResponse) Status ¶
func (r GetCashbackListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetCashbackListWithPaginationResponse) StatusCode ¶
func (r GetCashbackListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCashbackResourceResponse ¶
type GetCashbackResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Cashback }
func ParseGetCashbackResourceResponse ¶
func ParseGetCashbackResourceResponse(rsp *http.Response) (*GetCashbackResourceResponse, error)
ParseGetCashbackResourceResponse parses an HTTP response from a GetCashbackResourceWithResponse call
func (GetCashbackResourceResponse) Status ¶
func (r GetCashbackResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCashbackResourceResponse) StatusCode ¶
func (r GetCashbackResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldListResourceParams ¶
type GetCustomFieldListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` }
GetCustomFieldListResourceParams defines parameters for GetCustomFieldListResource.
type GetCustomFieldListResourceResponse ¶
type GetCustomFieldListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiAccountingCustomFieldResourceSchema }
func ParseGetCustomFieldListResourceResponse ¶
func ParseGetCustomFieldListResourceResponse(rsp *http.Response) (*GetCustomFieldListResourceResponse, error)
ParseGetCustomFieldListResourceResponse parses an HTTP response from a GetCustomFieldListResourceWithResponse call
func (GetCustomFieldListResourceResponse) Status ¶
func (r GetCustomFieldListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldListResourceResponse) StatusCode ¶
func (r GetCustomFieldListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldOptionListResourceParams ¶
type GetCustomFieldOptionListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` FieldId openapi_types.UUID `form:"field_id" json:"field_id"` IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` }
GetCustomFieldOptionListResourceParams defines parameters for GetCustomFieldOptionListResource.
type GetCustomFieldOptionListResourceResponse ¶
type GetCustomFieldOptionListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiAccountingCustomFieldOptionResourceSchema }
func ParseGetCustomFieldOptionListResourceResponse ¶
func ParseGetCustomFieldOptionListResourceResponse(rsp *http.Response) (*GetCustomFieldOptionListResourceResponse, error)
ParseGetCustomFieldOptionListResourceResponse parses an HTTP response from a GetCustomFieldOptionListResourceWithResponse call
func (GetCustomFieldOptionListResourceResponse) Status ¶
func (r GetCustomFieldOptionListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldOptionListResourceResponse) StatusCode ¶
func (r GetCustomFieldOptionListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldOptionResourceResponse ¶
type GetCustomFieldOptionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CustomFieldOption }
func ParseGetCustomFieldOptionResourceResponse ¶
func ParseGetCustomFieldOptionResourceResponse(rsp *http.Response) (*GetCustomFieldOptionResourceResponse, error)
ParseGetCustomFieldOptionResourceResponse parses an HTTP response from a GetCustomFieldOptionResourceWithResponse call
func (GetCustomFieldOptionResourceResponse) Status ¶
func (r GetCustomFieldOptionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldOptionResourceResponse) StatusCode ¶
func (r GetCustomFieldOptionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldResourceResponse ¶
type GetCustomFieldResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiAccountingCustomFieldResource }
func ParseGetCustomFieldResourceResponse ¶
func ParseGetCustomFieldResourceResponse(rsp *http.Response) (*GetCustomFieldResourceResponse, error)
ParseGetCustomFieldResourceResponse parses an HTTP response from a GetCustomFieldResourceWithResponse call
func (GetCustomFieldResourceResponse) Status ¶
func (r GetCustomFieldResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldResourceResponse) StatusCode ¶
func (r GetCustomFieldResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDepartmentListWithPaginationParams ¶
type GetDepartmentListWithPaginationParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetDepartmentListWithPaginationParams defines parameters for GetDepartmentListWithPagination.
type GetDepartmentListWithPaginationResponse ¶
type GetDepartmentListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiDepartmentResourceSchema }
func ParseGetDepartmentListWithPaginationResponse ¶
func ParseGetDepartmentListWithPaginationResponse(rsp *http.Response) (*GetDepartmentListWithPaginationResponse, error)
ParseGetDepartmentListWithPaginationResponse parses an HTTP response from a GetDepartmentListWithPaginationWithResponse call
func (GetDepartmentListWithPaginationResponse) Status ¶
func (r GetDepartmentListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetDepartmentListWithPaginationResponse) StatusCode ¶
func (r GetDepartmentListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDepartmentResourceResponse ¶
type GetDepartmentResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Department }
func ParseGetDepartmentResourceResponse ¶
func ParseGetDepartmentResourceResponse(rsp *http.Response) (*GetDepartmentResourceResponse, error)
ParseGetDepartmentResourceResponse parses an HTTP response from a GetDepartmentResourceWithResponse call
func (GetDepartmentResourceResponse) Status ¶
func (r GetDepartmentResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetDepartmentResourceResponse) StatusCode ¶
func (r GetDepartmentResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlAccountListResourceParams ¶
type GetGlAccountListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` IsSynced *bool `form:"is_synced,omitempty" json:"is_synced,omitempty"` }
GetGlAccountListResourceParams defines parameters for GetGlAccountListResource.
type GetGlAccountListResourceResponse ¶
type GetGlAccountListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiAccountingGLAccountResourceSchema }
func ParseGetGlAccountListResourceResponse ¶
func ParseGetGlAccountListResourceResponse(rsp *http.Response) (*GetGlAccountListResourceResponse, error)
ParseGetGlAccountListResourceResponse parses an HTTP response from a GetGlAccountListResourceWithResponse call
func (GetGlAccountListResourceResponse) Status ¶
func (r GetGlAccountListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlAccountListResourceResponse) StatusCode ¶
func (r GetGlAccountListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlAccountResourceResponse ¶
type GetGlAccountResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GeneralLedgerAccount }
func ParseGetGlAccountResourceResponse ¶
func ParseGetGlAccountResourceResponse(rsp *http.Response) (*GetGlAccountResourceResponse, error)
ParseGetGlAccountResourceResponse parses an HTTP response from a GetGlAccountResourceWithResponse call
func (GetGlAccountResourceResponse) Status ¶
func (r GetGlAccountResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlAccountResourceResponse) StatusCode ¶
func (r GetGlAccountResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLocationListResourceParams ¶
type GetLocationListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetLocationListResourceParams defines parameters for GetLocationListResource.
type GetLocationListResourceResponse ¶
type GetLocationListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiLocationResourceSchema }
func ParseGetLocationListResourceResponse ¶
func ParseGetLocationListResourceResponse(rsp *http.Response) (*GetLocationListResourceResponse, error)
ParseGetLocationListResourceResponse parses an HTTP response from a GetLocationListResourceWithResponse call
func (GetLocationListResourceResponse) Status ¶
func (r GetLocationListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLocationListResourceResponse) StatusCode ¶
func (r GetLocationListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLocationSingleResourceResponse ¶
type GetLocationSingleResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Location }
func ParseGetLocationSingleResourceResponse ¶
func ParseGetLocationSingleResourceResponse(rsp *http.Response) (*GetLocationSingleResourceResponse, error)
ParseGetLocationSingleResourceResponse parses an HTTP response from a GetLocationSingleResourceWithResponse call
func (GetLocationSingleResourceResponse) Status ¶
func (r GetLocationSingleResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLocationSingleResourceResponse) StatusCode ¶
func (r GetLocationSingleResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemoListWithPaginationParams ¶
type GetMemoListWithPaginationParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` CardId *string `form:"card_id,omitempty" json:"card_id,omitempty"` DepartmentId *string `form:"department_id,omitempty" json:"department_id,omitempty"` FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` LocationId *string `form:"location_id,omitempty" json:"location_id,omitempty"` ManagerId *string `form:"manager_id,omitempty" json:"manager_id,omitempty"` MerchantId *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty"` ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"` }
GetMemoListWithPaginationParams defines parameters for GetMemoListWithPagination.
type GetMemoListWithPaginationResponse ¶
type GetMemoListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiMemoResourceSchema }
func ParseGetMemoListWithPaginationResponse ¶
func ParseGetMemoListWithPaginationResponse(rsp *http.Response) (*GetMemoListWithPaginationResponse, error)
ParseGetMemoListWithPaginationResponse parses an HTTP response from a GetMemoListWithPaginationWithResponse call
func (GetMemoListWithPaginationResponse) Status ¶
func (r GetMemoListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemoListWithPaginationResponse) StatusCode ¶
func (r GetMemoListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemoSingleResourceResponse ¶
func ParseGetMemoSingleResourceResponse ¶
func ParseGetMemoSingleResourceResponse(rsp *http.Response) (*GetMemoSingleResourceResponse, error)
ParseGetMemoSingleResourceResponse parses an HTTP response from a GetMemoSingleResourceWithResponse call
func (GetMemoSingleResourceResponse) Status ¶
func (r GetMemoSingleResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemoSingleResourceResponse) StatusCode ¶
func (r GetMemoSingleResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMerchantListWithPaginationParams ¶
type GetMerchantListWithPaginationParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` TransactionFromDate *time.Time `form:"transaction_from_date,omitempty" json:"transaction_from_date,omitempty"` TransactionToDate *time.Time `form:"transaction_to_date,omitempty" json:"transaction_to_date,omitempty"` }
GetMerchantListWithPaginationParams defines parameters for GetMerchantListWithPagination.
type GetMerchantListWithPaginationResponse ¶
type GetMerchantListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiMerchantResourceSchema }
func ParseGetMerchantListWithPaginationResponse ¶
func ParseGetMerchantListWithPaginationResponse(rsp *http.Response) (*GetMerchantListWithPaginationResponse, error)
ParseGetMerchantListWithPaginationResponse parses an HTTP response from a GetMerchantListWithPaginationWithResponse call
func (GetMerchantListWithPaginationResponse) Status ¶
func (r GetMerchantListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetMerchantListWithPaginationResponse) StatusCode ¶
func (r GetMerchantListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody ¶
type GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody = ApiReceiptIntegrationOptedOutEmailResourceRequestBody
GetReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody defines body for GetReceiptIntegrationOptedOutEmailsListResource for application/json ContentType.
type GetReceiptIntegrationOptedOutEmailsListResourceResponse ¶
type GetReceiptIntegrationOptedOutEmailsListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiReceiptIntegrationOptedOutEmailResource }
func ParseGetReceiptIntegrationOptedOutEmailsListResourceResponse ¶
func ParseGetReceiptIntegrationOptedOutEmailsListResourceResponse(rsp *http.Response) (*GetReceiptIntegrationOptedOutEmailsListResourceResponse, error)
ParseGetReceiptIntegrationOptedOutEmailsListResourceResponse parses an HTTP response from a GetReceiptIntegrationOptedOutEmailsListResourceWithResponse call
func (GetReceiptIntegrationOptedOutEmailsListResourceResponse) Status ¶
func (r GetReceiptIntegrationOptedOutEmailsListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetReceiptIntegrationOptedOutEmailsListResourceResponse) StatusCode ¶
func (r GetReceiptIntegrationOptedOutEmailsListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReceiptListWithPaginationParams ¶
type GetReceiptListWithPaginationParams struct { // FromDate Filter for receipts related to transactions which occurred after the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` // ToDate Filter for receipts related to transactions which occurred before the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` // CreatedAfter Filter for receipts that were created after the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"` // CreatedBefore Filter for receipts that were created before the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetReceiptListWithPaginationParams defines parameters for GetReceiptListWithPagination.
type GetReceiptListWithPaginationResponse ¶
type GetReceiptListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiReceiptResourceSchema }
func ParseGetReceiptListWithPaginationResponse ¶
func ParseGetReceiptListWithPaginationResponse(rsp *http.Response) (*GetReceiptListWithPaginationResponse, error)
ParseGetReceiptListWithPaginationResponse parses an HTTP response from a GetReceiptListWithPaginationWithResponse call
func (GetReceiptListWithPaginationResponse) Status ¶
func (r GetReceiptListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetReceiptListWithPaginationResponse) StatusCode ¶
func (r GetReceiptListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReceiptSingleResourceResponse ¶
type GetReceiptSingleResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Receipt }
func ParseGetReceiptSingleResourceResponse ¶
func ParseGetReceiptSingleResourceResponse(rsp *http.Response) (*GetReceiptSingleResourceResponse, error)
ParseGetReceiptSingleResourceResponse parses an HTTP response from a GetReceiptSingleResourceWithResponse call
func (GetReceiptSingleResourceResponse) Status ¶
func (r GetReceiptSingleResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetReceiptSingleResourceResponse) StatusCode ¶
func (r GetReceiptSingleResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReimbursementListWithPaginationParams ¶
type GetReimbursementListWithPaginationParams struct { // SyncReady Filter for reimbursements that are coded with accounting fields and ready to sync to ERP systems. SyncReady *bool `form:"sync_ready,omitempty" json:"sync_ready,omitempty"` // HasNoSyncCommits Filter for reimbursements that have not been synced to ERP systems yet. HasNoSyncCommits *bool `form:"has_no_sync_commits,omitempty" json:"has_no_sync_commits,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` UserId *openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"` }
GetReimbursementListWithPaginationParams defines parameters for GetReimbursementListWithPagination.
type GetReimbursementListWithPaginationResponse ¶
type GetReimbursementListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiReimbursementResourceSchema }
func ParseGetReimbursementListWithPaginationResponse ¶
func ParseGetReimbursementListWithPaginationResponse(rsp *http.Response) (*GetReimbursementListWithPaginationResponse, error)
ParseGetReimbursementListWithPaginationResponse parses an HTTP response from a GetReimbursementListWithPaginationWithResponse call
func (GetReimbursementListWithPaginationResponse) Status ¶
func (r GetReimbursementListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetReimbursementListWithPaginationResponse) StatusCode ¶
func (r GetReimbursementListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReimbursementResourceResponse ¶
type GetReimbursementResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Reimbursement }
func ParseGetReimbursementResourceResponse ¶
func ParseGetReimbursementResourceResponse(rsp *http.Response) (*GetReimbursementResourceResponse, error)
ParseGetReimbursementResourceResponse parses an HTTP response from a GetReimbursementResourceWithResponse call
func (GetReimbursementResourceResponse) Status ¶
func (r GetReimbursementResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetReimbursementResourceResponse) StatusCode ¶
func (r GetReimbursementResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSalesLeadResourceResponse ¶
func ParseGetSalesLeadResourceResponse ¶
func ParseGetSalesLeadResourceResponse(rsp *http.Response) (*GetSalesLeadResourceResponse, error)
ParseGetSalesLeadResourceResponse parses an HTTP response from a GetSalesLeadResourceWithResponse call
func (GetSalesLeadResourceResponse) Status ¶
func (r GetSalesLeadResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSalesLeadResourceResponse) StatusCode ¶
func (r GetSalesLeadResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendLimitDeferredTaskStatusResponse ¶
type GetSpendLimitDeferredTaskStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SpendLimitDeferredTask }
func ParseGetSpendLimitDeferredTaskStatusResponse ¶
func ParseGetSpendLimitDeferredTaskStatusResponse(rsp *http.Response) (*GetSpendLimitDeferredTaskStatusResponse, error)
ParseGetSpendLimitDeferredTaskStatusResponse parses an HTTP response from a GetSpendLimitDeferredTaskStatusWithResponse call
func (GetSpendLimitDeferredTaskStatusResponse) Status ¶
func (r GetSpendLimitDeferredTaskStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendLimitDeferredTaskStatusResponse) StatusCode ¶
func (r GetSpendLimitDeferredTaskStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendLimitListWithPaginationParams ¶
type GetSpendLimitListWithPaginationParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetSpendLimitListWithPaginationParams defines parameters for GetSpendLimitListWithPagination.
type GetSpendLimitListWithPaginationResponse ¶
type GetSpendLimitListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiSpendLimitResourceSchema }
func ParseGetSpendLimitListWithPaginationResponse ¶
func ParseGetSpendLimitListWithPaginationResponse(rsp *http.Response) (*GetSpendLimitListWithPaginationResponse, error)
ParseGetSpendLimitListWithPaginationResponse parses an HTTP response from a GetSpendLimitListWithPaginationWithResponse call
func (GetSpendLimitListWithPaginationResponse) Status ¶
func (r GetSpendLimitListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendLimitListWithPaginationResponse) StatusCode ¶
func (r GetSpendLimitListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendLimitResourceResponse ¶
type GetSpendLimitResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Limit }
func ParseGetSpendLimitResourceResponse ¶
func ParseGetSpendLimitResourceResponse(rsp *http.Response) (*GetSpendLimitResourceResponse, error)
ParseGetSpendLimitResourceResponse parses an HTTP response from a GetSpendLimitResourceWithResponse call
func (GetSpendLimitResourceResponse) Status ¶
func (r GetSpendLimitResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendLimitResourceResponse) StatusCode ¶
func (r GetSpendLimitResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendProgramResourceParams ¶
type GetSpendProgramResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetSpendProgramResourceParams defines parameters for GetSpendProgramResource.
type GetSpendProgramResourceResponse ¶
type GetSpendProgramResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiSpendProgramResourceSchema }
func ParseGetSpendProgramResourceResponse ¶
func ParseGetSpendProgramResourceResponse(rsp *http.Response) (*GetSpendProgramResourceResponse, error)
ParseGetSpendProgramResourceResponse parses an HTTP response from a GetSpendProgramResourceWithResponse call
func (GetSpendProgramResourceResponse) Status ¶
func (r GetSpendProgramResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendProgramResourceResponse) StatusCode ¶
func (r GetSpendProgramResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpendProgramSingleResourceResponse ¶
type GetSpendProgramSingleResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiSpendProgramResource }
func ParseGetSpendProgramSingleResourceResponse ¶
func ParseGetSpendProgramSingleResourceResponse(rsp *http.Response) (*GetSpendProgramSingleResourceResponse, error)
ParseGetSpendProgramSingleResourceResponse parses an HTTP response from a GetSpendProgramSingleResourceWithResponse call
func (GetSpendProgramSingleResourceResponse) Status ¶
func (r GetSpendProgramSingleResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpendProgramSingleResourceResponse) StatusCode ¶
func (r GetSpendProgramSingleResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatementListWithPaginationParams ¶
type GetStatementListWithPaginationParams struct { // FromDate Shows only statements with an end_date on or after this date. This parameter should be provided as a datetime string that conforms to ISO 8601 FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` // ToDate Shows only statements with an end_date on or before this date. This parameter should be provided as a datetime string that conforms to ISO 8601 ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetStatementListWithPaginationParams defines parameters for GetStatementListWithPagination.
type GetStatementListWithPaginationResponse ¶
type GetStatementListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiStatementResourceSchema }
func ParseGetStatementListWithPaginationResponse ¶
func ParseGetStatementListWithPaginationResponse(rsp *http.Response) (*GetStatementListWithPaginationResponse, error)
ParseGetStatementListWithPaginationResponse parses an HTTP response from a GetStatementListWithPaginationWithResponse call
func (GetStatementListWithPaginationResponse) Status ¶
func (r GetStatementListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatementListWithPaginationResponse) StatusCode ¶
func (r GetStatementListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatementResourceResponse ¶
type GetStatementResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Statement }
func ParseGetStatementResourceResponse ¶
func ParseGetStatementResourceResponse(rsp *http.Response) (*GetStatementResourceResponse, error)
ParseGetStatementResourceResponse parses an HTTP response from a GetStatementResourceWithResponse call
func (GetStatementResourceResponse) Status ¶
func (r GetStatementResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatementResourceResponse) StatusCode ¶
func (r GetStatementResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubsidiaryListResourceParams ¶
type GetSubsidiaryListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` IsSynced *bool `form:"is_synced,omitempty" json:"is_synced,omitempty"` }
GetSubsidiaryListResourceParams defines parameters for GetSubsidiaryListResource.
type GetSubsidiaryListResourceResponse ¶
type GetSubsidiaryListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiAccountingSubsidiaryResourceSchema }
func ParseGetSubsidiaryListResourceResponse ¶
func ParseGetSubsidiaryListResourceResponse(rsp *http.Response) (*GetSubsidiaryListResourceResponse, error)
ParseGetSubsidiaryListResourceResponse parses an HTTP response from a GetSubsidiaryListResourceWithResponse call
func (GetSubsidiaryListResourceResponse) Status ¶
func (r GetSubsidiaryListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubsidiaryListResourceResponse) StatusCode ¶
func (r GetSubsidiaryListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubsidiaryResourceResponse ¶
type GetSubsidiaryResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Subsidiary }
func ParseGetSubsidiaryResourceResponse ¶
func ParseGetSubsidiaryResourceResponse(rsp *http.Response) (*GetSubsidiaryResourceResponse, error)
ParseGetSubsidiaryResourceResponse parses an HTTP response from a GetSubsidiaryResourceWithResponse call
func (GetSubsidiaryResourceResponse) Status ¶
func (r GetSubsidiaryResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubsidiaryResourceResponse) StatusCode ¶
func (r GetSubsidiaryResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSyncResourceResponse ¶
func ParseGetSyncResourceResponse ¶
func ParseGetSyncResourceResponse(rsp *http.Response) (*GetSyncResourceResponse, error)
ParseGetSyncResourceResponse parses an HTTP response from a GetSyncResourceWithResponse call
func (GetSyncResourceResponse) Status ¶
func (r GetSyncResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSyncResourceResponse) StatusCode ¶
func (r GetSyncResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransactionCanonicalResourceResponse ¶
type GetTransactionCanonicalResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Transaction }
func ParseGetTransactionCanonicalResourceResponse ¶
func ParseGetTransactionCanonicalResourceResponse(rsp *http.Response) (*GetTransactionCanonicalResourceResponse, error)
ParseGetTransactionCanonicalResourceResponse parses an HTTP response from a GetTransactionCanonicalResourceWithResponse call
func (GetTransactionCanonicalResourceResponse) Status ¶
func (r GetTransactionCanonicalResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetTransactionCanonicalResourceResponse) StatusCode ¶
func (r GetTransactionCanonicalResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransactionsCanonicalListWithPaginationParams ¶
type GetTransactionsCanonicalListWithPaginationParams struct { // CardId Filter by card. CardId *string `form:"card_id,omitempty" json:"card_id,omitempty"` // DepartmentId Filter by department. DepartmentId *string `form:"department_id,omitempty" json:"department_id,omitempty"` // LocationId Filter by location. LocationId *string `form:"location_id,omitempty" json:"location_id,omitempty"` // MerchantId Filter by merchant. MerchantId *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty"` // SkCategoryId Filter by sk category. SkCategoryId *string `form:"sk_category_id,omitempty" json:"sk_category_id,omitempty"` // StatementId Filter by statement. StatementId *string `form:"statement_id,omitempty" json:"statement_id,omitempty"` // State Filter by transaction state. State *GetTransactionsCanonicalListWithPaginationParamsState `form:"state,omitempty" json:"state,omitempty"` // UserId Filter by user. UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"` // SyncReady Filter for transactions that are coded with accounting fields and ready to sync to ERP systems. SyncReady *bool `form:"sync_ready,omitempty" json:"sync_ready,omitempty"` // FromDate Filter for transactions that happens after the given date. FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` // ToDate Filter for transactions that happens before the given date. ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` // ExpensePolicyInteractionHasAlert Filter for transactions that have expense policy alert. ExpensePolicyInteractionHasAlert *bool `form:"expense_policy_interaction_has_alert,omitempty" json:"expense_policy_interaction_has_alert,omitempty"` // MinAmount Filter for transactions that have larger amount that the given amount. This is a U.S. Dollar denominated amount. MinAmount *struct { // contains filtered or unexported fields } `form:"min_amount,omitempty" json:"min_amount,omitempty"` // HasNoSyncCommits Filter for transactions that have not been synced to ERP systems yet. HasNoSyncCommits *bool `form:"has_no_sync_commits,omitempty" json:"has_no_sync_commits,omitempty"` // MaxAmount Filter for transactions that have smaller amount that the given amount. This is a U.S. Dollar denominated amount. MaxAmount *struct { // contains filtered or unexported fields } `form:"max_amount,omitempty" json:"max_amount,omitempty"` // ExpensePolicyInteractionNeedsReview Filter for transactions that require expense policy review. ExpensePolicyInteractionNeedsReview *bool `form:"expense_policy_interaction_needs_review,omitempty" json:"expense_policy_interaction_needs_review,omitempty"` // RequiresMemo Filters for transactions which require a memo, but do not have one. This can only be set to true. RequiresMemo *bool `form:"requires_memo,omitempty" json:"requires_memo,omitempty"` // OrderByAmountAsc Sort transactions by amount in ascending order. OrderByAmountAsc *bool `form:"order_by_amount_asc,omitempty" json:"order_by_amount_asc,omitempty"` // OrderByAmountDesc Sort transactions by amount in descending order. OrderByAmountDesc *bool `form:"order_by_amount_desc,omitempty" json:"order_by_amount_desc,omitempty"` // OrderByDateAsc Sort transactions by date in ascending order. OrderByDateAsc *bool `form:"order_by_date_asc,omitempty" json:"order_by_date_asc,omitempty"` // OrderByDateDesc Sort transactions by date in descending order. OrderByDateDesc *bool `form:"order_by_date_desc,omitempty" json:"order_by_date_desc,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` ManagerId *interface{} `form:"manager_id,omitempty" json:"manager_id,omitempty"` }
GetTransactionsCanonicalListWithPaginationParams defines parameters for GetTransactionsCanonicalListWithPagination.
type GetTransactionsCanonicalListWithPaginationParamsMaxAmount0 ¶
type GetTransactionsCanonicalListWithPaginationParamsMaxAmount0 = string
GetTransactionsCanonicalListWithPaginationParamsMaxAmount0 defines parameters for GetTransactionsCanonicalListWithPagination.
type GetTransactionsCanonicalListWithPaginationParamsMaxAmount1 ¶
type GetTransactionsCanonicalListWithPaginationParamsMaxAmount1 = float32
GetTransactionsCanonicalListWithPaginationParamsMaxAmount1 defines parameters for GetTransactionsCanonicalListWithPagination.
type GetTransactionsCanonicalListWithPaginationParamsMinAmount0 ¶
type GetTransactionsCanonicalListWithPaginationParamsMinAmount0 = string
GetTransactionsCanonicalListWithPaginationParamsMinAmount0 defines parameters for GetTransactionsCanonicalListWithPagination.
type GetTransactionsCanonicalListWithPaginationParamsMinAmount1 ¶
type GetTransactionsCanonicalListWithPaginationParamsMinAmount1 = float32
GetTransactionsCanonicalListWithPaginationParamsMinAmount1 defines parameters for GetTransactionsCanonicalListWithPagination.
type GetTransactionsCanonicalListWithPaginationParamsState ¶
type GetTransactionsCanonicalListWithPaginationParamsState string
GetTransactionsCanonicalListWithPaginationParamsState defines parameters for GetTransactionsCanonicalListWithPagination.
const ( ALL GetTransactionsCanonicalListWithPaginationParamsState = "ALL" CLEARED GetTransactionsCanonicalListWithPaginationParamsState = "CLEARED" COMPLETION GetTransactionsCanonicalListWithPaginationParamsState = "COMPLETION" DECLINED GetTransactionsCanonicalListWithPaginationParamsState = "DECLINED" ERROR GetTransactionsCanonicalListWithPaginationParamsState = "ERROR" PENDING GetTransactionsCanonicalListWithPaginationParamsState = "PENDING" PENDINGINITIATION GetTransactionsCanonicalListWithPaginationParamsState = "PENDING_INITIATION" )
Defines values for GetTransactionsCanonicalListWithPaginationParamsState.
type GetTransactionsCanonicalListWithPaginationResponse ¶
type GetTransactionsCanonicalListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiTransactionCanonicalSchema }
func ParseGetTransactionsCanonicalListWithPaginationResponse ¶
func ParseGetTransactionsCanonicalListWithPaginationResponse(rsp *http.Response) (*GetTransactionsCanonicalListWithPaginationResponse, error)
ParseGetTransactionsCanonicalListWithPaginationResponse parses an HTTP response from a GetTransactionsCanonicalListWithPaginationWithResponse call
func (GetTransactionsCanonicalListWithPaginationResponse) Status ¶
func (r GetTransactionsCanonicalListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetTransactionsCanonicalListWithPaginationResponse) StatusCode ¶
func (r GetTransactionsCanonicalListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransferListWithPaginationParams ¶
type GetTransferListWithPaginationParams struct { // FromDate Filter for transfers that occurred after the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 FromDate *time.Time `form:"from_date,omitempty" json:"from_date,omitempty"` // ToDate Filter for transfers that occurred before the specified date. Input need to be presented in ISO8601 format, e.g. 2020-12-02T00:00:00 ToDate *time.Time `form:"to_date,omitempty" json:"to_date,omitempty"` // StatementId Filter for transfers that shows up in the specified statement StatementId *openapi_types.UUID `form:"statement_id,omitempty" json:"statement_id,omitempty"` // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` }
GetTransferListWithPaginationParams defines parameters for GetTransferListWithPagination.
type GetTransferListWithPaginationResponse ¶
type GetTransferListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiTransferResourceSchema }
func ParseGetTransferListWithPaginationResponse ¶
func ParseGetTransferListWithPaginationResponse(rsp *http.Response) (*GetTransferListWithPaginationResponse, error)
ParseGetTransferListWithPaginationResponse parses an HTTP response from a GetTransferListWithPaginationWithResponse call
func (GetTransferListWithPaginationResponse) Status ¶
func (r GetTransferListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetTransferListWithPaginationResponse) StatusCode ¶
func (r GetTransferListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransferResourceResponse ¶
type GetTransferResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Transfer }
func ParseGetTransferResourceResponse ¶
func ParseGetTransferResourceResponse(rsp *http.Response) (*GetTransferResourceResponse, error)
ParseGetTransferResourceResponse parses an HTTP response from a GetTransferResourceWithResponse call
func (GetTransferResourceResponse) Status ¶
func (r GetTransferResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetTransferResourceResponse) StatusCode ¶
func (r GetTransferResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserDeferredTaskResourceResponse ¶
type GetUserDeferredTaskResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserDeferredTask }
func ParseGetUserDeferredTaskResourceResponse ¶
func ParseGetUserDeferredTaskResourceResponse(rsp *http.Response) (*GetUserDeferredTaskResourceResponse, error)
ParseGetUserDeferredTaskResourceResponse parses an HTTP response from a GetUserDeferredTaskResourceWithResponse call
func (GetUserDeferredTaskResourceResponse) Status ¶
func (r GetUserDeferredTaskResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserDeferredTaskResourceResponse) StatusCode ¶
func (r GetUserDeferredTaskResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserListWithPaginationParams ¶
type GetUserListWithPaginationParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // DepartmentId filter by department DepartmentId *openapi_types.UUID `form:"department_id,omitempty" json:"department_id,omitempty"` // Email filter by email Email *openapi_types.Email `form:"email,omitempty" json:"email,omitempty"` // LocationId filter by location LocationId *openapi_types.UUID `form:"location_id,omitempty" json:"location_id,omitempty"` }
GetUserListWithPaginationParams defines parameters for GetUserListWithPagination.
type GetUserListWithPaginationResponse ¶
type GetUserListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiUserResourceSchema }
func ParseGetUserListWithPaginationResponse ¶
func ParseGetUserListWithPaginationResponse(rsp *http.Response) (*GetUserListWithPaginationResponse, error)
ParseGetUserListWithPaginationResponse parses an HTTP response from a GetUserListWithPaginationWithResponse call
func (GetUserListWithPaginationResponse) Status ¶
func (r GetUserListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserListWithPaginationResponse) StatusCode ¶
func (r GetUserListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResourceResponse ¶
func ParseGetUserResourceResponse ¶
func ParseGetUserResourceResponse(rsp *http.Response) (*GetUserResourceResponse, error)
ParseGetUserResourceResponse parses an HTTP response from a GetUserResourceWithResponse call
func (GetUserResourceResponse) Status ¶
func (r GetUserResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResourceResponse) StatusCode ¶
func (r GetUserResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVendorListResourceParams ¶
type GetVendorListResourceParams struct { // Start The ID of the last entity of the previous page, used for pagination to get the next page. Start *openapi_types.UUID `form:"start,omitempty" json:"start,omitempty"` // PageSize The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default value 1,000 will be used. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` IsSynced *bool `form:"is_synced,omitempty" json:"is_synced,omitempty"` }
GetVendorListResourceParams defines parameters for GetVendorListResource.
type GetVendorListResourceResponse ¶
type GetVendorListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PaginatedResponseApiAccountingVendorResourceSchema }
func ParseGetVendorListResourceResponse ¶
func ParseGetVendorListResourceResponse(rsp *http.Response) (*GetVendorListResourceResponse, error)
ParseGetVendorListResourceResponse parses an HTTP response from a GetVendorListResourceWithResponse call
func (GetVendorListResourceResponse) Status ¶
func (r GetVendorListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetVendorListResourceResponse) StatusCode ¶
func (r GetVendorListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVendorResourceResponse ¶
type GetVendorResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VendorAccount }
func ParseGetVendorResourceResponse ¶
func ParseGetVendorResourceResponse(rsp *http.Response) (*GetVendorResourceResponse, error)
ParseGetVendorResourceResponse parses an HTTP response from a GetVendorResourceWithResponse call
func (GetVendorResourceResponse) Status ¶
func (r GetVendorResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetVendorResourceResponse) StatusCode ¶
func (r GetVendorResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Lead ¶
type Lead struct { BusinessInfo *ApiSalesLeadBusinessDump `json:"business_info,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Email *string `json:"email,omitempty"` ExternalId string `json:"external_id"` FinancingApplicationStatus *LeadFinancingApplicationStatus `json:"financing_application_status,omitempty"` FirstName *string `json:"first_name,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` LastName *string `json:"last_name,omitempty"` Phone *string `json:"phone,omitempty"` Source LeadSource `json:"source"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Lead defines model for Lead.
type LeadFinancingApplicationStatus ¶
type LeadFinancingApplicationStatus string
LeadFinancingApplicationStatus defines model for Lead.FinancingApplicationStatus.
const ( ALLOYCOMPLETE LeadFinancingApplicationStatus = "ALLOY_COMPLETE" AdminApproved LeadFinancingApplicationStatus = "Admin Approved" DOCUMENTSREQUIRED LeadFinancingApplicationStatus = "DOCUMENTS_REQUIRED" DOCUMENTSSUBMITTED LeadFinancingApplicationStatus = "DOCUMENTS_SUBMITTED" KYCApproved LeadFinancingApplicationStatus = "KYC Approved" OPSREVIEW LeadFinancingApplicationStatus = "OPS_REVIEW" Pending LeadFinancingApplicationStatus = "Pending" Rejected LeadFinancingApplicationStatus = "Rejected" Submitted LeadFinancingApplicationStatus = "Submitted" Withdrawn LeadFinancingApplicationStatus = "Withdrawn" )
Defines values for LeadFinancingApplicationStatus.
type LeadSource ¶
type LeadSource string
LeadSource defines model for Lead.Source.
const (
LeadSourceAngelList LeadSource = "AngelList"
)
Defines values for LeadSource.
type Limit ¶
type Limit struct { // Balance Details about the current balance of the limit. Balance *ApiSpendAllocationBalance `json:"balance,omitempty"` // Cards List of cards linked to this limit. Cards *[]ApiSpendLimitCardResource `json:"cards,omitempty"` // DisplayName Display name of the limit. DisplayName *string `json:"display_name,omitempty"` // HasProgramOverridden Indicates if the limit's settings override those of its Spend Program. HasProgramOverridden *bool `json:"has_program_overridden,omitempty"` // Id Unique identifier of the limit. Id *openapi_types.UUID `json:"id,omitempty"` // PermittedSpendTypes Specifies the permitted spend types of the limit. PermittedSpendTypes *ApiPermittedSpendTypesDump `json:"permitted_spend_types,omitempty"` // Restrictions Restrictions imposed on this limit. Restrictions *ApiSpendingRestrictionsDump `json:"restrictions,omitempty"` // SpendProgramId Unique identifier of the associated Spend Program. SpendProgramId *openapi_types.UUID `json:"spend_program_id,omitempty"` // State Current state of the limit. State *LimitState `json:"state,omitempty"` // Suspension Suspension (lock) on the limit. Suspension *ApiSuspensionDump `json:"suspension"` // Users Members who can spend from the limit. Users *[]ApiSpendLimitMember `json:"users,omitempty"` }
Limit defines model for limit.
type LimitState ¶
type LimitState string
LimitState Current state of the limit.
const ( LimitStateACTIVE LimitState = "ACTIVE" LimitStateRAMPTERMINATED LimitState = "RAMP_TERMINATED" LimitStateSUSPENDED LimitState = "SUSPENDED" LimitStateTERMINATED LimitState = "TERMINATED" )
Defines values for LimitState.
type Location ¶
type Location struct { Id openapi_types.UUID `json:"id"` Name string `json:"name"` }
Location defines model for Location.
type Memo ¶
type Memo struct { Id *openapi_types.UUID `json:"id,omitempty"` Memo *string `json:"memo,omitempty"` }
Memo defines model for Memo.
type Merchant ¶
type Merchant struct { Id *openapi_types.UUID `json:"id,omitempty"` MerchantName *string `json:"merchant_name,omitempty"` SkCategoryName *string `json:"sk_category_name"` }
Merchant defines model for Merchant.
type PaginatedResponseApiAccountingCustomFieldOptionResourceSchema ¶
type PaginatedResponseApiAccountingCustomFieldOptionResourceSchema struct { Data []CustomFieldOption `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiAccountingCustomFieldOptionResourceSchema defines model for PaginatedResponseApiAccountingCustomFieldOptionResourceSchema.
type PaginatedResponseApiAccountingCustomFieldResourceSchema ¶
type PaginatedResponseApiAccountingCustomFieldResourceSchema struct { Data []ApiAccountingCustomFieldResource `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiAccountingCustomFieldResourceSchema defines model for PaginatedResponseApiAccountingCustomFieldResourceSchema.
type PaginatedResponseApiAccountingGLAccountResourceSchema ¶
type PaginatedResponseApiAccountingGLAccountResourceSchema struct { Data []GeneralLedgerAccount `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiAccountingGLAccountResourceSchema defines model for PaginatedResponseApiAccountingGLAccountResourceSchema.
type PaginatedResponseApiAccountingSubsidiaryResourceSchema ¶
type PaginatedResponseApiAccountingSubsidiaryResourceSchema struct { Data []Subsidiary `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiAccountingSubsidiaryResourceSchema defines model for PaginatedResponseApiAccountingSubsidiaryResourceSchema.
type PaginatedResponseApiAccountingVendorResourceSchema ¶
type PaginatedResponseApiAccountingVendorResourceSchema struct { Data []VendorAccount `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiAccountingVendorResourceSchema defines model for PaginatedResponseApiAccountingVendorResourceSchema.
type PaginatedResponseApiCardProgramResourceSchema ¶
type PaginatedResponseApiCardProgramResourceSchema struct { Data []ApiCardProgramResource `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiCardProgramResourceSchema defines model for PaginatedResponseApiCardProgramResourceSchema.
type PaginatedResponseApiCardResourceSchema ¶
type PaginatedResponseApiCardResourceSchema struct { Data []Card `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiCardResourceSchema defines model for PaginatedResponseApiCardResourceSchema.
type PaginatedResponseApiCashbackResourceSchema ¶
type PaginatedResponseApiCashbackResourceSchema struct { Data []Cashback `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiCashbackResourceSchema defines model for PaginatedResponseApiCashbackResourceSchema.
type PaginatedResponseApiDepartmentResourceSchema ¶
type PaginatedResponseApiDepartmentResourceSchema struct { Data []Department `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiDepartmentResourceSchema defines model for PaginatedResponseApiDepartmentResourceSchema.
type PaginatedResponseApiLocationResourceSchema ¶
type PaginatedResponseApiLocationResourceSchema struct { Data []Location `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiLocationResourceSchema defines model for PaginatedResponseApiLocationResourceSchema.
type PaginatedResponseApiMemoResourceSchema ¶
type PaginatedResponseApiMemoResourceSchema struct { Data []Memo `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiMemoResourceSchema defines model for PaginatedResponseApiMemoResourceSchema.
type PaginatedResponseApiMerchantResourceSchema ¶
type PaginatedResponseApiMerchantResourceSchema struct { Data []Merchant `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiMerchantResourceSchema defines model for PaginatedResponseApiMerchantResourceSchema.
type PaginatedResponseApiReceiptResourceSchema ¶
type PaginatedResponseApiReceiptResourceSchema struct { Data []Receipt `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiReceiptResourceSchema defines model for PaginatedResponseApiReceiptResourceSchema.
type PaginatedResponseApiReimbursementResourceSchema ¶
type PaginatedResponseApiReimbursementResourceSchema struct { Data []Reimbursement `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiReimbursementResourceSchema defines model for PaginatedResponseApiReimbursementResourceSchema.
type PaginatedResponseApiSpendLimitResourceSchema ¶
type PaginatedResponseApiSpendLimitResourceSchema struct { Data []Limit `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiSpendLimitResourceSchema defines model for PaginatedResponseApiSpendLimitResourceSchema.
type PaginatedResponseApiSpendProgramResourceSchema ¶
type PaginatedResponseApiSpendProgramResourceSchema struct { Data []ApiSpendProgramResource `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiSpendProgramResourceSchema defines model for PaginatedResponseApiSpendProgramResourceSchema.
type PaginatedResponseApiStatementResourceSchema ¶
type PaginatedResponseApiStatementResourceSchema struct { Data []Statement `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiStatementResourceSchema defines model for PaginatedResponseApiStatementResourceSchema.
type PaginatedResponseApiTransactionCanonicalSchema ¶
type PaginatedResponseApiTransactionCanonicalSchema struct { Data []Transaction `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiTransactionCanonicalSchema defines model for PaginatedResponseApiTransactionCanonicalSchema.
type PaginatedResponseApiTransferResourceSchema ¶
type PaginatedResponseApiTransferResourceSchema struct { Data []Transfer `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiTransferResourceSchema defines model for PaginatedResponseApiTransferResourceSchema.
type PaginatedResponseApiUserResourceSchema ¶
type PaginatedResponseApiUserResourceSchema struct { Data []User `json:"data"` Page DeveloperAPINestedPage `json:"page"` }
PaginatedResponseApiUserResourceSchema defines model for PaginatedResponseApiUserResourceSchema.
type PatchCardResourceJSONRequestBody ¶
type PatchCardResourceJSONRequestBody = ApiCardUpdateRequestBody
PatchCardResourceJSONRequestBody defines body for PatchCardResource for application/json ContentType.
type PatchCardResourceResponse ¶
func ParsePatchCardResourceResponse ¶
func ParsePatchCardResourceResponse(rsp *http.Response) (*PatchCardResourceResponse, error)
ParsePatchCardResourceResponse parses an HTTP response from a PatchCardResourceWithResponse call
func (PatchCardResourceResponse) Status ¶
func (r PatchCardResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchCardResourceResponse) StatusCode ¶
func (r PatchCardResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchCustomFieldOptionResourceJSONRequestBody ¶
type PatchCustomFieldOptionResourceJSONRequestBody = ApiAccountingCustomFieldOptionUpdateRequestBody
PatchCustomFieldOptionResourceJSONRequestBody defines body for PatchCustomFieldOptionResource for application/json ContentType.
type PatchCustomFieldOptionResourceResponse ¶
type PatchCustomFieldOptionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CustomFieldOption }
func ParsePatchCustomFieldOptionResourceResponse ¶
func ParsePatchCustomFieldOptionResourceResponse(rsp *http.Response) (*PatchCustomFieldOptionResourceResponse, error)
ParsePatchCustomFieldOptionResourceResponse parses an HTTP response from a PatchCustomFieldOptionResourceWithResponse call
func (PatchCustomFieldOptionResourceResponse) Status ¶
func (r PatchCustomFieldOptionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchCustomFieldOptionResourceResponse) StatusCode ¶
func (r PatchCustomFieldOptionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchCustomFieldResourceJSONRequestBody ¶
type PatchCustomFieldResourceJSONRequestBody = ApiAccountingCustomFieldUpdateRequestBody
PatchCustomFieldResourceJSONRequestBody defines body for PatchCustomFieldResource for application/json ContentType.
type PatchCustomFieldResourceResponse ¶
type PatchCustomFieldResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiAccountingCustomFieldResource }
func ParsePatchCustomFieldResourceResponse ¶
func ParsePatchCustomFieldResourceResponse(rsp *http.Response) (*PatchCustomFieldResourceResponse, error)
ParsePatchCustomFieldResourceResponse parses an HTTP response from a PatchCustomFieldResourceWithResponse call
func (PatchCustomFieldResourceResponse) Status ¶
func (r PatchCustomFieldResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchCustomFieldResourceResponse) StatusCode ¶
func (r PatchCustomFieldResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchDepartmentResourceJSONRequestBody ¶
type PatchDepartmentResourceJSONRequestBody = ApiDepartmentUpdateRequestBody
PatchDepartmentResourceJSONRequestBody defines body for PatchDepartmentResource for application/json ContentType.
type PatchDepartmentResourceResponse ¶
type PatchDepartmentResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Department }
func ParsePatchDepartmentResourceResponse ¶
func ParsePatchDepartmentResourceResponse(rsp *http.Response) (*PatchDepartmentResourceResponse, error)
ParsePatchDepartmentResourceResponse parses an HTTP response from a PatchDepartmentResourceWithResponse call
func (PatchDepartmentResourceResponse) Status ¶
func (r PatchDepartmentResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchDepartmentResourceResponse) StatusCode ¶
func (r PatchDepartmentResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchGlAccountResourceJSONRequestBody ¶
type PatchGlAccountResourceJSONRequestBody = ApiAccountingGLAccountUpdateRequestBody
PatchGlAccountResourceJSONRequestBody defines body for PatchGlAccountResource for application/json ContentType.
type PatchGlAccountResourceResponse ¶
type PatchGlAccountResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GeneralLedgerAccount }
func ParsePatchGlAccountResourceResponse ¶
func ParsePatchGlAccountResourceResponse(rsp *http.Response) (*PatchGlAccountResourceResponse, error)
ParsePatchGlAccountResourceResponse parses an HTTP response from a PatchGlAccountResourceWithResponse call
func (PatchGlAccountResourceResponse) Status ¶
func (r PatchGlAccountResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchGlAccountResourceResponse) StatusCode ¶
func (r PatchGlAccountResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchLocationSingleResourceJSONRequestBody ¶
type PatchLocationSingleResourceJSONRequestBody = ApiLocationUpdateRequestBody
PatchLocationSingleResourceJSONRequestBody defines body for PatchLocationSingleResource for application/json ContentType.
type PatchLocationSingleResourceResponse ¶
type PatchLocationSingleResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Location }
func ParsePatchLocationSingleResourceResponse ¶
func ParsePatchLocationSingleResourceResponse(rsp *http.Response) (*PatchLocationSingleResourceResponse, error)
ParsePatchLocationSingleResourceResponse parses an HTTP response from a PatchLocationSingleResourceWithResponse call
func (PatchLocationSingleResourceResponse) Status ¶
func (r PatchLocationSingleResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchLocationSingleResourceResponse) StatusCode ¶
func (r PatchLocationSingleResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchSpendLimitResourceResponse ¶
type PatchSpendLimitResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Limit }
func ParsePatchSpendLimitResourceResponse ¶
func ParsePatchSpendLimitResourceResponse(rsp *http.Response) (*PatchSpendLimitResourceResponse, error)
ParsePatchSpendLimitResourceResponse parses an HTTP response from a PatchSpendLimitResourceWithResponse call
func (PatchSpendLimitResourceResponse) Status ¶
func (r PatchSpendLimitResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchSpendLimitResourceResponse) StatusCode ¶
func (r PatchSpendLimitResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchSubsidiaryResourceJSONRequestBody ¶
type PatchSubsidiaryResourceJSONRequestBody = ApiAccountingSubsidiaryUpdateRequestBody
PatchSubsidiaryResourceJSONRequestBody defines body for PatchSubsidiaryResource for application/json ContentType.
type PatchSubsidiaryResourceResponse ¶
type PatchSubsidiaryResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Subsidiary }
func ParsePatchSubsidiaryResourceResponse ¶
func ParsePatchSubsidiaryResourceResponse(rsp *http.Response) (*PatchSubsidiaryResourceResponse, error)
ParsePatchSubsidiaryResourceResponse parses an HTTP response from a PatchSubsidiaryResourceWithResponse call
func (PatchSubsidiaryResourceResponse) Status ¶
func (r PatchSubsidiaryResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchSubsidiaryResourceResponse) StatusCode ¶
func (r PatchSubsidiaryResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchUserResourceJSONRequestBody ¶
type PatchUserResourceJSONRequestBody = ApiUserUpdateRequestBody
PatchUserResourceJSONRequestBody defines body for PatchUserResource for application/json ContentType.
type PatchUserResourceResponse ¶
func ParsePatchUserResourceResponse ¶
func ParsePatchUserResourceResponse(rsp *http.Response) (*PatchUserResourceResponse, error)
ParsePatchUserResourceResponse parses an HTTP response from a PatchUserResourceWithResponse call
func (PatchUserResourceResponse) Status ¶
func (r PatchUserResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchUserResourceResponse) StatusCode ¶
func (r PatchUserResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchVendorResourceJSONRequestBody ¶
type PatchVendorResourceJSONRequestBody = ApiAccountingVendorUpdateRequestBody
PatchVendorResourceJSONRequestBody defines body for PatchVendorResource for application/json ContentType.
type PatchVendorResourceResponse ¶
func ParsePatchVendorResourceResponse ¶
func ParsePatchVendorResourceResponse(rsp *http.Response) (*PatchVendorResourceResponse, error)
ParsePatchVendorResourceResponse parses an HTTP response from a PatchVendorResourceWithResponse call
func (PatchVendorResourceResponse) Status ¶
func (r PatchVendorResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PatchVendorResourceResponse) StatusCode ¶
func (r PatchVendorResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAccountingConnectionResouceJSONRequestBody ¶
type PostAccountingConnectionResouceJSONRequestBody = ApiAccountingProviderAccessCreateRequestBody
PostAccountingConnectionResouceJSONRequestBody defines body for PostAccountingConnectionResouce for application/json ContentType.
type PostAccountingConnectionResouceResponse ¶
type PostAccountingConnectionResouceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *AccountingProvider }
func ParsePostAccountingConnectionResouceResponse ¶
func ParsePostAccountingConnectionResouceResponse(rsp *http.Response) (*PostAccountingConnectionResouceResponse, error)
ParsePostAccountingConnectionResouceResponse parses an HTTP response from a PostAccountingConnectionResouceWithResponse call
func (PostAccountingConnectionResouceResponse) Status ¶
func (r PostAccountingConnectionResouceResponse) Status() string
Status returns HTTPResponse.Status
func (PostAccountingConnectionResouceResponse) StatusCode ¶
func (r PostAccountingConnectionResouceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCardProgramListDeprecatedJSONRequestBody ¶
type PostCardProgramListDeprecatedJSONRequestBody = ApiCardProgramCreateRequestBody
PostCardProgramListDeprecatedJSONRequestBody defines body for PostCardProgramListDeprecated for application/json ContentType.
type PostCardProgramListDeprecatedResponse ¶
type PostCardProgramListDeprecatedResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiCardProgramResource }
func ParsePostCardProgramListDeprecatedResponse ¶
func ParsePostCardProgramListDeprecatedResponse(rsp *http.Response) (*PostCardProgramListDeprecatedResponse, error)
ParsePostCardProgramListDeprecatedResponse parses an HTTP response from a PostCardProgramListDeprecatedWithResponse call
func (PostCardProgramListDeprecatedResponse) Status ¶
func (r PostCardProgramListDeprecatedResponse) Status() string
Status returns HTTPResponse.Status
func (PostCardProgramListDeprecatedResponse) StatusCode ¶
func (r PostCardProgramListDeprecatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCardSuspensionResourceJSONRequestBody ¶
type PostCardSuspensionResourceJSONRequestBody = ApiCardDeferredUpdateRequestBody
PostCardSuspensionResourceJSONRequestBody defines body for PostCardSuspensionResource for application/json ContentType.
type PostCardSuspensionResourceResponse ¶
type PostCardSuspensionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostCardSuspensionResourceResponse ¶
func ParsePostCardSuspensionResourceResponse(rsp *http.Response) (*PostCardSuspensionResourceResponse, error)
ParsePostCardSuspensionResourceResponse parses an HTTP response from a PostCardSuspensionResourceWithResponse call
func (PostCardSuspensionResourceResponse) Status ¶
func (r PostCardSuspensionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostCardSuspensionResourceResponse) StatusCode ¶
func (r PostCardSuspensionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCardTerminationResourceJSONRequestBody ¶
type PostCardTerminationResourceJSONRequestBody = ApiCardDeferredUpdateRequestBody
PostCardTerminationResourceJSONRequestBody defines body for PostCardTerminationResource for application/json ContentType.
type PostCardTerminationResourceResponse ¶
type PostCardTerminationResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostCardTerminationResourceResponse ¶
func ParsePostCardTerminationResourceResponse(rsp *http.Response) (*PostCardTerminationResourceResponse, error)
ParsePostCardTerminationResourceResponse parses an HTTP response from a PostCardTerminationResourceWithResponse call
func (PostCardTerminationResourceResponse) Status ¶
func (r PostCardTerminationResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostCardTerminationResourceResponse) StatusCode ¶
func (r PostCardTerminationResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCardUnsuspensionResourceJSONRequestBody ¶
type PostCardUnsuspensionResourceJSONRequestBody = ApiCardDeferredUpdateRequestBody
PostCardUnsuspensionResourceJSONRequestBody defines body for PostCardUnsuspensionResource for application/json ContentType.
type PostCardUnsuspensionResourceResponse ¶
type PostCardUnsuspensionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostCardUnsuspensionResourceResponse ¶
func ParsePostCardUnsuspensionResourceResponse(rsp *http.Response) (*PostCardUnsuspensionResourceResponse, error)
ParsePostCardUnsuspensionResourceResponse parses an HTTP response from a PostCardUnsuspensionResourceWithResponse call
func (PostCardUnsuspensionResourceResponse) Status ¶
func (r PostCardUnsuspensionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostCardUnsuspensionResourceResponse) StatusCode ¶
func (r PostCardUnsuspensionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCustomFieldListResourceJSONRequestBody ¶
type PostCustomFieldListResourceJSONRequestBody = ApiAccountingCustomFieldCreateRequestBody
PostCustomFieldListResourceJSONRequestBody defines body for PostCustomFieldListResource for application/json ContentType.
type PostCustomFieldListResourceResponse ¶
type PostCustomFieldListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiAccountingCustomFieldResource }
func ParsePostCustomFieldListResourceResponse ¶
func ParsePostCustomFieldListResourceResponse(rsp *http.Response) (*PostCustomFieldListResourceResponse, error)
ParsePostCustomFieldListResourceResponse parses an HTTP response from a PostCustomFieldListResourceWithResponse call
func (PostCustomFieldListResourceResponse) Status ¶
func (r PostCustomFieldListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostCustomFieldListResourceResponse) StatusCode ¶
func (r PostCustomFieldListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCustomFieldOptionListResourceJSONRequestBody ¶
type PostCustomFieldOptionListResourceJSONRequestBody = ApiAccountingCustomFieldOptionUploadRequestBody
PostCustomFieldOptionListResourceJSONRequestBody defines body for PostCustomFieldOptionListResource for application/json ContentType.
type PostCustomFieldOptionListResourceResponse ¶
type PostCustomFieldOptionListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiAccountingTrackingCategoryUploadResponse }
func ParsePostCustomFieldOptionListResourceResponse ¶
func ParsePostCustomFieldOptionListResourceResponse(rsp *http.Response) (*PostCustomFieldOptionListResourceResponse, error)
ParsePostCustomFieldOptionListResourceResponse parses an HTTP response from a PostCustomFieldOptionListResourceWithResponse call
func (PostCustomFieldOptionListResourceResponse) Status ¶
func (r PostCustomFieldOptionListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostCustomFieldOptionListResourceResponse) StatusCode ¶
func (r PostCustomFieldOptionListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDepartmentListWithPaginationJSONRequestBody ¶
type PostDepartmentListWithPaginationJSONRequestBody = ApiDepartmentCreateRequestBody
PostDepartmentListWithPaginationJSONRequestBody defines body for PostDepartmentListWithPagination for application/json ContentType.
type PostDepartmentListWithPaginationResponse ¶
type PostDepartmentListWithPaginationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Department }
func ParsePostDepartmentListWithPaginationResponse ¶
func ParsePostDepartmentListWithPaginationResponse(rsp *http.Response) (*PostDepartmentListWithPaginationResponse, error)
ParsePostDepartmentListWithPaginationResponse parses an HTTP response from a PostDepartmentListWithPaginationWithResponse call
func (PostDepartmentListWithPaginationResponse) Status ¶
func (r PostDepartmentListWithPaginationResponse) Status() string
Status returns HTTPResponse.Status
func (PostDepartmentListWithPaginationResponse) StatusCode ¶
func (r PostDepartmentListWithPaginationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostGlAccountListResourceJSONRequestBody ¶
type PostGlAccountListResourceJSONRequestBody = ApiAccountingGLAccountUploadRequestBody
PostGlAccountListResourceJSONRequestBody defines body for PostGlAccountListResource for application/json ContentType.
type PostGlAccountListResourceResponse ¶
type PostGlAccountListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiAccountingTrackingCategoryUploadResponse }
func ParsePostGlAccountListResourceResponse ¶
func ParsePostGlAccountListResourceResponse(rsp *http.Response) (*PostGlAccountListResourceResponse, error)
ParsePostGlAccountListResourceResponse parses an HTTP response from a PostGlAccountListResourceWithResponse call
func (PostGlAccountListResourceResponse) Status ¶
func (r PostGlAccountListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostGlAccountListResourceResponse) StatusCode ¶
func (r PostGlAccountListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostLocationListResourceJSONRequestBody ¶
type PostLocationListResourceJSONRequestBody = ApiLocationCreateRequestBody
PostLocationListResourceJSONRequestBody defines body for PostLocationListResource for application/json ContentType.
type PostLocationListResourceResponse ¶
type PostLocationListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Location }
func ParsePostLocationListResourceResponse ¶
func ParsePostLocationListResourceResponse(rsp *http.Response) (*PostLocationListResourceResponse, error)
ParsePostLocationListResourceResponse parses an HTTP response from a PostLocationListResourceWithResponse call
func (PostLocationListResourceResponse) Status ¶
func (r PostLocationListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostLocationListResourceResponse) StatusCode ¶
func (r PostLocationListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostPhysicalCardJSONRequestBody ¶
type PostPhysicalCardJSONRequestBody = ApiCardRequestBody
PostPhysicalCardJSONRequestBody defines body for PostPhysicalCard for application/json ContentType.
type PostPhysicalCardResponse ¶
type PostPhysicalCardResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostPhysicalCardResponse ¶
func ParsePostPhysicalCardResponse(rsp *http.Response) (*PostPhysicalCardResponse, error)
ParsePostPhysicalCardResponse parses an HTTP response from a PostPhysicalCardWithResponse call
func (PostPhysicalCardResponse) Status ¶
func (r PostPhysicalCardResponse) Status() string
Status returns HTTPResponse.Status
func (PostPhysicalCardResponse) StatusCode ¶
func (r PostPhysicalCardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody ¶
type PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody = ApiReceiptIntegrationOptedOutEmailCreateRequestBody
PostReceiptIntegrationOptedOutEmailsListResourceJSONRequestBody defines body for PostReceiptIntegrationOptedOutEmailsListResource for application/json ContentType.
type PostReceiptIntegrationOptedOutEmailsListResourceResponse ¶
type PostReceiptIntegrationOptedOutEmailsListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiReceiptIntegrationOptedOutEmailResource }
func ParsePostReceiptIntegrationOptedOutEmailsListResourceResponse ¶
func ParsePostReceiptIntegrationOptedOutEmailsListResourceResponse(rsp *http.Response) (*PostReceiptIntegrationOptedOutEmailsListResourceResponse, error)
ParsePostReceiptIntegrationOptedOutEmailsListResourceResponse parses an HTTP response from a PostReceiptIntegrationOptedOutEmailsListResourceWithResponse call
func (PostReceiptIntegrationOptedOutEmailsListResourceResponse) Status ¶
func (r PostReceiptIntegrationOptedOutEmailsListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostReceiptIntegrationOptedOutEmailsListResourceResponse) StatusCode ¶
func (r PostReceiptIntegrationOptedOutEmailsListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSalesLeadCreationJSONRequestBody ¶
type PostSalesLeadCreationJSONRequestBody = ApiSalesLeadCreateRequestBody
PostSalesLeadCreationJSONRequestBody defines body for PostSalesLeadCreation for application/json ContentType.
type PostSalesLeadCreationResponse ¶
func ParsePostSalesLeadCreationResponse ¶
func ParsePostSalesLeadCreationResponse(rsp *http.Response) (*PostSalesLeadCreationResponse, error)
ParsePostSalesLeadCreationResponse parses an HTTP response from a PostSalesLeadCreationWithResponse call
func (PostSalesLeadCreationResponse) Status ¶
func (r PostSalesLeadCreationResponse) Status() string
Status returns HTTPResponse.Status
func (PostSalesLeadCreationResponse) StatusCode ¶
func (r PostSalesLeadCreationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSalesLeadDocumentUploadResponse ¶
type PostSalesLeadDocumentUploadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Upload }
func ParsePostSalesLeadDocumentUploadResponse ¶
func ParsePostSalesLeadDocumentUploadResponse(rsp *http.Response) (*PostSalesLeadDocumentUploadResponse, error)
ParsePostSalesLeadDocumentUploadResponse parses an HTTP response from a PostSalesLeadDocumentUploadWithResponse call
func (PostSalesLeadDocumentUploadResponse) Status ¶
func (r PostSalesLeadDocumentUploadResponse) Status() string
Status returns HTTPResponse.Status
func (PostSalesLeadDocumentUploadResponse) StatusCode ¶
func (r PostSalesLeadDocumentUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSpendLimitCreationJSONRequestBody ¶
type PostSpendLimitCreationJSONRequestBody = ApiSpendLimitCreateRequestBody
PostSpendLimitCreationJSONRequestBody defines body for PostSpendLimitCreation for application/json ContentType.
type PostSpendLimitCreationResponse ¶
type PostSpendLimitCreationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostSpendLimitCreationResponse ¶
func ParsePostSpendLimitCreationResponse(rsp *http.Response) (*PostSpendLimitCreationResponse, error)
ParsePostSpendLimitCreationResponse parses an HTTP response from a PostSpendLimitCreationWithResponse call
func (PostSpendLimitCreationResponse) Status ¶
func (r PostSpendLimitCreationResponse) Status() string
Status returns HTTPResponse.Status
func (PostSpendLimitCreationResponse) StatusCode ¶
func (r PostSpendLimitCreationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSpendLimitSuspensionResourceResponse ¶
type PostSpendLimitSuspensionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Limit }
func ParsePostSpendLimitSuspensionResourceResponse ¶
func ParsePostSpendLimitSuspensionResourceResponse(rsp *http.Response) (*PostSpendLimitSuspensionResourceResponse, error)
ParsePostSpendLimitSuspensionResourceResponse parses an HTTP response from a PostSpendLimitSuspensionResourceWithResponse call
func (PostSpendLimitSuspensionResourceResponse) Status ¶
func (r PostSpendLimitSuspensionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSpendLimitSuspensionResourceResponse) StatusCode ¶
func (r PostSpendLimitSuspensionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSpendLimitTerminationResourceJSONRequestBody ¶
type PostSpendLimitTerminationResourceJSONRequestBody = ApiSpendLimitDeferredUpdateRequestBody
PostSpendLimitTerminationResourceJSONRequestBody defines body for PostSpendLimitTerminationResource for application/json ContentType.
type PostSpendLimitTerminationResourceResponse ¶
type PostSpendLimitTerminationResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostSpendLimitTerminationResourceResponse ¶
func ParsePostSpendLimitTerminationResourceResponse(rsp *http.Response) (*PostSpendLimitTerminationResourceResponse, error)
ParsePostSpendLimitTerminationResourceResponse parses an HTTP response from a PostSpendLimitTerminationResourceWithResponse call
func (PostSpendLimitTerminationResourceResponse) Status ¶
func (r PostSpendLimitTerminationResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSpendLimitTerminationResourceResponse) StatusCode ¶
func (r PostSpendLimitTerminationResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSpendLimitUnsuspensionResourceResponse ¶
type PostSpendLimitUnsuspensionResourceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Limit }
func ParsePostSpendLimitUnsuspensionResourceResponse ¶
func ParsePostSpendLimitUnsuspensionResourceResponse(rsp *http.Response) (*PostSpendLimitUnsuspensionResourceResponse, error)
ParsePostSpendLimitUnsuspensionResourceResponse parses an HTTP response from a PostSpendLimitUnsuspensionResourceWithResponse call
func (PostSpendLimitUnsuspensionResourceResponse) Status ¶
func (r PostSpendLimitUnsuspensionResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSpendLimitUnsuspensionResourceResponse) StatusCode ¶
func (r PostSpendLimitUnsuspensionResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSpendProgramResourceJSONRequestBody ¶
type PostSpendProgramResourceJSONRequestBody = ApiSpendProgramCreateRequestBody
PostSpendProgramResourceJSONRequestBody defines body for PostSpendProgramResource for application/json ContentType.
type PostSpendProgramResourceResponse ¶
type PostSpendProgramResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiSpendProgramResource }
func ParsePostSpendProgramResourceResponse ¶
func ParsePostSpendProgramResourceResponse(rsp *http.Response) (*PostSpendProgramResourceResponse, error)
ParsePostSpendProgramResourceResponse parses an HTTP response from a PostSpendProgramResourceWithResponse call
func (PostSpendProgramResourceResponse) Status ¶
func (r PostSpendProgramResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSpendProgramResourceResponse) StatusCode ¶
func (r PostSpendProgramResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSubsidiaryListResourceJSONRequestBody ¶
type PostSubsidiaryListResourceJSONRequestBody = ApiAccountingSubsidiaryUploadRequestBody
PostSubsidiaryListResourceJSONRequestBody defines body for PostSubsidiaryListResource for application/json ContentType.
type PostSubsidiaryListResourceResponse ¶
type PostSubsidiaryListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiAccountingTrackingCategoryUploadResponse }
func ParsePostSubsidiaryListResourceResponse ¶
func ParsePostSubsidiaryListResourceResponse(rsp *http.Response) (*PostSubsidiaryListResourceResponse, error)
ParsePostSubsidiaryListResourceResponse parses an HTTP response from a PostSubsidiaryListResourceWithResponse call
func (PostSubsidiaryListResourceResponse) Status ¶
func (r PostSubsidiaryListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSubsidiaryListResourceResponse) StatusCode ¶
func (r PostSubsidiaryListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostSyncListResourceJSONRequestBody ¶
type PostSyncListResourceJSONRequestBody = ApiAccountingSyncCreateRequestBody
PostSyncListResourceJSONRequestBody defines body for PostSyncListResource for application/json ContentType.
type PostSyncListResourceResponse ¶
func ParsePostSyncListResourceResponse ¶
func ParsePostSyncListResourceResponse(rsp *http.Response) (*PostSyncListResourceResponse, error)
ParsePostSyncListResourceResponse parses an HTTP response from a PostSyncListResourceWithResponse call
func (PostSyncListResourceResponse) Status ¶
func (r PostSyncListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostSyncListResourceResponse) StatusCode ¶
func (r PostSyncListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostUserCreationDeferredTaskJSONRequestBody ¶
type PostUserCreationDeferredTaskJSONRequestBody = ApiUserCreateRequestBody
PostUserCreationDeferredTaskJSONRequestBody defines body for PostUserCreationDeferredTask for application/json ContentType.
type PostUserCreationDeferredTaskResponse ¶
type PostUserCreationDeferredTaskResponse struct { Body []byte HTTPResponse *http.Response JSON201 *DeferredTaskUUID }
func ParsePostUserCreationDeferredTaskResponse ¶
func ParsePostUserCreationDeferredTaskResponse(rsp *http.Response) (*PostUserCreationDeferredTaskResponse, error)
ParsePostUserCreationDeferredTaskResponse parses an HTTP response from a PostUserCreationDeferredTaskWithResponse call
func (PostUserCreationDeferredTaskResponse) Status ¶
func (r PostUserCreationDeferredTaskResponse) Status() string
Status returns HTTPResponse.Status
func (PostUserCreationDeferredTaskResponse) StatusCode ¶
func (r PostUserCreationDeferredTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostVendorListResourceJSONRequestBody ¶
type PostVendorListResourceJSONRequestBody = ApiAccountingVendorUploadRequestBody
PostVendorListResourceJSONRequestBody defines body for PostVendorListResource for application/json ContentType.
type PostVendorListResourceResponse ¶
type PostVendorListResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApiAccountingTrackingCategoryUploadResponse }
func ParsePostVendorListResourceResponse ¶
func ParsePostVendorListResourceResponse(rsp *http.Response) (*PostVendorListResourceResponse, error)
ParsePostVendorListResourceResponse parses an HTTP response from a PostVendorListResourceWithResponse call
func (PostVendorListResourceResponse) Status ¶
func (r PostVendorListResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PostVendorListResourceResponse) StatusCode ¶
func (r PostVendorListResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostVirtualCardJSONRequestBody ¶
type PostVirtualCardJSONRequestBody = ApiCardRequestBody
PostVirtualCardJSONRequestBody defines body for PostVirtualCard for application/json ContentType.
type PostVirtualCardResponse ¶
type PostVirtualCardResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeferredTaskUUID }
func ParsePostVirtualCardResponse ¶
func ParsePostVirtualCardResponse(rsp *http.Response) (*PostVirtualCardResponse, error)
ParsePostVirtualCardResponse parses an HTTP response from a PostVirtualCardWithResponse call
func (PostVirtualCardResponse) Status ¶
func (r PostVirtualCardResponse) Status() string
Status returns HTTPResponse.Status
func (PostVirtualCardResponse) StatusCode ¶
func (r PostVirtualCardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Receipt ¶
type Receipt struct { CreatedAt *time.Time `json:"created_at,omitempty"` // Id Unique identifier of the receipt. Id *openapi_types.UUID `json:"id,omitempty"` // ReceiptUrl Pre-signed url to download receipt image. ReceiptUrl *string `json:"receipt_url,omitempty"` // TransactionId Unique identifier of the associated transaction. TransactionId *openapi_types.UUID `json:"transaction_id,omitempty"` // UserId Unique identifier of the person who made the transaction. UserId *openapi_types.UUID `json:"user_id,omitempty"` }
Receipt defines model for Receipt.
type Reimbursement ¶
type Reimbursement struct { // AccountingFieldSelections List of accounting fields selected to code the reimbursement. AccountingFieldSelections *[]ApiReimbursementAccountingFieldSelection `json:"accounting_field_selections,omitempty"` // Amount The amount that the payor pays. Amount *float32 `json:"amount,omitempty"` // CreatedAt Time at which the reimbursement is created. Presented in ISO8601 format. CreatedAt *time.Time `json:"created_at,omitempty"` // Currency The currency that the payor pays with. Currency *string `json:"currency,omitempty"` // Direction The direction of the reimbursement. It could be either BUSINESS_TO_USER or USER_TO_BUSINESS. Direction *ReimbursementDirection `json:"direction,omitempty"` // Id Unique identifier of the reimbursement. Id *openapi_types.UUID `json:"id,omitempty"` // LineItems List of line items related to the reimbursement. LineItems *[]ApiReimbursementLineItem `json:"line_items,omitempty"` Merchant *string `json:"merchant,omitempty"` // OriginalReimbursementAmount Original reimbursement amount before the currency conversion. OriginalReimbursementAmount *CurrencyAmount `json:"original_reimbursement_amount"` Receipts *[]openapi_types.UUID `json:"receipts,omitempty"` TransactionDate *openapi_types.Date `json:"transaction_date,omitempty"` // Type The type of the reimbursement. Type *ReimbursementType `json:"type,omitempty"` // UserId Unique identifier of the person who made the reimbursement. UserId *openapi_types.UUID `json:"user_id,omitempty"` }
Reimbursement defines model for Reimbursement.
type ReimbursementDirection ¶
type ReimbursementDirection string
ReimbursementDirection The direction of the reimbursement. It could be either BUSINESS_TO_USER or USER_TO_BUSINESS.
const ( BUSINESSTOUSER ReimbursementDirection = "BUSINESS_TO_USER" USERTOBUSINESS ReimbursementDirection = "USER_TO_BUSINESS" )
Defines values for ReimbursementDirection.
type ReimbursementType ¶
type ReimbursementType string
ReimbursementType The type of the reimbursement.
const ( MILEAGE ReimbursementType = "MILEAGE" OUTOFPOCKET ReimbursementType = "OUT_OF_POCKET" PAYBACKFULL ReimbursementType = "PAYBACK_FULL" PAYBACKPARTIAL ReimbursementType = "PAYBACK_PARTIAL" )
Defines values for ReimbursementType.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SpendLimitDeferredTask ¶
type SpendLimitDeferredTask struct { // Data Detailed data of the deferred task. Data *ApiSpendLimitDeferredTaskData `json:"data,omitempty"` // Id Unique identifier of the deferred task. Id *openapi_types.UUID `json:"id,omitempty"` // Status Status of the deferred task. It could be one of the following values: STARTED, IN_PROGRESS, ERROR, SUCCESS Status *string `json:"status,omitempty"` }
SpendLimitDeferredTask defines model for SpendLimitDeferredTask.
type Statement ¶
type Statement struct { // Charges Total charges incurred during the statement period Charges CurrencyAmount `json:"charges"` // Credits Total credits accumulated during the statement period Credits CurrencyAmount `json:"credits"` EndDate time.Time `json:"end_date"` // EndingBalance Balance at the end of the statement period EndingBalance CurrencyAmount `json:"ending_balance"` Id openapi_types.UUID `json:"id"` // OpeningBalance Balance at the beginning of the statement period OpeningBalance CurrencyAmount `json:"opening_balance"` // Payments Total payments made during the statement period Payments CurrencyAmount `json:"payments"` PrecedingStatementId *openapi_types.UUID `json:"preceding_statement_id,omitempty"` StartDate time.Time `json:"start_date"` // StatementLines Statement lines encompass all the financial activities, including card transactions, transfers, and other charges or credits that have taken place within a specific period. StatementLines []ApiStatementItem `json:"statement_lines"` }
Statement defines model for Statement.
type Subsidiary ¶
type Subsidiary struct { CreatedAt *time.Time `json:"created_at,omitempty"` // Id id of the subsidiary company. Id *string `json:"id,omitempty"` IsActive *bool `json:"is_active,omitempty"` // Name name of the subsidiary company; e.g. Ramp LP. In the corporate world, a subsidiary is a company that belongs to another company, which is usually referred to as the parent company or the holding company. Name *string `json:"name,omitempty"` // RampId id to uniquely identify a subsidiary within Ramp system RampId *openapi_types.UUID `json:"ramp_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Subsidiary defines model for Subsidiary.
type Sync ¶
type Sync struct { CreatedAt *time.Time `json:"created_at,omitempty"` // Id id of the sync. Id *string `json:"id,omitempty"` // Status status of the sync. Status SyncStatus `json:"status"` }
Sync defines model for Sync.
type SyncStatus ¶
type SyncStatus string
SyncStatus status of the sync.
const ( CSVFAILURE SyncStatus = "CSV_FAILURE" CSVSUCCESS SyncStatus = "CSV_SUCCESS" INPROGRESS SyncStatus = "IN_PROGRESS" MARKEDCANCELED SyncStatus = "MARKED_CANCELED" PARTIALFAILURE SyncStatus = "PARTIAL_FAILURE" SYNCFAILURE SyncStatus = "SYNC_FAILURE" SYNCSUCCESS SyncStatus = "SYNC_SUCCESS" TIMEOUTFAILURE SyncStatus = "TIMEOUT_FAILURE" UNKNOWNERROR SyncStatus = "UNKNOWN_ERROR" VENDORFAIL SyncStatus = "VENDOR_FAIL" )
Defines values for SyncStatus.
type Transaction ¶
type Transaction struct { // AccountingCategories Accounting categories related to the transaction. AccountingCategories *[]ApiAccountingCategory `json:"accounting_categories,omitempty"` // AccountingFieldSelections List of accounting fields selected to code the transaction. AccountingFieldSelections *[]ApiTransactionAccountingFieldSelection `json:"accounting_field_selections,omitempty"` // Amount Settled amount of the transaction. Amount *float32 `json:"amount,omitempty"` // CardHolder Information about the card holder. CardHolder *ApiTransactionCardHolder `json:"card_holder,omitempty"` CardId *string `json:"card_id,omitempty"` // CurrencyCode Currency that the transaction is settled in. CurrencyCode *string `json:"currency_code,omitempty"` // DeclineDetails Details about a transaction decline. DeclineDetails *ApiTransactionDeclineDetails `json:"decline_details,omitempty"` // Disputes A list of disputes sorted in descending order by their creation time. Disputes *[]ApiTransactionDispute `json:"disputes,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` // LineItems List of line items related to the transaction. LineItems *[]ApiTransactionLineItem `json:"line_items,omitempty"` Memo *string `json:"memo"` // MerchantCategoryCode Merchant category code is a four-digit number in ISP 18245 used to classify a business by the types of goods and services it provides. MerchantCategoryCode *string `json:"merchant_category_code,omitempty"` // MerchantCategoryCodeDescription Description about the merchant category code. MerchantCategoryCodeDescription *string `json:"merchant_category_code_description,omitempty"` // MerchantDescriptor A merchant descriptor is the name that appears on a customer's bank statement when they make a purchase from that merchant. MerchantDescriptor *string `json:"merchant_descriptor,omitempty"` MerchantId *openapi_types.UUID `json:"merchant_id"` MerchantName *string `json:"merchant_name"` // OriginalTransactionAmount the original transaction amount before the currency conversion. OriginalTransactionAmount *CurrencyAmount `json:"original_transaction_amount"` // PolicyViolations A list of policy violations sorted in descending order by their creation time. PolicyViolations *[]ApiTransactionPolicyViolation `json:"policy_violations,omitempty"` // Receipts Receipts listed in ascending order by their creation time, related to the transaction. Receipts *[]openapi_types.UUID `json:"receipts,omitempty"` // SkCategoryId Ramp-internal category id. SkCategoryId *int `json:"sk_category_id"` // SkCategoryName Ramp-internal category name. SkCategoryName *string `json:"sk_category_name"` // State transaction state. State *TransactionState `json:"state,omitempty"` UserTransactionTime *time.Time `json:"user_transaction_time,omitempty"` }
Transaction defines model for Transaction.
type TransactionState ¶
type TransactionState string
TransactionState transaction state.
const ( TransactionStateALL TransactionState = "ALL" TransactionStateCLEARED TransactionState = "CLEARED" TransactionStateCOMPLETION TransactionState = "COMPLETION" TransactionStateDECLINED TransactionState = "DECLINED" TransactionStateERROR TransactionState = "ERROR" TransactionStatePENDING TransactionState = "PENDING" TransactionStatePENDINGINITIATION TransactionState = "PENDING_INITIATION" )
Defines values for TransactionState.
type Transfer ¶
type Transfer struct { // Amount Amount of the transfer payment. Amount *CurrencyAmount `json:"amount,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Status *TransferStatus `json:"status,omitempty"` }
Transfer defines model for Transfer.
type TransferStatus ¶
type TransferStatus string
TransferStatus defines model for Transfer.Status.
const ( TransferStatusACHCONFIRMED TransferStatus = "ACH_CONFIRMED" TransferStatusCANCELED TransferStatus = "CANCELED" TransferStatusCOMPLETED TransferStatus = "COMPLETED" TransferStatusERROR TransferStatus = "ERROR" TransferStatusINITIATED TransferStatus = "INITIATED" TransferStatusNOTACKED TransferStatus = "NOT_ACKED" TransferStatusNOTENOUGHFUNDS TransferStatus = "NOT_ENOUGH_FUNDS" TransferStatusPROCESSINGBYODFI TransferStatus = "PROCESSING_BY_ODFI" TransferStatusREJECTEDBYODFI TransferStatus = "REJECTED_BY_ODFI" TransferStatusRETURNEDBYRDFI TransferStatus = "RETURNED_BY_RDFI" TransferStatusSUBMITTEDTOFED TransferStatus = "SUBMITTED_TO_FED" TransferStatusSUBMITTEDTORDFI TransferStatus = "SUBMITTED_TO_RDFI" TransferStatusUNNECESSARY TransferStatus = "UNNECESSARY" TransferStatusUPLOADED TransferStatus = "UPLOADED" )
Defines values for TransferStatus.
type Upload ¶
type Upload struct { CreatedAt *time.Time `json:"created_at,omitempty"` DocumentType *string `json:"document_type,omitempty"` SalesLeadId *openapi_types.UUID `json:"sales_lead_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Upload defines model for Upload.
type User ¶
type User struct { // BusinessId Unique identifier of the company that the employee's working for. BusinessId *openapi_types.UUID `json:"business_id"` // DepartmentId Unique identifier of the employee's department DepartmentId *openapi_types.UUID `json:"department_id"` // Email The employee's email address Email *string `json:"email,omitempty"` // FirstName First name of the employee FirstName *string `json:"first_name,omitempty"` // Id Unique employee identifier Id *openapi_types.UUID `json:"id,omitempty"` // IsManager Whether the employee is a manager IsManager *bool `json:"is_manager,omitempty"` // LastName Last name of the employee LastName *string `json:"last_name,omitempty"` // LocationId Unique identifier of the employee's location LocationId *openapi_types.UUID `json:"location_id"` // ManagerId Unique identifier of the employee's manager ManagerId *openapi_types.UUID `json:"manager_id"` // Phone The employee's phone number Phone *string `json:"phone,omitempty"` // Role The employee's role; It could be one of the following values: Admin, Cardholder, Owner, Bookkeeper Role *string `json:"role,omitempty"` // Status The employee's status; It could be one of the following values: INVITE_PENDING, INVITE_DELETED, INVITE_EXPIRED, USER_ONBOARDING, USER_ACTIVE and USER_SUSPENDED Status *UserStatus `json:"status,omitempty"` }
User defines model for User.
type UserDeferredTask ¶
type UserDeferredTask struct { // Data Detailed data of the deferred task. Data *ApiUserDeferredTaskData `json:"data,omitempty"` // Id Unique identifier of the deferred task. Id *openapi_types.UUID `json:"id,omitempty"` // Status Status of the deferred task. It could be one of the following values: STARTED, IN_PROGRESS, ERROR, SUCCESS Status *string `json:"status,omitempty"` }
UserDeferredTask defines model for UserDeferredTask.
type UserStatus ¶
type UserStatus string
UserStatus The employee's status; It could be one of the following values: INVITE_PENDING, INVITE_DELETED, INVITE_EXPIRED, USER_ONBOARDING, USER_ACTIVE and USER_SUSPENDED
const ( INVITEDELETED UserStatus = "INVITE_DELETED" INVITEEXPIRED UserStatus = "INVITE_EXPIRED" INVITEPENDING UserStatus = "INVITE_PENDING" USERACTIVE UserStatus = "USER_ACTIVE" USERONBOARDING UserStatus = "USER_ONBOARDING" USERSUSPENDED UserStatus = "USER_SUSPENDED" )
Defines values for UserStatus.
type Vendor ¶
type Vendor struct { // Id id of the vendor. Id string `json:"id"` // Name name of the vendor Name string `json:"name"` }
Vendor defines model for Vendor.
type VendorAccount ¶
type VendorAccount struct { // Code e.g. 19566 Code *string `json:"code,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Id *string `json:"id,omitempty"` IsActive *bool `json:"is_active,omitempty"` IsSynced *bool `json:"is_synced,omitempty"` // Name A vendor is a person or business that provides goods or services Name *string `json:"name,omitempty"` // RampId id to uniquely identify a vendor account within Ramp system RampId *openapi_types.UUID `json:"ramp_id,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
VendorAccount defines model for VendorAccount.