module ESI::Client::Wallet

ESI wallet operations.

Public Instance Methods

get_character_wallet(character_id:, headers: {}, params: {}) click to toggle source

Returns a character's wallet balance.

This endpoint is cached for up to 120 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_character_wallet.v1

@esi_version legacy @esi_version v1

@param character_id [Integer] An EVE character ID @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_characters_character_id_wallet

# File lib/esi/client/wallet.rb, line 31
def get_character_wallet(character_id:, headers: {}, params: {})
  get("/characters/#{character_id}/wallet/", headers: headers, params: params)
end
get_character_wallet_journal(character_id:, headers: {}, params: {}) click to toggle source

Retrieve the given character's wallet journal going 30 days back.

This endpoint is cached for up to 3600 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_character_wallet.v1

@esi_version dev @esi_version v6

@param character_id [Integer] An EVE character ID @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_characters_character_id_wallet_journal

# File lib/esi/client/wallet.rb, line 60
def get_character_wallet_journal(character_id:, headers: {}, params: {})
  get("/characters/#{character_id}/wallet/journal/", headers: headers, params: params)
end
get_character_wallet_transactions(character_id:, from_id: nil, headers: {}, params: {}) click to toggle source

Get wallet transactions of a character.

This endpoint is cached for up to 3600 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_character_wallet.v1

@esi_version dev @esi_version legacy @esi_version v1

@param character_id [Integer] An EVE character ID @param from_id [Integer] Only show transactions happened before the one referenced by this id @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_characters_character_id_wallet_transactions

# File lib/esi/client/wallet.rb, line 91
def get_character_wallet_transactions(character_id:, from_id: nil, headers: {}, params: {})
  params.merge!("from_id" => from_id)
  get("/characters/#{character_id}/wallet/transactions/", headers: headers, params: params)
end
get_characters_character_id_wallet(character_id:, headers: {}, params: {})
get_characters_character_id_wallet_journal(character_id:, headers: {}, params: {})
get_characters_character_id_wallet_transactions(character_id:, from_id: nil, headers: {}, params: {})
get_corporation_wallets(corporation_id:, headers: {}, params: {}) click to toggle source

Get a corporation's wallets.

This endpoint is cached for up to 300 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_corporation_wallets.v1

@esi_version dev @esi_version legacy @esi_version v1

@param corporation_id [Integer] An EVE corporation ID @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_corporations_corporation_id_wallets

# File lib/esi/client/wallet.rb, line 122
def get_corporation_wallets(corporation_id:, headers: {}, params: {})
  get("/corporations/#{corporation_id}/wallets/", headers: headers, params: params)
end
get_corporation_wallets_division_journal(corporation_id:, division:, headers: {}, params: {}) click to toggle source

Retrieve the given corporation's wallet journal for the given division going 30 days back.

This endpoint is cached for up to 3600 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_corporation_wallets.v1

@esi_version dev @esi_version v4

@param corporation_id [Integer] An EVE corporation ID @param division [Integer] Wallet key of the division to fetch journals from @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_corporations_corporation_id_wallets_division_journal

# File lib/esi/client/wallet.rb, line 152
def get_corporation_wallets_division_journal(corporation_id:, division:, headers: {}, params: {})
  get("/corporations/#{corporation_id}/wallets/#{division}/journal/", headers: headers, params: params)
end
get_corporation_wallets_division_transactions(corporation_id:, division:, from_id: nil, headers: {}, params: {}) click to toggle source

Get wallet transactions of a corporation.

This endpoint is cached for up to 3600 seconds.

This endpoint requires authorization (see {ESI::Client#authorize}).

@esi_scope esi-wallet.read_corporation_wallets.v1

@esi_version dev @esi_version legacy @esi_version v1

@param corporation_id [Integer] An EVE corporation ID @param division [Integer] Wallet key of the division to fetch journals from @param from_id [Integer] Only show journal entries happened before the transaction referenced by this id @param params [Hash] Additional query string parameters @param headers [Hash] Additional headers

@raise [ESI::Errors::BadRequestError] Bad request @raise [ESI::Errors::UnauthorizedError] Unauthorized @raise [ESI::Errors::ForbiddenError] Forbidden @raise [ESI::Errors::ErrorLimitedError] Error limited @raise [ESI::Errors::InternalServerError] Internal server error @raise [ESI::Errors::ServiceUnavailableError] Service unavailable @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout

@see esi.evetech.net/ui/#/Wallet/get_corporations_corporation_id_wallets_division_transactions

# File lib/esi/client/wallet.rb, line 184
def get_corporation_wallets_division_transactions(corporation_id:, division:, from_id: nil, headers: {}, params: {})
  params.merge!("from_id" => from_id)
  get("/corporations/#{corporation_id}/wallets/#{division}/transactions/", headers: headers, params: params)
end
get_corporations_corporation_id_wallets(corporation_id:, headers: {}, params: {})
get_corporations_corporation_id_wallets_division_journal(corporation_id:, division:, headers: {}, params: {})
get_corporations_corporation_id_wallets_division_transactions(corporation_id:, division:, from_id: nil, headers: {}, params: {})