Package com.stripe.model.tax
Class Association
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.tax.Association
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf
based on the PaymentIntent input.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about TaxTransactionAttempt, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic Associationfind(AssociationFindParams params) Finds a tax association object by PaymentIntent id.static Associationfind(AssociationFindParams params, RequestOptions options) Finds a tax association object by PaymentIntent id.static AssociationFinds a tax association object by PaymentIntent id.static Associationfind(Map<String, Object> params, RequestOptions options) Finds a tax association object by PaymentIntent id.The Tax Calculation that was included in PaymentIntent.getId()Unique identifier for the object.String representing the object's type.The PaymentIntent that this Tax Association is tracking.Information about the tax transactions linked to this payment intent.inthashCode()voidsetCalculation(String calculation) The Tax Calculation that was included in PaymentIntent.voidUnique identifier for the object.voidString representing the object's type.voidsetPaymentIntent(String paymentIntent) The PaymentIntent that this Tax Association is tracking.voidsetTaxTransactionAttempts(List<Association.TaxTransactionAttempt> taxTransactionAttempts) Information about the tax transactions linked to this payment intent.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, setResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Association
public Association()
-
-
Method Details
-
find
Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
public static Association find(Map<String, Object> params, RequestOptions options) throws StripeExceptionFinds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
public static Association find(AssociationFindParams params, RequestOptions options) throws StripeException Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
getCalculation
The Tax Calculation that was included in PaymentIntent. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax.association. -
getPaymentIntent
The PaymentIntent that this Tax Association is tracking. -
getTaxTransactionAttempts
Information about the tax transactions linked to this payment intent. -
setCalculation
The Tax Calculation that was included in PaymentIntent. -
setId
Unique identifier for the object. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax.association. -
setPaymentIntent
The PaymentIntent that this Tax Association is tracking. -
setTaxTransactionAttempts
public void setTaxTransactionAttempts(List<Association.TaxTransactionAttempt> taxTransactionAttempts) Information about the tax transactions linked to this payment intent. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-