upclient

package
v0.0.0-...-33b8ac7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for upclient

The Up API gives you programmatic access to your balances and transaction data. You can request past transactions or set up webhooks to receive real-time events when new transactions hit your account. It’s new, it’s exciting and it’s just the beginning.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://github.com/up-banking/api

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import upclient "github.com/esteanes/expense-manager/datafetcher/upclient"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value upclient.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), upclient.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value upclient.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), upclient.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using upclient.ContextOperationServerIndices and upclient.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), upclient.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), upclient.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.up.com.au/api/v1

Class Method HTTP request Description
AccountsAPI AccountsGet Get /accounts List accounts
AccountsAPI AccountsIdGet Get /accounts/{id} Retrieve account
AttachmentsAPI AttachmentsGet Get /attachments List attachments
AttachmentsAPI AttachmentsIdGet Get /attachments/{id} Retrieve attachment
CategoriesAPI CategoriesGet Get /categories List categories
CategoriesAPI CategoriesIdGet Get /categories/{id} Retrieve category
CategoriesAPI TransactionsTransactionIdRelationshipsCategoryPatch Patch /transactions/{transactionId}/relationships/category Categorize transaction
TagsAPI TagsGet Get /tags List tags
TagsAPI TransactionsTransactionIdRelationshipsTagsDelete Delete /transactions/{transactionId}/relationships/tags Remove tags from transaction
TagsAPI TransactionsTransactionIdRelationshipsTagsPost Post /transactions/{transactionId}/relationships/tags Add tags to transaction
TransactionsAPI AccountsAccountIdTransactionsGet Get /accounts/{accountId}/transactions List transactions by account
TransactionsAPI TransactionsGet Get /transactions List transactions
TransactionsAPI TransactionsIdGet Get /transactions/{id} Retrieve transaction
UtilityEndpointsAPI UtilPingGet Get /util/ping Ping
WebhooksAPI WebhooksGet Get /webhooks List webhooks
WebhooksAPI WebhooksIdDelete Delete /webhooks/{id} Delete webhook
WebhooksAPI WebhooksIdGet Get /webhooks/{id} Retrieve webhook
WebhooksAPI WebhooksPost Post /webhooks Create webhook
WebhooksAPI WebhooksWebhookIdLogsGet Get /webhooks/{webhookId}/logs List webhook logs
WebhooksAPI WebhooksWebhookIdPingPost Post /webhooks/{webhookId}/ping Ping webhook

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearer_auth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), upclient.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedAccountTypeEnumEnumValues = []AccountTypeEnum{
	"SAVER",
	"TRANSACTIONAL",
	"HOME_LOAN",
}

All allowed values of AccountTypeEnum enum

View Source
var AllowedCardPurchaseMethodEnumEnumValues = []CardPurchaseMethodEnum{
	"BAR_CODE",
	"OCR",
	"CARD_PIN",
	"CARD_DETAILS",
	"CARD_ON_FILE",
	"ECOMMERCE",
	"MAGNETIC_STRIPE",
	"CONTACTLESS",
}

All allowed values of CardPurchaseMethodEnum enum

View Source
var AllowedOwnershipTypeEnumEnumValues = []OwnershipTypeEnum{
	"INDIVIDUAL",
	"JOINT",
}

All allowed values of OwnershipTypeEnum enum

View Source
var AllowedTransactionStatusEnumEnumValues = []TransactionStatusEnum{
	"HELD",
	"SETTLED",
}

All allowed values of TransactionStatusEnum enum

View Source
var AllowedWebhookDeliveryStatusEnumEnumValues = []WebhookDeliveryStatusEnum{
	"DELIVERED",
	"UNDELIVERABLE",
	"BAD_RESPONSE_CODE",
}

All allowed values of WebhookDeliveryStatusEnum enum

View Source
var AllowedWebhookEventTypeEnumEnumValues = []WebhookEventTypeEnum{
	"TRANSACTION_CREATED",
	"TRANSACTION_SETTLED",
	"TRANSACTION_DELETED",
	"PING",
}

All allowed values of WebhookEventTypeEnum enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AccountsAPI *AccountsAPIService

	AttachmentsAPI *AttachmentsAPIService

	CategoriesAPI *CategoriesAPIService

	TagsAPI *TagsAPIService

	TransactionsAPI *TransactionsAPIService

	UtilityEndpointsAPI *UtilityEndpointsAPIService

	WebhooksAPI *WebhooksAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Up API API vv1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AccountResource

type AccountResource struct {
	// The type of this resource: `accounts`
	Type string `json:"type"`
	// The unique identifier for this account.
	Id            string                       `json:"id"`
	Attributes    AccountResourceAttributes    `json:"attributes"`
	Relationships AccountResourceRelationships `json:"relationships"`
	Links         *AccountResourceLinks        `json:"links,omitempty"`
}

AccountResource Provides information about an Up bank account.

func NewAccountResource

func NewAccountResource(type_ string, id string, attributes AccountResourceAttributes, relationships AccountResourceRelationships) *AccountResource

NewAccountResource instantiates a new AccountResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceWithDefaults

func NewAccountResourceWithDefaults() *AccountResource

NewAccountResourceWithDefaults instantiates a new AccountResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResource) GetAttributes

func (o *AccountResource) GetAttributes() AccountResourceAttributes

GetAttributes returns the Attributes field value

func (*AccountResource) GetAttributesOk

func (o *AccountResource) GetAttributesOk() (*AccountResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*AccountResource) GetId

func (o *AccountResource) GetId() string

GetId returns the Id field value

func (*AccountResource) GetIdOk

func (o *AccountResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *AccountResource) GetLinks() AccountResourceLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*AccountResource) GetLinksOk

func (o *AccountResource) GetLinksOk() (*AccountResourceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountResource) GetRelationships

func (o *AccountResource) GetRelationships() AccountResourceRelationships

GetRelationships returns the Relationships field value

func (*AccountResource) GetRelationshipsOk

func (o *AccountResource) GetRelationshipsOk() (*AccountResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*AccountResource) GetType

func (o *AccountResource) GetType() string

GetType returns the Type field value

func (*AccountResource) GetTypeOk

func (o *AccountResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *AccountResource) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (AccountResource) MarshalJSON

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

func (*AccountResource) SetAttributes

func (o *AccountResource) SetAttributes(v AccountResourceAttributes)

SetAttributes sets field value

func (*AccountResource) SetId

func (o *AccountResource) SetId(v string)

SetId sets field value

func (o *AccountResource) SetLinks(v AccountResourceLinks)

SetLinks gets a reference to the given AccountResourceLinks and assigns it to the Links field.

func (*AccountResource) SetRelationships

func (o *AccountResource) SetRelationships(v AccountResourceRelationships)

SetRelationships sets field value

func (*AccountResource) SetType

func (o *AccountResource) SetType(v string)

SetType sets field value

func (AccountResource) ToMap

func (o AccountResource) ToMap() (map[string]interface{}, error)

func (*AccountResource) UnmarshalJSON

func (o *AccountResource) UnmarshalJSON(data []byte) (err error)

type AccountResourceAttributes

type AccountResourceAttributes struct {
	// The name associated with the account in the Up application.
	DisplayName string `json:"displayName"`
	// The bank account type of this account.
	AccountType AccountTypeEnum `json:"accountType"`
	// The ownership structure for this account.
	OwnershipType OwnershipTypeEnum `json:"ownershipType"`
	// The available balance of the account, taking into account any amounts that are currently on hold.
	Balance MoneyObject `json:"balance"`
	// The date-time at which this account was first opened.
	CreatedAt time.Time `json:"createdAt"`
}

AccountResourceAttributes struct for AccountResourceAttributes

func NewAccountResourceAttributes

func NewAccountResourceAttributes(displayName string, accountType AccountTypeEnum, ownershipType OwnershipTypeEnum, balance MoneyObject, createdAt time.Time) *AccountResourceAttributes

NewAccountResourceAttributes instantiates a new AccountResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceAttributesWithDefaults

func NewAccountResourceAttributesWithDefaults() *AccountResourceAttributes

NewAccountResourceAttributesWithDefaults instantiates a new AccountResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResourceAttributes) GetAccountType

func (o *AccountResourceAttributes) GetAccountType() AccountTypeEnum

GetAccountType returns the AccountType field value

func (*AccountResourceAttributes) GetAccountTypeOk

func (o *AccountResourceAttributes) GetAccountTypeOk() (*AccountTypeEnum, bool)

GetAccountTypeOk returns a tuple with the AccountType field value and a boolean to check if the value has been set.

func (*AccountResourceAttributes) GetBalance

func (o *AccountResourceAttributes) GetBalance() MoneyObject

GetBalance returns the Balance field value

func (*AccountResourceAttributes) GetBalanceOk

func (o *AccountResourceAttributes) GetBalanceOk() (*MoneyObject, bool)

GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.

func (*AccountResourceAttributes) GetCreatedAt

func (o *AccountResourceAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*AccountResourceAttributes) GetCreatedAtOk

func (o *AccountResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*AccountResourceAttributes) GetDisplayName

func (o *AccountResourceAttributes) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AccountResourceAttributes) GetDisplayNameOk

func (o *AccountResourceAttributes) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*AccountResourceAttributes) GetOwnershipType

func (o *AccountResourceAttributes) GetOwnershipType() OwnershipTypeEnum

GetOwnershipType returns the OwnershipType field value

func (*AccountResourceAttributes) GetOwnershipTypeOk

func (o *AccountResourceAttributes) GetOwnershipTypeOk() (*OwnershipTypeEnum, bool)

GetOwnershipTypeOk returns a tuple with the OwnershipType field value and a boolean to check if the value has been set.

func (AccountResourceAttributes) MarshalJSON

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

func (*AccountResourceAttributes) SetAccountType

func (o *AccountResourceAttributes) SetAccountType(v AccountTypeEnum)

SetAccountType sets field value

func (*AccountResourceAttributes) SetBalance

func (o *AccountResourceAttributes) SetBalance(v MoneyObject)

SetBalance sets field value

func (*AccountResourceAttributes) SetCreatedAt

func (o *AccountResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*AccountResourceAttributes) SetDisplayName

func (o *AccountResourceAttributes) SetDisplayName(v string)

SetDisplayName sets field value

func (*AccountResourceAttributes) SetOwnershipType

func (o *AccountResourceAttributes) SetOwnershipType(v OwnershipTypeEnum)

SetOwnershipType sets field value

func (AccountResourceAttributes) ToMap

func (o AccountResourceAttributes) ToMap() (map[string]interface{}, error)

func (*AccountResourceAttributes) UnmarshalJSON

func (o *AccountResourceAttributes) UnmarshalJSON(data []byte) (err error)
type AccountResourceLinks struct {
	// The canonical link to this resource within the API.
	Self string `json:"self"`
}

AccountResourceLinks struct for AccountResourceLinks

func NewAccountResourceLinks(self string) *AccountResourceLinks

NewAccountResourceLinks instantiates a new AccountResourceLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceLinksWithDefaults

func NewAccountResourceLinksWithDefaults() *AccountResourceLinks

NewAccountResourceLinksWithDefaults instantiates a new AccountResourceLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResourceLinks) GetSelf

func (o *AccountResourceLinks) GetSelf() string

GetSelf returns the Self field value

func (*AccountResourceLinks) GetSelfOk

func (o *AccountResourceLinks) GetSelfOk() (*string, bool)

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set.

func (AccountResourceLinks) MarshalJSON

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

func (*AccountResourceLinks) SetSelf

func (o *AccountResourceLinks) SetSelf(v string)

SetSelf sets field value

func (AccountResourceLinks) ToMap

func (o AccountResourceLinks) ToMap() (map[string]interface{}, error)

func (*AccountResourceLinks) UnmarshalJSON

func (o *AccountResourceLinks) UnmarshalJSON(data []byte) (err error)

type AccountResourceRelationships

type AccountResourceRelationships struct {
	Transactions AccountResourceRelationshipsTransactions `json:"transactions"`
}

AccountResourceRelationships struct for AccountResourceRelationships

func NewAccountResourceRelationships

func NewAccountResourceRelationships(transactions AccountResourceRelationshipsTransactions) *AccountResourceRelationships

NewAccountResourceRelationships instantiates a new AccountResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceRelationshipsWithDefaults

func NewAccountResourceRelationshipsWithDefaults() *AccountResourceRelationships

NewAccountResourceRelationshipsWithDefaults instantiates a new AccountResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResourceRelationships) GetTransactions

GetTransactions returns the Transactions field value

func (*AccountResourceRelationships) GetTransactionsOk

GetTransactionsOk returns a tuple with the Transactions field value and a boolean to check if the value has been set.

func (AccountResourceRelationships) MarshalJSON

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

func (*AccountResourceRelationships) SetTransactions

SetTransactions sets field value

func (AccountResourceRelationships) ToMap

func (o AccountResourceRelationships) ToMap() (map[string]interface{}, error)

func (*AccountResourceRelationships) UnmarshalJSON

func (o *AccountResourceRelationships) UnmarshalJSON(data []byte) (err error)

type AccountResourceRelationshipsTransactions

type AccountResourceRelationshipsTransactions struct {
	Links *AccountResourceRelationshipsTransactionsLinks `json:"links,omitempty"`
}

AccountResourceRelationshipsTransactions struct for AccountResourceRelationshipsTransactions

func NewAccountResourceRelationshipsTransactions

func NewAccountResourceRelationshipsTransactions() *AccountResourceRelationshipsTransactions

NewAccountResourceRelationshipsTransactions instantiates a new AccountResourceRelationshipsTransactions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceRelationshipsTransactionsWithDefaults

func NewAccountResourceRelationshipsTransactionsWithDefaults() *AccountResourceRelationshipsTransactions

NewAccountResourceRelationshipsTransactionsWithDefaults instantiates a new AccountResourceRelationshipsTransactions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLinks returns the Links field value if set, zero value otherwise.

func (*AccountResourceRelationshipsTransactions) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (AccountResourceRelationshipsTransactions) MarshalJSON

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (AccountResourceRelationshipsTransactions) ToMap

func (o AccountResourceRelationshipsTransactions) ToMap() (map[string]interface{}, error)
type AccountResourceRelationshipsTransactionsLinks struct {
	// The link to retrieve the related resource(s) in this relationship.
	Related string `json:"related"`
}

AccountResourceRelationshipsTransactionsLinks struct for AccountResourceRelationshipsTransactionsLinks

func NewAccountResourceRelationshipsTransactionsLinks(related string) *AccountResourceRelationshipsTransactionsLinks

NewAccountResourceRelationshipsTransactionsLinks instantiates a new AccountResourceRelationshipsTransactionsLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountResourceRelationshipsTransactionsLinksWithDefaults

func NewAccountResourceRelationshipsTransactionsLinksWithDefaults() *AccountResourceRelationshipsTransactionsLinks

NewAccountResourceRelationshipsTransactionsLinksWithDefaults instantiates a new AccountResourceRelationshipsTransactionsLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountResourceRelationshipsTransactionsLinks) GetRelated

GetRelated returns the Related field value

func (*AccountResourceRelationshipsTransactionsLinks) GetRelatedOk

GetRelatedOk returns a tuple with the Related field value and a boolean to check if the value has been set.

func (AccountResourceRelationshipsTransactionsLinks) MarshalJSON

func (*AccountResourceRelationshipsTransactionsLinks) SetRelated

SetRelated sets field value

func (AccountResourceRelationshipsTransactionsLinks) ToMap

func (o AccountResourceRelationshipsTransactionsLinks) ToMap() (map[string]interface{}, error)

func (*AccountResourceRelationshipsTransactionsLinks) UnmarshalJSON

func (o *AccountResourceRelationshipsTransactionsLinks) UnmarshalJSON(data []byte) (err error)

type AccountTypeEnum

type AccountTypeEnum string

AccountTypeEnum Specifies the type of bank account. Currently returned values are `SAVER`, `TRANSACTIONAL` and `HOME_LOAN`.

const (
	SAVER         AccountTypeEnum = "SAVER"
	TRANSACTIONAL AccountTypeEnum = "TRANSACTIONAL"
	HOME_LOAN     AccountTypeEnum = "HOME_LOAN"
)

List of AccountTypeEnum

func NewAccountTypeEnumFromValue

func NewAccountTypeEnumFromValue(v string) (*AccountTypeEnum, error)

NewAccountTypeEnumFromValue returns a pointer to a valid AccountTypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AccountTypeEnum) IsValid

func (v AccountTypeEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AccountTypeEnum) Ptr

Ptr returns reference to AccountTypeEnum value

func (*AccountTypeEnum) UnmarshalJSON

func (v *AccountTypeEnum) UnmarshalJSON(src []byte) error

type AccountsAPIService

type AccountsAPIService service

AccountsAPIService AccountsAPI service

func (*AccountsAPIService) AccountsGet

AccountsGet List accounts

Retrieve a paginated list of all accounts for the currently authenticated user. The returned list is paginated and can be scrolled by following the `prev` and `next` links where present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAccountsGetRequest

func (*AccountsAPIService) AccountsGetExecute

Execute executes the request

@return ListAccountsResponse

func (*AccountsAPIService) AccountsIdGet

AccountsIdGet Retrieve account

Retrieve a specific account by providing its unique identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the account.
@return ApiAccountsIdGetRequest

func (*AccountsAPIService) AccountsIdGetExecute

Execute executes the request

@return GetAccountResponse

type ApiAccountsAccountIdTransactionsGetRequest

type ApiAccountsAccountIdTransactionsGetRequest struct {
	ApiService *TransactionsAPIService
	// contains filtered or unexported fields
}

func (ApiAccountsAccountIdTransactionsGetRequest) Execute

func (ApiAccountsAccountIdTransactionsGetRequest) FilterCategory

The category identifier for which to filter transactions. Both parent and child categories can be filtered through this parameter. Providing an invalid category identifier results in a `404` response.

func (ApiAccountsAccountIdTransactionsGetRequest) FilterSince

The start date-time from which to return records, formatted according to rfc-3339. Not to be used for pagination purposes.

func (ApiAccountsAccountIdTransactionsGetRequest) FilterStatus

The transaction status for which to return records. This can be used to filter `HELD` transactions from those that are `SETTLED`.

func (ApiAccountsAccountIdTransactionsGetRequest) FilterTag

A transaction tag to filter for which to return records. If the tag does not exist, zero records are returned and a success response is given.

func (ApiAccountsAccountIdTransactionsGetRequest) FilterUntil

The end date-time up to which to return records, formatted according to rfc-3339. Not to be used for pagination purposes.

func (ApiAccountsAccountIdTransactionsGetRequest) PageAfter

Where to continue paginating across

func (ApiAccountsAccountIdTransactionsGetRequest) PageBefore

To view a page before a specific transaction.

func (ApiAccountsAccountIdTransactionsGetRequest) PageSize

The number of records to return in each page.

func (ApiAccountsAccountIdTransactionsGetRequest) String

type ApiAccountsGetRequest

type ApiAccountsGetRequest struct {
	ApiService *AccountsAPIService
	// contains filtered or unexported fields
}

func (ApiAccountsGetRequest) Execute

func (ApiAccountsGetRequest) FilterAccountType

func (r ApiAccountsGetRequest) FilterAccountType(filterAccountType AccountTypeEnum) ApiAccountsGetRequest

The type of account for which to return records. This can be used to filter Savers from spending accounts.

func (ApiAccountsGetRequest) FilterOwnershipType

func (r ApiAccountsGetRequest) FilterOwnershipType(filterOwnershipType OwnershipTypeEnum) ApiAccountsGetRequest

The account ownership structure for which to return records. This can be used to filter 2Up accounts from Up accounts.

func (ApiAccountsGetRequest) PageSize

func (r ApiAccountsGetRequest) PageSize(pageSize int32) ApiAccountsGetRequest

The number of records to return in each page.

type ApiAccountsIdGetRequest

type ApiAccountsIdGetRequest struct {
	ApiService *AccountsAPIService
	// contains filtered or unexported fields
}

func (ApiAccountsIdGetRequest) Execute

type ApiAttachmentsGetRequest

type ApiAttachmentsGetRequest struct {
	ApiService *AttachmentsAPIService
	// contains filtered or unexported fields
}

func (ApiAttachmentsGetRequest) Execute

type ApiAttachmentsIdGetRequest

type ApiAttachmentsIdGetRequest struct {
	ApiService *AttachmentsAPIService
	// contains filtered or unexported fields
}

func (ApiAttachmentsIdGetRequest) Execute

type ApiCategoriesGetRequest

type ApiCategoriesGetRequest struct {
	ApiService *CategoriesAPIService
	// contains filtered or unexported fields
}

func (ApiCategoriesGetRequest) Execute

func (ApiCategoriesGetRequest) FilterParent

func (r ApiCategoriesGetRequest) FilterParent(filterParent string) ApiCategoriesGetRequest

The unique identifier of a parent category for which to return only its children. Providing an invalid category identifier results in a `404` response.

type ApiCategoriesIdGetRequest

type ApiCategoriesIdGetRequest struct {
	ApiService *CategoriesAPIService
	// contains filtered or unexported fields
}

func (ApiCategoriesIdGetRequest) Execute

type ApiTagsGetRequest

type ApiTagsGetRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiTagsGetRequest) Execute

func (ApiTagsGetRequest) PageSize

func (r ApiTagsGetRequest) PageSize(pageSize int32) ApiTagsGetRequest

The number of records to return in each page.

type ApiTransactionsGetRequest

type ApiTransactionsGetRequest struct {
	ApiService *TransactionsAPIService
	// contains filtered or unexported fields
}

func (ApiTransactionsGetRequest) Execute

func (ApiTransactionsGetRequest) FilterCategory

func (r ApiTransactionsGetRequest) FilterCategory(filterCategory string) ApiTransactionsGetRequest

The category identifier for which to filter transactions. Both parent and child categories can be filtered through this parameter. Providing an invalid category identifier results in a `404` response.

func (ApiTransactionsGetRequest) FilterSince

func (r ApiTransactionsGetRequest) FilterSince(filterSince time.Time) ApiTransactionsGetRequest

The start date-time from which to return records, formatted according to rfc-3339. Not to be used for pagination purposes.

func (ApiTransactionsGetRequest) FilterStatus

The transaction status for which to return records. This can be used to filter `HELD` transactions from those that are `SETTLED`.

func (ApiTransactionsGetRequest) FilterTag

A transaction tag to filter for which to return records. If the tag does not exist, zero records are returned and a success response is given.

func (ApiTransactionsGetRequest) FilterUntil

func (r ApiTransactionsGetRequest) FilterUntil(filterUntil time.Time) ApiTransactionsGetRequest

The end date-time up to which to return records, formatted according to rfc-3339. Not to be used for pagination purposes.

func (ApiTransactionsGetRequest) PageAfter

Where to continue paginating across

func (ApiTransactionsGetRequest) PageBefore

To view a page before a specific transaction.

func (ApiTransactionsGetRequest) PageSize

The number of records to return in each page.

type ApiTransactionsIdGetRequest

type ApiTransactionsIdGetRequest struct {
	ApiService *TransactionsAPIService
	// contains filtered or unexported fields
}

func (ApiTransactionsIdGetRequest) Execute

type ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest

type ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest struct {
	ApiService *CategoriesAPIService
	// contains filtered or unexported fields
}

func (ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest) Execute

func (ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest) UpdateTransactionCategoryRequest

type ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest

type ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest) Execute

func (ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest) UpdateTransactionTagsRequest

type ApiTransactionsTransactionIdRelationshipsTagsPostRequest

type ApiTransactionsTransactionIdRelationshipsTagsPostRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiTransactionsTransactionIdRelationshipsTagsPostRequest) Execute

func (ApiTransactionsTransactionIdRelationshipsTagsPostRequest) UpdateTransactionTagsRequest

type ApiUtilPingGetRequest

type ApiUtilPingGetRequest struct {
	ApiService *UtilityEndpointsAPIService
	// contains filtered or unexported fields
}

func (ApiUtilPingGetRequest) Execute

type ApiWebhooksGetRequest

type ApiWebhooksGetRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksGetRequest) Execute

func (ApiWebhooksGetRequest) PageSize

func (r ApiWebhooksGetRequest) PageSize(pageSize int32) ApiWebhooksGetRequest

The number of records to return in each page.

type ApiWebhooksIdDeleteRequest

type ApiWebhooksIdDeleteRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksIdDeleteRequest) Execute

type ApiWebhooksIdGetRequest

type ApiWebhooksIdGetRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksIdGetRequest) Execute

type ApiWebhooksPostRequest

type ApiWebhooksPostRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksPostRequest) CreateWebhookRequest

func (r ApiWebhooksPostRequest) CreateWebhookRequest(createWebhookRequest CreateWebhookRequest) ApiWebhooksPostRequest

func (ApiWebhooksPostRequest) Execute

type ApiWebhooksWebhookIdLogsGetRequest

type ApiWebhooksWebhookIdLogsGetRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksWebhookIdLogsGetRequest) Execute

func (ApiWebhooksWebhookIdLogsGetRequest) PageSize

The number of records to return in each page.

type ApiWebhooksWebhookIdPingPostRequest

type ApiWebhooksWebhookIdPingPostRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiWebhooksWebhookIdPingPostRequest) Execute

type AttachmentResource

type AttachmentResource struct {
	// The type of this resource: `attachments`
	Type string `json:"type"`
	// The unique identifier for this attachment.
	Id            string                          `json:"id"`
	Attributes    AttachmentResourceAttributes    `json:"attributes"`
	Relationships AttachmentResourceRelationships `json:"relationships"`
	Links         *AccountResourceLinks           `json:"links,omitempty"`
}

AttachmentResource struct for AttachmentResource

func NewAttachmentResource

func NewAttachmentResource(type_ string, id string, attributes AttachmentResourceAttributes, relationships AttachmentResourceRelationships) *AttachmentResource

NewAttachmentResource instantiates a new AttachmentResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentResourceWithDefaults

func NewAttachmentResourceWithDefaults() *AttachmentResource

NewAttachmentResourceWithDefaults instantiates a new AttachmentResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttachmentResource) GetAttributes

GetAttributes returns the Attributes field value

func (*AttachmentResource) GetAttributesOk

func (o *AttachmentResource) GetAttributesOk() (*AttachmentResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*AttachmentResource) GetId

func (o *AttachmentResource) GetId() string

GetId returns the Id field value

func (*AttachmentResource) GetIdOk

func (o *AttachmentResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*AttachmentResource) GetLinksOk

func (o *AttachmentResource) GetLinksOk() (*AccountResourceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AttachmentResource) GetRelationships

GetRelationships returns the Relationships field value

func (*AttachmentResource) GetRelationshipsOk

func (o *AttachmentResource) GetRelationshipsOk() (*AttachmentResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*AttachmentResource) GetType

func (o *AttachmentResource) GetType() string

GetType returns the Type field value

func (*AttachmentResource) GetTypeOk

func (o *AttachmentResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *AttachmentResource) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (AttachmentResource) MarshalJSON

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

func (*AttachmentResource) SetAttributes

SetAttributes sets field value

func (*AttachmentResource) SetId

func (o *AttachmentResource) SetId(v string)

SetId sets field value

SetLinks gets a reference to the given AccountResourceLinks and assigns it to the Links field.

func (*AttachmentResource) SetRelationships

func (o *AttachmentResource) SetRelationships(v AttachmentResourceRelationships)

SetRelationships sets field value

func (*AttachmentResource) SetType

func (o *AttachmentResource) SetType(v string)

SetType sets field value

func (AttachmentResource) ToMap

func (o AttachmentResource) ToMap() (map[string]interface{}, error)

func (*AttachmentResource) UnmarshalJSON

func (o *AttachmentResource) UnmarshalJSON(data []byte) (err error)

type AttachmentResourceAttributes

type AttachmentResourceAttributes struct {
	// The date-time when the file was created.
	CreatedAt NullableTime `json:"createdAt"`
	// A temporary link to download the file.
	FileURL NullableString `json:"fileURL"`
	// The date-time at which the `fileURL` link expires.
	FileURLExpiresAt time.Time `json:"fileURLExpiresAt"`
	// File extension for the uploaded attachment.
	FileExtension NullableString `json:"fileExtension"`
	// Content type for the uploaded attachment.
	FileContentType NullableString `json:"fileContentType"`
}

AttachmentResourceAttributes struct for AttachmentResourceAttributes

func NewAttachmentResourceAttributes

func NewAttachmentResourceAttributes(createdAt NullableTime, fileURL NullableString, fileURLExpiresAt time.Time, fileExtension NullableString, fileContentType NullableString) *AttachmentResourceAttributes

NewAttachmentResourceAttributes instantiates a new AttachmentResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentResourceAttributesWithDefaults

func NewAttachmentResourceAttributesWithDefaults() *AttachmentResourceAttributes

NewAttachmentResourceAttributesWithDefaults instantiates a new AttachmentResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttachmentResourceAttributes) GetCreatedAt

func (o *AttachmentResourceAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*AttachmentResourceAttributes) GetCreatedAtOk

func (o *AttachmentResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttachmentResourceAttributes) GetFileContentType

func (o *AttachmentResourceAttributes) GetFileContentType() string

GetFileContentType returns the FileContentType field value If the value is explicit nil, the zero value for string will be returned

func (*AttachmentResourceAttributes) GetFileContentTypeOk

func (o *AttachmentResourceAttributes) GetFileContentTypeOk() (*string, bool)

GetFileContentTypeOk returns a tuple with the FileContentType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttachmentResourceAttributes) GetFileExtension

func (o *AttachmentResourceAttributes) GetFileExtension() string

GetFileExtension returns the FileExtension field value If the value is explicit nil, the zero value for string will be returned

func (*AttachmentResourceAttributes) GetFileExtensionOk

func (o *AttachmentResourceAttributes) GetFileExtensionOk() (*string, bool)

GetFileExtensionOk returns a tuple with the FileExtension field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttachmentResourceAttributes) GetFileURL

func (o *AttachmentResourceAttributes) GetFileURL() string

GetFileURL returns the FileURL field value If the value is explicit nil, the zero value for string will be returned

func (*AttachmentResourceAttributes) GetFileURLExpiresAt

func (o *AttachmentResourceAttributes) GetFileURLExpiresAt() time.Time

GetFileURLExpiresAt returns the FileURLExpiresAt field value

func (*AttachmentResourceAttributes) GetFileURLExpiresAtOk

func (o *AttachmentResourceAttributes) GetFileURLExpiresAtOk() (*time.Time, bool)

GetFileURLExpiresAtOk returns a tuple with the FileURLExpiresAt field value and a boolean to check if the value has been set.

func (*AttachmentResourceAttributes) GetFileURLOk

func (o *AttachmentResourceAttributes) GetFileURLOk() (*string, bool)

GetFileURLOk returns a tuple with the FileURL field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (AttachmentResourceAttributes) MarshalJSON

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

func (*AttachmentResourceAttributes) SetCreatedAt

func (o *AttachmentResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*AttachmentResourceAttributes) SetFileContentType

func (o *AttachmentResourceAttributes) SetFileContentType(v string)

SetFileContentType sets field value

func (*AttachmentResourceAttributes) SetFileExtension

func (o *AttachmentResourceAttributes) SetFileExtension(v string)

SetFileExtension sets field value

func (*AttachmentResourceAttributes) SetFileURL

func (o *AttachmentResourceAttributes) SetFileURL(v string)

SetFileURL sets field value

func (*AttachmentResourceAttributes) SetFileURLExpiresAt

func (o *AttachmentResourceAttributes) SetFileURLExpiresAt(v time.Time)

SetFileURLExpiresAt sets field value

func (AttachmentResourceAttributes) ToMap

func (o AttachmentResourceAttributes) ToMap() (map[string]interface{}, error)

func (*AttachmentResourceAttributes) UnmarshalJSON

func (o *AttachmentResourceAttributes) UnmarshalJSON(data []byte) (err error)

type AttachmentResourceRelationships

type AttachmentResourceRelationships struct {
	Transaction AttachmentResourceRelationshipsTransaction `json:"transaction"`
}

AttachmentResourceRelationships struct for AttachmentResourceRelationships

func NewAttachmentResourceRelationships

func NewAttachmentResourceRelationships(transaction AttachmentResourceRelationshipsTransaction) *AttachmentResourceRelationships

NewAttachmentResourceRelationships instantiates a new AttachmentResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentResourceRelationshipsWithDefaults

func NewAttachmentResourceRelationshipsWithDefaults() *AttachmentResourceRelationships

NewAttachmentResourceRelationshipsWithDefaults instantiates a new AttachmentResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttachmentResourceRelationships) GetTransaction

GetTransaction returns the Transaction field value

func (*AttachmentResourceRelationships) GetTransactionOk

GetTransactionOk returns a tuple with the Transaction field value and a boolean to check if the value has been set.

func (AttachmentResourceRelationships) MarshalJSON

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

func (*AttachmentResourceRelationships) SetTransaction

SetTransaction sets field value

func (AttachmentResourceRelationships) ToMap

func (o AttachmentResourceRelationships) ToMap() (map[string]interface{}, error)

func (*AttachmentResourceRelationships) UnmarshalJSON

func (o *AttachmentResourceRelationships) UnmarshalJSON(data []byte) (err error)

type AttachmentResourceRelationshipsTransaction

type AttachmentResourceRelationshipsTransaction struct {
	Data  AttachmentResourceRelationshipsTransactionData `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks `json:"links,omitempty"`
}

AttachmentResourceRelationshipsTransaction struct for AttachmentResourceRelationshipsTransaction

func NewAttachmentResourceRelationshipsTransaction

func NewAttachmentResourceRelationshipsTransaction(data AttachmentResourceRelationshipsTransactionData) *AttachmentResourceRelationshipsTransaction

NewAttachmentResourceRelationshipsTransaction instantiates a new AttachmentResourceRelationshipsTransaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentResourceRelationshipsTransactionWithDefaults

func NewAttachmentResourceRelationshipsTransactionWithDefaults() *AttachmentResourceRelationshipsTransaction

NewAttachmentResourceRelationshipsTransactionWithDefaults instantiates a new AttachmentResourceRelationshipsTransaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttachmentResourceRelationshipsTransaction) GetData

GetData returns the Data field value

func (*AttachmentResourceRelationshipsTransaction) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*AttachmentResourceRelationshipsTransaction) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (AttachmentResourceRelationshipsTransaction) MarshalJSON

func (*AttachmentResourceRelationshipsTransaction) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (AttachmentResourceRelationshipsTransaction) ToMap

func (o AttachmentResourceRelationshipsTransaction) ToMap() (map[string]interface{}, error)

func (*AttachmentResourceRelationshipsTransaction) UnmarshalJSON

func (o *AttachmentResourceRelationshipsTransaction) UnmarshalJSON(data []byte) (err error)

type AttachmentResourceRelationshipsTransactionData

type AttachmentResourceRelationshipsTransactionData struct {
	// The type of this resource: `transactions`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

AttachmentResourceRelationshipsTransactionData struct for AttachmentResourceRelationshipsTransactionData

func NewAttachmentResourceRelationshipsTransactionData

func NewAttachmentResourceRelationshipsTransactionData(type_ string, id string) *AttachmentResourceRelationshipsTransactionData

NewAttachmentResourceRelationshipsTransactionData instantiates a new AttachmentResourceRelationshipsTransactionData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentResourceRelationshipsTransactionDataWithDefaults

func NewAttachmentResourceRelationshipsTransactionDataWithDefaults() *AttachmentResourceRelationshipsTransactionData

NewAttachmentResourceRelationshipsTransactionDataWithDefaults instantiates a new AttachmentResourceRelationshipsTransactionData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttachmentResourceRelationshipsTransactionData) GetId

GetId returns the Id field value

func (*AttachmentResourceRelationshipsTransactionData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*AttachmentResourceRelationshipsTransactionData) GetType

GetType returns the Type field value

func (*AttachmentResourceRelationshipsTransactionData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (AttachmentResourceRelationshipsTransactionData) MarshalJSON

func (*AttachmentResourceRelationshipsTransactionData) SetId

SetId sets field value

func (*AttachmentResourceRelationshipsTransactionData) SetType

SetType sets field value

func (AttachmentResourceRelationshipsTransactionData) ToMap

func (o AttachmentResourceRelationshipsTransactionData) ToMap() (map[string]interface{}, error)

func (*AttachmentResourceRelationshipsTransactionData) UnmarshalJSON

func (o *AttachmentResourceRelationshipsTransactionData) UnmarshalJSON(data []byte) (err error)

type AttachmentsAPIService

type AttachmentsAPIService service

AttachmentsAPIService AttachmentsAPI service

func (*AttachmentsAPIService) AttachmentsGet

AttachmentsGet List attachments

Retrieve a list of all attachments. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAttachmentsGetRequest

func (*AttachmentsAPIService) AttachmentsGetExecute

Execute executes the request

@return ListAttachmentsResponse

func (*AttachmentsAPIService) AttachmentsIdGet

AttachmentsIdGet Retrieve attachment

Retrieve a specific attachment by providing its unique identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the attachment.
@return ApiAttachmentsIdGetRequest

func (*AttachmentsAPIService) AttachmentsIdGetExecute

Execute executes the request

@return GetAttachmentResponse

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CardPurchaseMethodEnum

type CardPurchaseMethodEnum string

CardPurchaseMethodEnum Specifies the type of card charge.

const (
	BAR_CODE        CardPurchaseMethodEnum = "BAR_CODE"
	OCR             CardPurchaseMethodEnum = "OCR"
	CARD_PIN        CardPurchaseMethodEnum = "CARD_PIN"
	CARD_DETAILS    CardPurchaseMethodEnum = "CARD_DETAILS"
	CARD_ON_FILE    CardPurchaseMethodEnum = "CARD_ON_FILE"
	ECOMMERCE       CardPurchaseMethodEnum = "ECOMMERCE"
	MAGNETIC_STRIPE CardPurchaseMethodEnum = "MAGNETIC_STRIPE"
	CONTACTLESS     CardPurchaseMethodEnum = "CONTACTLESS"
)

List of CardPurchaseMethodEnum

func NewCardPurchaseMethodEnumFromValue

func NewCardPurchaseMethodEnumFromValue(v string) (*CardPurchaseMethodEnum, error)

NewCardPurchaseMethodEnumFromValue returns a pointer to a valid CardPurchaseMethodEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CardPurchaseMethodEnum) IsValid

func (v CardPurchaseMethodEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CardPurchaseMethodEnum) Ptr

Ptr returns reference to CardPurchaseMethodEnum value

func (*CardPurchaseMethodEnum) UnmarshalJSON

func (v *CardPurchaseMethodEnum) UnmarshalJSON(src []byte) error

type CardPurchaseMethodObject

type CardPurchaseMethodObject struct {
	// The type of card purchase.
	Method CardPurchaseMethodEnum `json:"method"`
	// The last four digits of the card used for the purchase, if applicable.
	CardNumberSuffix NullableString `json:"cardNumberSuffix"`
}

CardPurchaseMethodObject Provides information about the card used for a transaction.

func NewCardPurchaseMethodObject

func NewCardPurchaseMethodObject(method CardPurchaseMethodEnum, cardNumberSuffix NullableString) *CardPurchaseMethodObject

NewCardPurchaseMethodObject instantiates a new CardPurchaseMethodObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardPurchaseMethodObjectWithDefaults

func NewCardPurchaseMethodObjectWithDefaults() *CardPurchaseMethodObject

NewCardPurchaseMethodObjectWithDefaults instantiates a new CardPurchaseMethodObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardPurchaseMethodObject) GetCardNumberSuffix

func (o *CardPurchaseMethodObject) GetCardNumberSuffix() string

GetCardNumberSuffix returns the CardNumberSuffix field value If the value is explicit nil, the zero value for string will be returned

func (*CardPurchaseMethodObject) GetCardNumberSuffixOk

func (o *CardPurchaseMethodObject) GetCardNumberSuffixOk() (*string, bool)

GetCardNumberSuffixOk returns a tuple with the CardNumberSuffix field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CardPurchaseMethodObject) GetMethod

GetMethod returns the Method field value

func (*CardPurchaseMethodObject) GetMethodOk

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (CardPurchaseMethodObject) MarshalJSON

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

func (*CardPurchaseMethodObject) SetCardNumberSuffix

func (o *CardPurchaseMethodObject) SetCardNumberSuffix(v string)

SetCardNumberSuffix sets field value

func (*CardPurchaseMethodObject) SetMethod

SetMethod sets field value

func (CardPurchaseMethodObject) ToMap

func (o CardPurchaseMethodObject) ToMap() (map[string]interface{}, error)

func (*CardPurchaseMethodObject) UnmarshalJSON

func (o *CardPurchaseMethodObject) UnmarshalJSON(data []byte) (err error)

type CashbackObject

type CashbackObject struct {
	// A brief description of why this cashback was paid.
	Description string `json:"description"`
	// The total amount of cashback paid, represented as a positive value.
	Amount MoneyObject `json:"amount"`
}

CashbackObject Provides information about an instant reimbursement in the form of cashback.

func NewCashbackObject

func NewCashbackObject(description string, amount MoneyObject) *CashbackObject

NewCashbackObject instantiates a new CashbackObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCashbackObjectWithDefaults

func NewCashbackObjectWithDefaults() *CashbackObject

NewCashbackObjectWithDefaults instantiates a new CashbackObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CashbackObject) GetAmount

func (o *CashbackObject) GetAmount() MoneyObject

GetAmount returns the Amount field value

func (*CashbackObject) GetAmountOk

func (o *CashbackObject) GetAmountOk() (*MoneyObject, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*CashbackObject) GetDescription

func (o *CashbackObject) GetDescription() string

GetDescription returns the Description field value

func (*CashbackObject) GetDescriptionOk

func (o *CashbackObject) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (CashbackObject) MarshalJSON

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

func (*CashbackObject) SetAmount

func (o *CashbackObject) SetAmount(v MoneyObject)

SetAmount sets field value

func (*CashbackObject) SetDescription

func (o *CashbackObject) SetDescription(v string)

SetDescription sets field value

func (CashbackObject) ToMap

func (o CashbackObject) ToMap() (map[string]interface{}, error)

func (*CashbackObject) UnmarshalJSON

func (o *CashbackObject) UnmarshalJSON(data []byte) (err error)

type CategoriesAPIService

type CategoriesAPIService service

CategoriesAPIService CategoriesAPI service

func (*CategoriesAPIService) CategoriesGet

CategoriesGet List categories

Retrieve a list of all categories and their ancestry. The returned list is not paginated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCategoriesGetRequest

func (*CategoriesAPIService) CategoriesGetExecute

Execute executes the request

@return ListCategoriesResponse

func (*CategoriesAPIService) CategoriesIdGet

CategoriesIdGet Retrieve category

Retrieve a specific category by providing its unique identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the category.
@return ApiCategoriesIdGetRequest

func (*CategoriesAPIService) CategoriesIdGetExecute

Execute executes the request

@return GetCategoryResponse

func (*CategoriesAPIService) TransactionsTransactionIdRelationshipsCategoryPatch

func (a *CategoriesAPIService) TransactionsTransactionIdRelationshipsCategoryPatch(ctx context.Context, transactionId string) ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest

TransactionsTransactionIdRelationshipsCategoryPatch Categorize transaction

Updates the category associated with a transaction. Only transactions for which `isCategorizable` is set to true support this operation. The `id` is taken from the list exposed on `/categories` and cannot be one of the top-level (parent) categories. To de-categorize a transaction, set the entire `data` key to `null`. An HTTP `204` is returned on success. The associated category, along with its request URL is also exposed via the `category` relationship on the transaction resource returned from `/transactions/{id}`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param transactionId The unique identifier for the transaction.
@return ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest

func (*CategoriesAPIService) TransactionsTransactionIdRelationshipsCategoryPatchExecute

func (a *CategoriesAPIService) TransactionsTransactionIdRelationshipsCategoryPatchExecute(r ApiTransactionsTransactionIdRelationshipsCategoryPatchRequest) (*http.Response, error)

Execute executes the request

type CategoryInputResourceIdentifier

type CategoryInputResourceIdentifier struct {
	// The type of this resource: `categories`
	Type string `json:"type"`
	// The unique identifier of the category, as returned by the `/categories` endpoint.
	Id string `json:"id"`
}

CategoryInputResourceIdentifier Uniquely identifies a category in the API.

func NewCategoryInputResourceIdentifier

func NewCategoryInputResourceIdentifier(type_ string, id string) *CategoryInputResourceIdentifier

NewCategoryInputResourceIdentifier instantiates a new CategoryInputResourceIdentifier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryInputResourceIdentifierWithDefaults

func NewCategoryInputResourceIdentifierWithDefaults() *CategoryInputResourceIdentifier

NewCategoryInputResourceIdentifierWithDefaults instantiates a new CategoryInputResourceIdentifier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryInputResourceIdentifier) GetId

GetId returns the Id field value

func (*CategoryInputResourceIdentifier) GetIdOk

func (o *CategoryInputResourceIdentifier) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CategoryInputResourceIdentifier) GetType

GetType returns the Type field value

func (*CategoryInputResourceIdentifier) GetTypeOk

func (o *CategoryInputResourceIdentifier) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CategoryInputResourceIdentifier) MarshalJSON

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

func (*CategoryInputResourceIdentifier) SetId

SetId sets field value

func (*CategoryInputResourceIdentifier) SetType

SetType sets field value

func (CategoryInputResourceIdentifier) ToMap

func (o CategoryInputResourceIdentifier) ToMap() (map[string]interface{}, error)

func (*CategoryInputResourceIdentifier) UnmarshalJSON

func (o *CategoryInputResourceIdentifier) UnmarshalJSON(data []byte) (err error)

type CategoryResource

type CategoryResource struct {
	// The type of this resource: `categories`
	Type string `json:"type"`
	// The unique identifier for this category. This is a human-readable but URL-safe value.
	Id            string                        `json:"id"`
	Attributes    CategoryResourceAttributes    `json:"attributes"`
	Relationships CategoryResourceRelationships `json:"relationships"`
	Links         *AccountResourceLinks         `json:"links,omitempty"`
}

CategoryResource Provides information about a category and its ancestry.

func NewCategoryResource

func NewCategoryResource(type_ string, id string, attributes CategoryResourceAttributes, relationships CategoryResourceRelationships) *CategoryResource

NewCategoryResource instantiates a new CategoryResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceWithDefaults

func NewCategoryResourceWithDefaults() *CategoryResource

NewCategoryResourceWithDefaults instantiates a new CategoryResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResource) GetAttributes

func (o *CategoryResource) GetAttributes() CategoryResourceAttributes

GetAttributes returns the Attributes field value

func (*CategoryResource) GetAttributesOk

func (o *CategoryResource) GetAttributesOk() (*CategoryResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*CategoryResource) GetId

func (o *CategoryResource) GetId() string

GetId returns the Id field value

func (*CategoryResource) GetIdOk

func (o *CategoryResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *CategoryResource) GetLinks() AccountResourceLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*CategoryResource) GetLinksOk

func (o *CategoryResource) GetLinksOk() (*AccountResourceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CategoryResource) GetRelationships

func (o *CategoryResource) GetRelationships() CategoryResourceRelationships

GetRelationships returns the Relationships field value

func (*CategoryResource) GetRelationshipsOk

func (o *CategoryResource) GetRelationshipsOk() (*CategoryResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*CategoryResource) GetType

func (o *CategoryResource) GetType() string

GetType returns the Type field value

func (*CategoryResource) GetTypeOk

func (o *CategoryResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *CategoryResource) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (CategoryResource) MarshalJSON

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

func (*CategoryResource) SetAttributes

func (o *CategoryResource) SetAttributes(v CategoryResourceAttributes)

SetAttributes sets field value

func (*CategoryResource) SetId

func (o *CategoryResource) SetId(v string)

SetId sets field value

func (o *CategoryResource) SetLinks(v AccountResourceLinks)

SetLinks gets a reference to the given AccountResourceLinks and assigns it to the Links field.

func (*CategoryResource) SetRelationships

func (o *CategoryResource) SetRelationships(v CategoryResourceRelationships)

SetRelationships sets field value

func (*CategoryResource) SetType

func (o *CategoryResource) SetType(v string)

SetType sets field value

func (CategoryResource) ToMap

func (o CategoryResource) ToMap() (map[string]interface{}, error)

func (*CategoryResource) UnmarshalJSON

func (o *CategoryResource) UnmarshalJSON(data []byte) (err error)

type CategoryResourceAttributes

type CategoryResourceAttributes struct {
	// The name of this category as seen in the Up application.
	Name string `json:"name"`
}

CategoryResourceAttributes struct for CategoryResourceAttributes

func NewCategoryResourceAttributes

func NewCategoryResourceAttributes(name string) *CategoryResourceAttributes

NewCategoryResourceAttributes instantiates a new CategoryResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceAttributesWithDefaults

func NewCategoryResourceAttributesWithDefaults() *CategoryResourceAttributes

NewCategoryResourceAttributesWithDefaults instantiates a new CategoryResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceAttributes) GetName

func (o *CategoryResourceAttributes) GetName() string

GetName returns the Name field value

func (*CategoryResourceAttributes) GetNameOk

func (o *CategoryResourceAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (CategoryResourceAttributes) MarshalJSON

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

func (*CategoryResourceAttributes) SetName

func (o *CategoryResourceAttributes) SetName(v string)

SetName sets field value

func (CategoryResourceAttributes) ToMap

func (o CategoryResourceAttributes) ToMap() (map[string]interface{}, error)

func (*CategoryResourceAttributes) UnmarshalJSON

func (o *CategoryResourceAttributes) UnmarshalJSON(data []byte) (err error)

type CategoryResourceRelationships

type CategoryResourceRelationships struct {
	Parent   CategoryResourceRelationshipsParent   `json:"parent"`
	Children CategoryResourceRelationshipsChildren `json:"children"`
}

CategoryResourceRelationships struct for CategoryResourceRelationships

func NewCategoryResourceRelationships

NewCategoryResourceRelationships instantiates a new CategoryResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceRelationshipsWithDefaults

func NewCategoryResourceRelationshipsWithDefaults() *CategoryResourceRelationships

NewCategoryResourceRelationshipsWithDefaults instantiates a new CategoryResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceRelationships) GetChildren

GetChildren returns the Children field value

func (*CategoryResourceRelationships) GetChildrenOk

GetChildrenOk returns a tuple with the Children field value and a boolean to check if the value has been set.

func (*CategoryResourceRelationships) GetParent

GetParent returns the Parent field value

func (*CategoryResourceRelationships) GetParentOk

GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.

func (CategoryResourceRelationships) MarshalJSON

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

func (*CategoryResourceRelationships) SetChildren

SetChildren sets field value

func (*CategoryResourceRelationships) SetParent

SetParent sets field value

func (CategoryResourceRelationships) ToMap

func (o CategoryResourceRelationships) ToMap() (map[string]interface{}, error)

func (*CategoryResourceRelationships) UnmarshalJSON

func (o *CategoryResourceRelationships) UnmarshalJSON(data []byte) (err error)

type CategoryResourceRelationshipsChildren

type CategoryResourceRelationshipsChildren struct {
	Data  []CategoryResourceRelationshipsChildrenDataInner `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks   `json:"links,omitempty"`
}

CategoryResourceRelationshipsChildren struct for CategoryResourceRelationshipsChildren

func NewCategoryResourceRelationshipsChildren

func NewCategoryResourceRelationshipsChildren(data []CategoryResourceRelationshipsChildrenDataInner) *CategoryResourceRelationshipsChildren

NewCategoryResourceRelationshipsChildren instantiates a new CategoryResourceRelationshipsChildren object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceRelationshipsChildrenWithDefaults

func NewCategoryResourceRelationshipsChildrenWithDefaults() *CategoryResourceRelationshipsChildren

NewCategoryResourceRelationshipsChildrenWithDefaults instantiates a new CategoryResourceRelationshipsChildren object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceRelationshipsChildren) GetData

GetData returns the Data field value

func (*CategoryResourceRelationshipsChildren) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*CategoryResourceRelationshipsChildren) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (CategoryResourceRelationshipsChildren) MarshalJSON

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

func (*CategoryResourceRelationshipsChildren) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (CategoryResourceRelationshipsChildren) ToMap

func (o CategoryResourceRelationshipsChildren) ToMap() (map[string]interface{}, error)

func (*CategoryResourceRelationshipsChildren) UnmarshalJSON

func (o *CategoryResourceRelationshipsChildren) UnmarshalJSON(data []byte) (err error)

type CategoryResourceRelationshipsChildrenDataInner

type CategoryResourceRelationshipsChildrenDataInner struct {
	// The type of this resource: `categories`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

CategoryResourceRelationshipsChildrenDataInner struct for CategoryResourceRelationshipsChildrenDataInner

func NewCategoryResourceRelationshipsChildrenDataInner

func NewCategoryResourceRelationshipsChildrenDataInner(type_ string, id string) *CategoryResourceRelationshipsChildrenDataInner

NewCategoryResourceRelationshipsChildrenDataInner instantiates a new CategoryResourceRelationshipsChildrenDataInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceRelationshipsChildrenDataInnerWithDefaults

func NewCategoryResourceRelationshipsChildrenDataInnerWithDefaults() *CategoryResourceRelationshipsChildrenDataInner

NewCategoryResourceRelationshipsChildrenDataInnerWithDefaults instantiates a new CategoryResourceRelationshipsChildrenDataInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceRelationshipsChildrenDataInner) GetId

GetId returns the Id field value

func (*CategoryResourceRelationshipsChildrenDataInner) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CategoryResourceRelationshipsChildrenDataInner) GetType

GetType returns the Type field value

func (*CategoryResourceRelationshipsChildrenDataInner) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CategoryResourceRelationshipsChildrenDataInner) MarshalJSON

func (*CategoryResourceRelationshipsChildrenDataInner) SetId

SetId sets field value

func (*CategoryResourceRelationshipsChildrenDataInner) SetType

SetType sets field value

func (CategoryResourceRelationshipsChildrenDataInner) ToMap

func (o CategoryResourceRelationshipsChildrenDataInner) ToMap() (map[string]interface{}, error)

func (*CategoryResourceRelationshipsChildrenDataInner) UnmarshalJSON

func (o *CategoryResourceRelationshipsChildrenDataInner) UnmarshalJSON(data []byte) (err error)

type CategoryResourceRelationshipsParent

type CategoryResourceRelationshipsParent struct {
	Data  NullableCategoryResourceRelationshipsParentData `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks  `json:"links,omitempty"`
}

CategoryResourceRelationshipsParent struct for CategoryResourceRelationshipsParent

func NewCategoryResourceRelationshipsParent

NewCategoryResourceRelationshipsParent instantiates a new CategoryResourceRelationshipsParent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceRelationshipsParentWithDefaults

func NewCategoryResourceRelationshipsParentWithDefaults() *CategoryResourceRelationshipsParent

NewCategoryResourceRelationshipsParentWithDefaults instantiates a new CategoryResourceRelationshipsParent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceRelationshipsParent) GetData

GetData returns the Data field value If the value is explicit nil, the zero value for CategoryResourceRelationshipsParentData will be returned

func (*CategoryResourceRelationshipsParent) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

GetLinks returns the Links field value if set, zero value otherwise.

func (*CategoryResourceRelationshipsParent) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (CategoryResourceRelationshipsParent) MarshalJSON

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

func (*CategoryResourceRelationshipsParent) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (CategoryResourceRelationshipsParent) ToMap

func (o CategoryResourceRelationshipsParent) ToMap() (map[string]interface{}, error)

func (*CategoryResourceRelationshipsParent) UnmarshalJSON

func (o *CategoryResourceRelationshipsParent) UnmarshalJSON(data []byte) (err error)

type CategoryResourceRelationshipsParentData

type CategoryResourceRelationshipsParentData struct {
	// The type of this resource: `categories`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

CategoryResourceRelationshipsParentData struct for CategoryResourceRelationshipsParentData

func NewCategoryResourceRelationshipsParentData

func NewCategoryResourceRelationshipsParentData(type_ string, id string) *CategoryResourceRelationshipsParentData

NewCategoryResourceRelationshipsParentData instantiates a new CategoryResourceRelationshipsParentData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCategoryResourceRelationshipsParentDataWithDefaults

func NewCategoryResourceRelationshipsParentDataWithDefaults() *CategoryResourceRelationshipsParentData

NewCategoryResourceRelationshipsParentDataWithDefaults instantiates a new CategoryResourceRelationshipsParentData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CategoryResourceRelationshipsParentData) GetId

GetId returns the Id field value

func (*CategoryResourceRelationshipsParentData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CategoryResourceRelationshipsParentData) GetType

GetType returns the Type field value

func (*CategoryResourceRelationshipsParentData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CategoryResourceRelationshipsParentData) MarshalJSON

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

func (*CategoryResourceRelationshipsParentData) SetId

SetId sets field value

func (*CategoryResourceRelationshipsParentData) SetType

SetType sets field value

func (CategoryResourceRelationshipsParentData) ToMap

func (o CategoryResourceRelationshipsParentData) ToMap() (map[string]interface{}, error)

func (*CategoryResourceRelationshipsParentData) UnmarshalJSON

func (o *CategoryResourceRelationshipsParentData) UnmarshalJSON(data []byte) (err error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateWebhookRequest

type CreateWebhookRequest struct {
	// The webhook resource to create.
	Data WebhookInputResource `json:"data"`
}

CreateWebhookRequest Request to create a new webhook. This currently only requires a `url` attribute.

func NewCreateWebhookRequest

func NewCreateWebhookRequest(data WebhookInputResource) *CreateWebhookRequest

NewCreateWebhookRequest instantiates a new CreateWebhookRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWebhookRequestWithDefaults

func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest

NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWebhookRequest) GetData

GetData returns the Data field value

func (*CreateWebhookRequest) GetDataOk

func (o *CreateWebhookRequest) GetDataOk() (*WebhookInputResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (CreateWebhookRequest) MarshalJSON

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

func (*CreateWebhookRequest) SetData

SetData sets field value

func (CreateWebhookRequest) ToMap

func (o CreateWebhookRequest) ToMap() (map[string]interface{}, error)

func (*CreateWebhookRequest) UnmarshalJSON

func (o *CreateWebhookRequest) UnmarshalJSON(data []byte) (err error)

type CreateWebhookResponse

type CreateWebhookResponse struct {
	// The webhook that was created.
	Data WebhookResource `json:"data"`
}

CreateWebhookResponse Successful response after creating a webhook.

func NewCreateWebhookResponse

func NewCreateWebhookResponse(data WebhookResource) *CreateWebhookResponse

NewCreateWebhookResponse instantiates a new CreateWebhookResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWebhookResponseWithDefaults

func NewCreateWebhookResponseWithDefaults() *CreateWebhookResponse

NewCreateWebhookResponseWithDefaults instantiates a new CreateWebhookResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWebhookResponse) GetData

GetData returns the Data field value

func (*CreateWebhookResponse) GetDataOk

func (o *CreateWebhookResponse) GetDataOk() (*WebhookResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (CreateWebhookResponse) MarshalJSON

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

func (*CreateWebhookResponse) SetData

func (o *CreateWebhookResponse) SetData(v WebhookResource)

SetData sets field value

func (CreateWebhookResponse) ToMap

func (o CreateWebhookResponse) ToMap() (map[string]interface{}, error)

func (*CreateWebhookResponse) UnmarshalJSON

func (o *CreateWebhookResponse) UnmarshalJSON(data []byte) (err error)

type CustomerObject

type CustomerObject struct {
	// The Upname or preferred name of the customer
	DisplayName string `json:"displayName"`
}

CustomerObject Provides information about the customer who initiated a transaction

func NewCustomerObject

func NewCustomerObject(displayName string) *CustomerObject

NewCustomerObject instantiates a new CustomerObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerObjectWithDefaults

func NewCustomerObjectWithDefaults() *CustomerObject

NewCustomerObjectWithDefaults instantiates a new CustomerObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerObject) GetDisplayName

func (o *CustomerObject) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CustomerObject) GetDisplayNameOk

func (o *CustomerObject) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (CustomerObject) MarshalJSON

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

func (*CustomerObject) SetDisplayName

func (o *CustomerObject) SetDisplayName(v string)

SetDisplayName sets field value

func (CustomerObject) ToMap

func (o CustomerObject) ToMap() (map[string]interface{}, error)

func (*CustomerObject) UnmarshalJSON

func (o *CustomerObject) UnmarshalJSON(data []byte) (err error)

type ErrorObject

type ErrorObject struct {
	// The HTTP status code associated with this error. This can also be obtained from the response headers. The status indicates the broad type of error according to HTTP semantics.
	Status string `json:"status"`
	// A short description of this error. This should be stable across multiple occurrences of this type of error and typically expands on the reason for the status code.
	Title string `json:"title"`
	// A detailed description of this error. This should be considered unique to individual occurrences of an error and subject to change. It is useful for debugging purposes.
	Detail string             `json:"detail"`
	Source *ErrorObjectSource `json:"source,omitempty"`
}

ErrorObject Provides information about an error processing a request.

func NewErrorObject

func NewErrorObject(status string, title string, detail string) *ErrorObject

NewErrorObject instantiates a new ErrorObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorObjectWithDefaults

func NewErrorObjectWithDefaults() *ErrorObject

NewErrorObjectWithDefaults instantiates a new ErrorObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorObject) GetDetail

func (o *ErrorObject) GetDetail() string

GetDetail returns the Detail field value

func (*ErrorObject) GetDetailOk

func (o *ErrorObject) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value and a boolean to check if the value has been set.

func (*ErrorObject) GetSource

func (o *ErrorObject) GetSource() ErrorObjectSource

GetSource returns the Source field value if set, zero value otherwise.

func (*ErrorObject) GetSourceOk

func (o *ErrorObject) GetSourceOk() (*ErrorObjectSource, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorObject) GetStatus

func (o *ErrorObject) GetStatus() string

GetStatus returns the Status field value

func (*ErrorObject) GetStatusOk

func (o *ErrorObject) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*ErrorObject) GetTitle

func (o *ErrorObject) GetTitle() string

GetTitle returns the Title field value

func (*ErrorObject) GetTitleOk

func (o *ErrorObject) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ErrorObject) HasSource

func (o *ErrorObject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (ErrorObject) MarshalJSON

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

func (*ErrorObject) SetDetail

func (o *ErrorObject) SetDetail(v string)

SetDetail sets field value

func (*ErrorObject) SetSource

func (o *ErrorObject) SetSource(v ErrorObjectSource)

SetSource gets a reference to the given ErrorObjectSource and assigns it to the Source field.

func (*ErrorObject) SetStatus

func (o *ErrorObject) SetStatus(v string)

SetStatus sets field value

func (*ErrorObject) SetTitle

func (o *ErrorObject) SetTitle(v string)

SetTitle sets field value

func (ErrorObject) ToMap

func (o ErrorObject) ToMap() (map[string]interface{}, error)

func (*ErrorObject) UnmarshalJSON

func (o *ErrorObject) UnmarshalJSON(data []byte) (err error)

type ErrorObjectSource

type ErrorObjectSource struct {
	// If this error relates to a query parameter, the name of the parameter.
	Parameter *string `json:"parameter,omitempty"`
	// If this error relates to an attribute in the request body, a rfc-6901 JSON pointer to the attribute.
	Pointer *string `json:"pointer,omitempty"`
}

ErrorObjectSource If applicable, location in the request that this error relates to. This may be a parameter in the query string, or a an attribute in the request body.

func NewErrorObjectSource

func NewErrorObjectSource() *ErrorObjectSource

NewErrorObjectSource instantiates a new ErrorObjectSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorObjectSourceWithDefaults

func NewErrorObjectSourceWithDefaults() *ErrorObjectSource

NewErrorObjectSourceWithDefaults instantiates a new ErrorObjectSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorObjectSource) GetParameter

func (o *ErrorObjectSource) GetParameter() string

GetParameter returns the Parameter field value if set, zero value otherwise.

func (*ErrorObjectSource) GetParameterOk

func (o *ErrorObjectSource) GetParameterOk() (*string, bool)

GetParameterOk returns a tuple with the Parameter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorObjectSource) GetPointer

func (o *ErrorObjectSource) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*ErrorObjectSource) GetPointerOk

func (o *ErrorObjectSource) GetPointerOk() (*string, bool)

GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorObjectSource) HasParameter

func (o *ErrorObjectSource) HasParameter() bool

HasParameter returns a boolean if a field has been set.

func (*ErrorObjectSource) HasPointer

func (o *ErrorObjectSource) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (ErrorObjectSource) MarshalJSON

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

func (*ErrorObjectSource) SetParameter

func (o *ErrorObjectSource) SetParameter(v string)

SetParameter gets a reference to the given string and assigns it to the Parameter field.

func (*ErrorObjectSource) SetPointer

func (o *ErrorObjectSource) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (ErrorObjectSource) ToMap

func (o ErrorObjectSource) ToMap() (map[string]interface{}, error)

type ErrorResponse

type ErrorResponse struct {
	// The list of errors returned in this response.
	Errors []ErrorObject `json:"errors"`
}

ErrorResponse Generic error response that returns one or more errors.

func NewErrorResponse

func NewErrorResponse(errors []ErrorObject) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorResponse) GetErrors

func (o *ErrorResponse) GetErrors() []ErrorObject

GetErrors returns the Errors field value

func (*ErrorResponse) GetErrorsOk

func (o *ErrorResponse) GetErrorsOk() ([]ErrorObject, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetErrors

func (o *ErrorResponse) SetErrors(v []ErrorObject)

SetErrors sets field value

func (ErrorResponse) ToMap

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

func (*ErrorResponse) UnmarshalJSON

func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetAccountResponse

type GetAccountResponse struct {
	// The account returned in this response.
	Data AccountResource `json:"data"`
}

GetAccountResponse Successful response to get a single account.

func NewGetAccountResponse

func NewGetAccountResponse(data AccountResource) *GetAccountResponse

NewGetAccountResponse instantiates a new GetAccountResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetAccountResponseWithDefaults

func NewGetAccountResponseWithDefaults() *GetAccountResponse

NewGetAccountResponseWithDefaults instantiates a new GetAccountResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetAccountResponse) GetData

func (o *GetAccountResponse) GetData() AccountResource

GetData returns the Data field value

func (*GetAccountResponse) GetDataOk

func (o *GetAccountResponse) GetDataOk() (*AccountResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (GetAccountResponse) MarshalJSON

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

func (*GetAccountResponse) SetData

func (o *GetAccountResponse) SetData(v AccountResource)

SetData sets field value

func (GetAccountResponse) ToMap

func (o GetAccountResponse) ToMap() (map[string]interface{}, error)

func (*GetAccountResponse) UnmarshalJSON

func (o *GetAccountResponse) UnmarshalJSON(data []byte) (err error)

type GetAttachmentResponse

type GetAttachmentResponse struct {
	// The attachment returned in this response.
	Data AttachmentResource `json:"data"`
}

GetAttachmentResponse Successful response to get a single attachment.

func NewGetAttachmentResponse

func NewGetAttachmentResponse(data AttachmentResource) *GetAttachmentResponse

NewGetAttachmentResponse instantiates a new GetAttachmentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetAttachmentResponseWithDefaults

func NewGetAttachmentResponseWithDefaults() *GetAttachmentResponse

NewGetAttachmentResponseWithDefaults instantiates a new GetAttachmentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetAttachmentResponse) GetData

GetData returns the Data field value

func (*GetAttachmentResponse) GetDataOk

func (o *GetAttachmentResponse) GetDataOk() (*AttachmentResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (GetAttachmentResponse) MarshalJSON

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

func (*GetAttachmentResponse) SetData

SetData sets field value

func (GetAttachmentResponse) ToMap

func (o GetAttachmentResponse) ToMap() (map[string]interface{}, error)

func (*GetAttachmentResponse) UnmarshalJSON

func (o *GetAttachmentResponse) UnmarshalJSON(data []byte) (err error)

type GetCategoryResponse

type GetCategoryResponse struct {
	// The category returned in this response.
	Data CategoryResource `json:"data"`
}

GetCategoryResponse Successful response to get a single category and its ancestry.

func NewGetCategoryResponse

func NewGetCategoryResponse(data CategoryResource) *GetCategoryResponse

NewGetCategoryResponse instantiates a new GetCategoryResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetCategoryResponseWithDefaults

func NewGetCategoryResponseWithDefaults() *GetCategoryResponse

NewGetCategoryResponseWithDefaults instantiates a new GetCategoryResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetCategoryResponse) GetData

GetData returns the Data field value

func (*GetCategoryResponse) GetDataOk

func (o *GetCategoryResponse) GetDataOk() (*CategoryResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (GetCategoryResponse) MarshalJSON

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

func (*GetCategoryResponse) SetData

func (o *GetCategoryResponse) SetData(v CategoryResource)

SetData sets field value

func (GetCategoryResponse) ToMap

func (o GetCategoryResponse) ToMap() (map[string]interface{}, error)

func (*GetCategoryResponse) UnmarshalJSON

func (o *GetCategoryResponse) UnmarshalJSON(data []byte) (err error)

type GetTransactionResponse

type GetTransactionResponse struct {
	// The transaction returned in this response.
	Data TransactionResource `json:"data"`
}

GetTransactionResponse Successful response to get a single transaction.

func NewGetTransactionResponse

func NewGetTransactionResponse(data TransactionResource) *GetTransactionResponse

NewGetTransactionResponse instantiates a new GetTransactionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetTransactionResponseWithDefaults

func NewGetTransactionResponseWithDefaults() *GetTransactionResponse

NewGetTransactionResponseWithDefaults instantiates a new GetTransactionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetTransactionResponse) GetData

GetData returns the Data field value

func (*GetTransactionResponse) GetDataOk

func (o *GetTransactionResponse) GetDataOk() (*TransactionResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (GetTransactionResponse) MarshalJSON

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

func (*GetTransactionResponse) SetData

SetData sets field value

func (GetTransactionResponse) ToMap

func (o GetTransactionResponse) ToMap() (map[string]interface{}, error)

func (*GetTransactionResponse) UnmarshalJSON

func (o *GetTransactionResponse) UnmarshalJSON(data []byte) (err error)

type GetWebhookResponse

type GetWebhookResponse struct {
	// The webhook returned in this response.
	Data WebhookResource `json:"data"`
}

GetWebhookResponse Successful response to get a single webhook.

func NewGetWebhookResponse

func NewGetWebhookResponse(data WebhookResource) *GetWebhookResponse

NewGetWebhookResponse instantiates a new GetWebhookResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetWebhookResponseWithDefaults

func NewGetWebhookResponseWithDefaults() *GetWebhookResponse

NewGetWebhookResponseWithDefaults instantiates a new GetWebhookResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetWebhookResponse) GetData

func (o *GetWebhookResponse) GetData() WebhookResource

GetData returns the Data field value

func (*GetWebhookResponse) GetDataOk

func (o *GetWebhookResponse) GetDataOk() (*WebhookResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (GetWebhookResponse) MarshalJSON

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

func (*GetWebhookResponse) SetData

func (o *GetWebhookResponse) SetData(v WebhookResource)

SetData sets field value

func (GetWebhookResponse) ToMap

func (o GetWebhookResponse) ToMap() (map[string]interface{}, error)

func (*GetWebhookResponse) UnmarshalJSON

func (o *GetWebhookResponse) UnmarshalJSON(data []byte) (err error)

type HoldInfoObject

type HoldInfoObject struct {
	// The amount of this transaction while in the `HELD` status, in Australian dollars.
	Amount MoneyObject `json:"amount"`
	// The foreign currency amount of this transaction while in the `HELD` status. This field will be `null` for domestic transactions. The amount was converted to the AUD amount reflected in the `amount` field.
	ForeignAmount NullableMoneyObject `json:"foreignAmount"`
}

HoldInfoObject Provides information about the amount at which a transaction was in the `HELD` status.

func NewHoldInfoObject

func NewHoldInfoObject(amount MoneyObject, foreignAmount NullableMoneyObject) *HoldInfoObject

NewHoldInfoObject instantiates a new HoldInfoObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHoldInfoObjectWithDefaults

func NewHoldInfoObjectWithDefaults() *HoldInfoObject

NewHoldInfoObjectWithDefaults instantiates a new HoldInfoObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HoldInfoObject) GetAmount

func (o *HoldInfoObject) GetAmount() MoneyObject

GetAmount returns the Amount field value

func (*HoldInfoObject) GetAmountOk

func (o *HoldInfoObject) GetAmountOk() (*MoneyObject, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*HoldInfoObject) GetForeignAmount

func (o *HoldInfoObject) GetForeignAmount() MoneyObject

GetForeignAmount returns the ForeignAmount field value If the value is explicit nil, the zero value for MoneyObject will be returned

func (*HoldInfoObject) GetForeignAmountOk

func (o *HoldInfoObject) GetForeignAmountOk() (*MoneyObject, bool)

GetForeignAmountOk returns a tuple with the ForeignAmount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (HoldInfoObject) MarshalJSON

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

func (*HoldInfoObject) SetAmount

func (o *HoldInfoObject) SetAmount(v MoneyObject)

SetAmount sets field value

func (*HoldInfoObject) SetForeignAmount

func (o *HoldInfoObject) SetForeignAmount(v MoneyObject)

SetForeignAmount sets field value

func (HoldInfoObject) ToMap

func (o HoldInfoObject) ToMap() (map[string]interface{}, error)

func (*HoldInfoObject) UnmarshalJSON

func (o *HoldInfoObject) UnmarshalJSON(data []byte) (err error)

type ListAccountsResponse

type ListAccountsResponse struct {
	// The list of accounts returned in this response.
	Data  []AccountResource         `json:"data"`
	Links ListAccountsResponseLinks `json:"links"`
}

ListAccountsResponse Successful response to get all accounts. This returns a paginated list of accounts, which can be scrolled by following the `prev` and `next` links if present.

func NewListAccountsResponse

func NewListAccountsResponse(data []AccountResource, links ListAccountsResponseLinks) *ListAccountsResponse

NewListAccountsResponse instantiates a new ListAccountsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListAccountsResponseWithDefaults

func NewListAccountsResponseWithDefaults() *ListAccountsResponse

NewListAccountsResponseWithDefaults instantiates a new ListAccountsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListAccountsResponse) GetData

func (o *ListAccountsResponse) GetData() []AccountResource

GetData returns the Data field value

func (*ListAccountsResponse) GetDataOk

func (o *ListAccountsResponse) GetDataOk() ([]AccountResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListAccountsResponse) GetLinksOk

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListAccountsResponse) MarshalJSON

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

func (*ListAccountsResponse) SetData

func (o *ListAccountsResponse) SetData(v []AccountResource)

SetData sets field value

SetLinks sets field value

func (ListAccountsResponse) ToMap

func (o ListAccountsResponse) ToMap() (map[string]interface{}, error)

func (*ListAccountsResponse) UnmarshalJSON

func (o *ListAccountsResponse) UnmarshalJSON(data []byte) (err error)
type ListAccountsResponseLinks struct {
	// The link to the previous page in the results. If this value is `null` there is no previous page.
	Prev NullableString `json:"prev"`
	// The link to the next page in the results. If this value is `null` there is no next page.
	Next NullableString `json:"next"`
}

ListAccountsResponseLinks struct for ListAccountsResponseLinks

func NewListAccountsResponseLinks(prev NullableString, next NullableString) *ListAccountsResponseLinks

NewListAccountsResponseLinks instantiates a new ListAccountsResponseLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListAccountsResponseLinksWithDefaults

func NewListAccountsResponseLinksWithDefaults() *ListAccountsResponseLinks

NewListAccountsResponseLinksWithDefaults instantiates a new ListAccountsResponseLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListAccountsResponseLinks) GetNext

func (o *ListAccountsResponseLinks) GetNext() string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*ListAccountsResponseLinks) GetNextOk

func (o *ListAccountsResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListAccountsResponseLinks) GetPrev

func (o *ListAccountsResponseLinks) GetPrev() string

GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned

func (*ListAccountsResponseLinks) GetPrevOk

func (o *ListAccountsResponseLinks) GetPrevOk() (*string, bool)

GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (ListAccountsResponseLinks) MarshalJSON

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

func (*ListAccountsResponseLinks) SetNext

func (o *ListAccountsResponseLinks) SetNext(v string)

SetNext sets field value

func (*ListAccountsResponseLinks) SetPrev

func (o *ListAccountsResponseLinks) SetPrev(v string)

SetPrev sets field value

func (ListAccountsResponseLinks) ToMap

func (o ListAccountsResponseLinks) ToMap() (map[string]interface{}, error)

func (*ListAccountsResponseLinks) UnmarshalJSON

func (o *ListAccountsResponseLinks) UnmarshalJSON(data []byte) (err error)

type ListAttachmentsResponse

type ListAttachmentsResponse struct {
	// The list of attachments returned in this response.
	Data  []AttachmentResource      `json:"data"`
	Links ListAccountsResponseLinks `json:"links"`
}

ListAttachmentsResponse Successful response to get all attachments. This returns a paginated list of attachments, which can be scrolled by following the `prev` and `next` links if present.

func NewListAttachmentsResponse

func NewListAttachmentsResponse(data []AttachmentResource, links ListAccountsResponseLinks) *ListAttachmentsResponse

NewListAttachmentsResponse instantiates a new ListAttachmentsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListAttachmentsResponseWithDefaults

func NewListAttachmentsResponseWithDefaults() *ListAttachmentsResponse

NewListAttachmentsResponseWithDefaults instantiates a new ListAttachmentsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListAttachmentsResponse) GetData

GetData returns the Data field value

func (*ListAttachmentsResponse) GetDataOk

func (o *ListAttachmentsResponse) GetDataOk() ([]AttachmentResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListAttachmentsResponse) GetLinksOk

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListAttachmentsResponse) MarshalJSON

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

func (*ListAttachmentsResponse) SetData

SetData sets field value

SetLinks sets field value

func (ListAttachmentsResponse) ToMap

func (o ListAttachmentsResponse) ToMap() (map[string]interface{}, error)

func (*ListAttachmentsResponse) UnmarshalJSON

func (o *ListAttachmentsResponse) UnmarshalJSON(data []byte) (err error)

type ListCategoriesResponse

type ListCategoriesResponse struct {
	// The list of categories returned in this response.
	Data []CategoryResource `json:"data"`
}

ListCategoriesResponse Successful response to get all categories and their ancestry. The returned list is not paginated.

func NewListCategoriesResponse

func NewListCategoriesResponse(data []CategoryResource) *ListCategoriesResponse

NewListCategoriesResponse instantiates a new ListCategoriesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListCategoriesResponseWithDefaults

func NewListCategoriesResponseWithDefaults() *ListCategoriesResponse

NewListCategoriesResponseWithDefaults instantiates a new ListCategoriesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListCategoriesResponse) GetData

GetData returns the Data field value

func (*ListCategoriesResponse) GetDataOk

func (o *ListCategoriesResponse) GetDataOk() ([]CategoryResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ListCategoriesResponse) MarshalJSON

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

func (*ListCategoriesResponse) SetData

func (o *ListCategoriesResponse) SetData(v []CategoryResource)

SetData sets field value

func (ListCategoriesResponse) ToMap

func (o ListCategoriesResponse) ToMap() (map[string]interface{}, error)

func (*ListCategoriesResponse) UnmarshalJSON

func (o *ListCategoriesResponse) UnmarshalJSON(data []byte) (err error)

type ListTagsResponse

type ListTagsResponse struct {
	// The list of tags returned in this response.
	Data  []TagResource             `json:"data"`
	Links ListAccountsResponseLinks `json:"links"`
}

ListTagsResponse Successful response to get all tags. This returns a paginated list of tags, which can be scrolled by following the `prev` and `next` links if present.

func NewListTagsResponse

func NewListTagsResponse(data []TagResource, links ListAccountsResponseLinks) *ListTagsResponse

NewListTagsResponse instantiates a new ListTagsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTagsResponseWithDefaults

func NewListTagsResponseWithDefaults() *ListTagsResponse

NewListTagsResponseWithDefaults instantiates a new ListTagsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTagsResponse) GetData

func (o *ListTagsResponse) GetData() []TagResource

GetData returns the Data field value

func (*ListTagsResponse) GetDataOk

func (o *ListTagsResponse) GetDataOk() ([]TagResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListTagsResponse) GetLinksOk

func (o *ListTagsResponse) GetLinksOk() (*ListAccountsResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListTagsResponse) MarshalJSON

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

func (*ListTagsResponse) SetData

func (o *ListTagsResponse) SetData(v []TagResource)

SetData sets field value

SetLinks sets field value

func (ListTagsResponse) ToMap

func (o ListTagsResponse) ToMap() (map[string]interface{}, error)

func (*ListTagsResponse) UnmarshalJSON

func (o *ListTagsResponse) UnmarshalJSON(data []byte) (err error)

type ListTransactionsResponse

type ListTransactionsResponse struct {
	// The list of transactions returned in this response.
	Data  []TransactionResource     `json:"data"`
	Links ListAccountsResponseLinks `json:"links"`
}

ListTransactionsResponse Successful response to get all transactions. This returns a paginated list of transactions, which can be scrolled by following the `prev` and `next` links if present.

func NewListTransactionsResponse

func NewListTransactionsResponse(data []TransactionResource, links ListAccountsResponseLinks) *ListTransactionsResponse

NewListTransactionsResponse instantiates a new ListTransactionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTransactionsResponseWithDefaults

func NewListTransactionsResponseWithDefaults() *ListTransactionsResponse

NewListTransactionsResponseWithDefaults instantiates a new ListTransactionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTransactionsResponse) GetData

GetData returns the Data field value

func (*ListTransactionsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListTransactionsResponse) GetLinksOk

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListTransactionsResponse) MarshalJSON

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

func (*ListTransactionsResponse) SetData

SetData sets field value

SetLinks sets field value

func (ListTransactionsResponse) ToMap

func (o ListTransactionsResponse) ToMap() (map[string]interface{}, error)

func (*ListTransactionsResponse) UnmarshalJSON

func (o *ListTransactionsResponse) UnmarshalJSON(data []byte) (err error)

type ListWebhookDeliveryLogsResponse

type ListWebhookDeliveryLogsResponse struct {
	// The list of delivery logs returned in this response.
	Data  []WebhookDeliveryLogResource `json:"data"`
	Links ListAccountsResponseLinks    `json:"links"`
}

ListWebhookDeliveryLogsResponse Successful response to get all delivery logs for a webhook. This returns a paginated list of delivery logs, which can be scrolled by following the `next` and `prev` links if present.

func NewListWebhookDeliveryLogsResponse

func NewListWebhookDeliveryLogsResponse(data []WebhookDeliveryLogResource, links ListAccountsResponseLinks) *ListWebhookDeliveryLogsResponse

NewListWebhookDeliveryLogsResponse instantiates a new ListWebhookDeliveryLogsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListWebhookDeliveryLogsResponseWithDefaults

func NewListWebhookDeliveryLogsResponseWithDefaults() *ListWebhookDeliveryLogsResponse

NewListWebhookDeliveryLogsResponseWithDefaults instantiates a new ListWebhookDeliveryLogsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListWebhookDeliveryLogsResponse) GetData

GetData returns the Data field value

func (*ListWebhookDeliveryLogsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListWebhookDeliveryLogsResponse) GetLinksOk

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListWebhookDeliveryLogsResponse) MarshalJSON

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

func (*ListWebhookDeliveryLogsResponse) SetData

SetData sets field value

SetLinks sets field value

func (ListWebhookDeliveryLogsResponse) ToMap

func (o ListWebhookDeliveryLogsResponse) ToMap() (map[string]interface{}, error)

func (*ListWebhookDeliveryLogsResponse) UnmarshalJSON

func (o *ListWebhookDeliveryLogsResponse) UnmarshalJSON(data []byte) (err error)

type ListWebhooksResponse

type ListWebhooksResponse struct {
	// The list of webhooks returned in this response.
	Data  []WebhookResource         `json:"data"`
	Links ListAccountsResponseLinks `json:"links"`
}

ListWebhooksResponse Successful response to get all webhooks. This returns a paginated list of webhooks, which can be scrolled by following the `prev` and `next` links if present.

func NewListWebhooksResponse

func NewListWebhooksResponse(data []WebhookResource, links ListAccountsResponseLinks) *ListWebhooksResponse

NewListWebhooksResponse instantiates a new ListWebhooksResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListWebhooksResponseWithDefaults

func NewListWebhooksResponseWithDefaults() *ListWebhooksResponse

NewListWebhooksResponseWithDefaults instantiates a new ListWebhooksResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListWebhooksResponse) GetData

func (o *ListWebhooksResponse) GetData() []WebhookResource

GetData returns the Data field value

func (*ListWebhooksResponse) GetDataOk

func (o *ListWebhooksResponse) GetDataOk() ([]WebhookResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value

func (*ListWebhooksResponse) GetLinksOk

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (ListWebhooksResponse) MarshalJSON

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

func (*ListWebhooksResponse) SetData

func (o *ListWebhooksResponse) SetData(v []WebhookResource)

SetData sets field value

SetLinks sets field value

func (ListWebhooksResponse) ToMap

func (o ListWebhooksResponse) ToMap() (map[string]interface{}, error)

func (*ListWebhooksResponse) UnmarshalJSON

func (o *ListWebhooksResponse) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MoneyObject

type MoneyObject struct {
	// The ISO 4217 currency code.
	CurrencyCode string `json:"currencyCode"`
	// The amount of money, formatted as a string in the relevant currency. For example, for an Australian dollar value of $10.56, this field will be `\"10.56\"`. The currency symbol is not included in the string.
	Value string `json:"value"`
	// The amount of money in the smallest denomination for the currency, as a 64-bit integer.  For example, for an Australian dollar value of $10.56, this field will be `1056`.
	ValueInBaseUnits int32 `json:"valueInBaseUnits"`
}

MoneyObject Provides information about a value of money.

func NewMoneyObject

func NewMoneyObject(currencyCode string, value string, valueInBaseUnits int32) *MoneyObject

NewMoneyObject instantiates a new MoneyObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMoneyObjectWithDefaults

func NewMoneyObjectWithDefaults() *MoneyObject

NewMoneyObjectWithDefaults instantiates a new MoneyObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MoneyObject) GetCurrencyCode

func (o *MoneyObject) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field value

func (*MoneyObject) GetCurrencyCodeOk

func (o *MoneyObject) GetCurrencyCodeOk() (*string, bool)

GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.

func (*MoneyObject) GetValue

func (o *MoneyObject) GetValue() string

GetValue returns the Value field value

func (*MoneyObject) GetValueInBaseUnits

func (o *MoneyObject) GetValueInBaseUnits() int32

GetValueInBaseUnits returns the ValueInBaseUnits field value

func (*MoneyObject) GetValueInBaseUnitsOk

func (o *MoneyObject) GetValueInBaseUnitsOk() (*int32, bool)

GetValueInBaseUnitsOk returns a tuple with the ValueInBaseUnits field value and a boolean to check if the value has been set.

func (*MoneyObject) GetValueOk

func (o *MoneyObject) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (MoneyObject) MarshalJSON

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

func (*MoneyObject) SetCurrencyCode

func (o *MoneyObject) SetCurrencyCode(v string)

SetCurrencyCode sets field value

func (*MoneyObject) SetValue

func (o *MoneyObject) SetValue(v string)

SetValue sets field value

func (*MoneyObject) SetValueInBaseUnits

func (o *MoneyObject) SetValueInBaseUnits(v int32)

SetValueInBaseUnits sets field value

func (MoneyObject) ToMap

func (o MoneyObject) ToMap() (map[string]interface{}, error)

func (*MoneyObject) UnmarshalJSON

func (o *MoneyObject) UnmarshalJSON(data []byte) (err error)

type NoteObject

type NoteObject struct {
	// A text note about the transaction.
	Text string `json:"text"`
}

NoteObject Provides information about the note and attachement.

func NewNoteObject

func NewNoteObject(text string) *NoteObject

NewNoteObject instantiates a new NoteObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNoteObjectWithDefaults

func NewNoteObjectWithDefaults() *NoteObject

NewNoteObjectWithDefaults instantiates a new NoteObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NoteObject) GetText

func (o *NoteObject) GetText() string

GetText returns the Text field value

func (*NoteObject) GetTextOk

func (o *NoteObject) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (NoteObject) MarshalJSON

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

func (*NoteObject) SetText

func (o *NoteObject) SetText(v string)

SetText sets field value

func (NoteObject) ToMap

func (o NoteObject) ToMap() (map[string]interface{}, error)

func (*NoteObject) UnmarshalJSON

func (o *NoteObject) UnmarshalJSON(data []byte) (err error)

type NullableAccountResource

type NullableAccountResource struct {
	// contains filtered or unexported fields
}

func NewNullableAccountResource

func NewNullableAccountResource(val *AccountResource) *NullableAccountResource

func (NullableAccountResource) Get

func (NullableAccountResource) IsSet

func (v NullableAccountResource) IsSet() bool

func (NullableAccountResource) MarshalJSON

func (v NullableAccountResource) MarshalJSON() ([]byte, error)

func (*NullableAccountResource) Set

func (*NullableAccountResource) UnmarshalJSON

func (v *NullableAccountResource) UnmarshalJSON(src []byte) error

func (*NullableAccountResource) Unset

func (v *NullableAccountResource) Unset()

type NullableAccountResourceAttributes

type NullableAccountResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableAccountResourceAttributes) Get

func (NullableAccountResourceAttributes) IsSet

func (NullableAccountResourceAttributes) MarshalJSON

func (v NullableAccountResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableAccountResourceAttributes) Set

func (*NullableAccountResourceAttributes) UnmarshalJSON

func (v *NullableAccountResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableAccountResourceAttributes) Unset

type NullableAccountResourceLinks struct {
	// contains filtered or unexported fields
}
func NewNullableAccountResourceLinks(val *AccountResourceLinks) *NullableAccountResourceLinks

func (NullableAccountResourceLinks) Get

func (NullableAccountResourceLinks) IsSet

func (NullableAccountResourceLinks) MarshalJSON

func (v NullableAccountResourceLinks) MarshalJSON() ([]byte, error)

func (*NullableAccountResourceLinks) Set

func (*NullableAccountResourceLinks) UnmarshalJSON

func (v *NullableAccountResourceLinks) UnmarshalJSON(src []byte) error

func (*NullableAccountResourceLinks) Unset

func (v *NullableAccountResourceLinks) Unset()

type NullableAccountResourceRelationships

type NullableAccountResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableAccountResourceRelationships) Get

func (NullableAccountResourceRelationships) IsSet

func (NullableAccountResourceRelationships) MarshalJSON

func (v NullableAccountResourceRelationships) MarshalJSON() ([]byte, error)

func (*NullableAccountResourceRelationships) Set

func (*NullableAccountResourceRelationships) UnmarshalJSON

func (v *NullableAccountResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableAccountResourceRelationships) Unset

type NullableAccountResourceRelationshipsTransactions

type NullableAccountResourceRelationshipsTransactions struct {
	// contains filtered or unexported fields
}

func (NullableAccountResourceRelationshipsTransactions) Get

func (NullableAccountResourceRelationshipsTransactions) IsSet

func (NullableAccountResourceRelationshipsTransactions) MarshalJSON

func (*NullableAccountResourceRelationshipsTransactions) Set

func (*NullableAccountResourceRelationshipsTransactions) UnmarshalJSON

func (*NullableAccountResourceRelationshipsTransactions) Unset

type NullableAccountResourceRelationshipsTransactionsLinks struct {
	// contains filtered or unexported fields
}

func (NullableAccountResourceRelationshipsTransactionsLinks) Get

func (NullableAccountResourceRelationshipsTransactionsLinks) IsSet

func (NullableAccountResourceRelationshipsTransactionsLinks) MarshalJSON

func (*NullableAccountResourceRelationshipsTransactionsLinks) Set

func (*NullableAccountResourceRelationshipsTransactionsLinks) UnmarshalJSON

func (*NullableAccountResourceRelationshipsTransactionsLinks) Unset

type NullableAccountTypeEnum

type NullableAccountTypeEnum struct {
	// contains filtered or unexported fields
}

func NewNullableAccountTypeEnum

func NewNullableAccountTypeEnum(val *AccountTypeEnum) *NullableAccountTypeEnum

func (NullableAccountTypeEnum) Get

func (NullableAccountTypeEnum) IsSet

func (v NullableAccountTypeEnum) IsSet() bool

func (NullableAccountTypeEnum) MarshalJSON

func (v NullableAccountTypeEnum) MarshalJSON() ([]byte, error)

func (*NullableAccountTypeEnum) Set

func (*NullableAccountTypeEnum) UnmarshalJSON

func (v *NullableAccountTypeEnum) UnmarshalJSON(src []byte) error

func (*NullableAccountTypeEnum) Unset

func (v *NullableAccountTypeEnum) Unset()

type NullableAttachmentResource

type NullableAttachmentResource struct {
	// contains filtered or unexported fields
}

func NewNullableAttachmentResource

func NewNullableAttachmentResource(val *AttachmentResource) *NullableAttachmentResource

func (NullableAttachmentResource) Get

func (NullableAttachmentResource) IsSet

func (v NullableAttachmentResource) IsSet() bool

func (NullableAttachmentResource) MarshalJSON

func (v NullableAttachmentResource) MarshalJSON() ([]byte, error)

func (*NullableAttachmentResource) Set

func (*NullableAttachmentResource) UnmarshalJSON

func (v *NullableAttachmentResource) UnmarshalJSON(src []byte) error

func (*NullableAttachmentResource) Unset

func (v *NullableAttachmentResource) Unset()

type NullableAttachmentResourceAttributes

type NullableAttachmentResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableAttachmentResourceAttributes) Get

func (NullableAttachmentResourceAttributes) IsSet

func (NullableAttachmentResourceAttributes) MarshalJSON

func (v NullableAttachmentResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableAttachmentResourceAttributes) Set

func (*NullableAttachmentResourceAttributes) UnmarshalJSON

func (v *NullableAttachmentResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableAttachmentResourceAttributes) Unset

type NullableAttachmentResourceRelationships

type NullableAttachmentResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableAttachmentResourceRelationships) Get

func (NullableAttachmentResourceRelationships) IsSet

func (NullableAttachmentResourceRelationships) MarshalJSON

func (v NullableAttachmentResourceRelationships) MarshalJSON() ([]byte, error)

func (*NullableAttachmentResourceRelationships) Set

func (*NullableAttachmentResourceRelationships) UnmarshalJSON

func (v *NullableAttachmentResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableAttachmentResourceRelationships) Unset

type NullableAttachmentResourceRelationshipsTransaction

type NullableAttachmentResourceRelationshipsTransaction struct {
	// contains filtered or unexported fields
}

func (NullableAttachmentResourceRelationshipsTransaction) Get

func (NullableAttachmentResourceRelationshipsTransaction) IsSet

func (NullableAttachmentResourceRelationshipsTransaction) MarshalJSON

func (*NullableAttachmentResourceRelationshipsTransaction) Set

func (*NullableAttachmentResourceRelationshipsTransaction) UnmarshalJSON

func (*NullableAttachmentResourceRelationshipsTransaction) Unset

type NullableAttachmentResourceRelationshipsTransactionData

type NullableAttachmentResourceRelationshipsTransactionData struct {
	// contains filtered or unexported fields
}

func (NullableAttachmentResourceRelationshipsTransactionData) Get

func (NullableAttachmentResourceRelationshipsTransactionData) IsSet

func (NullableAttachmentResourceRelationshipsTransactionData) MarshalJSON

func (*NullableAttachmentResourceRelationshipsTransactionData) Set

func (*NullableAttachmentResourceRelationshipsTransactionData) UnmarshalJSON

func (*NullableAttachmentResourceRelationshipsTransactionData) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCardPurchaseMethodEnum

type NullableCardPurchaseMethodEnum struct {
	// contains filtered or unexported fields
}

func (NullableCardPurchaseMethodEnum) Get

func (NullableCardPurchaseMethodEnum) IsSet

func (NullableCardPurchaseMethodEnum) MarshalJSON

func (v NullableCardPurchaseMethodEnum) MarshalJSON() ([]byte, error)

func (*NullableCardPurchaseMethodEnum) Set

func (*NullableCardPurchaseMethodEnum) UnmarshalJSON

func (v *NullableCardPurchaseMethodEnum) UnmarshalJSON(src []byte) error

func (*NullableCardPurchaseMethodEnum) Unset

func (v *NullableCardPurchaseMethodEnum) Unset()

type NullableCardPurchaseMethodObject

type NullableCardPurchaseMethodObject struct {
	// contains filtered or unexported fields
}

func (NullableCardPurchaseMethodObject) Get

func (NullableCardPurchaseMethodObject) IsSet

func (NullableCardPurchaseMethodObject) MarshalJSON

func (v NullableCardPurchaseMethodObject) MarshalJSON() ([]byte, error)

func (*NullableCardPurchaseMethodObject) Set

func (*NullableCardPurchaseMethodObject) UnmarshalJSON

func (v *NullableCardPurchaseMethodObject) UnmarshalJSON(src []byte) error

func (*NullableCardPurchaseMethodObject) Unset

type NullableCashbackObject

type NullableCashbackObject struct {
	// contains filtered or unexported fields
}

func NewNullableCashbackObject

func NewNullableCashbackObject(val *CashbackObject) *NullableCashbackObject

func (NullableCashbackObject) Get

func (NullableCashbackObject) IsSet

func (v NullableCashbackObject) IsSet() bool

func (NullableCashbackObject) MarshalJSON

func (v NullableCashbackObject) MarshalJSON() ([]byte, error)

func (*NullableCashbackObject) Set

func (*NullableCashbackObject) UnmarshalJSON

func (v *NullableCashbackObject) UnmarshalJSON(src []byte) error

func (*NullableCashbackObject) Unset

func (v *NullableCashbackObject) Unset()

type NullableCategoryInputResourceIdentifier

type NullableCategoryInputResourceIdentifier struct {
	// contains filtered or unexported fields
}

func (NullableCategoryInputResourceIdentifier) Get

func (NullableCategoryInputResourceIdentifier) IsSet

func (NullableCategoryInputResourceIdentifier) MarshalJSON

func (v NullableCategoryInputResourceIdentifier) MarshalJSON() ([]byte, error)

func (*NullableCategoryInputResourceIdentifier) Set

func (*NullableCategoryInputResourceIdentifier) UnmarshalJSON

func (v *NullableCategoryInputResourceIdentifier) UnmarshalJSON(src []byte) error

func (*NullableCategoryInputResourceIdentifier) Unset

type NullableCategoryResource

type NullableCategoryResource struct {
	// contains filtered or unexported fields
}

func NewNullableCategoryResource

func NewNullableCategoryResource(val *CategoryResource) *NullableCategoryResource

func (NullableCategoryResource) Get

func (NullableCategoryResource) IsSet

func (v NullableCategoryResource) IsSet() bool

func (NullableCategoryResource) MarshalJSON

func (v NullableCategoryResource) MarshalJSON() ([]byte, error)

func (*NullableCategoryResource) Set

func (*NullableCategoryResource) UnmarshalJSON

func (v *NullableCategoryResource) UnmarshalJSON(src []byte) error

func (*NullableCategoryResource) Unset

func (v *NullableCategoryResource) Unset()

type NullableCategoryResourceAttributes

type NullableCategoryResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceAttributes) Get

func (NullableCategoryResourceAttributes) IsSet

func (NullableCategoryResourceAttributes) MarshalJSON

func (v NullableCategoryResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableCategoryResourceAttributes) Set

func (*NullableCategoryResourceAttributes) UnmarshalJSON

func (v *NullableCategoryResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableCategoryResourceAttributes) Unset

type NullableCategoryResourceRelationships

type NullableCategoryResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceRelationships) Get

func (NullableCategoryResourceRelationships) IsSet

func (NullableCategoryResourceRelationships) MarshalJSON

func (v NullableCategoryResourceRelationships) MarshalJSON() ([]byte, error)

func (*NullableCategoryResourceRelationships) Set

func (*NullableCategoryResourceRelationships) UnmarshalJSON

func (v *NullableCategoryResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableCategoryResourceRelationships) Unset

type NullableCategoryResourceRelationshipsChildren

type NullableCategoryResourceRelationshipsChildren struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceRelationshipsChildren) Get

func (NullableCategoryResourceRelationshipsChildren) IsSet

func (NullableCategoryResourceRelationshipsChildren) MarshalJSON

func (*NullableCategoryResourceRelationshipsChildren) Set

func (*NullableCategoryResourceRelationshipsChildren) UnmarshalJSON

func (*NullableCategoryResourceRelationshipsChildren) Unset

type NullableCategoryResourceRelationshipsChildrenDataInner

type NullableCategoryResourceRelationshipsChildrenDataInner struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceRelationshipsChildrenDataInner) Get

func (NullableCategoryResourceRelationshipsChildrenDataInner) IsSet

func (NullableCategoryResourceRelationshipsChildrenDataInner) MarshalJSON

func (*NullableCategoryResourceRelationshipsChildrenDataInner) Set

func (*NullableCategoryResourceRelationshipsChildrenDataInner) UnmarshalJSON

func (*NullableCategoryResourceRelationshipsChildrenDataInner) Unset

type NullableCategoryResourceRelationshipsParent

type NullableCategoryResourceRelationshipsParent struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceRelationshipsParent) Get

func (NullableCategoryResourceRelationshipsParent) IsSet

func (NullableCategoryResourceRelationshipsParent) MarshalJSON

func (*NullableCategoryResourceRelationshipsParent) Set

func (*NullableCategoryResourceRelationshipsParent) UnmarshalJSON

func (v *NullableCategoryResourceRelationshipsParent) UnmarshalJSON(src []byte) error

func (*NullableCategoryResourceRelationshipsParent) Unset

type NullableCategoryResourceRelationshipsParentData

type NullableCategoryResourceRelationshipsParentData struct {
	// contains filtered or unexported fields
}

func (NullableCategoryResourceRelationshipsParentData) Get

func (NullableCategoryResourceRelationshipsParentData) IsSet

func (NullableCategoryResourceRelationshipsParentData) MarshalJSON

func (*NullableCategoryResourceRelationshipsParentData) Set

func (*NullableCategoryResourceRelationshipsParentData) UnmarshalJSON

func (*NullableCategoryResourceRelationshipsParentData) Unset

type NullableCreateWebhookRequest

type NullableCreateWebhookRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateWebhookRequest

func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest

func (NullableCreateWebhookRequest) Get

func (NullableCreateWebhookRequest) IsSet

func (NullableCreateWebhookRequest) MarshalJSON

func (v NullableCreateWebhookRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateWebhookRequest) Set

func (*NullableCreateWebhookRequest) UnmarshalJSON

func (v *NullableCreateWebhookRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateWebhookRequest) Unset

func (v *NullableCreateWebhookRequest) Unset()

type NullableCreateWebhookResponse

type NullableCreateWebhookResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateWebhookResponse) Get

func (NullableCreateWebhookResponse) IsSet

func (NullableCreateWebhookResponse) MarshalJSON

func (v NullableCreateWebhookResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateWebhookResponse) Set

func (*NullableCreateWebhookResponse) UnmarshalJSON

func (v *NullableCreateWebhookResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateWebhookResponse) Unset

func (v *NullableCreateWebhookResponse) Unset()

type NullableCustomerObject

type NullableCustomerObject struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerObject

func NewNullableCustomerObject(val *CustomerObject) *NullableCustomerObject

func (NullableCustomerObject) Get

func (NullableCustomerObject) IsSet

func (v NullableCustomerObject) IsSet() bool

func (NullableCustomerObject) MarshalJSON

func (v NullableCustomerObject) MarshalJSON() ([]byte, error)

func (*NullableCustomerObject) Set

func (*NullableCustomerObject) UnmarshalJSON

func (v *NullableCustomerObject) UnmarshalJSON(src []byte) error

func (*NullableCustomerObject) Unset

func (v *NullableCustomerObject) Unset()

type NullableErrorObject

type NullableErrorObject struct {
	// contains filtered or unexported fields
}

func NewNullableErrorObject

func NewNullableErrorObject(val *ErrorObject) *NullableErrorObject

func (NullableErrorObject) Get

func (NullableErrorObject) IsSet

func (v NullableErrorObject) IsSet() bool

func (NullableErrorObject) MarshalJSON

func (v NullableErrorObject) MarshalJSON() ([]byte, error)

func (*NullableErrorObject) Set

func (v *NullableErrorObject) Set(val *ErrorObject)

func (*NullableErrorObject) UnmarshalJSON

func (v *NullableErrorObject) UnmarshalJSON(src []byte) error

func (*NullableErrorObject) Unset

func (v *NullableErrorObject) Unset()

type NullableErrorObjectSource

type NullableErrorObjectSource struct {
	// contains filtered or unexported fields
}

func NewNullableErrorObjectSource

func NewNullableErrorObjectSource(val *ErrorObjectSource) *NullableErrorObjectSource

func (NullableErrorObjectSource) Get

func (NullableErrorObjectSource) IsSet

func (v NullableErrorObjectSource) IsSet() bool

func (NullableErrorObjectSource) MarshalJSON

func (v NullableErrorObjectSource) MarshalJSON() ([]byte, error)

func (*NullableErrorObjectSource) Set

func (*NullableErrorObjectSource) UnmarshalJSON

func (v *NullableErrorObjectSource) UnmarshalJSON(src []byte) error

func (*NullableErrorObjectSource) Unset

func (v *NullableErrorObjectSource) Unset()

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetAccountResponse

type NullableGetAccountResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetAccountResponse

func NewNullableGetAccountResponse(val *GetAccountResponse) *NullableGetAccountResponse

func (NullableGetAccountResponse) Get

func (NullableGetAccountResponse) IsSet

func (v NullableGetAccountResponse) IsSet() bool

func (NullableGetAccountResponse) MarshalJSON

func (v NullableGetAccountResponse) MarshalJSON() ([]byte, error)

func (*NullableGetAccountResponse) Set

func (*NullableGetAccountResponse) UnmarshalJSON

func (v *NullableGetAccountResponse) UnmarshalJSON(src []byte) error

func (*NullableGetAccountResponse) Unset

func (v *NullableGetAccountResponse) Unset()

type NullableGetAttachmentResponse

type NullableGetAttachmentResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetAttachmentResponse) Get

func (NullableGetAttachmentResponse) IsSet

func (NullableGetAttachmentResponse) MarshalJSON

func (v NullableGetAttachmentResponse) MarshalJSON() ([]byte, error)

func (*NullableGetAttachmentResponse) Set

func (*NullableGetAttachmentResponse) UnmarshalJSON

func (v *NullableGetAttachmentResponse) UnmarshalJSON(src []byte) error

func (*NullableGetAttachmentResponse) Unset

func (v *NullableGetAttachmentResponse) Unset()

type NullableGetCategoryResponse

type NullableGetCategoryResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetCategoryResponse

func NewNullableGetCategoryResponse(val *GetCategoryResponse) *NullableGetCategoryResponse

func (NullableGetCategoryResponse) Get

func (NullableGetCategoryResponse) IsSet

func (NullableGetCategoryResponse) MarshalJSON

func (v NullableGetCategoryResponse) MarshalJSON() ([]byte, error)

func (*NullableGetCategoryResponse) Set

func (*NullableGetCategoryResponse) UnmarshalJSON

func (v *NullableGetCategoryResponse) UnmarshalJSON(src []byte) error

func (*NullableGetCategoryResponse) Unset

func (v *NullableGetCategoryResponse) Unset()

type NullableGetTransactionResponse

type NullableGetTransactionResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetTransactionResponse) Get

func (NullableGetTransactionResponse) IsSet

func (NullableGetTransactionResponse) MarshalJSON

func (v NullableGetTransactionResponse) MarshalJSON() ([]byte, error)

func (*NullableGetTransactionResponse) Set

func (*NullableGetTransactionResponse) UnmarshalJSON

func (v *NullableGetTransactionResponse) UnmarshalJSON(src []byte) error

func (*NullableGetTransactionResponse) Unset

func (v *NullableGetTransactionResponse) Unset()

type NullableGetWebhookResponse

type NullableGetWebhookResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetWebhookResponse

func NewNullableGetWebhookResponse(val *GetWebhookResponse) *NullableGetWebhookResponse

func (NullableGetWebhookResponse) Get

func (NullableGetWebhookResponse) IsSet

func (v NullableGetWebhookResponse) IsSet() bool

func (NullableGetWebhookResponse) MarshalJSON

func (v NullableGetWebhookResponse) MarshalJSON() ([]byte, error)

func (*NullableGetWebhookResponse) Set

func (*NullableGetWebhookResponse) UnmarshalJSON

func (v *NullableGetWebhookResponse) UnmarshalJSON(src []byte) error

func (*NullableGetWebhookResponse) Unset

func (v *NullableGetWebhookResponse) Unset()

type NullableHoldInfoObject

type NullableHoldInfoObject struct {
	// contains filtered or unexported fields
}

func NewNullableHoldInfoObject

func NewNullableHoldInfoObject(val *HoldInfoObject) *NullableHoldInfoObject

func (NullableHoldInfoObject) Get

func (NullableHoldInfoObject) IsSet

func (v NullableHoldInfoObject) IsSet() bool

func (NullableHoldInfoObject) MarshalJSON

func (v NullableHoldInfoObject) MarshalJSON() ([]byte, error)

func (*NullableHoldInfoObject) Set

func (*NullableHoldInfoObject) UnmarshalJSON

func (v *NullableHoldInfoObject) UnmarshalJSON(src []byte) error

func (*NullableHoldInfoObject) Unset

func (v *NullableHoldInfoObject) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListAccountsResponse

type NullableListAccountsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListAccountsResponse

func NewNullableListAccountsResponse(val *ListAccountsResponse) *NullableListAccountsResponse

func (NullableListAccountsResponse) Get

func (NullableListAccountsResponse) IsSet

func (NullableListAccountsResponse) MarshalJSON

func (v NullableListAccountsResponse) MarshalJSON() ([]byte, error)

func (*NullableListAccountsResponse) Set

func (*NullableListAccountsResponse) UnmarshalJSON

func (v *NullableListAccountsResponse) UnmarshalJSON(src []byte) error

func (*NullableListAccountsResponse) Unset

func (v *NullableListAccountsResponse) Unset()
type NullableListAccountsResponseLinks struct {
	// contains filtered or unexported fields
}

func (NullableListAccountsResponseLinks) Get

func (NullableListAccountsResponseLinks) IsSet

func (NullableListAccountsResponseLinks) MarshalJSON

func (v NullableListAccountsResponseLinks) MarshalJSON() ([]byte, error)

func (*NullableListAccountsResponseLinks) Set

func (*NullableListAccountsResponseLinks) UnmarshalJSON

func (v *NullableListAccountsResponseLinks) UnmarshalJSON(src []byte) error

func (*NullableListAccountsResponseLinks) Unset

type NullableListAttachmentsResponse

type NullableListAttachmentsResponse struct {
	// contains filtered or unexported fields
}

func (NullableListAttachmentsResponse) Get

func (NullableListAttachmentsResponse) IsSet

func (NullableListAttachmentsResponse) MarshalJSON

func (v NullableListAttachmentsResponse) MarshalJSON() ([]byte, error)

func (*NullableListAttachmentsResponse) Set

func (*NullableListAttachmentsResponse) UnmarshalJSON

func (v *NullableListAttachmentsResponse) UnmarshalJSON(src []byte) error

func (*NullableListAttachmentsResponse) Unset

type NullableListCategoriesResponse

type NullableListCategoriesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListCategoriesResponse) Get

func (NullableListCategoriesResponse) IsSet

func (NullableListCategoriesResponse) MarshalJSON

func (v NullableListCategoriesResponse) MarshalJSON() ([]byte, error)

func (*NullableListCategoriesResponse) Set

func (*NullableListCategoriesResponse) UnmarshalJSON

func (v *NullableListCategoriesResponse) UnmarshalJSON(src []byte) error

func (*NullableListCategoriesResponse) Unset

func (v *NullableListCategoriesResponse) Unset()

type NullableListTagsResponse

type NullableListTagsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListTagsResponse

func NewNullableListTagsResponse(val *ListTagsResponse) *NullableListTagsResponse

func (NullableListTagsResponse) Get

func (NullableListTagsResponse) IsSet

func (v NullableListTagsResponse) IsSet() bool

func (NullableListTagsResponse) MarshalJSON

func (v NullableListTagsResponse) MarshalJSON() ([]byte, error)

func (*NullableListTagsResponse) Set

func (*NullableListTagsResponse) UnmarshalJSON

func (v *NullableListTagsResponse) UnmarshalJSON(src []byte) error

func (*NullableListTagsResponse) Unset

func (v *NullableListTagsResponse) Unset()

type NullableListTransactionsResponse

type NullableListTransactionsResponse struct {
	// contains filtered or unexported fields
}

func (NullableListTransactionsResponse) Get

func (NullableListTransactionsResponse) IsSet

func (NullableListTransactionsResponse) MarshalJSON

func (v NullableListTransactionsResponse) MarshalJSON() ([]byte, error)

func (*NullableListTransactionsResponse) Set

func (*NullableListTransactionsResponse) UnmarshalJSON

func (v *NullableListTransactionsResponse) UnmarshalJSON(src []byte) error

func (*NullableListTransactionsResponse) Unset

type NullableListWebhookDeliveryLogsResponse

type NullableListWebhookDeliveryLogsResponse struct {
	// contains filtered or unexported fields
}

func (NullableListWebhookDeliveryLogsResponse) Get

func (NullableListWebhookDeliveryLogsResponse) IsSet

func (NullableListWebhookDeliveryLogsResponse) MarshalJSON

func (v NullableListWebhookDeliveryLogsResponse) MarshalJSON() ([]byte, error)

func (*NullableListWebhookDeliveryLogsResponse) Set

func (*NullableListWebhookDeliveryLogsResponse) UnmarshalJSON

func (v *NullableListWebhookDeliveryLogsResponse) UnmarshalJSON(src []byte) error

func (*NullableListWebhookDeliveryLogsResponse) Unset

type NullableListWebhooksResponse

type NullableListWebhooksResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListWebhooksResponse

func NewNullableListWebhooksResponse(val *ListWebhooksResponse) *NullableListWebhooksResponse

func (NullableListWebhooksResponse) Get

func (NullableListWebhooksResponse) IsSet

func (NullableListWebhooksResponse) MarshalJSON

func (v NullableListWebhooksResponse) MarshalJSON() ([]byte, error)

func (*NullableListWebhooksResponse) Set

func (*NullableListWebhooksResponse) UnmarshalJSON

func (v *NullableListWebhooksResponse) UnmarshalJSON(src []byte) error

func (*NullableListWebhooksResponse) Unset

func (v *NullableListWebhooksResponse) Unset()

type NullableMoneyObject

type NullableMoneyObject struct {
	// contains filtered or unexported fields
}

func NewNullableMoneyObject

func NewNullableMoneyObject(val *MoneyObject) *NullableMoneyObject

func (NullableMoneyObject) Get

func (NullableMoneyObject) IsSet

func (v NullableMoneyObject) IsSet() bool

func (NullableMoneyObject) MarshalJSON

func (v NullableMoneyObject) MarshalJSON() ([]byte, error)

func (*NullableMoneyObject) Set

func (v *NullableMoneyObject) Set(val *MoneyObject)

func (*NullableMoneyObject) UnmarshalJSON

func (v *NullableMoneyObject) UnmarshalJSON(src []byte) error

func (*NullableMoneyObject) Unset

func (v *NullableMoneyObject) Unset()

type NullableNoteObject

type NullableNoteObject struct {
	// contains filtered or unexported fields
}

func NewNullableNoteObject

func NewNullableNoteObject(val *NoteObject) *NullableNoteObject

func (NullableNoteObject) Get

func (v NullableNoteObject) Get() *NoteObject

func (NullableNoteObject) IsSet

func (v NullableNoteObject) IsSet() bool

func (NullableNoteObject) MarshalJSON

func (v NullableNoteObject) MarshalJSON() ([]byte, error)

func (*NullableNoteObject) Set

func (v *NullableNoteObject) Set(val *NoteObject)

func (*NullableNoteObject) UnmarshalJSON

func (v *NullableNoteObject) UnmarshalJSON(src []byte) error

func (*NullableNoteObject) Unset

func (v *NullableNoteObject) Unset()

type NullableOwnershipTypeEnum

type NullableOwnershipTypeEnum struct {
	// contains filtered or unexported fields
}

func NewNullableOwnershipTypeEnum

func NewNullableOwnershipTypeEnum(val *OwnershipTypeEnum) *NullableOwnershipTypeEnum

func (NullableOwnershipTypeEnum) Get

func (NullableOwnershipTypeEnum) IsSet

func (v NullableOwnershipTypeEnum) IsSet() bool

func (NullableOwnershipTypeEnum) MarshalJSON

func (v NullableOwnershipTypeEnum) MarshalJSON() ([]byte, error)

func (*NullableOwnershipTypeEnum) Set

func (*NullableOwnershipTypeEnum) UnmarshalJSON

func (v *NullableOwnershipTypeEnum) UnmarshalJSON(src []byte) error

func (*NullableOwnershipTypeEnum) Unset

func (v *NullableOwnershipTypeEnum) Unset()

type NullablePingResponse

type NullablePingResponse struct {
	// contains filtered or unexported fields
}

func NewNullablePingResponse

func NewNullablePingResponse(val *PingResponse) *NullablePingResponse

func (NullablePingResponse) Get

func (NullablePingResponse) IsSet

func (v NullablePingResponse) IsSet() bool

func (NullablePingResponse) MarshalJSON

func (v NullablePingResponse) MarshalJSON() ([]byte, error)

func (*NullablePingResponse) Set

func (v *NullablePingResponse) Set(val *PingResponse)

func (*NullablePingResponse) UnmarshalJSON

func (v *NullablePingResponse) UnmarshalJSON(src []byte) error

func (*NullablePingResponse) Unset

func (v *NullablePingResponse) Unset()

type NullablePingResponseMeta

type NullablePingResponseMeta struct {
	// contains filtered or unexported fields
}

func NewNullablePingResponseMeta

func NewNullablePingResponseMeta(val *PingResponseMeta) *NullablePingResponseMeta

func (NullablePingResponseMeta) Get

func (NullablePingResponseMeta) IsSet

func (v NullablePingResponseMeta) IsSet() bool

func (NullablePingResponseMeta) MarshalJSON

func (v NullablePingResponseMeta) MarshalJSON() ([]byte, error)

func (*NullablePingResponseMeta) Set

func (*NullablePingResponseMeta) UnmarshalJSON

func (v *NullablePingResponseMeta) UnmarshalJSON(src []byte) error

func (*NullablePingResponseMeta) Unset

func (v *NullablePingResponseMeta) Unset()

type NullableRoundUpObject

type NullableRoundUpObject struct {
	// contains filtered or unexported fields
}

func NewNullableRoundUpObject

func NewNullableRoundUpObject(val *RoundUpObject) *NullableRoundUpObject

func (NullableRoundUpObject) Get

func (NullableRoundUpObject) IsSet

func (v NullableRoundUpObject) IsSet() bool

func (NullableRoundUpObject) MarshalJSON

func (v NullableRoundUpObject) MarshalJSON() ([]byte, error)

func (*NullableRoundUpObject) Set

func (v *NullableRoundUpObject) Set(val *RoundUpObject)

func (*NullableRoundUpObject) UnmarshalJSON

func (v *NullableRoundUpObject) UnmarshalJSON(src []byte) error

func (*NullableRoundUpObject) Unset

func (v *NullableRoundUpObject) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTagInputResourceIdentifier

type NullableTagInputResourceIdentifier struct {
	// contains filtered or unexported fields
}

func (NullableTagInputResourceIdentifier) Get

func (NullableTagInputResourceIdentifier) IsSet

func (NullableTagInputResourceIdentifier) MarshalJSON

func (v NullableTagInputResourceIdentifier) MarshalJSON() ([]byte, error)

func (*NullableTagInputResourceIdentifier) Set

func (*NullableTagInputResourceIdentifier) UnmarshalJSON

func (v *NullableTagInputResourceIdentifier) UnmarshalJSON(src []byte) error

func (*NullableTagInputResourceIdentifier) Unset

type NullableTagResource

type NullableTagResource struct {
	// contains filtered or unexported fields
}

func NewNullableTagResource

func NewNullableTagResource(val *TagResource) *NullableTagResource

func (NullableTagResource) Get

func (NullableTagResource) IsSet

func (v NullableTagResource) IsSet() bool

func (NullableTagResource) MarshalJSON

func (v NullableTagResource) MarshalJSON() ([]byte, error)

func (*NullableTagResource) Set

func (v *NullableTagResource) Set(val *TagResource)

func (*NullableTagResource) UnmarshalJSON

func (v *NullableTagResource) UnmarshalJSON(src []byte) error

func (*NullableTagResource) Unset

func (v *NullableTagResource) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTransactionResource

type NullableTransactionResource struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionResource

func NewNullableTransactionResource(val *TransactionResource) *NullableTransactionResource

func (NullableTransactionResource) Get

func (NullableTransactionResource) IsSet

func (NullableTransactionResource) MarshalJSON

func (v NullableTransactionResource) MarshalJSON() ([]byte, error)

func (*NullableTransactionResource) Set

func (*NullableTransactionResource) UnmarshalJSON

func (v *NullableTransactionResource) UnmarshalJSON(src []byte) error

func (*NullableTransactionResource) Unset

func (v *NullableTransactionResource) Unset()

type NullableTransactionResourceAttributes

type NullableTransactionResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceAttributes) Get

func (NullableTransactionResourceAttributes) IsSet

func (NullableTransactionResourceAttributes) MarshalJSON

func (v NullableTransactionResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableTransactionResourceAttributes) Set

func (*NullableTransactionResourceAttributes) UnmarshalJSON

func (v *NullableTransactionResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableTransactionResourceAttributes) Unset

type NullableTransactionResourceRelationships

type NullableTransactionResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationships) Get

func (NullableTransactionResourceRelationships) IsSet

func (NullableTransactionResourceRelationships) MarshalJSON

func (*NullableTransactionResourceRelationships) Set

func (*NullableTransactionResourceRelationships) UnmarshalJSON

func (v *NullableTransactionResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableTransactionResourceRelationships) Unset

type NullableTransactionResourceRelationshipsAccount

type NullableTransactionResourceRelationshipsAccount struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsAccount) Get

func (NullableTransactionResourceRelationshipsAccount) IsSet

func (NullableTransactionResourceRelationshipsAccount) MarshalJSON

func (*NullableTransactionResourceRelationshipsAccount) Set

func (*NullableTransactionResourceRelationshipsAccount) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsAccount) Unset

type NullableTransactionResourceRelationshipsAccountData

type NullableTransactionResourceRelationshipsAccountData struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsAccountData) Get

func (NullableTransactionResourceRelationshipsAccountData) IsSet

func (NullableTransactionResourceRelationshipsAccountData) MarshalJSON

func (*NullableTransactionResourceRelationshipsAccountData) Set

func (*NullableTransactionResourceRelationshipsAccountData) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsAccountData) Unset

type NullableTransactionResourceRelationshipsAttachment

type NullableTransactionResourceRelationshipsAttachment struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsAttachment) Get

func (NullableTransactionResourceRelationshipsAttachment) IsSet

func (NullableTransactionResourceRelationshipsAttachment) MarshalJSON

func (*NullableTransactionResourceRelationshipsAttachment) Set

func (*NullableTransactionResourceRelationshipsAttachment) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsAttachment) Unset

type NullableTransactionResourceRelationshipsAttachmentData

type NullableTransactionResourceRelationshipsAttachmentData struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsAttachmentData) Get

func (NullableTransactionResourceRelationshipsAttachmentData) IsSet

func (NullableTransactionResourceRelationshipsAttachmentData) MarshalJSON

func (*NullableTransactionResourceRelationshipsAttachmentData) Set

func (*NullableTransactionResourceRelationshipsAttachmentData) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsAttachmentData) Unset

type NullableTransactionResourceRelationshipsCategory

type NullableTransactionResourceRelationshipsCategory struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsCategory) Get

func (NullableTransactionResourceRelationshipsCategory) IsSet

func (NullableTransactionResourceRelationshipsCategory) MarshalJSON

func (*NullableTransactionResourceRelationshipsCategory) Set

func (*NullableTransactionResourceRelationshipsCategory) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsCategory) Unset

type NullableTransactionResourceRelationshipsCategoryLinks struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsCategoryLinks) Get

func (NullableTransactionResourceRelationshipsCategoryLinks) IsSet

func (NullableTransactionResourceRelationshipsCategoryLinks) MarshalJSON

func (*NullableTransactionResourceRelationshipsCategoryLinks) Set

func (*NullableTransactionResourceRelationshipsCategoryLinks) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsCategoryLinks) Unset

type NullableTransactionResourceRelationshipsTags

type NullableTransactionResourceRelationshipsTags struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTags) Get

func (NullableTransactionResourceRelationshipsTags) IsSet

func (NullableTransactionResourceRelationshipsTags) MarshalJSON

func (*NullableTransactionResourceRelationshipsTags) Set

func (*NullableTransactionResourceRelationshipsTags) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTags) Unset

type NullableTransactionResourceRelationshipsTagsDataInner

type NullableTransactionResourceRelationshipsTagsDataInner struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTagsDataInner) Get

func (NullableTransactionResourceRelationshipsTagsDataInner) IsSet

func (NullableTransactionResourceRelationshipsTagsDataInner) MarshalJSON

func (*NullableTransactionResourceRelationshipsTagsDataInner) Set

func (*NullableTransactionResourceRelationshipsTagsDataInner) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTagsDataInner) Unset

type NullableTransactionResourceRelationshipsTagsLinks struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTagsLinks) Get

func (NullableTransactionResourceRelationshipsTagsLinks) IsSet

func (NullableTransactionResourceRelationshipsTagsLinks) MarshalJSON

func (*NullableTransactionResourceRelationshipsTagsLinks) Set

func (*NullableTransactionResourceRelationshipsTagsLinks) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTagsLinks) Unset

type NullableTransactionResourceRelationshipsTransferAccount

type NullableTransactionResourceRelationshipsTransferAccount struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTransferAccount) Get

func (NullableTransactionResourceRelationshipsTransferAccount) IsSet

func (NullableTransactionResourceRelationshipsTransferAccount) MarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccount) Set

func (*NullableTransactionResourceRelationshipsTransferAccount) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccount) Unset

type NullableTransactionResourceRelationshipsTransferAccountData

type NullableTransactionResourceRelationshipsTransferAccountData struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTransferAccountData) Get

func (NullableTransactionResourceRelationshipsTransferAccountData) IsSet

func (NullableTransactionResourceRelationshipsTransferAccountData) MarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccountData) Set

func (*NullableTransactionResourceRelationshipsTransferAccountData) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccountData) Unset

type NullableTransactionResourceRelationshipsTransferAccountLinks struct {
	// contains filtered or unexported fields
}

func (NullableTransactionResourceRelationshipsTransferAccountLinks) Get

func (NullableTransactionResourceRelationshipsTransferAccountLinks) IsSet

func (NullableTransactionResourceRelationshipsTransferAccountLinks) MarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccountLinks) Set

func (*NullableTransactionResourceRelationshipsTransferAccountLinks) UnmarshalJSON

func (*NullableTransactionResourceRelationshipsTransferAccountLinks) Unset

type NullableTransactionStatusEnum

type NullableTransactionStatusEnum struct {
	// contains filtered or unexported fields
}

func (NullableTransactionStatusEnum) Get

func (NullableTransactionStatusEnum) IsSet

func (NullableTransactionStatusEnum) MarshalJSON

func (v NullableTransactionStatusEnum) MarshalJSON() ([]byte, error)

func (*NullableTransactionStatusEnum) Set

func (*NullableTransactionStatusEnum) UnmarshalJSON

func (v *NullableTransactionStatusEnum) UnmarshalJSON(src []byte) error

func (*NullableTransactionStatusEnum) Unset

func (v *NullableTransactionStatusEnum) Unset()

type NullableUpdateTransactionCategoryRequest

type NullableUpdateTransactionCategoryRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateTransactionCategoryRequest) Get

func (NullableUpdateTransactionCategoryRequest) IsSet

func (NullableUpdateTransactionCategoryRequest) MarshalJSON

func (*NullableUpdateTransactionCategoryRequest) Set

func (*NullableUpdateTransactionCategoryRequest) UnmarshalJSON

func (v *NullableUpdateTransactionCategoryRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateTransactionCategoryRequest) Unset

type NullableUpdateTransactionTagsRequest

type NullableUpdateTransactionTagsRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateTransactionTagsRequest) Get

func (NullableUpdateTransactionTagsRequest) IsSet

func (NullableUpdateTransactionTagsRequest) MarshalJSON

func (v NullableUpdateTransactionTagsRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateTransactionTagsRequest) Set

func (*NullableUpdateTransactionTagsRequest) UnmarshalJSON

func (v *NullableUpdateTransactionTagsRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateTransactionTagsRequest) Unset

type NullableWebhookDeliveryLogResource

type NullableWebhookDeliveryLogResource struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResource) Get

func (NullableWebhookDeliveryLogResource) IsSet

func (NullableWebhookDeliveryLogResource) MarshalJSON

func (v NullableWebhookDeliveryLogResource) MarshalJSON() ([]byte, error)

func (*NullableWebhookDeliveryLogResource) Set

func (*NullableWebhookDeliveryLogResource) UnmarshalJSON

func (v *NullableWebhookDeliveryLogResource) UnmarshalJSON(src []byte) error

func (*NullableWebhookDeliveryLogResource) Unset

type NullableWebhookDeliveryLogResourceAttributes

type NullableWebhookDeliveryLogResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceAttributes) Get

func (NullableWebhookDeliveryLogResourceAttributes) IsSet

func (NullableWebhookDeliveryLogResourceAttributes) MarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributes) Set

func (*NullableWebhookDeliveryLogResourceAttributes) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributes) Unset

type NullableWebhookDeliveryLogResourceAttributesRequest

type NullableWebhookDeliveryLogResourceAttributesRequest struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceAttributesRequest) Get

func (NullableWebhookDeliveryLogResourceAttributesRequest) IsSet

func (NullableWebhookDeliveryLogResourceAttributesRequest) MarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributesRequest) Set

func (*NullableWebhookDeliveryLogResourceAttributesRequest) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributesRequest) Unset

type NullableWebhookDeliveryLogResourceAttributesResponse

type NullableWebhookDeliveryLogResourceAttributesResponse struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceAttributesResponse) Get

func (NullableWebhookDeliveryLogResourceAttributesResponse) IsSet

func (NullableWebhookDeliveryLogResourceAttributesResponse) MarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributesResponse) Set

func (*NullableWebhookDeliveryLogResourceAttributesResponse) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceAttributesResponse) Unset

type NullableWebhookDeliveryLogResourceRelationships

type NullableWebhookDeliveryLogResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceRelationships) Get

func (NullableWebhookDeliveryLogResourceRelationships) IsSet

func (NullableWebhookDeliveryLogResourceRelationships) MarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationships) Set

func (*NullableWebhookDeliveryLogResourceRelationships) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationships) Unset

type NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent

type NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) Get

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) IsSet

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) MarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) Set

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEvent) Unset

type NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData

type NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) Get

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) IsSet

func (NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) MarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) Set

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) UnmarshalJSON

func (*NullableWebhookDeliveryLogResourceRelationshipsWebhookEventData) Unset

type NullableWebhookDeliveryStatusEnum

type NullableWebhookDeliveryStatusEnum struct {
	// contains filtered or unexported fields
}

func (NullableWebhookDeliveryStatusEnum) Get

func (NullableWebhookDeliveryStatusEnum) IsSet

func (NullableWebhookDeliveryStatusEnum) MarshalJSON

func (v NullableWebhookDeliveryStatusEnum) MarshalJSON() ([]byte, error)

func (*NullableWebhookDeliveryStatusEnum) Set

func (*NullableWebhookDeliveryStatusEnum) UnmarshalJSON

func (v *NullableWebhookDeliveryStatusEnum) UnmarshalJSON(src []byte) error

func (*NullableWebhookDeliveryStatusEnum) Unset

type NullableWebhookEventCallback

type NullableWebhookEventCallback struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookEventCallback

func NewNullableWebhookEventCallback(val *WebhookEventCallback) *NullableWebhookEventCallback

func (NullableWebhookEventCallback) Get

func (NullableWebhookEventCallback) IsSet

func (NullableWebhookEventCallback) MarshalJSON

func (v NullableWebhookEventCallback) MarshalJSON() ([]byte, error)

func (*NullableWebhookEventCallback) Set

func (*NullableWebhookEventCallback) UnmarshalJSON

func (v *NullableWebhookEventCallback) UnmarshalJSON(src []byte) error

func (*NullableWebhookEventCallback) Unset

func (v *NullableWebhookEventCallback) Unset()

type NullableWebhookEventResource

type NullableWebhookEventResource struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookEventResource

func NewNullableWebhookEventResource(val *WebhookEventResource) *NullableWebhookEventResource

func (NullableWebhookEventResource) Get

func (NullableWebhookEventResource) IsSet

func (NullableWebhookEventResource) MarshalJSON

func (v NullableWebhookEventResource) MarshalJSON() ([]byte, error)

func (*NullableWebhookEventResource) Set

func (*NullableWebhookEventResource) UnmarshalJSON

func (v *NullableWebhookEventResource) UnmarshalJSON(src []byte) error

func (*NullableWebhookEventResource) Unset

func (v *NullableWebhookEventResource) Unset()

type NullableWebhookEventResourceAttributes

type NullableWebhookEventResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceAttributes) Get

func (NullableWebhookEventResourceAttributes) IsSet

func (NullableWebhookEventResourceAttributes) MarshalJSON

func (v NullableWebhookEventResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableWebhookEventResourceAttributes) Set

func (*NullableWebhookEventResourceAttributes) UnmarshalJSON

func (v *NullableWebhookEventResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableWebhookEventResourceAttributes) Unset

type NullableWebhookEventResourceRelationships

type NullableWebhookEventResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceRelationships) Get

func (NullableWebhookEventResourceRelationships) IsSet

func (NullableWebhookEventResourceRelationships) MarshalJSON

func (*NullableWebhookEventResourceRelationships) Set

func (*NullableWebhookEventResourceRelationships) UnmarshalJSON

func (v *NullableWebhookEventResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableWebhookEventResourceRelationships) Unset

type NullableWebhookEventResourceRelationshipsTransaction

type NullableWebhookEventResourceRelationshipsTransaction struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceRelationshipsTransaction) Get

func (NullableWebhookEventResourceRelationshipsTransaction) IsSet

func (NullableWebhookEventResourceRelationshipsTransaction) MarshalJSON

func (*NullableWebhookEventResourceRelationshipsTransaction) Set

func (*NullableWebhookEventResourceRelationshipsTransaction) UnmarshalJSON

func (*NullableWebhookEventResourceRelationshipsTransaction) Unset

type NullableWebhookEventResourceRelationshipsTransactionData

type NullableWebhookEventResourceRelationshipsTransactionData struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceRelationshipsTransactionData) Get

func (NullableWebhookEventResourceRelationshipsTransactionData) IsSet

func (NullableWebhookEventResourceRelationshipsTransactionData) MarshalJSON

func (*NullableWebhookEventResourceRelationshipsTransactionData) Set

func (*NullableWebhookEventResourceRelationshipsTransactionData) UnmarshalJSON

func (*NullableWebhookEventResourceRelationshipsTransactionData) Unset

type NullableWebhookEventResourceRelationshipsWebhook

type NullableWebhookEventResourceRelationshipsWebhook struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceRelationshipsWebhook) Get

func (NullableWebhookEventResourceRelationshipsWebhook) IsSet

func (NullableWebhookEventResourceRelationshipsWebhook) MarshalJSON

func (*NullableWebhookEventResourceRelationshipsWebhook) Set

func (*NullableWebhookEventResourceRelationshipsWebhook) UnmarshalJSON

func (*NullableWebhookEventResourceRelationshipsWebhook) Unset

type NullableWebhookEventResourceRelationshipsWebhookData

type NullableWebhookEventResourceRelationshipsWebhookData struct {
	// contains filtered or unexported fields
}

func (NullableWebhookEventResourceRelationshipsWebhookData) Get

func (NullableWebhookEventResourceRelationshipsWebhookData) IsSet

func (NullableWebhookEventResourceRelationshipsWebhookData) MarshalJSON

func (*NullableWebhookEventResourceRelationshipsWebhookData) Set

func (*NullableWebhookEventResourceRelationshipsWebhookData) UnmarshalJSON

func (*NullableWebhookEventResourceRelationshipsWebhookData) Unset

type NullableWebhookEventTypeEnum

type NullableWebhookEventTypeEnum struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookEventTypeEnum

func NewNullableWebhookEventTypeEnum(val *WebhookEventTypeEnum) *NullableWebhookEventTypeEnum

func (NullableWebhookEventTypeEnum) Get

func (NullableWebhookEventTypeEnum) IsSet

func (NullableWebhookEventTypeEnum) MarshalJSON

func (v NullableWebhookEventTypeEnum) MarshalJSON() ([]byte, error)

func (*NullableWebhookEventTypeEnum) Set

func (*NullableWebhookEventTypeEnum) UnmarshalJSON

func (v *NullableWebhookEventTypeEnum) UnmarshalJSON(src []byte) error

func (*NullableWebhookEventTypeEnum) Unset

func (v *NullableWebhookEventTypeEnum) Unset()

type NullableWebhookInputResource

type NullableWebhookInputResource struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookInputResource

func NewNullableWebhookInputResource(val *WebhookInputResource) *NullableWebhookInputResource

func (NullableWebhookInputResource) Get

func (NullableWebhookInputResource) IsSet

func (NullableWebhookInputResource) MarshalJSON

func (v NullableWebhookInputResource) MarshalJSON() ([]byte, error)

func (*NullableWebhookInputResource) Set

func (*NullableWebhookInputResource) UnmarshalJSON

func (v *NullableWebhookInputResource) UnmarshalJSON(src []byte) error

func (*NullableWebhookInputResource) Unset

func (v *NullableWebhookInputResource) Unset()

type NullableWebhookInputResourceAttributes

type NullableWebhookInputResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableWebhookInputResourceAttributes) Get

func (NullableWebhookInputResourceAttributes) IsSet

func (NullableWebhookInputResourceAttributes) MarshalJSON

func (v NullableWebhookInputResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableWebhookInputResourceAttributes) Set

func (*NullableWebhookInputResourceAttributes) UnmarshalJSON

func (v *NullableWebhookInputResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableWebhookInputResourceAttributes) Unset

type NullableWebhookResource

type NullableWebhookResource struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookResource

func NewNullableWebhookResource(val *WebhookResource) *NullableWebhookResource

func (NullableWebhookResource) Get

func (NullableWebhookResource) IsSet

func (v NullableWebhookResource) IsSet() bool

func (NullableWebhookResource) MarshalJSON

func (v NullableWebhookResource) MarshalJSON() ([]byte, error)

func (*NullableWebhookResource) Set

func (*NullableWebhookResource) UnmarshalJSON

func (v *NullableWebhookResource) UnmarshalJSON(src []byte) error

func (*NullableWebhookResource) Unset

func (v *NullableWebhookResource) Unset()

type NullableWebhookResourceAttributes

type NullableWebhookResourceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableWebhookResourceAttributes) Get

func (NullableWebhookResourceAttributes) IsSet

func (NullableWebhookResourceAttributes) MarshalJSON

func (v NullableWebhookResourceAttributes) MarshalJSON() ([]byte, error)

func (*NullableWebhookResourceAttributes) Set

func (*NullableWebhookResourceAttributes) UnmarshalJSON

func (v *NullableWebhookResourceAttributes) UnmarshalJSON(src []byte) error

func (*NullableWebhookResourceAttributes) Unset

type NullableWebhookResourceRelationships

type NullableWebhookResourceRelationships struct {
	// contains filtered or unexported fields
}

func (NullableWebhookResourceRelationships) Get

func (NullableWebhookResourceRelationships) IsSet

func (NullableWebhookResourceRelationships) MarshalJSON

func (v NullableWebhookResourceRelationships) MarshalJSON() ([]byte, error)

func (*NullableWebhookResourceRelationships) Set

func (*NullableWebhookResourceRelationships) UnmarshalJSON

func (v *NullableWebhookResourceRelationships) UnmarshalJSON(src []byte) error

func (*NullableWebhookResourceRelationships) Unset

type OwnershipTypeEnum

type OwnershipTypeEnum string

OwnershipTypeEnum Specifies the structure under which a bank account is owned. Currently returned values are `INDIVIDUAL` and `JOINT`.

const (
	INDIVIDUAL OwnershipTypeEnum = "INDIVIDUAL"
	JOINT      OwnershipTypeEnum = "JOINT"
)

List of OwnershipTypeEnum

func NewOwnershipTypeEnumFromValue

func NewOwnershipTypeEnumFromValue(v string) (*OwnershipTypeEnum, error)

NewOwnershipTypeEnumFromValue returns a pointer to a valid OwnershipTypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OwnershipTypeEnum) IsValid

func (v OwnershipTypeEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OwnershipTypeEnum) Ptr

Ptr returns reference to OwnershipTypeEnum value

func (*OwnershipTypeEnum) UnmarshalJSON

func (v *OwnershipTypeEnum) UnmarshalJSON(src []byte) error

type PingResponse

type PingResponse struct {
	Meta PingResponseMeta `json:"meta"`
}

PingResponse Basic ping response to verify authentication.

func NewPingResponse

func NewPingResponse(meta PingResponseMeta) *PingResponse

NewPingResponse instantiates a new PingResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPingResponseWithDefaults

func NewPingResponseWithDefaults() *PingResponse

NewPingResponseWithDefaults instantiates a new PingResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PingResponse) GetMeta

func (o *PingResponse) GetMeta() PingResponseMeta

GetMeta returns the Meta field value

func (*PingResponse) GetMetaOk

func (o *PingResponse) GetMetaOk() (*PingResponseMeta, bool)

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (PingResponse) MarshalJSON

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

func (*PingResponse) SetMeta

func (o *PingResponse) SetMeta(v PingResponseMeta)

SetMeta sets field value

func (PingResponse) ToMap

func (o PingResponse) ToMap() (map[string]interface{}, error)

func (*PingResponse) UnmarshalJSON

func (o *PingResponse) UnmarshalJSON(data []byte) (err error)

type PingResponseMeta

type PingResponseMeta struct {
	// The unique identifier of the authenticated customer.
	Id string `json:"id"`
	// A cute emoji that represents the response status.
	StatusEmoji string `json:"statusEmoji"`
}

PingResponseMeta struct for PingResponseMeta

func NewPingResponseMeta

func NewPingResponseMeta(id string, statusEmoji string) *PingResponseMeta

NewPingResponseMeta instantiates a new PingResponseMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPingResponseMetaWithDefaults

func NewPingResponseMetaWithDefaults() *PingResponseMeta

NewPingResponseMetaWithDefaults instantiates a new PingResponseMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PingResponseMeta) GetId

func (o *PingResponseMeta) GetId() string

GetId returns the Id field value

func (*PingResponseMeta) GetIdOk

func (o *PingResponseMeta) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PingResponseMeta) GetStatusEmoji

func (o *PingResponseMeta) GetStatusEmoji() string

GetStatusEmoji returns the StatusEmoji field value

func (*PingResponseMeta) GetStatusEmojiOk

func (o *PingResponseMeta) GetStatusEmojiOk() (*string, bool)

GetStatusEmojiOk returns a tuple with the StatusEmoji field value and a boolean to check if the value has been set.

func (PingResponseMeta) MarshalJSON

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

func (*PingResponseMeta) SetId

func (o *PingResponseMeta) SetId(v string)

SetId sets field value

func (*PingResponseMeta) SetStatusEmoji

func (o *PingResponseMeta) SetStatusEmoji(v string)

SetStatusEmoji sets field value

func (PingResponseMeta) ToMap

func (o PingResponseMeta) ToMap() (map[string]interface{}, error)

func (*PingResponseMeta) UnmarshalJSON

func (o *PingResponseMeta) UnmarshalJSON(data []byte) (err error)

type RoundUpObject

type RoundUpObject struct {
	// The total amount of this Round Up, including any boosts, represented as a negative value.
	Amount MoneyObject `json:"amount"`
	// The portion of the Round Up `amount` owing to boosted Round Ups, represented as a negative value. If no boost was added to the Round Up this field will be `null`.
	BoostPortion NullableMoneyObject `json:"boostPortion"`
}

RoundUpObject Provides information about how a Round Up was applied, such as whether or not a boost was included in the Round Up.

func NewRoundUpObject

func NewRoundUpObject(amount MoneyObject, boostPortion NullableMoneyObject) *RoundUpObject

NewRoundUpObject instantiates a new RoundUpObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoundUpObjectWithDefaults

func NewRoundUpObjectWithDefaults() *RoundUpObject

NewRoundUpObjectWithDefaults instantiates a new RoundUpObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoundUpObject) GetAmount

func (o *RoundUpObject) GetAmount() MoneyObject

GetAmount returns the Amount field value

func (*RoundUpObject) GetAmountOk

func (o *RoundUpObject) GetAmountOk() (*MoneyObject, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*RoundUpObject) GetBoostPortion

func (o *RoundUpObject) GetBoostPortion() MoneyObject

GetBoostPortion returns the BoostPortion field value If the value is explicit nil, the zero value for MoneyObject will be returned

func (*RoundUpObject) GetBoostPortionOk

func (o *RoundUpObject) GetBoostPortionOk() (*MoneyObject, bool)

GetBoostPortionOk returns a tuple with the BoostPortion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (RoundUpObject) MarshalJSON

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

func (*RoundUpObject) SetAmount

func (o *RoundUpObject) SetAmount(v MoneyObject)

SetAmount sets field value

func (*RoundUpObject) SetBoostPortion

func (o *RoundUpObject) SetBoostPortion(v MoneyObject)

SetBoostPortion sets field value

func (RoundUpObject) ToMap

func (o RoundUpObject) ToMap() (map[string]interface{}, error)

func (*RoundUpObject) UnmarshalJSON

func (o *RoundUpObject) UnmarshalJSON(data []byte) (err error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TagInputResourceIdentifier

type TagInputResourceIdentifier struct {
	// The type of this resource: `tags`
	Type string `json:"type"`
	// The label of the tag, which also acts as the tag’s unique identifier.
	Id string `json:"id"`
}

TagInputResourceIdentifier Uniquely identifies a single tag in the API.

func NewTagInputResourceIdentifier

func NewTagInputResourceIdentifier(type_ string, id string) *TagInputResourceIdentifier

NewTagInputResourceIdentifier instantiates a new TagInputResourceIdentifier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagInputResourceIdentifierWithDefaults

func NewTagInputResourceIdentifierWithDefaults() *TagInputResourceIdentifier

NewTagInputResourceIdentifierWithDefaults instantiates a new TagInputResourceIdentifier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagInputResourceIdentifier) GetId

GetId returns the Id field value

func (*TagInputResourceIdentifier) GetIdOk

func (o *TagInputResourceIdentifier) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TagInputResourceIdentifier) GetType

func (o *TagInputResourceIdentifier) GetType() string

GetType returns the Type field value

func (*TagInputResourceIdentifier) GetTypeOk

func (o *TagInputResourceIdentifier) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TagInputResourceIdentifier) MarshalJSON

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

func (*TagInputResourceIdentifier) SetId

func (o *TagInputResourceIdentifier) SetId(v string)

SetId sets field value

func (*TagInputResourceIdentifier) SetType

func (o *TagInputResourceIdentifier) SetType(v string)

SetType sets field value

func (TagInputResourceIdentifier) ToMap

func (o TagInputResourceIdentifier) ToMap() (map[string]interface{}, error)

func (*TagInputResourceIdentifier) UnmarshalJSON

func (o *TagInputResourceIdentifier) UnmarshalJSON(data []byte) (err error)

type TagResource

type TagResource struct {
	// The type of this resource: `tags`
	Type string `json:"type"`
	// The label of the tag, which also acts as the tag’s unique identifier.
	Id            string                       `json:"id"`
	Relationships AccountResourceRelationships `json:"relationships"`
}

TagResource Provides information about a tag.

func NewTagResource

func NewTagResource(type_ string, id string, relationships AccountResourceRelationships) *TagResource

NewTagResource instantiates a new TagResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagResourceWithDefaults

func NewTagResourceWithDefaults() *TagResource

NewTagResourceWithDefaults instantiates a new TagResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TagResource) GetId

func (o *TagResource) GetId() string

GetId returns the Id field value

func (*TagResource) GetIdOk

func (o *TagResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TagResource) GetRelationships

func (o *TagResource) GetRelationships() AccountResourceRelationships

GetRelationships returns the Relationships field value

func (*TagResource) GetRelationshipsOk

func (o *TagResource) GetRelationshipsOk() (*AccountResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*TagResource) GetType

func (o *TagResource) GetType() string

GetType returns the Type field value

func (*TagResource) GetTypeOk

func (o *TagResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TagResource) MarshalJSON

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

func (*TagResource) SetId

func (o *TagResource) SetId(v string)

SetId sets field value

func (*TagResource) SetRelationships

func (o *TagResource) SetRelationships(v AccountResourceRelationships)

SetRelationships sets field value

func (*TagResource) SetType

func (o *TagResource) SetType(v string)

SetType sets field value

func (TagResource) ToMap

func (o TagResource) ToMap() (map[string]interface{}, error)

func (*TagResource) UnmarshalJSON

func (o *TagResource) UnmarshalJSON(data []byte) (err error)

type TagsAPIService

type TagsAPIService service

TagsAPIService TagsAPI service

func (*TagsAPIService) TagsGet

TagsGet List tags

Retrieve a list of all tags currently in use. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present. Results are ordered lexicographically. The `transactions` relationship for each tag exposes a link to get the transactions with the given tag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTagsGetRequest

func (*TagsAPIService) TagsGetExecute

Execute executes the request

@return ListTagsResponse

func (*TagsAPIService) TransactionsTransactionIdRelationshipsTagsDelete

func (a *TagsAPIService) TransactionsTransactionIdRelationshipsTagsDelete(ctx context.Context, transactionId string) ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest

TransactionsTransactionIdRelationshipsTagsDelete Remove tags from transaction

Disassociates one or more tags from a specific transaction. Tags that are not associated are silently ignored. An HTTP `204` is returned on success. The associated tags, along with this request URL, are also exposed via the `tags` relationship on the transaction resource returned from `/transactions/{id}`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param transactionId The unique identifier for the transaction.
@return ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest

func (*TagsAPIService) TransactionsTransactionIdRelationshipsTagsDeleteExecute

func (a *TagsAPIService) TransactionsTransactionIdRelationshipsTagsDeleteExecute(r ApiTransactionsTransactionIdRelationshipsTagsDeleteRequest) (*http.Response, error)

Execute executes the request

func (*TagsAPIService) TransactionsTransactionIdRelationshipsTagsPost

func (a *TagsAPIService) TransactionsTransactionIdRelationshipsTagsPost(ctx context.Context, transactionId string) ApiTransactionsTransactionIdRelationshipsTagsPostRequest

TransactionsTransactionIdRelationshipsTagsPost Add tags to transaction

Associates one or more tags with a specific transaction. No more than 6 tags may be present on any single transaction. Duplicate tags are silently ignored. An HTTP `204` is returned on success. The associated tags, along with this request URL, are also exposed via the `tags` relationship on the transaction resource returned from `/transactions/{id}`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param transactionId The unique identifier for the transaction.
@return ApiTransactionsTransactionIdRelationshipsTagsPostRequest

func (*TagsAPIService) TransactionsTransactionIdRelationshipsTagsPostExecute

func (a *TagsAPIService) TransactionsTransactionIdRelationshipsTagsPostExecute(r ApiTransactionsTransactionIdRelationshipsTagsPostRequest) (*http.Response, error)

Execute executes the request

type TransactionResource

type TransactionResource struct {
	// The type of this resource: `transactions`
	Type string `json:"type"`
	// The unique identifier for this transaction.
	Id            string                           `json:"id"`
	Attributes    TransactionResourceAttributes    `json:"attributes"`
	Relationships TransactionResourceRelationships `json:"relationships"`
	Links         *AccountResourceLinks            `json:"links,omitempty"`
}

TransactionResource struct for TransactionResource

func NewTransactionResource

func NewTransactionResource(type_ string, id string, attributes TransactionResourceAttributes, relationships TransactionResourceRelationships) *TransactionResource

NewTransactionResource instantiates a new TransactionResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceWithDefaults

func NewTransactionResourceWithDefaults() *TransactionResource

NewTransactionResourceWithDefaults instantiates a new TransactionResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResource) GetAttributes

GetAttributes returns the Attributes field value

func (*TransactionResource) GetAttributesOk

func (o *TransactionResource) GetAttributesOk() (*TransactionResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*TransactionResource) GetId

func (o *TransactionResource) GetId() string

GetId returns the Id field value

func (*TransactionResource) GetIdOk

func (o *TransactionResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResource) GetLinksOk

func (o *TransactionResource) GetLinksOk() (*AccountResourceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionResource) GetRelationships

GetRelationships returns the Relationships field value

func (*TransactionResource) GetRelationshipsOk

func (o *TransactionResource) GetRelationshipsOk() (*TransactionResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*TransactionResource) GetType

func (o *TransactionResource) GetType() string

GetType returns the Type field value

func (*TransactionResource) GetTypeOk

func (o *TransactionResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *TransactionResource) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (TransactionResource) MarshalJSON

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

func (*TransactionResource) SetAttributes

SetAttributes sets field value

func (*TransactionResource) SetId

func (o *TransactionResource) SetId(v string)

SetId sets field value

SetLinks gets a reference to the given AccountResourceLinks and assigns it to the Links field.

func (*TransactionResource) SetRelationships

SetRelationships sets field value

func (*TransactionResource) SetType

func (o *TransactionResource) SetType(v string)

SetType sets field value

func (TransactionResource) ToMap

func (o TransactionResource) ToMap() (map[string]interface{}, error)

func (*TransactionResource) UnmarshalJSON

func (o *TransactionResource) UnmarshalJSON(data []byte) (err error)

type TransactionResourceAttributes

type TransactionResourceAttributes struct {
	// The current processing status of this transaction, according to whether or not this transaction has settled or is still held.
	Status TransactionStatusEnum `json:"status"`
	// The original, unprocessed text of the transaction. This is often not a perfect indicator of the actual merchant, but it is useful for reconciliation purposes in some cases.
	RawText NullableString `json:"rawText"`
	// A short description for this transaction. Usually the merchant name for purchases.
	Description string `json:"description"`
	// Attached message for this transaction, such as a payment message, or a transfer note.
	Message NullableString `json:"message"`
	// Boolean flag set to true on transactions that support the use of categories.
	IsCategorizable bool `json:"isCategorizable"`
	// If this transaction is currently in the `HELD` status, or was ever in the `HELD` status, the `amount` and `foreignAmount` of the transaction while `HELD`.
	HoldInfo NullableHoldInfoObject `json:"holdInfo"`
	// Details of how this transaction was rounded-up. If no Round Up was applied this field will be `null`.
	RoundUp NullableRoundUpObject `json:"roundUp"`
	// If all or part of this transaction was instantly reimbursed in the form of cashback, details of the reimbursement.
	Cashback NullableCashbackObject `json:"cashback"`
	// The amount of this transaction in Australian dollars. For transactions that were once `HELD` but are now `SETTLED`, refer to the `holdInfo` field for the original `amount` the transaction was `HELD` at.
	Amount MoneyObject `json:"amount"`
	// The foreign currency amount of this transaction. This field will be `null` for domestic transactions. The amount was converted to the AUD amount reflected in the `amount` of this transaction. Refer to the `holdInfo` field for the original `foreignAmount` the transaction was `HELD` at.
	ForeignAmount NullableMoneyObject `json:"foreignAmount"`
	// Information about the card used for this transaction, if applicable.
	CardPurchaseMethod NullableCardPurchaseMethodObject `json:"cardPurchaseMethod"`
	// The date-time at which this transaction settled. This field will be `null` for transactions that are currently in the `HELD` status.
	SettledAt NullableTime `json:"settledAt"`
	// The date-time at which this transaction was first encountered.
	CreatedAt time.Time `json:"createdAt"`
	// A description of the transaction method used e.g. Purchase, BPAY Payment.
	TransactionType NullableString `json:"transactionType"`
	// A customer provided note about the transaction.  Can only be provided by Up High subscribers.
	Note NullableNoteObject `json:"note"`
	// The customer who initated the transaction.  For 2Up accounts this could be the customer who's card was used.
	PerformingCustomer NullableCustomerObject `json:"performingCustomer"`
	// A deep link to the transaction receipt screen in-app.
	DeepLinkURL string `json:"deepLinkURL"`
}

TransactionResourceAttributes struct for TransactionResourceAttributes

func NewTransactionResourceAttributes

func NewTransactionResourceAttributes(status TransactionStatusEnum, rawText NullableString, description string, message NullableString, isCategorizable bool, holdInfo NullableHoldInfoObject, roundUp NullableRoundUpObject, cashback NullableCashbackObject, amount MoneyObject, foreignAmount NullableMoneyObject, cardPurchaseMethod NullableCardPurchaseMethodObject, settledAt NullableTime, createdAt time.Time, transactionType NullableString, note NullableNoteObject, performingCustomer NullableCustomerObject, deepLinkURL string) *TransactionResourceAttributes

NewTransactionResourceAttributes instantiates a new TransactionResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceAttributesWithDefaults

func NewTransactionResourceAttributesWithDefaults() *TransactionResourceAttributes

NewTransactionResourceAttributesWithDefaults instantiates a new TransactionResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceAttributes) GetAmount

GetAmount returns the Amount field value

func (*TransactionResourceAttributes) GetAmountOk

func (o *TransactionResourceAttributes) GetAmountOk() (*MoneyObject, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetCardPurchaseMethod

func (o *TransactionResourceAttributes) GetCardPurchaseMethod() CardPurchaseMethodObject

GetCardPurchaseMethod returns the CardPurchaseMethod field value If the value is explicit nil, the zero value for CardPurchaseMethodObject will be returned

func (*TransactionResourceAttributes) GetCardPurchaseMethodOk

func (o *TransactionResourceAttributes) GetCardPurchaseMethodOk() (*CardPurchaseMethodObject, bool)

GetCardPurchaseMethodOk returns a tuple with the CardPurchaseMethod field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetCashback

GetCashback returns the Cashback field value If the value is explicit nil, the zero value for CashbackObject will be returned

func (*TransactionResourceAttributes) GetCashbackOk

func (o *TransactionResourceAttributes) GetCashbackOk() (*CashbackObject, bool)

GetCashbackOk returns a tuple with the Cashback field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetCreatedAt

func (o *TransactionResourceAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*TransactionResourceAttributes) GetCreatedAtOk

func (o *TransactionResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetDeepLinkURL

func (o *TransactionResourceAttributes) GetDeepLinkURL() string

GetDeepLinkURL returns the DeepLinkURL field value

func (*TransactionResourceAttributes) GetDeepLinkURLOk

func (o *TransactionResourceAttributes) GetDeepLinkURLOk() (*string, bool)

GetDeepLinkURLOk returns a tuple with the DeepLinkURL field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetDescription

func (o *TransactionResourceAttributes) GetDescription() string

GetDescription returns the Description field value

func (*TransactionResourceAttributes) GetDescriptionOk

func (o *TransactionResourceAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetForeignAmount

func (o *TransactionResourceAttributes) GetForeignAmount() MoneyObject

GetForeignAmount returns the ForeignAmount field value If the value is explicit nil, the zero value for MoneyObject will be returned

func (*TransactionResourceAttributes) GetForeignAmountOk

func (o *TransactionResourceAttributes) GetForeignAmountOk() (*MoneyObject, bool)

GetForeignAmountOk returns a tuple with the ForeignAmount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetHoldInfo

GetHoldInfo returns the HoldInfo field value If the value is explicit nil, the zero value for HoldInfoObject will be returned

func (*TransactionResourceAttributes) GetHoldInfoOk

func (o *TransactionResourceAttributes) GetHoldInfoOk() (*HoldInfoObject, bool)

GetHoldInfoOk returns a tuple with the HoldInfo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetIsCategorizable

func (o *TransactionResourceAttributes) GetIsCategorizable() bool

GetIsCategorizable returns the IsCategorizable field value

func (*TransactionResourceAttributes) GetIsCategorizableOk

func (o *TransactionResourceAttributes) GetIsCategorizableOk() (*bool, bool)

GetIsCategorizableOk returns a tuple with the IsCategorizable field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetMessage

func (o *TransactionResourceAttributes) GetMessage() string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*TransactionResourceAttributes) GetMessageOk

func (o *TransactionResourceAttributes) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetNote

GetNote returns the Note field value If the value is explicit nil, the zero value for NoteObject will be returned

func (*TransactionResourceAttributes) GetNoteOk

func (o *TransactionResourceAttributes) GetNoteOk() (*NoteObject, bool)

GetNoteOk returns a tuple with the Note field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetPerformingCustomer

func (o *TransactionResourceAttributes) GetPerformingCustomer() CustomerObject

GetPerformingCustomer returns the PerformingCustomer field value If the value is explicit nil, the zero value for CustomerObject will be returned

func (*TransactionResourceAttributes) GetPerformingCustomerOk

func (o *TransactionResourceAttributes) GetPerformingCustomerOk() (*CustomerObject, bool)

GetPerformingCustomerOk returns a tuple with the PerformingCustomer field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetRawText

func (o *TransactionResourceAttributes) GetRawText() string

GetRawText returns the RawText field value If the value is explicit nil, the zero value for string will be returned

func (*TransactionResourceAttributes) GetRawTextOk

func (o *TransactionResourceAttributes) GetRawTextOk() (*string, bool)

GetRawTextOk returns a tuple with the RawText field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetRoundUp

GetRoundUp returns the RoundUp field value If the value is explicit nil, the zero value for RoundUpObject will be returned

func (*TransactionResourceAttributes) GetRoundUpOk

func (o *TransactionResourceAttributes) GetRoundUpOk() (*RoundUpObject, bool)

GetRoundUpOk returns a tuple with the RoundUp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetSettledAt

func (o *TransactionResourceAttributes) GetSettledAt() time.Time

GetSettledAt returns the SettledAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*TransactionResourceAttributes) GetSettledAtOk

func (o *TransactionResourceAttributes) GetSettledAtOk() (*time.Time, bool)

GetSettledAtOk returns a tuple with the SettledAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionResourceAttributes) GetStatus

GetStatus returns the Status field value

func (*TransactionResourceAttributes) GetStatusOk

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*TransactionResourceAttributes) GetTransactionType

func (o *TransactionResourceAttributes) GetTransactionType() string

GetTransactionType returns the TransactionType field value If the value is explicit nil, the zero value for string will be returned

func (*TransactionResourceAttributes) GetTransactionTypeOk

func (o *TransactionResourceAttributes) GetTransactionTypeOk() (*string, bool)

GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (TransactionResourceAttributes) MarshalJSON

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

func (*TransactionResourceAttributes) SetAmount

SetAmount sets field value

func (*TransactionResourceAttributes) SetCardPurchaseMethod

func (o *TransactionResourceAttributes) SetCardPurchaseMethod(v CardPurchaseMethodObject)

SetCardPurchaseMethod sets field value

func (*TransactionResourceAttributes) SetCashback

SetCashback sets field value

func (*TransactionResourceAttributes) SetCreatedAt

func (o *TransactionResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*TransactionResourceAttributes) SetDeepLinkURL

func (o *TransactionResourceAttributes) SetDeepLinkURL(v string)

SetDeepLinkURL sets field value

func (*TransactionResourceAttributes) SetDescription

func (o *TransactionResourceAttributes) SetDescription(v string)

SetDescription sets field value

func (*TransactionResourceAttributes) SetForeignAmount

func (o *TransactionResourceAttributes) SetForeignAmount(v MoneyObject)

SetForeignAmount sets field value

func (*TransactionResourceAttributes) SetHoldInfo

SetHoldInfo sets field value

func (*TransactionResourceAttributes) SetIsCategorizable

func (o *TransactionResourceAttributes) SetIsCategorizable(v bool)

SetIsCategorizable sets field value

func (*TransactionResourceAttributes) SetMessage

func (o *TransactionResourceAttributes) SetMessage(v string)

SetMessage sets field value

func (*TransactionResourceAttributes) SetNote

SetNote sets field value

func (*TransactionResourceAttributes) SetPerformingCustomer

func (o *TransactionResourceAttributes) SetPerformingCustomer(v CustomerObject)

SetPerformingCustomer sets field value

func (*TransactionResourceAttributes) SetRawText

func (o *TransactionResourceAttributes) SetRawText(v string)

SetRawText sets field value

func (*TransactionResourceAttributes) SetRoundUp

SetRoundUp sets field value

func (*TransactionResourceAttributes) SetSettledAt

func (o *TransactionResourceAttributes) SetSettledAt(v time.Time)

SetSettledAt sets field value

func (*TransactionResourceAttributes) SetStatus

SetStatus sets field value

func (*TransactionResourceAttributes) SetTransactionType

func (o *TransactionResourceAttributes) SetTransactionType(v string)

SetTransactionType sets field value

func (TransactionResourceAttributes) ToMap

func (o TransactionResourceAttributes) ToMap() (map[string]interface{}, error)

func (*TransactionResourceAttributes) UnmarshalJSON

func (o *TransactionResourceAttributes) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationships

type TransactionResourceRelationships struct {
	Account         TransactionResourceRelationshipsAccount         `json:"account"`
	TransferAccount TransactionResourceRelationshipsTransferAccount `json:"transferAccount"`
	Category        TransactionResourceRelationshipsCategory        `json:"category"`
	ParentCategory  CategoryResourceRelationshipsParent             `json:"parentCategory"`
	Tags            TransactionResourceRelationshipsTags            `json:"tags"`
	Attachment      TransactionResourceRelationshipsAttachment      `json:"attachment"`
}

TransactionResourceRelationships struct for TransactionResourceRelationships

func NewTransactionResourceRelationships

NewTransactionResourceRelationships instantiates a new TransactionResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsWithDefaults

func NewTransactionResourceRelationshipsWithDefaults() *TransactionResourceRelationships

NewTransactionResourceRelationshipsWithDefaults instantiates a new TransactionResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationships) GetAccount

GetAccount returns the Account field value

func (*TransactionResourceRelationships) GetAccountOk

GetAccountOk returns a tuple with the Account field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationships) GetAttachment

GetAttachment returns the Attachment field value

func (*TransactionResourceRelationships) GetAttachmentOk

GetAttachmentOk returns a tuple with the Attachment field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationships) GetCategory

GetCategory returns the Category field value

func (*TransactionResourceRelationships) GetCategoryOk

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationships) GetParentCategory

GetParentCategory returns the ParentCategory field value

func (*TransactionResourceRelationships) GetParentCategoryOk

GetParentCategoryOk returns a tuple with the ParentCategory field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationships) GetTags

GetTags returns the Tags field value

func (*TransactionResourceRelationships) GetTagsOk

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationships) GetTransferAccount

GetTransferAccount returns the TransferAccount field value

func (*TransactionResourceRelationships) GetTransferAccountOk

GetTransferAccountOk returns a tuple with the TransferAccount field value and a boolean to check if the value has been set.

func (TransactionResourceRelationships) MarshalJSON

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

func (*TransactionResourceRelationships) SetAccount

SetAccount sets field value

func (*TransactionResourceRelationships) SetAttachment

SetAttachment sets field value

func (*TransactionResourceRelationships) SetCategory

SetCategory sets field value

func (*TransactionResourceRelationships) SetParentCategory

SetParentCategory sets field value

func (*TransactionResourceRelationships) SetTags

SetTags sets field value

func (*TransactionResourceRelationships) SetTransferAccount

SetTransferAccount sets field value

func (TransactionResourceRelationships) ToMap

func (o TransactionResourceRelationships) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationships) UnmarshalJSON

func (o *TransactionResourceRelationships) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsAccount

type TransactionResourceRelationshipsAccount struct {
	Data  TransactionResourceRelationshipsAccountData    `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks `json:"links,omitempty"`
}

TransactionResourceRelationshipsAccount struct for TransactionResourceRelationshipsAccount

func NewTransactionResourceRelationshipsAccount

func NewTransactionResourceRelationshipsAccount(data TransactionResourceRelationshipsAccountData) *TransactionResourceRelationshipsAccount

NewTransactionResourceRelationshipsAccount instantiates a new TransactionResourceRelationshipsAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsAccountWithDefaults

func NewTransactionResourceRelationshipsAccountWithDefaults() *TransactionResourceRelationshipsAccount

NewTransactionResourceRelationshipsAccountWithDefaults instantiates a new TransactionResourceRelationshipsAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsAccount) GetData

GetData returns the Data field value

func (*TransactionResourceRelationshipsAccount) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsAccount) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (TransactionResourceRelationshipsAccount) MarshalJSON

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

func (*TransactionResourceRelationshipsAccount) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (TransactionResourceRelationshipsAccount) ToMap

func (o TransactionResourceRelationshipsAccount) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsAccount) UnmarshalJSON

func (o *TransactionResourceRelationshipsAccount) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsAccountData

type TransactionResourceRelationshipsAccountData struct {
	// The type of this resource: `accounts`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

TransactionResourceRelationshipsAccountData struct for TransactionResourceRelationshipsAccountData

func NewTransactionResourceRelationshipsAccountData

func NewTransactionResourceRelationshipsAccountData(type_ string, id string) *TransactionResourceRelationshipsAccountData

NewTransactionResourceRelationshipsAccountData instantiates a new TransactionResourceRelationshipsAccountData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsAccountDataWithDefaults

func NewTransactionResourceRelationshipsAccountDataWithDefaults() *TransactionResourceRelationshipsAccountData

NewTransactionResourceRelationshipsAccountDataWithDefaults instantiates a new TransactionResourceRelationshipsAccountData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsAccountData) GetId

GetId returns the Id field value

func (*TransactionResourceRelationshipsAccountData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsAccountData) GetType

GetType returns the Type field value

func (*TransactionResourceRelationshipsAccountData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsAccountData) MarshalJSON

func (*TransactionResourceRelationshipsAccountData) SetId

SetId sets field value

func (*TransactionResourceRelationshipsAccountData) SetType

SetType sets field value

func (TransactionResourceRelationshipsAccountData) ToMap

func (o TransactionResourceRelationshipsAccountData) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsAccountData) UnmarshalJSON

func (o *TransactionResourceRelationshipsAccountData) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsAttachment

type TransactionResourceRelationshipsAttachment struct {
	Data  NullableTransactionResourceRelationshipsAttachmentData `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks         `json:"links,omitempty"`
}

TransactionResourceRelationshipsAttachment struct for TransactionResourceRelationshipsAttachment

func NewTransactionResourceRelationshipsAttachment

NewTransactionResourceRelationshipsAttachment instantiates a new TransactionResourceRelationshipsAttachment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsAttachmentWithDefaults

func NewTransactionResourceRelationshipsAttachmentWithDefaults() *TransactionResourceRelationshipsAttachment

NewTransactionResourceRelationshipsAttachmentWithDefaults instantiates a new TransactionResourceRelationshipsAttachment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsAttachment) GetData

GetData returns the Data field value If the value is explicit nil, the zero value for TransactionResourceRelationshipsAttachmentData will be returned

func (*TransactionResourceRelationshipsAttachment) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsAttachment) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (TransactionResourceRelationshipsAttachment) MarshalJSON

func (*TransactionResourceRelationshipsAttachment) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (TransactionResourceRelationshipsAttachment) ToMap

func (o TransactionResourceRelationshipsAttachment) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsAttachment) UnmarshalJSON

func (o *TransactionResourceRelationshipsAttachment) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsAttachmentData

type TransactionResourceRelationshipsAttachmentData struct {
	// The type of this resource: `attachments`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

TransactionResourceRelationshipsAttachmentData struct for TransactionResourceRelationshipsAttachmentData

func NewTransactionResourceRelationshipsAttachmentData

func NewTransactionResourceRelationshipsAttachmentData(type_ string, id string) *TransactionResourceRelationshipsAttachmentData

NewTransactionResourceRelationshipsAttachmentData instantiates a new TransactionResourceRelationshipsAttachmentData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsAttachmentDataWithDefaults

func NewTransactionResourceRelationshipsAttachmentDataWithDefaults() *TransactionResourceRelationshipsAttachmentData

NewTransactionResourceRelationshipsAttachmentDataWithDefaults instantiates a new TransactionResourceRelationshipsAttachmentData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsAttachmentData) GetId

GetId returns the Id field value

func (*TransactionResourceRelationshipsAttachmentData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsAttachmentData) GetType

GetType returns the Type field value

func (*TransactionResourceRelationshipsAttachmentData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsAttachmentData) MarshalJSON

func (*TransactionResourceRelationshipsAttachmentData) SetId

SetId sets field value

func (*TransactionResourceRelationshipsAttachmentData) SetType

SetType sets field value

func (TransactionResourceRelationshipsAttachmentData) ToMap

func (o TransactionResourceRelationshipsAttachmentData) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsAttachmentData) UnmarshalJSON

func (o *TransactionResourceRelationshipsAttachmentData) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsCategory

type TransactionResourceRelationshipsCategory struct {
	Data  NullableCategoryResourceRelationshipsParentData `json:"data"`
	Links *TransactionResourceRelationshipsCategoryLinks  `json:"links,omitempty"`
}

TransactionResourceRelationshipsCategory struct for TransactionResourceRelationshipsCategory

func NewTransactionResourceRelationshipsCategory

func NewTransactionResourceRelationshipsCategory(data NullableCategoryResourceRelationshipsParentData) *TransactionResourceRelationshipsCategory

NewTransactionResourceRelationshipsCategory instantiates a new TransactionResourceRelationshipsCategory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsCategoryWithDefaults

func NewTransactionResourceRelationshipsCategoryWithDefaults() *TransactionResourceRelationshipsCategory

NewTransactionResourceRelationshipsCategoryWithDefaults instantiates a new TransactionResourceRelationshipsCategory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsCategory) GetData

GetData returns the Data field value If the value is explicit nil, the zero value for CategoryResourceRelationshipsParentData will be returned

func (*TransactionResourceRelationshipsCategory) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsCategory) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (TransactionResourceRelationshipsCategory) MarshalJSON

func (*TransactionResourceRelationshipsCategory) SetData

SetData sets field value

SetLinks gets a reference to the given TransactionResourceRelationshipsCategoryLinks and assigns it to the Links field.

func (TransactionResourceRelationshipsCategory) ToMap

func (o TransactionResourceRelationshipsCategory) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsCategory) UnmarshalJSON

func (o *TransactionResourceRelationshipsCategory) UnmarshalJSON(data []byte) (err error)
type TransactionResourceRelationshipsCategoryLinks struct {
	// The link to retrieve or modify linkage between this resources and the related resource(s) in this relationship.
	Self string `json:"self"`
	// The link to retrieve the related resource(s) in this relationship.
	Related *string `json:"related,omitempty"`
}

TransactionResourceRelationshipsCategoryLinks struct for TransactionResourceRelationshipsCategoryLinks

func NewTransactionResourceRelationshipsCategoryLinks(self string) *TransactionResourceRelationshipsCategoryLinks

NewTransactionResourceRelationshipsCategoryLinks instantiates a new TransactionResourceRelationshipsCategoryLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsCategoryLinksWithDefaults

func NewTransactionResourceRelationshipsCategoryLinksWithDefaults() *TransactionResourceRelationshipsCategoryLinks

NewTransactionResourceRelationshipsCategoryLinksWithDefaults instantiates a new TransactionResourceRelationshipsCategoryLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsCategoryLinks) GetRelated

GetRelated returns the Related field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsCategoryLinks) GetRelatedOk

GetRelatedOk returns a tuple with the Related field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsCategoryLinks) GetSelf

GetSelf returns the Self field value

func (*TransactionResourceRelationshipsCategoryLinks) GetSelfOk

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsCategoryLinks) HasRelated

HasRelated returns a boolean if a field has been set.

func (TransactionResourceRelationshipsCategoryLinks) MarshalJSON

func (*TransactionResourceRelationshipsCategoryLinks) SetRelated

SetRelated gets a reference to the given string and assigns it to the Related field.

func (*TransactionResourceRelationshipsCategoryLinks) SetSelf

SetSelf sets field value

func (TransactionResourceRelationshipsCategoryLinks) ToMap

func (o TransactionResourceRelationshipsCategoryLinks) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsCategoryLinks) UnmarshalJSON

func (o *TransactionResourceRelationshipsCategoryLinks) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsTags

type TransactionResourceRelationshipsTags struct {
	Data  []TransactionResourceRelationshipsTagsDataInner `json:"data"`
	Links *TransactionResourceRelationshipsTagsLinks      `json:"links,omitempty"`
}

TransactionResourceRelationshipsTags struct for TransactionResourceRelationshipsTags

func NewTransactionResourceRelationshipsTags

func NewTransactionResourceRelationshipsTags(data []TransactionResourceRelationshipsTagsDataInner) *TransactionResourceRelationshipsTags

NewTransactionResourceRelationshipsTags instantiates a new TransactionResourceRelationshipsTags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTagsWithDefaults

func NewTransactionResourceRelationshipsTagsWithDefaults() *TransactionResourceRelationshipsTags

NewTransactionResourceRelationshipsTagsWithDefaults instantiates a new TransactionResourceRelationshipsTags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTags) GetData

GetData returns the Data field value

func (*TransactionResourceRelationshipsTags) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsTags) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (TransactionResourceRelationshipsTags) MarshalJSON

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

func (*TransactionResourceRelationshipsTags) SetData

SetData sets field value

SetLinks gets a reference to the given TransactionResourceRelationshipsTagsLinks and assigns it to the Links field.

func (TransactionResourceRelationshipsTags) ToMap

func (o TransactionResourceRelationshipsTags) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsTags) UnmarshalJSON

func (o *TransactionResourceRelationshipsTags) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsTagsDataInner

type TransactionResourceRelationshipsTagsDataInner struct {
	// The type of this resource: `tags`
	Type string `json:"type"`
	// The label of the tag, which also acts as the tag’s unique identifier.
	Id string `json:"id"`
}

TransactionResourceRelationshipsTagsDataInner struct for TransactionResourceRelationshipsTagsDataInner

func NewTransactionResourceRelationshipsTagsDataInner

func NewTransactionResourceRelationshipsTagsDataInner(type_ string, id string) *TransactionResourceRelationshipsTagsDataInner

NewTransactionResourceRelationshipsTagsDataInner instantiates a new TransactionResourceRelationshipsTagsDataInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTagsDataInnerWithDefaults

func NewTransactionResourceRelationshipsTagsDataInnerWithDefaults() *TransactionResourceRelationshipsTagsDataInner

NewTransactionResourceRelationshipsTagsDataInnerWithDefaults instantiates a new TransactionResourceRelationshipsTagsDataInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTagsDataInner) GetId

GetId returns the Id field value

func (*TransactionResourceRelationshipsTagsDataInner) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsTagsDataInner) GetType

GetType returns the Type field value

func (*TransactionResourceRelationshipsTagsDataInner) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsTagsDataInner) MarshalJSON

func (*TransactionResourceRelationshipsTagsDataInner) SetId

SetId sets field value

func (*TransactionResourceRelationshipsTagsDataInner) SetType

SetType sets field value

func (TransactionResourceRelationshipsTagsDataInner) ToMap

func (o TransactionResourceRelationshipsTagsDataInner) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsTagsDataInner) UnmarshalJSON

func (o *TransactionResourceRelationshipsTagsDataInner) UnmarshalJSON(data []byte) (err error)
type TransactionResourceRelationshipsTagsLinks struct {
	// The link to retrieve or modify linkage between this resources and the related resource(s) in this relationship.
	Self string `json:"self"`
}

TransactionResourceRelationshipsTagsLinks struct for TransactionResourceRelationshipsTagsLinks

func NewTransactionResourceRelationshipsTagsLinks(self string) *TransactionResourceRelationshipsTagsLinks

NewTransactionResourceRelationshipsTagsLinks instantiates a new TransactionResourceRelationshipsTagsLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTagsLinksWithDefaults

func NewTransactionResourceRelationshipsTagsLinksWithDefaults() *TransactionResourceRelationshipsTagsLinks

NewTransactionResourceRelationshipsTagsLinksWithDefaults instantiates a new TransactionResourceRelationshipsTagsLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTagsLinks) GetSelf

GetSelf returns the Self field value

func (*TransactionResourceRelationshipsTagsLinks) GetSelfOk

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsTagsLinks) MarshalJSON

func (*TransactionResourceRelationshipsTagsLinks) SetSelf

SetSelf sets field value

func (TransactionResourceRelationshipsTagsLinks) ToMap

func (o TransactionResourceRelationshipsTagsLinks) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsTagsLinks) UnmarshalJSON

func (o *TransactionResourceRelationshipsTagsLinks) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsTransferAccount

type TransactionResourceRelationshipsTransferAccount struct {
	Data  NullableTransactionResourceRelationshipsTransferAccountData `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks              `json:"links,omitempty"`
}

TransactionResourceRelationshipsTransferAccount If this transaction is a transfer between accounts, this relationship will contain the account the transaction went to/came from. The `amount` field can be used to determine the direction of the transfer.

func NewTransactionResourceRelationshipsTransferAccount

NewTransactionResourceRelationshipsTransferAccount instantiates a new TransactionResourceRelationshipsTransferAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTransferAccountWithDefaults

func NewTransactionResourceRelationshipsTransferAccountWithDefaults() *TransactionResourceRelationshipsTransferAccount

NewTransactionResourceRelationshipsTransferAccountWithDefaults instantiates a new TransactionResourceRelationshipsTransferAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTransferAccount) GetData

GetData returns the Data field value If the value is explicit nil, the zero value for TransactionResourceRelationshipsTransferAccountData will be returned

func (*TransactionResourceRelationshipsTransferAccount) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

GetLinks returns the Links field value if set, zero value otherwise.

func (*TransactionResourceRelationshipsTransferAccount) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (TransactionResourceRelationshipsTransferAccount) MarshalJSON

func (*TransactionResourceRelationshipsTransferAccount) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (TransactionResourceRelationshipsTransferAccount) ToMap

func (o TransactionResourceRelationshipsTransferAccount) ToMap() (map[string]interface{}, error)

func (*TransactionResourceRelationshipsTransferAccount) UnmarshalJSON

func (o *TransactionResourceRelationshipsTransferAccount) UnmarshalJSON(data []byte) (err error)

type TransactionResourceRelationshipsTransferAccountData

type TransactionResourceRelationshipsTransferAccountData struct {
	// The type of this resource: `accounts`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

TransactionResourceRelationshipsTransferAccountData struct for TransactionResourceRelationshipsTransferAccountData

func NewTransactionResourceRelationshipsTransferAccountData

func NewTransactionResourceRelationshipsTransferAccountData(type_ string, id string) *TransactionResourceRelationshipsTransferAccountData

NewTransactionResourceRelationshipsTransferAccountData instantiates a new TransactionResourceRelationshipsTransferAccountData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTransferAccountDataWithDefaults

func NewTransactionResourceRelationshipsTransferAccountDataWithDefaults() *TransactionResourceRelationshipsTransferAccountData

NewTransactionResourceRelationshipsTransferAccountDataWithDefaults instantiates a new TransactionResourceRelationshipsTransferAccountData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTransferAccountData) GetId

GetId returns the Id field value

func (*TransactionResourceRelationshipsTransferAccountData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TransactionResourceRelationshipsTransferAccountData) GetType

GetType returns the Type field value

func (*TransactionResourceRelationshipsTransferAccountData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsTransferAccountData) MarshalJSON

func (*TransactionResourceRelationshipsTransferAccountData) SetId

SetId sets field value

func (*TransactionResourceRelationshipsTransferAccountData) SetType

SetType sets field value

func (TransactionResourceRelationshipsTransferAccountData) ToMap

func (*TransactionResourceRelationshipsTransferAccountData) UnmarshalJSON

func (o *TransactionResourceRelationshipsTransferAccountData) UnmarshalJSON(data []byte) (err error)
type TransactionResourceRelationshipsTransferAccountLinks struct {
	// The link to retrieve the related resource(s) in this relationship.
	Related string `json:"related"`
}

TransactionResourceRelationshipsTransferAccountLinks struct for TransactionResourceRelationshipsTransferAccountLinks

func NewTransactionResourceRelationshipsTransferAccountLinks(related string) *TransactionResourceRelationshipsTransferAccountLinks

NewTransactionResourceRelationshipsTransferAccountLinks instantiates a new TransactionResourceRelationshipsTransferAccountLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionResourceRelationshipsTransferAccountLinksWithDefaults

func NewTransactionResourceRelationshipsTransferAccountLinksWithDefaults() *TransactionResourceRelationshipsTransferAccountLinks

NewTransactionResourceRelationshipsTransferAccountLinksWithDefaults instantiates a new TransactionResourceRelationshipsTransferAccountLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionResourceRelationshipsTransferAccountLinks) GetRelated

GetRelated returns the Related field value

func (*TransactionResourceRelationshipsTransferAccountLinks) GetRelatedOk

GetRelatedOk returns a tuple with the Related field value and a boolean to check if the value has been set.

func (TransactionResourceRelationshipsTransferAccountLinks) MarshalJSON

func (*TransactionResourceRelationshipsTransferAccountLinks) SetRelated

SetRelated sets field value

func (TransactionResourceRelationshipsTransferAccountLinks) ToMap

func (*TransactionResourceRelationshipsTransferAccountLinks) UnmarshalJSON

func (o *TransactionResourceRelationshipsTransferAccountLinks) UnmarshalJSON(data []byte) (err error)

type TransactionStatusEnum

type TransactionStatusEnum string

TransactionStatusEnum Specifies which stage of processing a transaction is currently at. Currently returned values are `HELD` and `SETTLED`. When a transaction is held, its account’s `availableBalance` is affected. When a transaction is settled, its account’s `currentBalance` is affected.

const (
	HELD    TransactionStatusEnum = "HELD"
	SETTLED TransactionStatusEnum = "SETTLED"
)

List of TransactionStatusEnum

func NewTransactionStatusEnumFromValue

func NewTransactionStatusEnumFromValue(v string) (*TransactionStatusEnum, error)

NewTransactionStatusEnumFromValue returns a pointer to a valid TransactionStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TransactionStatusEnum) IsValid

func (v TransactionStatusEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TransactionStatusEnum) Ptr

Ptr returns reference to TransactionStatusEnum value

func (*TransactionStatusEnum) UnmarshalJSON

func (v *TransactionStatusEnum) UnmarshalJSON(src []byte) error

type TransactionsAPIService

type TransactionsAPIService service

TransactionsAPIService TransactionsAPI service

func (*TransactionsAPIService) AccountsAccountIdTransactionsGet

func (a *TransactionsAPIService) AccountsAccountIdTransactionsGet(ctx context.Context, accountId string) ApiAccountsAccountIdTransactionsGetRequest

AccountsAccountIdTransactionsGet List transactions by account

Retrieve a list of all transactions for a specific account. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present. To narrow the results to a specific date range pass one or both of `filter[since]` and `filter[until]` in the query string. These filter parameters **should not** be used for pagination. Results are ordered newest first to oldest last.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId The unique identifier for the account.
@return ApiAccountsAccountIdTransactionsGetRequest

func (*TransactionsAPIService) AccountsAccountIdTransactionsGetExecute

Execute executes the request

@return ListTransactionsResponse

func (*TransactionsAPIService) TransactionsGet

TransactionsGet List transactions

Retrieve a list of all transactions across all accounts for the currently authenticated user. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present. To narrow the results to a specific date range pass one or both of `filter[since]` and `filter[until]` in the query string. These filter parameters **should not** be used for pagination. Results are ordered newest first to oldest last.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTransactionsGetRequest

func (*TransactionsAPIService) TransactionsGetExecute

Execute executes the request

@return ListTransactionsResponse

func (*TransactionsAPIService) TransactionsIdGet

TransactionsIdGet Retrieve transaction

Retrieve a specific transaction by providing its unique identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the transaction.
@return ApiTransactionsIdGetRequest

func (*TransactionsAPIService) TransactionsIdGetExecute

Execute executes the request

@return GetTransactionResponse

type UpdateTransactionCategoryRequest

type UpdateTransactionCategoryRequest struct {
	// The category to set on the transaction. Set this entire key to `null` de-categorize a transaction.
	Data NullableCategoryInputResourceIdentifier `json:"data"`
}

UpdateTransactionCategoryRequest Request to update the category associated with a transaction.

func NewUpdateTransactionCategoryRequest

func NewUpdateTransactionCategoryRequest(data NullableCategoryInputResourceIdentifier) *UpdateTransactionCategoryRequest

NewUpdateTransactionCategoryRequest instantiates a new UpdateTransactionCategoryRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateTransactionCategoryRequestWithDefaults

func NewUpdateTransactionCategoryRequestWithDefaults() *UpdateTransactionCategoryRequest

NewUpdateTransactionCategoryRequestWithDefaults instantiates a new UpdateTransactionCategoryRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateTransactionCategoryRequest) GetData

GetData returns the Data field value If the value is explicit nil, the zero value for CategoryInputResourceIdentifier will be returned

func (*UpdateTransactionCategoryRequest) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (UpdateTransactionCategoryRequest) MarshalJSON

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

func (*UpdateTransactionCategoryRequest) SetData

SetData sets field value

func (UpdateTransactionCategoryRequest) ToMap

func (o UpdateTransactionCategoryRequest) ToMap() (map[string]interface{}, error)

func (*UpdateTransactionCategoryRequest) UnmarshalJSON

func (o *UpdateTransactionCategoryRequest) UnmarshalJSON(data []byte) (err error)

type UpdateTransactionTagsRequest

type UpdateTransactionTagsRequest struct {
	// The tags to add to or remove from the transaction.
	Data []TagInputResourceIdentifier `json:"data"`
}

UpdateTransactionTagsRequest Request to add or remove tags associated with a transaction.

func NewUpdateTransactionTagsRequest

func NewUpdateTransactionTagsRequest(data []TagInputResourceIdentifier) *UpdateTransactionTagsRequest

NewUpdateTransactionTagsRequest instantiates a new UpdateTransactionTagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateTransactionTagsRequestWithDefaults

func NewUpdateTransactionTagsRequestWithDefaults() *UpdateTransactionTagsRequest

NewUpdateTransactionTagsRequestWithDefaults instantiates a new UpdateTransactionTagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateTransactionTagsRequest) GetData

GetData returns the Data field value

func (*UpdateTransactionTagsRequest) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (UpdateTransactionTagsRequest) MarshalJSON

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

func (*UpdateTransactionTagsRequest) SetData

SetData sets field value

func (UpdateTransactionTagsRequest) ToMap

func (o UpdateTransactionTagsRequest) ToMap() (map[string]interface{}, error)

func (*UpdateTransactionTagsRequest) UnmarshalJSON

func (o *UpdateTransactionTagsRequest) UnmarshalJSON(data []byte) (err error)

type UtilityEndpointsAPIService

type UtilityEndpointsAPIService service

UtilityEndpointsAPIService UtilityEndpointsAPI service

func (*UtilityEndpointsAPIService) UtilPingGet

UtilPingGet Ping

Make a basic ping request to the API. This is useful to verify that authentication is functioning correctly. On authentication success an HTTP `200` status is returned. On failure an HTTP `401` error response is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUtilPingGetRequest

func (*UtilityEndpointsAPIService) UtilPingGetExecute

Execute executes the request

@return PingResponse

type WebhookDeliveryLogResource

type WebhookDeliveryLogResource struct {
	// The type of this resource: `webhook-delivery-logs`
	Type string `json:"type"`
	// The unique identifier for this log entry.
	Id            string                                  `json:"id"`
	Attributes    WebhookDeliveryLogResourceAttributes    `json:"attributes"`
	Relationships WebhookDeliveryLogResourceRelationships `json:"relationships"`
}

WebhookDeliveryLogResource Provides historical webhook event delivery information for analysis and debugging purposes.

func NewWebhookDeliveryLogResource

func NewWebhookDeliveryLogResource(type_ string, id string, attributes WebhookDeliveryLogResourceAttributes, relationships WebhookDeliveryLogResourceRelationships) *WebhookDeliveryLogResource

NewWebhookDeliveryLogResource instantiates a new WebhookDeliveryLogResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceWithDefaults

func NewWebhookDeliveryLogResourceWithDefaults() *WebhookDeliveryLogResource

NewWebhookDeliveryLogResourceWithDefaults instantiates a new WebhookDeliveryLogResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResource) GetAttributes

GetAttributes returns the Attributes field value

func (*WebhookDeliveryLogResource) GetAttributesOk

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResource) GetId

GetId returns the Id field value

func (*WebhookDeliveryLogResource) GetIdOk

func (o *WebhookDeliveryLogResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResource) GetRelationships

GetRelationships returns the Relationships field value

func (*WebhookDeliveryLogResource) GetRelationshipsOk

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResource) GetType

func (o *WebhookDeliveryLogResource) GetType() string

GetType returns the Type field value

func (*WebhookDeliveryLogResource) GetTypeOk

func (o *WebhookDeliveryLogResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResource) MarshalJSON

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

func (*WebhookDeliveryLogResource) SetAttributes

SetAttributes sets field value

func (*WebhookDeliveryLogResource) SetId

func (o *WebhookDeliveryLogResource) SetId(v string)

SetId sets field value

func (*WebhookDeliveryLogResource) SetRelationships

SetRelationships sets field value

func (*WebhookDeliveryLogResource) SetType

func (o *WebhookDeliveryLogResource) SetType(v string)

SetType sets field value

func (WebhookDeliveryLogResource) ToMap

func (o WebhookDeliveryLogResource) ToMap() (map[string]interface{}, error)

func (*WebhookDeliveryLogResource) UnmarshalJSON

func (o *WebhookDeliveryLogResource) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceAttributes

type WebhookDeliveryLogResourceAttributes struct {
	Request  WebhookDeliveryLogResourceAttributesRequest          `json:"request"`
	Response NullableWebhookDeliveryLogResourceAttributesResponse `json:"response"`
	// The success or failure status of this delivery attempt.
	DeliveryStatus WebhookDeliveryStatusEnum `json:"deliveryStatus"`
	// The date-time at which this log entry was created.
	CreatedAt time.Time `json:"createdAt"`
}

WebhookDeliveryLogResourceAttributes struct for WebhookDeliveryLogResourceAttributes

func NewWebhookDeliveryLogResourceAttributes

NewWebhookDeliveryLogResourceAttributes instantiates a new WebhookDeliveryLogResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceAttributesWithDefaults

func NewWebhookDeliveryLogResourceAttributesWithDefaults() *WebhookDeliveryLogResourceAttributes

NewWebhookDeliveryLogResourceAttributesWithDefaults instantiates a new WebhookDeliveryLogResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceAttributes) GetCreatedAt

GetCreatedAt returns the CreatedAt field value

func (*WebhookDeliveryLogResourceAttributes) GetCreatedAtOk

func (o *WebhookDeliveryLogResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResourceAttributes) GetDeliveryStatus

GetDeliveryStatus returns the DeliveryStatus field value

func (*WebhookDeliveryLogResourceAttributes) GetDeliveryStatusOk

GetDeliveryStatusOk returns a tuple with the DeliveryStatus field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResourceAttributes) GetRequest

GetRequest returns the Request field value

func (*WebhookDeliveryLogResourceAttributes) GetRequestOk

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResourceAttributes) GetResponse

GetResponse returns the Response field value If the value is explicit nil, the zero value for WebhookDeliveryLogResourceAttributesResponse will be returned

func (*WebhookDeliveryLogResourceAttributes) GetResponseOk

GetResponseOk returns a tuple with the Response field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (WebhookDeliveryLogResourceAttributes) MarshalJSON

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

func (*WebhookDeliveryLogResourceAttributes) SetCreatedAt

func (o *WebhookDeliveryLogResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WebhookDeliveryLogResourceAttributes) SetDeliveryStatus

SetDeliveryStatus sets field value

func (*WebhookDeliveryLogResourceAttributes) SetRequest

SetRequest sets field value

func (*WebhookDeliveryLogResourceAttributes) SetResponse

SetResponse sets field value

func (WebhookDeliveryLogResourceAttributes) ToMap

func (o WebhookDeliveryLogResourceAttributes) ToMap() (map[string]interface{}, error)

func (*WebhookDeliveryLogResourceAttributes) UnmarshalJSON

func (o *WebhookDeliveryLogResourceAttributes) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceAttributesRequest

type WebhookDeliveryLogResourceAttributesRequest struct {
	// The payload that was sent in the request body.
	Body string `json:"body"`
}

WebhookDeliveryLogResourceAttributesRequest Information about the request that was sent to the webhook URL.

func NewWebhookDeliveryLogResourceAttributesRequest

func NewWebhookDeliveryLogResourceAttributesRequest(body string) *WebhookDeliveryLogResourceAttributesRequest

NewWebhookDeliveryLogResourceAttributesRequest instantiates a new WebhookDeliveryLogResourceAttributesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceAttributesRequestWithDefaults

func NewWebhookDeliveryLogResourceAttributesRequestWithDefaults() *WebhookDeliveryLogResourceAttributesRequest

NewWebhookDeliveryLogResourceAttributesRequestWithDefaults instantiates a new WebhookDeliveryLogResourceAttributesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceAttributesRequest) GetBody

GetBody returns the Body field value

func (*WebhookDeliveryLogResourceAttributesRequest) GetBodyOk

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResourceAttributesRequest) MarshalJSON

func (*WebhookDeliveryLogResourceAttributesRequest) SetBody

SetBody sets field value

func (WebhookDeliveryLogResourceAttributesRequest) ToMap

func (o WebhookDeliveryLogResourceAttributesRequest) ToMap() (map[string]interface{}, error)

func (*WebhookDeliveryLogResourceAttributesRequest) UnmarshalJSON

func (o *WebhookDeliveryLogResourceAttributesRequest) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceAttributesResponse

type WebhookDeliveryLogResourceAttributesResponse struct {
	// The HTTP status code received in the response.
	StatusCode int32 `json:"statusCode"`
	// The payload that was received in the response body.
	Body string `json:"body"`
}

WebhookDeliveryLogResourceAttributesResponse Information about the response that was received from the webhook URL.

func NewWebhookDeliveryLogResourceAttributesResponse

func NewWebhookDeliveryLogResourceAttributesResponse(statusCode int32, body string) *WebhookDeliveryLogResourceAttributesResponse

NewWebhookDeliveryLogResourceAttributesResponse instantiates a new WebhookDeliveryLogResourceAttributesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceAttributesResponseWithDefaults

func NewWebhookDeliveryLogResourceAttributesResponseWithDefaults() *WebhookDeliveryLogResourceAttributesResponse

NewWebhookDeliveryLogResourceAttributesResponseWithDefaults instantiates a new WebhookDeliveryLogResourceAttributesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceAttributesResponse) GetBody

GetBody returns the Body field value

func (*WebhookDeliveryLogResourceAttributesResponse) GetBodyOk

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResourceAttributesResponse) GetStatusCode

GetStatusCode returns the StatusCode field value

func (*WebhookDeliveryLogResourceAttributesResponse) GetStatusCodeOk

func (o *WebhookDeliveryLogResourceAttributesResponse) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResourceAttributesResponse) MarshalJSON

func (*WebhookDeliveryLogResourceAttributesResponse) SetBody

SetBody sets field value

func (*WebhookDeliveryLogResourceAttributesResponse) SetStatusCode

SetStatusCode sets field value

func (WebhookDeliveryLogResourceAttributesResponse) ToMap

func (o WebhookDeliveryLogResourceAttributesResponse) ToMap() (map[string]interface{}, error)

func (*WebhookDeliveryLogResourceAttributesResponse) UnmarshalJSON

func (o *WebhookDeliveryLogResourceAttributesResponse) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceRelationships

type WebhookDeliveryLogResourceRelationships struct {
	WebhookEvent WebhookDeliveryLogResourceRelationshipsWebhookEvent `json:"webhookEvent"`
}

WebhookDeliveryLogResourceRelationships struct for WebhookDeliveryLogResourceRelationships

func NewWebhookDeliveryLogResourceRelationships

func NewWebhookDeliveryLogResourceRelationships(webhookEvent WebhookDeliveryLogResourceRelationshipsWebhookEvent) *WebhookDeliveryLogResourceRelationships

NewWebhookDeliveryLogResourceRelationships instantiates a new WebhookDeliveryLogResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceRelationshipsWithDefaults

func NewWebhookDeliveryLogResourceRelationshipsWithDefaults() *WebhookDeliveryLogResourceRelationships

NewWebhookDeliveryLogResourceRelationshipsWithDefaults instantiates a new WebhookDeliveryLogResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceRelationships) GetWebhookEvent

GetWebhookEvent returns the WebhookEvent field value

func (*WebhookDeliveryLogResourceRelationships) GetWebhookEventOk

GetWebhookEventOk returns a tuple with the WebhookEvent field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResourceRelationships) MarshalJSON

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

func (*WebhookDeliveryLogResourceRelationships) SetWebhookEvent

SetWebhookEvent sets field value

func (WebhookDeliveryLogResourceRelationships) ToMap

func (o WebhookDeliveryLogResourceRelationships) ToMap() (map[string]interface{}, error)

func (*WebhookDeliveryLogResourceRelationships) UnmarshalJSON

func (o *WebhookDeliveryLogResourceRelationships) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceRelationshipsWebhookEvent

type WebhookDeliveryLogResourceRelationshipsWebhookEvent struct {
	Data WebhookDeliveryLogResourceRelationshipsWebhookEventData `json:"data"`
}

WebhookDeliveryLogResourceRelationshipsWebhookEvent struct for WebhookDeliveryLogResourceRelationshipsWebhookEvent

func NewWebhookDeliveryLogResourceRelationshipsWebhookEvent

NewWebhookDeliveryLogResourceRelationshipsWebhookEvent instantiates a new WebhookDeliveryLogResourceRelationshipsWebhookEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventWithDefaults

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventWithDefaults() *WebhookDeliveryLogResourceRelationshipsWebhookEvent

NewWebhookDeliveryLogResourceRelationshipsWebhookEventWithDefaults instantiates a new WebhookDeliveryLogResourceRelationshipsWebhookEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceRelationshipsWebhookEvent) GetData

GetData returns the Data field value

func (*WebhookDeliveryLogResourceRelationshipsWebhookEvent) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResourceRelationshipsWebhookEvent) MarshalJSON

func (*WebhookDeliveryLogResourceRelationshipsWebhookEvent) SetData

SetData sets field value

func (WebhookDeliveryLogResourceRelationshipsWebhookEvent) ToMap

func (*WebhookDeliveryLogResourceRelationshipsWebhookEvent) UnmarshalJSON

func (o *WebhookDeliveryLogResourceRelationshipsWebhookEvent) UnmarshalJSON(data []byte) (err error)

type WebhookDeliveryLogResourceRelationshipsWebhookEventData

type WebhookDeliveryLogResourceRelationshipsWebhookEventData struct {
	// The type of this resource: `webhook-events`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

WebhookDeliveryLogResourceRelationshipsWebhookEventData struct for WebhookDeliveryLogResourceRelationshipsWebhookEventData

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventData

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventData(type_ string, id string) *WebhookDeliveryLogResourceRelationshipsWebhookEventData

NewWebhookDeliveryLogResourceRelationshipsWebhookEventData instantiates a new WebhookDeliveryLogResourceRelationshipsWebhookEventData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventDataWithDefaults

func NewWebhookDeliveryLogResourceRelationshipsWebhookEventDataWithDefaults() *WebhookDeliveryLogResourceRelationshipsWebhookEventData

NewWebhookDeliveryLogResourceRelationshipsWebhookEventDataWithDefaults instantiates a new WebhookDeliveryLogResourceRelationshipsWebhookEventData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) GetId

GetId returns the Id field value

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) GetType

GetType returns the Type field value

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (WebhookDeliveryLogResourceRelationshipsWebhookEventData) MarshalJSON

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) SetId

SetId sets field value

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) SetType

SetType sets field value

func (WebhookDeliveryLogResourceRelationshipsWebhookEventData) ToMap

func (*WebhookDeliveryLogResourceRelationshipsWebhookEventData) UnmarshalJSON

type WebhookDeliveryStatusEnum

type WebhookDeliveryStatusEnum string

WebhookDeliveryStatusEnum Specifies the nature of the success or failure of a webhook delivery attempt to the subscribed webhook URL. The currently returned values are described below: - **`DELIVERED`**: The event was delivered to the webhook URL successfully and a `200` response was received. - **`UNDELIVERABLE`**: The webhook URL was not reachable, or timed out. - **`BAD_RESPONSE_CODE`**: The event was delivered to the webhook URL but a non-`200` response was received.

const (
	DELIVERED         WebhookDeliveryStatusEnum = "DELIVERED"
	UNDELIVERABLE     WebhookDeliveryStatusEnum = "UNDELIVERABLE"
	BAD_RESPONSE_CODE WebhookDeliveryStatusEnum = "BAD_RESPONSE_CODE"
)

List of WebhookDeliveryStatusEnum

func NewWebhookDeliveryStatusEnumFromValue

func NewWebhookDeliveryStatusEnumFromValue(v string) (*WebhookDeliveryStatusEnum, error)

NewWebhookDeliveryStatusEnumFromValue returns a pointer to a valid WebhookDeliveryStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WebhookDeliveryStatusEnum) IsValid

func (v WebhookDeliveryStatusEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WebhookDeliveryStatusEnum) Ptr

Ptr returns reference to WebhookDeliveryStatusEnum value

func (*WebhookDeliveryStatusEnum) UnmarshalJSON

func (v *WebhookDeliveryStatusEnum) UnmarshalJSON(src []byte) error

type WebhookEventCallback

type WebhookEventCallback struct {
	// The webhook event data sent to the subscribed webhook.
	Data WebhookEventResource `json:"data"`
}

WebhookEventCallback Asynchronous callback request used for webhook event delivery.

func NewWebhookEventCallback

func NewWebhookEventCallback(data WebhookEventResource) *WebhookEventCallback

NewWebhookEventCallback instantiates a new WebhookEventCallback object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventCallbackWithDefaults

func NewWebhookEventCallbackWithDefaults() *WebhookEventCallback

NewWebhookEventCallbackWithDefaults instantiates a new WebhookEventCallback object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventCallback) GetData

GetData returns the Data field value

func (*WebhookEventCallback) GetDataOk

func (o *WebhookEventCallback) GetDataOk() (*WebhookEventResource, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (WebhookEventCallback) MarshalJSON

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

func (*WebhookEventCallback) SetData

SetData sets field value

func (WebhookEventCallback) ToMap

func (o WebhookEventCallback) ToMap() (map[string]interface{}, error)

func (*WebhookEventCallback) UnmarshalJSON

func (o *WebhookEventCallback) UnmarshalJSON(data []byte) (err error)

type WebhookEventResource

type WebhookEventResource struct {
	// The type of this resource: `webhook-events`
	Type string `json:"type"`
	// The unique identifier for this event. This will remain constant across delivery retries.
	Id            string                            `json:"id"`
	Attributes    WebhookEventResourceAttributes    `json:"attributes"`
	Relationships WebhookEventResourceRelationships `json:"relationships"`
}

WebhookEventResource Provides the event data used in asynchronous webhook event callbacks to subscribed endpoints. Webhooks events have defined `eventType`s and may optionally relate to other resources within the Up API.

func NewWebhookEventResource

func NewWebhookEventResource(type_ string, id string, attributes WebhookEventResourceAttributes, relationships WebhookEventResourceRelationships) *WebhookEventResource

NewWebhookEventResource instantiates a new WebhookEventResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceWithDefaults

func NewWebhookEventResourceWithDefaults() *WebhookEventResource

NewWebhookEventResourceWithDefaults instantiates a new WebhookEventResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResource) GetAttributes

GetAttributes returns the Attributes field value

func (*WebhookEventResource) GetAttributesOk

func (o *WebhookEventResource) GetAttributesOk() (*WebhookEventResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*WebhookEventResource) GetId

func (o *WebhookEventResource) GetId() string

GetId returns the Id field value

func (*WebhookEventResource) GetIdOk

func (o *WebhookEventResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookEventResource) GetRelationships

GetRelationships returns the Relationships field value

func (*WebhookEventResource) GetRelationshipsOk

func (o *WebhookEventResource) GetRelationshipsOk() (*WebhookEventResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*WebhookEventResource) GetType

func (o *WebhookEventResource) GetType() string

GetType returns the Type field value

func (*WebhookEventResource) GetTypeOk

func (o *WebhookEventResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (WebhookEventResource) MarshalJSON

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

func (*WebhookEventResource) SetAttributes

SetAttributes sets field value

func (*WebhookEventResource) SetId

func (o *WebhookEventResource) SetId(v string)

SetId sets field value

func (*WebhookEventResource) SetRelationships

SetRelationships sets field value

func (*WebhookEventResource) SetType

func (o *WebhookEventResource) SetType(v string)

SetType sets field value

func (WebhookEventResource) ToMap

func (o WebhookEventResource) ToMap() (map[string]interface{}, error)

func (*WebhookEventResource) UnmarshalJSON

func (o *WebhookEventResource) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceAttributes

type WebhookEventResourceAttributes struct {
	// The type of this event. This can be used to determine what action to take in response to the event.
	EventType WebhookEventTypeEnum `json:"eventType"`
	// The date-time at which this event was generated.
	CreatedAt time.Time `json:"createdAt"`
}

WebhookEventResourceAttributes struct for WebhookEventResourceAttributes

func NewWebhookEventResourceAttributes

func NewWebhookEventResourceAttributes(eventType WebhookEventTypeEnum, createdAt time.Time) *WebhookEventResourceAttributes

NewWebhookEventResourceAttributes instantiates a new WebhookEventResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceAttributesWithDefaults

func NewWebhookEventResourceAttributesWithDefaults() *WebhookEventResourceAttributes

NewWebhookEventResourceAttributesWithDefaults instantiates a new WebhookEventResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceAttributes) GetCreatedAt

func (o *WebhookEventResourceAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*WebhookEventResourceAttributes) GetCreatedAtOk

func (o *WebhookEventResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WebhookEventResourceAttributes) GetEventType

GetEventType returns the EventType field value

func (*WebhookEventResourceAttributes) GetEventTypeOk

GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.

func (WebhookEventResourceAttributes) MarshalJSON

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

func (*WebhookEventResourceAttributes) SetCreatedAt

func (o *WebhookEventResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WebhookEventResourceAttributes) SetEventType

SetEventType sets field value

func (WebhookEventResourceAttributes) ToMap

func (o WebhookEventResourceAttributes) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceAttributes) UnmarshalJSON

func (o *WebhookEventResourceAttributes) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceRelationships

type WebhookEventResourceRelationships struct {
	Webhook     WebhookEventResourceRelationshipsWebhook    `json:"webhook"`
	Transaction *AttachmentResourceRelationshipsTransaction `json:"transaction,omitempty"`
}

WebhookEventResourceRelationships struct for WebhookEventResourceRelationships

func NewWebhookEventResourceRelationships

func NewWebhookEventResourceRelationships(webhook WebhookEventResourceRelationshipsWebhook) *WebhookEventResourceRelationships

NewWebhookEventResourceRelationships instantiates a new WebhookEventResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceRelationshipsWithDefaults

func NewWebhookEventResourceRelationshipsWithDefaults() *WebhookEventResourceRelationships

NewWebhookEventResourceRelationshipsWithDefaults instantiates a new WebhookEventResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceRelationships) GetTransaction

GetTransaction returns the Transaction field value if set, zero value otherwise.

func (*WebhookEventResourceRelationships) GetTransactionOk

GetTransactionOk returns a tuple with the Transaction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookEventResourceRelationships) GetWebhook

GetWebhook returns the Webhook field value

func (*WebhookEventResourceRelationships) GetWebhookOk

GetWebhookOk returns a tuple with the Webhook field value and a boolean to check if the value has been set.

func (*WebhookEventResourceRelationships) HasTransaction

func (o *WebhookEventResourceRelationships) HasTransaction() bool

HasTransaction returns a boolean if a field has been set.

func (WebhookEventResourceRelationships) MarshalJSON

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

func (*WebhookEventResourceRelationships) SetTransaction

SetTransaction gets a reference to the given AttachmentResourceRelationshipsTransaction and assigns it to the Transaction field.

func (*WebhookEventResourceRelationships) SetWebhook

SetWebhook sets field value

func (WebhookEventResourceRelationships) ToMap

func (o WebhookEventResourceRelationships) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceRelationships) UnmarshalJSON

func (o *WebhookEventResourceRelationships) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceRelationshipsTransaction

type WebhookEventResourceRelationshipsTransaction struct {
	Data  WebhookEventResourceRelationshipsTransactionData `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks   `json:"links,omitempty"`
}

WebhookEventResourceRelationshipsTransaction struct for WebhookEventResourceRelationshipsTransaction

func NewWebhookEventResourceRelationshipsTransaction

func NewWebhookEventResourceRelationshipsTransaction(data WebhookEventResourceRelationshipsTransactionData) *WebhookEventResourceRelationshipsTransaction

NewWebhookEventResourceRelationshipsTransaction instantiates a new WebhookEventResourceRelationshipsTransaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceRelationshipsTransactionWithDefaults

func NewWebhookEventResourceRelationshipsTransactionWithDefaults() *WebhookEventResourceRelationshipsTransaction

NewWebhookEventResourceRelationshipsTransactionWithDefaults instantiates a new WebhookEventResourceRelationshipsTransaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceRelationshipsTransaction) GetData

GetData returns the Data field value

func (*WebhookEventResourceRelationshipsTransaction) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*WebhookEventResourceRelationshipsTransaction) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (WebhookEventResourceRelationshipsTransaction) MarshalJSON

func (*WebhookEventResourceRelationshipsTransaction) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (WebhookEventResourceRelationshipsTransaction) ToMap

func (o WebhookEventResourceRelationshipsTransaction) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceRelationshipsTransaction) UnmarshalJSON

func (o *WebhookEventResourceRelationshipsTransaction) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceRelationshipsTransactionData

type WebhookEventResourceRelationshipsTransactionData struct {
	// The type of this resource: `transactions`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

WebhookEventResourceRelationshipsTransactionData struct for WebhookEventResourceRelationshipsTransactionData

func NewWebhookEventResourceRelationshipsTransactionData

func NewWebhookEventResourceRelationshipsTransactionData(type_ string, id string) *WebhookEventResourceRelationshipsTransactionData

NewWebhookEventResourceRelationshipsTransactionData instantiates a new WebhookEventResourceRelationshipsTransactionData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceRelationshipsTransactionDataWithDefaults

func NewWebhookEventResourceRelationshipsTransactionDataWithDefaults() *WebhookEventResourceRelationshipsTransactionData

NewWebhookEventResourceRelationshipsTransactionDataWithDefaults instantiates a new WebhookEventResourceRelationshipsTransactionData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceRelationshipsTransactionData) GetId

GetId returns the Id field value

func (*WebhookEventResourceRelationshipsTransactionData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookEventResourceRelationshipsTransactionData) GetType

GetType returns the Type field value

func (*WebhookEventResourceRelationshipsTransactionData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (WebhookEventResourceRelationshipsTransactionData) MarshalJSON

func (*WebhookEventResourceRelationshipsTransactionData) SetId

SetId sets field value

func (*WebhookEventResourceRelationshipsTransactionData) SetType

SetType sets field value

func (WebhookEventResourceRelationshipsTransactionData) ToMap

func (o WebhookEventResourceRelationshipsTransactionData) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceRelationshipsTransactionData) UnmarshalJSON

func (o *WebhookEventResourceRelationshipsTransactionData) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceRelationshipsWebhook

type WebhookEventResourceRelationshipsWebhook struct {
	Data  WebhookEventResourceRelationshipsWebhookData   `json:"data"`
	Links *AccountResourceRelationshipsTransactionsLinks `json:"links,omitempty"`
}

WebhookEventResourceRelationshipsWebhook struct for WebhookEventResourceRelationshipsWebhook

func NewWebhookEventResourceRelationshipsWebhook

func NewWebhookEventResourceRelationshipsWebhook(data WebhookEventResourceRelationshipsWebhookData) *WebhookEventResourceRelationshipsWebhook

NewWebhookEventResourceRelationshipsWebhook instantiates a new WebhookEventResourceRelationshipsWebhook object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceRelationshipsWebhookWithDefaults

func NewWebhookEventResourceRelationshipsWebhookWithDefaults() *WebhookEventResourceRelationshipsWebhook

NewWebhookEventResourceRelationshipsWebhookWithDefaults instantiates a new WebhookEventResourceRelationshipsWebhook object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceRelationshipsWebhook) GetData

GetData returns the Data field value

func (*WebhookEventResourceRelationshipsWebhook) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*WebhookEventResourceRelationshipsWebhook) GetLinksOk

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

HasLinks returns a boolean if a field has been set.

func (WebhookEventResourceRelationshipsWebhook) MarshalJSON

func (*WebhookEventResourceRelationshipsWebhook) SetData

SetData sets field value

SetLinks gets a reference to the given AccountResourceRelationshipsTransactionsLinks and assigns it to the Links field.

func (WebhookEventResourceRelationshipsWebhook) ToMap

func (o WebhookEventResourceRelationshipsWebhook) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceRelationshipsWebhook) UnmarshalJSON

func (o *WebhookEventResourceRelationshipsWebhook) UnmarshalJSON(data []byte) (err error)

type WebhookEventResourceRelationshipsWebhookData

type WebhookEventResourceRelationshipsWebhookData struct {
	// The type of this resource: `webhooks`
	Type string `json:"type"`
	// The unique identifier of the resource within its type.
	Id string `json:"id"`
}

WebhookEventResourceRelationshipsWebhookData struct for WebhookEventResourceRelationshipsWebhookData

func NewWebhookEventResourceRelationshipsWebhookData

func NewWebhookEventResourceRelationshipsWebhookData(type_ string, id string) *WebhookEventResourceRelationshipsWebhookData

NewWebhookEventResourceRelationshipsWebhookData instantiates a new WebhookEventResourceRelationshipsWebhookData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookEventResourceRelationshipsWebhookDataWithDefaults

func NewWebhookEventResourceRelationshipsWebhookDataWithDefaults() *WebhookEventResourceRelationshipsWebhookData

NewWebhookEventResourceRelationshipsWebhookDataWithDefaults instantiates a new WebhookEventResourceRelationshipsWebhookData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookEventResourceRelationshipsWebhookData) GetId

GetId returns the Id field value

func (*WebhookEventResourceRelationshipsWebhookData) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookEventResourceRelationshipsWebhookData) GetType

GetType returns the Type field value

func (*WebhookEventResourceRelationshipsWebhookData) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (WebhookEventResourceRelationshipsWebhookData) MarshalJSON

func (*WebhookEventResourceRelationshipsWebhookData) SetId

SetId sets field value

func (*WebhookEventResourceRelationshipsWebhookData) SetType

SetType sets field value

func (WebhookEventResourceRelationshipsWebhookData) ToMap

func (o WebhookEventResourceRelationshipsWebhookData) ToMap() (map[string]interface{}, error)

func (*WebhookEventResourceRelationshipsWebhookData) UnmarshalJSON

func (o *WebhookEventResourceRelationshipsWebhookData) UnmarshalJSON(data []byte) (err error)

type WebhookEventTypeEnum

type WebhookEventTypeEnum string

WebhookEventTypeEnum Specifies the type of a webhook event. This can be used to determine what action to take in response to the event, such as which relationships to expect.

const (
	TRANSACTION_CREATED WebhookEventTypeEnum = "TRANSACTION_CREATED"
	TRANSACTION_SETTLED WebhookEventTypeEnum = "TRANSACTION_SETTLED"
	TRANSACTION_DELETED WebhookEventTypeEnum = "TRANSACTION_DELETED"
	PING                WebhookEventTypeEnum = "PING"
)

List of WebhookEventTypeEnum

func NewWebhookEventTypeEnumFromValue

func NewWebhookEventTypeEnumFromValue(v string) (*WebhookEventTypeEnum, error)

NewWebhookEventTypeEnumFromValue returns a pointer to a valid WebhookEventTypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WebhookEventTypeEnum) IsValid

func (v WebhookEventTypeEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WebhookEventTypeEnum) Ptr

Ptr returns reference to WebhookEventTypeEnum value

func (*WebhookEventTypeEnum) UnmarshalJSON

func (v *WebhookEventTypeEnum) UnmarshalJSON(src []byte) error

type WebhookInputResource

type WebhookInputResource struct {
	Attributes WebhookInputResourceAttributes `json:"attributes"`
}

WebhookInputResource Represents a webhook specified as request input.

func NewWebhookInputResource

func NewWebhookInputResource(attributes WebhookInputResourceAttributes) *WebhookInputResource

NewWebhookInputResource instantiates a new WebhookInputResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookInputResourceWithDefaults

func NewWebhookInputResourceWithDefaults() *WebhookInputResource

NewWebhookInputResourceWithDefaults instantiates a new WebhookInputResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookInputResource) GetAttributes

GetAttributes returns the Attributes field value

func (*WebhookInputResource) GetAttributesOk

func (o *WebhookInputResource) GetAttributesOk() (*WebhookInputResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (WebhookInputResource) MarshalJSON

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

func (*WebhookInputResource) SetAttributes

SetAttributes sets field value

func (WebhookInputResource) ToMap

func (o WebhookInputResource) ToMap() (map[string]interface{}, error)

func (*WebhookInputResource) UnmarshalJSON

func (o *WebhookInputResource) UnmarshalJSON(data []byte) (err error)

type WebhookInputResourceAttributes

type WebhookInputResourceAttributes struct {
	// The URL that this webhook should post events to. This must be a valid HTTP or HTTPS URL that does not exceed 300 characters in length.
	Url string `json:"url"`
	// An optional description for this webhook, up to 64 characters in length.
	Description NullableString `json:"description,omitempty"`
}

WebhookInputResourceAttributes struct for WebhookInputResourceAttributes

func NewWebhookInputResourceAttributes

func NewWebhookInputResourceAttributes(url string) *WebhookInputResourceAttributes

NewWebhookInputResourceAttributes instantiates a new WebhookInputResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookInputResourceAttributesWithDefaults

func NewWebhookInputResourceAttributesWithDefaults() *WebhookInputResourceAttributes

NewWebhookInputResourceAttributesWithDefaults instantiates a new WebhookInputResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookInputResourceAttributes) GetDescription

func (o *WebhookInputResourceAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WebhookInputResourceAttributes) GetDescriptionOk

func (o *WebhookInputResourceAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WebhookInputResourceAttributes) GetUrl

GetUrl returns the Url field value

func (*WebhookInputResourceAttributes) GetUrlOk

func (o *WebhookInputResourceAttributes) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*WebhookInputResourceAttributes) HasDescription

func (o *WebhookInputResourceAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (WebhookInputResourceAttributes) MarshalJSON

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

func (*WebhookInputResourceAttributes) SetDescription

func (o *WebhookInputResourceAttributes) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*WebhookInputResourceAttributes) SetDescriptionNil

func (o *WebhookInputResourceAttributes) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*WebhookInputResourceAttributes) SetUrl

SetUrl sets field value

func (WebhookInputResourceAttributes) ToMap

func (o WebhookInputResourceAttributes) ToMap() (map[string]interface{}, error)

func (*WebhookInputResourceAttributes) UnmarshalJSON

func (o *WebhookInputResourceAttributes) UnmarshalJSON(data []byte) (err error)

func (*WebhookInputResourceAttributes) UnsetDescription

func (o *WebhookInputResourceAttributes) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type WebhookResource

type WebhookResource struct {
	// The type of this resource: `webhooks`
	Type string `json:"type"`
	// The unique identifier for this webhook.
	Id            string                       `json:"id"`
	Attributes    WebhookResourceAttributes    `json:"attributes"`
	Relationships WebhookResourceRelationships `json:"relationships"`
	Links         *AccountResourceLinks        `json:"links,omitempty"`
}

WebhookResource Provides information about a webhook.

func NewWebhookResource

func NewWebhookResource(type_ string, id string, attributes WebhookResourceAttributes, relationships WebhookResourceRelationships) *WebhookResource

NewWebhookResource instantiates a new WebhookResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookResourceWithDefaults

func NewWebhookResourceWithDefaults() *WebhookResource

NewWebhookResourceWithDefaults instantiates a new WebhookResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookResource) GetAttributes

func (o *WebhookResource) GetAttributes() WebhookResourceAttributes

GetAttributes returns the Attributes field value

func (*WebhookResource) GetAttributesOk

func (o *WebhookResource) GetAttributesOk() (*WebhookResourceAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*WebhookResource) GetId

func (o *WebhookResource) GetId() string

GetId returns the Id field value

func (*WebhookResource) GetIdOk

func (o *WebhookResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *WebhookResource) GetLinks() AccountResourceLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*WebhookResource) GetLinksOk

func (o *WebhookResource) GetLinksOk() (*AccountResourceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookResource) GetRelationships

func (o *WebhookResource) GetRelationships() WebhookResourceRelationships

GetRelationships returns the Relationships field value

func (*WebhookResource) GetRelationshipsOk

func (o *WebhookResource) GetRelationshipsOk() (*WebhookResourceRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.

func (*WebhookResource) GetType

func (o *WebhookResource) GetType() string

GetType returns the Type field value

func (*WebhookResource) GetTypeOk

func (o *WebhookResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *WebhookResource) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (WebhookResource) MarshalJSON

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

func (*WebhookResource) SetAttributes

func (o *WebhookResource) SetAttributes(v WebhookResourceAttributes)

SetAttributes sets field value

func (*WebhookResource) SetId

func (o *WebhookResource) SetId(v string)

SetId sets field value

func (o *WebhookResource) SetLinks(v AccountResourceLinks)

SetLinks gets a reference to the given AccountResourceLinks and assigns it to the Links field.

func (*WebhookResource) SetRelationships

func (o *WebhookResource) SetRelationships(v WebhookResourceRelationships)

SetRelationships sets field value

func (*WebhookResource) SetType

func (o *WebhookResource) SetType(v string)

SetType sets field value

func (WebhookResource) ToMap

func (o WebhookResource) ToMap() (map[string]interface{}, error)

func (*WebhookResource) UnmarshalJSON

func (o *WebhookResource) UnmarshalJSON(data []byte) (err error)

type WebhookResourceAttributes

type WebhookResourceAttributes struct {
	// The URL that this webhook is configured to `POST` events to.
	Url string `json:"url"`
	// An optional description that was provided at the time the webhook was created.
	Description NullableString `json:"description"`
	// A shared secret key used to sign all webhook events sent to the configured webhook URL. This field is returned only once, upon the initial creation of the webhook. If lost, create a new webhook and delete this webhook.  The webhook URL receives a request with a `X-Up-Authenticity-Signature` header, which is the SHA-256 HMAC of the entire raw request body signed using this `secretKey`. It is advised to compute and check this signature to verify the authenticity of requests sent to the webhook URL. See [Handling webhook events](#callback_post_webhookURL) for full details.
	SecretKey *string `json:"secretKey,omitempty"`
	// The date-time at which this webhook was created.
	CreatedAt time.Time `json:"createdAt"`
}

WebhookResourceAttributes struct for WebhookResourceAttributes

func NewWebhookResourceAttributes

func NewWebhookResourceAttributes(url string, description NullableString, createdAt time.Time) *WebhookResourceAttributes

NewWebhookResourceAttributes instantiates a new WebhookResourceAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookResourceAttributesWithDefaults

func NewWebhookResourceAttributesWithDefaults() *WebhookResourceAttributes

NewWebhookResourceAttributesWithDefaults instantiates a new WebhookResourceAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookResourceAttributes) GetCreatedAt

func (o *WebhookResourceAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*WebhookResourceAttributes) GetCreatedAtOk

func (o *WebhookResourceAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WebhookResourceAttributes) GetDescription

func (o *WebhookResourceAttributes) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*WebhookResourceAttributes) GetDescriptionOk

func (o *WebhookResourceAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WebhookResourceAttributes) GetSecretKey

func (o *WebhookResourceAttributes) GetSecretKey() string

GetSecretKey returns the SecretKey field value if set, zero value otherwise.

func (*WebhookResourceAttributes) GetSecretKeyOk

func (o *WebhookResourceAttributes) GetSecretKeyOk() (*string, bool)

GetSecretKeyOk returns a tuple with the SecretKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookResourceAttributes) GetUrl

func (o *WebhookResourceAttributes) GetUrl() string

GetUrl returns the Url field value

func (*WebhookResourceAttributes) GetUrlOk

func (o *WebhookResourceAttributes) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*WebhookResourceAttributes) HasSecretKey

func (o *WebhookResourceAttributes) HasSecretKey() bool

HasSecretKey returns a boolean if a field has been set.

func (WebhookResourceAttributes) MarshalJSON

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

func (*WebhookResourceAttributes) SetCreatedAt

func (o *WebhookResourceAttributes) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WebhookResourceAttributes) SetDescription

func (o *WebhookResourceAttributes) SetDescription(v string)

SetDescription sets field value

func (*WebhookResourceAttributes) SetSecretKey

func (o *WebhookResourceAttributes) SetSecretKey(v string)

SetSecretKey gets a reference to the given string and assigns it to the SecretKey field.

func (*WebhookResourceAttributes) SetUrl

func (o *WebhookResourceAttributes) SetUrl(v string)

SetUrl sets field value

func (WebhookResourceAttributes) ToMap

func (o WebhookResourceAttributes) ToMap() (map[string]interface{}, error)

func (*WebhookResourceAttributes) UnmarshalJSON

func (o *WebhookResourceAttributes) UnmarshalJSON(data []byte) (err error)

type WebhookResourceRelationships

type WebhookResourceRelationships struct {
	Logs AccountResourceRelationshipsTransactions `json:"logs"`
}

WebhookResourceRelationships struct for WebhookResourceRelationships

func NewWebhookResourceRelationships

func NewWebhookResourceRelationships(logs AccountResourceRelationshipsTransactions) *WebhookResourceRelationships

NewWebhookResourceRelationships instantiates a new WebhookResourceRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookResourceRelationshipsWithDefaults

func NewWebhookResourceRelationshipsWithDefaults() *WebhookResourceRelationships

NewWebhookResourceRelationshipsWithDefaults instantiates a new WebhookResourceRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookResourceRelationships) GetLogs

GetLogs returns the Logs field value

func (*WebhookResourceRelationships) GetLogsOk

GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set.

func (WebhookResourceRelationships) MarshalJSON

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

func (*WebhookResourceRelationships) SetLogs

SetLogs sets field value

func (WebhookResourceRelationships) ToMap

func (o WebhookResourceRelationships) ToMap() (map[string]interface{}, error)

func (*WebhookResourceRelationships) UnmarshalJSON

func (o *WebhookResourceRelationships) UnmarshalJSON(data []byte) (err error)

type WebhooksAPIService

type WebhooksAPIService service

WebhooksAPIService WebhooksAPI service

func (*WebhooksAPIService) WebhooksGet

WebhooksGet List webhooks

Retrieve a list of configured webhooks. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present. Results are ordered oldest first to newest last.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiWebhooksGetRequest

func (*WebhooksAPIService) WebhooksGetExecute

Execute executes the request

@return ListWebhooksResponse

func (*WebhooksAPIService) WebhooksIdDelete

WebhooksIdDelete Delete webhook

Delete a specific webhook by providing its unique identifier. Once deleted, webhook events will no longer be sent to the configured URL.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the webhook.
@return ApiWebhooksIdDeleteRequest

func (*WebhooksAPIService) WebhooksIdDeleteExecute

func (a *WebhooksAPIService) WebhooksIdDeleteExecute(r ApiWebhooksIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*WebhooksAPIService) WebhooksIdGet

WebhooksIdGet Retrieve webhook

Retrieve a specific webhook by providing its unique identifier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The unique identifier for the webhook.
@return ApiWebhooksIdGetRequest

func (*WebhooksAPIService) WebhooksIdGetExecute

Execute executes the request

@return GetWebhookResponse

func (*WebhooksAPIService) WebhooksPost

WebhooksPost Create webhook

Create a new webhook with a given URL. The URL will receive webhook events as JSON-encoded `POST` requests. The URL must respond with a HTTP `200` status on success.

There is currently a limit of 10 webhooks at any given time. Once this limit is reached, existing webhooks will need to be deleted before new webhooks can be created.

Event delivery is retried with exponential backoff if the URL is unreachable or it does not respond with a `200` status. The response includes a `secretKey` attribute, which is used to sign requests sent to the webhook URL. It will not be returned from any other endpoints within the Up API. If the `secretKey` is lost, simply create a new webhook with the same URL, capture its `secretKey` and then delete the original webhook. See [Handling webhook events](#callback_post_webhookURL) for details on how to process webhook events.

It is probably a good idea to test the webhook by [sending it a `PING` event](#post_webhooks_webhookId_ping) after creating it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiWebhooksPostRequest

func (*WebhooksAPIService) WebhooksPostExecute

Execute executes the request

@return CreateWebhookResponse

func (*WebhooksAPIService) WebhooksWebhookIdLogsGet

func (a *WebhooksAPIService) WebhooksWebhookIdLogsGet(ctx context.Context, webhookId string) ApiWebhooksWebhookIdLogsGetRequest

WebhooksWebhookIdLogsGet List webhook logs

Retrieve a list of delivery logs for a webhook by providing its unique identifier. This is useful for analysis and debugging purposes. The returned list is [paginated](#pagination) and can be scrolled by following the `next` and `prev` links where present. Results are ordered newest first to oldest last. Logs may be automatically purged after a period of time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param webhookId The unique identifier for the webhook.
@return ApiWebhooksWebhookIdLogsGetRequest

func (*WebhooksAPIService) WebhooksWebhookIdLogsGetExecute

Execute executes the request

@return ListWebhookDeliveryLogsResponse

func (*WebhooksAPIService) WebhooksWebhookIdPingPost

func (a *WebhooksAPIService) WebhooksWebhookIdPingPost(ctx context.Context, webhookId string) ApiWebhooksWebhookIdPingPostRequest

WebhooksWebhookIdPingPost Ping webhook

Send a `PING` event to a webhook by providing its unique identifier. This is useful for testing and debugging purposes. The event is delivered asynchronously and its data is returned in the response to this request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param webhookId The unique identifier for the webhook.
@return ApiWebhooksWebhookIdPingPostRequest

func (*WebhooksAPIService) WebhooksWebhookIdPingPostExecute

Execute executes the request

@return WebhookEventCallback

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳