public class

CreateSubscriptionParameters

extends Object
java.lang.Object
   ↳ com.wsl.modules.stripe.complextypes.CreateSubscriptionParameters

Class Overview

Wrapper for Create Subscription Parameters

Summary

Fields
private double applicationFeePercent
private String coupon
private String customerId
private Map<String, Object> metadata
private String plan
private int quantity
private Source source
private String sourceToken
private double taxPercent
private String trialEnd
Public Constructors
CreateSubscriptionParameters()
Public Methods
double getApplicationFeePercent()
String getCoupon()
String getCustomerId()
Map<String, Object> getMetadata()
String getPlan()
int getQuantity()
Source getSource()
String getSourceToken()
double getTaxPercent()
String getTrialEnd()
void setApplicationFeePercent(double applicationFeePercent)
void setCoupon(String coupon)
void setCustomerId(String customerId)
void setMetadata(Map<String, Object> metadata)
void setPlan(String plan)
void setQuantity(int quantity)
void setSource(Source source)
void setSourceToken(String sourceToken)
void setTaxPercent(double taxPercent)
void setTrialEnd(String trialEnd)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private double applicationFeePercent

private String coupon

private String customerId

private Map<String, Object> metadata

private String plan

private int quantity

private Source source

private String sourceToken

private double taxPercent

private String trialEnd

Public Constructors

public CreateSubscriptionParameters ()

Public Methods

public double getApplicationFeePercent ()

Returns
  • the applicationFeePercent

public String getCoupon ()

Returns
  • the coupon

public String getCustomerId ()

Returns
  • the customerId

public Map<String, Object> getMetadata ()

Returns
  • the metadata

public String getPlan ()

Returns
  • the plan

public int getQuantity ()

Returns
  • the quantity

public Source getSource ()

Returns
  • the source

public String getSourceToken ()

Returns
  • the sourceToken

public double getTaxPercent ()

Returns
  • the taxPercent

public String getTrialEnd ()

Returns
  • the trialEnd

public void setApplicationFeePercent (double applicationFeePercent)

Parameters
applicationFeePercent The applicationFeePercent to set

public void setCoupon (String coupon)

Parameters
coupon The coupon to set

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)

Parameters
plan The plan to set

public void setQuantity (int quantity)

Parameters
quantity The quantity to set

public void setSource (Source source)

Parameters
source The source to set

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