Package com.stripe.model
Class Charge.PaymentMethodDetails.AchDebit
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Charge.PaymentMethodDetails.AchDebit
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.PaymentMethodDetails
public static class Charge.PaymentMethodDetails.AchDebit extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description AchDebit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAccountHolderType()Type of entity that holds the account.java.lang.StringgetBankName()Name of the bank associated with the bank account.java.lang.StringgetCountry()Two-letter ISO code representing the country the bank account is located in.java.lang.StringgetFingerprint()Uniquely identifies this particular bank account.java.lang.StringgetLast4()Last four digits of the bank account number.java.lang.StringgetRoutingNumber()Routing transit number of the bank account.inthashCode()voidsetAccountHolderType(java.lang.String accountHolderType)Type of entity that holds the account.voidsetBankName(java.lang.String bankName)Name of the bank associated with the bank account.voidsetCountry(java.lang.String country)Two-letter ISO code representing the country the bank account is located in.voidsetFingerprint(java.lang.String fingerprint)Uniquely identifies this particular bank account.voidsetLast4(java.lang.String last4)Last four digits of the bank account number.voidsetRoutingNumber(java.lang.String routingNumber)Routing transit number of the bank account.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAccountHolderType
public java.lang.String getAccountHolderType()
Type of entity that holds the account. This can be eitherindividualorcompany.One of
company, orindividual.
-
getBankName
public java.lang.String getBankName()
Name of the bank associated with the bank account.
-
getCountry
public java.lang.String getCountry()
Two-letter ISO code representing the country the bank account is located in.
-
getFingerprint
public java.lang.String getFingerprint()
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
-
getLast4
public java.lang.String getLast4()
Last four digits of the bank account number.
-
getRoutingNumber
public java.lang.String getRoutingNumber()
Routing transit number of the bank account.
-
setAccountHolderType
public void setAccountHolderType(java.lang.String accountHolderType)
Type of entity that holds the account. This can be eitherindividualorcompany.One of
company, orindividual.
-
setBankName
public void setBankName(java.lang.String bankName)
Name of the bank associated with the bank account.
-
setCountry
public void setCountry(java.lang.String country)
Two-letter ISO code representing the country the bank account is located in.
-
setFingerprint
public void setFingerprint(java.lang.String fingerprint)
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
-
setLast4
public void setLast4(java.lang.String last4)
Last four digits of the bank account number.
-
setRoutingNumber
public void setRoutingNumber(java.lang.String routingNumber)
Routing transit number of the bank account.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-