java.lang.Object |
↳ |
com.wsl.modules.stripe.complextypes.CreateSubscriptionParameters |
Class Overview
Wrapper for Create 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
double
taxPercent
Public Constructors
public
CreateSubscriptionParameters
()
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
double
getTaxPercent
()
public
String
getTrialEnd
()
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
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
setTaxPercent
(double taxPercent)
Parameters
taxPercent
| The taxPercent to set
|
public
void
setTrialEnd
(String trialEnd)
Parameters
trialEnd
| The trialEnd to set
|