Package com.stripe.model
Class SourceTransaction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SourceTransaction
- All Implemented Interfaces:
HasId
,StripeObjectInterface
Some payment methods have no required amount that a customer must send. Customers can be
instructed to send any amount, and it can be made up of multiple transactions. As such, sources
can have multiple associated transactions.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.Time at which the object was created.Three-letter ISO currency code, in lowercase.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.The ID of the source this transaction is attached to.The status of the transaction, one ofsucceeded
,pending
, orfailed
.getType()
The type of source this transaction is attached to.int
hashCode()
void
setAchCreditTransfer
(SourceTransaction.AchCreditTransfer achCreditTransfer) void
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.void
setChfCreditTransfer
(SourceTransaction.ChfCreditTransfer chfCreditTransfer) void
setCreated
(Long created) Time at which the object was created.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setGbpCreditTransfer
(SourceTransaction.GbpCreditTransfer gbpCreditTransfer) void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
setPaperCheck
(SourceTransaction.PaperCheck paperCheck) void
setSepaCreditTransfer
(SourceTransaction.SepaCreditTransfer sepaCreditTransfer) void
The ID of the source this transaction is attached to.void
The status of the transaction, one ofsucceeded
,pending
, orfailed
.void
The type of source this transaction is attached to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SourceTransaction
public SourceTransaction()
-
-
Method Details
-
getAchCreditTransfer
-
getAmount
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver. -
getChfCreditTransfer
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getGbpCreditTransfer
-
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
source_transaction
. -
getPaperCheck
-
getSepaCreditTransfer
-
getSource
The ID of the source this transaction is attached to. -
getStatus
The status of the transaction, one ofsucceeded
,pending
, orfailed
. -
getType
The type of source this transaction is attached to.One of
ach_credit_transfer
,ach_debit
,alipay
,bancontact
,card
,card_present
,eps
,giropay
,ideal
,klarna
,multibanco
,p24
,sepa_debit
,sofort
,three_d_secure
, orwechat
. -
setAchCreditTransfer
-
setAmount
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver. -
setChfCreditTransfer
-
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setGbpCreditTransfer
-
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
source_transaction
. -
setPaperCheck
-
setSepaCreditTransfer
-
setSource
The ID of the source this transaction is attached to. -
setStatus
The status of the transaction, one ofsucceeded
,pending
, orfailed
. -
setType
The type of source this transaction is attached to.One of
ach_credit_transfer
,ach_debit
,alipay
,bancontact
,card
,card_present
,eps
,giropay
,ideal
,klarna
,multibanco
,p24
,sepa_debit
,sofort
,three_d_secure
, orwechat
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-