Expand description
Server and addon purchasing structs and implementation.
Structs§
- Describes an addon which can be purchased.
- Unique addon ID.
- Addon purchase order.
- Describes the purchase of a single addon.
- Addon Transaction ID, e.g. “B20150121-344957-251478”.
- Describes an addon available for purchase for a specific server.
- Datacenter within a Location, e.g. “FSN1-DC1”.
- SSH Host Key
- SSH Public Key provided as an authorized key when purchasing a server.
- Location, e.g. “FSN1”.
- Price (both setup and recurring) for a single location.
- Describes a Hetzner market (auction) product.
- Unique Market Product ID.
- Hetzner Auction market order.
- Describes the purchase of a single Hetzner market (auction) server.
- Market Transaction ID, e.g. “B20150121-344957-251478”.
- Describes a product available for purchase.
- Product ID, e.g. “EX44”.
- Order for a standard Hetzner product, such as AX41.
- Describes the purchase of a single standard hetzner product.
- Describes a purchased addon as it appears in an
AddonTransaction - Describes a purchased market (auction) product, as described in a
MarketTransaction - Describes a product purchase, as listed in a
ProductTransaction. - A recurring price point, both excluding and including VAT.
- Resource associated with an addon purchase.
- A one-time setup price point, both excluding and including VAT.
- Price information for a single location.
- Transaction ID, e.g. “B20150121-344957-251478”.
Enums§
- Authorization method chosen for the purchase. Only one can be selected.
- LetMeSpendMyMoneyAlready must be selected for any purchase order to actually go through, otherwise the “test” flag will be set. and the API will just simulate a purchase, returning a “Cancelled” transaction.
- Status of the transaction.