Retrieve a specific movement for a credit balance

REST: GET /me/credit/balance/{balanceName}/movement/{movementId}
@param balanceName [required] Credit balance name
@param movementId [required] Movement ID
431421
public OvhMovement credit_balance_balanceName_movement_movementId_GET(String balanceName, Long movementId) throws IOException {
		String qPath = "/me/credit/balance/{balanceName}/movement/{movementId}";
		StringBuilder sb = path(qPath, balanceName, movementId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhMovement.class);
	}
212189
def _get_lb(self, lb_or_id):
        
        if isinstance(lb_or_id, CloudLoadBalancer):
            ret = lb_or_id
        else:
            ret = self.get(lb_or_id)
        return ret
631282
public static AccountInfo adaptAccountInfo(BitstampBalance bitstampBalance, String userName) {

    // Adapt to XChange DTOs
    List<Balance> balances = new ArrayList<>();
    for (org.knowm.xchange.bitstamp.dto.account.BitstampBalance.Balance b :
        bitstampBalance.getBalances()) {
      Balance xchangeBalance =
          new Balance(
              Currency.getInstance(b.getCurrency().toUpperCase()),
              b.getBalance(),
              b.getAvailable(),
              b.getReserved(),
              ZERO,
              ZERO,
              b.getBalance().subtract(b.getAvailable()).subtract(b.getReserved()),
              ZERO);
      balances.add(xchangeBalance);
    }
    return new AccountInfo(userName, bitstampBalance.getFee(), new Wallet(balances));
  }
467916
public OvhDebt debtAccount_debt_debtId_GET(Long debtId) throws IOException {
		String qPath = "/me/debtAccount/debt/{debtId}";
		StringBuilder sb = path(qPath, debtId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDebt.class);
	}
13876
public static AccountInfo adaptAccountInfo(CryptonitBalance cryptonitBalance, String userName) {

    // Adapt to XChange DTOs
    List<Balance> balances = new ArrayList<>();
    for (CryptonitBalance.Balance b : cryptonitBalance.getBalances()) {
      Balance xchangeBalance =
          new Balance(
              Currency.getInstance(b.getCurrency().toUpperCase()),
              b.getBalance(),
              b.getAvailable(),
              b.getReserved(),
              ZERO,
              ZERO,
              b.getBalance().subtract(b.getAvailable()).subtract(b.getReserved()),
              ZERO);
      balances.add(xchangeBalance);
    }
    return new AccountInfo(userName, cryptonitBalance.getFee(), new Wallet(balances));
  }
973623
def get_wallet_balance(wallet_name, api_key, omit_addresses=False, coin_symbol='btc'):
    '''
    
    '''
    assert is_valid_coin_symbol(coin_symbol)
    assert api_key
    assert len(wallet_name) <= 25, wallet_name
    assert isinstance(omit_addresses, bool), omit_addresses

    params = {'token': api_key}
    if omit_addresses:
        params['omitWalletAddresses'] = 'true'

    url = make_url(coin_symbol, 'addrs/{}/balance'.format(wallet_name))

    r = requests.get(url, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
    return get_valid_json(r)
942157
@PostAuthorize("hasRole(@configHolder.getSuperAdminRoleName()) or hasPermission(#accountName, 'READ')")
    @Transactional(readOnly = true)
    public E findByAccountName(String accountName) {
        return dao.findByAccountName(accountName);
    }
196688
private SegmentMetadataUpdateTransaction getSegmentUpdateTransaction(long segmentId) throws MetadataUpdateException {
        SegmentMetadataUpdateTransaction tsm = tryGetSegmentUpdateTransaction(segmentId);
        if (tsm == null) {
            throw new MetadataUpdateException(this.containerId, String.format("No metadata entry exists for Segment Id %d.", segmentId));
        }

        return tsm;
    }
275170
def getRemainingCredits(self):
        

        if 'status' in self._response.keys():
            if (self._response['status'] is not None) and ('remaining_credits' in self._response['status'].keys()):
                if self._response['status']['remaining_credits'] is not None:
                    return self._response['status']['remaining_credits']
                else:
                    return ''
            else:
                print("Not remaining credits field\n")
        else:
            return None
1090194
def balance
      return nil unless @access_token

      begin
        @timestamp = Time.now.iso8601(3)
        @relative_url = "/banking/v3/corporates/#{@corporate_id}/accounts/#{@account_number}"
        response = RestClient.get("#{@base_url}#{@relative_url}",
          "Content-Type": 'application/json',
          "Authorization": "Bearer #{@access_token}",
          "Origin": @domain,
          "X-BCA-Key": @api_key,
          "X-BCA-Timestamp":  @timestamp,
          "X-BCA-Signature": signature)

        data = JSON.parse response.body
        if account_detail_success = data['AccountDetailDataSuccess']
          detail = account_detail_success.first
            attribute = {
              account_number: detail['AccountNumber'],
              currency: detail['Currency'],
              balance: detail['Balance'].to_f,
              available_balance: detail['AvailableBalance'].to_f,
              float_amount: detail['FloatAmount'].to_f,
              hold_amount: detail['HoldAmount'].to_f,
              plafon: detail['Plafon'].to_f
            }
          BcaStatement::Entities::Balance.new(attribute)
      
        else
          return nil
        end
      rescue RestClient::ExceptionWithResponse => err
        return nil
      end 
    end
1017167
public GetTrackRequest.Builder getTrack(String id) {
    return new GetTrackRequest.Builder(accessToken)
            .setDefaults(httpManager, scheme, host, port)
            .id(id);
  }
860967
public FailoverRequestBalancingStrategy getBalancer(byte[] cacheName) {
      lock.readLock().lock();
      try {
         return balancers.get(new WrappedByteArray(cacheName));
      } finally {
         lock.readLock().unlock();
      }
   }
969629
public static AccountInfo adaptAccountInfo(
      final RippleAccountBalances account, final String username) {

    // Adapt account balances to XChange balances
    final Map<String, List<Balance>> balances = new HashMap<>();
    for (final RippleBalance balance : account.getBalances()) {
      final String walletId;
      if (balance.getCurrency().equals("XRP")) {
        walletId = null;
      } else {
        walletId = balance.getCounterparty();
      }
      if (!balances.containsKey(walletId)) {
        balances.put(walletId, new LinkedList<Balance>());
      }
      balances
          .get(walletId)
          .add(new Balance(Currency.getInstance(balance.getCurrency()), balance.getValue()));
    }

    final List<Wallet> accountInfo = new ArrayList<>(balances.size());
    for (final Map.Entry<String, List<Balance>> wallet : balances.entrySet()) {
      accountInfo.add(new Wallet(wallet.getKey(), wallet.getValue()));
    }

    return new AccountInfo(username, BigDecimal.ZERO, accountInfo);
  }
335108
def getbalance(self, account=None, minconf=6):
        """"""
        if account:
            return self.req("getbalance", [account, minconf])
        else:
            return self.req("getbalance")
60589
@RequestMapping(value = "{accountId}", method = RequestMethod.GET)
    public Account getAccount(@PathVariable ID accountId) {
        return accountService.getAccount(accountId);
    }
33461
func GetBalanceTransaction(id string, params *stripe.BalanceTransactionParams) (*stripe.BalanceTransaction, error) {
	return getC().GetBalanceTransaction(id, params)
}
559498
def get_user_balance(self, username):
        
        cmd = ["gbalance", "-u", username, "--raw"]
        results = self._read_output(cmd)

        if len(results) == 0:
            return None

        return results