Package com.stripe.service.tax
Class TransactionService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.TransactionService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a Tax Transaction from a calculation, if that calculation hasn’t expired.createFromCalculation
(TransactionCreateFromCalculationParams params, RequestOptions options) Creates a Tax Transaction from a calculation, if that calculation hasn’t expired.Partially or fully reverses a previously createdTransaction
.createReversal
(TransactionCreateReversalParams params, RequestOptions options) Partially or fully reverses a previously createdTransaction
.Retrieves a TaxTransaction
object.retrieve
(String transaction, RequestOptions options) Retrieves a TaxTransaction
object.retrieve
(String transaction, TransactionRetrieveParams params) Retrieves a TaxTransaction
object.retrieve
(String transaction, TransactionRetrieveParams params, RequestOptions options) Retrieves a TaxTransaction
object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TransactionService
-
-
Method Details
-
retrieve
public Transaction retrieve(String transaction, TransactionRetrieveParams params) throws StripeException Retrieves a TaxTransaction
object.- Throws:
StripeException
-
retrieve
Retrieves a TaxTransaction
object.- Throws:
StripeException
-
retrieve
Retrieves a TaxTransaction
object.- Throws:
StripeException
-
retrieve
public Transaction retrieve(String transaction, TransactionRetrieveParams params, RequestOptions options) throws StripeException Retrieves a TaxTransaction
object.- Throws:
StripeException
-
createFromCalculation
public Transaction createFromCalculation(TransactionCreateFromCalculationParams params) throws StripeException Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.- Throws:
StripeException
-
createFromCalculation
public Transaction createFromCalculation(TransactionCreateFromCalculationParams params, RequestOptions options) throws StripeException Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.- Throws:
StripeException
-
createReversal
Partially or fully reverses a previously createdTransaction
.- Throws:
StripeException
-
createReversal
public Transaction createReversal(TransactionCreateReversalParams params, RequestOptions options) throws StripeException Partially or fully reverses a previously createdTransaction
.- Throws:
StripeException
-
lineItems
-