Versions in this module Expand all Collapse all v1 v1.0.20 Dec 19, 2019 Changes in this version + type QueryCreditOpts struct + CustomerId string + func (opts QueryCreditOpts) ToQueryCreditMap() (string, error) + type QueryCreditOptsBuilder interface + ToQueryCreditMap func() (string, error) + type QueryCreditResp struct + CreditAmount float64 + Currency string + ErrorCode string + ErrorMsg string + MeasureId *int + UsedAmount *float64 + type QueryCreditResult struct + func QueryCredit(client *gophercloud.ServiceClient, opts QueryCreditOptsBuilder) (r QueryCreditResult) + func (r QueryCreditResult) Extract() (*QueryCreditResp, error) + type SetCreditError struct + BasicError errorObj + InternalError []internalErr + func (e SetCreditError) Error() string + func (e SetCreditError) ErrorCode() string + func (e SetCreditError) Message() string + type SetCreditOpts struct + AdjustmentAmount float64 + CustomerId string + MeasureId *int + func (opts SetCreditOpts) ToSetCreditMap() (map[string]interface{}, error) + type SetCreditOptsBuilder interface + ToSetCreditMap func() (map[string]interface{}, error) + type SetCreditResp struct + ErrorCode string + ErrorMsg string + type SetCreditResult struct + func SetCredit(client *gophercloud.ServiceClient, opts SetCreditOptsBuilder) (r SetCreditResult) + func (r SetCreditResult) Extract() (*SetCreditResp, error)