public static class Authorization.PendingRequest extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
PendingRequest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
The additional amount Stripe will hold if the authorization is approved, in the card's currency
and in the smallest currency
unit.
|
java.lang.String |
getCurrency()
Three-letter ISO currency
code, in lowercase.
|
java.lang.Boolean |
getIsAmountControllable()
If set
true , you may provide amount
to control how much to hold for the authorization. |
java.lang.Long |
getMerchantAmount()
The amount the merchant is requesting to be authorized in the
merchant_currency . |
java.lang.String |
getMerchantCurrency()
The local currency the merchant is requesting to authorize.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
The additional amount Stripe will hold if the authorization is approved, in the card's currency
and in the smallest currency
unit.
|
void |
setCurrency(java.lang.String currency)
Three-letter ISO currency
code, in lowercase.
|
void |
setIsAmountControllable(java.lang.Boolean isAmountControllable)
If set
true , you may provide amount
to control how much to hold for the authorization. |
void |
setMerchantAmount(java.lang.Long merchantAmount)
The amount the merchant is requesting to be authorized in the
merchant_currency . |
void |
setMerchantCurrency(java.lang.String merchantCurrency)
The local currency the merchant is requesting to authorize.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.String getCurrency()
public java.lang.Boolean getIsAmountControllable()
true
, you may provide amount
to control how much to hold for the authorization.public java.lang.Long getMerchantAmount()
merchant_currency
. The
amount is in the smallest currency
unit.public java.lang.String getMerchantCurrency()
public void setAmount(java.lang.Long amount)
public void setCurrency(java.lang.String currency)
public void setIsAmountControllable(java.lang.Boolean isAmountControllable)
true
, you may provide amount
to control how much to hold for the authorization.public void setMerchantAmount(java.lang.Long merchantAmount)
merchant_currency
. The
amount is in the smallest currency
unit.public void setMerchantCurrency(java.lang.String merchantCurrency)
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