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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()The additional amount Stripe will hold if the authorization is approved, in the card's currency and in the smallest currency unit.Authorization.AmountDetailsgetAmountDetails()Detailed breakdown of amount components.java.lang.StringgetCurrency()Three-letter ISO currency code, in lowercase.java.lang.BooleangetIsAmountControllable()If settrue, you may provide amount to control how much to hold for the authorization.java.lang.LonggetMerchantAmount()The amount the merchant is requesting to be authorized in themerchant_currency.java.lang.StringgetMerchantCurrency()The local currency the merchant is requesting to authorize.inthashCode()voidsetAmount(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.voidsetAmountDetails(Authorization.AmountDetails amountDetails)Detailed breakdown of amount components.voidsetCurrency(java.lang.String currency)Three-letter ISO currency code, in lowercase.voidsetIsAmountControllable(java.lang.Boolean isAmountControllable)If settrue, you may provide amount to control how much to hold for the authorization.voidsetMerchantAmount(java.lang.Long merchantAmount)The amount the merchant is requesting to be authorized in themerchant_currency.voidsetMerchantCurrency(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 incurrencyand 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 incurrencyand 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-