Package com.stripe.model
Class Quote.Computed
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Quote.Computed
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
public static class Quote.Computed extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Computed()
-
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)
Quote.Recurring
getRecurring()
The definitive totals and line items the customer will be charged on a recurring basis.Quote.Upfront
getUpfront()
int
hashCode()
void
setRecurring(Quote.Recurring recurring)
The definitive totals and line items the customer will be charged on a recurring basis.void
setUpfront(Quote.Upfront upfront)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getRecurring
public Quote.Recurring getRecurring()
The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts withduration=forever
coupons only. Defaults tonull
if no inputted line items with recurring prices.
-
getUpfront
public Quote.Upfront getUpfront()
-
setRecurring
public void setRecurring(Quote.Recurring recurring)
The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts withduration=forever
coupons only. Defaults tonull
if no inputted line items with recurring prices.
-
setUpfront
public void setUpfront(Quote.Upfront upfront)
-
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
-
-