Package | Description |
---|---|
org.bitcoin.protocols.payments | |
org.bitcoinj.protocols.payments |
The BIP70 payment protocol wraps Bitcoin transactions and adds various useful features like memos, refund addresses
and authentication.
|
Modifier and Type | Field and Description |
---|---|
static com.google.protobuf.Parser<Protos.Output> |
Protos.Output.PARSER |
Modifier and Type | Method and Description |
---|---|
Protos.Output |
Protos.Output.Builder.build() |
Protos.Output |
Protos.Output.Builder.buildPartial() |
static Protos.Output |
Protos.Output.getDefaultInstance() |
Protos.Output |
Protos.Output.getDefaultInstanceForType() |
Protos.Output |
Protos.Output.Builder.getDefaultInstanceForType() |
Protos.Output |
Protos.PaymentDetailsOrBuilder.getOutputs(int index)
repeated .payments.Output outputs = 2; |
Protos.Output |
Protos.PaymentDetails.getOutputs(int index)
repeated .payments.Output outputs = 2; |
Protos.Output |
Protos.PaymentDetails.Builder.getOutputs(int index)
repeated .payments.Output outputs = 2; |
Protos.Output |
Protos.PaymentOrBuilder.getRefundTo(int index)
repeated .payments.Output refund_to = 3; |
Protos.Output |
Protos.Payment.getRefundTo(int index)
repeated .payments.Output refund_to = 3; |
Protos.Output |
Protos.Payment.Builder.getRefundTo(int index)
repeated .payments.Output refund_to = 3; |
static Protos.Output |
Protos.Output.parseDelimitedFrom(InputStream input) |
static Protos.Output |
Protos.Output.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Output |
Protos.Output.parseFrom(byte[] data) |
static Protos.Output |
Protos.Output.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Output |
Protos.Output.parseFrom(com.google.protobuf.ByteString data) |
static Protos.Output |
Protos.Output.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Output |
Protos.Output.parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Output |
Protos.Output.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Output |
Protos.Output.parseFrom(InputStream input) |
static Protos.Output |
Protos.Output.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Protos.Output> |
Protos.PaymentDetailsOrBuilder.getOutputsList()
repeated .payments.Output outputs = 2; |
List<Protos.Output> |
Protos.PaymentDetails.getOutputsList()
repeated .payments.Output outputs = 2; |
List<Protos.Output> |
Protos.PaymentDetails.Builder.getOutputsList()
repeated .payments.Output outputs = 2; |
com.google.protobuf.Parser<Protos.Output> |
Protos.Output.getParserForType() |
List<Protos.Output> |
Protos.PaymentOrBuilder.getRefundToList()
repeated .payments.Output refund_to = 3; |
List<Protos.Output> |
Protos.Payment.getRefundToList()
repeated .payments.Output refund_to = 3; |
List<Protos.Output> |
Protos.Payment.Builder.getRefundToList()
repeated .payments.Output refund_to = 3; |
Modifier and Type | Method and Description |
---|---|
Protos.PaymentDetails.Builder |
Protos.PaymentDetails.Builder.addOutputs(int index,
Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
Protos.PaymentDetails.Builder.addOutputs(Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.Payment.Builder |
Protos.Payment.Builder.addRefundTo(int index,
Protos.Output value)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
Protos.Payment.Builder.addRefundTo(Protos.Output value)
repeated .payments.Output refund_to = 3; |
Protos.Output.Builder |
Protos.Output.Builder.mergeFrom(Protos.Output other) |
static Protos.Output.Builder |
Protos.Output.newBuilder(Protos.Output prototype) |
Protos.PaymentDetails.Builder |
Protos.PaymentDetails.Builder.setOutputs(int index,
Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.Payment.Builder |
Protos.Payment.Builder.setRefundTo(int index,
Protos.Output value)
repeated .payments.Output refund_to = 3; |
Modifier and Type | Method and Description |
---|---|
Protos.PaymentDetails.Builder |
Protos.PaymentDetails.Builder.addAllOutputs(Iterable<? extends Protos.Output> values)
repeated .payments.Output outputs = 2; |
Protos.Payment.Builder |
Protos.Payment.Builder.addAllRefundTo(Iterable<? extends Protos.Output> values)
repeated .payments.Output refund_to = 3; |
Modifier and Type | Method and Description |
---|---|
static Protos.Output |
PaymentProtocol.createPayToAddressOutput(Coin amount,
Address address)
Create a standard pay to address output for usage in
PaymentProtocol.createPaymentRequest(org.bitcoinj.core.NetworkParameters, org.bitcoinj.core.Coin, org.bitcoinj.core.Address, java.lang.String, java.lang.String, byte[]) and
PaymentProtocol.createPaymentMessage(java.util.List<org.bitcoinj.core.Transaction>, org.bitcoinj.core.Coin, org.bitcoinj.core.Address, java.lang.String, byte[]) . |
Modifier and Type | Method and Description |
---|---|
static Protos.Payment |
PaymentProtocol.createPaymentMessage(List<Transaction> transactions,
List<Protos.Output> refundOutputs,
String memo,
byte[] merchantData)
Create a payment message.
|
static Protos.PaymentRequest.Builder |
PaymentProtocol.createPaymentRequest(NetworkParameters params,
List<Protos.Output> outputs,
String memo,
String paymentUrl,
byte[] merchantData)
Create a payment request.
|
Copyright © 2016. All rights reserved.