Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiBankCurrencyGetRequest
- type ApiPersonalClientInfoGetRequest
- type ApiPersonalStatementAccountFromToGetRequest
- type ApiPersonalWebhookPostRequest
- type Array
- type BasicAuth
- type Configuration
- type CurrencyInfoInner
- func (o *CurrencyInfoInner) GetCurrencyCodeA() float32
- func (o *CurrencyInfoInner) GetCurrencyCodeAOk() (*float32, bool)
- func (o *CurrencyInfoInner) GetCurrencyCodeB() float32
- func (o *CurrencyInfoInner) GetCurrencyCodeBOk() (*float32, bool)
- func (o *CurrencyInfoInner) GetDate() float32
- func (o *CurrencyInfoInner) GetDateOk() (*float32, bool)
- func (o *CurrencyInfoInner) GetRateBuy() float32
- func (o *CurrencyInfoInner) GetRateBuyOk() (*float32, bool)
- func (o *CurrencyInfoInner) GetRateCross() float32
- func (o *CurrencyInfoInner) GetRateCrossOk() (*float32, bool)
- func (o *CurrencyInfoInner) GetRateSell() float32
- func (o *CurrencyInfoInner) GetRateSellOk() (*float32, bool)
- func (o *CurrencyInfoInner) HasCurrencyCodeA() bool
- func (o *CurrencyInfoInner) HasCurrencyCodeB() bool
- func (o *CurrencyInfoInner) HasDate() bool
- func (o *CurrencyInfoInner) HasRateBuy() bool
- func (o *CurrencyInfoInner) HasRateCross() bool
- func (o *CurrencyInfoInner) HasRateSell() bool
- func (o CurrencyInfoInner) MarshalJSON() ([]byte, error)
- func (o *CurrencyInfoInner) SetCurrencyCodeA(v float32)
- func (o *CurrencyInfoInner) SetCurrencyCodeB(v float32)
- func (o *CurrencyInfoInner) SetDate(v float32)
- func (o *CurrencyInfoInner) SetRateBuy(v float32)
- func (o *CurrencyInfoInner) SetRateCross(v float32)
- func (o *CurrencyInfoInner) SetRateSell(v float32)
- func (o CurrencyInfoInner) ToMap() (map[string]interface{}, error)
- type DefaultApiService
- func (a *DefaultApiService) BankCurrencyGet(ctx context.Context) ApiBankCurrencyGetRequest
- func (a *DefaultApiService) BankCurrencyGetExecute(r ApiBankCurrencyGetRequest) ([]CurrencyInfoInner, *http.Response, error)
- func (a *DefaultApiService) PersonalClientInfoGet(ctx context.Context) ApiPersonalClientInfoGetRequest
- func (a *DefaultApiService) PersonalClientInfoGetExecute(r ApiPersonalClientInfoGetRequest) (*UserInfo, *http.Response, error)
- func (a *DefaultApiService) PersonalStatementAccountFromToGet(ctx context.Context, account string, from string, to string) ApiPersonalStatementAccountFromToGetRequest
- func (a *DefaultApiService) PersonalStatementAccountFromToGetExecute(r ApiPersonalStatementAccountFromToGetRequest) ([]StatementItemsInner, *http.Response, error)
- func (a *DefaultApiService) PersonalWebhookPost(ctx context.Context) ApiPersonalWebhookPostRequest
- func (a *DefaultApiService) PersonalWebhookPostExecute(r ApiPersonalWebhookPostRequest) (*http.Response, error)
- type Error
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- type NullableCurrencyInfoInner
- func (v NullableCurrencyInfoInner) Get() *CurrencyInfoInner
- func (v NullableCurrencyInfoInner) IsSet() bool
- func (v NullableCurrencyInfoInner) MarshalJSON() ([]byte, error)
- func (v *NullableCurrencyInfoInner) Set(val *CurrencyInfoInner)
- func (v *NullableCurrencyInfoInner) UnmarshalJSON(src []byte) error
- func (v *NullableCurrencyInfoInner) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableSetWebHook
- type NullableStatementItemsInner
- func (v NullableStatementItemsInner) Get() *StatementItemsInner
- func (v NullableStatementItemsInner) IsSet() bool
- func (v NullableStatementItemsInner) MarshalJSON() ([]byte, error)
- func (v *NullableStatementItemsInner) Set(val *StatementItemsInner)
- func (v *NullableStatementItemsInner) UnmarshalJSON(src []byte) error
- func (v *NullableStatementItemsInner) Unset()
- type NullableString
- type NullableTime
- type NullableUserInfo
- type NullableUserInfoAccountsInner
- func (v NullableUserInfoAccountsInner) Get() *UserInfoAccountsInner
- func (v NullableUserInfoAccountsInner) IsSet() bool
- func (v NullableUserInfoAccountsInner) MarshalJSON() ([]byte, error)
- func (v *NullableUserInfoAccountsInner) Set(val *UserInfoAccountsInner)
- func (v *NullableUserInfoAccountsInner) UnmarshalJSON(src []byte) error
- func (v *NullableUserInfoAccountsInner) Unset()
- type NullableUserInfoJarsInner
- func (v NullableUserInfoJarsInner) Get() *UserInfoJarsInner
- func (v NullableUserInfoJarsInner) IsSet() bool
- func (v NullableUserInfoJarsInner) MarshalJSON() ([]byte, error)
- func (v *NullableUserInfoJarsInner) Set(val *UserInfoJarsInner)
- func (v *NullableUserInfoJarsInner) UnmarshalJSON(src []byte) error
- func (v *NullableUserInfoJarsInner) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SetWebHook
- type StatementItemsInner
- func (o *StatementItemsInner) GetAmount() float32
- func (o *StatementItemsInner) GetAmountOk() (*float32, bool)
- func (o *StatementItemsInner) GetBalance() float32
- func (o *StatementItemsInner) GetBalanceOk() (*float32, bool)
- func (o *StatementItemsInner) GetCashbackAmount() float32
- func (o *StatementItemsInner) GetCashbackAmountOk() (*float32, bool)
- func (o *StatementItemsInner) GetComment() string
- func (o *StatementItemsInner) GetCommentOk() (*string, bool)
- func (o *StatementItemsInner) GetCommissionRate() float32
- func (o *StatementItemsInner) GetCommissionRateOk() (*float32, bool)
- func (o *StatementItemsInner) GetCounterEdrpou() string
- func (o *StatementItemsInner) GetCounterEdrpouOk() (*string, bool)
- func (o *StatementItemsInner) GetCounterIban() string
- func (o *StatementItemsInner) GetCounterIbanOk() (*string, bool)
- func (o *StatementItemsInner) GetCounterName() string
- func (o *StatementItemsInner) GetCounterNameOk() (*string, bool)
- func (o *StatementItemsInner) GetCurrencyCode() float32
- func (o *StatementItemsInner) GetCurrencyCodeOk() (*float32, bool)
- func (o *StatementItemsInner) GetDescription() string
- func (o *StatementItemsInner) GetDescriptionOk() (*string, bool)
- func (o *StatementItemsInner) GetHold() bool
- func (o *StatementItemsInner) GetHoldOk() (*bool, bool)
- func (o *StatementItemsInner) GetId() string
- func (o *StatementItemsInner) GetIdOk() (*string, bool)
- func (o *StatementItemsInner) GetInvoiceId() string
- func (o *StatementItemsInner) GetInvoiceIdOk() (*string, bool)
- func (o *StatementItemsInner) GetMcc() float32
- func (o *StatementItemsInner) GetMccOk() (*float32, bool)
- func (o *StatementItemsInner) GetOperationAmount() float32
- func (o *StatementItemsInner) GetOperationAmountOk() (*float32, bool)
- func (o *StatementItemsInner) GetOriginalMcc() float32
- func (o *StatementItemsInner) GetOriginalMccOk() (*float32, bool)
- func (o *StatementItemsInner) GetReceiptId() string
- func (o *StatementItemsInner) GetReceiptIdOk() (*string, bool)
- func (o *StatementItemsInner) GetTime() float32
- func (o *StatementItemsInner) GetTimeOk() (*float32, bool)
- func (o *StatementItemsInner) HasAmount() bool
- func (o *StatementItemsInner) HasBalance() bool
- func (o *StatementItemsInner) HasCashbackAmount() bool
- func (o *StatementItemsInner) HasComment() bool
- func (o *StatementItemsInner) HasCommissionRate() bool
- func (o *StatementItemsInner) HasCounterEdrpou() bool
- func (o *StatementItemsInner) HasCounterIban() bool
- func (o *StatementItemsInner) HasCounterName() bool
- func (o *StatementItemsInner) HasCurrencyCode() bool
- func (o *StatementItemsInner) HasDescription() bool
- func (o *StatementItemsInner) HasHold() bool
- func (o *StatementItemsInner) HasId() bool
- func (o *StatementItemsInner) HasInvoiceId() bool
- func (o *StatementItemsInner) HasMcc() bool
- func (o *StatementItemsInner) HasOperationAmount() bool
- func (o *StatementItemsInner) HasOriginalMcc() bool
- func (o *StatementItemsInner) HasReceiptId() bool
- func (o *StatementItemsInner) HasTime() bool
- func (o StatementItemsInner) MarshalJSON() ([]byte, error)
- func (o *StatementItemsInner) SetAmount(v float32)
- func (o *StatementItemsInner) SetBalance(v float32)
- func (o *StatementItemsInner) SetCashbackAmount(v float32)
- func (o *StatementItemsInner) SetComment(v string)
- func (o *StatementItemsInner) SetCommissionRate(v float32)
- func (o *StatementItemsInner) SetCounterEdrpou(v string)
- func (o *StatementItemsInner) SetCounterIban(v string)
- func (o *StatementItemsInner) SetCounterName(v string)
- func (o *StatementItemsInner) SetCurrencyCode(v float32)
- func (o *StatementItemsInner) SetDescription(v string)
- func (o *StatementItemsInner) SetHold(v bool)
- func (o *StatementItemsInner) SetId(v string)
- func (o *StatementItemsInner) SetInvoiceId(v string)
- func (o *StatementItemsInner) SetMcc(v float32)
- func (o *StatementItemsInner) SetOperationAmount(v float32)
- func (o *StatementItemsInner) SetOriginalMcc(v float32)
- func (o *StatementItemsInner) SetReceiptId(v string)
- func (o *StatementItemsInner) SetTime(v float32)
- func (o StatementItemsInner) ToMap() (map[string]interface{}, error)
- type UserInfo
- func (o *UserInfo) GetAccounts() []UserInfoAccountsInner
- func (o *UserInfo) GetAccountsOk() ([]UserInfoAccountsInner, bool)
- func (o *UserInfo) GetClientId() string
- func (o *UserInfo) GetClientIdOk() (*string, bool)
- func (o *UserInfo) GetJars() []UserInfoJarsInner
- func (o *UserInfo) GetJarsOk() ([]UserInfoJarsInner, bool)
- func (o *UserInfo) GetName() string
- func (o *UserInfo) GetNameOk() (*string, bool)
- func (o *UserInfo) GetPermissions() string
- func (o *UserInfo) GetPermissionsOk() (*string, bool)
- func (o *UserInfo) GetWebHookUrl() string
- func (o *UserInfo) GetWebHookUrlOk() (*string, bool)
- func (o *UserInfo) HasAccounts() bool
- func (o *UserInfo) HasClientId() bool
- func (o *UserInfo) HasJars() bool
- func (o *UserInfo) HasName() bool
- func (o *UserInfo) HasPermissions() bool
- func (o *UserInfo) HasWebHookUrl() bool
- func (o UserInfo) MarshalJSON() ([]byte, error)
- func (o *UserInfo) SetAccounts(v []UserInfoAccountsInner)
- func (o *UserInfo) SetClientId(v string)
- func (o *UserInfo) SetJars(v []UserInfoJarsInner)
- func (o *UserInfo) SetName(v string)
- func (o *UserInfo) SetPermissions(v string)
- func (o *UserInfo) SetWebHookUrl(v string)
- func (o UserInfo) ToMap() (map[string]interface{}, error)
- type UserInfoAccountsInner
- func (o *UserInfoAccountsInner) GetBalance() float32
- func (o *UserInfoAccountsInner) GetBalanceOk() (*float32, bool)
- func (o *UserInfoAccountsInner) GetCashbackType() string
- func (o *UserInfoAccountsInner) GetCashbackTypeOk() (*string, bool)
- func (o *UserInfoAccountsInner) GetCreditLimit() float32
- func (o *UserInfoAccountsInner) GetCreditLimitOk() (*float32, bool)
- func (o *UserInfoAccountsInner) GetCurrencyCode() float32
- func (o *UserInfoAccountsInner) GetCurrencyCodeOk() (*float32, bool)
- func (o *UserInfoAccountsInner) GetIban() string
- func (o *UserInfoAccountsInner) GetIbanOk() (*string, bool)
- func (o *UserInfoAccountsInner) GetId() string
- func (o *UserInfoAccountsInner) GetIdOk() (*string, bool)
- func (o *UserInfoAccountsInner) GetMaskedPan() Array
- func (o *UserInfoAccountsInner) GetMaskedPanOk() (*Array, bool)
- func (o *UserInfoAccountsInner) GetSendId() string
- func (o *UserInfoAccountsInner) GetSendIdOk() (*string, bool)
- func (o *UserInfoAccountsInner) GetType() string
- func (o *UserInfoAccountsInner) GetTypeOk() (*string, bool)
- func (o *UserInfoAccountsInner) HasBalance() bool
- func (o *UserInfoAccountsInner) HasCashbackType() bool
- func (o *UserInfoAccountsInner) HasCreditLimit() bool
- func (o *UserInfoAccountsInner) HasCurrencyCode() bool
- func (o *UserInfoAccountsInner) HasIban() bool
- func (o *UserInfoAccountsInner) HasId() bool
- func (o *UserInfoAccountsInner) HasMaskedPan() bool
- func (o *UserInfoAccountsInner) HasSendId() bool
- func (o *UserInfoAccountsInner) HasType() bool
- func (o UserInfoAccountsInner) MarshalJSON() ([]byte, error)
- func (o *UserInfoAccountsInner) SetBalance(v float32)
- func (o *UserInfoAccountsInner) SetCashbackType(v string)
- func (o *UserInfoAccountsInner) SetCreditLimit(v float32)
- func (o *UserInfoAccountsInner) SetCurrencyCode(v float32)
- func (o *UserInfoAccountsInner) SetIban(v string)
- func (o *UserInfoAccountsInner) SetId(v string)
- func (o *UserInfoAccountsInner) SetMaskedPan(v Array)
- func (o *UserInfoAccountsInner) SetSendId(v string)
- func (o *UserInfoAccountsInner) SetType(v string)
- func (o UserInfoAccountsInner) ToMap() (map[string]interface{}, error)
- type UserInfoJarsInner
- func (o *UserInfoJarsInner) GetBalance() float32
- func (o *UserInfoJarsInner) GetBalanceOk() (*float32, bool)
- func (o *UserInfoJarsInner) GetCurrencyCode() float32
- func (o *UserInfoJarsInner) GetCurrencyCodeOk() (*float32, bool)
- func (o *UserInfoJarsInner) GetDescription() string
- func (o *UserInfoJarsInner) GetDescriptionOk() (*string, bool)
- func (o *UserInfoJarsInner) GetGoal() float32
- func (o *UserInfoJarsInner) GetGoalOk() (*float32, bool)
- func (o *UserInfoJarsInner) GetId() string
- func (o *UserInfoJarsInner) GetIdOk() (*string, bool)
- func (o *UserInfoJarsInner) GetSendId() string
- func (o *UserInfoJarsInner) GetSendIdOk() (*string, bool)
- func (o *UserInfoJarsInner) GetTitle() string
- func (o *UserInfoJarsInner) GetTitleOk() (*string, bool)
- func (o *UserInfoJarsInner) HasBalance() bool
- func (o *UserInfoJarsInner) HasCurrencyCode() bool
- func (o *UserInfoJarsInner) HasDescription() bool
- func (o *UserInfoJarsInner) HasGoal() bool
- func (o *UserInfoJarsInner) HasId() bool
- func (o *UserInfoJarsInner) HasSendId() bool
- func (o *UserInfoJarsInner) HasTitle() bool
- func (o UserInfoJarsInner) MarshalJSON() ([]byte, error)
- func (o *UserInfoJarsInner) SetBalance(v float32)
- func (o *UserInfoJarsInner) SetCurrencyCode(v float32)
- func (o *UserInfoJarsInner) SetDescription(v string)
- func (o *UserInfoJarsInner) SetGoal(v float32)
- func (o *UserInfoJarsInner) SetId(v string)
- func (o *UserInfoJarsInner) SetSendId(v string)
- func (o *UserInfoJarsInner) SetTitle(v string)
- func (o UserInfoJarsInner) ToMap() (map[string]interface{}, error)
- type WebHookResponse
- type WebHookResponseData
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the Monobank open API API vv2303 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiBankCurrencyGetRequest ¶
type ApiBankCurrencyGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiBankCurrencyGetRequest) Execute ¶
func (r ApiBankCurrencyGetRequest) Execute() ([]CurrencyInfoInner, *http.Response, error)
type ApiPersonalClientInfoGetRequest ¶
type ApiPersonalClientInfoGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPersonalClientInfoGetRequest) Execute ¶
func (r ApiPersonalClientInfoGetRequest) Execute() (*UserInfo, *http.Response, error)
func (ApiPersonalClientInfoGetRequest) XToken ¶
func (r ApiPersonalClientInfoGetRequest) XToken(xToken string) ApiPersonalClientInfoGetRequest
Token для особистого доступу до API
type ApiPersonalStatementAccountFromToGetRequest ¶
type ApiPersonalStatementAccountFromToGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPersonalStatementAccountFromToGetRequest) Execute ¶
func (r ApiPersonalStatementAccountFromToGetRequest) Execute() ([]StatementItemsInner, *http.Response, error)
func (ApiPersonalStatementAccountFromToGetRequest) XToken ¶
func (r ApiPersonalStatementAccountFromToGetRequest) XToken(xToken string) ApiPersonalStatementAccountFromToGetRequest
Token для особистого доступу до API
type ApiPersonalWebhookPostRequest ¶
type ApiPersonalWebhookPostRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPersonalWebhookPostRequest) Execute ¶
func (r ApiPersonalWebhookPostRequest) Execute() (*http.Response, error)
func (ApiPersonalWebhookPostRequest) SetWebHook ¶
func (r ApiPersonalWebhookPostRequest) SetWebHook(setWebHook SetWebHook) ApiPersonalWebhookPostRequest
func (ApiPersonalWebhookPostRequest) XToken ¶
func (r ApiPersonalWebhookPostRequest) XToken(xToken string) ApiPersonalWebhookPostRequest
Token для особистого доступу до API
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 Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CurrencyInfoInner ¶
type CurrencyInfoInner struct { // Код валюти рахунку відповідно ISO 4217 CurrencyCodeA *float32 `json:"currencyCodeA,omitempty"` // Код валюти рахунку відповідно ISO 4217 CurrencyCodeB *float32 `json:"currencyCodeB,omitempty"` // Час курсу в секундах в форматі Unix time Date *float32 `json:"date,omitempty"` RateSell *float32 `json:"rateSell,omitempty"` RateBuy *float32 `json:"rateBuy,omitempty"` RateCross *float32 `json:"rateCross,omitempty"` }
CurrencyInfoInner struct for CurrencyInfoInner
func NewCurrencyInfoInner ¶
func NewCurrencyInfoInner() *CurrencyInfoInner
NewCurrencyInfoInner instantiates a new CurrencyInfoInner 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 NewCurrencyInfoInnerWithDefaults ¶
func NewCurrencyInfoInnerWithDefaults() *CurrencyInfoInner
NewCurrencyInfoInnerWithDefaults instantiates a new CurrencyInfoInner 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 (*CurrencyInfoInner) GetCurrencyCodeA ¶
func (o *CurrencyInfoInner) GetCurrencyCodeA() float32
GetCurrencyCodeA returns the CurrencyCodeA field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetCurrencyCodeAOk ¶
func (o *CurrencyInfoInner) GetCurrencyCodeAOk() (*float32, bool)
GetCurrencyCodeAOk returns a tuple with the CurrencyCodeA field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) GetCurrencyCodeB ¶
func (o *CurrencyInfoInner) GetCurrencyCodeB() float32
GetCurrencyCodeB returns the CurrencyCodeB field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetCurrencyCodeBOk ¶
func (o *CurrencyInfoInner) GetCurrencyCodeBOk() (*float32, bool)
GetCurrencyCodeBOk returns a tuple with the CurrencyCodeB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) GetDate ¶
func (o *CurrencyInfoInner) GetDate() float32
GetDate returns the Date field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetDateOk ¶
func (o *CurrencyInfoInner) GetDateOk() (*float32, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) GetRateBuy ¶
func (o *CurrencyInfoInner) GetRateBuy() float32
GetRateBuy returns the RateBuy field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetRateBuyOk ¶
func (o *CurrencyInfoInner) GetRateBuyOk() (*float32, bool)
GetRateBuyOk returns a tuple with the RateBuy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) GetRateCross ¶
func (o *CurrencyInfoInner) GetRateCross() float32
GetRateCross returns the RateCross field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetRateCrossOk ¶
func (o *CurrencyInfoInner) GetRateCrossOk() (*float32, bool)
GetRateCrossOk returns a tuple with the RateCross field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) GetRateSell ¶
func (o *CurrencyInfoInner) GetRateSell() float32
GetRateSell returns the RateSell field value if set, zero value otherwise.
func (*CurrencyInfoInner) GetRateSellOk ¶
func (o *CurrencyInfoInner) GetRateSellOk() (*float32, bool)
GetRateSellOk returns a tuple with the RateSell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CurrencyInfoInner) HasCurrencyCodeA ¶
func (o *CurrencyInfoInner) HasCurrencyCodeA() bool
HasCurrencyCodeA returns a boolean if a field has been set.
func (*CurrencyInfoInner) HasCurrencyCodeB ¶
func (o *CurrencyInfoInner) HasCurrencyCodeB() bool
HasCurrencyCodeB returns a boolean if a field has been set.
func (*CurrencyInfoInner) HasDate ¶
func (o *CurrencyInfoInner) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*CurrencyInfoInner) HasRateBuy ¶
func (o *CurrencyInfoInner) HasRateBuy() bool
HasRateBuy returns a boolean if a field has been set.
func (*CurrencyInfoInner) HasRateCross ¶
func (o *CurrencyInfoInner) HasRateCross() bool
HasRateCross returns a boolean if a field has been set.
func (*CurrencyInfoInner) HasRateSell ¶
func (o *CurrencyInfoInner) HasRateSell() bool
HasRateSell returns a boolean if a field has been set.
func (CurrencyInfoInner) MarshalJSON ¶
func (o CurrencyInfoInner) MarshalJSON() ([]byte, error)
func (*CurrencyInfoInner) SetCurrencyCodeA ¶
func (o *CurrencyInfoInner) SetCurrencyCodeA(v float32)
SetCurrencyCodeA gets a reference to the given float32 and assigns it to the CurrencyCodeA field.
func (*CurrencyInfoInner) SetCurrencyCodeB ¶
func (o *CurrencyInfoInner) SetCurrencyCodeB(v float32)
SetCurrencyCodeB gets a reference to the given float32 and assigns it to the CurrencyCodeB field.
func (*CurrencyInfoInner) SetDate ¶
func (o *CurrencyInfoInner) SetDate(v float32)
SetDate gets a reference to the given float32 and assigns it to the Date field.
func (*CurrencyInfoInner) SetRateBuy ¶
func (o *CurrencyInfoInner) SetRateBuy(v float32)
SetRateBuy gets a reference to the given float32 and assigns it to the RateBuy field.
func (*CurrencyInfoInner) SetRateCross ¶
func (o *CurrencyInfoInner) SetRateCross(v float32)
SetRateCross gets a reference to the given float32 and assigns it to the RateCross field.
func (*CurrencyInfoInner) SetRateSell ¶
func (o *CurrencyInfoInner) SetRateSell(v float32)
SetRateSell gets a reference to the given float32 and assigns it to the RateSell field.
func (CurrencyInfoInner) ToMap ¶
func (o CurrencyInfoInner) ToMap() (map[string]interface{}, error)
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) BankCurrencyGet ¶
func (a *DefaultApiService) BankCurrencyGet(ctx context.Context) ApiBankCurrencyGetRequest
BankCurrencyGet Отримання курсів валют
Отримати базовий перелік курсів валют monobank. Інформація кешується та оновлюється не частіше 1 разу на 5 хвилин.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBankCurrencyGetRequest
func (*DefaultApiService) BankCurrencyGetExecute ¶
func (a *DefaultApiService) BankCurrencyGetExecute(r ApiBankCurrencyGetRequest) ([]CurrencyInfoInner, *http.Response, error)
Execute executes the request
@return []CurrencyInfoInner
func (*DefaultApiService) PersonalClientInfoGet ¶
func (a *DefaultApiService) PersonalClientInfoGet(ctx context.Context) ApiPersonalClientInfoGetRequest
PersonalClientInfoGet Інформація про клієнта
Отримання інформації про клієнта та переліку його рахунків і банок. Обмеження на використання функції не частіше ніж 1 раз у 60 секунд.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPersonalClientInfoGetRequest
func (*DefaultApiService) PersonalClientInfoGetExecute ¶
func (a *DefaultApiService) PersonalClientInfoGetExecute(r ApiPersonalClientInfoGetRequest) (*UserInfo, *http.Response, error)
Execute executes the request
@return UserInfo
func (*DefaultApiService) PersonalStatementAccountFromToGet ¶
func (a *DefaultApiService) PersonalStatementAccountFromToGet(ctx context.Context, account string, from string, to string) ApiPersonalStatementAccountFromToGetRequest
PersonalStatementAccountFromToGet Виписка
Отримання виписки за час від {from} до {to} часу в секундах в форматі Unix time. Максимальний час, за який можливо отримати виписку — 31 доба + 1 година (2682000 секунд).
Обмеження на використання функції — не частіше ніж 1 раз на 60 секунд.
Повертає 500 транзакцій з кінця, тобто від часу to до from. Якщо кількість транзакцій = 500, потрібно зробити ще один запит, зменшивши час to до часу останнього платежу, з відповіді. Якщо знову кількість транзакцій = 500, то виконуєте запити до того часу, поки кількість транзакцій не буде < 500. Відповідно, якщо кількість транзакцій < 500, то вже отримано всі платежі за вказаний період.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param account Ідентифікатор рахунку або банки з переліків Statement list або 0 - дефолтний рахунок. @param from Початок часу виписки. @param to Останній час виписки (якщо відсутній, буде використовуватись поточний час). @return ApiPersonalStatementAccountFromToGetRequest
func (*DefaultApiService) PersonalStatementAccountFromToGetExecute ¶
func (a *DefaultApiService) PersonalStatementAccountFromToGetExecute(r ApiPersonalStatementAccountFromToGetRequest) ([]StatementItemsInner, *http.Response, error)
Execute executes the request
@return []StatementItemsInner
func (*DefaultApiService) PersonalWebhookPost ¶
func (a *DefaultApiService) PersonalWebhookPost(ctx context.Context) ApiPersonalWebhookPostRequest
PersonalWebhookPost Встановлення WebHook
Встановлення URL користувача: - Для підтвердження коректності наданої адреси, на неї надсилається GET-запит. Сервер має відповісти строго HTTP статус-кодом 200, і ніяким іншим. Якщо валідацію пройдено, на задану адресу починають надсилатися POST запити з подіями. - Події надсилаються у наступному вигляді: POST запит на задану адресу у форматі `{type:"StatementItem", data:{account:"...", statementItem:{#StatementItem}}}`. Якщо сервіс користувача не відповість протягом 5с на команду, сервіс повторить спробу ще через 60 та 600 секунд. Якщо на третю спробу відповідь отримана не буде, функція буде вимкнута. Відповідь сервера має строго містити HTTP статус-код 200.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPersonalWebhookPostRequest
func (*DefaultApiService) PersonalWebhookPostExecute ¶
func (a *DefaultApiService) PersonalWebhookPostExecute(r ApiPersonalWebhookPostRequest) (*http.Response, error)
Execute executes the request
type Error ¶
type Error struct { // Текст помилки для кінцевого користувача, для автоматичного оброблення потрібно аналізувати HTTP код відповіді (200, 404, 429 та інші) ErrorDescription *string `json:"errorDescription,omitempty"` }
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetErrorDescription ¶
GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.
func (*Error) GetErrorDescriptionOk ¶
GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasErrorDescription ¶
HasErrorDescription returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetErrorDescription ¶
SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.
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 MappedNullable ¶
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 NullableCurrencyInfoInner ¶
type NullableCurrencyInfoInner struct {
// contains filtered or unexported fields
}
func NewNullableCurrencyInfoInner ¶
func NewNullableCurrencyInfoInner(val *CurrencyInfoInner) *NullableCurrencyInfoInner
func (NullableCurrencyInfoInner) Get ¶
func (v NullableCurrencyInfoInner) Get() *CurrencyInfoInner
func (NullableCurrencyInfoInner) IsSet ¶
func (v NullableCurrencyInfoInner) IsSet() bool
func (NullableCurrencyInfoInner) MarshalJSON ¶
func (v NullableCurrencyInfoInner) MarshalJSON() ([]byte, error)
func (*NullableCurrencyInfoInner) Set ¶
func (v *NullableCurrencyInfoInner) Set(val *CurrencyInfoInner)
func (*NullableCurrencyInfoInner) UnmarshalJSON ¶
func (v *NullableCurrencyInfoInner) UnmarshalJSON(src []byte) error
func (*NullableCurrencyInfoInner) Unset ¶
func (v *NullableCurrencyInfoInner) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type 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 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 NullableSetWebHook ¶
type NullableSetWebHook struct {
// contains filtered or unexported fields
}
func NewNullableSetWebHook ¶
func NewNullableSetWebHook(val *SetWebHook) *NullableSetWebHook
func (NullableSetWebHook) Get ¶
func (v NullableSetWebHook) Get() *SetWebHook
func (NullableSetWebHook) IsSet ¶
func (v NullableSetWebHook) IsSet() bool
func (NullableSetWebHook) MarshalJSON ¶
func (v NullableSetWebHook) MarshalJSON() ([]byte, error)
func (*NullableSetWebHook) Set ¶
func (v *NullableSetWebHook) Set(val *SetWebHook)
func (*NullableSetWebHook) UnmarshalJSON ¶
func (v *NullableSetWebHook) UnmarshalJSON(src []byte) error
func (*NullableSetWebHook) Unset ¶
func (v *NullableSetWebHook) Unset()
type NullableStatementItemsInner ¶
type NullableStatementItemsInner struct {
// contains filtered or unexported fields
}
func NewNullableStatementItemsInner ¶
func NewNullableStatementItemsInner(val *StatementItemsInner) *NullableStatementItemsInner
func (NullableStatementItemsInner) Get ¶
func (v NullableStatementItemsInner) Get() *StatementItemsInner
func (NullableStatementItemsInner) IsSet ¶
func (v NullableStatementItemsInner) IsSet() bool
func (NullableStatementItemsInner) MarshalJSON ¶
func (v NullableStatementItemsInner) MarshalJSON() ([]byte, error)
func (*NullableStatementItemsInner) Set ¶
func (v *NullableStatementItemsInner) Set(val *StatementItemsInner)
func (*NullableStatementItemsInner) UnmarshalJSON ¶
func (v *NullableStatementItemsInner) UnmarshalJSON(src []byte) error
func (*NullableStatementItemsInner) Unset ¶
func (v *NullableStatementItemsInner) 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 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 NullableUserInfo ¶
type NullableUserInfo struct {
// contains filtered or unexported fields
}
func NewNullableUserInfo ¶
func NewNullableUserInfo(val *UserInfo) *NullableUserInfo
func (NullableUserInfo) Get ¶
func (v NullableUserInfo) Get() *UserInfo
func (NullableUserInfo) IsSet ¶
func (v NullableUserInfo) IsSet() bool
func (NullableUserInfo) MarshalJSON ¶
func (v NullableUserInfo) MarshalJSON() ([]byte, error)
func (*NullableUserInfo) Set ¶
func (v *NullableUserInfo) Set(val *UserInfo)
func (*NullableUserInfo) UnmarshalJSON ¶
func (v *NullableUserInfo) UnmarshalJSON(src []byte) error
func (*NullableUserInfo) Unset ¶
func (v *NullableUserInfo) Unset()
type NullableUserInfoAccountsInner ¶
type NullableUserInfoAccountsInner struct {
// contains filtered or unexported fields
}
func NewNullableUserInfoAccountsInner ¶
func NewNullableUserInfoAccountsInner(val *UserInfoAccountsInner) *NullableUserInfoAccountsInner
func (NullableUserInfoAccountsInner) Get ¶
func (v NullableUserInfoAccountsInner) Get() *UserInfoAccountsInner
func (NullableUserInfoAccountsInner) IsSet ¶
func (v NullableUserInfoAccountsInner) IsSet() bool
func (NullableUserInfoAccountsInner) MarshalJSON ¶
func (v NullableUserInfoAccountsInner) MarshalJSON() ([]byte, error)
func (*NullableUserInfoAccountsInner) Set ¶
func (v *NullableUserInfoAccountsInner) Set(val *UserInfoAccountsInner)
func (*NullableUserInfoAccountsInner) UnmarshalJSON ¶
func (v *NullableUserInfoAccountsInner) UnmarshalJSON(src []byte) error
func (*NullableUserInfoAccountsInner) Unset ¶
func (v *NullableUserInfoAccountsInner) Unset()
type NullableUserInfoJarsInner ¶
type NullableUserInfoJarsInner struct {
// contains filtered or unexported fields
}
func NewNullableUserInfoJarsInner ¶
func NewNullableUserInfoJarsInner(val *UserInfoJarsInner) *NullableUserInfoJarsInner
func (NullableUserInfoJarsInner) Get ¶
func (v NullableUserInfoJarsInner) Get() *UserInfoJarsInner
func (NullableUserInfoJarsInner) IsSet ¶
func (v NullableUserInfoJarsInner) IsSet() bool
func (NullableUserInfoJarsInner) MarshalJSON ¶
func (v NullableUserInfoJarsInner) MarshalJSON() ([]byte, error)
func (*NullableUserInfoJarsInner) Set ¶
func (v *NullableUserInfoJarsInner) Set(val *UserInfoJarsInner)
func (*NullableUserInfoJarsInner) UnmarshalJSON ¶
func (v *NullableUserInfoJarsInner) UnmarshalJSON(src []byte) error
func (*NullableUserInfoJarsInner) Unset ¶
func (v *NullableUserInfoJarsInner) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SetWebHook ¶
type SetWebHook struct {
WebHookUrl *string `json:"webHookUrl,omitempty"`
}
SetWebHook URL для надсиляння подій по зміні балансу рахунків фізичних осіб, ФОП та банок
func NewSetWebHook ¶
func NewSetWebHook() *SetWebHook
NewSetWebHook instantiates a new SetWebHook 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 NewSetWebHookWithDefaults ¶
func NewSetWebHookWithDefaults() *SetWebHook
NewSetWebHookWithDefaults instantiates a new SetWebHook 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 (*SetWebHook) GetWebHookUrl ¶
func (o *SetWebHook) GetWebHookUrl() string
GetWebHookUrl returns the WebHookUrl field value if set, zero value otherwise.
func (*SetWebHook) GetWebHookUrlOk ¶
func (o *SetWebHook) GetWebHookUrlOk() (*string, bool)
GetWebHookUrlOk returns a tuple with the WebHookUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetWebHook) HasWebHookUrl ¶
func (o *SetWebHook) HasWebHookUrl() bool
HasWebHookUrl returns a boolean if a field has been set.
func (SetWebHook) MarshalJSON ¶
func (o SetWebHook) MarshalJSON() ([]byte, error)
func (*SetWebHook) SetWebHookUrl ¶
func (o *SetWebHook) SetWebHookUrl(v string)
SetWebHookUrl gets a reference to the given string and assigns it to the WebHookUrl field.
func (SetWebHook) ToMap ¶
func (o SetWebHook) ToMap() (map[string]interface{}, error)
type StatementItemsInner ¶
type StatementItemsInner struct { // Унікальний id транзакції Id *string `json:"id,omitempty"` // Час транзакції в секундах в форматі Unix time Time *float32 `json:"time,omitempty"` // Опис транзакцій Description *string `json:"description,omitempty"` // Код типу транзакції (Merchant Category Code), відповідно ISO 18245 Mcc *float32 `json:"mcc,omitempty"` // Оригінальний код типу транзакції (Merchant Category Code), відповідно ISO 18245 OriginalMcc *float32 `json:"originalMcc,omitempty"` // Статус блокування суми (детальніше у [wiki](https://en.wikipedia.org/wiki/Authorization_hold)) Hold *bool `json:"hold,omitempty"` // Сума у валюті рахунку в мінімальних одиницях валюти (копійках, центах) Amount *float32 `json:"amount,omitempty"` // Сума у валюті транзакції в мінімальних одиницях валюти (копійках, центах) OperationAmount *float32 `json:"operationAmount,omitempty"` // Код валюти рахунку відповідно ISO 4217 CurrencyCode *float32 `json:"currencyCode,omitempty"` // Розмір комісії в мінімальних одиницях валюти (копійках, центах) CommissionRate *float32 `json:"commissionRate,omitempty"` // Розмір кешбеку в мінімальних одиницях валюти (копійках, центах) CashbackAmount *float32 `json:"cashbackAmount,omitempty"` // Баланс рахунку в мінімальних одиницях валюти (копійках, центах) Balance *float32 `json:"balance,omitempty"` // Коментар до переказу, уведений користувачем. Якщо не вказаний, поле буде відсутнім Comment *string `json:"comment,omitempty"` // Номер квитанції для check.gov.ua. Поле може бути відсутнім ReceiptId *string `json:"receiptId,omitempty"` // Номер квитанції ФОПа, приходить у випадку якщо це операція із зарахуванням коштів InvoiceId *string `json:"invoiceId,omitempty"` // ЄДРПОУ контрагента, присутній лише для елементів виписки рахунків ФОП CounterEdrpou *string `json:"counterEdrpou,omitempty"` // IBAN контрагента, присутній лише для елементів виписки рахунків ФОП CounterIban *string `json:"counterIban,omitempty"` // Найменування контрагента CounterName *string `json:"counterName,omitempty"` }
StatementItemsInner struct for StatementItemsInner
func NewStatementItemsInner ¶
func NewStatementItemsInner() *StatementItemsInner
NewStatementItemsInner instantiates a new StatementItemsInner 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 NewStatementItemsInnerWithDefaults ¶
func NewStatementItemsInnerWithDefaults() *StatementItemsInner
NewStatementItemsInnerWithDefaults instantiates a new StatementItemsInner 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 (*StatementItemsInner) GetAmount ¶
func (o *StatementItemsInner) GetAmount() float32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*StatementItemsInner) GetAmountOk ¶
func (o *StatementItemsInner) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetBalance ¶
func (o *StatementItemsInner) GetBalance() float32
GetBalance returns the Balance field value if set, zero value otherwise.
func (*StatementItemsInner) GetBalanceOk ¶
func (o *StatementItemsInner) GetBalanceOk() (*float32, bool)
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCashbackAmount ¶
func (o *StatementItemsInner) GetCashbackAmount() float32
GetCashbackAmount returns the CashbackAmount field value if set, zero value otherwise.
func (*StatementItemsInner) GetCashbackAmountOk ¶
func (o *StatementItemsInner) GetCashbackAmountOk() (*float32, bool)
GetCashbackAmountOk returns a tuple with the CashbackAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetComment ¶
func (o *StatementItemsInner) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise.
func (*StatementItemsInner) GetCommentOk ¶
func (o *StatementItemsInner) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCommissionRate ¶
func (o *StatementItemsInner) GetCommissionRate() float32
GetCommissionRate returns the CommissionRate field value if set, zero value otherwise.
func (*StatementItemsInner) GetCommissionRateOk ¶
func (o *StatementItemsInner) GetCommissionRateOk() (*float32, bool)
GetCommissionRateOk returns a tuple with the CommissionRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCounterEdrpou ¶
func (o *StatementItemsInner) GetCounterEdrpou() string
GetCounterEdrpou returns the CounterEdrpou field value if set, zero value otherwise.
func (*StatementItemsInner) GetCounterEdrpouOk ¶
func (o *StatementItemsInner) GetCounterEdrpouOk() (*string, bool)
GetCounterEdrpouOk returns a tuple with the CounterEdrpou field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCounterIban ¶
func (o *StatementItemsInner) GetCounterIban() string
GetCounterIban returns the CounterIban field value if set, zero value otherwise.
func (*StatementItemsInner) GetCounterIbanOk ¶
func (o *StatementItemsInner) GetCounterIbanOk() (*string, bool)
GetCounterIbanOk returns a tuple with the CounterIban field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCounterName ¶
func (o *StatementItemsInner) GetCounterName() string
GetCounterName returns the CounterName field value if set, zero value otherwise.
func (*StatementItemsInner) GetCounterNameOk ¶
func (o *StatementItemsInner) GetCounterNameOk() (*string, bool)
GetCounterNameOk returns a tuple with the CounterName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetCurrencyCode ¶
func (o *StatementItemsInner) GetCurrencyCode() float32
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*StatementItemsInner) GetCurrencyCodeOk ¶
func (o *StatementItemsInner) GetCurrencyCodeOk() (*float32, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetDescription ¶
func (o *StatementItemsInner) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StatementItemsInner) GetDescriptionOk ¶
func (o *StatementItemsInner) 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.
func (*StatementItemsInner) GetHold ¶
func (o *StatementItemsInner) GetHold() bool
GetHold returns the Hold field value if set, zero value otherwise.
func (*StatementItemsInner) GetHoldOk ¶
func (o *StatementItemsInner) GetHoldOk() (*bool, bool)
GetHoldOk returns a tuple with the Hold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetId ¶
func (o *StatementItemsInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*StatementItemsInner) GetIdOk ¶
func (o *StatementItemsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetInvoiceId ¶
func (o *StatementItemsInner) GetInvoiceId() string
GetInvoiceId returns the InvoiceId field value if set, zero value otherwise.
func (*StatementItemsInner) GetInvoiceIdOk ¶
func (o *StatementItemsInner) GetInvoiceIdOk() (*string, bool)
GetInvoiceIdOk returns a tuple with the InvoiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetMcc ¶
func (o *StatementItemsInner) GetMcc() float32
GetMcc returns the Mcc field value if set, zero value otherwise.
func (*StatementItemsInner) GetMccOk ¶
func (o *StatementItemsInner) GetMccOk() (*float32, bool)
GetMccOk returns a tuple with the Mcc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetOperationAmount ¶
func (o *StatementItemsInner) GetOperationAmount() float32
GetOperationAmount returns the OperationAmount field value if set, zero value otherwise.
func (*StatementItemsInner) GetOperationAmountOk ¶
func (o *StatementItemsInner) GetOperationAmountOk() (*float32, bool)
GetOperationAmountOk returns a tuple with the OperationAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetOriginalMcc ¶
func (o *StatementItemsInner) GetOriginalMcc() float32
GetOriginalMcc returns the OriginalMcc field value if set, zero value otherwise.
func (*StatementItemsInner) GetOriginalMccOk ¶
func (o *StatementItemsInner) GetOriginalMccOk() (*float32, bool)
GetOriginalMccOk returns a tuple with the OriginalMcc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetReceiptId ¶
func (o *StatementItemsInner) GetReceiptId() string
GetReceiptId returns the ReceiptId field value if set, zero value otherwise.
func (*StatementItemsInner) GetReceiptIdOk ¶
func (o *StatementItemsInner) GetReceiptIdOk() (*string, bool)
GetReceiptIdOk returns a tuple with the ReceiptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) GetTime ¶
func (o *StatementItemsInner) GetTime() float32
GetTime returns the Time field value if set, zero value otherwise.
func (*StatementItemsInner) GetTimeOk ¶
func (o *StatementItemsInner) GetTimeOk() (*float32, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatementItemsInner) HasAmount ¶
func (o *StatementItemsInner) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*StatementItemsInner) HasBalance ¶
func (o *StatementItemsInner) HasBalance() bool
HasBalance returns a boolean if a field has been set.
func (*StatementItemsInner) HasCashbackAmount ¶
func (o *StatementItemsInner) HasCashbackAmount() bool
HasCashbackAmount returns a boolean if a field has been set.
func (*StatementItemsInner) HasComment ¶
func (o *StatementItemsInner) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*StatementItemsInner) HasCommissionRate ¶
func (o *StatementItemsInner) HasCommissionRate() bool
HasCommissionRate returns a boolean if a field has been set.
func (*StatementItemsInner) HasCounterEdrpou ¶
func (o *StatementItemsInner) HasCounterEdrpou() bool
HasCounterEdrpou returns a boolean if a field has been set.
func (*StatementItemsInner) HasCounterIban ¶
func (o *StatementItemsInner) HasCounterIban() bool
HasCounterIban returns a boolean if a field has been set.
func (*StatementItemsInner) HasCounterName ¶
func (o *StatementItemsInner) HasCounterName() bool
HasCounterName returns a boolean if a field has been set.
func (*StatementItemsInner) HasCurrencyCode ¶
func (o *StatementItemsInner) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (*StatementItemsInner) HasDescription ¶
func (o *StatementItemsInner) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StatementItemsInner) HasHold ¶
func (o *StatementItemsInner) HasHold() bool
HasHold returns a boolean if a field has been set.
func (*StatementItemsInner) HasId ¶
func (o *StatementItemsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*StatementItemsInner) HasInvoiceId ¶
func (o *StatementItemsInner) HasInvoiceId() bool
HasInvoiceId returns a boolean if a field has been set.
func (*StatementItemsInner) HasMcc ¶
func (o *StatementItemsInner) HasMcc() bool
HasMcc returns a boolean if a field has been set.
func (*StatementItemsInner) HasOperationAmount ¶
func (o *StatementItemsInner) HasOperationAmount() bool
HasOperationAmount returns a boolean if a field has been set.
func (*StatementItemsInner) HasOriginalMcc ¶
func (o *StatementItemsInner) HasOriginalMcc() bool
HasOriginalMcc returns a boolean if a field has been set.
func (*StatementItemsInner) HasReceiptId ¶
func (o *StatementItemsInner) HasReceiptId() bool
HasReceiptId returns a boolean if a field has been set.
func (*StatementItemsInner) HasTime ¶
func (o *StatementItemsInner) HasTime() bool
HasTime returns a boolean if a field has been set.
func (StatementItemsInner) MarshalJSON ¶
func (o StatementItemsInner) MarshalJSON() ([]byte, error)
func (*StatementItemsInner) SetAmount ¶
func (o *StatementItemsInner) SetAmount(v float32)
SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (*StatementItemsInner) SetBalance ¶
func (o *StatementItemsInner) SetBalance(v float32)
SetBalance gets a reference to the given float32 and assigns it to the Balance field.
func (*StatementItemsInner) SetCashbackAmount ¶
func (o *StatementItemsInner) SetCashbackAmount(v float32)
SetCashbackAmount gets a reference to the given float32 and assigns it to the CashbackAmount field.
func (*StatementItemsInner) SetComment ¶
func (o *StatementItemsInner) SetComment(v string)
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*StatementItemsInner) SetCommissionRate ¶
func (o *StatementItemsInner) SetCommissionRate(v float32)
SetCommissionRate gets a reference to the given float32 and assigns it to the CommissionRate field.
func (*StatementItemsInner) SetCounterEdrpou ¶
func (o *StatementItemsInner) SetCounterEdrpou(v string)
SetCounterEdrpou gets a reference to the given string and assigns it to the CounterEdrpou field.
func (*StatementItemsInner) SetCounterIban ¶
func (o *StatementItemsInner) SetCounterIban(v string)
SetCounterIban gets a reference to the given string and assigns it to the CounterIban field.
func (*StatementItemsInner) SetCounterName ¶
func (o *StatementItemsInner) SetCounterName(v string)
SetCounterName gets a reference to the given string and assigns it to the CounterName field.
func (*StatementItemsInner) SetCurrencyCode ¶
func (o *StatementItemsInner) SetCurrencyCode(v float32)
SetCurrencyCode gets a reference to the given float32 and assigns it to the CurrencyCode field.
func (*StatementItemsInner) SetDescription ¶
func (o *StatementItemsInner) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StatementItemsInner) SetHold ¶
func (o *StatementItemsInner) SetHold(v bool)
SetHold gets a reference to the given bool and assigns it to the Hold field.
func (*StatementItemsInner) SetId ¶
func (o *StatementItemsInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*StatementItemsInner) SetInvoiceId ¶
func (o *StatementItemsInner) SetInvoiceId(v string)
SetInvoiceId gets a reference to the given string and assigns it to the InvoiceId field.
func (*StatementItemsInner) SetMcc ¶
func (o *StatementItemsInner) SetMcc(v float32)
SetMcc gets a reference to the given float32 and assigns it to the Mcc field.
func (*StatementItemsInner) SetOperationAmount ¶
func (o *StatementItemsInner) SetOperationAmount(v float32)
SetOperationAmount gets a reference to the given float32 and assigns it to the OperationAmount field.
func (*StatementItemsInner) SetOriginalMcc ¶
func (o *StatementItemsInner) SetOriginalMcc(v float32)
SetOriginalMcc gets a reference to the given float32 and assigns it to the OriginalMcc field.
func (*StatementItemsInner) SetReceiptId ¶
func (o *StatementItemsInner) SetReceiptId(v string)
SetReceiptId gets a reference to the given string and assigns it to the ReceiptId field.
func (*StatementItemsInner) SetTime ¶
func (o *StatementItemsInner) SetTime(v float32)
SetTime gets a reference to the given float32 and assigns it to the Time field.
func (StatementItemsInner) ToMap ¶
func (o StatementItemsInner) ToMap() (map[string]interface{}, error)
type UserInfo ¶
type UserInfo struct { // Ідентифікатор клієнта (збігається з id для send.monobank.ua) ClientId *string `json:"clientId,omitempty"` // Ім'я клієнта Name *string `json:"name,omitempty"` // URL для надсиляння подій по зміні балансу рахунку WebHookUrl *string `json:"webHookUrl,omitempty"` // Перелік прав, які які надає сервіс (1 літера на 1 permission). Permissions *string `json:"permissions,omitempty"` // Перелік доступних рахунків Accounts []UserInfoAccountsInner `json:"accounts,omitempty"` // Перелік банок Jars []UserInfoJarsInner `json:"jars,omitempty"` }
UserInfo Опис клієнта та його рахунків і банок.
func NewUserInfo ¶
func NewUserInfo() *UserInfo
NewUserInfo instantiates a new UserInfo 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 NewUserInfoWithDefaults ¶
func NewUserInfoWithDefaults() *UserInfo
NewUserInfoWithDefaults instantiates a new UserInfo 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 (*UserInfo) GetAccounts ¶
func (o *UserInfo) GetAccounts() []UserInfoAccountsInner
GetAccounts returns the Accounts field value if set, zero value otherwise.
func (*UserInfo) GetAccountsOk ¶
func (o *UserInfo) GetAccountsOk() ([]UserInfoAccountsInner, bool)
GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetClientId ¶
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*UserInfo) GetClientIdOk ¶
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetJars ¶
func (o *UserInfo) GetJars() []UserInfoJarsInner
GetJars returns the Jars field value if set, zero value otherwise.
func (*UserInfo) GetJarsOk ¶
func (o *UserInfo) GetJarsOk() ([]UserInfoJarsInner, bool)
GetJarsOk returns a tuple with the Jars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetPermissions ¶
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*UserInfo) GetPermissionsOk ¶
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetWebHookUrl ¶
GetWebHookUrl returns the WebHookUrl field value if set, zero value otherwise.
func (*UserInfo) GetWebHookUrlOk ¶
GetWebHookUrlOk returns a tuple with the WebHookUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) HasAccounts ¶
HasAccounts returns a boolean if a field has been set.
func (*UserInfo) HasClientId ¶
HasClientId returns a boolean if a field has been set.
func (*UserInfo) HasPermissions ¶
HasPermissions returns a boolean if a field has been set.
func (*UserInfo) HasWebHookUrl ¶
HasWebHookUrl returns a boolean if a field has been set.
func (UserInfo) MarshalJSON ¶
func (*UserInfo) SetAccounts ¶
func (o *UserInfo) SetAccounts(v []UserInfoAccountsInner)
SetAccounts gets a reference to the given []UserInfoAccountsInner and assigns it to the Accounts field.
func (*UserInfo) SetClientId ¶
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*UserInfo) SetJars ¶
func (o *UserInfo) SetJars(v []UserInfoJarsInner)
SetJars gets a reference to the given []UserInfoJarsInner and assigns it to the Jars field.
func (*UserInfo) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserInfo) SetPermissions ¶
SetPermissions gets a reference to the given string and assigns it to the Permissions field.
func (*UserInfo) SetWebHookUrl ¶
SetWebHookUrl gets a reference to the given string and assigns it to the WebHookUrl field.
type UserInfoAccountsInner ¶
type UserInfoAccountsInner struct { // Ідентифікатор рахунку Id *string `json:"id,omitempty"` // Ідентифікатор для сервісу https://send.monobank.ua/{sendId} SendId *string `json:"sendId,omitempty"` // Баланс рахунку в мінімальних одиницях валюти (копійках, центах) Balance *float32 `json:"balance,omitempty"` // Кредитний ліміт CreditLimit *float32 `json:"creditLimit,omitempty"` // Тип рахунку Type *string `json:"type,omitempty"` // Код валюти рахунку відповідно ISO 4217 CurrencyCode *float32 `json:"currencyCode,omitempty"` // Тип кешбеку який нараховується на рахунок CashbackType *string `json:"cashbackType,omitempty"` // Перелік замаскованних номерів карт (більше одного може бути у преміальних карт) MaskedPan *Array `json:"maskedPan,omitempty"` // IBAN рахунку Iban *string `json:"iban,omitempty"` }
UserInfoAccountsInner struct for UserInfoAccountsInner
func NewUserInfoAccountsInner ¶
func NewUserInfoAccountsInner() *UserInfoAccountsInner
NewUserInfoAccountsInner instantiates a new UserInfoAccountsInner 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 NewUserInfoAccountsInnerWithDefaults ¶
func NewUserInfoAccountsInnerWithDefaults() *UserInfoAccountsInner
NewUserInfoAccountsInnerWithDefaults instantiates a new UserInfoAccountsInner 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 (*UserInfoAccountsInner) GetBalance ¶
func (o *UserInfoAccountsInner) GetBalance() float32
GetBalance returns the Balance field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetBalanceOk ¶
func (o *UserInfoAccountsInner) GetBalanceOk() (*float32, bool)
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetCashbackType ¶
func (o *UserInfoAccountsInner) GetCashbackType() string
GetCashbackType returns the CashbackType field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetCashbackTypeOk ¶
func (o *UserInfoAccountsInner) GetCashbackTypeOk() (*string, bool)
GetCashbackTypeOk returns a tuple with the CashbackType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetCreditLimit ¶
func (o *UserInfoAccountsInner) GetCreditLimit() float32
GetCreditLimit returns the CreditLimit field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetCreditLimitOk ¶
func (o *UserInfoAccountsInner) GetCreditLimitOk() (*float32, bool)
GetCreditLimitOk returns a tuple with the CreditLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetCurrencyCode ¶
func (o *UserInfoAccountsInner) GetCurrencyCode() float32
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetCurrencyCodeOk ¶
func (o *UserInfoAccountsInner) GetCurrencyCodeOk() (*float32, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetIban ¶
func (o *UserInfoAccountsInner) GetIban() string
GetIban returns the Iban field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetIbanOk ¶
func (o *UserInfoAccountsInner) GetIbanOk() (*string, bool)
GetIbanOk returns a tuple with the Iban field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetId ¶
func (o *UserInfoAccountsInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetIdOk ¶
func (o *UserInfoAccountsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetMaskedPan ¶
func (o *UserInfoAccountsInner) GetMaskedPan() Array
GetMaskedPan returns the MaskedPan field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetMaskedPanOk ¶
func (o *UserInfoAccountsInner) GetMaskedPanOk() (*Array, bool)
GetMaskedPanOk returns a tuple with the MaskedPan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetSendId ¶
func (o *UserInfoAccountsInner) GetSendId() string
GetSendId returns the SendId field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetSendIdOk ¶
func (o *UserInfoAccountsInner) GetSendIdOk() (*string, bool)
GetSendIdOk returns a tuple with the SendId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) GetType ¶
func (o *UserInfoAccountsInner) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UserInfoAccountsInner) GetTypeOk ¶
func (o *UserInfoAccountsInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoAccountsInner) HasBalance ¶
func (o *UserInfoAccountsInner) HasBalance() bool
HasBalance returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasCashbackType ¶
func (o *UserInfoAccountsInner) HasCashbackType() bool
HasCashbackType returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasCreditLimit ¶
func (o *UserInfoAccountsInner) HasCreditLimit() bool
HasCreditLimit returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasCurrencyCode ¶
func (o *UserInfoAccountsInner) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasIban ¶
func (o *UserInfoAccountsInner) HasIban() bool
HasIban returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasId ¶
func (o *UserInfoAccountsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasMaskedPan ¶
func (o *UserInfoAccountsInner) HasMaskedPan() bool
HasMaskedPan returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasSendId ¶
func (o *UserInfoAccountsInner) HasSendId() bool
HasSendId returns a boolean if a field has been set.
func (*UserInfoAccountsInner) HasType ¶
func (o *UserInfoAccountsInner) HasType() bool
HasType returns a boolean if a field has been set.
func (UserInfoAccountsInner) MarshalJSON ¶
func (o UserInfoAccountsInner) MarshalJSON() ([]byte, error)
func (*UserInfoAccountsInner) SetBalance ¶
func (o *UserInfoAccountsInner) SetBalance(v float32)
SetBalance gets a reference to the given float32 and assigns it to the Balance field.
func (*UserInfoAccountsInner) SetCashbackType ¶
func (o *UserInfoAccountsInner) SetCashbackType(v string)
SetCashbackType gets a reference to the given string and assigns it to the CashbackType field.
func (*UserInfoAccountsInner) SetCreditLimit ¶
func (o *UserInfoAccountsInner) SetCreditLimit(v float32)
SetCreditLimit gets a reference to the given float32 and assigns it to the CreditLimit field.
func (*UserInfoAccountsInner) SetCurrencyCode ¶
func (o *UserInfoAccountsInner) SetCurrencyCode(v float32)
SetCurrencyCode gets a reference to the given float32 and assigns it to the CurrencyCode field.
func (*UserInfoAccountsInner) SetIban ¶
func (o *UserInfoAccountsInner) SetIban(v string)
SetIban gets a reference to the given string and assigns it to the Iban field.
func (*UserInfoAccountsInner) SetId ¶
func (o *UserInfoAccountsInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UserInfoAccountsInner) SetMaskedPan ¶
func (o *UserInfoAccountsInner) SetMaskedPan(v Array)
SetMaskedPan gets a reference to the given Array and assigns it to the MaskedPan field.
func (*UserInfoAccountsInner) SetSendId ¶
func (o *UserInfoAccountsInner) SetSendId(v string)
SetSendId gets a reference to the given string and assigns it to the SendId field.
func (*UserInfoAccountsInner) SetType ¶
func (o *UserInfoAccountsInner) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (UserInfoAccountsInner) ToMap ¶
func (o UserInfoAccountsInner) ToMap() (map[string]interface{}, error)
type UserInfoJarsInner ¶
type UserInfoJarsInner struct { // Ідентифікатор банки Id *string `json:"id,omitempty"` // Ідентифікатор для сервісу https://send.monobank.ua/{sendId} SendId *string `json:"sendId,omitempty"` // Назва банки Title *string `json:"title,omitempty"` // Опис банки Description *string `json:"description,omitempty"` // Код валюти банки відповідно ISO 4217 CurrencyCode *float32 `json:"currencyCode,omitempty"` // Баланс банки в мінімальних одиницях валюти (копійках, центах) Balance *float32 `json:"balance,omitempty"` // Цільова сума для накопичення в банці в мінімальних одиницях валюти (копійках, центах) Goal *float32 `json:"goal,omitempty"` }
UserInfoJarsInner struct for UserInfoJarsInner
func NewUserInfoJarsInner ¶
func NewUserInfoJarsInner() *UserInfoJarsInner
NewUserInfoJarsInner instantiates a new UserInfoJarsInner 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 NewUserInfoJarsInnerWithDefaults ¶
func NewUserInfoJarsInnerWithDefaults() *UserInfoJarsInner
NewUserInfoJarsInnerWithDefaults instantiates a new UserInfoJarsInner 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 (*UserInfoJarsInner) GetBalance ¶
func (o *UserInfoJarsInner) GetBalance() float32
GetBalance returns the Balance field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetBalanceOk ¶
func (o *UserInfoJarsInner) GetBalanceOk() (*float32, bool)
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) GetCurrencyCode ¶
func (o *UserInfoJarsInner) GetCurrencyCode() float32
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetCurrencyCodeOk ¶
func (o *UserInfoJarsInner) GetCurrencyCodeOk() (*float32, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) GetDescription ¶
func (o *UserInfoJarsInner) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetDescriptionOk ¶
func (o *UserInfoJarsInner) 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.
func (*UserInfoJarsInner) GetGoal ¶
func (o *UserInfoJarsInner) GetGoal() float32
GetGoal returns the Goal field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetGoalOk ¶
func (o *UserInfoJarsInner) GetGoalOk() (*float32, bool)
GetGoalOk returns a tuple with the Goal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) GetId ¶
func (o *UserInfoJarsInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetIdOk ¶
func (o *UserInfoJarsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) GetSendId ¶
func (o *UserInfoJarsInner) GetSendId() string
GetSendId returns the SendId field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetSendIdOk ¶
func (o *UserInfoJarsInner) GetSendIdOk() (*string, bool)
GetSendIdOk returns a tuple with the SendId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) GetTitle ¶
func (o *UserInfoJarsInner) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*UserInfoJarsInner) GetTitleOk ¶
func (o *UserInfoJarsInner) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfoJarsInner) HasBalance ¶
func (o *UserInfoJarsInner) HasBalance() bool
HasBalance returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasCurrencyCode ¶
func (o *UserInfoJarsInner) HasCurrencyCode() bool
HasCurrencyCode returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasDescription ¶
func (o *UserInfoJarsInner) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasGoal ¶
func (o *UserInfoJarsInner) HasGoal() bool
HasGoal returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasId ¶
func (o *UserInfoJarsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasSendId ¶
func (o *UserInfoJarsInner) HasSendId() bool
HasSendId returns a boolean if a field has been set.
func (*UserInfoJarsInner) HasTitle ¶
func (o *UserInfoJarsInner) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (UserInfoJarsInner) MarshalJSON ¶
func (o UserInfoJarsInner) MarshalJSON() ([]byte, error)
func (*UserInfoJarsInner) SetBalance ¶
func (o *UserInfoJarsInner) SetBalance(v float32)
SetBalance gets a reference to the given float32 and assigns it to the Balance field.
func (*UserInfoJarsInner) SetCurrencyCode ¶
func (o *UserInfoJarsInner) SetCurrencyCode(v float32)
SetCurrencyCode gets a reference to the given float32 and assigns it to the CurrencyCode field.
func (*UserInfoJarsInner) SetDescription ¶
func (o *UserInfoJarsInner) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UserInfoJarsInner) SetGoal ¶
func (o *UserInfoJarsInner) SetGoal(v float32)
SetGoal gets a reference to the given float32 and assigns it to the Goal field.
func (*UserInfoJarsInner) SetId ¶
func (o *UserInfoJarsInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UserInfoJarsInner) SetSendId ¶
func (o *UserInfoJarsInner) SetSendId(v string)
SetSendId gets a reference to the given string and assigns it to the SendId field.
func (*UserInfoJarsInner) SetTitle ¶
func (o *UserInfoJarsInner) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (UserInfoJarsInner) ToMap ¶
func (o UserInfoJarsInner) ToMap() (map[string]interface{}, error)
type WebHookResponse ¶
type WebHookResponse struct { Type string `json:"type"` // "StatementItem" Data WebHookResponseData `json:"data"` }
type WebHookResponseData ¶
type WebHookResponseData struct { Account string `json:"account"` StatementItem StatementItemsInner `json:"statementItem"` }