Class ExitOffer
java.lang.Object
me.EtienneDx.RealEstate.Transactions.ExitOffer
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class ExitOffer
extends Object
implements org.bukkit.configuration.serialization.ConfigurationSerializable
Represents an exit offer for a RealEstate transaction.
An exit offer is used to propose an early exit from an ongoing transaction. It contains the UUID of the player making the offer and the offered price.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
offerBy
The UUID of the player who made the exit offer. -
price
public double priceThe price offered to exit the transaction.
-
-
Constructor Details
-
ExitOffer
Constructs an ExitOffer with the specified offeror and price.- Parameters:
offerBy
- the UUID of the player making the exit offerprice
- the offered price for the exit
-
ExitOffer
-
-
Method Details
-
serialize
-