Package com.stripe.service
Class PaymentRecordService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.PaymentRecordService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReport a new Payment Record.reportPayment
(PaymentRecordReportPaymentParams params, RequestOptions options) Report a new Payment Record.Report a new payment attempt on the specified Payment Record.reportPaymentAttempt
(String id, PaymentRecordReportPaymentAttemptParams params, RequestOptions options) Report a new payment attempt on the specified Payment Record.Report that the most recent payment attempt on the specified Payment Record was canceled.reportPaymentAttemptCanceled
(String id, PaymentRecordReportPaymentAttemptCanceledParams params, RequestOptions options) Report that the most recent payment attempt on the specified Payment Record was canceled.Report that the most recent payment attempt on the specified Payment Record failed or errored.reportPaymentAttemptFailed
(String id, PaymentRecordReportPaymentAttemptFailedParams params, RequestOptions options) Report that the most recent payment attempt on the specified Payment Record failed or errored.Report that the most recent payment attempt on the specified Payment Record was guaranteed.reportPaymentAttemptGuaranteed
(String id, PaymentRecordReportPaymentAttemptGuaranteedParams params, RequestOptions options) Report that the most recent payment attempt on the specified Payment Record was guaranteed.Retrieves a Payment Record with the given ID.retrieve
(String id, RequestOptions options) Retrieves a Payment Record with the given ID.retrieve
(String id, PaymentRecordRetrieveParams params) Retrieves a Payment Record with the given ID.retrieve
(String id, PaymentRecordRetrieveParams params, RequestOptions options) Retrieves a Payment Record with the given ID.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
PaymentRecordService
-
-
Method Details
-
retrieve
Retrieves a Payment Record with the given ID.- Throws:
StripeException
-
retrieve
Retrieves a Payment Record with the given ID.- Throws:
StripeException
-
retrieve
Retrieves a Payment Record with the given ID.- Throws:
StripeException
-
retrieve
public PaymentRecord retrieve(String id, PaymentRecordRetrieveParams params, RequestOptions options) throws StripeException Retrieves a Payment Record with the given ID.- Throws:
StripeException
-
reportPaymentAttempt
public PaymentRecord reportPaymentAttempt(String id, PaymentRecordReportPaymentAttemptParams params) throws StripeException Report a new payment attempt on the specified Payment Record. A new payment attempt can only be specified if all other payment attempts are canceled or failed.- Throws:
StripeException
-
reportPaymentAttempt
public PaymentRecord reportPaymentAttempt(String id, PaymentRecordReportPaymentAttemptParams params, RequestOptions options) throws StripeException Report a new payment attempt on the specified Payment Record. A new payment attempt can only be specified if all other payment attempts are canceled or failed.- Throws:
StripeException
-
reportPaymentAttemptCanceled
public PaymentRecord reportPaymentAttemptCanceled(String id, PaymentRecordReportPaymentAttemptCanceledParams params) throws StripeException Report that the most recent payment attempt on the specified Payment Record was canceled.- Throws:
StripeException
-
reportPaymentAttemptCanceled
public PaymentRecord reportPaymentAttemptCanceled(String id, PaymentRecordReportPaymentAttemptCanceledParams params, RequestOptions options) throws StripeException Report that the most recent payment attempt on the specified Payment Record was canceled.- Throws:
StripeException
-
reportPaymentAttemptFailed
public PaymentRecord reportPaymentAttemptFailed(String id, PaymentRecordReportPaymentAttemptFailedParams params) throws StripeException Report that the most recent payment attempt on the specified Payment Record failed or errored.- Throws:
StripeException
-
reportPaymentAttemptFailed
public PaymentRecord reportPaymentAttemptFailed(String id, PaymentRecordReportPaymentAttemptFailedParams params, RequestOptions options) throws StripeException Report that the most recent payment attempt on the specified Payment Record failed or errored.- Throws:
StripeException
-
reportPaymentAttemptGuaranteed
public PaymentRecord reportPaymentAttemptGuaranteed(String id, PaymentRecordReportPaymentAttemptGuaranteedParams params) throws StripeException Report that the most recent payment attempt on the specified Payment Record was guaranteed.- Throws:
StripeException
-
reportPaymentAttemptGuaranteed
public PaymentRecord reportPaymentAttemptGuaranteed(String id, PaymentRecordReportPaymentAttemptGuaranteedParams params, RequestOptions options) throws StripeException Report that the most recent payment attempt on the specified Payment Record was guaranteed.- Throws:
StripeException
-
reportPayment
Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates through the other report_* methods, or report Payment Records in a terminal state directly, through this method.- Throws:
StripeException
-
reportPayment
public PaymentRecord reportPayment(PaymentRecordReportPaymentParams params, RequestOptions options) throws StripeException Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates through the other report_* methods, or report Payment Records in a terminal state directly, through this method.- Throws:
StripeException
-