Package com.stripe.model.issuing
Class Authorization.PendingRequest
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.issuing.Authorization.PendingRequest
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Authorization
public static class Authorization.PendingRequest extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PendingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.Authorization.AmountDetails
getAmountDetails()
Detailed breakdown of amount components.java.lang.String
getCurrency()
Three-letter ISO currency code, in lowercase.java.lang.Boolean
getIsAmountControllable()
If settrue
, 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 themerchant_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
setAmountDetails(Authorization.AmountDetails amountDetails)
Detailed breakdown of amount components.void
setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase.void
setIsAmountControllable(java.lang.Boolean isAmountControllable)
If settrue
, 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 themerchant_currency
.void
setMerchantCurrency(java.lang.String merchantCurrency)
The local currency the merchant is requesting to authorize.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmount
public 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.
-
getAmountDetails
public Authorization.AmountDetails getAmountDetails()
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit.
-
getCurrency
public java.lang.String getCurrency()
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
getIsAmountControllable
public java.lang.Boolean getIsAmountControllable()
If settrue
, you may provide amount to control how much to hold for the authorization.
-
getMerchantAmount
public java.lang.Long getMerchantAmount()
The amount the merchant is requesting to be authorized in themerchant_currency
. The amount is in the smallest currency unit.
-
getMerchantCurrency
public java.lang.String getMerchantCurrency()
The local currency the merchant is requesting to authorize.
-
setAmount
public 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.
-
setAmountDetails
public void setAmountDetails(Authorization.AmountDetails amountDetails)
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit.
-
setCurrency
public void setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
setIsAmountControllable
public void setIsAmountControllable(java.lang.Boolean isAmountControllable)
If settrue
, you may provide amount to control how much to hold for the authorization.
-
setMerchantAmount
public void setMerchantAmount(java.lang.Long merchantAmount)
The amount the merchant is requesting to be authorized in themerchant_currency
. The amount is in the smallest currency unit.
-
setMerchantCurrency
public void setMerchantCurrency(java.lang.String merchantCurrency)
The local currency the merchant is requesting to authorize.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-