Documentation ¶
Index ¶
- type Address
- func (o *Address) GetCity() string
- func (o *Address) GetCityOk() (*string, bool)
- func (o *Address) GetCountryCode() string
- func (o *Address) GetCountryCodeOk() (*string, bool)
- func (o *Address) GetPostalCode() string
- func (o *Address) GetPostalCodeOk() (*string, bool)
- func (o *Address) GetStateOrProvince() string
- func (o *Address) GetStateOrProvinceOk() (*string, bool)
- func (o *Address) GetStreetAddress() string
- func (o *Address) GetStreetAddress2() string
- func (o *Address) GetStreetAddress2Ok() (*string, bool)
- func (o *Address) GetStreetAddressOk() (*string, bool)
- func (o *Address) HasCity() bool
- func (o *Address) HasCountryCode() bool
- func (o *Address) HasPostalCode() bool
- func (o *Address) HasStateOrProvince() bool
- func (o *Address) HasStreetAddress() bool
- func (o *Address) HasStreetAddress2() bool
- func (o Address) MarshalJSON() ([]byte, error)
- func (o *Address) SetCity(v string)
- func (o *Address) SetCountryCode(v string)
- func (o *Address) SetPostalCode(v string)
- func (o *Address) SetStateOrProvince(v string)
- func (o *Address) SetStreetAddress(v string)
- func (o *Address) SetStreetAddress2(v string)
- func (o Address) ToMap() (map[string]interface{}, error)
- type AssignTerminalsRequest
- func (o *AssignTerminalsRequest) GetCompanyAccount() string
- func (o *AssignTerminalsRequest) GetCompanyAccountOk() (*string, bool)
- func (o *AssignTerminalsRequest) GetMerchantAccount() string
- func (o *AssignTerminalsRequest) GetMerchantAccountOk() (*string, bool)
- func (o *AssignTerminalsRequest) GetMerchantInventory() bool
- func (o *AssignTerminalsRequest) GetMerchantInventoryOk() (*bool, bool)
- func (o *AssignTerminalsRequest) GetStore() string
- func (o *AssignTerminalsRequest) GetStoreOk() (*string, bool)
- func (o *AssignTerminalsRequest) GetTerminals() []string
- func (o *AssignTerminalsRequest) GetTerminalsOk() ([]string, bool)
- func (o *AssignTerminalsRequest) HasMerchantAccount() bool
- func (o *AssignTerminalsRequest) HasMerchantInventory() bool
- func (o *AssignTerminalsRequest) HasStore() bool
- func (o AssignTerminalsRequest) MarshalJSON() ([]byte, error)
- func (o *AssignTerminalsRequest) SetCompanyAccount(v string)
- func (o *AssignTerminalsRequest) SetMerchantAccount(v string)
- func (o *AssignTerminalsRequest) SetMerchantInventory(v bool)
- func (o *AssignTerminalsRequest) SetStore(v string)
- func (o *AssignTerminalsRequest) SetTerminals(v []string)
- func (o AssignTerminalsRequest) ToMap() (map[string]interface{}, error)
- type AssignTerminalsResponse
- func (o *AssignTerminalsResponse) GetResults() map[string]string
- func (o *AssignTerminalsResponse) GetResultsOk() (*map[string]string, bool)
- func (o AssignTerminalsResponse) MarshalJSON() ([]byte, error)
- func (o *AssignTerminalsResponse) SetResults(v map[string]string)
- func (o AssignTerminalsResponse) ToMap() (map[string]interface{}, error)
- type FindTerminalRequest
- type FindTerminalResponse
- func (o *FindTerminalResponse) GetCompanyAccount() string
- func (o *FindTerminalResponse) GetCompanyAccountOk() (*string, bool)
- func (o *FindTerminalResponse) GetMerchantAccount() string
- func (o *FindTerminalResponse) GetMerchantAccountOk() (*string, bool)
- func (o *FindTerminalResponse) GetMerchantInventory() bool
- func (o *FindTerminalResponse) GetMerchantInventoryOk() (*bool, bool)
- func (o *FindTerminalResponse) GetStore() string
- func (o *FindTerminalResponse) GetStoreOk() (*string, bool)
- func (o *FindTerminalResponse) GetTerminal() string
- func (o *FindTerminalResponse) GetTerminalOk() (*string, bool)
- func (o *FindTerminalResponse) HasMerchantAccount() bool
- func (o *FindTerminalResponse) HasMerchantInventory() bool
- func (o *FindTerminalResponse) HasStore() bool
- func (o FindTerminalResponse) MarshalJSON() ([]byte, error)
- func (o *FindTerminalResponse) SetCompanyAccount(v string)
- func (o *FindTerminalResponse) SetMerchantAccount(v string)
- func (o *FindTerminalResponse) SetMerchantInventory(v bool)
- func (o *FindTerminalResponse) SetStore(v string)
- func (o *FindTerminalResponse) SetTerminal(v string)
- func (o FindTerminalResponse) ToMap() (map[string]interface{}, error)
- type GeneralApi
- func (a *GeneralApi) AssignTerminals(ctx context.Context, r GeneralApiAssignTerminalsInput) (AssignTerminalsResponse, *http.Response, error)
- func (a *GeneralApi) AssignTerminalsInput() GeneralApiAssignTerminalsInput
- func (a *GeneralApi) FindTerminal(ctx context.Context, r GeneralApiFindTerminalInput) (FindTerminalResponse, *http.Response, error)
- func (a *GeneralApi) FindTerminalInput() GeneralApiFindTerminalInput
- func (a *GeneralApi) GetStoresUnderAccount(ctx context.Context, r GeneralApiGetStoresUnderAccountInput) (GetStoresUnderAccountResponse, *http.Response, error)
- func (a *GeneralApi) GetStoresUnderAccountInput() GeneralApiGetStoresUnderAccountInput
- func (a *GeneralApi) GetTerminalDetails(ctx context.Context, r GeneralApiGetTerminalDetailsInput) (GetTerminalDetailsResponse, *http.Response, error)
- func (a *GeneralApi) GetTerminalDetailsInput() GeneralApiGetTerminalDetailsInput
- func (a *GeneralApi) GetTerminalsUnderAccount(ctx context.Context, r GeneralApiGetTerminalsUnderAccountInput) (GetTerminalsUnderAccountResponse, *http.Response, error)
- func (a *GeneralApi) GetTerminalsUnderAccountInput() GeneralApiGetTerminalsUnderAccountInput
- type GeneralApiAssignTerminalsInput
- type GeneralApiFindTerminalInput
- type GeneralApiGetStoresUnderAccountInput
- type GeneralApiGetTerminalDetailsInput
- type GeneralApiGetTerminalsUnderAccountInput
- type GetStoresUnderAccountRequest
- func (o *GetStoresUnderAccountRequest) GetCompanyAccount() string
- func (o *GetStoresUnderAccountRequest) GetCompanyAccountOk() (*string, bool)
- func (o *GetStoresUnderAccountRequest) GetMerchantAccount() string
- func (o *GetStoresUnderAccountRequest) GetMerchantAccountOk() (*string, bool)
- func (o *GetStoresUnderAccountRequest) HasMerchantAccount() bool
- func (o GetStoresUnderAccountRequest) MarshalJSON() ([]byte, error)
- func (o *GetStoresUnderAccountRequest) SetCompanyAccount(v string)
- func (o *GetStoresUnderAccountRequest) SetMerchantAccount(v string)
- func (o GetStoresUnderAccountRequest) ToMap() (map[string]interface{}, error)
- type GetStoresUnderAccountResponse
- func (o *GetStoresUnderAccountResponse) GetStores() []Store
- func (o *GetStoresUnderAccountResponse) GetStoresOk() ([]Store, bool)
- func (o *GetStoresUnderAccountResponse) HasStores() bool
- func (o GetStoresUnderAccountResponse) MarshalJSON() ([]byte, error)
- func (o *GetStoresUnderAccountResponse) SetStores(v []Store)
- func (o GetStoresUnderAccountResponse) ToMap() (map[string]interface{}, error)
- type GetTerminalDetailsRequest
- func (o *GetTerminalDetailsRequest) GetTerminal() string
- func (o *GetTerminalDetailsRequest) GetTerminalOk() (*string, bool)
- func (o GetTerminalDetailsRequest) MarshalJSON() ([]byte, error)
- func (o *GetTerminalDetailsRequest) SetTerminal(v string)
- func (o GetTerminalDetailsRequest) ToMap() (map[string]interface{}, error)
- type GetTerminalDetailsResponse
- func (o *GetTerminalDetailsResponse) GetBluetoothIp() string
- func (o *GetTerminalDetailsResponse) GetBluetoothIpOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetBluetoothMac() string
- func (o *GetTerminalDetailsResponse) GetBluetoothMacOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetCompanyAccount() string
- func (o *GetTerminalDetailsResponse) GetCompanyAccountOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetCountry() string
- func (o *GetTerminalDetailsResponse) GetCountryOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetDeviceModel() string
- func (o *GetTerminalDetailsResponse) GetDeviceModelOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetDhcpEnabled() bool
- func (o *GetTerminalDetailsResponse) GetDhcpEnabledOk() (*bool, bool)
- func (o *GetTerminalDetailsResponse) GetDisplayLabel() string
- func (o *GetTerminalDetailsResponse) GetDisplayLabelOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetEthernetIp() string
- func (o *GetTerminalDetailsResponse) GetEthernetIpOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetEthernetMac() string
- func (o *GetTerminalDetailsResponse) GetEthernetMacOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetFirmwareVersion() string
- func (o *GetTerminalDetailsResponse) GetFirmwareVersionOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetIccid() string
- func (o *GetTerminalDetailsResponse) GetIccidOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetLastActivityDateTime() time.Time
- func (o *GetTerminalDetailsResponse) GetLastActivityDateTimeOk() (*time.Time, bool)
- func (o *GetTerminalDetailsResponse) GetLastTransactionDateTime() time.Time
- func (o *GetTerminalDetailsResponse) GetLastTransactionDateTimeOk() (*time.Time, bool)
- func (o *GetTerminalDetailsResponse) GetLinkNegotiation() string
- func (o *GetTerminalDetailsResponse) GetLinkNegotiationOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetMerchantAccount() string
- func (o *GetTerminalDetailsResponse) GetMerchantAccountOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetMerchantInventory() bool
- func (o *GetTerminalDetailsResponse) GetMerchantInventoryOk() (*bool, bool)
- func (o *GetTerminalDetailsResponse) GetPermanentTerminalId() string
- func (o *GetTerminalDetailsResponse) GetPermanentTerminalIdOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetSerialNumber() string
- func (o *GetTerminalDetailsResponse) GetSerialNumberOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetSimStatus() string
- func (o *GetTerminalDetailsResponse) GetSimStatusOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetStore() string
- func (o *GetTerminalDetailsResponse) GetStoreDetails() Store
- func (o *GetTerminalDetailsResponse) GetStoreDetailsOk() (*Store, bool)
- func (o *GetTerminalDetailsResponse) GetStoreOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetTerminal() string
- func (o *GetTerminalDetailsResponse) GetTerminalOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetTerminalStatus() string
- func (o *GetTerminalDetailsResponse) GetTerminalStatusOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetWifiIp() string
- func (o *GetTerminalDetailsResponse) GetWifiIpOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) GetWifiMac() string
- func (o *GetTerminalDetailsResponse) GetWifiMacOk() (*string, bool)
- func (o *GetTerminalDetailsResponse) HasBluetoothIp() bool
- func (o *GetTerminalDetailsResponse) HasBluetoothMac() bool
- func (o *GetTerminalDetailsResponse) HasCountry() bool
- func (o *GetTerminalDetailsResponse) HasDeviceModel() bool
- func (o *GetTerminalDetailsResponse) HasDhcpEnabled() bool
- func (o *GetTerminalDetailsResponse) HasDisplayLabel() bool
- func (o *GetTerminalDetailsResponse) HasEthernetIp() bool
- func (o *GetTerminalDetailsResponse) HasEthernetMac() bool
- func (o *GetTerminalDetailsResponse) HasFirmwareVersion() bool
- func (o *GetTerminalDetailsResponse) HasIccid() bool
- func (o *GetTerminalDetailsResponse) HasLastActivityDateTime() bool
- func (o *GetTerminalDetailsResponse) HasLastTransactionDateTime() bool
- func (o *GetTerminalDetailsResponse) HasLinkNegotiation() bool
- func (o *GetTerminalDetailsResponse) HasMerchantAccount() bool
- func (o *GetTerminalDetailsResponse) HasMerchantInventory() bool
- func (o *GetTerminalDetailsResponse) HasPermanentTerminalId() bool
- func (o *GetTerminalDetailsResponse) HasSerialNumber() bool
- func (o *GetTerminalDetailsResponse) HasSimStatus() bool
- func (o *GetTerminalDetailsResponse) HasStore() bool
- func (o *GetTerminalDetailsResponse) HasStoreDetails() bool
- func (o *GetTerminalDetailsResponse) HasTerminalStatus() bool
- func (o *GetTerminalDetailsResponse) HasWifiIp() bool
- func (o *GetTerminalDetailsResponse) HasWifiMac() bool
- func (o GetTerminalDetailsResponse) MarshalJSON() ([]byte, error)
- func (o *GetTerminalDetailsResponse) SetBluetoothIp(v string)
- func (o *GetTerminalDetailsResponse) SetBluetoothMac(v string)
- func (o *GetTerminalDetailsResponse) SetCompanyAccount(v string)
- func (o *GetTerminalDetailsResponse) SetCountry(v string)
- func (o *GetTerminalDetailsResponse) SetDeviceModel(v string)
- func (o *GetTerminalDetailsResponse) SetDhcpEnabled(v bool)
- func (o *GetTerminalDetailsResponse) SetDisplayLabel(v string)
- func (o *GetTerminalDetailsResponse) SetEthernetIp(v string)
- func (o *GetTerminalDetailsResponse) SetEthernetMac(v string)
- func (o *GetTerminalDetailsResponse) SetFirmwareVersion(v string)
- func (o *GetTerminalDetailsResponse) SetIccid(v string)
- func (o *GetTerminalDetailsResponse) SetLastActivityDateTime(v time.Time)
- func (o *GetTerminalDetailsResponse) SetLastTransactionDateTime(v time.Time)
- func (o *GetTerminalDetailsResponse) SetLinkNegotiation(v string)
- func (o *GetTerminalDetailsResponse) SetMerchantAccount(v string)
- func (o *GetTerminalDetailsResponse) SetMerchantInventory(v bool)
- func (o *GetTerminalDetailsResponse) SetPermanentTerminalId(v string)
- func (o *GetTerminalDetailsResponse) SetSerialNumber(v string)
- func (o *GetTerminalDetailsResponse) SetSimStatus(v string)
- func (o *GetTerminalDetailsResponse) SetStore(v string)
- func (o *GetTerminalDetailsResponse) SetStoreDetails(v Store)
- func (o *GetTerminalDetailsResponse) SetTerminal(v string)
- func (o *GetTerminalDetailsResponse) SetTerminalStatus(v string)
- func (o *GetTerminalDetailsResponse) SetWifiIp(v string)
- func (o *GetTerminalDetailsResponse) SetWifiMac(v string)
- func (o GetTerminalDetailsResponse) ToMap() (map[string]interface{}, error)
- type GetTerminalsUnderAccountRequest
- func (o *GetTerminalsUnderAccountRequest) GetCompanyAccount() string
- func (o *GetTerminalsUnderAccountRequest) GetCompanyAccountOk() (*string, bool)
- func (o *GetTerminalsUnderAccountRequest) GetMerchantAccount() string
- func (o *GetTerminalsUnderAccountRequest) GetMerchantAccountOk() (*string, bool)
- func (o *GetTerminalsUnderAccountRequest) GetStore() string
- func (o *GetTerminalsUnderAccountRequest) GetStoreOk() (*string, bool)
- func (o *GetTerminalsUnderAccountRequest) HasMerchantAccount() bool
- func (o *GetTerminalsUnderAccountRequest) HasStore() bool
- func (o GetTerminalsUnderAccountRequest) MarshalJSON() ([]byte, error)
- func (o *GetTerminalsUnderAccountRequest) SetCompanyAccount(v string)
- func (o *GetTerminalsUnderAccountRequest) SetMerchantAccount(v string)
- func (o *GetTerminalsUnderAccountRequest) SetStore(v string)
- func (o GetTerminalsUnderAccountRequest) ToMap() (map[string]interface{}, error)
- type GetTerminalsUnderAccountResponse
- func (o *GetTerminalsUnderAccountResponse) GetCompanyAccount() string
- func (o *GetTerminalsUnderAccountResponse) GetCompanyAccountOk() (*string, bool)
- func (o *GetTerminalsUnderAccountResponse) GetInventoryTerminals() []string
- func (o *GetTerminalsUnderAccountResponse) GetInventoryTerminalsOk() ([]string, bool)
- func (o *GetTerminalsUnderAccountResponse) GetMerchantAccounts() []MerchantAccount
- func (o *GetTerminalsUnderAccountResponse) GetMerchantAccountsOk() ([]MerchantAccount, bool)
- func (o *GetTerminalsUnderAccountResponse) HasInventoryTerminals() bool
- func (o *GetTerminalsUnderAccountResponse) HasMerchantAccounts() bool
- func (o GetTerminalsUnderAccountResponse) MarshalJSON() ([]byte, error)
- func (o *GetTerminalsUnderAccountResponse) SetCompanyAccount(v string)
- func (o *GetTerminalsUnderAccountResponse) SetInventoryTerminals(v []string)
- func (o *GetTerminalsUnderAccountResponse) SetMerchantAccounts(v []MerchantAccount)
- func (o GetTerminalsUnderAccountResponse) ToMap() (map[string]interface{}, error)
- type MerchantAccount
- func (o *MerchantAccount) GetInStoreTerminals() []string
- func (o *MerchantAccount) GetInStoreTerminalsOk() ([]string, bool)
- func (o *MerchantAccount) GetInventoryTerminals() []string
- func (o *MerchantAccount) GetInventoryTerminalsOk() ([]string, bool)
- func (o *MerchantAccount) GetMerchantAccount() string
- func (o *MerchantAccount) GetMerchantAccountOk() (*string, bool)
- func (o *MerchantAccount) GetStores() []Store
- func (o *MerchantAccount) GetStoresOk() ([]Store, bool)
- func (o *MerchantAccount) HasInStoreTerminals() bool
- func (o *MerchantAccount) HasInventoryTerminals() bool
- func (o *MerchantAccount) HasStores() bool
- func (o MerchantAccount) MarshalJSON() ([]byte, error)
- func (o *MerchantAccount) SetInStoreTerminals(v []string)
- func (o *MerchantAccount) SetInventoryTerminals(v []string)
- func (o *MerchantAccount) SetMerchantAccount(v string)
- func (o *MerchantAccount) SetStores(v []Store)
- func (o MerchantAccount) ToMap() (map[string]interface{}, error)
- type NullableAddress
- type NullableAssignTerminalsRequest
- func (v NullableAssignTerminalsRequest) Get() *AssignTerminalsRequest
- func (v NullableAssignTerminalsRequest) IsSet() bool
- func (v NullableAssignTerminalsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAssignTerminalsRequest) Set(val *AssignTerminalsRequest)
- func (v *NullableAssignTerminalsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAssignTerminalsRequest) Unset()
- type NullableAssignTerminalsResponse
- func (v NullableAssignTerminalsResponse) Get() *AssignTerminalsResponse
- func (v NullableAssignTerminalsResponse) IsSet() bool
- func (v NullableAssignTerminalsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAssignTerminalsResponse) Set(val *AssignTerminalsResponse)
- func (v *NullableAssignTerminalsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAssignTerminalsResponse) Unset()
- type NullableFindTerminalRequest
- func (v NullableFindTerminalRequest) Get() *FindTerminalRequest
- func (v NullableFindTerminalRequest) IsSet() bool
- func (v NullableFindTerminalRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFindTerminalRequest) Set(val *FindTerminalRequest)
- func (v *NullableFindTerminalRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFindTerminalRequest) Unset()
- type NullableFindTerminalResponse
- func (v NullableFindTerminalResponse) Get() *FindTerminalResponse
- func (v NullableFindTerminalResponse) IsSet() bool
- func (v NullableFindTerminalResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFindTerminalResponse) Set(val *FindTerminalResponse)
- func (v *NullableFindTerminalResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFindTerminalResponse) Unset()
- type NullableGetStoresUnderAccountRequest
- func (v NullableGetStoresUnderAccountRequest) Get() *GetStoresUnderAccountRequest
- func (v NullableGetStoresUnderAccountRequest) IsSet() bool
- func (v NullableGetStoresUnderAccountRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetStoresUnderAccountRequest) Set(val *GetStoresUnderAccountRequest)
- func (v *NullableGetStoresUnderAccountRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetStoresUnderAccountRequest) Unset()
- type NullableGetStoresUnderAccountResponse
- func (v NullableGetStoresUnderAccountResponse) Get() *GetStoresUnderAccountResponse
- func (v NullableGetStoresUnderAccountResponse) IsSet() bool
- func (v NullableGetStoresUnderAccountResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetStoresUnderAccountResponse) Set(val *GetStoresUnderAccountResponse)
- func (v *NullableGetStoresUnderAccountResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetStoresUnderAccountResponse) Unset()
- type NullableGetTerminalDetailsRequest
- func (v NullableGetTerminalDetailsRequest) Get() *GetTerminalDetailsRequest
- func (v NullableGetTerminalDetailsRequest) IsSet() bool
- func (v NullableGetTerminalDetailsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetTerminalDetailsRequest) Set(val *GetTerminalDetailsRequest)
- func (v *NullableGetTerminalDetailsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetTerminalDetailsRequest) Unset()
- type NullableGetTerminalDetailsResponse
- func (v NullableGetTerminalDetailsResponse) Get() *GetTerminalDetailsResponse
- func (v NullableGetTerminalDetailsResponse) IsSet() bool
- func (v NullableGetTerminalDetailsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetTerminalDetailsResponse) Set(val *GetTerminalDetailsResponse)
- func (v *NullableGetTerminalDetailsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetTerminalDetailsResponse) Unset()
- type NullableGetTerminalsUnderAccountRequest
- func (v NullableGetTerminalsUnderAccountRequest) Get() *GetTerminalsUnderAccountRequest
- func (v NullableGetTerminalsUnderAccountRequest) IsSet() bool
- func (v NullableGetTerminalsUnderAccountRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetTerminalsUnderAccountRequest) Set(val *GetTerminalsUnderAccountRequest)
- func (v *NullableGetTerminalsUnderAccountRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetTerminalsUnderAccountRequest) Unset()
- type NullableGetTerminalsUnderAccountResponse
- func (v NullableGetTerminalsUnderAccountResponse) Get() *GetTerminalsUnderAccountResponse
- func (v NullableGetTerminalsUnderAccountResponse) IsSet() bool
- func (v NullableGetTerminalsUnderAccountResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetTerminalsUnderAccountResponse) Set(val *GetTerminalsUnderAccountResponse)
- func (v *NullableGetTerminalsUnderAccountResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetTerminalsUnderAccountResponse) Unset()
- type NullableMerchantAccount
- func (v NullableMerchantAccount) Get() *MerchantAccount
- func (v NullableMerchantAccount) IsSet() bool
- func (v NullableMerchantAccount) MarshalJSON() ([]byte, error)
- func (v *NullableMerchantAccount) Set(val *MerchantAccount)
- func (v *NullableMerchantAccount) UnmarshalJSON(src []byte) error
- func (v *NullableMerchantAccount) Unset()
- type NullableServiceError
- func (v NullableServiceError) Get() *ServiceError
- func (v NullableServiceError) IsSet() bool
- func (v NullableServiceError) MarshalJSON() ([]byte, error)
- func (v *NullableServiceError) Set(val *ServiceError)
- func (v *NullableServiceError) UnmarshalJSON(src []byte) error
- func (v *NullableServiceError) Unset()
- type NullableStore
- type ServiceError
- func (o *ServiceError) GetErrorCode() string
- func (o *ServiceError) GetErrorCodeOk() (*string, bool)
- func (o *ServiceError) GetErrorType() string
- func (o *ServiceError) GetErrorTypeOk() (*string, bool)
- func (o *ServiceError) GetMessage() string
- func (o *ServiceError) GetMessageOk() (*string, bool)
- func (o *ServiceError) GetPspReference() string
- func (o *ServiceError) GetPspReferenceOk() (*string, bool)
- func (o *ServiceError) GetStatus() int32
- func (o *ServiceError) GetStatusOk() (*int32, bool)
- func (o *ServiceError) HasErrorCode() bool
- func (o *ServiceError) HasErrorType() bool
- func (o *ServiceError) HasMessage() bool
- func (o *ServiceError) HasPspReference() bool
- func (o *ServiceError) HasStatus() bool
- func (o ServiceError) MarshalJSON() ([]byte, error)
- func (o *ServiceError) SetErrorCode(v string)
- func (o *ServiceError) SetErrorType(v string)
- func (o *ServiceError) SetMessage(v string)
- func (o *ServiceError) SetPspReference(v string)
- func (o *ServiceError) SetStatus(v int32)
- func (o ServiceError) ToMap() (map[string]interface{}, error)
- type Store
- func (o *Store) GetAddress() Address
- func (o *Store) GetAddressOk() (*Address, bool)
- func (o *Store) GetDescription() string
- func (o *Store) GetDescriptionOk() (*string, bool)
- func (o *Store) GetInStoreTerminals() []string
- func (o *Store) GetInStoreTerminalsOk() ([]string, bool)
- func (o *Store) GetMerchantAccountCode() string
- func (o *Store) GetMerchantAccountCodeOk() (*string, bool)
- func (o *Store) GetStatus() string
- func (o *Store) GetStatusOk() (*string, bool)
- func (o *Store) GetStore() string
- func (o *Store) GetStoreOk() (*string, bool)
- func (o *Store) HasAddress() bool
- func (o *Store) HasDescription() bool
- func (o *Store) HasInStoreTerminals() bool
- func (o *Store) HasMerchantAccountCode() bool
- func (o *Store) HasStatus() bool
- func (o Store) MarshalJSON() ([]byte, error)
- func (o *Store) SetAddress(v Address)
- func (o *Store) SetDescription(v string)
- func (o *Store) SetInStoreTerminals(v []string)
- func (o *Store) SetMerchantAccountCode(v string)
- func (o *Store) SetStatus(v string)
- func (o *Store) SetStore(v string)
- func (o Store) ToMap() (map[string]interface{}, error)
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) GetCityOk ¶
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCountryCode ¶
GetCountryCode returns the CountryCode field value if set, zero value otherwise.
func (*Address) GetCountryCodeOk ¶
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 ¶
GetPostalCode returns the PostalCode field value if set, zero value otherwise.
func (*Address) GetPostalCodeOk ¶
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetStateOrProvince ¶
GetStateOrProvince returns the StateOrProvince field value if set, zero value otherwise.
func (*Address) GetStateOrProvinceOk ¶
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 ¶
GetStreetAddress returns the StreetAddress field value if set, zero value otherwise.
func (*Address) GetStreetAddress2 ¶
GetStreetAddress2 returns the StreetAddress2 field value if set, zero value otherwise.
func (*Address) GetStreetAddress2Ok ¶
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 ¶
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) HasCountryCode ¶
HasCountryCode returns a boolean if a field has been set.
func (*Address) HasPostalCode ¶
HasPostalCode returns a boolean if a field has been set.
func (*Address) HasStateOrProvince ¶
HasStateOrProvince returns a boolean if a field has been set.
func (*Address) HasStreetAddress ¶
HasStreetAddress returns a boolean if a field has been set.
func (*Address) HasStreetAddress2 ¶
HasStreetAddress2 returns a boolean if a field has been set.
func (Address) MarshalJSON ¶
func (*Address) SetCity ¶
SetCity gets a reference to the given string and assigns it to the City field.
func (*Address) SetCountryCode ¶
SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.
func (*Address) SetPostalCode ¶
SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.
func (*Address) SetStateOrProvince ¶
SetStateOrProvince gets a reference to the given string and assigns it to the StateOrProvince field.
func (*Address) SetStreetAddress ¶
SetStreetAddress gets a reference to the given string and assigns it to the StreetAddress field.
func (*Address) SetStreetAddress2 ¶
SetStreetAddress2 gets a reference to the given string and assigns it to the StreetAddress2 field.
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 ¶
GeneralApi service
func (*GeneralApi) AssignTerminals ¶
func (a *GeneralApi) AssignTerminals(ctx context.Context, r GeneralApiAssignTerminalsInput) (AssignTerminalsResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) FindTerminal(ctx context.Context, r GeneralApiFindTerminalInput) (FindTerminalResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) GetStoresUnderAccount(ctx context.Context, r GeneralApiGetStoresUnderAccountInput) (GetStoresUnderAccountResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) GetTerminalDetails(ctx context.Context, r GeneralApiGetTerminalDetailsInput) (GetTerminalDetailsResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) GetTerminalsUnderAccount(ctx context.Context, r GeneralApiGetTerminalsUnderAccountInput) (GetTerminalsUnderAccountResponse, *http.Response, error)
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 ¶
func (o *GetTerminalsUnderAccountRequest) GetStore() string
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 NewNullableAssignTerminalsRequest ¶
func NewNullableAssignTerminalsRequest(val *AssignTerminalsRequest) *NullableAssignTerminalsRequest
func (NullableAssignTerminalsRequest) Get ¶
func (v NullableAssignTerminalsRequest) Get() *AssignTerminalsRequest
func (NullableAssignTerminalsRequest) IsSet ¶
func (v NullableAssignTerminalsRequest) IsSet() bool
func (NullableAssignTerminalsRequest) MarshalJSON ¶
func (v NullableAssignTerminalsRequest) MarshalJSON() ([]byte, error)
func (*NullableAssignTerminalsRequest) Set ¶
func (v *NullableAssignTerminalsRequest) Set(val *AssignTerminalsRequest)
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 NewNullableAssignTerminalsResponse ¶
func NewNullableAssignTerminalsResponse(val *AssignTerminalsResponse) *NullableAssignTerminalsResponse
func (NullableAssignTerminalsResponse) Get ¶
func (v NullableAssignTerminalsResponse) Get() *AssignTerminalsResponse
func (NullableAssignTerminalsResponse) IsSet ¶
func (v NullableAssignTerminalsResponse) IsSet() bool
func (NullableAssignTerminalsResponse) MarshalJSON ¶
func (v NullableAssignTerminalsResponse) MarshalJSON() ([]byte, error)
func (*NullableAssignTerminalsResponse) Set ¶
func (v *NullableAssignTerminalsResponse) Set(val *AssignTerminalsResponse)
func (*NullableAssignTerminalsResponse) UnmarshalJSON ¶
func (v *NullableAssignTerminalsResponse) UnmarshalJSON(src []byte) error
func (*NullableAssignTerminalsResponse) Unset ¶
func (v *NullableAssignTerminalsResponse) Unset()
type NullableFindTerminalRequest ¶
type NullableFindTerminalRequest struct {
// contains filtered or unexported fields
}
func NewNullableFindTerminalRequest ¶
func NewNullableFindTerminalRequest(val *FindTerminalRequest) *NullableFindTerminalRequest
func (NullableFindTerminalRequest) Get ¶
func (v NullableFindTerminalRequest) Get() *FindTerminalRequest
func (NullableFindTerminalRequest) IsSet ¶
func (v NullableFindTerminalRequest) IsSet() bool
func (NullableFindTerminalRequest) MarshalJSON ¶
func (v NullableFindTerminalRequest) MarshalJSON() ([]byte, error)
func (*NullableFindTerminalRequest) Set ¶
func (v *NullableFindTerminalRequest) Set(val *FindTerminalRequest)
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 (v NullableFindTerminalResponse) Get() *FindTerminalResponse
func (NullableFindTerminalResponse) IsSet ¶
func (v NullableFindTerminalResponse) IsSet() bool
func (NullableFindTerminalResponse) MarshalJSON ¶
func (v NullableFindTerminalResponse) MarshalJSON() ([]byte, error)
func (*NullableFindTerminalResponse) Set ¶
func (v *NullableFindTerminalResponse) Set(val *FindTerminalResponse)
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 NewNullableGetStoresUnderAccountRequest ¶
func NewNullableGetStoresUnderAccountRequest(val *GetStoresUnderAccountRequest) *NullableGetStoresUnderAccountRequest
func (NullableGetStoresUnderAccountRequest) Get ¶
func (v NullableGetStoresUnderAccountRequest) Get() *GetStoresUnderAccountRequest
func (NullableGetStoresUnderAccountRequest) IsSet ¶
func (v NullableGetStoresUnderAccountRequest) IsSet() bool
func (NullableGetStoresUnderAccountRequest) MarshalJSON ¶
func (v NullableGetStoresUnderAccountRequest) MarshalJSON() ([]byte, error)
func (*NullableGetStoresUnderAccountRequest) Set ¶
func (v *NullableGetStoresUnderAccountRequest) Set(val *GetStoresUnderAccountRequest)
func (*NullableGetStoresUnderAccountRequest) UnmarshalJSON ¶
func (v *NullableGetStoresUnderAccountRequest) UnmarshalJSON(src []byte) error
func (*NullableGetStoresUnderAccountRequest) Unset ¶
func (v *NullableGetStoresUnderAccountRequest) Unset()
type NullableGetStoresUnderAccountResponse ¶
type NullableGetStoresUnderAccountResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetStoresUnderAccountResponse ¶
func NewNullableGetStoresUnderAccountResponse(val *GetStoresUnderAccountResponse) *NullableGetStoresUnderAccountResponse
func (NullableGetStoresUnderAccountResponse) Get ¶
func (v NullableGetStoresUnderAccountResponse) Get() *GetStoresUnderAccountResponse
func (NullableGetStoresUnderAccountResponse) IsSet ¶
func (v NullableGetStoresUnderAccountResponse) IsSet() bool
func (NullableGetStoresUnderAccountResponse) MarshalJSON ¶
func (v NullableGetStoresUnderAccountResponse) MarshalJSON() ([]byte, error)
func (*NullableGetStoresUnderAccountResponse) Set ¶
func (v *NullableGetStoresUnderAccountResponse) Set(val *GetStoresUnderAccountResponse)
func (*NullableGetStoresUnderAccountResponse) UnmarshalJSON ¶
func (v *NullableGetStoresUnderAccountResponse) UnmarshalJSON(src []byte) error
func (*NullableGetStoresUnderAccountResponse) Unset ¶
func (v *NullableGetStoresUnderAccountResponse) Unset()
type NullableGetTerminalDetailsRequest ¶
type NullableGetTerminalDetailsRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetTerminalDetailsRequest ¶
func NewNullableGetTerminalDetailsRequest(val *GetTerminalDetailsRequest) *NullableGetTerminalDetailsRequest
func (NullableGetTerminalDetailsRequest) Get ¶
func (v NullableGetTerminalDetailsRequest) Get() *GetTerminalDetailsRequest
func (NullableGetTerminalDetailsRequest) IsSet ¶
func (v NullableGetTerminalDetailsRequest) IsSet() bool
func (NullableGetTerminalDetailsRequest) MarshalJSON ¶
func (v NullableGetTerminalDetailsRequest) MarshalJSON() ([]byte, error)
func (*NullableGetTerminalDetailsRequest) Set ¶
func (v *NullableGetTerminalDetailsRequest) Set(val *GetTerminalDetailsRequest)
func (*NullableGetTerminalDetailsRequest) UnmarshalJSON ¶
func (v *NullableGetTerminalDetailsRequest) UnmarshalJSON(src []byte) error
func (*NullableGetTerminalDetailsRequest) Unset ¶
func (v *NullableGetTerminalDetailsRequest) Unset()
type NullableGetTerminalDetailsResponse ¶
type NullableGetTerminalDetailsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetTerminalDetailsResponse ¶
func NewNullableGetTerminalDetailsResponse(val *GetTerminalDetailsResponse) *NullableGetTerminalDetailsResponse
func (NullableGetTerminalDetailsResponse) Get ¶
func (v NullableGetTerminalDetailsResponse) Get() *GetTerminalDetailsResponse
func (NullableGetTerminalDetailsResponse) IsSet ¶
func (v NullableGetTerminalDetailsResponse) IsSet() bool
func (NullableGetTerminalDetailsResponse) MarshalJSON ¶
func (v NullableGetTerminalDetailsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetTerminalDetailsResponse) Set ¶
func (v *NullableGetTerminalDetailsResponse) Set(val *GetTerminalDetailsResponse)
func (*NullableGetTerminalDetailsResponse) UnmarshalJSON ¶
func (v *NullableGetTerminalDetailsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetTerminalDetailsResponse) Unset ¶
func (v *NullableGetTerminalDetailsResponse) Unset()
type NullableGetTerminalsUnderAccountRequest ¶
type NullableGetTerminalsUnderAccountRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetTerminalsUnderAccountRequest ¶
func NewNullableGetTerminalsUnderAccountRequest(val *GetTerminalsUnderAccountRequest) *NullableGetTerminalsUnderAccountRequest
func (NullableGetTerminalsUnderAccountRequest) IsSet ¶
func (v NullableGetTerminalsUnderAccountRequest) IsSet() bool
func (NullableGetTerminalsUnderAccountRequest) MarshalJSON ¶
func (v NullableGetTerminalsUnderAccountRequest) MarshalJSON() ([]byte, error)
func (*NullableGetTerminalsUnderAccountRequest) Set ¶
func (v *NullableGetTerminalsUnderAccountRequest) Set(val *GetTerminalsUnderAccountRequest)
func (*NullableGetTerminalsUnderAccountRequest) UnmarshalJSON ¶
func (v *NullableGetTerminalsUnderAccountRequest) UnmarshalJSON(src []byte) error
func (*NullableGetTerminalsUnderAccountRequest) Unset ¶
func (v *NullableGetTerminalsUnderAccountRequest) Unset()
type NullableGetTerminalsUnderAccountResponse ¶
type NullableGetTerminalsUnderAccountResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetTerminalsUnderAccountResponse ¶
func NewNullableGetTerminalsUnderAccountResponse(val *GetTerminalsUnderAccountResponse) *NullableGetTerminalsUnderAccountResponse
func (NullableGetTerminalsUnderAccountResponse) IsSet ¶
func (v NullableGetTerminalsUnderAccountResponse) IsSet() bool
func (NullableGetTerminalsUnderAccountResponse) MarshalJSON ¶
func (v NullableGetTerminalsUnderAccountResponse) MarshalJSON() ([]byte, error)
func (*NullableGetTerminalsUnderAccountResponse) Set ¶
func (v *NullableGetTerminalsUnderAccountResponse) Set(val *GetTerminalsUnderAccountResponse)
func (*NullableGetTerminalsUnderAccountResponse) UnmarshalJSON ¶
func (v *NullableGetTerminalsUnderAccountResponse) UnmarshalJSON(src []byte) error
func (*NullableGetTerminalsUnderAccountResponse) Unset ¶
func (v *NullableGetTerminalsUnderAccountResponse) Unset()
type NullableMerchantAccount ¶
type NullableMerchantAccount struct {
// contains filtered or unexported fields
}
func NewNullableMerchantAccount ¶
func NewNullableMerchantAccount(val *MerchantAccount) *NullableMerchantAccount
func (NullableMerchantAccount) Get ¶
func (v NullableMerchantAccount) Get() *MerchantAccount
func (NullableMerchantAccount) IsSet ¶
func (v NullableMerchantAccount) IsSet() bool
func (NullableMerchantAccount) MarshalJSON ¶
func (v NullableMerchantAccount) MarshalJSON() ([]byte, error)
func (*NullableMerchantAccount) Set ¶
func (v *NullableMerchantAccount) Set(val *MerchantAccount)
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 (v NullableServiceError) Get() *ServiceError
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 ¶
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 ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Store) GetAddressOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Store) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Store) GetInStoreTerminals ¶
GetInStoreTerminals returns the InStoreTerminals field value if set, zero value otherwise.
func (*Store) GetInStoreTerminalsOk ¶
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 ¶
GetMerchantAccountCode returns the MerchantAccountCode field value if set, zero value otherwise.
func (*Store) GetMerchantAccountCodeOk ¶
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) GetStatusOk ¶
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) GetStoreOk ¶
GetStoreOk returns a tuple with the Store field value and a boolean to check if the value has been set.
func (*Store) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*Store) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Store) HasInStoreTerminals ¶
HasInStoreTerminals returns a boolean if a field has been set.
func (*Store) HasMerchantAccountCode ¶
HasMerchantAccountCode returns a boolean if a field has been set.
func (Store) MarshalJSON ¶
func (*Store) SetAddress ¶
SetAddress gets a reference to the given Address and assigns it to the Address field.
func (*Store) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Store) SetInStoreTerminals ¶
SetInStoreTerminals gets a reference to the given []string and assigns it to the InStoreTerminals field.
func (*Store) SetMerchantAccountCode ¶
SetMerchantAccountCode gets a reference to the given string and assigns it to the MerchantAccountCode field.
Source Files ¶
- api_general.go
- model_address.go
- model_assign_terminals_request.go
- model_assign_terminals_response.go
- model_find_terminal_request.go
- model_find_terminal_response.go
- model_get_stores_under_account_request.go
- model_get_stores_under_account_response.go
- model_get_terminal_details_request.go
- model_get_terminal_details_response.go
- model_get_terminals_under_account_request.go
- model_get_terminals_under_account_response.go
- model_merchant_account.go
- model_service_error.go
- model_store.go