public class SourceTransaction extends StripeObject implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
SourceTransaction.AchCreditTransferData |
static class |
SourceTransaction.ChfCreditTransferData |
static class |
SourceTransaction.GbpCreditTransferData |
static class |
SourceTransaction.PaperCheckData |
static class |
SourceTransaction.SepaCreditTransferData |
PRETTY_PRINT_GSON
Constructor and Description |
---|
SourceTransaction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
SourceTransaction.AchCreditTransferData |
getAchCreditTransfer() |
java.lang.Long |
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.
|
SourceTransaction.ChfCreditTransferData |
getChfCreditTransfer() |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
SourceTransaction.GbpCreditTransferData |
getGbpCreditTransfer() |
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
java.lang.String |
getObject()
String representing the object's type.
|
SourceTransaction.PaperCheckData |
getPaperCheck() |
SourceTransaction.SepaCreditTransferData |
getSepaCreditTransfer() |
java.lang.String |
getSource()
The ID of the source this transaction is attached to.
|
java.lang.String |
getStatus()
The status of the transaction, one of `succeeded`, `pending`, or `failed`.
|
java.lang.String |
getType()
The type of source this transaction is attached to.
|
int |
hashCode() |
void |
setAchCreditTransfer(SourceTransaction.AchCreditTransferData achCreditTransfer) |
void |
setAmount(java.lang.Long amount)
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.ChfCreditTransferData chfCreditTransfer) |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCurrency(java.lang.String currency)
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
void |
setGbpCreditTransfer(SourceTransaction.GbpCreditTransferData gbpCreditTransfer) |
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setPaperCheck(SourceTransaction.PaperCheckData paperCheck) |
void |
setSepaCreditTransfer(SourceTransaction.SepaCreditTransferData sepaCreditTransfer) |
void |
setSource(java.lang.String source)
The ID of the source this transaction is attached to.
|
void |
setStatus(java.lang.String status)
The status of the transaction, one of `succeeded`, `pending`, or `failed`.
|
void |
setType(java.lang.String type)
The type of source this transaction is attached to.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public SourceTransaction.AchCreditTransferData getAchCreditTransfer()
public java.lang.Long getAmount()
public SourceTransaction.ChfCreditTransferData getChfCreditTransfer()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public SourceTransaction.GbpCreditTransferData getGbpCreditTransfer()
public java.lang.Boolean getLivemode()
public java.lang.String getObject()
Equal to `source_transaction`.
public SourceTransaction.PaperCheckData getPaperCheck()
public SourceTransaction.SepaCreditTransferData getSepaCreditTransfer()
public java.lang.String getSource()
public java.lang.String getStatus()
public java.lang.String getType()
One of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`.
public void setAchCreditTransfer(SourceTransaction.AchCreditTransferData achCreditTransfer)
public void setAmount(java.lang.Long amount)
public void setChfCreditTransfer(SourceTransaction.ChfCreditTransferData chfCreditTransfer)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setGbpCreditTransfer(SourceTransaction.GbpCreditTransferData gbpCreditTransfer)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
public void setObject(java.lang.String object)
Equal to `source_transaction`.
public void setPaperCheck(SourceTransaction.PaperCheckData paperCheck)
public void setSepaCreditTransfer(SourceTransaction.SepaCreditTransferData sepaCreditTransfer)
public void setSource(java.lang.String source)
public void setStatus(java.lang.String status)
public void setType(java.lang.String type)
One of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object