Package com.stripe.model
Class Subscription.BillingSchedule.AppliesTo
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.BillingSchedule.AppliesTo
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Subscription.BillingSchedule
public static class Subscription.BillingSchedule.AppliesTo
extends StripeObject
implements StripeActiveObject
Represents the entities that the billing schedule applies to.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetPrice()Get ID of expandablepriceobject.Get expandedprice.getType()Controls which subscription items the billing schedule applies to.inthashCode()voidvoidsetPriceObject(Price expandableObject) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidControls which subscription items the billing schedule applies to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
AppliesTo
public AppliesTo()
-
-
Method Details
-
getPrice
Get ID of expandablepriceobject. -
setPrice
-
getPriceObject
Get expandedprice. -
setPriceObject
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getType
Controls which subscription items the billing schedule applies to.Equal to
price. -
setType
Controls which subscription items the billing schedule applies to.Equal to
price. -
equals
-
canEqual
-
hashCode
public int hashCode()
-