balance

package
v0.0.0-...-8beb111 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGetBalanceRequest

type ApiGetBalanceRequest struct {
	ApiService PublicBalanceAPI
	// contains filtered or unexported fields
}

type BalanceApiService

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

func (*BalanceApiService) GetBalance

GetBalance Get Balance.

Get net & gross balance.

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

func (*BalanceApiService) GetBalanceExecute

Execute executes the request

@return InternalWebControllersMerchantApiv1BalanceStandardResponse

type InternalWebControllersMerchantApiv1BalanceBalance

type InternalWebControllersMerchantApiv1BalanceBalance struct {
	Gross *float32 `json:"gross,omitempty"`
	Net   *float32 `json:"net,omitempty"`
}

InternalWebControllersMerchantApiv1BalanceBalance struct for InternalWebControllersMerchantApiv1BalanceBalance

func NewInternalWebControllersMerchantApiv1BalanceBalance

func NewInternalWebControllersMerchantApiv1BalanceBalance() *InternalWebControllersMerchantApiv1BalanceBalance

NewInternalWebControllersMerchantApiv1BalanceBalance instantiates a new InternalWebControllersMerchantApiv1BalanceBalance 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 NewInternalWebControllersMerchantApiv1BalanceBalanceWithDefaults

func NewInternalWebControllersMerchantApiv1BalanceBalanceWithDefaults() *InternalWebControllersMerchantApiv1BalanceBalance

NewInternalWebControllersMerchantApiv1BalanceBalanceWithDefaults instantiates a new InternalWebControllersMerchantApiv1BalanceBalance 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 (*InternalWebControllersMerchantApiv1BalanceBalance) GetGross

GetGross returns the Gross field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceBalance) GetGrossOk

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

func (*InternalWebControllersMerchantApiv1BalanceBalance) GetNet

GetNet returns the Net field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceBalance) GetNetOk

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

func (*InternalWebControllersMerchantApiv1BalanceBalance) HasGross

HasGross returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceBalance) HasNet

HasNet returns a boolean if a field has been set.

func (InternalWebControllersMerchantApiv1BalanceBalance) MarshalJSON

func (*InternalWebControllersMerchantApiv1BalanceBalance) SetGross

SetGross gets a reference to the given float32 and assigns it to the Gross field.

func (*InternalWebControllersMerchantApiv1BalanceBalance) SetNet

SetNet gets a reference to the given float32 and assigns it to the Net field.

func (InternalWebControllersMerchantApiv1BalanceBalance) ToMap

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

type InternalWebControllersMerchantApiv1BalanceStandardMeta

type InternalWebControllersMerchantApiv1BalanceStandardMeta struct {
	ProcessingTime *string `json:"processing_time,omitempty"`
	VersionApi     *string `json:"version_api,omitempty"`
}

InternalWebControllersMerchantApiv1BalanceStandardMeta struct for InternalWebControllersMerchantApiv1BalanceStandardMeta

func NewInternalWebControllersMerchantApiv1BalanceStandardMeta

func NewInternalWebControllersMerchantApiv1BalanceStandardMeta() *InternalWebControllersMerchantApiv1BalanceStandardMeta

NewInternalWebControllersMerchantApiv1BalanceStandardMeta instantiates a new InternalWebControllersMerchantApiv1BalanceStandardMeta 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 NewInternalWebControllersMerchantApiv1BalanceStandardMetaWithDefaults

func NewInternalWebControllersMerchantApiv1BalanceStandardMetaWithDefaults() *InternalWebControllersMerchantApiv1BalanceStandardMeta

NewInternalWebControllersMerchantApiv1BalanceStandardMetaWithDefaults instantiates a new InternalWebControllersMerchantApiv1BalanceStandardMeta 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 (*InternalWebControllersMerchantApiv1BalanceStandardMeta) GetProcessingTime

GetProcessingTime returns the ProcessingTime field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) GetProcessingTimeOk

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

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) GetVersionApi

GetVersionApi returns the VersionApi field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) GetVersionApiOk

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

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) HasProcessingTime

HasProcessingTime returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) HasVersionApi

HasVersionApi returns a boolean if a field has been set.

func (InternalWebControllersMerchantApiv1BalanceStandardMeta) MarshalJSON

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) SetProcessingTime

SetProcessingTime gets a reference to the given string and assigns it to the ProcessingTime field.

func (*InternalWebControllersMerchantApiv1BalanceStandardMeta) SetVersionApi

SetVersionApi gets a reference to the given string and assigns it to the VersionApi field.

func (InternalWebControllersMerchantApiv1BalanceStandardMeta) ToMap

type InternalWebControllersMerchantApiv1BalanceStandardResponse

type InternalWebControllersMerchantApiv1BalanceStandardResponse struct {
	Code    *int32                                                  `json:"code,omitempty"`
	Data    *InternalWebControllersMerchantApiv1BalanceBalance      `json:"data,omitempty"`
	Message *string                                                 `json:"message,omitempty"`
	Meta    *InternalWebControllersMerchantApiv1BalanceStandardMeta `json:"meta,omitempty"`
	Status  *string                                                 `json:"status,omitempty"`
}

InternalWebControllersMerchantApiv1BalanceStandardResponse struct for InternalWebControllersMerchantApiv1BalanceStandardResponse

func NewInternalWebControllersMerchantApiv1BalanceStandardResponse

func NewInternalWebControllersMerchantApiv1BalanceStandardResponse() *InternalWebControllersMerchantApiv1BalanceStandardResponse

NewInternalWebControllersMerchantApiv1BalanceStandardResponse instantiates a new InternalWebControllersMerchantApiv1BalanceStandardResponse 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 NewInternalWebControllersMerchantApiv1BalanceStandardResponseWithDefaults

func NewInternalWebControllersMerchantApiv1BalanceStandardResponseWithDefaults() *InternalWebControllersMerchantApiv1BalanceStandardResponse

NewInternalWebControllersMerchantApiv1BalanceStandardResponseWithDefaults instantiates a new InternalWebControllersMerchantApiv1BalanceStandardResponse 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 (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetCodeOk

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetDataOk

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetMessage

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetMessageOk

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 (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetMetaOk

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) GetStatus

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) 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 (*InternalWebControllersMerchantApiv1BalanceStandardResponse) HasCode

HasCode returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) HasData

HasData returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) HasMessage

HasMessage returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) HasMeta

HasMeta returns a boolean if a field has been set.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) HasStatus

HasStatus returns a boolean if a field has been set.

func (InternalWebControllersMerchantApiv1BalanceStandardResponse) MarshalJSON

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) SetCode

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) SetData

SetData gets a reference to the given InternalWebControllersMerchantApiv1BalanceBalance and assigns it to the Data field.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) SetMessage

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

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) SetMeta

SetMeta gets a reference to the given InternalWebControllersMerchantApiv1BalanceStandardMeta and assigns it to the Meta field.

func (*InternalWebControllersMerchantApiv1BalanceStandardResponse) SetStatus

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

func (InternalWebControllersMerchantApiv1BalanceStandardResponse) ToMap

type NullableInternalWebControllersMerchantApiv1BalanceBalance

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

func (NullableInternalWebControllersMerchantApiv1BalanceBalance) Get

func (NullableInternalWebControllersMerchantApiv1BalanceBalance) IsSet

func (NullableInternalWebControllersMerchantApiv1BalanceBalance) MarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceBalance) Set

func (*NullableInternalWebControllersMerchantApiv1BalanceBalance) UnmarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceBalance) Unset

type NullableInternalWebControllersMerchantApiv1BalanceStandardMeta

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

func (NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) Get

func (NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) IsSet

func (NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) MarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) Set

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) UnmarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardMeta) Unset

type NullableInternalWebControllersMerchantApiv1BalanceStandardResponse

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

func (NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) Get

func (NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) IsSet

func (NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) MarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) Set

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) UnmarshalJSON

func (*NullableInternalWebControllersMerchantApiv1BalanceStandardResponse) Unset

type PublicBalanceAPI

type PublicBalanceAPI interface {

	/*
		GetBalance Get Balance.

		Get net & gross balance.

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

	// GetBalanceExecute executes the request
	//  @return InternalWebControllersMerchantApiv1BalanceStandardResponse
	GetBalanceExecute(r ApiGetBalanceRequest) (*InternalWebControllersMerchantApiv1BalanceStandardResponse, *http.Response, error)
}

func NewBalanceApi

func NewBalanceApi(client common.IClient) PublicBalanceAPI

NewBalanceApi Create a new BalanceApi service

Jump to

Keyboard shortcuts

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