public static class BitcoinPaymentURI.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Returns a builder for the Bitcoin payment URI.
|
| Modifier and Type | Method and Description |
|---|---|
BitcoinPaymentURI.Builder |
address(java.lang.String address)
Adds the address to the builder.
|
BitcoinPaymentURI.Builder |
amount(java.lang.Double amount)
Adds the amount to the builder.
|
BitcoinPaymentURI |
build()
Builds a Bitcoin payment URI.
|
BitcoinPaymentURI.Builder |
label(java.lang.String label)
Adds the label to the builder.
|
BitcoinPaymentURI.Builder |
message(java.lang.String message)
Adds the message to the builder.
|
BitcoinPaymentURI.Builder |
parameter(java.lang.String key,
java.lang.String value)
Adds a parameter to the builder.
|
BitcoinPaymentURI.Builder |
requiredParameter(java.lang.String key,
java.lang.String value)
Adds a required to the builder.
|
public BitcoinPaymentURI.Builder address(java.lang.String address)
address - The address.public BitcoinPaymentURI.Builder amount(java.lang.Double amount)
amount - The amount.public BitcoinPaymentURI.Builder label(java.lang.String label)
label - The label.public BitcoinPaymentURI.Builder message(java.lang.String message)
message - The message.public BitcoinPaymentURI.Builder parameter(java.lang.String key, java.lang.String value)
key - The parameter.value - The value.public BitcoinPaymentURI.Builder requiredParameter(java.lang.String key, java.lang.String value)
key - The key.value - The value.public BitcoinPaymentURI build()