Package | Description |
---|---|
com.google.bitcoin.protocols.payments |
Modifier and Type | Class and Description |
---|---|
static class |
PaymentRequestException.Expired |
static class |
PaymentRequestException.InvalidNetwork |
static class |
PaymentRequestException.InvalidOutputs |
static class |
PaymentRequestException.InvalidPaymentRequestURL |
static class |
PaymentRequestException.InvalidPaymentURL |
static class |
PaymentRequestException.InvalidPkiData |
static class |
PaymentRequestException.InvalidPkiType |
static class |
PaymentRequestException.InvalidVersion |
static class |
PaymentRequestException.PkiVerificationException |
Modifier and Type | Method and Description |
---|---|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromBitcoinUri(BitcoinURI uri)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromBitcoinUri(BitcoinURI uri,
boolean verifyPki)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromBitcoinUri(BitcoinURI uri,
boolean verifyPki,
String trustStorePath)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromUrl(String url)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromUrl(String url,
boolean verifyPki)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
|
static com.google.common.util.concurrent.ListenableFuture<PaymentSession> |
PaymentSession.createFromUrl(String url,
boolean verifyPki,
String trustStorePath)
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
|
com.google.common.util.concurrent.ListenableFuture<PaymentSession.Ack> |
PaymentSession.sendPayment(List<Transaction> txns,
Address refundAddr,
String memo)
Generates a Payment message and sends the payment to the merchant who sent the PaymentRequest.
|
PaymentSession.PkiVerificationData |
PaymentSession.verifyPki()
Uses the provided PKI method to find the corresponding public key and verify the provided signature.
|
Constructor and Description |
---|
PaymentSession(Protos.PaymentRequest request)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
PaymentSession(Protos.PaymentRequest request,
boolean verifyPki)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
PaymentSession(Protos.PaymentRequest request,
boolean verifyPki,
String trustStorePath)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
Copyright © 2014. All rights reserved.