java.lang.Object |
↳ |
com.wsl.modules.stripe.complextypes.UpdateSubscriptionParameters |
Class Overview
Wrapper for Update Subscription Parameters
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
private
double
applicationFeePercent
private
String
customerId
private
Map<String, Object>
metadata
private
String
sourceToken
private
String
subscriptionId
private
double
taxPercent
Public Constructors
public
UpdateSubscriptionParameters
()
Public Methods
public
double
getApplicationFeePercent
()
Returns
- the applicationFeePercent
public
String
getCoupon
()
public
String
getCustomerId
()
public
Map<String, Object>
getMetadata
()
public
int
getQuantity
()
public
String
getSourceToken
()
public
String
getSubscriptionId
()
public
double
getTaxPercent
()
public
String
getTrialEnd
()
public
boolean
isProrate
()
public
void
setApplicationFeePercent
(double applicationFeePercent)
Parameters
applicationFeePercent
| The applicationFeePercent to set
|
public
void
setCoupon
(String coupon)
public
void
setCustomerId
(String customerId)
Parameters
customerId
| The customerId to set
|
public
void
setMetadata
(Map<String, Object> metadata)
Parameters
metadata
| The metadata to set
|
public
void
setPlan
(String plan)
public
void
setProrate
(boolean prorate)
Parameters
prorate
| The prorate to set
|
public
void
setQuantity
(int quantity)
Parameters
quantity
| The quantity to set
|
public
void
setSource
(Source source)
public
void
setSourceToken
(String sourceToken)
Parameters
sourceToken
| The sourceToken to set
|
public
void
setSubscriptionId
(String subscriptionId)
Parameters
subscriptionId
| The subscriptionId to set
|
public
void
setTaxPercent
(double taxPercent)
Parameters
taxPercent
| The taxPercent to set
|
public
void
setTrialEnd
(String trialEnd)
Parameters
trialEnd
| The trialEnd to set
|