// AmountWithCurrency combines both price and currency together
547547
func (p Price) AmountWithCurrency(v reflect.Value) (interface{}, error) {
	return p.amountwithcurrency(), nil
}
493554
func (r Billing_Currency_ExchangeRate) GetPrice(price *datatypes.Float64, formatOptions *datatypes.Container_Billing_Currency_Format) (resp string, err error) {
	params := []interface{}{
		price,
		formatOptions,
	}
	err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getPrice", params, &r.Options, &resp)
	return
}
82899
func (n node) WithTransaction(tx *bolt.Tx) Node {
	n.tx = tx
	return &n
}
883609
func (b *Bittrex) GetCurrencies() (currencies []Currency, err error) {
	r, err := b.client.do("GET", "public/getcurrencies", "", false)
	if err != nil {
		return
	}
	var response jsonResponse
	if err = json.Unmarshal(r, &response); err != nil {
		return
	}
	if err = handleErr(response); err != nil {
		return
	}
	err = json.Unmarshal(response.Result, &currencies)
	return
}
694551
func (s *MonetaryAmount) SetCurrencyCode(v string) *MonetaryAmount {
	s.CurrencyCode = &v
	return s
}
1074998
func (s *Command) SetMaxConcurrency(v string) *Command {
	s.MaxConcurrency = &v
	return s
}
405526
func (hc histogramCounter) With(labelValues ...string) metrics.Counter {
	return histogramCounter{hc.h.With(labelValues...)}
}
1011058
func (p Price) Currency(v reflect.Value) (interface{}, error) {
	return p.currency(), nil
}
1051857
func (s *StartAutomationExecutionInput) SetMaxConcurrency(v string) *StartAutomationExecutionInput {
	s.MaxConcurrency = &v
	return s
}
1117012
func GetConcurrency(ctx context.Context) int {
	iv, ok := ctx.Value(ctxKeyConcurrency).(int)
	if !ok || iv < 1 {
		return 1
	}
	return iv
}
759670
func (s *MaintenanceWindowTask) SetMaxConcurrency(v string) *MaintenanceWindowTask {
	s.MaxConcurrency = &v
	return s
}
475299
func (e *merryErr) WithValue(key, value interface{}) Error {
	if e == nil {
		return nil
	}
	return &merryErr{
		err:   e,
		key:   key,
		value: value,
	}
}
933770
func (cb *Chequebook) Deposit(amount *big.Int) (string, error) {
	defer cb.lock.Unlock()
	cb.lock.Lock()
	return cb.deposit(amount)
}
116719
func (c Client) Get(currency string, params *stripe.ExchangeRateParams) (*stripe.ExchangeRate, error) {
	path := stripe.FormatURLPath("/v1/exchange_rates/%s", currency)
	exchangeRate := &stripe.ExchangeRate{}
	err := c.B.Call(http.MethodGet, path, c.Key, params, exchangeRate)

	return exchangeRate, err
}
175328
func (c *stateObject) SubBalance(amount *big.Int) {
	if amount.Sign() == 0 {
		return
	}
	c.SetBalance(new(big.Int).Sub(c.Balance(), amount))
}
710153
func (s *GetMaintenanceWindowTaskOutput) SetMaxConcurrency(v string) *GetMaintenanceWindowTaskOutput {
	s.MaxConcurrency = &v
	return s
}
820165
func (h *Transaction) CurrencyCode(currencyCode string) *Transaction {
	h.currencyCode = currencyCode
	h.currencyCodeSet = true
	return h
}