Class PaymentLimited.PaymentLimitedBuilder
- java.lang.Object
-
- com.casper.sdk.model.transaction.pricing.PaymentLimited.PaymentLimitedBuilder
-
- Enclosing class:
- PaymentLimited
public static class PaymentLimited.PaymentLimitedBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentLimitedbuild()PaymentLimited.PaymentLimitedBuildergasPriceTolerance(int gasPriceTolerance)User-specified gas_price tolerance (minimum 1).PaymentLimited.PaymentLimitedBuilderpaymentAmount(java.math.BigInteger paymentAmount)User-specified payment amount.PaymentLimited.PaymentLimitedBuilderstandardPayment(boolean standardPayment)Standard payment.java.lang.StringtoString()
-
-
-
Method Detail
-
paymentAmount
public PaymentLimited.PaymentLimitedBuilder paymentAmount(java.math.BigInteger paymentAmount)
User-specified payment amount.- Returns:
this.
-
gasPriceTolerance
public PaymentLimited.PaymentLimitedBuilder gasPriceTolerance(int gasPriceTolerance)
User-specified gas_price tolerance (minimum 1). This is interpreted to mean "do not include this transaction in a block if the current gas price is greater than this number"- Returns:
this.
-
standardPayment
public PaymentLimited.PaymentLimitedBuilder standardPayment(boolean standardPayment)
Standard payment.- Returns:
this.
-
build
public PaymentLimited build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-