Class AnswerShippingQuery.AnswerShippingQueryBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.payment.AnswerShippingQuery.AnswerShippingQueryBuilder
-
- Enclosing class:
- AnswerShippingQuery
public static class AnswerShippingQuery.AnswerShippingQueryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnswerShippingQuery.AnswerShippingQueryBuilder
addShippingOption(ShippingOption option)
AnswerShippingQuery.AnswerShippingQueryBuilder
addShippingOptions(java.util.Collection<ShippingOption> options)
AnswerShippingQuery
build()
AnswerShippingQuery.AnswerShippingQueryBuilder
callback(java.lang.Runnable callback)
AnswerShippingQuery.AnswerShippingQueryBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
AnswerShippingQuery.AnswerShippingQueryBuilder
errorMessage(java.lang.String errorMessage)
AnswerShippingQuery.AnswerShippingQueryBuilder
ok(java.lang.Boolean ok)
AnswerShippingQuery.AnswerShippingQueryBuilder
shippingOptions(java.util.List<ShippingOption> shippingOptions)
AnswerShippingQuery.AnswerShippingQueryBuilder
shippingQueryId(java.lang.String shippingQueryId)
java.lang.String
toString()
-
-
-
Method Detail
-
addShippingOption
public AnswerShippingQuery.AnswerShippingQueryBuilder addShippingOption(ShippingOption option)
-
addShippingOptions
public AnswerShippingQuery.AnswerShippingQueryBuilder addShippingOptions(java.util.Collection<ShippingOption> options)
-
errorHandler
public AnswerShippingQuery.AnswerShippingQueryBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
callback
public AnswerShippingQuery.AnswerShippingQueryBuilder callback(java.lang.Runnable callback)
-
shippingQueryId
public AnswerShippingQuery.AnswerShippingQueryBuilder shippingQueryId(java.lang.String shippingQueryId)
-
ok
public AnswerShippingQuery.AnswerShippingQueryBuilder ok(java.lang.Boolean ok)
-
shippingOptions
public AnswerShippingQuery.AnswerShippingQueryBuilder shippingOptions(java.util.List<ShippingOption> shippingOptions)
-
errorMessage
public AnswerShippingQuery.AnswerShippingQueryBuilder errorMessage(java.lang.String errorMessage)
-
build
public AnswerShippingQuery build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-