posterminalmanagement

package
v7.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	City            *string `json:"city,omitempty"`
	CountryCode     *string `json:"countryCode,omitempty"`
	PostalCode      *string `json:"postalCode,omitempty"`
	StateOrProvince *string `json:"stateOrProvince,omitempty"`
	StreetAddress   *string `json:"streetAddress,omitempty"`
	StreetAddress2  *string `json:"streetAddress2,omitempty"`
}

Address struct for Address

func NewAddress

func NewAddress() *Address

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

func NewAddressWithDefaults

func NewAddressWithDefaults() *Address

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

func (*Address) GetCity

func (o *Address) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*Address) GetCityOk

func (o *Address) GetCityOk() (*string, bool)

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

func (*Address) GetCountryCode

func (o *Address) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*Address) GetCountryCodeOk

func (o *Address) GetCountryCodeOk() (*string, bool)

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

func (*Address) GetPostalCode

func (o *Address) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*Address) GetPostalCodeOk

func (o *Address) GetPostalCodeOk() (*string, bool)

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

func (*Address) GetStateOrProvince

func (o *Address) GetStateOrProvince() string

GetStateOrProvince returns the StateOrProvince field value if set, zero value otherwise.

func (*Address) GetStateOrProvinceOk

func (o *Address) GetStateOrProvinceOk() (*string, bool)

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

func (*Address) GetStreetAddress

func (o *Address) GetStreetAddress() string

GetStreetAddress returns the StreetAddress field value if set, zero value otherwise.

func (*Address) GetStreetAddress2

func (o *Address) GetStreetAddress2() string

GetStreetAddress2 returns the StreetAddress2 field value if set, zero value otherwise.

func (*Address) GetStreetAddress2Ok

func (o *Address) GetStreetAddress2Ok() (*string, bool)

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

func (*Address) GetStreetAddressOk

func (o *Address) GetStreetAddressOk() (*string, bool)

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

func (*Address) HasCity

func (o *Address) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Address) HasCountryCode

func (o *Address) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*Address) HasPostalCode

func (o *Address) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*Address) HasStateOrProvince

func (o *Address) HasStateOrProvince() bool

HasStateOrProvince returns a boolean if a field has been set.

func (*Address) HasStreetAddress

func (o *Address) HasStreetAddress() bool

HasStreetAddress returns a boolean if a field has been set.

func (*Address) HasStreetAddress2

func (o *Address) HasStreetAddress2() bool

HasStreetAddress2 returns a boolean if a field has been set.

func (Address) MarshalJSON

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

func (*Address) SetCity

func (o *Address) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*Address) SetCountryCode

func (o *Address) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*Address) SetPostalCode

func (o *Address) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*Address) SetStateOrProvince

func (o *Address) SetStateOrProvince(v string)

SetStateOrProvince gets a reference to the given string and assigns it to the StateOrProvince field.

func (*Address) SetStreetAddress

func (o *Address) SetStreetAddress(v string)

SetStreetAddress gets a reference to the given string and assigns it to the StreetAddress field.

func (*Address) SetStreetAddress2

func (o *Address) SetStreetAddress2(v string)

SetStreetAddress2 gets a reference to the given string and assigns it to the StreetAddress2 field.

func (Address) ToMap

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

type AssignTerminalsRequest

type AssignTerminalsRequest struct {
	// Your company account. To return terminals to the company inventory, specify only this parameter and the `terminals`.
	CompanyAccount string `json:"companyAccount"`
	// Name of the merchant account. Specify this parameter to assign terminals to this merchant account or to a store under this merchant account.
	MerchantAccount *string `json:"merchantAccount,omitempty"`
	// Boolean that indicates if you are assigning the terminals to the merchant inventory. Do not use when assigning terminals to a store. Required when assigning the terminal to a merchant account.  - Set this to **true** to assign the terminals to the merchant inventory. This also means that the terminals cannot be boarded.  - Set this to **false** to assign the terminals to the merchant account as in-store terminals. This makes the terminals ready to be boarded and to process payments through the specified merchant account.
	MerchantInventory *bool `json:"merchantInventory,omitempty"`
	// The store code of the store that you want to assign the terminals to.
	Store *string `json:"store,omitempty"`
	// Array containing a list of terminal IDs that you want to assign or reassign to the merchant account or store, or that you want to return to the company inventory.  For example, `[\"V400m-324689776\",\"P400Plus-329127412\"]`.
	Terminals []string `json:"terminals"`
}

AssignTerminalsRequest struct for AssignTerminalsRequest

func NewAssignTerminalsRequest

func NewAssignTerminalsRequest(companyAccount string, terminals []string) *AssignTerminalsRequest

NewAssignTerminalsRequest instantiates a new AssignTerminalsRequest 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 NewAssignTerminalsRequestWithDefaults

func NewAssignTerminalsRequestWithDefaults() *AssignTerminalsRequest

NewAssignTerminalsRequestWithDefaults instantiates a new AssignTerminalsRequest 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 (*AssignTerminalsRequest) GetCompanyAccount

func (o *AssignTerminalsRequest) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*AssignTerminalsRequest) GetCompanyAccountOk

func (o *AssignTerminalsRequest) GetCompanyAccountOk() (*string, bool)

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

func (*AssignTerminalsRequest) GetMerchantAccount

func (o *AssignTerminalsRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.

func (*AssignTerminalsRequest) GetMerchantAccountOk

func (o *AssignTerminalsRequest) GetMerchantAccountOk() (*string, bool)

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

func (*AssignTerminalsRequest) GetMerchantInventory

func (o *AssignTerminalsRequest) GetMerchantInventory() bool

GetMerchantInventory returns the MerchantInventory field value if set, zero value otherwise.

func (*AssignTerminalsRequest) GetMerchantInventoryOk

func (o *AssignTerminalsRequest) GetMerchantInventoryOk() (*bool, bool)

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

func (*AssignTerminalsRequest) GetStore

func (o *AssignTerminalsRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*AssignTerminalsRequest) GetStoreOk

func (o *AssignTerminalsRequest) GetStoreOk() (*string, bool)

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

func (*AssignTerminalsRequest) GetTerminals

func (o *AssignTerminalsRequest) GetTerminals() []string

GetTerminals returns the Terminals field value

func (*AssignTerminalsRequest) GetTerminalsOk

func (o *AssignTerminalsRequest) GetTerminalsOk() ([]string, bool)

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

func (*AssignTerminalsRequest) HasMerchantAccount

func (o *AssignTerminalsRequest) HasMerchantAccount() bool

HasMerchantAccount returns a boolean if a field has been set.

func (*AssignTerminalsRequest) HasMerchantInventory

func (o *AssignTerminalsRequest) HasMerchantInventory() bool

HasMerchantInventory returns a boolean if a field has been set.

func (*AssignTerminalsRequest) HasStore

func (o *AssignTerminalsRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (AssignTerminalsRequest) MarshalJSON

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

func (*AssignTerminalsRequest) SetCompanyAccount

func (o *AssignTerminalsRequest) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*AssignTerminalsRequest) SetMerchantAccount

func (o *AssignTerminalsRequest) SetMerchantAccount(v string)

SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.

func (*AssignTerminalsRequest) SetMerchantInventory

func (o *AssignTerminalsRequest) SetMerchantInventory(v bool)

SetMerchantInventory gets a reference to the given bool and assigns it to the MerchantInventory field.

func (*AssignTerminalsRequest) SetStore

func (o *AssignTerminalsRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (*AssignTerminalsRequest) SetTerminals

func (o *AssignTerminalsRequest) SetTerminals(v []string)

SetTerminals sets field value

func (AssignTerminalsRequest) ToMap

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

type AssignTerminalsResponse

type AssignTerminalsResponse struct {
	// Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store.  The results can be:    - `Done`: The terminal has been assigned.   - `AssignmentScheduled`: The terminal will be assigned asynschronously.   - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals).   - `Error`: There was an error when assigning the terminal.
	Results map[string]string `json:"results"`
}

AssignTerminalsResponse struct for AssignTerminalsResponse

func NewAssignTerminalsResponse

func NewAssignTerminalsResponse(results map[string]string) *AssignTerminalsResponse

NewAssignTerminalsResponse instantiates a new AssignTerminalsResponse 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 NewAssignTerminalsResponseWithDefaults

func NewAssignTerminalsResponseWithDefaults() *AssignTerminalsResponse

NewAssignTerminalsResponseWithDefaults instantiates a new AssignTerminalsResponse 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 (*AssignTerminalsResponse) GetResults

func (o *AssignTerminalsResponse) GetResults() map[string]string

GetResults returns the Results field value

func (*AssignTerminalsResponse) GetResultsOk

func (o *AssignTerminalsResponse) GetResultsOk() (*map[string]string, bool)

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

func (AssignTerminalsResponse) MarshalJSON

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

func (*AssignTerminalsResponse) SetResults

func (o *AssignTerminalsResponse) SetResults(v map[string]string)

SetResults sets field value

func (AssignTerminalsResponse) ToMap

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

type FindTerminalRequest

type FindTerminalRequest struct {
	// The unique terminal ID in the format `[Device model]-[Serial number]`.   For example, **V400m-324689776**.
	Terminal string `json:"terminal"`
}

FindTerminalRequest struct for FindTerminalRequest

func NewFindTerminalRequest

func NewFindTerminalRequest(terminal string) *FindTerminalRequest

NewFindTerminalRequest instantiates a new FindTerminalRequest 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 NewFindTerminalRequestWithDefaults

func NewFindTerminalRequestWithDefaults() *FindTerminalRequest

NewFindTerminalRequestWithDefaults instantiates a new FindTerminalRequest 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 (*FindTerminalRequest) GetTerminal

func (o *FindTerminalRequest) GetTerminal() string

GetTerminal returns the Terminal field value

func (*FindTerminalRequest) GetTerminalOk

func (o *FindTerminalRequest) GetTerminalOk() (*string, bool)

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

func (FindTerminalRequest) MarshalJSON

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

func (*FindTerminalRequest) SetTerminal

func (o *FindTerminalRequest) SetTerminal(v string)

SetTerminal sets field value

func (FindTerminalRequest) ToMap

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

type FindTerminalResponse

type FindTerminalResponse struct {
	// The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account.
	CompanyAccount string `json:"companyAccount"`
	// The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.
	MerchantAccount *string `json:"merchantAccount,omitempty"`
	// Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account.  - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded.  - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.
	MerchantInventory *bool `json:"merchantInventory,omitempty"`
	// The store code of the store that the terminal is assigned to.
	Store *string `json:"store,omitempty"`
	// The unique terminal ID.
	Terminal string `json:"terminal"`
}

FindTerminalResponse struct for FindTerminalResponse

func NewFindTerminalResponse

func NewFindTerminalResponse(companyAccount string, terminal string) *FindTerminalResponse

NewFindTerminalResponse instantiates a new FindTerminalResponse 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 NewFindTerminalResponseWithDefaults

func NewFindTerminalResponseWithDefaults() *FindTerminalResponse

NewFindTerminalResponseWithDefaults instantiates a new FindTerminalResponse 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 (*FindTerminalResponse) GetCompanyAccount

func (o *FindTerminalResponse) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*FindTerminalResponse) GetCompanyAccountOk

func (o *FindTerminalResponse) GetCompanyAccountOk() (*string, bool)

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

func (*FindTerminalResponse) GetMerchantAccount

func (o *FindTerminalResponse) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.

func (*FindTerminalResponse) GetMerchantAccountOk

func (o *FindTerminalResponse) GetMerchantAccountOk() (*string, bool)

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

func (*FindTerminalResponse) GetMerchantInventory

func (o *FindTerminalResponse) GetMerchantInventory() bool

GetMerchantInventory returns the MerchantInventory field value if set, zero value otherwise.

func (*FindTerminalResponse) GetMerchantInventoryOk

func (o *FindTerminalResponse) GetMerchantInventoryOk() (*bool, bool)

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

func (*FindTerminalResponse) GetStore

func (o *FindTerminalResponse) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*FindTerminalResponse) GetStoreOk

func (o *FindTerminalResponse) GetStoreOk() (*string, bool)

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

func (*FindTerminalResponse) GetTerminal

func (o *FindTerminalResponse) GetTerminal() string

GetTerminal returns the Terminal field value

func (*FindTerminalResponse) GetTerminalOk

func (o *FindTerminalResponse) GetTerminalOk() (*string, bool)

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

func (*FindTerminalResponse) HasMerchantAccount

func (o *FindTerminalResponse) HasMerchantAccount() bool

HasMerchantAccount returns a boolean if a field has been set.

func (*FindTerminalResponse) HasMerchantInventory

func (o *FindTerminalResponse) HasMerchantInventory() bool

HasMerchantInventory returns a boolean if a field has been set.

func (*FindTerminalResponse) HasStore

func (o *FindTerminalResponse) HasStore() bool

HasStore returns a boolean if a field has been set.

func (FindTerminalResponse) MarshalJSON

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

func (*FindTerminalResponse) SetCompanyAccount

func (o *FindTerminalResponse) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*FindTerminalResponse) SetMerchantAccount

func (o *FindTerminalResponse) SetMerchantAccount(v string)

SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.

func (*FindTerminalResponse) SetMerchantInventory

func (o *FindTerminalResponse) SetMerchantInventory(v bool)

SetMerchantInventory gets a reference to the given bool and assigns it to the MerchantInventory field.

func (*FindTerminalResponse) SetStore

func (o *FindTerminalResponse) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (*FindTerminalResponse) SetTerminal

func (o *FindTerminalResponse) SetTerminal(v string)

SetTerminal sets field value

func (FindTerminalResponse) ToMap

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

type GeneralApi

type GeneralApi common.Service

GeneralApi service

func (*GeneralApi) AssignTerminals

AssignTerminals Assign terminals

Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiAssignTerminalsInput - Request parameters, see AssignTerminalsInput @return AssignTerminalsResponse, *http.Response, error

func (*GeneralApi) AssignTerminalsInput

func (a *GeneralApi) AssignTerminalsInput() GeneralApiAssignTerminalsInput

Prepare a request for AssignTerminals

@return GeneralApiAssignTerminalsInput

func (*GeneralApi) FindTerminal

FindTerminal Get the account or store of a terminal

Returns the company account, merchant account, or store that a payment terminal is assigned to.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiFindTerminalInput - Request parameters, see FindTerminalInput @return FindTerminalResponse, *http.Response, error

func (*GeneralApi) FindTerminalInput

func (a *GeneralApi) FindTerminalInput() GeneralApiFindTerminalInput

Prepare a request for FindTerminal

@return GeneralApiFindTerminalInput

func (*GeneralApi) GetStoresUnderAccount

GetStoresUnderAccount Get the stores of an account

Returns a list of stores associated with a company account or a merchant account, including the status of each store.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiGetStoresUnderAccountInput - Request parameters, see GetStoresUnderAccountInput @return GetStoresUnderAccountResponse, *http.Response, error

func (*GeneralApi) GetStoresUnderAccountInput

func (a *GeneralApi) GetStoresUnderAccountInput() GeneralApiGetStoresUnderAccountInput

Prepare a request for GetStoresUnderAccount

@return GeneralApiGetStoresUnderAccountInput

func (*GeneralApi) GetTerminalDetails

GetTerminalDetails Get the details of a terminal

Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiGetTerminalDetailsInput - Request parameters, see GetTerminalDetailsInput @return GetTerminalDetailsResponse, *http.Response, error

func (*GeneralApi) GetTerminalDetailsInput

func (a *GeneralApi) GetTerminalDetailsInput() GeneralApiGetTerminalDetailsInput

Prepare a request for GetTerminalDetails

@return GeneralApiGetTerminalDetailsInput

func (*GeneralApi) GetTerminalsUnderAccount

GetTerminalsUnderAccount Get the list of terminals

Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiGetTerminalsUnderAccountInput - Request parameters, see GetTerminalsUnderAccountInput @return GetTerminalsUnderAccountResponse, *http.Response, error

func (*GeneralApi) GetTerminalsUnderAccountInput

func (a *GeneralApi) GetTerminalsUnderAccountInput() GeneralApiGetTerminalsUnderAccountInput

Prepare a request for GetTerminalsUnderAccount

@return GeneralApiGetTerminalsUnderAccountInput

type GeneralApiAssignTerminalsInput

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

All parameters accepted by GeneralApi.AssignTerminals

func (GeneralApiAssignTerminalsInput) AssignTerminalsRequest

func (r GeneralApiAssignTerminalsInput) AssignTerminalsRequest(assignTerminalsRequest AssignTerminalsRequest) GeneralApiAssignTerminalsInput

type GeneralApiFindTerminalInput

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

All parameters accepted by GeneralApi.FindTerminal

func (GeneralApiFindTerminalInput) FindTerminalRequest

func (r GeneralApiFindTerminalInput) FindTerminalRequest(findTerminalRequest FindTerminalRequest) GeneralApiFindTerminalInput

type GeneralApiGetStoresUnderAccountInput

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

All parameters accepted by GeneralApi.GetStoresUnderAccount

func (GeneralApiGetStoresUnderAccountInput) GetStoresUnderAccountRequest

func (r GeneralApiGetStoresUnderAccountInput) GetStoresUnderAccountRequest(getStoresUnderAccountRequest GetStoresUnderAccountRequest) GeneralApiGetStoresUnderAccountInput

type GeneralApiGetTerminalDetailsInput

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

All parameters accepted by GeneralApi.GetTerminalDetails

func (GeneralApiGetTerminalDetailsInput) GetTerminalDetailsRequest

func (r GeneralApiGetTerminalDetailsInput) GetTerminalDetailsRequest(getTerminalDetailsRequest GetTerminalDetailsRequest) GeneralApiGetTerminalDetailsInput

type GeneralApiGetTerminalsUnderAccountInput

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

All parameters accepted by GeneralApi.GetTerminalsUnderAccount

func (GeneralApiGetTerminalsUnderAccountInput) GetTerminalsUnderAccountRequest

func (r GeneralApiGetTerminalsUnderAccountInput) GetTerminalsUnderAccountRequest(getTerminalsUnderAccountRequest GetTerminalsUnderAccountRequest) GeneralApiGetTerminalsUnderAccountInput

type GetStoresUnderAccountRequest

type GetStoresUnderAccountRequest struct {
	// The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account.
	CompanyAccount string `json:"companyAccount"`
	// The merchant account. With this parameter, the response only includes the stores of the specified merchant account.
	MerchantAccount *string `json:"merchantAccount,omitempty"`
}

GetStoresUnderAccountRequest struct for GetStoresUnderAccountRequest

func NewGetStoresUnderAccountRequest

func NewGetStoresUnderAccountRequest(companyAccount string) *GetStoresUnderAccountRequest

NewGetStoresUnderAccountRequest instantiates a new GetStoresUnderAccountRequest 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 NewGetStoresUnderAccountRequestWithDefaults

func NewGetStoresUnderAccountRequestWithDefaults() *GetStoresUnderAccountRequest

NewGetStoresUnderAccountRequestWithDefaults instantiates a new GetStoresUnderAccountRequest 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 (*GetStoresUnderAccountRequest) GetCompanyAccount

func (o *GetStoresUnderAccountRequest) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*GetStoresUnderAccountRequest) GetCompanyAccountOk

func (o *GetStoresUnderAccountRequest) GetCompanyAccountOk() (*string, bool)

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

func (*GetStoresUnderAccountRequest) GetMerchantAccount

func (o *GetStoresUnderAccountRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.

func (*GetStoresUnderAccountRequest) GetMerchantAccountOk

func (o *GetStoresUnderAccountRequest) GetMerchantAccountOk() (*string, bool)

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

func (*GetStoresUnderAccountRequest) HasMerchantAccount

func (o *GetStoresUnderAccountRequest) HasMerchantAccount() bool

HasMerchantAccount returns a boolean if a field has been set.

func (GetStoresUnderAccountRequest) MarshalJSON

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

func (*GetStoresUnderAccountRequest) SetCompanyAccount

func (o *GetStoresUnderAccountRequest) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*GetStoresUnderAccountRequest) SetMerchantAccount

func (o *GetStoresUnderAccountRequest) SetMerchantAccount(v string)

SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.

func (GetStoresUnderAccountRequest) ToMap

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

type GetStoresUnderAccountResponse

type GetStoresUnderAccountResponse struct {
	// Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account.
	Stores []Store `json:"stores,omitempty"`
}

GetStoresUnderAccountResponse struct for GetStoresUnderAccountResponse

func NewGetStoresUnderAccountResponse

func NewGetStoresUnderAccountResponse() *GetStoresUnderAccountResponse

NewGetStoresUnderAccountResponse instantiates a new GetStoresUnderAccountResponse 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 NewGetStoresUnderAccountResponseWithDefaults

func NewGetStoresUnderAccountResponseWithDefaults() *GetStoresUnderAccountResponse

NewGetStoresUnderAccountResponseWithDefaults instantiates a new GetStoresUnderAccountResponse 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 (*GetStoresUnderAccountResponse) GetStores

func (o *GetStoresUnderAccountResponse) GetStores() []Store

GetStores returns the Stores field value if set, zero value otherwise.

func (*GetStoresUnderAccountResponse) GetStoresOk

func (o *GetStoresUnderAccountResponse) GetStoresOk() ([]Store, bool)

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

func (*GetStoresUnderAccountResponse) HasStores

func (o *GetStoresUnderAccountResponse) HasStores() bool

HasStores returns a boolean if a field has been set.

func (GetStoresUnderAccountResponse) MarshalJSON

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

func (*GetStoresUnderAccountResponse) SetStores

func (o *GetStoresUnderAccountResponse) SetStores(v []Store)

SetStores gets a reference to the given []Store and assigns it to the Stores field.

func (GetStoresUnderAccountResponse) ToMap

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

type GetTerminalDetailsRequest

type GetTerminalDetailsRequest struct {
	// The unique terminal ID in the format `[Device model]-[Serial number]`.   For example, **V400m-324689776**.
	Terminal string `json:"terminal"`
}

GetTerminalDetailsRequest struct for GetTerminalDetailsRequest

func NewGetTerminalDetailsRequest

func NewGetTerminalDetailsRequest(terminal string) *GetTerminalDetailsRequest

NewGetTerminalDetailsRequest instantiates a new GetTerminalDetailsRequest 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 NewGetTerminalDetailsRequestWithDefaults

func NewGetTerminalDetailsRequestWithDefaults() *GetTerminalDetailsRequest

NewGetTerminalDetailsRequestWithDefaults instantiates a new GetTerminalDetailsRequest 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 (*GetTerminalDetailsRequest) GetTerminal

func (o *GetTerminalDetailsRequest) GetTerminal() string

GetTerminal returns the Terminal field value

func (*GetTerminalDetailsRequest) GetTerminalOk

func (o *GetTerminalDetailsRequest) GetTerminalOk() (*string, bool)

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

func (GetTerminalDetailsRequest) MarshalJSON

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

func (*GetTerminalDetailsRequest) SetTerminal

func (o *GetTerminalDetailsRequest) SetTerminal(v string)

SetTerminal sets field value

func (GetTerminalDetailsRequest) ToMap

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

type GetTerminalDetailsResponse

type GetTerminalDetailsResponse struct {
	// The Bluetooth IP address of the terminal.
	BluetoothIp *string `json:"bluetoothIp,omitempty"`
	// The Bluetooth MAC address of the terminal.
	BluetoothMac *string `json:"bluetoothMac,omitempty"`
	// The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account.
	CompanyAccount string `json:"companyAccount"`
	// The country where the terminal is used.
	Country *string `json:"country,omitempty"`
	// The model name of the terminal.
	DeviceModel *string `json:"deviceModel,omitempty"`
	// Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal.
	DhcpEnabled *bool `json:"dhcpEnabled,omitempty"`
	// The label shown on the status bar of the display. This label (if any) is specified in your Customer Area.
	DisplayLabel *string `json:"displayLabel,omitempty"`
	// The terminal's IP address in your Ethernet network.
	EthernetIp *string `json:"ethernetIp,omitempty"`
	// The terminal's MAC address in your Ethernet network.
	EthernetMac *string `json:"ethernetMac,omitempty"`
	// The software release currently in use on the terminal.
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
	// The integrated circuit card identifier (ICCID) of the SIM card in the terminal.
	Iccid *string `json:"iccid,omitempty"`
	// Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.
	LastActivityDateTime *time.Time `json:"lastActivityDateTime,omitempty"`
	// Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.
	LastTransactionDateTime *time.Time `json:"lastTransactionDateTime,omitempty"`
	// The Ethernet link negotiation that the terminal uses:   - `auto`: Auto-negotiation  - `100full`: 100 Mbps full duplex
	LinkNegotiation *string `json:"linkNegotiation,omitempty"`
	// The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account.
	MerchantAccount *string `json:"merchantAccount,omitempty"`
	// Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account.  - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded.  - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.
	MerchantInventory *bool `json:"merchantInventory,omitempty"`
	// The permanent terminal ID.
	PermanentTerminalId *string `json:"permanentTerminalId,omitempty"`
	// The serial number of the terminal.
	SerialNumber *string `json:"serialNumber,omitempty"`
	// On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.
	SimStatus *string `json:"simStatus,omitempty"`
	// The store code of the store that the terminal is assigned to.
	Store        *string `json:"store,omitempty"`
	StoreDetails *Store  `json:"storeDetails,omitempty"`
	// The unique terminal ID.
	Terminal string `json:"terminal"`
	// The status of the terminal:   - `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online.   - `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online.   - `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned.
	TerminalStatus *string `json:"terminalStatus,omitempty"`
	// The terminal's IP address in your Wi-Fi network.
	WifiIp *string `json:"wifiIp,omitempty"`
	// The terminal's MAC address in your Wi-Fi network.
	WifiMac *string `json:"wifiMac,omitempty"`
}

GetTerminalDetailsResponse struct for GetTerminalDetailsResponse

func NewGetTerminalDetailsResponse

func NewGetTerminalDetailsResponse(companyAccount string, terminal string) *GetTerminalDetailsResponse

NewGetTerminalDetailsResponse instantiates a new GetTerminalDetailsResponse 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 NewGetTerminalDetailsResponseWithDefaults

func NewGetTerminalDetailsResponseWithDefaults() *GetTerminalDetailsResponse

NewGetTerminalDetailsResponseWithDefaults instantiates a new GetTerminalDetailsResponse 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 (*GetTerminalDetailsResponse) GetBluetoothIp

func (o *GetTerminalDetailsResponse) GetBluetoothIp() string

GetBluetoothIp returns the BluetoothIp field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetBluetoothIpOk

func (o *GetTerminalDetailsResponse) GetBluetoothIpOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetBluetoothMac

func (o *GetTerminalDetailsResponse) GetBluetoothMac() string

GetBluetoothMac returns the BluetoothMac field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetBluetoothMacOk

func (o *GetTerminalDetailsResponse) GetBluetoothMacOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetCompanyAccount

func (o *GetTerminalDetailsResponse) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*GetTerminalDetailsResponse) GetCompanyAccountOk

func (o *GetTerminalDetailsResponse) GetCompanyAccountOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetCountry

func (o *GetTerminalDetailsResponse) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetCountryOk

func (o *GetTerminalDetailsResponse) GetCountryOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetDeviceModel

func (o *GetTerminalDetailsResponse) GetDeviceModel() string

GetDeviceModel returns the DeviceModel field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetDeviceModelOk

func (o *GetTerminalDetailsResponse) GetDeviceModelOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetDhcpEnabled

func (o *GetTerminalDetailsResponse) GetDhcpEnabled() bool

GetDhcpEnabled returns the DhcpEnabled field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetDhcpEnabledOk

func (o *GetTerminalDetailsResponse) GetDhcpEnabledOk() (*bool, bool)

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

func (*GetTerminalDetailsResponse) GetDisplayLabel

func (o *GetTerminalDetailsResponse) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetDisplayLabelOk

func (o *GetTerminalDetailsResponse) GetDisplayLabelOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetEthernetIp

func (o *GetTerminalDetailsResponse) GetEthernetIp() string

GetEthernetIp returns the EthernetIp field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetEthernetIpOk

func (o *GetTerminalDetailsResponse) GetEthernetIpOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetEthernetMac

func (o *GetTerminalDetailsResponse) GetEthernetMac() string

GetEthernetMac returns the EthernetMac field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetEthernetMacOk

func (o *GetTerminalDetailsResponse) GetEthernetMacOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetFirmwareVersion

func (o *GetTerminalDetailsResponse) GetFirmwareVersion() string

GetFirmwareVersion returns the FirmwareVersion field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetFirmwareVersionOk

func (o *GetTerminalDetailsResponse) GetFirmwareVersionOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetIccid

func (o *GetTerminalDetailsResponse) GetIccid() string

GetIccid returns the Iccid field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetIccidOk

func (o *GetTerminalDetailsResponse) GetIccidOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetLastActivityDateTime

func (o *GetTerminalDetailsResponse) GetLastActivityDateTime() time.Time

GetLastActivityDateTime returns the LastActivityDateTime field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetLastActivityDateTimeOk

func (o *GetTerminalDetailsResponse) GetLastActivityDateTimeOk() (*time.Time, bool)

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

func (*GetTerminalDetailsResponse) GetLastTransactionDateTime

func (o *GetTerminalDetailsResponse) GetLastTransactionDateTime() time.Time

GetLastTransactionDateTime returns the LastTransactionDateTime field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetLastTransactionDateTimeOk

func (o *GetTerminalDetailsResponse) GetLastTransactionDateTimeOk() (*time.Time, bool)

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

func (*GetTerminalDetailsResponse) GetLinkNegotiation

func (o *GetTerminalDetailsResponse) GetLinkNegotiation() string

GetLinkNegotiation returns the LinkNegotiation field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetLinkNegotiationOk

func (o *GetTerminalDetailsResponse) GetLinkNegotiationOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetMerchantAccount

func (o *GetTerminalDetailsResponse) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetMerchantAccountOk

func (o *GetTerminalDetailsResponse) GetMerchantAccountOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetMerchantInventory

func (o *GetTerminalDetailsResponse) GetMerchantInventory() bool

GetMerchantInventory returns the MerchantInventory field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetMerchantInventoryOk

func (o *GetTerminalDetailsResponse) GetMerchantInventoryOk() (*bool, bool)

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

func (*GetTerminalDetailsResponse) GetPermanentTerminalId

func (o *GetTerminalDetailsResponse) GetPermanentTerminalId() string

GetPermanentTerminalId returns the PermanentTerminalId field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetPermanentTerminalIdOk

func (o *GetTerminalDetailsResponse) GetPermanentTerminalIdOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetSerialNumber

func (o *GetTerminalDetailsResponse) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetSerialNumberOk

func (o *GetTerminalDetailsResponse) GetSerialNumberOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetSimStatus

func (o *GetTerminalDetailsResponse) GetSimStatus() string

GetSimStatus returns the SimStatus field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetSimStatusOk

func (o *GetTerminalDetailsResponse) GetSimStatusOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetStore

func (o *GetTerminalDetailsResponse) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetStoreDetails

func (o *GetTerminalDetailsResponse) GetStoreDetails() Store

GetStoreDetails returns the StoreDetails field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetStoreDetailsOk

func (o *GetTerminalDetailsResponse) GetStoreDetailsOk() (*Store, bool)

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

func (*GetTerminalDetailsResponse) GetStoreOk

func (o *GetTerminalDetailsResponse) GetStoreOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetTerminal

func (o *GetTerminalDetailsResponse) GetTerminal() string

GetTerminal returns the Terminal field value

func (*GetTerminalDetailsResponse) GetTerminalOk

func (o *GetTerminalDetailsResponse) GetTerminalOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetTerminalStatus

func (o *GetTerminalDetailsResponse) GetTerminalStatus() string

GetTerminalStatus returns the TerminalStatus field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetTerminalStatusOk

func (o *GetTerminalDetailsResponse) GetTerminalStatusOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetWifiIp

func (o *GetTerminalDetailsResponse) GetWifiIp() string

GetWifiIp returns the WifiIp field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetWifiIpOk

func (o *GetTerminalDetailsResponse) GetWifiIpOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) GetWifiMac

func (o *GetTerminalDetailsResponse) GetWifiMac() string

GetWifiMac returns the WifiMac field value if set, zero value otherwise.

func (*GetTerminalDetailsResponse) GetWifiMacOk

func (o *GetTerminalDetailsResponse) GetWifiMacOk() (*string, bool)

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

func (*GetTerminalDetailsResponse) HasBluetoothIp

func (o *GetTerminalDetailsResponse) HasBluetoothIp() bool

HasBluetoothIp returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasBluetoothMac

func (o *GetTerminalDetailsResponse) HasBluetoothMac() bool

HasBluetoothMac returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasCountry

func (o *GetTerminalDetailsResponse) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasDeviceModel

func (o *GetTerminalDetailsResponse) HasDeviceModel() bool

HasDeviceModel returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasDhcpEnabled

func (o *GetTerminalDetailsResponse) HasDhcpEnabled() bool

HasDhcpEnabled returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasDisplayLabel

func (o *GetTerminalDetailsResponse) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasEthernetIp

func (o *GetTerminalDetailsResponse) HasEthernetIp() bool

HasEthernetIp returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasEthernetMac

func (o *GetTerminalDetailsResponse) HasEthernetMac() bool

HasEthernetMac returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasFirmwareVersion

func (o *GetTerminalDetailsResponse) HasFirmwareVersion() bool

HasFirmwareVersion returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasIccid

func (o *GetTerminalDetailsResponse) HasIccid() bool

HasIccid returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasLastActivityDateTime

func (o *GetTerminalDetailsResponse) HasLastActivityDateTime() bool

HasLastActivityDateTime returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasLastTransactionDateTime

func (o *GetTerminalDetailsResponse) HasLastTransactionDateTime() bool

HasLastTransactionDateTime returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasLinkNegotiation

func (o *GetTerminalDetailsResponse) HasLinkNegotiation() bool

HasLinkNegotiation returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasMerchantAccount

func (o *GetTerminalDetailsResponse) HasMerchantAccount() bool

HasMerchantAccount returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasMerchantInventory

func (o *GetTerminalDetailsResponse) HasMerchantInventory() bool

HasMerchantInventory returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasPermanentTerminalId

func (o *GetTerminalDetailsResponse) HasPermanentTerminalId() bool

HasPermanentTerminalId returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasSerialNumber

func (o *GetTerminalDetailsResponse) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasSimStatus

func (o *GetTerminalDetailsResponse) HasSimStatus() bool

HasSimStatus returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasStore

func (o *GetTerminalDetailsResponse) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasStoreDetails

func (o *GetTerminalDetailsResponse) HasStoreDetails() bool

HasStoreDetails returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasTerminalStatus

func (o *GetTerminalDetailsResponse) HasTerminalStatus() bool

HasTerminalStatus returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasWifiIp

func (o *GetTerminalDetailsResponse) HasWifiIp() bool

HasWifiIp returns a boolean if a field has been set.

func (*GetTerminalDetailsResponse) HasWifiMac

func (o *GetTerminalDetailsResponse) HasWifiMac() bool

HasWifiMac returns a boolean if a field has been set.

func (GetTerminalDetailsResponse) MarshalJSON

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

func (*GetTerminalDetailsResponse) SetBluetoothIp

func (o *GetTerminalDetailsResponse) SetBluetoothIp(v string)

SetBluetoothIp gets a reference to the given string and assigns it to the BluetoothIp field.

func (*GetTerminalDetailsResponse) SetBluetoothMac

func (o *GetTerminalDetailsResponse) SetBluetoothMac(v string)

SetBluetoothMac gets a reference to the given string and assigns it to the BluetoothMac field.

func (*GetTerminalDetailsResponse) SetCompanyAccount

func (o *GetTerminalDetailsResponse) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*GetTerminalDetailsResponse) SetCountry

func (o *GetTerminalDetailsResponse) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*GetTerminalDetailsResponse) SetDeviceModel

func (o *GetTerminalDetailsResponse) SetDeviceModel(v string)

SetDeviceModel gets a reference to the given string and assigns it to the DeviceModel field.

func (*GetTerminalDetailsResponse) SetDhcpEnabled

func (o *GetTerminalDetailsResponse) SetDhcpEnabled(v bool)

SetDhcpEnabled gets a reference to the given bool and assigns it to the DhcpEnabled field.

func (*GetTerminalDetailsResponse) SetDisplayLabel

func (o *GetTerminalDetailsResponse) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (*GetTerminalDetailsResponse) SetEthernetIp

func (o *GetTerminalDetailsResponse) SetEthernetIp(v string)

SetEthernetIp gets a reference to the given string and assigns it to the EthernetIp field.

func (*GetTerminalDetailsResponse) SetEthernetMac

func (o *GetTerminalDetailsResponse) SetEthernetMac(v string)

SetEthernetMac gets a reference to the given string and assigns it to the EthernetMac field.

func (*GetTerminalDetailsResponse) SetFirmwareVersion

func (o *GetTerminalDetailsResponse) SetFirmwareVersion(v string)

SetFirmwareVersion gets a reference to the given string and assigns it to the FirmwareVersion field.

func (*GetTerminalDetailsResponse) SetIccid

func (o *GetTerminalDetailsResponse) SetIccid(v string)

SetIccid gets a reference to the given string and assigns it to the Iccid field.

func (*GetTerminalDetailsResponse) SetLastActivityDateTime

func (o *GetTerminalDetailsResponse) SetLastActivityDateTime(v time.Time)

SetLastActivityDateTime gets a reference to the given time.Time and assigns it to the LastActivityDateTime field.

func (*GetTerminalDetailsResponse) SetLastTransactionDateTime

func (o *GetTerminalDetailsResponse) SetLastTransactionDateTime(v time.Time)

SetLastTransactionDateTime gets a reference to the given time.Time and assigns it to the LastTransactionDateTime field.

func (*GetTerminalDetailsResponse) SetLinkNegotiation

func (o *GetTerminalDetailsResponse) SetLinkNegotiation(v string)

SetLinkNegotiation gets a reference to the given string and assigns it to the LinkNegotiation field.

func (*GetTerminalDetailsResponse) SetMerchantAccount

func (o *GetTerminalDetailsResponse) SetMerchantAccount(v string)

SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.

func (*GetTerminalDetailsResponse) SetMerchantInventory

func (o *GetTerminalDetailsResponse) SetMerchantInventory(v bool)

SetMerchantInventory gets a reference to the given bool and assigns it to the MerchantInventory field.

func (*GetTerminalDetailsResponse) SetPermanentTerminalId

func (o *GetTerminalDetailsResponse) SetPermanentTerminalId(v string)

SetPermanentTerminalId gets a reference to the given string and assigns it to the PermanentTerminalId field.

func (*GetTerminalDetailsResponse) SetSerialNumber

func (o *GetTerminalDetailsResponse) SetSerialNumber(v string)

SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.

func (*GetTerminalDetailsResponse) SetSimStatus

func (o *GetTerminalDetailsResponse) SetSimStatus(v string)

SetSimStatus gets a reference to the given string and assigns it to the SimStatus field.

func (*GetTerminalDetailsResponse) SetStore

func (o *GetTerminalDetailsResponse) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (*GetTerminalDetailsResponse) SetStoreDetails

func (o *GetTerminalDetailsResponse) SetStoreDetails(v Store)

SetStoreDetails gets a reference to the given Store and assigns it to the StoreDetails field.

func (*GetTerminalDetailsResponse) SetTerminal

func (o *GetTerminalDetailsResponse) SetTerminal(v string)

SetTerminal sets field value

func (*GetTerminalDetailsResponse) SetTerminalStatus

func (o *GetTerminalDetailsResponse) SetTerminalStatus(v string)

SetTerminalStatus gets a reference to the given string and assigns it to the TerminalStatus field.

func (*GetTerminalDetailsResponse) SetWifiIp

func (o *GetTerminalDetailsResponse) SetWifiIp(v string)

SetWifiIp gets a reference to the given string and assigns it to the WifiIp field.

func (*GetTerminalDetailsResponse) SetWifiMac

func (o *GetTerminalDetailsResponse) SetWifiMac(v string)

SetWifiMac gets a reference to the given string and assigns it to the WifiMac field.

func (GetTerminalDetailsResponse) ToMap

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

type GetTerminalsUnderAccountRequest

type GetTerminalsUnderAccountRequest struct {
	// Your company account. If you only specify this parameter, the response includes all terminals at all account levels.
	CompanyAccount string `json:"companyAccount"`
	// The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account.
	MerchantAccount *string `json:"merchantAccount,omitempty"`
	// The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store.
	Store *string `json:"store,omitempty"`
}

GetTerminalsUnderAccountRequest struct for GetTerminalsUnderAccountRequest

func NewGetTerminalsUnderAccountRequest

func NewGetTerminalsUnderAccountRequest(companyAccount string) *GetTerminalsUnderAccountRequest

NewGetTerminalsUnderAccountRequest instantiates a new GetTerminalsUnderAccountRequest 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 NewGetTerminalsUnderAccountRequestWithDefaults

func NewGetTerminalsUnderAccountRequestWithDefaults() *GetTerminalsUnderAccountRequest

NewGetTerminalsUnderAccountRequestWithDefaults instantiates a new GetTerminalsUnderAccountRequest 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 (*GetTerminalsUnderAccountRequest) GetCompanyAccount

func (o *GetTerminalsUnderAccountRequest) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*GetTerminalsUnderAccountRequest) GetCompanyAccountOk

func (o *GetTerminalsUnderAccountRequest) GetCompanyAccountOk() (*string, bool)

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

func (*GetTerminalsUnderAccountRequest) GetMerchantAccount

func (o *GetTerminalsUnderAccountRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.

func (*GetTerminalsUnderAccountRequest) GetMerchantAccountOk

func (o *GetTerminalsUnderAccountRequest) GetMerchantAccountOk() (*string, bool)

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

func (*GetTerminalsUnderAccountRequest) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*GetTerminalsUnderAccountRequest) GetStoreOk

func (o *GetTerminalsUnderAccountRequest) GetStoreOk() (*string, bool)

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

func (*GetTerminalsUnderAccountRequest) HasMerchantAccount

func (o *GetTerminalsUnderAccountRequest) HasMerchantAccount() bool

HasMerchantAccount returns a boolean if a field has been set.

func (*GetTerminalsUnderAccountRequest) HasStore

func (o *GetTerminalsUnderAccountRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (GetTerminalsUnderAccountRequest) MarshalJSON

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

func (*GetTerminalsUnderAccountRequest) SetCompanyAccount

func (o *GetTerminalsUnderAccountRequest) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*GetTerminalsUnderAccountRequest) SetMerchantAccount

func (o *GetTerminalsUnderAccountRequest) SetMerchantAccount(v string)

SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.

func (*GetTerminalsUnderAccountRequest) SetStore

func (o *GetTerminalsUnderAccountRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (GetTerminalsUnderAccountRequest) ToMap

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

type GetTerminalsUnderAccountResponse

type GetTerminalsUnderAccountResponse struct {
	// Your company account.
	CompanyAccount string `json:"companyAccount"`
	// Array that returns a list of all terminals that are in the inventory of the company account.
	InventoryTerminals []string `json:"inventoryTerminals,omitempty"`
	// Array that returns a list of all merchant accounts belonging to the company account.
	MerchantAccounts []MerchantAccount `json:"merchantAccounts,omitempty"`
}

GetTerminalsUnderAccountResponse struct for GetTerminalsUnderAccountResponse

func NewGetTerminalsUnderAccountResponse

func NewGetTerminalsUnderAccountResponse(companyAccount string) *GetTerminalsUnderAccountResponse

NewGetTerminalsUnderAccountResponse instantiates a new GetTerminalsUnderAccountResponse 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 NewGetTerminalsUnderAccountResponseWithDefaults

func NewGetTerminalsUnderAccountResponseWithDefaults() *GetTerminalsUnderAccountResponse

NewGetTerminalsUnderAccountResponseWithDefaults instantiates a new GetTerminalsUnderAccountResponse 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 (*GetTerminalsUnderAccountResponse) GetCompanyAccount

func (o *GetTerminalsUnderAccountResponse) GetCompanyAccount() string

GetCompanyAccount returns the CompanyAccount field value

func (*GetTerminalsUnderAccountResponse) GetCompanyAccountOk

func (o *GetTerminalsUnderAccountResponse) GetCompanyAccountOk() (*string, bool)

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

func (*GetTerminalsUnderAccountResponse) GetInventoryTerminals

func (o *GetTerminalsUnderAccountResponse) GetInventoryTerminals() []string

GetInventoryTerminals returns the InventoryTerminals field value if set, zero value otherwise.

func (*GetTerminalsUnderAccountResponse) GetInventoryTerminalsOk

func (o *GetTerminalsUnderAccountResponse) GetInventoryTerminalsOk() ([]string, bool)

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

func (*GetTerminalsUnderAccountResponse) GetMerchantAccounts

func (o *GetTerminalsUnderAccountResponse) GetMerchantAccounts() []MerchantAccount

GetMerchantAccounts returns the MerchantAccounts field value if set, zero value otherwise.

func (*GetTerminalsUnderAccountResponse) GetMerchantAccountsOk

func (o *GetTerminalsUnderAccountResponse) GetMerchantAccountsOk() ([]MerchantAccount, bool)

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

func (*GetTerminalsUnderAccountResponse) HasInventoryTerminals

func (o *GetTerminalsUnderAccountResponse) HasInventoryTerminals() bool

HasInventoryTerminals returns a boolean if a field has been set.

func (*GetTerminalsUnderAccountResponse) HasMerchantAccounts

func (o *GetTerminalsUnderAccountResponse) HasMerchantAccounts() bool

HasMerchantAccounts returns a boolean if a field has been set.

func (GetTerminalsUnderAccountResponse) MarshalJSON

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

func (*GetTerminalsUnderAccountResponse) SetCompanyAccount

func (o *GetTerminalsUnderAccountResponse) SetCompanyAccount(v string)

SetCompanyAccount sets field value

func (*GetTerminalsUnderAccountResponse) SetInventoryTerminals

func (o *GetTerminalsUnderAccountResponse) SetInventoryTerminals(v []string)

SetInventoryTerminals gets a reference to the given []string and assigns it to the InventoryTerminals field.

func (*GetTerminalsUnderAccountResponse) SetMerchantAccounts

func (o *GetTerminalsUnderAccountResponse) SetMerchantAccounts(v []MerchantAccount)

SetMerchantAccounts gets a reference to the given []MerchantAccount and assigns it to the MerchantAccounts field.

func (GetTerminalsUnderAccountResponse) ToMap

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

type MerchantAccount

type MerchantAccount struct {
	// List of terminals assigned to this merchant account as in-store terminals. This means that the terminal is ready to be boarded, or is already boarded.
	InStoreTerminals []string `json:"inStoreTerminals,omitempty"`
	// List of terminals assigned to the inventory of this merchant account.
	InventoryTerminals []string `json:"inventoryTerminals,omitempty"`
	// The merchant account.
	MerchantAccount string `json:"merchantAccount"`
	// Array of stores under this merchant account.
	Stores []Store `json:"stores,omitempty"`
}

MerchantAccount struct for MerchantAccount

func NewMerchantAccount

func NewMerchantAccount(merchantAccount string) *MerchantAccount

NewMerchantAccount instantiates a new MerchantAccount 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 NewMerchantAccountWithDefaults

func NewMerchantAccountWithDefaults() *MerchantAccount

NewMerchantAccountWithDefaults instantiates a new MerchantAccount 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 (*MerchantAccount) GetInStoreTerminals

func (o *MerchantAccount) GetInStoreTerminals() []string

GetInStoreTerminals returns the InStoreTerminals field value if set, zero value otherwise.

func (*MerchantAccount) GetInStoreTerminalsOk

func (o *MerchantAccount) GetInStoreTerminalsOk() ([]string, bool)

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

func (*MerchantAccount) GetInventoryTerminals

func (o *MerchantAccount) GetInventoryTerminals() []string

GetInventoryTerminals returns the InventoryTerminals field value if set, zero value otherwise.

func (*MerchantAccount) GetInventoryTerminalsOk

func (o *MerchantAccount) GetInventoryTerminalsOk() ([]string, bool)

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

func (*MerchantAccount) GetMerchantAccount

func (o *MerchantAccount) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*MerchantAccount) GetMerchantAccountOk

func (o *MerchantAccount) GetMerchantAccountOk() (*string, bool)

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

func (*MerchantAccount) GetStores

func (o *MerchantAccount) GetStores() []Store

GetStores returns the Stores field value if set, zero value otherwise.

func (*MerchantAccount) GetStoresOk

func (o *MerchantAccount) GetStoresOk() ([]Store, bool)

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

func (*MerchantAccount) HasInStoreTerminals

func (o *MerchantAccount) HasInStoreTerminals() bool

HasInStoreTerminals returns a boolean if a field has been set.

func (*MerchantAccount) HasInventoryTerminals

func (o *MerchantAccount) HasInventoryTerminals() bool

HasInventoryTerminals returns a boolean if a field has been set.

func (*MerchantAccount) HasStores

func (o *MerchantAccount) HasStores() bool

HasStores returns a boolean if a field has been set.

func (MerchantAccount) MarshalJSON

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

func (*MerchantAccount) SetInStoreTerminals

func (o *MerchantAccount) SetInStoreTerminals(v []string)

SetInStoreTerminals gets a reference to the given []string and assigns it to the InStoreTerminals field.

func (*MerchantAccount) SetInventoryTerminals

func (o *MerchantAccount) SetInventoryTerminals(v []string)

SetInventoryTerminals gets a reference to the given []string and assigns it to the InventoryTerminals field.

func (*MerchantAccount) SetMerchantAccount

func (o *MerchantAccount) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*MerchantAccount) SetStores

func (o *MerchantAccount) SetStores(v []Store)

SetStores gets a reference to the given []Store and assigns it to the Stores field.

func (MerchantAccount) ToMap

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

type NullableAddress

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

func NewNullableAddress

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON

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

func (*NullableAddress) Set

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON

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

func (*NullableAddress) Unset

func (v *NullableAddress) Unset()

type NullableAssignTerminalsRequest

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

func (NullableAssignTerminalsRequest) Get

func (NullableAssignTerminalsRequest) IsSet

func (NullableAssignTerminalsRequest) MarshalJSON

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

func (*NullableAssignTerminalsRequest) Set

func (*NullableAssignTerminalsRequest) UnmarshalJSON

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

func (*NullableAssignTerminalsRequest) Unset

func (v *NullableAssignTerminalsRequest) Unset()

type NullableAssignTerminalsResponse

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

func (NullableAssignTerminalsResponse) Get

func (NullableAssignTerminalsResponse) IsSet

func (NullableAssignTerminalsResponse) MarshalJSON

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

func (*NullableAssignTerminalsResponse) Set

func (*NullableAssignTerminalsResponse) UnmarshalJSON

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

func (*NullableAssignTerminalsResponse) Unset

type NullableFindTerminalRequest

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

func NewNullableFindTerminalRequest

func NewNullableFindTerminalRequest(val *FindTerminalRequest) *NullableFindTerminalRequest

func (NullableFindTerminalRequest) Get

func (NullableFindTerminalRequest) IsSet

func (NullableFindTerminalRequest) MarshalJSON

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

func (*NullableFindTerminalRequest) Set

func (*NullableFindTerminalRequest) UnmarshalJSON

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

func (*NullableFindTerminalRequest) Unset

func (v *NullableFindTerminalRequest) Unset()

type NullableFindTerminalResponse

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

func NewNullableFindTerminalResponse

func NewNullableFindTerminalResponse(val *FindTerminalResponse) *NullableFindTerminalResponse

func (NullableFindTerminalResponse) Get

func (NullableFindTerminalResponse) IsSet

func (NullableFindTerminalResponse) MarshalJSON

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

func (*NullableFindTerminalResponse) Set

func (*NullableFindTerminalResponse) UnmarshalJSON

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

func (*NullableFindTerminalResponse) Unset

func (v *NullableFindTerminalResponse) Unset()

type NullableGetStoresUnderAccountRequest

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

func (NullableGetStoresUnderAccountRequest) Get

func (NullableGetStoresUnderAccountRequest) IsSet

func (NullableGetStoresUnderAccountRequest) MarshalJSON

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

func (*NullableGetStoresUnderAccountRequest) Set

func (*NullableGetStoresUnderAccountRequest) UnmarshalJSON

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

func (*NullableGetStoresUnderAccountRequest) Unset

type NullableGetStoresUnderAccountResponse

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

func (NullableGetStoresUnderAccountResponse) Get

func (NullableGetStoresUnderAccountResponse) IsSet

func (NullableGetStoresUnderAccountResponse) MarshalJSON

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

func (*NullableGetStoresUnderAccountResponse) Set

func (*NullableGetStoresUnderAccountResponse) UnmarshalJSON

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

func (*NullableGetStoresUnderAccountResponse) Unset

type NullableGetTerminalDetailsRequest

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

func (NullableGetTerminalDetailsRequest) Get

func (NullableGetTerminalDetailsRequest) IsSet

func (NullableGetTerminalDetailsRequest) MarshalJSON

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

func (*NullableGetTerminalDetailsRequest) Set

func (*NullableGetTerminalDetailsRequest) UnmarshalJSON

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

func (*NullableGetTerminalDetailsRequest) Unset

type NullableGetTerminalDetailsResponse

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

func (NullableGetTerminalDetailsResponse) Get

func (NullableGetTerminalDetailsResponse) IsSet

func (NullableGetTerminalDetailsResponse) MarshalJSON

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

func (*NullableGetTerminalDetailsResponse) Set

func (*NullableGetTerminalDetailsResponse) UnmarshalJSON

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

func (*NullableGetTerminalDetailsResponse) Unset

type NullableGetTerminalsUnderAccountRequest

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

func (NullableGetTerminalsUnderAccountRequest) Get

func (NullableGetTerminalsUnderAccountRequest) IsSet

func (NullableGetTerminalsUnderAccountRequest) MarshalJSON

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

func (*NullableGetTerminalsUnderAccountRequest) Set

func (*NullableGetTerminalsUnderAccountRequest) UnmarshalJSON

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

func (*NullableGetTerminalsUnderAccountRequest) Unset

type NullableGetTerminalsUnderAccountResponse

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

func (NullableGetTerminalsUnderAccountResponse) Get

func (NullableGetTerminalsUnderAccountResponse) IsSet

func (NullableGetTerminalsUnderAccountResponse) MarshalJSON

func (*NullableGetTerminalsUnderAccountResponse) Set

func (*NullableGetTerminalsUnderAccountResponse) UnmarshalJSON

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

func (*NullableGetTerminalsUnderAccountResponse) Unset

type NullableMerchantAccount

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

func NewNullableMerchantAccount

func NewNullableMerchantAccount(val *MerchantAccount) *NullableMerchantAccount

func (NullableMerchantAccount) Get

func (NullableMerchantAccount) IsSet

func (v NullableMerchantAccount) IsSet() bool

func (NullableMerchantAccount) MarshalJSON

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

func (*NullableMerchantAccount) Set

func (*NullableMerchantAccount) UnmarshalJSON

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

func (*NullableMerchantAccount) Unset

func (v *NullableMerchantAccount) Unset()

type NullableServiceError

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

func NewNullableServiceError

func NewNullableServiceError(val *ServiceError) *NullableServiceError

func (NullableServiceError) Get

func (NullableServiceError) IsSet

func (v NullableServiceError) IsSet() bool

func (NullableServiceError) MarshalJSON

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

func (*NullableServiceError) Set

func (v *NullableServiceError) Set(val *ServiceError)

func (*NullableServiceError) UnmarshalJSON

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

func (*NullableServiceError) Unset

func (v *NullableServiceError) Unset()

type NullableStore

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

func NewNullableStore

func NewNullableStore(val *Store) *NullableStore

func (NullableStore) Get

func (v NullableStore) Get() *Store

func (NullableStore) IsSet

func (v NullableStore) IsSet() bool

func (NullableStore) MarshalJSON

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

func (*NullableStore) Set

func (v *NullableStore) Set(val *Store)

func (*NullableStore) UnmarshalJSON

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

func (*NullableStore) Unset

func (v *NullableStore) Unset()

type ServiceError

type ServiceError struct {
	// The error code mapped to the error message.
	ErrorCode *string `json:"errorCode,omitempty"`
	// The category of the error.
	ErrorType *string `json:"errorType,omitempty"`
	// A short explanation of the issue.
	Message *string `json:"message,omitempty"`
	// The PSP reference of the payment.
	PspReference *string `json:"pspReference,omitempty"`
	// The HTTP response status.
	Status *int32 `json:"status,omitempty"`
}

ServiceError struct for ServiceError

func NewServiceError

func NewServiceError() *ServiceError

NewServiceError instantiates a new ServiceError 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 NewServiceErrorWithDefaults

func NewServiceErrorWithDefaults() *ServiceError

NewServiceErrorWithDefaults instantiates a new ServiceError 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 (*ServiceError) GetErrorCode

func (o *ServiceError) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ServiceError) GetErrorCodeOk

func (o *ServiceError) GetErrorCodeOk() (*string, bool)

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

func (*ServiceError) GetErrorType

func (o *ServiceError) GetErrorType() string

GetErrorType returns the ErrorType field value if set, zero value otherwise.

func (*ServiceError) GetErrorTypeOk

func (o *ServiceError) GetErrorTypeOk() (*string, bool)

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

func (*ServiceError) GetMessage

func (o *ServiceError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ServiceError) GetMessageOk

func (o *ServiceError) GetMessageOk() (*string, bool)

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

func (*ServiceError) GetPspReference

func (o *ServiceError) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*ServiceError) GetPspReferenceOk

func (o *ServiceError) GetPspReferenceOk() (*string, bool)

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

func (*ServiceError) GetStatus

func (o *ServiceError) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServiceError) GetStatusOk

func (o *ServiceError) GetStatusOk() (*int32, bool)

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

func (*ServiceError) HasErrorCode

func (o *ServiceError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ServiceError) HasErrorType

func (o *ServiceError) HasErrorType() bool

HasErrorType returns a boolean if a field has been set.

func (*ServiceError) HasMessage

func (o *ServiceError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ServiceError) HasPspReference

func (o *ServiceError) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*ServiceError) HasStatus

func (o *ServiceError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ServiceError) MarshalJSON

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

func (*ServiceError) SetErrorCode

func (o *ServiceError) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ServiceError) SetErrorType

func (o *ServiceError) SetErrorType(v string)

SetErrorType gets a reference to the given string and assigns it to the ErrorType field.

func (*ServiceError) SetMessage

func (o *ServiceError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ServiceError) SetPspReference

func (o *ServiceError) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*ServiceError) SetStatus

func (o *ServiceError) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (ServiceError) ToMap

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

type Store

type Store struct {
	Address *Address `json:"address,omitempty"`
	// The description of the store.
	Description *string `json:"description,omitempty"`
	// The list of terminals assigned to the store.
	InStoreTerminals []string `json:"inStoreTerminals,omitempty"`
	// The code of the merchant account.
	MerchantAccountCode *string `json:"merchantAccountCode,omitempty"`
	// The status of the store:  - `PreActive`: the store has been created, but not yet activated.   - `Active`: the store has been activated. This means you can process payments for this store.   - `Inactive`: the store is currently not active.   - `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible.   - `Closed`: the store has been closed.
	Status *string `json:"status,omitempty"`
	// The code of the store.
	Store string `json:"store"`
}

Store struct for Store

func NewStore

func NewStore(store string) *Store

NewStore instantiates a new Store 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 NewStoreWithDefaults

func NewStoreWithDefaults() *Store

NewStoreWithDefaults instantiates a new Store 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 (*Store) GetAddress

func (o *Store) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*Store) GetAddressOk

func (o *Store) GetAddressOk() (*Address, bool)

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

func (*Store) GetDescription

func (o *Store) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Store) GetDescriptionOk

func (o *Store) 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 (*Store) GetInStoreTerminals

func (o *Store) GetInStoreTerminals() []string

GetInStoreTerminals returns the InStoreTerminals field value if set, zero value otherwise.

func (*Store) GetInStoreTerminalsOk

func (o *Store) GetInStoreTerminalsOk() ([]string, bool)

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

func (*Store) GetMerchantAccountCode

func (o *Store) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value if set, zero value otherwise.

func (*Store) GetMerchantAccountCodeOk

func (o *Store) GetMerchantAccountCodeOk() (*string, bool)

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

func (*Store) GetStatus

func (o *Store) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Store) GetStatusOk

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

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

func (*Store) GetStore

func (o *Store) GetStore() string

GetStore returns the Store field value

func (*Store) GetStoreOk

func (o *Store) GetStoreOk() (*string, bool)

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

func (*Store) HasAddress

func (o *Store) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Store) HasDescription

func (o *Store) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Store) HasInStoreTerminals

func (o *Store) HasInStoreTerminals() bool

HasInStoreTerminals returns a boolean if a field has been set.

func (*Store) HasMerchantAccountCode

func (o *Store) HasMerchantAccountCode() bool

HasMerchantAccountCode returns a boolean if a field has been set.

func (*Store) HasStatus

func (o *Store) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Store) MarshalJSON

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

func (*Store) SetAddress

func (o *Store) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*Store) SetDescription

func (o *Store) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Store) SetInStoreTerminals

func (o *Store) SetInStoreTerminals(v []string)

SetInStoreTerminals gets a reference to the given []string and assigns it to the InStoreTerminals field.

func (*Store) SetMerchantAccountCode

func (o *Store) SetMerchantAccountCode(v string)

SetMerchantAccountCode gets a reference to the given string and assigns it to the MerchantAccountCode field.

func (*Store) SetStatus

func (o *Store) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Store) SetStore

func (o *Store) SetStore(v string)

SetStore sets field value

func (Store) ToMap

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL