Package com.stripe.model
Class Account.DeclineChargeOn
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Account.DeclineChargeOn
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
public static class Account.DeclineChargeOn extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description DeclineChargeOn()
-
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.BooleangetAvsFailure()Whether Stripe automatically declines charges with an incorrect ZIP or postal code.java.lang.BooleangetCvcFailure()Whether Stripe automatically declines charges with an incorrect CVC.inthashCode()voidsetAvsFailure(java.lang.Boolean avsFailure)Whether Stripe automatically declines charges with an incorrect ZIP or postal code.voidsetCvcFailure(java.lang.Boolean cvcFailure)Whether Stripe automatically declines charges with an incorrect CVC.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAvsFailure
public java.lang.Boolean getAvsFailure()
Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
-
getCvcFailure
public java.lang.Boolean getCvcFailure()
Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
-
setAvsFailure
public void setAvsFailure(java.lang.Boolean avsFailure)
Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
-
setCvcFailure
public void setCvcFailure(java.lang.Boolean cvcFailure)
Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
-
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
-
-