Class CoinbaseButton.CoinbaseButtonBuilder
java.lang.Object
org.knowm.xchange.coinbase.dto.merchant.CoinbaseButton.CoinbaseButtonBuilder
- Enclosing class:
CoinbaseButton
-
Constructor Summary
ConstructorDescriptionCoinbaseButtonBuilder
(String name, String currency, String priceString) CoinbaseButtonBuilder
(String name, CoinbaseMoney price) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getPrice()
getStyle()
getText()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
withAutoDirect
(boolean autoDirect) withCallbackUrl
(String callbackUrl) withCancelUrl
(String cancelUrl) withChoosePrice
(boolean choosePrice) withCustom
(String custom) withCustomSecure
(boolean customSecure) withDescription
(String description) withIncludeAddress
(boolean includeAddress) withIncludeEmail
(boolean includeEmail) withInfoUrl
(String infoUrl) withRepeat
(CoinbaseRepeat repeat) withStyle
(CoinbaseButtonStyle style) withSuccessUrl
(String successUrl) withSuggestedPrices
(String... suggestedPrices) withType
(CoinbaseButtonType type) withVariablePrice
(boolean variablePrice)
-
Constructor Details
-
CoinbaseButtonBuilder
-
CoinbaseButtonBuilder
-
-
Method Details
-
buildButton
-
getName
-
getPrice
-
getPriceString
-
getCurrency
-
getType
-
withType
-
getDescription
-
withDescription
-
getCustom
-
withCustom
-
getStyle
-
withStyle
-
getText
-
withText
-
getRepeat
-
withRepeat
-
isCustomSecure
public boolean isCustomSecure() -
withCustomSecure
-
getCallbackUrl
-
withCallbackUrl
-
getSuccessUrl
-
withSuccessUrl
-
getCancelUrl
-
withCancelUrl
-
getInfoUrl
-
withInfoUrl
-
isAutoDirect
public boolean isAutoDirect() -
withAutoDirect
-
isVariablePrice
public boolean isVariablePrice() -
withVariablePrice
-
isChoosePrice
public boolean isChoosePrice() -
withChoosePrice
-
isIncludeAddress
public boolean isIncludeAddress() -
withIncludeAddress
-
isIncludeEmail
public boolean isIncludeEmail() -
withIncludeEmail
-
getPrice1
-
getPrice2
-
getPrice3
-
getPrice4
-
getPrice5
-
withSuggestedPrices
-