Package com.stripe.model
Class SubscriptionSchedule.Phase
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule
A phase describes the plans, coupon, and trialing status of a subscription for a predefined
time period.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn Add Invoice Item describes the prices and quantities that will be added as pending invoice items when entering a phase.static classstatic classstatic classstatic classA phase item describes the price and quantity of a phase.static class -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGet ID of expandablecouponobject.Get expandedcoupon.Get ID of expandabledefaultPaymentMethodobject.Get expandeddefaultPaymentMethod.getItems()Get ID of expandableonBehalfOfobject.Get expandedonBehalfOf.inthashCode()voidsetAddInvoiceItems(List<SubscriptionSchedule.Phase.AddInvoiceItem> addInvoiceItems) voidsetApplicationFeePercent(BigDecimal applicationFeePercent) voidsetAutomaticTax(SubscriptionSchedule.Phase.AutomaticTax automaticTax) voidsetBillingCycleAnchor(String billingCycleAnchor) voidsetBillingThresholds(SubscriptionSchedule.Phase.BillingThresholds billingThresholds) voidsetCollectionMethod(String collectionMethod) voidvoidsetCouponObject(Coupon expandableObject) voidsetCurrency(String currency) voidvoidsetDefaultPaymentMethodObject(PaymentMethod expandableObject) voidsetDefaultTaxRates(List<TaxRate> defaultTaxRates) voidsetDescription(String description) voidsetEndDate(Long endDate) voidsetInvoiceSettings(SubscriptionSchedule.Phase.InvoiceSettings invoiceSettings) voidvoidsetMetadata(Map<String, String> metadata) voidsetOnBehalfOf(String id) voidsetOnBehalfOfObject(Account expandableObject) voidsetProrationBehavior(String prorationBehavior) voidsetStartDate(Long startDate) voidsetTransferData(SubscriptionSchedule.Phase.TransferData transferData) voidsetTrialEnd(Long trialEnd) Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Phase
public Phase()
-
-
Method Details
-
getCoupon
Get ID of expandablecouponobject. -
setCoupon
-
getCouponObject
Get expandedcoupon. -
setCouponObject
-
getDefaultPaymentMethod
Get ID of expandabledefaultPaymentMethodobject. -
setDefaultPaymentMethod
-
getDefaultPaymentMethodObject
Get expandeddefaultPaymentMethod. -
setDefaultPaymentMethodObject
-
getOnBehalfOf
Get ID of expandableonBehalfOfobject. -
setOnBehalfOf
-
getOnBehalfOfObject
Get expandedonBehalfOf. -
setOnBehalfOfObject
-
getAddInvoiceItems
-
getApplicationFeePercent
-
getAutomaticTax
-
getBillingCycleAnchor
-
getBillingThresholds
-
getCollectionMethod
-
getCurrency
-
getDefaultTaxRates
-
getDescription
-
getEndDate
-
getInvoiceSettings
-
getItems
-
getMetadata
-
getProrationBehavior
-
getStartDate
-
getTransferData
-
getTrialEnd
-
setAddInvoiceItems
-
setApplicationFeePercent
-
setAutomaticTax
-
setBillingCycleAnchor
-
setBillingThresholds
-
setCollectionMethod
-
setCurrency
-
setDefaultTaxRates
-
setDescription
-
setEndDate
-
setInvoiceSettings
-
setItems
-
setMetadata
-
setProrationBehavior
-
setStartDate
-
setTransferData
-
setTrialEnd
-
equals
-
canEqual
-
hashCode
public int hashCode()
-