Package com.stripe.model
Class StripeObject
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- All Implemented Interfaces:
StripeObjectInterface
- Direct Known Subclasses:
Account.BusinessProfile,Account.Capabilities,Account.Company,Account.Company.Verification,Account.Company.Verification.VerificationDocument,Account.Controller,Account.DeclineChargeOn,Account.PayoutSchedule,Account.Requirements,Account.Requirements.Errors,Account.Settings,Account.Settings.BacsDebitPayments,Account.Settings.SepaDebitPayments,Account.Settings.SettingsCardIssuing,Account.Settings.SettingsCardIssuing.TosAcceptance,Account.SettingsBranding,Account.SettingsCardPayments,Account.SettingsDashboard,Account.SettingsPayments,Account.SettingsPayouts,Account.TosAcceptance,Address,AlipayAccount,ApiResource,Application,Authorization.AmountDetails,Authorization.MerchantData,Authorization.PendingRequest,Authorization.RequestHistory,Authorization.VerificationData,Balance.Details,Balance.Money,Balance.Money.SourceTypes,BalanceTransaction.Fee,BalanceTransactionSourceTypeAdapterFactory.UnknownSubType,BitcoinTransaction,Capability.Requirements,Card.Shipping,Card.SpendingControls,Card.SpendingControls.SpendingLimit,Cardholder.Billing,Cardholder.Company,Cardholder.Individual,Cardholder.Individual.DateOfBirth,Cardholder.Individual.Verification,Cardholder.Individual.Verification.Document,Cardholder.Requirements,Cardholder.SpendingControls,Cardholder.SpendingControls.SpendingLimit,Charge.AlternateStatementDescriptors,Charge.FraudDetails,Charge.Level3,Charge.Level3.LineItem,Charge.Outcome,Charge.PaymentMethodDetails,Charge.PaymentMethodDetails.AchCreditTransfer,Charge.PaymentMethodDetails.AchDebit,Charge.PaymentMethodDetails.AcssDebit,Charge.PaymentMethodDetails.AfterpayClearpay,Charge.PaymentMethodDetails.Alipay,Charge.PaymentMethodDetails.AuBecsDebit,Charge.PaymentMethodDetails.BacsDebit,Charge.PaymentMethodDetails.Bancontact,Charge.PaymentMethodDetails.Card,Charge.PaymentMethodDetails.Card.Checks,Charge.PaymentMethodDetails.Card.Installments,Charge.PaymentMethodDetails.Card.ThreeDSecure,Charge.PaymentMethodDetails.Card.Wallet,Charge.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout,Charge.PaymentMethodDetails.Card.Wallet.ApplePay,Charge.PaymentMethodDetails.Card.Wallet.GooglePay,Charge.PaymentMethodDetails.Card.Wallet.Masterpass,Charge.PaymentMethodDetails.Card.Wallet.SamsungPay,Charge.PaymentMethodDetails.Card.Wallet.VisaCheckout,Charge.PaymentMethodDetails.CardPresent,Charge.PaymentMethodDetails.CardPresent.Receipt,Charge.PaymentMethodDetails.Eps,Charge.PaymentMethodDetails.Fpx,Charge.PaymentMethodDetails.Giropay,Charge.PaymentMethodDetails.Grabpay,Charge.PaymentMethodDetails.Ideal,Charge.PaymentMethodDetails.InteracPresent,Charge.PaymentMethodDetails.InteracPresent.Receipt,Charge.PaymentMethodDetails.Klarna,Charge.PaymentMethodDetails.Multibanco,Charge.PaymentMethodDetails.Oxxo,Charge.PaymentMethodDetails.P24,Charge.PaymentMethodDetails.SepaCreditTransfer,Charge.PaymentMethodDetails.SepaDebit,Charge.PaymentMethodDetails.Sofort,Charge.PaymentMethodDetails.StripeAccount,Charge.PaymentMethodDetails.Wechat,Charge.TransferData,Configuration.BusinessProfile,Configuration.Features,Configuration.Features.CustomerUpdate,Configuration.Features.InvoiceHistory,Configuration.Features.PaymentMethodUpdate,Configuration.Features.SubscriptionCancel,Configuration.Features.SubscriptionPause,Configuration.Features.SubscriptionUpdate,Configuration.Features.SubscriptionUpdate.Product,ConnectCollectionTransfer,CountrySpec.VerificationFields,CountrySpec.VerificationFields.Details,Coupon.AppliesTo,CreditNote.DiscountAmount,CreditNote.TaxAmount,CreditNoteLineItem,CreditNoteLineItem.DiscountAmount,Customer.InvoiceSettings,Customer.Tax,Customer.Tax.Location,DeauthorizedAccount,Discount,Dispute.Evidence,Dispute.Evidence,Dispute.Evidence.Canceled,Dispute.Evidence.Duplicate,Dispute.Evidence.Fraudulent,Dispute.Evidence.MerchandiseNotAsDescribed,Dispute.Evidence.NotReceived,Dispute.Evidence.Other,Dispute.Evidence.ServiceNotAsDescribed,Dispute.EvidenceDetails,EphemeralKey.AssociatedObject,EventData,EventRequest,ExternalAccountTypeAdapterFactory.UnknownSubType,Invoice.AutomaticTax,Invoice.CustomerTaxId,Invoice.CustomField,Invoice.DiscountAmount,Invoice.PaymentMethodOptions,Invoice.PaymentMethodOptions.Bancontact,Invoice.PaymentMethodOptions.Card,Invoice.PaymentSettings,Invoice.StatusTransitions,Invoice.TaxAmount,Invoice.ThresholdItemReason,Invoice.ThresholdReason,Invoice.TransferData,InvoiceLineItem,InvoiceLineItem.DiscountAmount,InvoiceLineItemPeriod,LineItem,LineItem.Discount,LineItem.Tax,Mandate.AuBecsDebit,Mandate.BacsDebit,Mandate.CustomerAcceptance,Mandate.CustomerAcceptance.Offline,Mandate.CustomerAcceptance.Online,Mandate.MultiUse,Mandate.PaymentMethodDetails,Mandate.PaymentMethodDetails.AcssDebit,Mandate.PaymentMethodDetails.Card,Mandate.PaymentMethodDetails.SepaDebit,Mandate.SingleUse,OAuthError,Order.ShippingMethod,Order.ShippingMethod.DeliveryEstimate,Order.StatusTransitions,OrderItem,PackageDimensions,PaymentIntent.NextAction,PaymentIntent.NextAction.VerifyWithMicrodeposits,PaymentIntent.NextActionAlipayHandleRedirect,PaymentIntent.NextActionOxxoDisplayDetails,PaymentIntent.NextActionRedirectToUrl,PaymentIntent.PaymentMethodOptions,PaymentIntent.PaymentMethodOptions.AcssDebit,PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions,PaymentIntent.PaymentMethodOptions.AfterpayClearpay,PaymentIntent.PaymentMethodOptions.Alipay,PaymentIntent.PaymentMethodOptions.Bancontact,PaymentIntent.PaymentMethodOptions.Card,PaymentIntent.PaymentMethodOptions.Card.Installments,PaymentIntent.PaymentMethodOptions.Card.Installments.Plan,PaymentIntent.PaymentMethodOptions.CardPresent,PaymentIntent.PaymentMethodOptions.Oxxo,PaymentIntent.PaymentMethodOptions.P24,PaymentIntent.PaymentMethodOptions.SepaDebit,PaymentIntent.PaymentMethodOptions.SepaDebitMandateOptions,PaymentIntent.PaymentMethodOptions.Sofort,PaymentIntent.TransferData,PaymentMethod.AcssDebit,PaymentMethod.AfterpayClearpay,PaymentMethod.Alipay,PaymentMethod.AuBecsDebit,PaymentMethod.BacsDebit,PaymentMethod.Bancontact,PaymentMethod.BillingDetails,PaymentMethod.Card,PaymentMethod.Card.Checks,PaymentMethod.Card.Networks,PaymentMethod.Card.ThreeDSecureUsage,PaymentMethod.Card.Wallet,PaymentMethod.Card.Wallet.AmexExpressCheckout,PaymentMethod.Card.Wallet.ApplePay,PaymentMethod.Card.Wallet.GooglePay,PaymentMethod.Card.Wallet.Masterpass,PaymentMethod.Card.Wallet.SamsungPay,PaymentMethod.Card.Wallet.VisaCheckout,PaymentMethod.CardPresent,PaymentMethod.Eps,PaymentMethod.Fpx,PaymentMethod.Giropay,PaymentMethod.Grabpay,PaymentMethod.Ideal,PaymentMethod.InteracPresent,PaymentMethod.Oxxo,PaymentMethod.P24,PaymentMethod.SepaDebit,PaymentMethod.SepaDebit.GeneratedFrom,PaymentMethod.Sofort,PaymentSourceTypeAdapterFactory.UnknownSubType,Person.DateOfBirth,Person.JapanAddress,Person.Relationship,Person.Requirements,Person.Verification,Person.VerificationDocument,Plan.Tier,Plan.TransformUsage,PlatformTaxFee,Price.Recurring,Price.Tier,Price.TransformQuantity,PromotionCode.Restrictions,ReportRun.Parameters,ReserveTransaction,Review.Location,Review.Session,Rule,ScheduledQueryRun.RunError,Session.AutomaticTax,Session.CustomerDetails,Session.CustomerDetails.TaxID,Session.PaymentMethodOptions,Session.PaymentMethodOptions.AcssDebit,Session.PaymentMethodOptions.AcssDebit.MandateOptions,Session.ShippingAddressCollection,Session.TaxIDCollection,Session.TotalDetails,Session.TotalDetails.Breakdown,SetupAttempt.PaymentMethodDetails,SetupAttempt.PaymentMethodDetails.AcssDebit,SetupAttempt.PaymentMethodDetails.AuBecsDebit,SetupAttempt.PaymentMethodDetails.BacsDebit,SetupAttempt.PaymentMethodDetails.Bancontact,SetupAttempt.PaymentMethodDetails.Card,SetupAttempt.PaymentMethodDetails.CardPresent,SetupAttempt.PaymentMethodDetails.Ideal,SetupAttempt.PaymentMethodDetails.SepaDebit,SetupAttempt.PaymentMethodDetails.Sofort,SetupIntent.NextAction,SetupIntent.NextAction.VerifyWithMicrodeposits,SetupIntent.NextActionRedirectToUrl,SetupIntent.PaymentMethodOptions,SetupIntent.PaymentMethodOptions.AcssDebit,SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions,SetupIntent.PaymentMethodOptions.Card,SetupIntent.PaymentMethodOptions.SepaDebit,SetupIntent.PaymentMethodOptions.SepaDebitMandateOptions,ShippingDetails,Sku.Inventory,Source.AchCreditTransfer,Source.AchDebit,Source.AcssDebit,Source.Alipay,Source.AuBecsDebit,Source.Bancontact,Source.Card,Source.CardPresent,Source.CodeVerificationFlow,Source.Eps,Source.Giropay,Source.Ideal,Source.Klarna,Source.Multibanco,Source.Order,Source.OrderItem,Source.Owner,Source.P24,Source.ReceiverFlow,Source.RedirectFlow,Source.SepaCreditTransfer,Source.SepaDebit,Source.Sofort,Source.ThreeDSecure,Source.Wechat,SourceMandateNotification,SourceMandateNotification.AcssDebitData,SourceMandateNotification.BacsDebitData,SourceMandateNotification.SepaDebitData,SourceTransaction,SourceTransaction.AchCreditTransferData,SourceTransaction.ChfCreditTransferData,SourceTransaction.GbpCreditTransferData,SourceTransaction.PaperCheckData,SourceTransaction.SepaCreditTransferData,StripeCollection,StripeError,StripeErrorResponse,StripeRawJsonObject,Subscription.AutomaticTax,Subscription.BillingThresholds,Subscription.PauseCollection,Subscription.PendingInvoiceItemInterval,Subscription.PendingUpdate,Subscription.TransferData,SubscriptionItem.BillingThresholds,SubscriptionSchedule.AddInvoiceItem,SubscriptionSchedule.CurrentPhase,SubscriptionSchedule.DefaultSettings,SubscriptionSchedule.DefaultSettings.AutomaticTax,SubscriptionSchedule.InvoiceSettings,SubscriptionSchedule.Phase,SubscriptionSchedule.Phase.AutomaticTax,SubscriptionSchedule.PhaseItem,TaxDeductedAtSource,TaxId.Verification,TokenResponse,Transaction.AmountDetails,Transaction.PurchaseDetails,Transaction.PurchaseDetails.Flight,Transaction.PurchaseDetails.Flight.Segments,Transaction.PurchaseDetails.Fuel,Transaction.PurchaseDetails.Lodging,Transaction.PurchaseDetails.Receipt,UsageRecordSummary,UsageRecordSummary.Period,VerificationReport.Document,VerificationReport.Document.DateOfBirth,VerificationReport.Document.DocumentCheckError,VerificationReport.Document.ExpirationDate,VerificationReport.Document.IssuedDate,VerificationReport.IdNumber,VerificationReport.IdNumber.DateOfBirth,VerificationReport.IdNumber.IdNumberCheckError,VerificationReport.Options,VerificationReport.Options.Document,VerificationReport.Options.IdNumber,VerificationReport.Selfie,VerificationReport.Selfie.SelfieCheckError,VerificationSession.LastError,VerificationSession.Options,VerificationSession.Options.Document,VerificationSession.Options.IdNumber,VerificationSession.Redaction,VerificationSession.VerifiedOutputs,VerificationSession.VerifiedOutputs.DateOfBirth
public abstract class StripeObject extends java.lang.Object implements StripeObjectInterface
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gson.GsonPRETTY_PRINT_GSON
-
Constructor Summary
Constructors Constructor Description StripeObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static booleanequals(java.lang.Object a, java.lang.Object b)StripeResponsegetLastResponse()com.google.gson.JsonObjectgetRawJsonObject()Returns the raw JsonObject exposed by the Gson library.voidsetLastResponse(StripeResponse response)java.lang.StringtoJson()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getLastResponse
public StripeResponse getLastResponse()
- Specified by:
getLastResponsein interfaceStripeObjectInterface
-
setLastResponse
public void setLastResponse(StripeResponse response)
- Specified by:
setLastResponsein interfaceStripeObjectInterface
-
getRawJsonObject
public com.google.gson.JsonObject getRawJsonObject()
Returns the raw JsonObject exposed by the Gson library. This can be used to access properties that are not directly exposed by Stripe's Java library.Note: You should always prefer using the standard property accessors whenever possible. Because this method exposes Gson's underlying API, it is not considered fully stable. Stripe's Java library might move off Gson in the future and this method would be removed or change significantly.
- Returns:
- The raw JsonObject.
-
toJson
public java.lang.String toJson()
-
equals
protected static boolean equals(java.lang.Object a, java.lang.Object b)
-
-