space_ex v0.8.0 SpaceEx.SpaceCenter.ContractParameter

A contract parameter.

See SpaceEx.SpaceCenter.Contract.parameters/1.

Link to this section Summary

Functions

Child contract parameters

Whether the parameter has been completed

Whether the parameter has been failed

Funds received on completion of the contract parameter

Funds lost if the contract parameter is failed

Notes for the parameter

Whether the contract parameter is optional

Reputation gained on completion of the contract parameter

Reputation lost if the contract parameter is failed

Science gained on completion of the contract parameter

Title of the parameter

Link to this section Functions

Child contract parameters.

Returns: [contract_parameter, ...], where contract_parameter is a reference to a SpaceEx.SpaceCenter.ContractParameter object

Link to this function completed(this)

Whether the parameter has been completed.

Returns: true or false

Whether the parameter has been failed.

Returns: true or false

Link to this function funds_completion(this)

Funds received on completion of the contract parameter.

Returns: a high precision decimal

Link to this function funds_failure(this)

Funds lost if the contract parameter is failed.

Returns: a high precision decimal

Notes for the parameter.

Returns: a string

Whether the contract parameter is optional.

Returns: true or false

Link to this function reputation_completion(this)

Reputation gained on completion of the contract parameter.

Returns: a high precision decimal

Link to this function reputation_failure(this)

Reputation lost if the contract parameter is failed.

Returns: a high precision decimal

Link to this function science_completion(this)

Science gained on completion of the contract parameter.

Returns: a high precision decimal

Title of the parameter.

Returns: a string