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 class
An Add Invoice Item describes the prices and quantities that will be added as pending invoice items when entering a phase.static class
static class
static class
static class
A 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 boolean
boolean
Get ID of expandablecoupon
object.Get expandedcoupon
.Get ID of expandabledefaultPaymentMethod
object.Get expandeddefaultPaymentMethod
.getItems()
Get ID of expandableonBehalfOf
object.Get expandedonBehalfOf
.int
hashCode()
void
setAddInvoiceItems
(List<SubscriptionSchedule.Phase.AddInvoiceItem> addInvoiceItems) void
setApplicationFeePercent
(BigDecimal applicationFeePercent) void
setAutomaticTax
(SubscriptionSchedule.Phase.AutomaticTax automaticTax) void
setBillingCycleAnchor
(String billingCycleAnchor) void
setBillingThresholds
(SubscriptionSchedule.Phase.BillingThresholds billingThresholds) void
setCollectionMethod
(String collectionMethod) void
void
setCouponObject
(Coupon expandableObject) void
setCurrency
(String currency) void
void
setDefaultPaymentMethodObject
(PaymentMethod expandableObject) void
setDefaultTaxRates
(List<TaxRate> defaultTaxRates) void
setDescription
(String description) void
setEndDate
(Long endDate) void
setInvoiceSettings
(SubscriptionSchedule.Phase.InvoiceSettings invoiceSettings) void
void
setMetadata
(Map<String, String> metadata) void
setOnBehalfOf
(String id) void
setOnBehalfOfObject
(Account expandableObject) void
setProrationBehavior
(String prorationBehavior) void
setStartDate
(Long startDate) void
setTransferData
(SubscriptionSchedule.Phase.TransferData transferData) void
setTrialEnd
(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 expandablecoupon
object. -
setCoupon
-
getCouponObject
Get expandedcoupon
. -
setCouponObject
-
getDefaultPaymentMethod
Get ID of expandabledefaultPaymentMethod
object. -
setDefaultPaymentMethod
-
getDefaultPaymentMethodObject
Get expandeddefaultPaymentMethod
. -
setDefaultPaymentMethodObject
-
getOnBehalfOf
Get ID of expandableonBehalfOf
object. -
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()
-