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 | Method and Description |
---|---|
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clear() |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clearPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clearPkiData()
optional bytes pki_data = 3; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clearPkiType()
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clearSerializedPaymentDetails()
required bytes serialized_payment_details = 4; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clearSignature()
optional bytes signature = 5; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.clone() |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.mergeFrom(com.google.protobuf.Message other) |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.mergeFrom(Protos.PaymentRequest other) |
static Protos.PaymentRequest.Builder |
Protos.PaymentRequest.newBuilder() |
static Protos.PaymentRequest.Builder |
Protos.PaymentRequest.newBuilder(Protos.PaymentRequest prototype) |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.newBuilderForType() |
protected Protos.PaymentRequest.Builder |
Protos.PaymentRequest.newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setPaymentDetailsVersion(int value)
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setPkiData(com.google.protobuf.ByteString value)
optional bytes pki_data = 3; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setPkiType(String value)
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setPkiTypeBytes(com.google.protobuf.ByteString value)
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setSerializedPaymentDetails(com.google.protobuf.ByteString value)
required bytes serialized_payment_details = 4; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 5; |
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.toBuilder() |
Modifier and Type | Method and Description |
---|---|
static Protos.PaymentRequest.Builder |
PaymentProtocol.createPaymentRequest(NetworkParameters params,
Coin amount,
Address toAddress,
String memo,
String paymentUrl,
byte[] merchantData)
Create a payment request with one standard pay to address output.
|
static Protos.PaymentRequest.Builder |
PaymentProtocol.createPaymentRequest(NetworkParameters params,
List<Protos.Output> outputs,
String memo,
String paymentUrl,
byte[] merchantData)
Create a payment request.
|
Modifier and Type | Method and Description |
---|---|
static void |
PaymentProtocol.signPaymentRequest(Protos.PaymentRequest.Builder paymentRequest,
X509Certificate[] certificateChain,
PrivateKey privateKey)
Sign the provided payment request.
|
Copyright © 2016. All rights reserved.