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.Payment> |
Protos.Payment.PARSER |
Modifier and Type | Method and Description |
---|---|
Protos.Payment |
Protos.Payment.Builder.build() |
Protos.Payment |
Protos.Payment.Builder.buildPartial() |
static Protos.Payment |
Protos.Payment.getDefaultInstance() |
Protos.Payment |
Protos.Payment.getDefaultInstanceForType() |
Protos.Payment |
Protos.Payment.Builder.getDefaultInstanceForType() |
Protos.Payment |
Protos.PaymentACKOrBuilder.getPayment()
required .payments.Payment payment = 1; |
Protos.Payment |
Protos.PaymentACK.getPayment()
required .payments.Payment payment = 1; |
Protos.Payment |
Protos.PaymentACK.Builder.getPayment()
required .payments.Payment payment = 1; |
static Protos.Payment |
Protos.Payment.parseDelimitedFrom(InputStream input) |
static Protos.Payment |
Protos.Payment.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
Protos.Payment.parseFrom(byte[] data) |
static Protos.Payment |
Protos.Payment.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
Protos.Payment.parseFrom(com.google.protobuf.ByteString data) |
static Protos.Payment |
Protos.Payment.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
Protos.Payment.parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Payment |
Protos.Payment.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
Protos.Payment.parseFrom(InputStream input) |
static Protos.Payment |
Protos.Payment.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Parser<Protos.Payment> |
Protos.Payment.getParserForType() |
Modifier and Type | Method and Description |
---|---|
Protos.Payment.Builder |
Protos.Payment.Builder.mergeFrom(Protos.Payment other) |
Protos.PaymentACK.Builder |
Protos.PaymentACK.Builder.mergePayment(Protos.Payment value)
required .payments.Payment payment = 1; |
static Protos.Payment.Builder |
Protos.Payment.newBuilder(Protos.Payment prototype) |
Protos.PaymentACK.Builder |
Protos.PaymentACK.Builder.setPayment(Protos.Payment value)
required .payments.Payment payment = 1; |
Modifier and Type | Method and Description |
---|---|
static Protos.Payment |
PaymentProtocol.createPaymentMessage(List<Transaction> transactions,
Coin refundAmount,
Address refundAddress,
String memo,
byte[] merchantData)
Create a payment message with one standard pay to address output.
|
static Protos.Payment |
PaymentProtocol.createPaymentMessage(List<Transaction> transactions,
List<Protos.Output> refundOutputs,
String memo,
byte[] merchantData)
Create a payment message.
|
Protos.Payment |
PaymentSession.getPayment(List<Transaction> txns,
Address refundAddr,
String memo)
Generates a Payment message based on the information in the PaymentRequest.
|
Modifier and Type | Method and Description |
---|---|
static Protos.PaymentACK |
PaymentProtocol.createPaymentAck(Protos.Payment paymentMessage,
String memo)
Create a payment ack.
|
static List<Transaction> |
PaymentProtocol.parseTransactionsFromPaymentMessage(NetworkParameters params,
Protos.Payment paymentMessage)
Parse transactions from payment message.
|
protected ListenableFuture<PaymentProtocol.Ack> |
PaymentSession.sendPayment(URL url,
Protos.Payment payment) |
Copyright © 2014. All rights reserved.