Package org.stellar.sdk.operations
Class ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C extends ManageBuyOfferOperation,B extends ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C,B>
- Enclosing class:
ManageBuyOfferOperation
public abstract static class ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C extends ManageBuyOfferOperation,B extends ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionamount
(@NonNull BigDecimal amount) abstract C
build()
The asset being bought in this operationofferId
(long offerId) The ID of the offer, when it is 0, represents creating a new offer, otherwise updates an existing offer.Price of thing being bought in terms of what you are selling.The asset being sold in this operationtoString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
ManageBuyOfferOperationBuilder
public ManageBuyOfferOperationBuilder()
-
-
Method Details
-
amount
-
selling
The asset being sold in this operation- Returns:
this
.
-
buying
The asset being bought in this operation- Returns:
this
.
-
price
Price of thing being bought in terms of what you are selling.- Returns:
this
.
-
offerId
The ID of the offer, when it is 0, represents creating a new offer, otherwise updates an existing offer.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends ManageBuyOfferOperation,
B extends ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends ManageBuyOfferOperation,
B extends ManageBuyOfferOperation.ManageBuyOfferOperationBuilder<C, B>>
-